apeiros changed the topic of #ruby to: Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
choffstein has quit [Remote host closed the connection]
tricon_ is now known as Triconium
ELLIOTTCABLE has quit [Read error: Connection reset by peer]
ELLIOTTCABLE has joined #ruby
ToApolytoXaos has quit [Quit: Leaving]
atno has quit [Read error: No route to host]
atno has joined #ruby
mansi has joined #ruby
rupee has quit [Quit: Leaving]
Nitrodex has joined #ruby
Nitrodex is now known as Guest81086
ShadowDemon has joined #ruby
bigoldrock has quit [Ping timeout: 246 seconds]
sarkis has quit [Ping timeout: 264 seconds]
ebobby has joined #ruby
akells` has joined #ruby
havenwood has quit [Remote host closed the connection]
itsdavem has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 248 seconds]
mrrob has quit [Quit: mrrob]
Deele has quit [Ping timeout: 240 seconds]
ssvo has quit [Ping timeout: 260 seconds]
Fire-Dragon-DoL has quit [Quit: bye]
atno has quit [Ping timeout: 240 seconds]
ericmathison has quit [Ping timeout: 240 seconds]
prk has joined #ruby
ShadowDemon has left #ruby [#ruby]
itsdavem has joined #ruby
ephemerian has left #ruby [#ruby]
vlad_starkov has joined #ruby
sailias has quit [Ping timeout: 264 seconds]
[1]SoonerBourne has joined #ruby
chrishough has quit [Quit: chrishough]
SoonerBourne has quit [Ping timeout: 248 seconds]
[1]SoonerBourne is now known as SoonerBourne
baroquebobcat has joined #ruby
slyv_ is now known as slyv
vlad_starkov has quit [Ping timeout: 260 seconds]
baroquebobcat has quit [Client Quit]
momomomomo has quit [Quit: momomomomo]
chuk has joined #ruby
ziyadb has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has joined #ruby
ArchBeOS has quit [Changing host]
[0x1a] has joined #ruby
emergion has joined #ruby
nezumi has joined #ruby
slainer68 has joined #ruby
banjara has quit [Quit: Leaving.]
arubin has joined #ruby
mocfive has quit [Remote host closed the connection]
ellipse has joined #ruby
wmoxam has joined #ruby
yacks has quit [Ping timeout: 256 seconds]
Meatant has joined #ruby
MrZYX is now known as MrZYX|off
elliptical has quit [Ping timeout: 264 seconds]
wmoxam has quit [Ping timeout: 256 seconds]
harrymoreno has quit [Ping timeout: 256 seconds]
yacks has joined #ruby
wmoxam has joined #ruby
zeade has quit [Quit: Leaving.]
moos3 has quit [Quit: Computer has gone to sleep.]
ngoldman has quit [Remote host closed the connection]
slainer68 has quit [Ping timeout: 248 seconds]
ellipse has quit [Ping timeout: 246 seconds]
bradleyprice has quit [Ping timeout: 268 seconds]
devoldmx3 has joined #ruby
_br_ has quit [Quit: leaving]
DomKM has quit [Quit: Leaving.]
devoldmx has quit [Ping timeout: 246 seconds]
Lemtzas_ is now known as Lemtzas
harrymoreno has joined #ruby
Deny has joined #ruby
timkohrumel has joined #ruby
jpsirois has quit [Quit: Textual IRC Client: www.textualapp.com]
ckrailo has quit [Quit: Computer has gone to sleep.]
cofin has joined #ruby
ArchBeOS has quit [Remote host closed the connection]
Deny has quit [Quit: Aide Francophone #SetupFrance]
ivanoats has quit [Remote host closed the connection]
x1337807x has quit [Quit: Textual IRC Client: www.textualapp.com]
timkohrumel has quit [Ping timeout: 240 seconds]
jasonkuhrt has joined #ruby
moos3 has joined #ruby
Aaaarg has joined #ruby
itsdavem has quit [Remote host closed the connection]
hogeo has joined #ruby
tkuchiki has joined #ruby
Davey has joined #ruby
Nisstyre-laptop has joined #ruby
[Neurotic] has quit []
JimmyNeutron has joined #ruby
[Neurotic] has joined #ruby
davedev24 has joined #ruby
echevemaster has quit [Remote host closed the connection]
banjara has joined #ruby
nfk has quit [Quit: yawn]
Guest79081 has quit [Remote host closed the connection]
niklasb has quit [Ping timeout: 246 seconds]
mocfive has joined #ruby
baroquebobcat has joined #ruby
icole has quit [Remote host closed the connection]
iamjarvo has joined #ruby
banister_ has quit [Read error: Connection reset by peer]
horofox has quit [Quit: horofox]
hawtin has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
baroquebobcat has quit [Client Quit]
itsdavem has joined #ruby
F1skr has quit [Quit: WeeChat 0.4.1]
sepp2k1 has quit [Quit: Leaving.]
batman has joined #ruby
JimmyNeutron has quit [Quit: Leaving]
rrecio has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamjarvo has quit [Ping timeout: 264 seconds]
iamjarvo has joined #ruby
DonRichie has quit [Ping timeout: 256 seconds]
baroquebobcat has joined #ruby
DonRichie has joined #ruby
cookcode has joined #ruby
baroquebobcat has quit [Client Quit]
nefilim1 has quit [Quit: Leaving.]
hawtin has quit [Ping timeout: 246 seconds]
arubin has quit [Ping timeout: 264 seconds]
rrecio has quit [Ping timeout: 264 seconds]
dankest has quit [Quit: Linkinus - http://linkinus.com]
jimg has quit [Remote host closed the connection]
mansi has joined #ruby
jackal_af has quit [Read error: Connection reset by peer]
jackal_af has joined #ruby
jkline has quit [Quit: jkline]
jdunck has quit [Quit: Computer has gone to sleep.]
wmoxam has quit [Ping timeout: 252 seconds]
itsdavem has quit [Remote host closed the connection]
arubin has joined #ruby
anonymuse has quit [Remote host closed the connection]
sayd has quit [Ping timeout: 245 seconds]
ssvo has joined #ruby
butblack has joined #ruby
jimeh has quit [Ping timeout: 245 seconds]
rgoodwin has quit [Ping timeout: 264 seconds]
DomKM has joined #ruby
Nanuq has quit [Ping timeout: 245 seconds]
baroquebobcat has joined #ruby
ebobby has quit [Quit: Lost terminal]
mansi has quit [Ping timeout: 256 seconds]
shadoi has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Client Quit]
Sou|cutter has quit [Ping timeout: 246 seconds]
kil0byte has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
Sou|cutter has joined #ruby
shadoi has joined #ruby
jimeh has joined #ruby
Nanuq has joined #ruby
jimg has joined #ruby
rgoodwin has joined #ruby
baroquebobcat has joined #ruby
sayd has joined #ruby
sevenseacat has joined #ruby
iamjarvo1 has joined #ruby
matchaw has quit [Ping timeout: 248 seconds]
davedev24 has quit [Remote host closed the connection]
baroquebobcat has quit [Client Quit]
iamjarvo has quit [Ping timeout: 248 seconds]
wmoxam has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
nari has quit [Ping timeout: 248 seconds]
_ffio_ has joined #ruby
dv_ has quit [Read error: Operation timed out]
rgoodwin has left #ruby ["Textual IRC Client: www.textualapp.com"]
itsdavem has joined #ruby
ffio_ has quit [Ping timeout: 264 seconds]
moos3 has quit [Quit: Computer has gone to sleep.]
amh345 has quit [Ping timeout: 256 seconds]
fierycatnet has joined #ruby
jds has quit [Read error: Connection reset by peer]
Solnse has quit [Remote host closed the connection]
jds has joined #ruby
devoldmx has quit [Ping timeout: 260 seconds]
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Voodoofish430 has quit [Quit: Leaving.]
kenmaz has joined #ruby
TheDick has quit [Quit: TheDick]
devoldmx has joined #ruby
DomKM has quit [Quit: Leaving.]
gr4yscale has quit [Quit: Computer has gone to sleep.]
sixtenei1hty has quit [Ping timeout: 252 seconds]
devoldmx has quit [Ping timeout: 252 seconds]
milardovich has quit [Quit: Leaving]
devoldmx has joined #ruby
_theriffer_ has quit [Quit: _theriffer_]
stkowski has joined #ruby
wmoxam has quit [Ping timeout: 240 seconds]
iamjarvo1 has quit [Quit: Leaving.]
kenmaz has quit [Ping timeout: 264 seconds]
pothibo has quit [Quit: pothibo]
kadoo has joined #ruby
kadoo has quit [Max SendQ exceeded]
itsdavem has quit [Remote host closed the connection]
Matip has joined #ruby
mikepack has joined #ruby
kadoo has joined #ruby
emergion has joined #ruby
wmoxam has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
danslo has quit [Quit: danslo]
sevenseacat has quit [Quit: Leaving.]
benlieb has joined #ruby
sevenseacat has joined #ruby
Mattix has quit [Ping timeout: 248 seconds]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
Nisstyre-laptop has quit [Quit: Leaving]
_maes_ has joined #ruby
nari has joined #ruby
ssvo has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
chile_andes has joined #ruby
athst has joined #ruby
djbkd has quit [Quit: Leaving]
ngoldman has joined #ruby
kofno has joined #ruby
athst has quit [Client Quit]
rh1n0 has joined #ruby
bradleyprice has joined #ruby
JoeyLemur has joined #ruby
superscott[8] has quit [Quit: superscott[8]]
bradhe has joined #ruby
jds has quit [Read error: Connection reset by peer]
JoeyLemur has quit [Quit: leaving]
jds has joined #ruby
ngoldman has quit [Remote host closed the connection]
Aaaarg has quit [Ping timeout: 264 seconds]
Domon has joined #ruby
jimg has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
mocfive has quit [Remote host closed the connection]
dmiller has joined #ruby
buzzybron has joined #ruby
rh1n0 has quit [Quit: -- I'm out --]
benlieb has joined #ruby
ttt has joined #ruby
Hanmac1 has joined #ruby
_veer has joined #ruby
MeatballMadness has joined #ruby
popl has quit [Quit: "People remain what they are even if their faces fall apart."]
devoldmx has joined #ruby
popl has joined #ruby
Treeson has quit [Ping timeout: 256 seconds]
Hanmac2 has quit [Ping timeout: 264 seconds]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
MeatballSadness has joined #ruby
nilved has quit [Read error: Connection reset by peer]
mikepack has quit [Remote host closed the connection]
jimg has joined #ruby
mansi has joined #ruby
baroquebobcat has joined #ruby
radic_ has quit [Read error: Operation timed out]
byprdct has joined #ruby
DomKM has joined #ruby
<Dreamer3> how can i tell rdoc not to document a class i'm only referencing?
<Dreamer3> it seems to want to document it even though i'm only calling it from another library
byprdct_ has joined #ruby
_Renegade has quit [Ping timeout: 246 seconds]
mansi has quit [Read error: Connection reset by peer]
wmoxam has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
Dekade has quit [Read error: Connection reset by peer]
benlieb has quit [Quit: benlieb]
byprdct has quit [Ping timeout: 255 seconds]
sambao21 has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
timkohrumel has joined #ruby
eka has quit [Quit: Computer has gone to sleep.]
ixti has joined #ruby
cj3kim has joined #ruby
icole has joined #ruby
Aaaarg has joined #ruby
mklappstuhl has joined #ruby
celestius has quit [Quit: Textual IRC Client: www.textualapp.com]
bsaboia_ has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
brianpWins has joined #ruby
_theriffer_ has joined #ruby
agjacome has quit [Quit: leaving]
emmanuelux has quit [Remote host closed the connection]
jimg has quit [Remote host closed the connection]
Davey has quit [Quit: Computer has gone to sleep.]
radic_ has joined #ruby
Davey has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
Jt123 has joined #ruby
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
falood has joined #ruby
TwitchTEK has joined #ruby
Spooner has quit [Remote host closed the connection]
<TwitchTEK> Howdy All! App development question coming...
<TwitchTEK> What I am looking for:
<TwitchTEK> An automatic music file organizer.
<TwitchTEK> Desired endstate
<TwitchTEK> To have all of my music files, mp3, mp4, ogg, occ, etc... correctly tagged, correctly named, delete all duplicates, and placed in correct folder. I will have a 'one folder to rule them all' music collection on my home server (Windows Server 2008). Folder tree will resemble something along lines of:
<TwitchTEK> X:\All Music\<Artist Name>\<Album Name>\<Trak#-Song_Name.format>
<TwitchTEK> Requirements:
<TwitchTEK>
<TwitchTEK> Application needs ability to run in both Linux and Windows environments, and/or, be launched from a Linux environment, browse network to a Windows machine, and execute its actions on files on that Windows machine. Application needs to be 'smart enough' to be pointed to a directory, search every subdirectory, and do its thing; fire and forget. Application needs to correctly tag files automatically,
<TwitchTEK> correctly rename files automatically, move files and place in correct file/folder/directory structure automatically, and delete duplicates automatically
<TwitchTEK> Conditions:
<TwitchTEK> My server, Windows Server 2008 R2 32bit, with a huge chunk of storage as a network shared drive. On this share, I have backups, copies & pastes, and data from hard drives, CDs, and computers from up to about 10 or so years ago. So, in addition to everything else, I have mountains of music spread all over the place.
<TwitchTEK> What I do not need/want
MeatballMadness has quit [Remote host closed the connection]
<popl> TwitchTEK: hey dude. There's a pastebin URL in the topic.
jesly has joined #ruby
krz has joined #ruby
<sevenseacat> sif read topic
<popl> sif?
<sevenseacat> 'as if'
tomzx_mac_ has quit [Ping timeout: 256 seconds]
mocfive has joined #ruby
saintcajetan has quit [Remote host closed the connection]
MeatballSadness has quit [Ping timeout: 250 seconds]
<TwitchTEK> didnt even see that
athst has joined #ruby
<taion809> you'd probably be better off writing a python script to do this
<TwitchTEK> think so?
<taion809> yes
rickmasta has quit [Quit: Be back later]
prk has quit [Ping timeout: 260 seconds]
amh345 has joined #ruby
<TwitchTEK> ok, ill have to check python out.
saintcajetan has joined #ruby
<TwitchTEK> far as python goes, i saw the beets app, written in python, but it doesnt do what i want it to. ill keep lookin at the python route
pixelgremlins has joined #ruby
<taion809> there's #python for that
havenwood has joined #ruby
<pixelgremlins> can someone help me w/ hashes? https://gist.github.com/anonymous/9c74887345984075db6d -- need to loop through a hash/sub_hashes... but keep getting "can't convert string into integer"
adkron has joined #ruby
<TwitchTEK> thanks yall!
wsterling has joined #ruby
brianpWins has quit [Quit: brianpWins]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
brianpWins has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
mfletcher has joined #ruby
TwitchTEK has quit []
<taion809> oh crap wtf... wrong channel
<popl> pixelgremlins: try x[0]["image"]
kil0byte has joined #ruby
<taion809> thought i was in ##php, ruby would have been fine for this -_-
bigmac has joined #ruby
<sevenseacat> lol
ssvo has quit [Ping timeout: 264 seconds]
icole has quit [Remote host closed the connection]
rickmasta has joined #ruby
mrrob has joined #ruby
banjara has quit [Quit: Leaving.]
<bnagy> taion809: no.. no I did you did the right thing to send him to #python :>
banjara has joined #ruby
<pixelgremlins> nope, that didn't work either... prices.each do |p| puts p gives me: {"amazon_new"=>[{"image"=>"imageurl.com", "url"=>"bookurl.com", "price"=>45.55}], "amazon_used"=>[{"image"=>"2ndImageUrl .com", "url"=>"2ndbookurl.com", "price"=>67.45}]} need to loop through image, url, and price.
gr4yscale has joined #ruby
<popl> you know you've got an array of hashes yeah?
shadoi has quit [Read error: Connection reset by peer]
tomzx_mac has joined #ruby
Nisstyre has joined #ruby
shadoi has joined #ruby
<pixelgremlins> I'm just basically wanting a multi-dim array of these and loop through the sub array and output it to a table...
zeade has joined #ruby
<popl> you declare a hash with {} and an array with []
<bnagy> if there's one hash per array then hsh.values.flatten.each {|subhsh| p subhsh['image']}
<popl> is that correct?
baroquebobcat has quit [Quit: baroquebobcat]
io_syl has quit [Ping timeout: 240 seconds]
<popl> yep
ixti has quit [Read error: Operation timed out]
<bnagy> actually doesn't matter if there are multiple books per value
<bnagy> zzz
adeponte has joined #ruby
<popl> bnagy: what?
<bnagy> popl: what what?
rrecio has joined #ruby
<popl> bnagy: what were you referring to?
<popl> your solution?
<bnagy> yeah
<pixelgremlins> thanks bnagy that worked... need to read up on flatten/values.. don't know those methods..
mikepack has joined #ruby
jimg has joined #ruby
<bnagy> pixelgremlins: do you work with irb / pry?
seitensei has quit [Quit: Computer has gone to sleep.]
kofno has quit [Remote host closed the connection]
<bnagy> helps a lot to see things step by step
<pixelgremlins> irb
mfletcher has quit [Remote host closed the connection]
<pixelgremlins> well, this is for Rails app -- but right now just using irb / a .rb file to figure out the hash looping I need for my view. Need to get my app prototype done by early next week, and feeling the pressure lol
seitensei has joined #ruby
nettoweb has joined #ruby
mikepack has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
<popl> in pixelgremlins' example price is an array containing two elements, both hashes, which each have an array of three hashes as values?
harrymoreno has quit [Ping timeout: 248 seconds]
brianpWins has quit [Quit: brianpWins]
<bnagy> no
<bnagy> it's a hash with two k/v pairs, each value being an array with one hash in it
harrymoreno has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
<pixelgremlins> a hash w/in a hash or 2 level multi-dimensional hash
tomzx_mac has quit [Ping timeout: 240 seconds]
<popl> hm, the indentation is a bit screwy
`p has quit [Remote host closed the connection]
banjara has quit [Client Quit]
banjara has joined #ruby
<bnagy> popl: oh, sorry I was looking at the channel not the gist
jimg has quit [Ping timeout: 240 seconds]
falood has quit [Remote host closed the connection]
<bnagy> yeah that's like a syntax error
mklappstuhl has joined #ruby
<popl> thank you bnagy
<popl> I was so confused. :P
kobain has quit [Quit: El motor por excelencia http://www.europio.org/]
Neener54 has joined #ruby
Levin_22 has joined #ruby
sambao21 has quit [Ping timeout: 264 seconds]
<pixelgremlins> well, it works now, changed all brackets to squigly backets, and used the values.flatten code.
<popl> it's not a syntax error though, is it?
banjara has quit [Client Quit]
Neener54 has quit [Client Quit]
<popl> that's a valid array
banjara has joined #ruby
gildo has quit [Ping timeout: 264 seconds]
brianpWins has joined #ruby
<popl> prices[0]['amazon_new'][0]['image'] # returns "imageurl.com"
pootler_ has quit [Ping timeout: 240 seconds]
<popl> \o/
harrymoreno_ has joined #ruby
pootler__ has quit [Ping timeout: 246 seconds]
<bnagy> .. ugh, no it's using shortcut hash parsing inside the array
<bnagy> ok not a syntax error, just awful
harrymoreno has quit [Ping timeout: 255 seconds]
harrymoreno_ is now known as harrymoreno
DanKnox is now known as DanKnox_away
brianpWins has quit [Client Quit]
gr4yscale has quit [Quit: Computer has gone to sleep.]
dhruvasagar has quit [Ping timeout: 246 seconds]
mahmoudimus has quit [Quit: Computer has gone to sleep.]
<pixelgremlins> the whole point is that each parent hash has a funky name that I don't want to remember...but the sub-hash has same key name, so I can put them in the right columns..
mklappstuhl has quit [Remote host closed the connection]
rrecio has quit [Ping timeout: 256 seconds]
banjara has quit [Quit: Leaving.]
bradleyprice has quit [Remote host closed the connection]
banjara has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
banjara has quit [Client Quit]
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
banjara has joined #ruby
Levin_22 has quit [Quit: Levin_22]
rrecio has joined #ruby
brianpWins has joined #ruby
baroquebobcat has joined #ruby
<popl> haha cool. %w{foo bar baz} is equivalent to qw/foo bar baz/ in Perl?
<popl> "equivalent"
brianpWins has quit [Client Quit]
bigmac has quit [Quit: Leaving]
brianpWins has joined #ruby
wsterling has quit [Remote host closed the connection]
[1]SoonerBourne has joined #ruby
voodoofish has joined #ruby
richiebkr has joined #ruby
wsterling has joined #ruby
chile_andes has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Nisstyre-laptop has joined #ruby
Guga_ has quit [Quit: ~]
SoonerBourne has quit [Ping timeout: 240 seconds]
[1]SoonerBourne is now known as SoonerBourne
brianpWins has quit [Client Quit]
io_syl has joined #ruby
mansi has quit [Remote host closed the connection]
falkoner has joined #ruby
mansi has joined #ruby
poga has joined #ruby
harrymoreno has quit [Ping timeout: 256 seconds]
harrymoreno has joined #ruby
mansi has quit [Ping timeout: 246 seconds]
richiebkr has quit [Ping timeout: 248 seconds]
jimg has joined #ruby
nettoweb has quit [Quit: nettoweb]
Triconium has quit [Quit: Leaving...]
Nisstyre-laptop has quit [Quit: Leaving]
mmitchell has quit [Remote host closed the connection]
wmoxam has joined #ruby
harrymoreno has quit [Ping timeout: 246 seconds]
dmyers_ is now known as dmyers
adkron has quit [Ping timeout: 260 seconds]
athst has quit [Quit: athst]
jimg has quit [Ping timeout: 248 seconds]
girija has joined #ruby
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
fridim_ has quit [Ping timeout: 240 seconds]
harrymoreno has joined #ruby
slyv has quit [Quit: Textual IRC Client: www.textualapp.com]
saintcajetan_ has joined #ruby
richiebkr has joined #ruby
pu22l3r_ has joined #ruby
mocfive has quit [Remote host closed the connection]
pu22l3r has quit [Read error: Operation timed out]
jesly has quit [Quit: Leaving.]
richiebkr has quit [Read error: Connection reset by peer]
batman___ has joined #ruby
richiebkr has joined #ruby
wsterling has quit [Remote host closed the connection]
batman has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
bradleyprice has joined #ruby
jonahR has joined #ruby
hamakn has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
adeponte has quit [Remote host closed the connection]
banjara has joined #ruby
fredjean has joined #ruby
rrecio has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 248 seconds]
atyz has joined #ruby
helvete has joined #ruby
kofno has joined #ruby
twoism has quit [Remote host closed the connection]
atyz has quit [Read error: Connection reset by peer]
banjara has quit [Client Quit]
banjara has joined #ruby
echevemaster has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
DomKM has quit [Quit: Leaving.]
bradhe has quit [Remote host closed the connection]
jimeh has quit [Ping timeout: 245 seconds]
baroquebobcat has joined #ruby
soulisson has quit [Ping timeout: 248 seconds]
jimeh has joined #ruby
jds has quit [Read error: Connection reset by peer]
Nanuq has quit [Ping timeout: 245 seconds]
gr4yscale has joined #ruby
jds has joined #ruby
camt has quit [Remote host closed the connection]
Nanuq has joined #ruby
cofin has quit [Quit: cofin]
jds has quit [Read error: Connection reset by peer]
jds__ has joined #ruby
sambao21 has joined #ruby
coreinfo99 has quit [Ping timeout: 246 seconds]
cookcode has quit [Quit: Leaving.]
kofno has quit [Ping timeout: 256 seconds]
pranny has joined #ruby
falood has joined #ruby
wmoxam has quit [Ping timeout: 260 seconds]
<amh345> anyone tried to launch a program in windows using system("some_script.bat") ? I'm getting nothing in return. not even an error.
<amh345> I'm rebooting now.. as windows loves to make me reboot.
<amh345> but i don't really think it's going to help.
GeissT has joined #ruby
butblack has quit [Quit: butblack]
banjara has quit [Quit: Leaving.]
mikepack has joined #ruby
DanKnox_away is now known as DanKnox
hamakn has joined #ruby
sarkis has joined #ruby
banjara has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
<bnagy> amh345: if you have an error in your script or whatever then there'll be a console host window for a split second
Deele has joined #ruby
<amh345> bnagy: I'm not catching anything. driving me a bit nuts.
bradleyprice has quit [Remote host closed the connection]
<amh345> I'm wondering if it has something to do with administrator? I'm not a windows user, so I'm not sure.
<amh345> but i checked event viewer and it's saying nothing.
yshh has quit [Remote host closed the connection]
<bnagy> well it wouldn't
eldariof has joined #ruby
<amh345> oh i thought it would at least say something if it was a permissions tihng.
<bnagy> that would be like syslog logging command not found
banjara has quit [Client Quit]
richiebkr has quit [Quit: richiebkr]
banjara has joined #ruby
<bnagy> you can try `start cmd /k blah`
gr4yscale has quit [Quit: Computer has gone to sleep.]
<bnagy> that will launch a persistent command window and then try to run the command in it
<amh345> ah. good idea.
<amh345> do you know if it would have anything to do with me launching a bat file located in c:/some.bat ?
djbkd has joined #ruby
<bnagy> offhand no, it would depend on perms and windows version, probably
<amh345> windows 8
Nisstyre has quit [Ping timeout: 260 seconds]
<bnagy> *shrug*
<amh345> system(`start cmd /k blah`) returned nothing. no popup. or anything
<bnagy> if it's a bat you can try and run from a cmd prompt, and then try from irb in the same window
ananthakumaran has joined #ruby
girija has quit [Ping timeout: 246 seconds]
<bnagy> also check path etc
<amh345> if i launch the bat from c:/some.bat it works.
rezzack has quit [Quit: Leaving.]
rezzack has joined #ruby
mrrob_ has joined #ruby
Aaaarg has quit [Quit: Aaaarg]
mrrob has quit [Ping timeout: 252 seconds]
gsvolt has quit [Ping timeout: 276 seconds]
djbkd has quit [Client Quit]
banghouse has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
banjara has quit [Client Quit]
pootler_ has joined #ruby
banjara has joined #ruby
helvete has quit [Quit: Leaving...]
pootler__ has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
rezzack has quit [Ping timeout: 255 seconds]
<amh345> i think i got it. it's not system("some.bat") it's exec "some.bat"
DanKnox is now known as DanKnox_away
gr4yscale has joined #ruby
gr4yscale has quit [Client Quit]
EPIK has quit [Ping timeout: 248 seconds]
Hanmac has joined #ruby
richiebkr has joined #ruby
mrrob_ has quit [Quit: mrrob_]
vlad_starkov has joined #ruby
huoxito has quit [Quit: Leaving]
gsvolt has joined #ruby
pyrac has joined #ruby
mansi has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
banjara has quit [Quit: Leaving.]
kevinykchan has joined #ruby
banjara has joined #ruby
banjara has quit [Client Quit]
<popl> amh345: exec will replace the ruby instance with some.bat
<amh345> yeah. i just discovered that.
<amh345> hah
banjara has joined #ruby
<amh345> I'm looking at it.. wtf is going on??
mklappstuhl has joined #ruby
banjara has quit [Client Quit]
momomomomo has left #ruby [#ruby]
mansi has quit [Ping timeout: 260 seconds]
banjara has joined #ruby
bradhe has joined #ruby
pootler__ has quit [Ping timeout: 255 seconds]
philcrissman_ has quit [Remote host closed the connection]
DrShoggoth has quit [Quit: Leaving]
Nisstyre has joined #ruby
banjara has quit [Client Quit]
pootler_ has quit [Ping timeout: 255 seconds]
richiebkr has quit [Quit: richiebkr]
banjara has joined #ruby
AlbireoX has joined #ruby
philcrissman_ has joined #ruby
w0rldmaker has quit [Read error: Connection reset by peer]
w0rldmaker has joined #ruby
<amh345> system("") wasn't working because i wasn't escaping. system("c:\\some.bat") works. but it's still taking over terminal.
Aaaarg has joined #ruby
arya has joined #ruby
jcromartie has quit [Ping timeout: 240 seconds]
<popl> amh345: have you tried win32ole?
rotor has quit [Remote host closed the connection]
Inside has quit [Ping timeout: 246 seconds]
rotor has joined #ruby
<amh345> popl: i havent, no.
jcromartie has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
kenmaz has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
jgoss has quit [Ping timeout: 276 seconds]
tonini has joined #ruby
jasonkuhrt has left #ruby ["Linkinus - http://linkinus.com"]
serp` has joined #ruby
sarkis has quit [Ping timeout: 264 seconds]
pixelgremlins has quit [Ping timeout: 250 seconds]
DomKM has joined #ruby
zeade has quit [Quit: Leaving.]
kenmaz has quit [Ping timeout: 264 seconds]
devyn has quit [Ping timeout: 264 seconds]
pranny1 has joined #ruby
Aaaarg has quit [Quit: Aaaarg]
harrymoreno_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
DrShoggoth has joined #ruby
mmitchell has joined #ruby
harrymoreno has quit [Ping timeout: 255 seconds]
harrymoreno_ is now known as harrymoreno
fierycatnet has quit [Quit: Leaving]
Jt123 has quit []
pranny has quit [Ping timeout: 246 seconds]
a_a_g has joined #ruby
amh345 has quit [Quit: amh345]
mmitchell has quit [Ping timeout: 256 seconds]
dhruvasagar has joined #ruby
amh345 has joined #ruby
arya has quit [Ping timeout: 240 seconds]
<amh345> popl: i think i got it. start cmd /c :c\\some_bat
rrecio has joined #ruby
sarkis has joined #ruby
havenwood has quit [Remote host closed the connection]
devyn has joined #ruby
SoonerBourne has quit [Read error: Connection reset by peer]
fschuindt has joined #ruby
philcrissman_ has quit [Remote host closed the connection]
slainer68 has joined #ruby
SoonerBourne has joined #ruby
wsterling has joined #ruby
rrecio has quit [Ping timeout: 256 seconds]
djbkd has joined #ruby
byprdct_ has quit [Ping timeout: 256 seconds]
icole has joined #ruby
pranny1 has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
rrecio has joined #ruby
wsterling has quit [Ping timeout: 264 seconds]
pyrac has quit [Quit: pyrac]
_Andres has joined #ruby
slainer68 has quit [Remote host closed the connection]
kadoo has joined #ruby
yshh has joined #ruby
amh345_ has joined #ruby
amh345 has quit [Ping timeout: 240 seconds]
amh345_ is now known as amh345
mikepack has quit [Remote host closed the connection]
a_a_g has quit [Quit: Leaving.]
thams has joined #ruby
pyrac has joined #ruby
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
mikepack has joined #ruby
thams has quit [Client Quit]
girija has joined #ruby
kadoo has quit [Client Quit]
eldariof has quit [Ping timeout: 268 seconds]
serp` has quit [Quit: serp`]
rrecio has quit [Ping timeout: 264 seconds]
browndawg has joined #ruby
richiebkr has joined #ruby
agent_white has joined #ruby
timonv has joined #ruby
thams has joined #ruby
Mendon has joined #ruby
mikepack has quit [Remote host closed the connection]
splittingred has quit [Quit: splittingred]
Jackneill has joined #ruby
dash_ has joined #ruby
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
athst has joined #ruby
thesheff17 has quit [Remote host closed the connection]
w0rldmaker has quit [Ping timeout: 240 seconds]
codecop has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
mansi has joined #ruby
GeissT has quit [Read error: Connection reset by peer]
GeissT has joined #ruby
coderhut has joined #ruby
coderhut has quit [Client Quit]
dmiller has quit [Remote host closed the connection]
coderhut has joined #ruby
fschuindt has quit [Quit: Computer has gone to sleep.]
pootler_ has joined #ruby
macmartine has joined #ruby
havenwood has joined #ruby
timkohrumel has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
mansi has quit [Ping timeout: 256 seconds]
bradhe has joined #ruby
pootler_ has quit [Ping timeout: 256 seconds]
pootler_ has joined #ruby
pootler__ has joined #ruby
gr4yscale has joined #ruby
lucianosousa has joined #ruby
dmiller has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
Paradox has quit [Quit: off to herp the derps]
Paradox has joined #ruby
DomKM has quit [Quit: Leaving.]
himsin has joined #ruby
kenmaz has joined #ruby
dmiller has quit [Remote host closed the connection]
arya has joined #ruby
kenmaz has quit [Ping timeout: 264 seconds]
girija has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
_theriffer_ has quit [Quit: _theriffer_]
apeiros has joined #ruby
sayan has joined #ruby
tommyvyo has quit [Quit:]
timkohrumel has joined #ruby
banjara has quit [Quit: Leaving.]
coderhut has quit [Quit: Page closed]
banjara has joined #ruby
banjara has quit [Client Quit]
thams has quit [Quit: thams]
banjara has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby
Aaaarg has joined #ruby
harrymoreno has quit [Ping timeout: 264 seconds]
harrymoreno_ has joined #ruby
athst has quit [Quit: athst]
tagrudev has joined #ruby
generalissimo has quit [Remote host closed the connection]
ananthakumaran has joined #ruby
n_blownapart has joined #ruby
d3c has joined #ruby
pyrac has quit [Quit: pyrac]
banjara has quit [Quit: Leaving.]
timonv has quit [Remote host closed the connection]
<n_blownapart> could anyone explain how result is used here? I'm getting an error: undefined local variable or method `result'. thanks http://pastie.org/8061972
amh345 has quit [Quit: amh345]
banjara has joined #ruby
d3c has quit [Client Quit]
<macmartine> n_blownapart result isn't defined
akells` has quit [Remote host closed the connection]
<Hanmac> i think he miss the =
<lucianosousa> n_blownapart: just follow Hanmac tip ;)
Kar- has joined #ruby
<n_blownapart> macmartine: Hanmac that takes a = ? thanks all + lucianosousa
wargasm has quit [Read error: Connection reset by peer]
<n_blownapart> dang it was an error in the book example. driving me nuts ... thanks Hanmac macmartine lucianosousa
sarkis has quit [Ping timeout: 268 seconds]
mahmoudimus has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
serp` has joined #ruby
<pontiki> the way ruby read line 2 (as posted) is "call the method result with the argument assert(expected == actual)
girija has joined #ruby
Apane has quit [Ping timeout: 256 seconds]
<n_blownapart> pontiki yeah you mean as it is incorrectly on the pastie without the = right?
subbyyy has quit [Ping timeout: 264 seconds]
banjara has quit [Client Quit]
apeiros has quit [Read error: Operation timed out]
banjara has joined #ruby
<pontiki> yes
jkline has joined #ruby
pyrac has joined #ruby
<n_blownapart> pontiki: thanks cheers
<pontiki> you could also save a local variable in that construction
<n_blownapart> please give an example pontiki
harrymoreno has joined #ruby
kenmaz has joined #ruby
pootler_1 has joined #ruby
arya has quit [Ping timeout: 248 seconds]
malcolmva has quit [Remote host closed the connection]
bradhe has joined #ruby
<n_blownapart> thanks will study pontiki
<pontiki> refresh it - i missed an important bit
<n_blownapart> ok
harrymoreno_ has quit [Ping timeout: 255 seconds]
<pontiki> should copypastaed instead of retyping
agent_white has quit [Quit: leaving]
pootler_2 has joined #ruby
<n_blownapart> youre referring to t in the block right? pontiki
pootler__ has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
arquebus has joined #ruby
pootler_ has quit [Ping timeout: 260 seconds]
harrymoreno has quit [Ping timeout: 264 seconds]
<pontiki> yeah
rrecio has joined #ruby
<n_blownapart> pontiki: thanks pax
harrymoreno has joined #ruby
Spami has joined #ruby
vlad_starkov has joined #ruby
arya has joined #ruby
marcdel has joined #ruby
dr_bob has joined #ruby
`p has joined #ruby
dr_bob has left #ruby [#ruby]
jds__ has quit [Read error: Connection reset by peer]
devyn has quit [Quit: Lost terminal]
lucianosousa has quit [Quit: lucianosousa]
jds has joined #ruby
devyn has joined #ruby
mklappstuhl has joined #ruby
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
pyrac has quit [Quit: pyrac]
arya has quit [Ping timeout: 248 seconds]
JohnBat26 has joined #ruby
rrecio has quit [Ping timeout: 240 seconds]
banjara has quit [Client Quit]
yxhuvud2 has joined #ruby
yxhuvud has quit [Ping timeout: 260 seconds]
banjara has joined #ruby
bradhe has quit [Remote host closed the connection]
pootler_ has joined #ruby
banjara has quit [Client Quit]
pootler__ has joined #ruby
banjara has joined #ruby
arya has joined #ruby
bradhe has joined #ruby
banjara has quit [Client Quit]
pootler_1 has quit [Ping timeout: 240 seconds]
banjara has joined #ruby
pootler_2 has quit [Ping timeout: 240 seconds]
mikepack has joined #ruby
pranny has joined #ruby
pranny1 has joined #ruby
serp` has quit [Quit: serp`]
banjara has quit [Client Quit]
banjara has joined #ruby
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
arya has quit [Ping timeout: 256 seconds]
ntus1017 has joined #ruby
wallerdev has quit [Client Quit]
yashshah has joined #ruby
rismoney has quit [Remote host closed the connection]
rismoney has joined #ruby
macmartine has quit [Quit: Computer has gone to sleep.]
banjara has quit [Client Quit]
banjara has joined #ruby
pranny has quit [Ping timeout: 264 seconds]
falood has quit [Remote host closed the connection]
oceanbreeze has joined #ruby
persand has joined #ruby
arya has joined #ruby
klaas has quit [Remote host closed the connection]
ttt has quit [Read error: Connection reset by peer]
ttt_ has joined #ruby
persand has quit [Client Quit]
arya has quit [Ping timeout: 255 seconds]
mansi has joined #ruby
rippa has joined #ruby
a_a_g has joined #ruby
ayaz has joined #ruby
girija has quit [Ping timeout: 255 seconds]
mansi has quit [Ping timeout: 248 seconds]
devyn has quit [Ping timeout: 255 seconds]
devyn has joined #ruby
ntus1017 has quit [Remote host closed the connection]
relix has joined #ruby
apeiros has joined #ruby
arya has joined #ruby
athst has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
a_a_g has quit [Quit: Leaving.]
sarcilav_ has joined #ruby
timkohrumel has quit [Remote host closed the connection]
falkoner has quit [Quit: Leaving.]
b0oh has joined #ruby
tatsuya_o has joined #ruby
a_a_g has joined #ruby
byprdct has joined #ruby
r0bgleeson has quit [Ping timeout: 264 seconds]
_Andres has joined #ruby
arquebus has quit [Quit: Konversation terminated!]
yashshah has quit [Read error: Connection reset by peer]
admin0 has joined #ruby
yashshah has joined #ruby
jkline has quit [Quit: jkline]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aganov has joined #ruby
arya has quit [Ping timeout: 252 seconds]
tvw has joined #ruby
boblu has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 240 seconds]
hadees has quit [Quit: hadees]
filipe_ has joined #ruby
Hanmac has joined #ruby
arya has joined #ruby
SoonerBourne has quit [Read error: Connection reset by peer]
girija has joined #ruby
SoonerBourne has joined #ruby
twoism has joined #ruby
hadees has joined #ruby
djbkd has quit [Quit: Leaving]
poseid has joined #ruby
threesome has quit [Ping timeout: 264 seconds]
pyrac has joined #ruby
marcdel has joined #ruby
Hanmac has quit [Ping timeout: 246 seconds]
mikepack has quit [Remote host closed the connection]
twoism has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
artemeff has joined #ruby
twoism has joined #ruby
banjara has joined #ruby
dagobah has joined #ruby
akells` has joined #ruby
arya has quit [Ping timeout: 264 seconds]
zigomir has joined #ruby
t_p has joined #ruby
dv_ has joined #ruby
harrymoreno_ has joined #ruby
harrymoreno has quit [Ping timeout: 264 seconds]
harrymoreno_ is now known as harrymoreno
akells` has quit [Ping timeout: 255 seconds]
canton7 has joined #ruby
jds has quit [Remote host closed the connection]
workmad3 has joined #ruby
jds has joined #ruby
girija has quit [Quit: Ex-Chat]
girija has joined #ruby
stef_204 has joined #ruby
Meatant has quit [Quit: bbl]
arya has joined #ruby
arturaz has joined #ruby
rrecio has joined #ruby
jprovazn has joined #ruby
b0oh has quit [Quit: Leaving.]
bradhe has quit [Remote host closed the connection]
danslo has joined #ruby
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
jkline has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
ehaliewicz has quit [Read error: Connection reset by peer]
rrecio has quit [Ping timeout: 256 seconds]
persand has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
falood has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
andikr has joined #ruby
jastix has joined #ruby
Spami has quit [Read error: Connection reset by peer]
obs has joined #ruby
threesome has joined #ruby
r0bby is now known as robbyoconnor
echevemaster has quit [Quit: Leaving]
alup has joined #ruby
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
richiebkr has quit [Quit: richiebkr]
a_a_g has quit [Quit: Leaving.]
khushildep has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
skasio has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby
richiebkr has joined #ruby
banjara has quit [Client Quit]
skasio has joined #ruby
banjara has joined #ruby
kasper has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
mansi has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
beneggett has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
mklappstuhl has quit [Remote host closed the connection]
Astral_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 248 seconds]
emergion has joined #ruby
Kabaka has quit [Remote host closed the connection]
harrymoreno has quit [Ping timeout: 264 seconds]
falood_ has joined #ruby
banjara has quit [Client Quit]
kenmaz has quit [Remote host closed the connection]
banjara has joined #ruby
Astralum has quit [Ping timeout: 260 seconds]
pi3r has joined #ruby
falood has quit [Read error: Operation timed out]
Maoko has joined #ruby
Kabaka has joined #ruby
harrymoreno has joined #ruby
ybart has joined #ruby
bradhe has joined #ruby
n_blownapart has quit [Remote host closed the connection]
emergion has quit [Client Quit]
Kabaka has quit [Remote host closed the connection]
jbpros has joined #ruby
kenmaz has joined #ruby
ViperMaul has quit [Read error: Connection reset by peer]
jds has quit [Remote host closed the connection]
nes1983 has joined #ruby
_Andres has quit [Quit: jazz]
jds has joined #ruby
Kabaka has joined #ruby
_Andres has joined #ruby
denken has quit [Ping timeout: 264 seconds]
Rizzle has joined #ruby
jkline has quit [Quit: jkline]
n_blownapart has joined #ruby
Paradox has quit [Quit: off to herp the derps]
Paradox has joined #ruby
dfdf has joined #ruby
jds has quit [Ping timeout: 255 seconds]
t_p has quit [Ping timeout: 255 seconds]
falood_ has quit [Read error: Connection reset by peer]
falood has joined #ruby
a_a_g has joined #ruby
athst has quit [Quit: athst]
bradhe has quit [Ping timeout: 264 seconds]
niceguyjames has joined #ruby
uxp has quit [Read error: Connection reset by peer]
uxp has joined #ruby
icecandy has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
robbyoconnor has quit [Max SendQ exceeded]
tatsuya_o has joined #ruby
robbyoconnor has joined #ruby
n_blownapart has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
afd__ has joined #ruby
timonv has joined #ruby
Criztian has joined #ruby
il_of has quit [Quit: leaving]
richiebkr has quit [Quit: richiebkr]
brianpWins has quit [Quit: brianpWins]
richiebkr has joined #ruby
workmad3 has joined #ruby
mocfive has joined #ruby
mocfive has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
twoism has quit [Ping timeout: 255 seconds]
blaxter_ has joined #ruby
gstamp has quit [Quit: Computer has gone to sleep.]
pen has joined #ruby
Guest20377 has quit [Quit: Guest20377]
kenmaz has quit [Remote host closed the connection]
DaniG2k has joined #ruby
rrecio has joined #ruby
kenmaz has joined #ruby
Coffers has joined #ruby
davout has joined #ruby
Hanmac has joined #ruby
b0oh has joined #ruby
jds has joined #ruby
rickmasta has quit [Quit: Leaving...]
s1n4 has joined #ruby
dangerousdave has joined #ruby
arya has quit [Ping timeout: 256 seconds]
Xeago has joined #ruby
camilasan has joined #ruby
ssvo has joined #ruby
rrecio has quit [Ping timeout: 264 seconds]
jbpros has quit [Quit: jbpros]
arya has joined #ruby
darkstar| has joined #ruby
<darkstar|> hi im working through michael hartl's rails tutorial, how important are the sections on testing?
oceanbreeze has quit [Ping timeout: 264 seconds]
<popl> testing is an important part of development.
harrymoreno has quit [Ping timeout: 248 seconds]
timonv has quit [Remote host closed the connection]
<sevenseacat> quite important.
<bnagy> testing is for weaklings and the incontinent
gstamp has joined #ruby
<popl> bnagy: testing is for professionals who like their shit to work.
harrymoreno has joined #ruby
jbpros has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
falood_ has joined #ruby
ssvo has quit [Ping timeout: 264 seconds]
wildcard0 has quit [Ping timeout: 246 seconds]
blaxter_ has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 240 seconds]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
_Andres_ has joined #ruby
_Andres_ has quit [Client Quit]
_Andres has quit [Read error: Connection reset by peer]
_Andres_ has joined #ruby
falood has quit [Ping timeout: 264 seconds]
Davey has quit [Quit: Computer has gone to sleep.]
phrearch has joined #ruby
<phrearch> hey
<phrearch> im new to ruby. does it have a commandline where i can test commands?
<phrearch> when i type ruby, it just stalls the terminal
<bnagy> irb or pry
<bnagy> irb is built in or gem install pry
zai has joined #ruby
zai is now known as Guest20983
paulswilliamsesq has joined #ruby
Guest20983 is now known as zai
emergion has joined #ruby
Maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
mklappstuhl has joined #ruby
_Andres_ has quit [Ping timeout: 260 seconds]
falood_ has quit [Remote host closed the connection]
<phrearch> bnagy: thanks!
mansi has joined #ruby
falood has joined #ruby
_Andres has joined #ruby
adambeynon has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
nomenkun has joined #ruby
_ffio_ has quit [Ping timeout: 240 seconds]
noname001 has joined #ruby
timmow has joined #ruby
atno has joined #ruby
falood_ has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
falood has quit [Ping timeout: 240 seconds]
ghr has joined #ruby
blaxter_ has joined #ruby
darkstar| has quit [Remote host closed the connection]
CFUDev has joined #ruby
<CFUDev> Hi . . .
wildcard0 has joined #ruby
<popl> Hello.
<CFUDev> note, I am very very new on Ruby ! :)
matthewrobbins has joined #ruby
Layke has quit [Ping timeout: 264 seconds]
niceguyjames has quit [Quit: Computer has gone to sleep.]
bradhe has joined #ruby
niceguyjames has joined #ruby
rdark has joined #ruby
lenswipe_dev has joined #ruby
<lenswipe_dev> hey guys
<lenswipe_dev> anyone around?
<lenswipe_dev> I'm trying to install the showoff gem but I'm getting an error about building the native extentions
<lenswipe_dev> even though I have the devkit installed
supki_ is now known as supki
<CFUDev> anybody please ? thinks are so bud ? :?
bradhe has quit [Ping timeout: 252 seconds]
predator117 has quit [Ping timeout: 260 seconds]
<bnagy> lenswipe_dev: are you using platform=ruby?
<lenswipe_dev> bnagy, yep
<lenswipe_dev> gem install showoff --platform=ruby
<bnagy> what os?
<lenswipe_dev> makes no different
<lenswipe_dev> bnagy, windows 8
<lenswipe_dev> bnagy, I have a stackoverflow post with the full error text for you to read if that would help
<bnagy> hm. I haven't used the 64 bit MRI stuff
wildcard0 has quit [Ping timeout: 248 seconds]
<lenswipe_dev> scratch that
<lenswipe_dev> I have a pastebin
<lenswipe_dev> there
<lenswipe_dev> that said the stackoverflow post has info in it like what version of ruby i have
<lenswipe_dev> etc
nes1983 has quit [Remote host closed the connection]
<popl> so that's two URLs you want people to visit? :)
predator117 has joined #ruby
LennyLinux has joined #ruby
<bnagy> oh wow.. possibly just wrong headers..
<bnagy> or possibly something awful
<lenswipe_dev> popl, it's two URL's that have the answers to questions like "what version of ruby are you running" and "can we see the output"
<lenswipe_dev> popl, I could paste it all in here if you would like....I suspect you wouldn't though
<popl> Personally I don't care, but you might get banned for it.
<popl> I don't know how strict the people here are.
<lenswipe_dev> hmm
<lenswipe_dev> so if you don't care why bring it up
<bnagy> paste sites are fine
Al__ has joined #ruby
<bnagy> we prefer gist or pastie ( no ads )
rdark has quit [Ping timeout: 268 seconds]
<lenswipe_dev> ah ok
<bnagy> lenswipe_dev: does this thing work on jruby by any chance?
<bnagy> cause that's an easy fix :/
<CFUDev> anybody please to help me ?
<popl> CFUDev: People saw your question. If someone wants to or can help they will.
<lenswipe_dev> bnagy, how do you mean?
rdark has joined #ruby
<lenswipe_dev> bnagy, I haven't tried it - how do I try it
timmow has quit [Read error: Connection reset by peer]
<bnagy> lenswipe_dev: jruby.org
<bnagy> they have an x64 installer with jre bundled
timmow has joined #ruby
<lenswipe_dev> bnagy, are you asking me to test it in jruby or are you asking me if I'm using it with jruby?
<bnagy> I guess I'm asking you to test with jruby :)
<lenswipe_dev> right-o
<lenswipe_dev> I have netbeans which bundles jruby with it - I'll give it a go under there
<CFUDev> from those have read my code, is something wrong with it ?
<bnagy> just be aware that the jruby installer will change your path
<bnagy> CFUDev: yes, there is
<lenswipe_dev> see above
yashshah has quit [Read error: Connection reset by peer]
<bnagy> CFUDev: apparently it doesn't do what you want
danslo has quit [Quit: danslo]
t_p has joined #ruby
<bnagy> netbeans? :<
yashshah has joined #ruby
<CFUDev> bhagy: netbeans question is for me ?
<bnagy> lenswipe_dev: anyway, x64 support on windows MRI is really very new
<lenswipe_dev> MRI?
<bnagy> sorry that's the name for 'original' ruby
<bnagy> Matz' Ruby Interpreter, although it's really KRI these days, cause it was rewritten
<CFUDev> bnagy: So what do you sugest to do, in order to solve that issue ?
<CFUDev> do you have any solution ?
<bnagy> CFUDev: nope
<CFUDev> :/
Zeeraw has joined #ruby
Layke has joined #ruby
Zeeraw has quit [Client Quit]
banjara has quit [Quit: Leaving.]
falood_ has quit [Ping timeout: 252 seconds]
banjara has joined #ruby
yashshah has quit [Read error: Connection reset by peer]
Zeeraw has joined #ruby
<bnagy> lenswipe_dev: short version, MRI needs a C build chain, which they used to use mingw32 for, but on x64 they didn't have a good chain for some of the critical libs, so it took ages to sort out
<lenswipe_dev> right
<bnagy> in the meantime I got bored and just switched to jruby for all windows stuff
<lenswipe_dev> but on jruby you think...ok let's see
yashshah has joined #ruby
jimg has joined #ruby
harrymoreno has quit [Ping timeout: 264 seconds]
<bnagy> some C extensions work, but not all, but there's an FFI port for almost everything
banjara has quit [Client Quit]
banjara has joined #ruby
harrymoreno has joined #ruby
wudofyr___ has quit [Remote host closed the connection]
wudofyr___ has joined #ruby
davout has quit [Remote host closed the connection]
Spami has joined #ruby
Spami has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
emergion has joined #ruby
filipe_ has quit [Ping timeout: 240 seconds]
CFUDev has quit [Quit: Hard work pays off in the future, laziness pays off now]
timonv has joined #ruby
klaas has joined #ruby
admin0 has quit [Ping timeout: 252 seconds]
<lenswipe_dev> bnagy, trying to figure out how to get a jruby console
kunday has joined #ruby
<phrearch> when writing tests, should i use seperate tc_class files for each class test?
<bnagy> lenswipe_dev: just use jruby instead of ruby at the cmd prompt
<phrearch> like i have lib/rover.rb and lib/basestation.rb , should i place test files for both in tests/tc_basestation.rb and tests/tc_rover.rb ?
<phrearch> and if so, whats the common way to run all tests in a directory?
<lenswipe_dev> bnagy, it was installed by netbeans - will that make a different?
<lenswipe_dev> 'jruby' is not recognized as an internal or external command,
<lenswipe_dev> operable program or batch file.
<lenswipe_dev> apparently that's a yes
<bnagy> I have no idea, I wouldn't trust netbeans as far as I could spit it though
<lenswipe_dev> T_T
davout has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
joonty has joined #ruby
_Andres has quit [Read error: Connection reset by peer]
LennyLinux has quit [Remote host closed the connection]
dfdf has quit [Remote host closed the connection]
rrecio has joined #ruby
kenmaz has quit [Remote host closed the connection]
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
eka has joined #ruby
_Andres has joined #ruby
richiebkr has quit [Quit: richiebkr]
snearch has joined #ruby
wildcard0 has joined #ruby
<phrearch> anyone know of a common way to run multiple test files from one command?
sevenseacat has quit [Quit: Leaving.]
filipe_ has joined #ruby
rrecio has quit [Ping timeout: 256 seconds]
kunday has quit [Quit: kunday]
<lenswipe_dev> bnagy, heh - the install just died in jruby too
gyre007 has joined #ruby
`MArceLL` has quit [Read error: Connection reset by peer]
<lenswipe_dev> it died in a different way
<lenswipe_dev> although every bit as spectacular
Guest___ has joined #ruby
blaxter_ is now known as blaxter
jimg has quit [Remote host closed the connection]
sross has quit [Read error: Connection reset by peer]
sross has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
<phrearch> what does the ~ in file =~ /_test.rb$/ do ?
vlad_starkov has joined #ruby
chichou has joined #ruby
harrymoreno_ has joined #ruby
cj3kim has quit [Remote host closed the connection]
fbernier has quit [Ping timeout: 252 seconds]
cj3kim has joined #ruby
<hoelzro> phrearch: regex match
<lenswipe_dev> phrearch, was that to me?
<lenswipe_dev> oh
harrymoreno has quit [Ping timeout: 252 seconds]
harrymoreno_ is now known as harrymoreno
<phrearch> hoelzro: aha thanks
sayan has quit [Read error: Connection reset by peer]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
krisfremen has quit [Ping timeout: 252 seconds]
nikeita has joined #ruby
vlad_starkov has joined #ruby
stef_204 has quit [Remote host closed the connection]
Judge has joined #ruby
cj3kim has quit [Ping timeout: 255 seconds]
yashshah has quit [Ping timeout: 264 seconds]
banjara has quit [Client Quit]
fbernier has joined #ruby
flurick has joined #ruby
banjara has joined #ruby
krisfremen has joined #ruby
harrymoreno has quit [Ping timeout: 256 seconds]
harrymoreno has joined #ruby
* lenswipe_dev pokes bnagy with some jruby errors
filipe_ has quit [Read error: Operation timed out]
mansi has joined #ruby
richiebkr has joined #ruby
matthewrobbins has quit [Ping timeout: 248 seconds]
KhalilC has quit [Ping timeout: 264 seconds]
jbpros has quit [Quit: jbpros]
mansi has quit [Ping timeout: 246 seconds]
fixl has joined #ruby
ferdev has quit [Quit: ferdev]
jbpros has joined #ruby
banjara has quit [Quit: Leaving.]
popl has quit [Quit: "People remain what they are even if their faces fall apart."]
banjara has joined #ruby
bradhe has joined #ruby
banjara has quit [Client Quit]
danslo has joined #ruby
banjara has joined #ruby
Zeeraw has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
tonini has quit [Ping timeout: 248 seconds]
bradhe has quit [Ping timeout: 261 seconds]
Zai00 has joined #ruby
banjara has quit [Quit: Leaving.]
<lenswipe_dev> bnagy, I just tried it on 64 bit windows 7 and it fubar'd
<lenswipe_dev> related?
banjara has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Zeeraw has joined #ruby
filipe_ has joined #ruby
Squarepy has joined #ruby
pen has quit [Remote host closed the connection]
razi has joined #ruby
niklasb has joined #ruby
richiebkr has quit [Quit: richiebkr]
cj3kim has joined #ruby
ferdev has joined #ruby
richiebkr has joined #ruby
statarb3 has quit [Quit: Leaving]
yashshah has joined #ruby
sayan has joined #ruby
danslo has quit [Quit: danslo]
cj3kim has quit [Read error: Connection reset by peer]
t_p has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
cads has quit [Ping timeout: 264 seconds]
emergion has joined #ruby
niceguyjames has joined #ruby
Guest___ has quit [Ping timeout: 256 seconds]
kil0byte has quit [Remote host closed the connection]
rdark has quit [Ping timeout: 256 seconds]
fermion has joined #ruby
jds has quit [Ping timeout: 255 seconds]
Zai00_ has joined #ruby
rdark has joined #ruby
statarb3 has joined #ruby
richiebkr has quit [Quit: richiebkr]
guiocavalcanti has joined #ruby
marr has joined #ruby
Zai00 has quit [Ping timeout: 248 seconds]
Zai00_ is now known as Zai00
gr4yscale has quit [Ping timeout: 246 seconds]
Guest___ has joined #ruby
Guest___ has quit [Read error: Connection reset by peer]
nikeita has quit [Ping timeout: 246 seconds]
rrecio has joined #ruby
browndawg has quit [Quit: Leaving.]
browndawg has joined #ruby
kil0byte has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Spami has quit [Quit: This computer has gone to sleep]
nikeita has joined #ruby
rrecio has quit [Ping timeout: 268 seconds]
evelyette has quit [Ping timeout: 248 seconds]
kil0byte has quit [Remote host closed the connection]
ToApolytoXaos has joined #ruby
mklappstuhl has quit [Remote host closed the connection]
rickmasta has joined #ruby
nikeita has quit [Ping timeout: 252 seconds]
Shirakawasuna has quit [Read error: Operation timed out]
lenswipe_dev has quit [Ping timeout: 255 seconds]
pyrac has quit [Quit: pyrac]
nikeita has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
matthewrobbins has joined #ruby
lupine has quit [Read error: Connection reset by peer]
jbpros has quit [Ping timeout: 256 seconds]
nettoweb has joined #ruby
justsee has quit [Ping timeout: 264 seconds]
browndawg has left #ruby [#ruby]
kasper has quit [Remote host closed the connection]
lupine has joined #ruby
atno has quit [Read error: Connection reset by peer]
atno has joined #ruby
browndawg has joined #ruby
<phrearch> hm, how can i make a test pass when an exception is raised?
jds has joined #ruby
mansi has joined #ruby
girija has quit [Ping timeout: 256 seconds]
evelyette has joined #ruby
rickmasta has quit [Quit: Leaving...]
pothibo has joined #ruby
Mon_Ouie has quit [Read error: Operation timed out]
persand has quit [Quit: persand]
<workmad3> phrearch: the code that raises the exception needs to be inside the block you pass to assert_raise
<phrearch> workmad3: ah got it. thanks!
mansi has quit [Ping timeout: 264 seconds]
nari has quit [Ping timeout: 245 seconds]
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
ntus1017 has joined #ruby
b0oh has quit [Quit: Leaving.]
apod has joined #ruby
girija has joined #ruby
kapowaz has joined #ruby
Xeago has quit [Ping timeout: 248 seconds]
Xeago has joined #ruby
Squarepy has quit [Quit: Leaving]
timonv has quit [Remote host closed the connection]
denken has joined #ruby
yxhuvud2 has quit [Ping timeout: 260 seconds]
Xeago has quit [Read error: Connection reset by peer]
Fr4n has left #ruby ["Leaving"]
Xeago has joined #ruby
yxhuvud has joined #ruby
caleon has joined #ruby
tonini has joined #ruby
Iszak has joined #ruby
ntus1017 has quit [Read error: Connection reset by peer]
ntus1017 has joined #ruby
GeissT has quit [Ping timeout: 256 seconds]
harrymoreno has quit [Ping timeout: 255 seconds]
ramblex has joined #ruby
ananthakumaran has joined #ruby
harrymoreno has joined #ruby
Domon has quit [Remote host closed the connection]
niklasb has quit [Ping timeout: 268 seconds]
a_a_g1 has joined #ruby
camilasan has quit [Remote host closed the connection]
r0bgleeson has joined #ruby
banjara has quit [Quit: Leaving.]
kasper has joined #ruby
banjara has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
Squarepy has joined #ruby
Xeago_ has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
a_a_g1 has quit [Client Quit]
a_a_g has quit [Ping timeout: 264 seconds]
Jackneill_ has joined #ruby
Xeago has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
guiocavalcanti has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
zai has quit [Remote host closed the connection]
Jackneill has quit [Ping timeout: 240 seconds]
nari has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
Xeago_ has quit [Ping timeout: 264 seconds]
zai has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
guiocavalcanti has quit [Ping timeout: 264 seconds]
kasper has quit [Ping timeout: 240 seconds]
Jackneill_ has quit [Ping timeout: 248 seconds]
niceguyjames has joined #ruby
camilasan has joined #ruby
Jackneill_ has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
cads has joined #ruby
tonini has joined #ruby
timonv has joined #ruby
camilasan has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
camilasan has joined #ruby
b0oh has joined #ruby
F1skr has joined #ruby
jimg has joined #ruby
buibex has joined #ruby
rrecio has joined #ruby
timonv_ has joined #ruby
mmozuras has quit [Ping timeout: 246 seconds]
timonv has quit [Read error: Connection reset by peer]
camilasan has quit [Ping timeout: 240 seconds]
ffio has joined #ruby
nomenkun has quit [Remote host closed the connection]
nettoweb has quit [Quit: nettoweb]
mmozuras has joined #ruby
b0oh has left #ruby [#ruby]
falood has joined #ruby
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
Jackneill_ has quit [Ping timeout: 248 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
rrecio has quit [Ping timeout: 256 seconds]
persand has joined #ruby
kasper has joined #ruby
emergion has joined #ruby
eka has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
QKO_ has quit [Read error: Operation timed out]
s1n4 has left #ruby ["leaving"]
taion809 has quit [Ping timeout: 252 seconds]
fmcgeough has quit [Quit: fmcgeough]
apod has quit [Quit: apod]
banjara has quit [Quit: Leaving.]
browndawg has left #ruby [#ruby]
banjara has joined #ruby
camilasan has joined #ruby
zai has quit [Ping timeout: 252 seconds]
QKO has joined #ruby
LennyLinux has joined #ruby
jibi has joined #ruby
tacos1de has quit [Ping timeout: 240 seconds]
robustus has quit [Ping timeout: 248 seconds]
tjr_ has joined #ruby
<tjr_> hi
robustus has joined #ruby
buzzybron has quit [Quit: Leaving.]
taion809 has joined #ruby
pyrac has joined #ruby
mnemon has quit [Remote host closed the connection]
<phrearch> hm, '5 5\n1 2 N\nLMLMLMLMM\n3 3 E\nMMRMMRMRRM'.split(/\n/) should give me an array of multiple elements but it doesnt somehow
mansi has joined #ruby
<phrearch> ah, forgot to escape \n
<phrearch> sorry
vlad_starkov has joined #ruby
nezumi has quit [Ping timeout: 264 seconds]
zai has joined #ruby
Jackneill has joined #ruby
Jackneill has joined #ruby
tacos1de has joined #ruby
mansi has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
redgirl has joined #ruby
Xeago has quit [Remote host closed the connection]
eka has quit [Quit: Textual IRC Client: www.textualapp.com]
jimg has quit [Remote host closed the connection]
kenmaz has joined #ruby
gsvolt has quit [Ping timeout: 248 seconds]
<tjr_> just a cuestion. I'm user divmod to know if certian division has a rest or not. If has rest I want to get the result + 1. Ej 10.divmod(8) = [1, 2] so I want to get 2
<tjr_> is there a way to do this in a simple way ¿
gsvolt has joined #ruby
_Renegade has joined #ruby
niceguyjames has quit [Quit: Computer has gone to sleep.]
buzzybron has joined #ruby
<hoelzro> you mean %?
<hoelzro> >> 10 % 8
<eval-in> hoelzro => 2 (https://eval.in/34235)
kenmaz has quit [Ping timeout: 268 seconds]
eka has joined #ruby
nomenkun has joined #ruby
tonini has joined #ruby
poseid has quit [Quit: Leaving.]
buzzybron has quit [Client Quit]
yshh has quit [Remote host closed the connection]
ldnunes has joined #ruby
devoldmx3 has joined #ruby
nomenkun has quit [Ping timeout: 260 seconds]
nikeita has quit [Quit: sleep]
devoldmx has quit [Ping timeout: 268 seconds]
<tjr_> hoelzro: eval-in I mean for example: 8 % 7 = 2 insted of 1
tonini has quit [Ping timeout: 248 seconds]
<tjr_> if the rest != 0 then get the result +1
nikeita has joined #ruby
<nikeita> what is intern?
lucianosousa has joined #ruby
<Mon_Ouie> Another name for #to_sym (it converts to a symbol)
mnemon has joined #ruby
<hoelzro> tjr_: then do that
<hoelzro> also, eval-in is a bot =)
<Mon_Ouie> We should add a personnality to it, so he'd say "No I'm not!" when we do that. It happened twice recently.
<r0bgleeson> Mon_Ouie: symbols were known as 'interns' inside MRI C right?
kofno has joined #ruby
<Mon_Ouie> Not sure the term they use exactly, but the concept of symbols is oten called interned strings
<hoelzro> Mon_Ouie: agreed
ghr has quit [Quit: Textual IRC Client: www.textualapp.com]
<pontiki> tjr_: try (8.0/7.0).ceil
<pontiki> >> (8.0/7.0).ceil
<eval-in> pontiki => 2 (https://eval.in/34238)
Spooner has joined #ruby
danslo has joined #ruby
DaniG2k has quit [Quit: Leaving.]
ebouchut has quit [Ping timeout: 240 seconds]
nomenkun has joined #ruby
yalue has joined #ruby
devoldmx has joined #ruby
devoldmx3 has quit [Read error: Connection reset by peer]
ntus1017 has quit [Remote host closed the connection]
<tjr_> pontiki: thank you
banjara has quit [Quit: Leaving.]
adkron has joined #ruby
banjara has joined #ruby
philcrissman_ has joined #ruby
subbyyy has joined #ruby
osvico has quit [Ping timeout: 256 seconds]
banjara has quit [Client Quit]
banjara has joined #ruby
oceanbreeze has joined #ruby
<tjr_> pontiki: perfect for me :) thanks
devoldmx has quit [Ping timeout: 256 seconds]
angusiguess has joined #ruby
girija has quit [Ping timeout: 240 seconds]
johnmlocklear_ has joined #ruby
ebouchut has joined #ruby
wudofyr___ has quit [Remote host closed the connection]
wudofyr___ has joined #ruby
<Veejay> Hello everyone. I know of a good method to test the validity of URLs (through URI::regexp), but how about domain names / hosts?
<Veejay> The only solution I've found is some trickery involving concat'ing my host with http:// and testing against the URI::regexp
<Veejay> heh
<Veejay> But it feels strange... Any other ideas?
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
KevinSjoberg has joined #ruby
robbyoconnor has quit [Max SendQ exceeded]
robbyoconnor has joined #ruby
chichou has quit [Remote host closed the connection]
poseid has joined #ruby
adkron has quit [Ping timeout: 256 seconds]
ntus1017 has joined #ruby
girija has joined #ruby
subbyyy has quit [Ping timeout: 264 seconds]
rrecio has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
ravster has joined #ruby
ips|malc has joined #ruby
<nyuszika7h> hi, I'd like to log method calls inside my method in the format `method1(arg1: "foo", arg2: 42)`; `method2() => true` - is that possible?
<nyuszika7h> *inside my class
ips|malc has left #ruby [#ruby]
<nyuszika7h> that is, log calls to the class's instance methods
<pontiki> Veejay: are you looking to validate syntax, or existance?
workmad3 has joined #ruby
zalgor has joined #ruby
nikeita has quit [Quit: sleep]
ellipse has joined #ruby
ellipse has quit [Client Quit]
devoldmx has joined #ruby
banjara has quit [Quit: Leaving.]
<r0bgleeson> Mon_Ouie: thanks
Mon_Ouie has quit [Ping timeout: 255 seconds]
banjara has joined #ruby
stonevil has joined #ruby
postmodern has quit [Quit: Leaving]
MrZYX|off is now known as MrZYX
_rrecio has joined #ruby
rrecio has quit [Read error: Connection reset by peer]
mansi has joined #ruby
tatsuya_o has quit [Read error: Connection reset by peer]
tatsuya_o has joined #ruby
sambao21 has joined #ruby
krz has quit [Quit: krz]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
halfie has quit [Read error: Connection reset by peer]
ghr has joined #ruby
mansi has quit [Read error: Operation timed out]
Neomex has joined #ruby
kiela has joined #ruby
Neomex has quit [Client Quit]
sarcilav_ has quit [Ping timeout: 255 seconds]
banjara has quit [Quit: Leaving.]
<Veejay> pontiki: I'm looking to validate that the domain name makes sense
sarcilav_ has joined #ruby
banjara has joined #ruby
<Veejay> I ended up doing something like
<pontiki> Veejay: i will take that as syntax
chichou has joined #ruby
<pontiki> good enough
<Veejay> URI.parse(..) rescue URI::InvalidURIError; something
<Veejay> It works well
<Veejay> Or rather
<Veejay> Well enough
geekbri has joined #ruby
w0rldmaker has joined #ruby
<pontiki> that would have been my suggestion
<pontiki> one caveat with that -- it will fail on hostnames that include an underscore
<Veejay> Really?
batman___ has quit [Ping timeout: 240 seconds]
<Veejay> mmm
<pontiki> the underscore is not part of the standard
<pontiki> and URI is strictly standard
<Veejay> Who uses an underscore for website URLs though
razi has quit [Quit: Leaving.]
<pontiki> apparently a lot of people
<Veejay> It's too "niche" of an audience for me to bother
arya has quit []
<pontiki> no one you or i know though!
arya has joined #ruby
<pontiki> good enough -- just thought you should be aware
<pontiki> if you are interested, the hostname regexp used by URI is at URI::REGEXP::PATTERN::HOSTNAME
nikeita has joined #ruby
<Veejay> Ahhh
<Veejay> nice
gyre007 has quit [Remote host closed the connection]
brbcoding has joined #ruby
<pontiki> and the others are at https://github.com/ruby/ruby/tree/trunk/lib/uri obv.
Squarepy has quit [Quit: Leaving]
kil0byte has joined #ruby
_Andres has joined #ruby
<nyuszika7h> is TracePoint available only since 2.0.0?
<Veejay> >> "foebiss34.fr" =~ /URI::REGEXP::PATTERN::HOSTNAME/
<eval-in> Veejay => nil (https://eval.in/34248)
<Veejay> ruh roh
krawchyk has joined #ruby
pyrac has quit [Quit: pyrac]
Lubinski has joined #ruby
mansi has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kpshek has joined #ruby
<pontiki> it's a string
pranny1 has quit [Quit: Leaving.]
<pontiki> >> "foebiss34.fr" =~ Regexp.new(URI::REGEXP::PATTERN::HOSTNAME)
<eval-in> pontiki => uninitialized constant URI (NameError) ... (https://eval.in/34251)
<pontiki> well ok :)
guiocavalcanti has joined #ruby
<pontiki> >> require 'uri'; "foebiss34.fr" =~ Regexp.new(URI::REGEXP::PATTERN::HOSTNAME)
dhruvasagar has quit [Ping timeout: 252 seconds]
<eval-in> pontiki => 0 (https://eval.in/34252)
<pontiki> (does that work?)
<Veejay> Ah
<Veejay> Sorry
<pontiki> yay!
<Veejay> it does
<Veejay> / and Regexp.new are not equivalent eh
<Veejay> ?
<pontiki> still new to channel
<Veejay> \//
<pontiki> no, Regexp.new takes a string
<Veejay> I see
<pontiki> this might work:
<pontiki> >> require 'uri'; "foebiss34.fr" =~ /#{URI::REGEXP::PATTERN::HOSTNAME}/
<eval-in> pontiki => 0 (https://eval.in/34253)
<Veejay> Word
jimg has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
<pontiki> but if you're going to use it more than once, do the Regexp.new once in the file
pu22l3r has joined #ruby
nari has quit [Ping timeout: 260 seconds]
kil0byte_ has joined #ruby
gyre007 has joined #ruby
kil0byte has quit [Write error: Connection reset by peer]
burlyscudd has joined #ruby
supergiantrobot has quit [Ping timeout: 252 seconds]
<Veejay> Aye, thanks
jimg has quit [Ping timeout: 252 seconds]
sailias has joined #ruby
Squarepy has joined #ruby
jlast has joined #ruby
Spami has joined #ruby
jonahR has quit [Quit: jonahR]
Tarential has quit [Excess Flood]
Tarential has joined #ruby
yshh has joined #ruby
Cyrus has quit [Quit: Cyrus.sleep()]
carloslopes has joined #ruby
v0n has joined #ruby
tvw has quit []
Xeago has joined #ruby
kil0byte_ has quit [Remote host closed the connection]
kristiandelay has joined #ruby
w0rldmaker has quit [Ping timeout: 256 seconds]
axl_ has joined #ruby
khushildep has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby
gildo has joined #ruby
MrZYX is now known as MrZYX|off
DaniG2k has joined #ruby
nari has joined #ruby
yshh has quit [Ping timeout: 240 seconds]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
halfie has joined #ruby
ntus1017 has quit [Remote host closed the connection]
v0n has quit [Quit: WeeChat 0.4.1]
v0n has joined #ruby
tonini has joined #ruby
yo61_ is now known as yo61
breakingthings has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
fomatin has joined #ruby
zai has quit [Ping timeout: 255 seconds]
burlyscudd has quit [Quit: Leaving.]
harrymoreno_ has joined #ruby
devoldmx3 has joined #ruby
camilasan has quit [Remote host closed the connection]
burlyscudd has joined #ruby
DestinyAwaits has joined #ruby
harrymoreno has quit [Ping timeout: 268 seconds]
harrymoreno_ is now known as harrymoreno
LennyLinux has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 264 seconds]
MrZYX|off is now known as MrZYX
banjara has quit [Quit: Leaving.]
DestinyAwaits has quit [Read error: Connection reset by peer]
Layke has quit [Read error: Operation timed out]
fomatin has quit [Quit: Computer has gone to sleep.]
lolmaus has quit []
banjara has joined #ruby
aspiers_ is now known as aspiers
LennyLinux has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
Layke has joined #ruby
DestinyAwaits has joined #ruby
blaxter has quit [Ping timeout: 264 seconds]
cofin has joined #ruby
fuzzyhorns has joined #ruby
tommyvyo has joined #ruby
KevinSjoberg has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
timonv_ has quit [Read error: Connection reset by peer]
timonv has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
splittingred has joined #ruby
iamjarvo has joined #ruby
tommyvyo has quit [Client Quit]
KevinSjoberg has joined #ruby
DestinyAwaits has quit [Quit: Leaving]
DestinyAwaits has joined #ruby
Lubinski has quit [Ping timeout: 264 seconds]
DonRichie has quit [Read error: Connection reset by peer]
nikeita has quit [Quit: sleep]
DonRichie has joined #ruby
DestinyAwaits has quit [Client Quit]
iamjarvo_ has joined #ruby
<pothibo> any reason why (20..1).to_a fails?
baordog has joined #ruby
harrymoreno_ has joined #ruby
<pothibo> 1.9.3 that is
DestinyAwaits has joined #ruby
camilasan has joined #ruby
harrymoreno has quit [Ping timeout: 264 seconds]
harrymoreno_ is now known as harrymoreno
Heero has joined #ruby
iamjarvo has quit [Read error: Connection reset by peer]
Heero has quit [Changing host]
Heero has joined #ruby
iamjarvo_ is now known as iamjarvo
tommyvyo has joined #ruby
banghouse has joined #ruby
cj3kim has joined #ruby
banghouse is now known as Guest42478
statarb3 has quit [Quit: Leaving]
<apeiros> pothibo: because Ranges use .succ to create the array
Guest42478 is now known as banghouse
pixelgremlins has joined #ruby
pixelgremlins has left #ruby [#ruby]
pixelgremlins has joined #ruby
freeayu has quit [Remote host closed the connection]
ebouchut has quit [Quit: Quitte]
cj3kim has quit [Ping timeout: 255 seconds]
Beoran_ has joined #ruby
<pothibo> I see, it's a bug nonetheless
<pothibo> imo
<apeiros> it's not a bug
mmitchell has joined #ruby
Beoran has quit [Ping timeout: 264 seconds]
viszu has joined #ruby
wmoxam has joined #ruby
<apeiros> a missing feature maybe. but definitively not a bug.
harrymoreno_ has joined #ruby
Heero has quit [Quit: Leaving]
banjara has quit [Quit: Leaving.]
pyrac has joined #ruby
banjara has joined #ruby
oceanbreeze has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
fredjean has quit [Quit: Computer has gone to sleep.]
sevenseacat has joined #ruby
harrymoreno has quit [Ping timeout: 268 seconds]
harrymoreno_ is now known as harrymoreno
banjara has quit [Client Quit]
codecop has quit [Quit: Išeinu]
banjara has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
caleon has quit [Ping timeout: 240 seconds]
jibi has quit [Ping timeout: 264 seconds]
wmoxam_ has joined #ruby
failshell has joined #ruby
jibi has joined #ruby
artemeff has quit [Remote host closed the connection]
banjara has quit [Client Quit]
banjara has joined #ruby
_rrecio has quit [Remote host closed the connection]
girija has quit [Ping timeout: 246 seconds]
banjara has quit [Client Quit]
banjara has joined #ruby
adkron has joined #ruby
harrymoreno has quit [Ping timeout: 264 seconds]
juarlex has quit [Remote host closed the connection]
Mattx has joined #ruby
richiebkr has joined #ruby
<pothibo> apeiros: yeah
emergion has quit [Quit: Computer has gone to sleep.]
harrymoreno has joined #ruby
kpshek has quit []
Matip has quit [Ping timeout: 246 seconds]
cmarques has joined #ruby
lkba has joined #ruby
pootler__ has quit [Ping timeout: 248 seconds]
viktorq has joined #ruby
w0rldmaker has joined #ruby
wmoxam_ has quit [Quit: Lost terminal]
jibi has quit [Quit: .]
freerobby has joined #ruby
interactionjaxsn has joined #ruby
viktorq is now known as c3l
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
pootler__ has joined #ruby
niklasb has joined #ruby
bean has joined #ruby
harrymoreno has quit [Ping timeout: 259 seconds]
banjara has quit [Client Quit]
banjara has joined #ruby
snearch has quit [Quit: Verlassend]
wallerdev has quit [Quit: wallerdev]
harrymoreno has joined #ruby
ffranz has joined #ruby
supergiantrobot_ has joined #ruby
yalue has quit [Read error: Connection reset by peer]
yalue has joined #ruby
richiebkr has quit [Quit: richiebkr]
adkron has quit [Remote host closed the connection]
acrussell has joined #ruby
acrussell has left #ruby [#ruby]
jtharris has joined #ruby
cj3kim has joined #ruby
KevinSjoberg has quit [Quit: Textual IRC Client: www.textualapp.com]
akells` has joined #ruby
adambeynon has joined #ruby
tonini has quit [Ping timeout: 248 seconds]
yekta has joined #ruby
huoxito has joined #ruby
ChristianS has quit [Excess Flood]
ChristianS has joined #ruby
ner0x has joined #ruby
pipework has joined #ruby
cj3kim has quit [Ping timeout: 255 seconds]
banjara has quit [Quit: Leaving.]
wudofyr___ has quit [Remote host closed the connection]
wudofyr___ has joined #ruby
banjara has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
Zai00 has quit [Quit: Zai00]
yshh has joined #ruby
tjbiddle has joined #ruby
kobain has joined #ruby
kpshek has joined #ruby
w0rldmaker has quit [Ping timeout: 264 seconds]
railsbros_dirk has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
rrecio has joined #ruby
vlad_starkov has joined #ruby
nikeita has joined #ruby
devoldmx3 has quit [Ping timeout: 255 seconds]
himsin has quit [Quit: himsin]
sambao21 has joined #ruby
<Xeago> sudo can't find my ruby path
filipe_ has quit [Ping timeout: 246 seconds]
<Xeago> its environment gets cleared
<Xeago> which file is there to edit?
<rrecio> Xeago: /etc/profile maybe
wargasm has joined #ruby
<Xeago> Defaults env_reset and Defaults secure_path=path
<Xeago> in /etc/sudoers
axl_ has quit [Quit: axl_]
hogeo has quit [Remote host closed the connection]
yalue has quit [Read error: Connection reset by peer]
Dummies_freelanc has joined #ruby
Dummies_freelanc has quit [Max SendQ exceeded]
vlad_starkov has quit [Ping timeout: 260 seconds]
yalue has joined #ruby
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
axl_ has joined #ruby
kpshek has quit []
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
w0rldmaker has joined #ruby
generalissimo has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
richiebkr has joined #ruby
ChristianS has quit [Excess Flood]
mikecmpbll has joined #ruby
ChristianS has joined #ruby
redgirl has quit [Quit: This computer has gone to sleep]
statarb3 has joined #ruby
statarb3 has joined #ruby
jerius has joined #ruby
<yim> anyone here use dreamweaver for coding?
filipe_ has joined #ruby
Maniacal has joined #ruby
dagobah has quit [Read error: No route to host]
wallerdev has joined #ruby
<danslo> yim: yuck
angusigu1ss has joined #ruby
fschuindt has joined #ruby
dagobah has joined #ruby
falkoner has joined #ruby
apod has joined #ruby
falkoner has left #ruby [#ruby]
dmiller has joined #ruby
ttt_ has quit [Remote host closed the connection]
<ericwood> exclusively
<rrecio> yim: don't do it to yourself. please use notepad
<ericwood> it makes adding animated gifs to my geocities really easy!!
pootler__ has quit [Ping timeout: 260 seconds]
<ericwood> A+++ would program again
<rrecio> i prefer vim :D
burlyscudd has quit [Quit: Leaving.]
pootler_ has quit [Ping timeout: 246 seconds]
<ericwood> my old homepages back in the day proudly boasted that "made with notepad" banner >.<
<ericwood> good timmmmessss
jds has quit [Ping timeout: 268 seconds]
angusiguess has quit [Ping timeout: 264 seconds]
cmarques has quit [Ping timeout: 255 seconds]
richiebkr has quit [Quit: richiebkr]
jds has joined #ruby
richiebkr has joined #ruby
pskosinski has joined #ruby
<rrecio> yim: seriously... if you use a mac, try Coda. If you use Linux, try Gedit. If you use windows... well, move to mac or linux! windows sucks
<yim> I already have coda :)
<yim> but it seems as everyone around me uses dreamweaver
tbrock has joined #ruby
<ericwood> lol
<sevenseacat> sublime text 2~!
<ericwood> you need to surround yourself with different people, yim
tagrudev has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
jds has quit [Ping timeout: 248 seconds]
banjara has joined #ruby
_Renegade_ has joined #ruby
<joshu> anyone read this book http://www.designinghypermediaapis.com and can recommend it?
johnnyfuchs has joined #ruby
jds has joined #ruby
timkohrumel has joined #ruby
Mon_Ouie has quit [Read error: Connection reset by peer]
<Hanmac> i choice the Editor depnding on the project size, for smaller projects i use gedit, for bigger ones i use eclipse
<ericwood> there's a lot of hype over hypermedia APIs that really got on my nerves
_Renegade has quit [Ping timeout: 240 seconds]
_Renegade_ is now known as _Renegade
<ericwood> it seemed like overcomplication of what would be simple concepts, so I got fed up and left
ananthakumaran has quit [Read error: No route to host]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
mansi has joined #ruby
cmarques has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
RORgasm_ has joined #ruby
ananthakumaran has joined #ruby
juarlex has joined #ruby
w0rldmaker has quit [Ping timeout: 268 seconds]
devoldmx has joined #ruby
filipe_ has quit [Ping timeout: 240 seconds]
jds has quit [Ping timeout: 252 seconds]
timkohrumel has quit [Ping timeout: 264 seconds]
io_syl has quit [Quit: Computer has gone to sleep.]
<workmad3> ericwood: HATEOAS FTW!!!!
Davey has joined #ruby
<ericwood> is that a word?
<workmad3> ericwood: hypermedia as the engine of application state
* ericwood cringes
<workmad3> :D
Zai00 has joined #ruby
<ericwood> I hate complicated terms/definitions for simple concepts
timkohrumel has joined #ruby
<ericwood> and people sitting around nitpicking about what those terms/definitions really mean when nobody really cares
banjara has quit [Quit: Leaving.]
<workmad3> ericwood: it's a wonderful concept... all of your API responses return hypermedia formats that contain links to the next valid states in your application!
banjara has joined #ruby
_br__ has joined #ruby
<ericwood> I know what those words mean, but not in that order :P
<workmad3> ericwood: what? you mean you don't want a lovely religious debate about whether WEBDAV is REST or not? :)
<tommylommykins> does anyone know much about ruby's tail recursion?
<workmad3> ericwood: btw, I know exactly what you mean... I can sit around and nitpick about all this stuff, and sometimes it's useful to really pin down the meaning of something
dhruvasagar has joined #ruby
<tommylommykins> having enabled it, it doesn't seem to occur in places where I might expect it to
banjara has quit [Client Quit]
<yim> man
banjara has joined #ruby
<yim> dreamweaver is so nice
<yim> especially the new one
<pipework> Haha.
<ericwood> workmad3: I won't debate that, I just hate complicated things sometimes :P
<pipework> yim: Oh man, that's a good one.
moos3 has joined #ruby
<workmad3> ericwood: but end of the day, my *actual* viewpoint is much more pragmatic and along the lines of 'yeah, this stuff is useful at times, but don't just shove it in because it's 'right', give it some thought :)
Judge has quit [Remote host closed the connection]
<yim> pipework:
<ericwood> that reflects my views on TDD
<pipework> tommylommykins: I don't believe that ruby has tail call optimization.
<yim> pipework: you should really check it out
<tommylommykins> pipework: it does :)
<pipework> Which isn't 1:1 with tail recursion.
<ericwood> yim: we won't
<yim> ericwood: lol
<ericwood> I'm serious
Mon_Ouie has joined #ruby
<tommylommykins> it just doesn't seem to do TCO in all places where I think it colud
<ericwood> everyone here is forbidden from using dreamweaver
<yim> ericwood: lol I know
<workmad3> ericwood: awww :(
<ericwood> sorry
<ericwood> I don't make the rules
<workmad3> ericwood: yim was making some convincing arguments!
<ericwood> lol
<pipework> tommylommykins: I'm not sure.
<yim> dreamweaver has a built in sftp!
<workmad3> ericwood: which was making me forget that even my *mother* was cursing dreamweaver just last week
<pipework> tommylommykins: Ruby itself doesn't perform it, but it doesn't not either.
banjara has quit [Client Quit]
<ericwood> pipework: now it's crystal clear :P
banjara has joined #ruby
<workmad3> yim: if you're still deploying your sites over FTP (even SFTP) you're Doing It Wrong(tm)
<pipework> ericwood: Which is crystal clear?
<yim> workmad3: that is the only way I know lol
<pipework> yim: I'd say then those are more like beginner level tools.
<yim> pipework: I am quite a beginner
<workmad3> ericwood: pipework is referring to the fact that (unlike python) ruby implementations are not prohibited from implementing TCO if they so desire
bobbyz has quit [Ping timeout: 246 seconds]
<pipework> Pros just ssh pipe a patch file and patch the application live.
<ericwood> workmad3: ah okay
<yim> I tried using sublime
<tommylommykins> pipework: ruby really has TCO ;)
<workmad3> it's possible that MRI has a compile option to enable some TCO, but iirc it's not on by default which probably means it's still experimental
<ericwood> pipework: I use NC to manually speak FTP
<tommylommykins> honestly, it does
<yim> all it is is a text editor
<pipework> tommylommykins: Show me. :)
<yim> then coda
<yim> which seem restricted
<yim> textmate is quite nice
<ericwood> Vim
tkuchiki has quit [Remote host closed the connection]
<pipework> yim: It's a WYSIWYG editor.
<ericwood> VimVimVimVim
<pipework> I'm a vim guy.
timkohrumel has quit [Remote host closed the connection]
* workmad3 feels at home
<yim> I never got around using vim
<pipework> workmad3: And inside ruby, you may be able to implement it as well.
<yim> quite intimidating for a noob
<pipework> yim: Don't worry, enjoy the tools you like, but you'll have a lot more fun with better tools later.
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
<Mon_Ouie> I'm sure it wasn't on by default back in 1.9. Is it now in 2.0?
<ericwood> yim: I recommend SublimeText2
burlyscudd has joined #ruby
<ericwood> if you're not into Vim
<tommylommykins> note one of the options is tailcall optimization
<yim> ericwood: yeah, I already have that
<hoelzro> Vim's great, but I think learning it along with something else could be a bad idea
<yim> ericwood: is there a certain theme you use?
<ericwood> I use Vim
<tommylommykins> and looking at stack traces, it does work
<tommylommykins> but apparantly not everywhere
<workmad3> ericwood: what vim theme do you use? :)
<ericwood> TomorrowNightEighties is my current colorscheme, though
<pipework> tommylommykins: And is that the default?
<ericwood> with powerline and a bunch of other stuff...I can link to my .vimrc if y'all really want me to :P
<tommylommykins> pipework: no. I have enabled it for myself
<workmad3> ericwood: heh, I'm good
<Mon_Ouie> >> RubyVM.compile_option[:tailcall_optimization]
<eval-in> Mon_Ouie => undefined method `compile_option' for RubyVM:Class (NoMethodError) ... (https://eval.in/34259)
w0rldmaker has joined #ruby
<workmad3> ericwood: I'm vimified these days :)
<pipework> tommylommykins: Ah, so it supports it but it doesn't use it unless told to.
<yim> everyone here is such a power user
<Mon_Ouie> Oh, wrong class
<pipework> That's acceptable, but lame.
<yim> I am getting intimidated
<ericwood> we are all rockstar programmers
<ericwood> *guitar solo*
vlad_starkov has joined #ruby
<pipework> yim: No worries, we'll try to be nice. :D
<workmad3> >> puts RUBY_VERSION
<eval-in> workmad3 => 2.0.0 ... (https://eval.in/34260)
<pipework> workmad3: Lame.
denver has joined #ruby
<workmad3> pipework: for what? using vimified?
philcrissman_ has quit [Remote host closed the connection]
<pipework> workmad3: What, no.
<pipework> I was trying to outhipster you.
<workmad3> pipework: meh
<pipework> You win because you out-apatheticated me. :(
<workmad3> do people still care if you're hipster or not?
theRoUS has quit [Quit: Leaving]
<ericwood> yes
<ericwood> it means the world to me
<pipework> Ask the trees.
<workmad3> pipework: the trees suck
theRoUS has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
<workmad3> pipework: they're real assholes
<pipework> workmad3: You didn't even take the time to realize the zen in that. :(
<workmad3> pipework: they keep on telling me to not burn things
<yim> So what is a good setup for mac
<workmad3> yim: ubuntu </troll>
<yim> Sublime text 2 + transmit + terminal
<yim> lol
<pipework> yim: My condolences.
<pipework> tmux, vim, git, at least.
<pipework> For me, that is. :(
<ericwood> iTerm2 + MacVim + Chrome
filipe_ has joined #ruby
<yim> yeah
<yim> people keep saying git
<ericwood> that's pretty much all I use to do my job
* tommylommykins wonders if anyone else uses Netbeans for Ruby? :D
bobbyz has joined #ruby
<ericwood> oh and git
<yim> but i don't know what that is
<yim> nor how to use it
<workmad3> iTerm2 + vim + chrome + git + oh-my-zsh
<workmad3> yim: it's source control
guiocavalcanti has quit [Remote host closed the connection]
* tommylommykins wonders if he gets to be the most hipster if he's the only one who uses netbeans :D
<ericwood> tommylommykins: one of our senior devs did for a long time...he's an amazing dev, too, it was so confusing
<workmad3> yim: do you at least know how to use source control?
<yim> what makes iterm2 different than the oem terminal on osx?
<workmad3> tommylommykins: nope... netbeans is java
LennyLinux has quit [Remote host closed the connection]
<yim> no
<yim> I don't know any of that bro
<workmad3> tommylommykins: java == not hipster
guiocavalcanti has joined #ruby
<hoelzro> yim: iterm2 is far superior to Terminal.app
<ericwood> yim: it doesn't suck, lots of really nice features
<tommylommykins> D:
threesome has quit [Ping timeout: 246 seconds]
<ericwood> it's configurable out the ass
<yim> interesting
Zeeraw has quit [Quit: Computer has gone to sleep.]
<workmad3> plus the keyboard commands to switch terminal windows are non-sucky :)
<ericwood> yep
<ericwood> and you can put tabs at the bottom!!!
<ericwood> also, the hotkey window!
<yim> for a noob like me
<yim> don't know if that would be beneficial
<ericwood> yim: just do whatever you want
<yim> at least for now
<ericwood> you'll want some of its features later one
<ericwood> *on
<workmad3> the only reason I've never gotten around to seriously using tmux is because I use iTerm2
<yim> I think I might just end up coding coda for now
jprovazn has quit [Quit: Leaving]
<ericwood> workmad3: if you're not working remotely, tmux gets in the way; especially when iterm2 does splits natively...
banjara has quit [Quit: Leaving.]
ctooley has joined #ruby
<yim> dreamweaver is a little bit too clunky
<ericwood> so I only use tmux for remote work
<ericwood> screen sux, tmux 4 lyfe
Lubinski has joined #ruby
zigomir has quit [Quit: zigomir]
banjara has joined #ruby
<workmad3> ericwood: I turn on ssh connection sharing and just use multiple windows
<ericwood> oh interesting
<ctooley> How do I inject a path in front of the ruby version of the class path so I can test out a development version of code without overriding the installed version of code.
<hoelzro> (connection sharing)++
<workmad3> ericwood: with zsh able to tab-complete my ssh config short-names
<hoelzro> I still prefer tmux on remote machines, though
DrShoggoth has quit [Quit: Leaving]
<ctooley> I unfortunately only have one server I can test this code on
banjara has quit [Client Quit]
<ericwood> workmad3: yeah, I love zsh
<pipework> I like having a client and remote tmux. I just go one deeper whenever I need.
dhruvasagar has quit [Read error: Operation timed out]
<ericwood> workmad3: I have the coolest zsh setup for vim mode
<pipework> Using mosh makes it not so bad.
banjara has joined #ruby
<pipework> ericwood: Oh that's cool!
<ericwood> workmad3: it's out of date, I've modified my vim setup since then, but my zsh setup is the same
kevinykchan has joined #ruby
<ericwood> so yeah my zsh is awesome and I'm really humble about it :P
<workmad3> yim: if you have no experience of version control, I'd use this: http://pragprog.com/book/tsgit/pragmatic-version-control-using-git
nezumi has joined #ruby
<pipework> I have too much cruft from when I dropped things in without evaluating and working into my configs.
<workmad3> s/use/get
nikeita has quit [Quit: sleep]
<ericwood> I spent waaaay too long tweaking my configs
<ericwood> it's an issue
carloslopes has quit [Remote host closed the connection]
rickmasta has joined #ruby
<pipework> workmad3: ruby 2.1.0dev (2013-06-20) [x86_64-darwin12.4.0]
<pipework> Compiled today bruv.
<tjbiddle> Hey guys - Trying to find where http://www.ruby-doc.org/stdlib-2.0/libdoc/xmlrpc/rdoc/XMLRPC/Client.html#method-i-call is located on my machine (xmlrpc/client.rb) - Using RVM.
guiocavalcanti has quit [Ping timeout: 264 seconds]
blaxter_ has joined #ruby
<workmad3> ericwood: oh yeah, alfred
blaxter_ is now known as blaxter
<workmad3> ericwood: that's pretty important on mac, IMO :)
<ericwood> workmad3: I just updated to alfred2.0 so I have to redo all of my custom plugins :\
boblu has quit [Read error: Operation timed out]
<pipework> I use alfred for sure.
<tjbiddle> Actually - grep just finished. May have it, but if anyone else knows just in case I'm going down the wrong path feel free to chime in :-)
<workmad3> yim: btw, don't pay too much attention to us all comparing our various geek creds :)
<ericwood> I need to start taking advantage of some of the more advanced features
burlyscudd has quit [Quit: Leaving.]
<Mon_Ouie> tommylommykins: Can you show examples where it doesn't perform TCO?
<pipework> I also use Dash.
<workmad3> tjbiddle: find ~/.rvm -name client.rb
<ericwood> tjbiddle: do "which ruby" and check out the rdoc directory on the path it points to
<ericwood> or that
<workmad3> tjbiddle: or maybe xmlrpc/client.rb (not sure if the -name command can take directory names like that)
Maniacal has quit [Remote host closed the connection]
<tommylommykins> Mon_Ouie: sure, I'll see if I can cook up an example
<Mon_Ouie> I also wonder why it's off by default (maybe because of the loss of debugging informations?)
jesly1 has joined #ruby
andikr has quit [Remote host closed the connection]
<workmad3> ericwood: I'm not enough of an alfred poweruser to have custom plugins
<ericwood> me either
<tjbiddle> ericwood: workmad3 - Thanks for confirming :-) - Was in ~/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/xmlrpc/client.rb (Assuming I'm editing the right one).
<ericwood> I cannot live without the clipboard history, though
miskander has joined #ruby
<pipework> ericwood: With what?
<ericwood> alfred
<ericwood> it's a powerpack feature, and it's the greatest thing in the world
<ericwood> especially the snippets
<pipework> Oh powerpack.
<ericwood> (╯°□°)╯︵ ┻━┻
<ericwood> worth every penny, but I bought it a long time ago when it was cheaper
alex__c2022 has joined #ruby
banjara has quit [Quit: Leaving.]
<yim> workmad3: of course, I started ignoring everything once vim was mentioned :)
falkoner has joined #ruby
<tommylommykins> hmm, suddenly there's no TCO :s
banjara has joined #ruby
jds has joined #ruby
falkoner has left #ruby [#ruby]
Lubinski has quit [Quit: Leaving]
ctooley has quit [Ping timeout: 248 seconds]
nezumi has quit [Read error: Operation timed out]
Haoc has joined #ruby
Lubinski has joined #ruby
ner0x has quit [Ping timeout: 264 seconds]
<workmad3> yim: grab that prag bookshelf book though... it's a great intro to version control for beginners
cofin has quit [Quit: cofin]
<workmad3> yim: and you *need* version control... it's one of the few absolutes in development, IMO
timkohrumel has joined #ruby
<workmad3> it doesn't have to be distributed... but if you can't roll back your work to an older version safely, you're crippling yourself
Lubinski has quit [Client Quit]
banjara has quit [Client Quit]
<pipework> tommylommykins: Thanks for pointing out the config though, that's nifty.
banjara has joined #ruby
banjara has quit [Client Quit]
<yim> workmad3: understood
banjara has joined #ruby
<yim> workmad3: btw, I am not trying to become a full blown programmer but just want to know the concept of it
<yim> workmad3: my focus is on advertising but we do work with plenty of analytical tools that I would like to comprehend
<workmad3> yim: version control is useful even outside programming
`MArceLL` has joined #ruby
<tommylommykins> Mon_Ouie: This seems to be the smallest example I can concoct
wsterling has joined #ruby
<tommylommykins> I would expect TCO to occur on that
<workmad3> yim: you probably do some form of version control already, such as making a copy of a file, then making a couple of changes that you aren't sure of
taion809 has quit []
<tommylommykins> TCO does occur if foo is defined as "def foo; foo end"
<ericwood> I can't live without version control
<ericwood> I'd literally die without it
<workmad3> ericwood: wow, does each beat of your heart get commited to a git repo in your brainstem?
<ericwood> yes
<workmad3> ericwood: and removing version control would mean your brainstem vanishes and you die?
<ericwood> basically
<workmad3> cool
<ericwood> not the best setup, really
* workmad3 tries to delete the central git repo
<workmad3> drats, it's in version control :(
<pixelgremlins> can someone help me w/ a regular expression? I need to pull New Price: $128.98 out of a doc, remove the New Price: $, and put 128.98 into newprice as a float
<ericwood> I'm like voldemort, my soul lives in various git repos around the world
momomomomo has joined #ruby
_Renegade has quit [Quit: _Renegade]
DrShoggoth has joined #ruby
<ericwood> >> '$128.98'.match(/\$\d+(:?\.\d+)?/)
<eval-in> ericwood => #<MatchData "$128.98" 1:".98"> (https://eval.in/34261)
kadoo has joined #ruby
camilasan has quit [Remote host closed the connection]
<tommylommykins> hmm, as a guess, maybe the TCO only happens if the final call is literally on the last line?
<ericwood> >> '$128.98'.match(/\$(\d+(:?\.\d+)?)/)
<eval-in> ericwood => #<MatchData "$128.98" 1:"128.98" 2:".98"> (https://eval.in/34262)
kadoo has quit [Max SendQ exceeded]
Lubinski has joined #ruby
<ericwood> wtf it didn't respect my non-capturing group
<ericwood> jerk
<workmad3> tommylommykins: that's typically what tail-call optimisation does
camilasan has joined #ruby
<ericwood> >> '$128.98'.match(/\$(\d+(:?\.\d+)?)/).to_a
<eval-in> ericwood => ["$128.98", "128.98", ".98"] (https://eval.in/34263)
banjara has quit [Quit: Leaving.]
fredjean has joined #ruby
poga has quit [Remote host closed the connection]
kadoo has joined #ruby
<ericwood> hopefully that helps...
banjara has joined #ruby
kadoo has quit [Max SendQ exceeded]
kasper has quit [Ping timeout: 261 seconds]
sevenseacat has quit [Quit: lol windows]
<pixelgremlins> well, see the thing is - - the 128.98 is unknown.. ie it will be different depending on what the page loads the constant is: New Price: $
kadoo has joined #ruby
thesubroot has joined #ruby
<pixelgremlins> that was just an example
cofin has joined #ruby
<ericwood> moar examples plz
_maes_ has joined #ruby
Lubinski_ has joined #ruby
<pixelgremlins> html = "Title: The Essential Guide to Primary Care Procedures<br>Author(s): Mayeaux, E.J.<br>I
<pixelgremlins> SBN: 9780781773904<br>List Price: $134.99<br>New Availability: Usually Ships in 3-5 Busine
<pixelgremlins> ss Days<br>New Price: $128.98<br>"
<thesubroot> I'm making a script where it should evaluate some lines then wait for the user to type some keys, get the that value and then proceed the rest of the script. How to do that?
Lubinski_ has quit [Client Quit]
Nisstyre has quit [Quit: Leaving]
<pixelgremlins> That's what the api gives me, I need to grab the new price
tomzx_mac has joined #ruby
miskander has quit [Quit: miskander]
generalissimo has quit [Remote host closed the connection]
<ericwood> my regex will grab any and all prices
kadoo has quit [Client Quit]
jasonsmr has joined #ruby
<Mon_Ouie> tommylommykins: Thanks. That is odd, because this code does work: http://pastie.org/8063337
<jasonsmr> hello ruby channel.
fmcgeough has joined #ruby
Lubinski has quit [Disconnected by services]
Lubinski_ has joined #ruby
<Mon_Ouie> But if you replace the call to bar with a call to foo, it doesn't do it anymore
<pixelgremlins> here's another good example : http://www.biggerbooks.com/botprice?isbn=9780131367739
Lubinski_ is now known as Lubinski
<jasonsmr> Question , how can I change a configuration file for a ruby application? 1.) Easly 2.) Repetivly
<tommylommykins> thesubroot: the simplest code is something along the lines of "loop {process gets}", where process is some function that you defined yourself
binaryplease has joined #ruby
<ericwood> jasonsmr: what kind of config file?
<ericwood> we need moar infos plz
<pixelgremlins> ^^ that is the api -- there's a New Price, Used Price, and Ebook Price .. -- I need to search for the New Price line, and grab the price after New PRice put that in newprice variable, THEN do the same for used price: into a usedprice variable, and ebook price
<pipework> ericwood: Oh it's awesome to see you use pianobar too!
<jasonsmr> Heres my config file for my ruby program >> http://sprunge.us/DiAM
<pipework> I've even used it with mpd and jack to do some cool stuff.
<ericwood> pipework: fuck yeah I do
<ericwood> <3
m8 has joined #ruby
<ericwood> pipework: I have a script that does growl notifications every time the track changes
<tommylommykins> Mon_Ouie: ooh, it prints all the numbers
<jasonsmr> What Im looking to change is the default part of the configuration , I want multiple accounts for instance working with the AWS AMI
banjara has quit [Quit: Leaving.]
<ericwood> it's broken, though, it completely barfs on unicode :P
<pipework> ericwood: Nifty. I'm more about the cli and a less growly notification.
niklasb has quit [Ping timeout: 260 seconds]
richiebkr has quit [Quit: richiebkr]
<pipework> I also just bought Oyster.
<ericwood> what's that?
banjara has joined #ruby
momomomomo has quit [Quit: momomomomo]
<ericwood> pipework: another thing I recommend: running pianobar in iterm2's hotkey window
jesly1 has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Ping timeout: 258 seconds]
<ericwood> so you can get to it easily from anywhere
<ericwood> pipework: pffft I have rubular! :P
geggam has joined #ruby
<pipework> ericwood: Ah, I usually stick it in vim as window 1, pane 1.
<pipework> s/vim/tmux/ sorry
angusigu1ss has quit [Ping timeout: 264 seconds]
<ericwood> lol I was about to ask if you used conqueterm :P
<pipework> ericwood: It's a polyglot tool though.
<pipework> I like using xterm, but iterm2 on mac.
<ericwood> btw you can run vim inside of vim using conqueterm
<ericwood> and you can run vim inside of that vim
<pipework> I once spent a while using vim inside emacs.
* tommylommykins will have to brush up on his C and see if he can make sense of the ruby source code that implements TCO
<pipework> That was pretty crazy.
<thesubroot> tommylommykins: I didn't get what you mean. My script is in two parts:
yekta has quit [Quit: yekta]
<thesubroot> evaluate the 1st part
carloslopes has joined #ruby
<thesubroot> then wait for keystroke
<thesubroot> get it
<thesubroot> and then evaluate the 2nd part
bigoldrock has joined #ruby
<thesubroot> tommylommykins: how to do it?
burlyscudd has joined #ruby
<tommylommykins> thesubroot: that's up to you, but the general pattern will be more or less what I gave you. You just have to fill in the blanks
robscomputer has joined #ruby
girija has joined #ruby
<tommylommykins> (I know there's a lot of blanks :s)
LennyLinux has joined #ruby
poseid has quit [Quit: Leaving.]
baroquebobcat has joined #ruby
banjara has quit [Quit: Leaving.]
kpshek has joined #ruby
<Mon_Ouie> It's weird: the two functions have the same bytecode, except for the name of the methods being called and the tailcall flag being omitted. http://pastie.org/8063393
cmarques has quit [Ping timeout: 248 seconds]
<Mon_Ouie> or rather methods*
banjara has joined #ruby
bigoldrock has quit [Ping timeout: 268 seconds]
ntus1017 has joined #ruby
ctooley has joined #ruby
jesly has joined #ruby
<ctooley> ugh, didn't know I'd been disconnected.
Neener54 has joined #ruby
cj3kim has joined #ruby
<ctooley> I've got a rubygem installed and I have a new copy of the software which I'd like to test out on the same machine. How do I get ruby to use a path to the local directory structure instead of finding it in gems?
ckrailo has joined #ruby
persand has quit [Quit: persand]
cj3kim has quit [Read error: Connection reset by peer]
rickmasta has quit [Quit: Leaving...]
pootler_ has joined #ruby
sayan has quit [Read error: Connection reset by peer]
pootler__ has joined #ruby
devoldmx has quit [Ping timeout: 252 seconds]
carloslopes has quit [Remote host closed the connection]
jesly has quit [Client Quit]
banjara has quit [Quit: Leaving.]
banjara has joined #ruby
ferdev has quit [Ping timeout: 252 seconds]
ferdev has joined #ruby
ttt has joined #ruby
ybart has quit [Quit: ybart]
allanm__ has quit [Read error: Connection reset by peer]
banjara has quit [Client Quit]
banjara has joined #ruby
railsbros_dirk has quit [Ping timeout: 264 seconds]
banjara has quit [Client Quit]
ybart has joined #ruby
banjara has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
<jasonsmr> With info reguarding the ruby program fog.. is there a simple method of changing the configuration file of these ruby programs to include a diffrent configuration for diffrent needs?
fixl has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ttt has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
<jasonsmr> Rather, I would like to develop a method for starting the ruby program fog* & with starting it pass a newly created configuration file to it.
aganov has quit [Quit: aganov]
<jasonsmr> Method of newly created configuration file a user prompt...
<jasonsmr> How do I do this?
pyrac has quit [Quit: pyrac]
<ctooley> jasonsmr, are you talking about fog the cloud library set for ruby?
ybart has quit [Client Quit]
<jasonsmr> yes sir
<ctooley> That's a library set, not a program.
<ericwood> gem install cloud
vlad_starkov has joined #ruby
<jasonsmr> I have multiple AWS accounts, and I was thinking that there has to be a better way to sitch between them than rewriting the fog config
Criztian has quit [Remote host closed the connection]
Solnse has joined #ruby
<ctooley> jasonsmr, you can override the credentials when you instantiate the object creating multiple objects to talk to your multiple AWS accounts.
binaryplease has quit [Ping timeout: 268 seconds]
bradhe has joined #ruby
<fredjean> jasonsmr: I believe that fog can be configured via environment variables.
<fredjean> Or at least, environment variables can be used to configure fog.
burlyscudd has quit [Quit: Leaving.]
fomatin has joined #ruby
richiebkr has joined #ruby
<jasonsmr> well heres my existing fog config it works with only one account >> http://sprunge.us/DiAM the accounts are changed now of course
<fredjean> I normally set AWS_ACCESS_KEY_ID to the access key, and reach out to it in my program viaENV['AWS_ACCESS_KEY_ID']
devoldmx has joined #ruby
<jasonsmr> fredjean: I have heard that, but I guess I dont see how its more simple
<fredjean> It's more flexible… Not more simple.
richiebkr has quit [Client Quit]
<jasonsmr> I could see doing in terminal before running fog ; # set EN_VAR
ElderFain_ has joined #ruby
<fredjean> Are you using RVM or RBENV?
JumpMast3r has quit [Quit: JumpMast3r]
<jasonsmr> I suppose your right ^^ I just never could get fog to grab ENV VARS from my ~.bashrc yet.. I must be doing something wrong
banjara has quit [Quit: Leaving.]
<jasonsmr> I was tying to use RVM
arturaz has quit [Ping timeout: 268 seconds]
banjara has joined #ruby
bigoldrock has joined #ruby
<fredjean> You can set variables in the .rvmrc file for your project.
apeiros has quit [Remote host closed the connection]
<fredjean> That helps with not having to configure it manually with each call.
<jasonsmr> my instructions said it was FOG_RC
binaryplease has joined #ruby
sarkis has joined #ruby
niklasb has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
<fredjean> Another approach would be to pass the path to a configuration file that holds the configuration.
ElderFain has quit [Ping timeout: 260 seconds]
<fredjean> In this case, the program would read the file and configure itself based on the contents of the file.
richiebkr has joined #ruby
<fredjean> Ruby already has a great way to handle this via YAML.
<jasonsmr> fredjean: thats another option I saw but havent tried yet
eliqtrope has joined #ruby
ElderFain has joined #ruby
falood has quit [Remote host closed the connection]
harrymoreno_ has joined #ruby
<eliqtrope> hi all
<jasonsmr> yea, I dont have the RVM installed or configured
io_syl has joined #ruby
<havenwood> Took a stab last night at one-paste installer for ruby-install/chruby on OS X: https://gist.github.com/havenwood/5820213
dhruvasagar has joined #ruby
harrymoreno has quit [Ping timeout: 256 seconds]
harrymoreno_ is now known as harrymoreno
<eliqtrope> how compile (link) file like http://defunkt.io/hub/standalone ?
binaryplease has quit [Ping timeout: 255 seconds]
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kadoo has joined #ruby
ssvo has joined #ruby
kadoo has quit [Max SendQ exceeded]
rasbonics has joined #ruby
ElderFain_ has quit [Ping timeout: 260 seconds]
fredjean_ has joined #ruby
fredjean has quit [Ping timeout: 246 seconds]
banjara has quit [Quit: Leaving.]
kadoo has joined #ruby
banjara has joined #ruby
<havenwood> eliqtrope: That is a binary, just rename it and drop it where it goes with +x permissions: https://github.com/defunkt/hub#standalone
DestinyAwaits has quit [Read error: Connection reset by peer]
<havenwood> err, script
angusiguess has joined #ruby
lupine has quit [Read error: Connection reset by peer]
<fredjean_> jasonsmr: You can try the #ruby-fog room. They may have better answers for you.
nezumi has joined #ruby
<havenwood> (just a ruby script)
atmosx has joined #ruby
<eliqtrope> havenwood: the standalone has been generated from https://github.com/defunkt/hub/tree/master/lib
lupine has joined #ruby
banjara has quit [Client Quit]
banjara has joined #ruby
<eliqtrope> what the tool mislav uses?
<havenwood> eliqtrope: rename standalone to hub, chmod +x, and drop it a dir that is in you PATH.
<eliqtrope> havenwood: i know how use hub ^^
banjara has quit [Client Quit]
banjara has joined #ruby
<havenwood> eliqtrope: ah, i misunderstood
paulswilliamsesq has quit [Quit: Textual IRC Client: www.textualapp.com]
DanKnox_away is now known as DanKnox
devoldmx has quit [Ping timeout: 240 seconds]
<eliqtrope> i would know the script mislave uses to generate the standalone
lyanchih has joined #ruby
DaniG2k has left #ruby [#ruby]
cj3kim has joined #ruby
rasbonics has quit [Quit: rasbonics]
<jasonsmr> shoot I guess I was using .rbenv then I just installed rvm, I cant have both can I?
cj3kim has quit [Read error: Connection reset by peer]
<havenwood> jasonsmr: RVM supports chruby but not rbenv.
<jasonsmr> allright what do I need to do remove rvm?
<havenwood> jasonsmr: You can have both RVM and rbenv, but i'd disable one at a time if that is what you want.
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jasonsmr> rbenv was allready there.
<havenwood> jasonsmr: OS?
<jasonsmr> CentOS6
arya_ has joined #ruby
<jasonsmr> el6
burlyscudd has joined #ruby
timkohrumel has quit [Remote host closed the connection]
<havenwood> jasonsmr: I'd suggest taking a minute to look at RVM, chruby and rbenv and decide on one.
devoldmx has joined #ruby
bradhe has joined #ruby
<ericwood> YOU MUST DECIDE BY SUNDOWN
<ericwood> pick wisely!
harrymoreno has quit [Ping timeout: 268 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<fredjean_> One thing for rbenv is that it has plugins, including rbenv-vars.
harrymoreno has joined #ruby
<fredjean_> Which is what I use to set project specific environment variables.
CFUDev has joined #ruby
<fredjean_> You should however pick one...
arya has quit [Ping timeout: 252 seconds]
<fredjean_> Choose wisely.
<fredjean_> I think that rbenv is the wise choice ;)
<havenwood> Hint, choose chruby.
<ericwood> pick by sundown!
CFUDev has quit [Client Quit]
<ericwood> that part is important
swordsmanz has quit [Ping timeout: 240 seconds]
<havenwood> true, they all work well - lets focus on sundown.
nomenkun has quit [Remote host closed the connection]
banjara has quit [Quit: Leaving.]
_Andres has joined #ruby
<ericwood> yes
<ericwood> you're running out of time
Appineer has joined #ruby
girija has quit [Ping timeout: 240 seconds]
<ericwood> I personally don't have any real complains about rvm but I don't do anything crazy
<havenwood> I use chruby and sometime RVM. I'm personally averse to shims.
* terrellt writes a ruby management script and calls it sundown.
Haoc has quit [Ping timeout: 250 seconds]
<ericwood> I got really upset about the FUD around RVM, though :'(
mikewintermute has joined #ruby
<jasonsmr> looks like chruby comes in RVM
<havenwood> ericwood: Yeah, that was unfortunate and undue.
<ericwood> kinda turned me off to chruby :\
generalissimo has joined #ruby
<ericwood> but we use rvm here so I don't really get to pick :P
burlyscudd1 has joined #ruby
<jasonsmr> Im sundowning allright/..
<havenwood> ericwood: chruby wasn't part of the FUD :P
<havenwood> ericwood: that was rbenv
<ericwood> oh yeah!
<ericwood> my bad, it turned me off to rbenv
<ericwood> the chruby people seem nicer
burlyscudd has quit [Read error: Operation timed out]
<ericwood> that shouldn't be a factor, but it is for me :P
bigoldrock has quit [Read error: Operation timed out]
<jasonsmr> IDK but rbenv didnt seem to work with fog, It could be a user error & P
CFUDev has joined #ruby
<terrellt> I have rbenv running on my production servers. I rather like it.
w0rldmaker has quit [Ping timeout: 260 seconds]
nezumi has quit [Ping timeout: 240 seconds]
bigoldrock has joined #ruby
jonahR has joined #ruby
<havenwood> I do dig that chruby is on TravisCI now, TEST ALL THE THINGS \o/: https://github.com/postmodern/chruby#readme
harrymoreno has quit [Ping timeout: 246 seconds]
harrymoreno has joined #ruby
crazymykl has quit [Remote host closed the connection]
<havenwood> A neutral (ha) blog post comparing RVM, chruby/ruby-install and rbenv/ruby-build would be really interesting to me.
saintcajetan has quit [Quit: Leaving]
<ericwood> that's physically impossible
obs has quit [Quit: Konversation terminated!]
<ericwood> I can just imagine what the hackernews comments on that blog post would be D:
<havenwood> ha
synthetix has joined #ruby
crazymykl has joined #ruby
mikepack has joined #ruby
saintcajetan_ has quit [Quit: Leaving]
<ericwood> "Wayne once said something mean to me, RVM is teh worst!!!"
<jasonsmr> allright Im using rbenv looks sug
saintcajetan has joined #ruby
<jasonsmr> too much automated installs using RVM, IDK sounds like a complex
filipe_ has quit [Remote host closed the connection]
<havenwood> ericwood: Actually, watched a talk last week where Steve Klabnik talks about the RVM/rbenv feud and how he uses chruby: http://www.confreaks.com/videos/2370-rmw2013-oop-and-philosophy
devoldmx has quit [Ping timeout: 252 seconds]
<havenwood> I wonder what Wayne is doing now?
<ericwood> hopefully being happy
<ericwood> and writing ruby
RORgasm_ is now known as RORgasm
viszu has quit [Quit: Leaving.]
obs has joined #ruby
Iszak has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> The RVM guys' work on SM and Tokaido is sick.
slash_nick has joined #ruby
slash_nick has joined #ruby
DomKM has joined #ruby
<havenwood> RVM2.
banjara has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
timonv has quit [Remote host closed the connection]
<atmosx> havenwood: what is SM and Tokaid?
richiebkr has quit [Quit: richiebkr]
crazymykl has quit [Remote host closed the connection]
crazymykl has joined #ruby
harrymoreno has quit [Ping timeout: 240 seconds]
<havenwood> atmosx: SM: https://github.com/sm/sm#readme
harrymoreno has joined #ruby
<pipework> havenwood: I use chruby and ruby-build now.
buibex has quit [Remote host closed the connection]
<havenwood> pipework: Nice, yeah works well with ruby-build.
<atmosx> 6 directories
<havenwood> atmosx: haha
codenapper has joined #ruby
crazymykl has quit [Remote host closed the connection]
<atmosx> the structural work is sick for sure
momomomomo has joined #ruby
<havenwood> atmosx: Tokaido is Yehuda Katz Kickstarter to make a statically linked Ruby build for OS X that can be drag-and-drop installed as a .app.
kasper has joined #ruby
girija has joined #ruby
<atmosx> havenwood: and why did they do that?
<atmosx> havenwood: if a programmer can't figure out how to install ruby on osx...
<havenwood> atmosx: Tokaido's build uses SM: https://github.com/tokaido
soulisson has joined #ruby
brianpWins has joined #ruby
tbrock has joined #ruby
kasper has quit [Read error: Connection reset by peer]
redgirl has joined #ruby
kasper has joined #ruby
<havenwood> atmosx: Dynamic linking in OS X can be a pain, especially with it using readline and openssl alternatives. I think the idea was making it so dead simple you can drop it and get to coding.
_rrecio has joined #ruby
lyanchih has quit [Quit: lyanchih]
<havenwood> atmosx: No prob to compile and link, but nice to have binaries install option!!
angusiguess has quit [Ping timeout: 255 seconds]
kasper has quit [Read error: Connection reset by peer]
kasper has joined #ruby
tbrock has quit [Client Quit]
v0n has quit [Read error: Operation timed out]
rrecio has quit [Ping timeout: 260 seconds]
<atmosx> havenwood: yeap. I see what you mean
Voodoofish430 has joined #ruby
kadoo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
richiebkr has joined #ruby
<atmosx> havenwood: I'm having a hard-time to keep up with all these abstraction levels anyway
Appineer has quit [Remote host closed the connection]
crazymykl has joined #ruby
<havenwood> atmosx: Also, RVM is automating building of a variety of binaries since Ruby doesn't provide binaries like JRuby, etc.
kasper_ has joined #ruby
num74 has quit [Quit: leaving]
kasper has quit [Read error: Connection reset by peer]
<atmosx> havenwood: does rvm provide jruby?
<havenwood> atmosx: Yup.
<atmosx> nice
relix has joined #ruby
<havenwood> atmosx: RVM supports building a ton of Rubies, even Topaz and mruby from head if I recall.
threesome has joined #ruby
<atmosx> jruby targets mostly embedded systems right?
iamjarvo has quit [Quit: iamjarvo]
lsmola has quit [Ping timeout: 246 seconds]
<atmosx> hm
<havenwood> atmosx: Are you thinking mruby?
<atmosx> yes
<atmosx> mruby
<atmosx> I wonder if it would run on a bifferboard
<atmosx> x86 clone, and how to build it…
<atmosx> cross-compile it
<havenwood> atmosx: Issue ticket open on ruby-install for supporting binary installs for Ruby (already does for Maglev and JRuby): https://github.com/postmodern/ruby-install/issues/31
<atmosx> hm
girija has quit [Ping timeout: 240 seconds]
vadelius has left #ruby ["Leaving"]
matthewrobbins has quit [Quit: matthewrobbins]
v0n has joined #ruby
<atmosx> bb havenwood
<havenwood> atmosx: I was playing with mruby, and compiled a FizzBuzz to C-bytecode then wrapped it to be a standalone executable that doesn't need mruby or Ruby to run: https://github.com/havenwood/mruby-fizzbuzz
<atmosx> have to go home take a shower
tbrock has joined #ruby
<atmosx> havenwood: that's an interesting idea
<havenwood> 400k self-exectuable FizzBuzz... now to run it on my toaster.
kadoo has joined #ruby
<havenwood> atmosx: Actually wrote a little Ruby script to automate the process, since it was a bit annoying.
kadoo has quit [Max SendQ exceeded]
kadoo has joined #ruby
Shirakawasuna has joined #ruby
kadoo has quit [Client Quit]
soulisson has quit [Read error: Operation timed out]
<atmosx> hm
<atmosx> seems interesting
<pipework> Does it?
davout has quit [Remote host closed the connection]
TheBatman has left #ruby [#ruby]
devoldmx has joined #ruby
leonardocabeza has joined #ruby
nezumi has joined #ruby
<atmosx> depends on the case scenario
<atmosx> I'm off
<atmosx> bb
atmosx has quit [Quit: And so the story goes…]
kasper_ has quit [Remote host closed the connection]
ferdev has quit [Quit: ferdev]
pothibo has quit [Quit: pothibo]
arya_ has quit []
fomatin has quit [Quit: Computer has gone to sleep.]
Maior has joined #ruby
<jasonsmr> hi Any hints about your YAML ruby configuration handles?
richiebkr has quit [Quit: richiebkr]
burlyscudd1 has quit [Read error: Operation timed out]
<jasonsmr> I was* thinking about using a bash script and array values to auto rewrite my configuration :P no fun
<Maior> I've got a vendor-provided Ruby app I'm trying to `bundle install` in on my build server; this fails because my gem cache needs me to be root to write there; is there a way I can do this without being root? (I've missed the point of bundler slightly, I feel, if I need to be root to install things with it)
<Maior> er, `bundle package` sorry
richiebkr has joined #ruby
noname001 has quit [Ping timeout: 248 seconds]
kevinykchan has quit [Ping timeout: 255 seconds]
devoldmx has quit [Ping timeout: 264 seconds]
arya has joined #ruby
gasbakid has joined #ruby
thesheff17 has joined #ruby
superscott[8] has joined #ruby
popl has joined #ruby
jeffreylevesque_ has quit [Read error: Connection reset by peer]
kraljev4 has joined #ruby
<kraljev4> Hello, I have a question
<kraljev4> what is preferred in ruby
kevinykchan has joined #ruby
<kraljev4> cond && T || F
cmarques has joined #ruby
<kraljev4> cond ? T : F
timkohrumel has joined #ruby
pranny has joined #ruby
timkohrumel has quit [Read error: Connection reset by peer]
<kraljev4> first or the second? What are the most notable differences?
pranny has quit [Client Quit]
<Hanmac> second one does makes more sence
<tommylommykins> usually the latter, since the ternary syntax is explicity designed for the purpose
timkohrumel has joined #ruby
pyrac has joined #ruby
tbrock has quit [Quit: Computer has gone to sleep.]
<tommylommykins> although you're also free to do if cond then T else F end \o/
<tommylommykins> but that's a bit more verbose
girija has joined #ruby
<kraljev4> are there any (dangeroud) differences between the two
<havenwood> Maior: Are you using the apt-get Ruby package?
<kraljev4> thanks tommy for your contrib, also.
bionoid has joined #ruby
* superscott[8] didn't even know that first one is the same way of writing the second one
<havenwood> Maior: I'm assuming all gem installs require sudo with your current setup, not just bundler?
nezumi has quit [Ping timeout: 240 seconds]
<havenwood> Maior: Depending on where you've set the gem install directory, you may or may not be required to sudo. I certainly prefer to set it up such that I don't sudo.
<havenwood> Maior: Just an aside, but be sure to `bundle --deployment` in production for local vendor.
nari has quit [Read error: Connection reset by peer]
malcolmva has joined #ruby
nari has joined #ruby
kevinykchan has quit [Ping timeout: 240 seconds]
DanKnox is now known as DanKnox_away
<popl> superscott[8]: the truth table is equivalent
amedeiros has joined #ruby
soulisson has joined #ruby
apod has quit [Quit: apod]
<tommylommykins> popl: truth table?
browndawg has joined #ruby
DanKnox_away is now known as DanKnox
dagobah has quit [Remote host closed the connection]
<tommylommykins> popl: I think T is just shorthand for a consequent phrase?
<tommylommykins> -phrase +expression/block/code
<superscott[8]> popl: yeah, didn't know you could do that, but makes sense kinda. i read it at first as condition AND true OR false
<kraljev4> cond && 'yes' || 'no'
<kraljev4> sure
<kraljev4> 3 == 4 && 'yes' || 'no'
richiebkr has quit [Quit: richiebkr]
<superscott[8]> which didn't make sense in my brain, but makes sense now that i see the light
jibi has joined #ruby
<terrellt> kraljev4: Ternary operator's easier to read, go with that.
<Maior> havenwood: I'm using Debian Wheezy's Ruby, yes; all gem installs require sudo, I'd really rather this wasn't the case
bradhe has quit [Remote host closed the connection]
CFUDev has quit [Quit: Pull the pin and count to what?]
<Maior> havenwood: ...however if I `bundle install --deployment && bundle package`, yeah, success
bradhe has joined #ruby
<havenwood> Maior: Good solution, best to use --deployment. :)
djbkd has joined #ruby
<kraljev4> there is a danger:
<kraljev4> irb(main):004:0> 3 == 3 && nil || 'no'
<kraljev4> => "no"
kevinykchan has joined #ruby
<kraljev4> irb(main):005:0> 3 == 3 ? nil : 'no'
<kraljev4> => nil
<superscott[8]> Maior: (you could use rvm, or chruby, or rbenv if you don't want to sudo gems)
dangerousdave has quit [Read error: Connection reset by peer]
Dave has joined #ruby
fomatin has joined #ruby
Dave is now known as Guest21112
woolite64 has joined #ruby
ner0x has joined #ruby
timonv has joined #ruby
<popl> tommylommykins: Do people use consequent phrase to refer to that sort of thing? I've only heard it in music theory classes.
<Maior> havenwood: superscott[8]: cheers
<Maior> thought bundler was the tool for avoiding root-gems and rbenv was just for switching ruby versions; thanks for the enlightenment
<tommylommykins> popl: probaby not. I was having a brainfart trying to think of the proper word
timmow has quit [Ping timeout: 240 seconds]
<popl> tommylommykins: anyways, I mean if you draw out the truth table for the ternary operator versus && || it will be equivalent
ghr has quit [Quit: Computer has gone to sleep.]
bradhe_ has joined #ruby
<tommylommykins> ah
bradhe has quit [Read error: Connection reset by peer]
chrisja has joined #ruby
leonardocabeza has quit [Quit: Leaving]
<havenwood> but it won't be equiv as kraljev4 pointed out when nil or false are between && and ||.
bradhe_ has quit [Remote host closed the connection]
leonardocabeza has joined #ruby
brianpWins has quit [Quit: brianpWins]
<havenwood> And makes you think of && || precedence.
benlieb has joined #ruby
<popl> d'oh
<popl> you are correct
<popl> obviously
Neener54 has quit [Quit: Leaving...]
<kraljev4> tell me, guys, how do you cope with the heat :) We have 35°C here.
leonardocabeza has quit [Client Quit]
leonardocabeza has joined #ruby
timonv has quit [Remote host closed the connection]
<havenwood> kraljev4: head away from equator
kevinykchan has quit [Ping timeout: 240 seconds]
jgoss has joined #ruby
jgoss has joined #ruby
jgoss has quit [Changing host]
apeiros has joined #ruby
obs has quit [Quit: Konversation terminated!]
yashshah has quit [Read error: Connection reset by peer]
<popl> I should not make assertions before coffee. :)
brianpWins has joined #ruby
<popl> kraljev4: thanks
Appineer has joined #ruby
Appineer has left #ruby [#ruby]
codecop has joined #ruby
rdark has quit [Quit: leaving]
iamjarvo has joined #ruby
bradhe has joined #ruby
camilasan has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
mahmoudimus has quit [Quit: Computer has gone to sleep.]
freerobby has quit [Quit: Leaving.]
hadees_ has joined #ruby
JumpMast3r has joined #ruby
hadees has quit [Ping timeout: 264 seconds]
hadees_ is now known as hadees
synthetix has quit [Remote host closed the connection]
Guest21112 has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
x1337807x has joined #ruby
kevinykc_ has joined #ruby
phrearch has quit [Remote host closed the connection]
Doc_X has quit [Remote host closed the connection]
x1337807x has quit [Client Quit]
cantonic has joined #ruby
pootler_ has quit [Ping timeout: 246 seconds]
pootler__ has quit [Ping timeout: 268 seconds]
mityaz has joined #ruby
andikr has joined #ruby
pootler_ has joined #ruby
pi3r has quit [Quit: Leaving]
adambeynon has quit [Quit: Textual IRC Client: www.textualapp.com]
ShellFu has joined #ruby
kevinykc_ has quit [Ping timeout: 252 seconds]
devoldmx has joined #ruby
freerobby has joined #ruby
<ShellFu> hey when using File.new||open in a method, is it proper to close the file at the end of said method? Or will it get closed when the program exits? Im basically concerned about open file pointers sticking around.
leonardocabeza has quit [Quit: Leaving]
sambao21 has quit [Quit: Computer has gone to sleep.]
burlyscudd has joined #ruby
<havenwood> ShellFu: Using a block closes it automatically at block end.
<havenwood> ShellFu: Hence nice to use a block, otherwise you've got to close it yourself.
Jerematic has joined #ruby
<ShellFu> havenwood, Understood. I appreciate the input.
carloslopes has joined #ruby
angusiguess has joined #ruby
Maior has left #ruby [#ruby]
<apeiros> the block also ensures that the file is being closed
sambao21 has joined #ruby
_Renegade has joined #ruby
Mattx has quit [Quit: Leaving]
thesubroot has quit [Quit: thesubroot]
workmad3 has quit [Read error: Operation timed out]
<Hanmac> ShellFu: you can also look at the directly methods: like File.open(path){|f|f.read} can be replaced with File.read(path)
w0rldmaker has joined #ruby
kevinykchan has joined #ruby
<ShellFu> ah interesting.
pootler__ has joined #ruby
LennyLinux has quit [Remote host closed the connection]
ChristianS has quit [Excess Flood]
camt has joined #ruby
ChristianS has joined #ruby
athst has joined #ruby
bradhe has quit [Remote host closed the connection]
bradhe has joined #ruby
yacks has quit [Ping timeout: 246 seconds]
w0rldmaker has quit [Ping timeout: 257 seconds]
kevinykchan has quit [Ping timeout: 260 seconds]
Shirakawasuna has quit [Ping timeout: 252 seconds]
robscomputer has quit [Ping timeout: 268 seconds]
wallerdev has quit [Quit: wallerdev]
devoldmx has quit [Ping timeout: 246 seconds]
<r0bgleeson> >> -0 == 0
<eval-in> r0bgleeson => true (https://eval.in/34273)
nomenkun has joined #ruby
gyre007 has quit [Remote host closed the connection]
choobie has quit [Ping timeout: 246 seconds]
x1337807x has joined #ruby
emmanuelux has joined #ruby
Xeago has quit [Remote host closed the connection]
shorty has joined #ruby
harrymoreno has quit [Ping timeout: 256 seconds]
bradhe_ has joined #ruby
harrymoreno has joined #ruby
bradhe has quit [Read error: Connection reset by peer]
kevinykchan has joined #ruby
yashshah has joined #ruby
jacobw has joined #ruby
momomomomo_ has joined #ruby
graft_ is now known as graft
momomomomo_ has quit [Client Quit]
patbr0wn has joined #ruby
<Hanmac> r0bgleeson: what about
<Hanmac> >> [0.0,-0.0]
<eval-in> Hanmac => [0.0, -0.0] (https://eval.in/34274)
<Hanmac> the interesting point: on an 64bit maschine with flonums, 0.0 has fixed ID but -0.0 does have not ;P
mocfive has joined #ruby
Jerematic has quit [Quit: Leaving]
harrymoreno_ has joined #ruby
mary5030 has joined #ruby
harrymoreno has quit [Ping timeout: 255 seconds]
harrymoreno_ is now known as harrymoreno
adambeynon has joined #ruby
<mary5030> hi, I need someone to guid me on a problem i have with active record
<r0bgleeson> Hanmac: just confirming suspicions while reading an article about -0 and +0
<Hanmac> mary5030: #rubyonrails
<r0bgleeson> Hanmac: ruby gets a lot of it, for example 1/0
<r0bgleeson> a lot of it right*
dangerousdave has quit [Read error: Connection reset by peer]
Alina-malina has quit [Quit: Leaving]
dangerousdave has joined #ruby
twoism has joined #ruby
Jerematic has joined #ruby
marcdel has joined #ruby
failshell has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nezumi has joined #ruby
<r0bgleeson> Hanmac: as far as, the IEEE spec defines that as the right thing to do (return Infinity)
<Hanmac> r0bgleeson: "1/0" does raise an error, "1/0.0" makes an infinity object ... PS: 0.0 and -0.0 does MAKE a difference, but you cant test easly for that
epta has quit [Ping timeout: 246 seconds]
<r0bgleeson> Hanmac: oops sorry, yeah, for floats
epta has joined #ruby
<r0bgleeson> Hanmac: it sounds like it is more of an issue in something like C
mahmoudimus has joined #ruby
<r0bgleeson> Hanmac: at least ive never had to worry about it before :)
v0n has quit [Ping timeout: 246 seconds]
Alina-malina has joined #ruby
johnmlocklear_ has quit [Ping timeout: 260 seconds]
pyrac has quit [Quit: pyrac]
<Hanmac> r0bgleeson: you can look at this so see the diff bezween signed zero
<Hanmac> >> [ 1 / 0.0, 1 / -0.0, 0.0 > 1 / 0.0, -0.0 > / 0.0]
<eval-in> Hanmac => /tmp/execpad-31eb2bc6b022/source-31eb2bc6b022:2: unterminated regexp meets end of file ... (https://eval.in/34275)
choobie has joined #ruby
choobie has quit [Changing host]
choobie has joined #ruby
<r0bgleeson> needs some LISPification
<Hanmac> >> [ 1 / 0.0, 1 / -0.0, 0.0 > 1 / 0.0, -0.0 > 1 / -0.0]
<eval-in> Hanmac => [Infinity, -Infinity, false, true] (https://eval.in/34276)
x1337807x has joined #ruby
bradhe_ has quit [Remote host closed the connection]
<r0bgleeson> Hanmac: where's the difference?
bklane has joined #ruby
iamjarvo has quit [Quit: iamjarvo]
<r0bgleeson> ah
<r0bgleeson> at the end
fschuindt has quit [Quit: Computer has gone to sleep.]
<apeiros> >> require 'complex'; Math.log(-10)
<eval-in> apeiros => (2.302585092994046+3.141592653589793i) (https://eval.in/34277)
gr4yscale has joined #ruby
arya has quit []
arya has joined #ruby
gr4yscale has quit [Client Quit]
danslo has quit [Quit: danslo]
nezumi has quit [Ping timeout: 246 seconds]
c3l has quit [Ping timeout: 250 seconds]
angusigu1ss has joined #ruby
kasper has joined #ruby
kraljev4 has left #ruby [#ruby]
jonahR has quit [Ping timeout: 255 seconds]
_Renegade has quit [Quit: _Renegade]
yacks has joined #ruby
* Hanmac wonders where shevy is ..
gasbakid_ has joined #ruby
jdunck has joined #ruby
angusiguess has quit [Ping timeout: 264 seconds]
<Hanmac> Banistergalaxy: my sfml-ruby binding can draw tiled-tmx files ... so the GameEngine can be started ;P
joesavage has joined #ruby
johnmlocklear_ has joined #ruby
ffio has quit [Quit: WeeChat 0.4.0]
gasbakid has quit [Ping timeout: 264 seconds]
phantasm66 has joined #ruby
phantasm66 has quit [Changing host]
phantasm66 has joined #ruby
sayan has joined #ruby
angusiguess has joined #ruby
kasper has quit [Ping timeout: 255 seconds]
jduan1981 has joined #ruby
nikeita has joined #ruby
<joesavage> I'm trying to execute a Ruby script from a bash file which runs via cron. The script executes seemingly fine (as 'root' - not advised etc. etc. I know), however this execution doesn't seem to have loaded the gems correctly as the 'json' gem cannot be found even though it's accessible through regular 'root' ssh usage. I think I need to do something in the bash file to set up the correct Ruby gem path for that session, but I'm not sure..
w0rldmaker has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
angusigu1ss has quit [Ping timeout: 241 seconds]
<joelteon> pi * i?
binaryplease has joined #ruby
<apeiros> joesavage: compare the env of your cron job and your login shell
sambao21 has quit [Quit: Computer has gone to sleep.]
<apeiros> you probably set stuff up in files which are only read by login shells
<Hanmac> (maybe he is using rvm or similar)
<joesavage> I am indeed using rvm
vlad_starkov has quit [Remote host closed the connection]
<joesavage> I'm pretty sure it _is_ an environment issue, however I'm not terribly experienced with these things so I'm not sure how to check the differences in env
<apeiros> joesavage: google "rvm wrapper"
<apeiros> or ask in #rvm
cj3kim has joined #ruby
guiocavalcanti has joined #ruby
sambao21 has joined #ruby
<joesavage> I seem to remember when I experienced this problem previously I just added a line in my bash file to set the environment and then got on with the task -- I know it's not really a long term fix, but it's a pretty specific situation for my server use. Any ideas what kind of thing that might have been?
mikepack has quit [Remote host closed the connection]
wereHamster has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
jonahR has joined #ruby
alvaro_o has joined #ruby
guiocava_ has joined #ruby
LennyLinux has joined #ruby
gasbakid_ has quit [Quit: Quitte]
Zeeraw has joined #ruby
gasbakid has joined #ruby
Hanmac has quit [Ping timeout: 264 seconds]
fomatin has quit [Quit: Computer has gone to sleep.]
buibex has joined #ruby
buibex has quit [Remote host closed the connection]
slash_ni1k has joined #ruby
slash_ni1k has left #ruby [#ruby]
guiocavalcanti has quit [Ping timeout: 240 seconds]
v0n has joined #ruby
<popl> joesavage: you have to specifically set up your environment when you run things with cron
jkline has joined #ruby
_Renegade has joined #ruby
Al__ has quit [Quit: Al__]
ffio has joined #ruby
fomatin has joined #ruby
bionoid has quit [Remote host closed the connection]
ramblex has quit [Ping timeout: 252 seconds]
bionoid has joined #ruby
devoldmx has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
LarsSmit has joined #ruby
athst has quit [Quit: athst]
danslo has joined #ruby
athst has joined #ruby
Zai00 has quit [Quit: Zai00]
dmiller has quit [Remote host closed the connection]
_Renegade has quit [Quit: _Renegade]
jeebster has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
forrest has joined #ruby
ffio has joined #ruby
cmarques has quit [Ping timeout: 246 seconds]
allanm has joined #ruby
gr4yscale has joined #ruby
ehaliewicz has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cantonic has quit [Quit: cantonic]
LennyLinux has quit [Remote host closed the connection]
devoldmx has quit [Ping timeout: 260 seconds]
ffio has quit [Client Quit]
devoldmx has joined #ruby
LennyLinux has joined #ruby
harrymoreno_ has joined #ruby
harrymoreno has quit [Ping timeout: 268 seconds]
harrymoreno_ is now known as harrymoreno
Davey has quit [Quit: Computer has gone to sleep.]
danshultz has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnnyfuchs has quit [Remote host closed the connection]
chichou has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
devoldmx3 has joined #ruby
rezzack has joined #ruby
johnnyfuchs has joined #ruby
gr4yscale has quit [Ping timeout: 246 seconds]
jeffreylevesque has joined #ruby
tourdedave has joined #ruby
ffio has joined #ruby
devoldmx27 has joined #ruby
marcdel has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
preller has quit [Ping timeout: 245 seconds]
v0n has quit [Ping timeout: 255 seconds]
verto has joined #ruby
Squarepy has quit [Quit: Leaving]
timkohrumel has quit [Remote host closed the connection]
jkline has quit [Quit: jkline]
devoldmx3 has quit [Ping timeout: 264 seconds]
joesavage has quit [Quit: Page closed]
burlyscudd has joined #ruby
nezumi has joined #ruby
apod has joined #ruby
timkohrumel has joined #ruby
Nilbus has joined #ruby
mikepack has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
spider-mario has joined #ruby
sideshowcoder has quit [Ping timeout: 264 seconds]
camt has quit [Remote host closed the connection]
bradhe has quit [Remote host closed the connection]
<Nilbus> I'm trying to figure out how to anchor and alias a map and can't figure out the syntax. Is a map anchorable? Examples of what I'm trying: https://gist.github.com/nilbus/5825281
bradhe has joined #ruby
patbr0wn has quit [Ping timeout: 246 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
lenswipe has joined #ruby
sayan has quit [Ping timeout: 246 seconds]
burlyscudd has quit [Read error: Operation timed out]
sideshowcoder has joined #ruby
kirun has joined #ruby
LarsSmit has quit [Quit: Leaving.]
bradhe has quit [Ping timeout: 246 seconds]
hackman127 has joined #ruby
denver has quit [Remote host closed the connection]
<apeiros> Nilbus: line 4, add a newline after &title
<apeiros> and keep "Your vehicle's title:" indented the same as &title
_rrecio has quit [Remote host closed the connection]
icecandy has quit [Read error: Connection reset by peer]
<Nilbus> ah I tried that but had also indented. Let me give that a try
v0n has joined #ruby
icecandy has joined #ruby
rrecio has joined #ruby
`p has quit [Quit: Leaving]
axl_ has quit [Quit: axl_]
<apeiros> you can try such things simply by doing something like: a = {'test' => 'map'}; b = {'x' => a, 'y' => a}; puts b.to_yaml
<Nilbus> oh, that's a great idea
LennyLinux has quit [Remote host closed the connection]
zeromodulus has quit [Read error: Connection reset by peer]
<Nilbus> awesome, that did the trick. Thanks apeiros!
zeromodulus has joined #ruby
zeromodulus has quit [Changing host]
zeromodulus has joined #ruby
rrecio has quit [Read error: Connection reset by peer]
interactionjaxsn has quit [Remote host closed the connection]
rrecio has joined #ruby
<hackman127> I'm trying to install DevKit and json on Windows 7 with Ruby 1.9.1, and when I run `ruby dk.rb install` it's giving me this: [WARN] Skipping existing DevKit helper library for 'C:/Develop/Languages/Ruby192'. If I add a -f, I get the message that it's updating the helper library, but when I go to run a bundle install, json is still failing saying "Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers." Any ideas?
interactionjaxsn has joined #ruby
L8D has quit [Remote host closed the connection]
LennyLinux has joined #ruby
LennyLinux has quit [Remote host closed the connection]
LennyLin_ has joined #ruby
devoldmx27 has quit [Ping timeout: 260 seconds]
jeremy_c has joined #ruby
thoraxe has quit [Quit: leaving]
devoldmx has joined #ruby
burlyscudd has joined #ruby
interactionjaxsn has quit [Ping timeout: 255 seconds]
axl_ has joined #ruby
Davey has joined #ruby
momomomomo has joined #ruby
<hackman127> 4636
<apeiros> 0967
karthikselva has joined #ruby
<pipework> 0008
ELLIOTTCABLE has quit [Quit: best short-url ever. <http://ell.io/tt>]
ELLIOTTCABLE has joined #ruby
skered- has joined #ruby
skered- has left #ruby [#ruby]
tourdedave has quit [Quit: tourdedave]
bradhe has joined #ruby
choobie has quit [Ping timeout: 246 seconds]
rickmasta has joined #ruby
kevinykchan has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby
interactionjaxsn has joined #ruby
obs has joined #ruby
v0n has quit [Quit: WeeChat 0.4.1]
v0n has joined #ruby
RORgasm_ has joined #ruby
RORgasm has quit [Read error: Connection reset by peer]
blaxter has quit [Quit: foo]
vlad_starkov has quit [Ping timeout: 260 seconds]
karthikselva has left #ruby [#ruby]
andikr has quit [Remote host closed the connection]
ELLIOTTCABLE has quit [Remote host closed the connection]
ELLIOTTCABLE has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
girija has quit [Ping timeout: 255 seconds]
gr4yscale has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
sambao21 has quit [Quit: Quitter]
axl_ has quit [Quit: axl_]
choobie has joined #ruby
choobie has quit [Changing host]
choobie has joined #ruby
tourdedave has joined #ruby
axl_ has joined #ruby
Apane has joined #ruby
ffio has quit [Quit: WeeChat 0.4.1]
nikeita has quit [Quit: sleep]
tatsuya__ has joined #ruby
ffio has joined #ruby
dhruvasa1ar has joined #ruby
tatsuya_o has quit [Read error: Connection reset by peer]
bigoldrock has quit [Read error: Connection reset by peer]
Evixion` is now known as Evixion
bigoldrock has joined #ruby
dhruvasagar has quit [Read error: Connection reset by peer]
bean has quit [Quit: Computer has gone to sleep.]
ffio has quit [Client Quit]
momomomomo has quit [Read error: Connection reset by peer]
momomomomo has joined #ruby
fomatin has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
bionoid has quit [Remote host closed the connection]
momomomomo has quit [Client Quit]
visof has joined #ruby
jlast_ has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
jlast has quit [Read error: Operation timed out]
kil0byte has joined #ruby
Aaaarg has quit [Quit: Aaaarg]
browndawg has quit [Quit: Leaving.]
dp has joined #ruby
harrymoreno has quit [Ping timeout: 246 seconds]
<dp> can someone tell me what this actually means? /usr/lib/ruby/1.9.1/rubygems/specification.rb:1637:in `raise_if_conflicts': Unable to activate jekyll-asset-pipeline-0.1.6, because jekyll-1.0.3 conflicts with jekyll (~> 0.12) (Gem::LoadError)
harrymoreno has joined #ruby
cads has quit [Read error: Operation timed out]
Hobogrammer has quit [Ping timeout: 245 seconds]
rrecio has quit [Ping timeout: 260 seconds]
rrecio has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
ErsatzRyan has joined #ruby
robscomputer has joined #ruby
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bklane has quit [Remote host closed the connection]
srji has joined #ruby
dmiller has joined #ruby
carloslopes has quit [Remote host closed the connection]
bklane has joined #ruby
ErsatzRyan has quit [Remote host closed the connection]
ferdev has joined #ruby
patbr0wn has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
Hanmac1 has quit [Quit: Leaving.]
danshultz has joined #ruby
mocfive has quit [Remote host closed the connection]
burlyscudd has quit [Quit: Leaving.]
nomenkun has quit [Remote host closed the connection]
<ctooley> Is there a way to pass an environment variable to something that uses net/https.rb to get it to skip certificate verification?
pu22l3r_ has joined #ruby
dp has left #ruby [#ruby]
fermion has quit [Ping timeout: 246 seconds]
brianpWins has quit [Quit: brianpWins]
arya has quit []
huoxito has quit [Quit: Leaving]
nikeita has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
pu22l3r has quit [Ping timeout: 264 seconds]
ferdev has quit [Quit: ferdev]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Hobogrammer has joined #ruby
kpshek has quit []
ldnunes has quit [Quit: Leaving]
arya has joined #ruby
Nilbus has left #ruby ["AIEEE! Kernel panic!"]
eldariof has joined #ruby
kpshek has joined #ruby
Mon_Ouie has quit [Read error: Connection reset by peer]
bean has joined #ruby
bklane has quit [Remote host closed the connection]
cofin has quit [Quit: cofin]
icole has quit [Remote host closed the connection]
banghouse has quit [Remote host closed the connection]
rickmasta has quit [Quit: Leaving...]
bklane has joined #ruby
jlast_ has quit [Read error: Connection reset by peer]
atyz has joined #ruby
moos3 has joined #ruby
jdunck has quit [Quit: Computer has gone to sleep.]
bionoid has joined #ruby
angusigu1ss has joined #ruby
RORgasm_ is now known as RORgasm
jlast has joined #ruby
angusiguess has quit [Ping timeout: 240 seconds]
cj3kim has quit [Remote host closed the connection]
LennyLin_ has quit [Remote host closed the connection]
ezkl has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
benlieb has quit [Quit: benlieb]
danshultz has joined #ruby
linguini has joined #ruby
ferdev has joined #ruby
cmarques has joined #ruby
brennanMKE has joined #ruby
_Renegade has joined #ruby
andres833 has quit [Quit: Saliendo]
athst has quit [Quit: athst]
rickmasta has joined #ruby
failshell has joined #ruby
nomenkun has joined #ruby
byprdct has joined #ruby
dash_ has quit [Quit: Time to beer :)]
moslemegy has joined #ruby
nomenkun has quit [Remote host closed the connection]
moslemegy has quit [Killed (idoru (Spam is off topic on freenode.))]
marcdel has joined #ruby
LaPetiteFromage has joined #ruby
vlad_starkov has joined #ruby
jastix has quit [Quit: Leaving]
gr4yscale has quit [Quit: Computer has gone to sleep.]
Jackneill has quit [Ping timeout: 246 seconds]
ferdev has quit [Quit: ferdev]
slainer68 has joined #ruby
LennyLinux has joined #ruby
devoldmx3 has joined #ruby
Hare has joined #ruby
danshultz has quit [Read error: Connection reset by peer]
danshultz has joined #ruby
<Hare> Can anyone point me in the right direction on sending an image with smtp http://pastebin.com/KQcnaWKt
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
devoldmx has quit [Ping timeout: 252 seconds]
mocfive has joined #ruby
freerobby has quit [Quit: Leaving.]
tkuchiki has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
<epitron> is there a way to tell what processes are using swap?
danshultz has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
danshultz has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
jerius has quit [Ping timeout: 264 seconds]
horofox has joined #ruby
fermion has joined #ruby
yalue has quit [Quit: Leaving]
<apeiros> Hare: you may want to use a gem like Mail
harrymoreno_ has joined #ruby
<apeiros> epitron: that's an OS thing, tools like ps can tell you.
<pipework> I'd suggest using a gem, because after writing my own library against net/smtp, it's not quite fun.
failshell has quit [Remote host closed the connection]
fomatin has joined #ruby
harrymoreno has quit [Ping timeout: 248 seconds]
harrymoreno_ is now known as harrymoreno
Jerematic has quit [Quit: Leaving]
mocfive has quit [Remote host closed the connection]
<Hare> Hmm, I was hoping to be able to do it with net/smtp, was hoping itd be simple. Guess I will have a look at mail
horofox has quit [Quit: horofox]
patbr0wn has quit [Ping timeout: 246 seconds]
ShellFu is now known as ShellFu_brb
sambao21 has joined #ruby
chichou has joined #ruby
srji has quit [Ping timeout: 248 seconds]
bklane has quit [Remote host closed the connection]
<_br__> Hare: Or a gem like pony
bklane has joined #ruby
icole has joined #ruby
fermion has quit [Quit: Computer has gone to sleep.]
ezkl has quit [Ping timeout: 246 seconds]
<Hare> Pony looks really simple
guiocavalcanti has joined #ruby
`p has joined #ruby
devoldmx3 has quit [Ping timeout: 246 seconds]
mocfive has joined #ruby
<_br__> Hare: Yes, ponies are fun.
<Hare> I broke my arm on a pony once.. they arent than fun. Dangerous beasts
mocfive has quit [Remote host closed the connection]
guiocavalcanti has quit [Read error: Connection reset by peer]
chichou has quit [Ping timeout: 260 seconds]
guiocavalcanti has joined #ruby
guiocava_ has quit [Ping timeout: 240 seconds]
<epitron> apeiros: oops, sorry, wrong channel :)
mocfive has joined #ruby
<epitron> i thought i was somewhere else
<_br__> Hare: That was a ruby one, so no need to worry :)
nezumi has quit [Ping timeout: 260 seconds]
<_br__> s/was/wasn't/
timonv has joined #ruby
bklane has quit [Ping timeout: 246 seconds]
burlyscudd has joined #ruby
marcdel has quit [Ping timeout: 246 seconds]
brbcoding has quit []
tommyvyo has quit [Quit:]
byprdct has quit [Ping timeout: 255 seconds]
mocfive has quit [Remote host closed the connection]
athst has joined #ruby
burlyscudd has quit [Ping timeout: 240 seconds]
ravster has left #ruby [#ruby]
stkowski has quit [Quit: stkowski]
jibi has quit [Quit: .]
mocfive has joined #ruby
nikeita has quit [Quit: sleep]
mityaz has quit [Quit: See ya!]
ner0x has quit [Read error: Connection reset by peer]
codenapper has quit [Quit: codenapper]
ananthakumaran has quit [Quit: Leaving.]
srji has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
johnmlocklear_ has quit [Ping timeout: 246 seconds]
marcgg_ has quit [Read error: No route to host]
slainer68 has quit [Remote host closed the connection]
marcgg has joined #ruby
stonevil has quit [Remote host closed the connection]
<Hare> So where do you dl these gems at? have to use github?
<_br__> Hare: Why don't you take a look at bundler.
guiocava_ has joined #ruby
ShellFu_brb is now known as ShellFu
<Hare> Ok, thankya
marcdel has joined #ruby
Zai00 has joined #ruby
x1337807x has joined #ruby
guiocavalcanti has quit [Ping timeout: 268 seconds]
chrishough has joined #ruby
Squarepy has joined #ruby
Guga_ has joined #ruby
guiocavalcanti has joined #ruby
angusigu1ss has quit [Ping timeout: 255 seconds]
guiocava_ has quit [Read error: Connection reset by peer]
sarcilav has joined #ruby
harrymoreno_ has joined #ruby
sarcilav_ has left #ruby [#ruby]
harrymoreno has quit [Ping timeout: 246 seconds]
harrymoreno_ is now known as harrymoreno
marcgg has quit [Read error: No route to host]
IceDragon has joined #ruby
thesheff17 has quit [Read error: Connection reset by peer]
marcgg has joined #ruby
chrisja has quit [Quit: leaving]
amedeiros has quit [Ping timeout: 240 seconds]
jdunck has joined #ruby
nikeita has joined #ruby
min|dvir|us-work has joined #ruby
failshell has joined #ruby
<min|dvir|us-work> Is bundler a commonly-used gem?
shorty has quit [Quit: HydraIRC -> http://www.hydrairc.com <- Wibbly Wobbly IRC]
guiocava_ has joined #ruby
<pipework> What is bundler?
guiocavalcanti has quit [Read error: Connection reset by peer]
eldariof has quit [Ping timeout: 248 seconds]
<min|dvir|us-work> That's my issue.
<min|dvir|us-work> Particularly line 18.
osvico has joined #ruby
<pipework> Sounds like about time for a ruby gem version upgrade.
<pipework> Or you should change your bundle.
pyrac has joined #ruby
pothibo has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<min|dvir|us-work> pipework: not mine.
Xeago has joined #ruby
x1337807x has joined #ruby
<min|dvir|us-work> Any thoughts?
<apeiros> `which bundle`
<apeiros> maybe you're using a bundle executable which is not using your ruby 2.0
<min|dvir|us-work> apeiros: aha, looks like the wrong one.
ctooley has quit [Quit: Leaving]
LaPetiteFromage has quit [Quit: LaPetiteFromage]
Aaaarg has joined #ruby
<min|dvir|us-work> apeiros: how do I fix that?
devoldmx has joined #ruby
<apeiros> no idea. depends on how you installed your stuff.
<min|dvir|us-work> apeiros: brew
Elico has joined #ruby
ferdev has joined #ruby
manutter has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
geekbri has quit [Remote host closed the connection]
agent_white has joined #ruby
Aaaarg has quit [Quit: Aaaarg]
nezumi has joined #ruby
<_br__> Anyone have an idea how to screenshot a long (you need to scroll) website automatically to show the entire page seamlessly concatinated?
<_br__> Do I really need to hack something together with imagemagick?
vlad_starkov has quit [Read error: Connection reset by peer]
<_br__> Never mind, someone wrote a plugin in FF for that.
<min|dvir|us-work> _br__: look into Capybara.
rickmasta has quit [Quit: Leaving...]
danshultz has quit [Remote host closed the connection]
devoldmx3 has joined #ruby
<_br__> min|dvir|us-work: thanks, I'll try
min|dvir|us-work has left #ruby [#ruby]
<ryan_turner> I have an array of hashes, and the hashes all have the same keys. One of the hashes value is unique. I need to update a value on the hash where another value is unique. What is the smart way to iterate over the array to make that change?
sailias has quit [Ping timeout: 268 seconds]
<ryan_turner> [{id_1 => 1, id_2 => 1}, {id_1 => a, id_2 =>2}] <--- I want to change "a" to 2.
falkoner has joined #ruby
robscomputer_ has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 252 seconds]
kpshek has quit []
srji has quit [Ping timeout: 248 seconds]
ephemerian has joined #ruby
<canton7> it's hard to tell from your example what is supposed to be unique and what isn't, when there are only two sub-hashes
Davey has quit [Quit: Computer has gone to sleep.]
<Spooner> ryan_turner, arr.each {|h| h[id_1] = 2 if h[id_1] == a }
superscott[8] has quit [Quit: superscott[8]]
bradhe has quit [Remote host closed the connection]
<ryan_turner> Ah, so nothing better than just doing .each
nomenkun has joined #ruby
<ryan_turner> Fair enough! Not a bad deal :)
rickmasta has joined #ruby
tomzx_mac_ has joined #ruby
<popl> well that's not your actual data so it is hard to give a good answer for your usecase
tomzx_mac has quit [Ping timeout: 248 seconds]
ffio has joined #ruby
kpshek has joined #ruby
burlyscudd has joined #ruby
dmyers has left #ruby [#ruby]
jlast has quit [Remote host closed the connection]
prstat has quit [Quit: leaving]
nomenkun has quit [Ping timeout: 248 seconds]
fmcgeough has quit [Quit: fmcgeough]
kofno has quit [Remote host closed the connection]
DomKM has quit [Quit: Leaving.]
pixelgremlins has quit [Ping timeout: 264 seconds]
superscott[8] has joined #ruby
DomKM has joined #ruby
byprdct has joined #ruby
DomKM has quit [Client Quit]
burlyscudd has quit [Ping timeout: 255 seconds]
end_guy has quit [Ping timeout: 240 seconds]
DomKM has joined #ruby
fomatin has quit [Quit: Computer has gone to sleep.]
lenswipe has quit [Ping timeout: 268 seconds]
b0oh has joined #ruby
<Spooner> Yeah, as popl says, it could be better if we had a better idea of the use-case. You could do arr.find {|h| h[id_1] == a }[id_1] = 2 (but assumes there will be exactly one replacement needed).
harrymoreno has quit [Ping timeout: 248 seconds]
min|dvir|us has joined #ruby
davetherat has joined #ruby
end_guy has joined #ruby
<min|dvir|us> I have a Date instance. How do I change the day of the Date?
phantasm66 has quit [Quit: *poof*]
<Spooner> min|dvir|us, date += 1
<min|dvir|us> No, I don't want to add a day, I want to set the day.
harrymoreno has joined #ruby
huoxito has joined #ruby
<Spooner> A date is immutable.
<min|dvir|us> OK, so you're saying I'd have to make a new one?
<Spooner> You could do Date.new(d.year, d.month, 12)
[BNC]dmyers has joined #ruby
<min|dvir|us> date += 1 does what -- make a new instance with the day increased by one?
<Spooner> Yep.
<min|dvir|us> That's very unclear.
DrShoggoth has quit [Quit: Leaving]
<Spooner> x += y is just sugar for x = x + y
<popl> What's unclear?
<min|dvir|us> Makes date seem mutable.
<Spooner> It is different in other languages, where += is a method in itself.
gr4yscale has joined #ruby
<min|dvir|us> I understand that, coming from Python.
mocfive has quit [Remote host closed the connection]
<Spooner> Actually, better to use Date#succ, rather than += 1
_maes_ has joined #ruby
ffranz has quit [Quit: Leaving]
<Spooner> (or Date#next_day if you want to be really clear)
Trynemjoel has joined #ruby
visof has quit [Read error: Connection reset by peer]
paul_trone has joined #ruby
[BNC]dmyers has left #ruby [#ruby]
Solnse has quit [Ping timeout: 240 seconds]
<apeiros> min|dvir|us: "Makes date seem mutable" only when you conflate objects and variables
fomatin has joined #ruby
kevinykchan has joined #ruby
dmiller has quit [Remote host closed the connection]
cofin has joined #ruby
<Spooner> apeiros, In C++, however, += can mutate an object. No problem with people struggling with the specific meaning of += in Ruby.
richiebkr has joined #ruby
<apeiros> Spooner: yes. but we're not talking about C++.
icole has quit [Remote host closed the connection]
<min|dvir|us> apeiros: gotcha, you're better than me.
<min|dvir|us> My bad.
<apeiros> and when learning ruby, it's IMO rather important to learn the concept of variables vs. objects
richiebkr has quit [Client Quit]
stonevil has joined #ruby
<apeiros> (same as when learning C it's important to learn the concept of pointers, e.g.)
jlast has joined #ruby
<min|dvir|us> Would you also say it's important to have a very high opinion of yourself in relation to others when learning Ruby?
* Xeago wrote a fair deal of C without ever touch pointer, purely stack!
<apeiros> min|dvir|us: wtf?
<Xeago> ah the english, it escapes me
<popl> min|dvir|us: Hey dude.
<popl> min|dvir|us: You came into the channel slinging your ego around. You have no room to talk.
arya_ has joined #ruby
<apeiros> min|dvir|us: maybe you should not interpret every written word in a ego-value system
<min|dvir|us> apeiros: I'm just fucking with ya, mate.
<apeiros> min|dvir|us: careful
<popl> I think that is backpedaling.
DomKM has quit [Quit: Leaving.]
<popl> That is not constructive.
eliqtrope has quit [Quit: Page closed]
arya has quit [Ping timeout: 248 seconds]
theRoUS has quit [Ping timeout: 264 seconds]
<apeiros> min|dvir|us: my remark about conflation was not supposed to mean "you're stupid you can't understand the difference between those things!!!"
<min|dvir|us> :)
<r0bgleeson> apeiros: can't you spot his troll hair
<apeiros> it was meant as a factual statement. if you lack that knowledge, then yes, things will look that way.
min|dvir|us has quit [Quit: leaving]
<aces1up> i am creating my own gem, i have created the gemspec and the gem gets created fine and all is well, but the .gemspec file used to create gem is not included in the .gem file.. is there a setting to make this happen?
<apeiros> r0bgleeson: sometimes hard to tell whether somebody is trolling or truly offended and unable to communicate it in an acceptable way
<r0bgleeson> aces1up: add it to Specification#files=
<r0bgleeson> apeiros: he's a troll, for sure
spider-mario has quit [Read error: Connection reset by peer]
<popl> I don't know. He is using his real name.
<apeiros> and the "unable to communicate" part can even be due to language barriers
<popl> I don't think a troll would use his real name.
<aces1up> r0bgleeson great thanks.
<popl> Or at least his "real name".
vlad_starkov has joined #ruby
<popl> It was in his pastes and his ircname.
<r0bgleeson> well then he has serious insecurity issues
<popl> I think he's probably a youngster with a complex.
kristiandelay has quit [Remote host closed the connection]
<popl> his handle is min|dvir|us :)
<popl> that's 1337
ssickle has joined #ruby
b0oh has quit [Quit: Leaving.]
codecop has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
ffio has quit [Quit: WeeChat 0.4.1]
tomzx_mac_ has quit [Quit: tomzx_mac_]
tomzx_mac has joined #ruby
slainer68 has joined #ruby
atyz has quit [Quit: Leaving...]
kevinykchan has quit [Quit: Computer has gone to sleep.]
ffio has joined #ruby
soukihei has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
relix has joined #ruby
mmitchell has quit [Ping timeout: 260 seconds]
bradhe has joined #ruby
axl_ has quit [Quit: axl_]
soukihei has joined #ruby
walde has joined #ruby
sailias has joined #ruby
<Hare> What is wrong with my gemfile? http://pastebin.com/8TDhWpc7 for Ruby
vlad_starkov has quit [Ping timeout: 241 seconds]
viszu has joined #ruby
<slash_nick> Hare: where you typed "ruby '2.0.0'"
failshell has quit [Remote host closed the connection]
marcdel has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<slash_nick> "2.0.0" > .ruby-version # you need to put 2.0.0 in a .ruby-version file...
<slash_nick> Hare: how did you install ruby? or have you?
threesome has quit [Ping timeout: 260 seconds]
<apeiros> slash_nick: ruby '2.0.0' is ok in a Gemfile
nikeita has quit [Quit: bye bye]
<apeiros> Hare: maybe you tell us what is wrong. I assume you get an error message of some sort…
<slash_nick> apeiros: oh? :) *chimes out*
<apeiros> slash_nick: granted, a .ruby-version is IMO the better choice
harrymoreno_ has joined #ruby
harrymoreno has quit [Ping timeout: 246 seconds]
harrymoreno_ is now known as harrymoreno
timonv has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 248 seconds]
<slash_nick> apeiros: thanks for the knowledge :) Hare, you're missing a comma after 'mail'
slyv has joined #ruby
slyv has quit [Max SendQ exceeded]
rickmasta has quit [Quit: Leaving...]
Hare has quit [Ping timeout: 250 seconds]
arya has joined #ruby
postmodern has joined #ruby
icole has joined #ruby
forrest has quit [Quit: Leaving]
wereHamster has joined #ruby
kirun has quit [Quit: Client exiting]
mocfive has joined #ruby
obs has quit [Quit: Konversation terminated!]
wereHams1er has joined #ruby
wereHams1er has quit [Client Quit]
wesside has quit [Quit: Ice cream truck!]
dhruvasa1ar has quit [Ping timeout: 268 seconds]
johnnyfuchs has quit [Remote host closed the connection]
interactionjaxsn has quit [Remote host closed the connection]
fuzzyhorns has quit [Remote host closed the connection]
interactionjaxsn has joined #ruby
Hare has joined #ruby
stkowski has joined #ruby
marcdel has joined #ruby
atyz has joined #ruby
Lubinski has quit [Remote host closed the connection]
zigomir has joined #ruby
interactionjaxsn has quit [Ping timeout: 255 seconds]
marcgg has quit [Ping timeout: 240 seconds]
kpshek has quit []
Lubinski has joined #ruby
ravster has joined #ruby
soulisson has quit [Quit: Quitte]
marcgg has joined #ruby
wmoxam has quit [Ping timeout: 260 seconds]
arya has quit []
akells` has quit [Remote host closed the connection]
jeffreylevesque has quit [Remote host closed the connection]
breakingthings has quit [Quit: breakingthings]
JimmyNeutron has joined #ruby
dmyers has joined #ruby
jerius has joined #ruby
atmosx has joined #ruby
JimmyNeutron has quit [Client Quit]
lenswipe has joined #ruby
brennanMKE has quit [Remote host closed the connection]
generalissimo has quit [Remote host closed the connection]
jerius has quit [Client Quit]
Cyrus has joined #ruby
Hare has quit [Ping timeout: 250 seconds]
jimg has joined #ruby
banghouse2 has joined #ruby
havenwood has quit [Remote host closed the connection]
mocfive has quit [Remote host closed the connection]
banghouse2 is now known as banghouse
Lubinski has quit [Quit: Leaving]
enebo has joined #ruby
baordog has quit [Remote host closed the connection]
workmad3 has joined #ruby
enebo has quit [Client Quit]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ravster has quit [Ping timeout: 248 seconds]
brennanMKE has joined #ruby
bean has quit [Quit: Computer has gone to sleep.]
djbkd has quit [Ping timeout: 268 seconds]
bradhe has quit [Remote host closed the connection]
pipework has quit [Ping timeout: 255 seconds]
_br__ has quit [Quit: leaving]
Kar- has quit [Remote host closed the connection]
apod has quit [Quit: apod]
freerobby has quit [Quit: Leaving.]
Layke has quit [Ping timeout: 264 seconds]
juarlex has quit [Ping timeout: 268 seconds]
jtharris has quit [Quit: WeeChat 0.4.0]
apod has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yim_ has joined #ruby
fuzzyhorns has joined #ruby
ericmathison has joined #ruby
apok has joined #ruby
rickmasta has joined #ruby
bradhe has joined #ruby
yim has quit [Ping timeout: 252 seconds]
w0rldmaker has quit [Ping timeout: 256 seconds]
rfizzle has joined #ruby
slash_nick has quit [Read error: Operation timed out]
mocfive has joined #ruby
arya has joined #ruby
lushious has quit [Remote host closed the connection]
Layke has joined #ruby
fuzzyhorns has quit [Remote host closed the connection]
atmosx has quit [Quit: And so the story goes…]
jimg has quit [Remote host closed the connection]
lenswipe has quit [Ping timeout: 251 seconds]
Banistergalaxy has quit [Ping timeout: 248 seconds]
alex__c2022 has quit [Quit: alex__c2022]
guiocavalcanti has joined #ruby
guiocava_ has quit [Ping timeout: 240 seconds]
ravster has joined #ruby
rrecio has quit [Read error: Connection reset by peer]
rrecio has joined #ruby
x1337807x has joined #ruby
Banistergalaxy has joined #ruby
danslo has quit [Quit: danslo]
v0n has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby
bklane has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 256 seconds]
tjbiddle_ has joined #ruby
tjbiddle has quit [Ping timeout: 264 seconds]
tjbiddle_ is now known as tjbiddle
superscott[8] has quit [Quit: superscott[8]]
Zai00 has quit [Quit: Zai00]
xsdg has quit [Ping timeout: 256 seconds]
_rrecio has joined #ruby
deadalus has quit [Ping timeout: 248 seconds]
linguini has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
vlad_starkov has quit [Ping timeout: 260 seconds]
deadalus has joined #ruby
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
rrecio has quit [Ping timeout: 246 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
jlast has joined #ruby
mmitchell has joined #ruby
milardovich has joined #ruby
jacobw has quit [Quit: WeeChat 0.4.0]
mansi has quit [Read error: Operation timed out]
emergion has joined #ruby
ehaliewicz has quit [Read error: Connection reset by peer]
deadalus has quit [Max SendQ exceeded]
freerobby has joined #ruby
mmitchell has quit [Ping timeout: 260 seconds]
Veejay has quit [Ping timeout: 276 seconds]
jlast has quit [Ping timeout: 255 seconds]
deadalus has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
arya has quit [Ping timeout: 248 seconds]
machuga has quit [Ping timeout: 248 seconds]
w0rldmaker has joined #ruby
slainer68 has quit [Remote host closed the connection]
m8 has quit [Quit: Sto andando via]
xsdg has joined #ruby
_rrecio has quit [Read error: Connection reset by peer]
rrecio has joined #ruby
machuga has joined #ruby
Meatant has joined #ruby
athst has quit [Quit: athst]
ShellFu is now known as ShellFu_afk
freerobby has quit [Ping timeout: 252 seconds]
statarb3 has quit [Quit: Leaving]
harrymoreno has quit [Ping timeout: 246 seconds]
helvete has joined #ruby
rickmasta has quit [Quit: Leaving...]
rickmasta has joined #ruby
wsterling has quit [Remote host closed the connection]
cads has joined #ruby
Treeson has joined #ruby
whowantstolivefo has quit [Ping timeout: 264 seconds]
emergion has quit [Quit: Computer has gone to sleep.]
atyz has quit [Ping timeout: 268 seconds]
jimg has joined #ruby
guiocavalcanti has quit [Remote host closed the connection]
guiocavalcanti has joined #ruby
sailias has quit [Ping timeout: 252 seconds]
guiocavalcanti has quit [Read error: Connection reset by peer]
Inside has joined #ruby
Inside has quit [Changing host]
Inside has joined #ruby
guiocavalcanti has joined #ruby
harrymoreno has joined #ruby
bionoid_ has joined #ruby
DomKM has joined #ruby
tatsuya__ has quit [Remote host closed the connection]
Beoran_ has quit [Ping timeout: 240 seconds]
bmn has quit [Quit: obai]
Beoran_ has joined #ruby
gasbakid has quit [Ping timeout: 260 seconds]
bionoid has quit [Ping timeout: 255 seconds]
akells` has joined #ruby
workmad3 has quit [Read error: Operation timed out]
gasbakid has joined #ruby
zeade has joined #ruby
Elico has quit [Ping timeout: 268 seconds]
apok has quit [Quit: apok]
jimg has quit [Ping timeout: 255 seconds]
slash_nick has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
akells`_ has joined #ruby
akells` has quit [Read error: Connection reset by peer]
Squarepy has quit [Quit: Leaving]
v0n has joined #ruby
machuga has quit [Max SendQ exceeded]
machuga has joined #ruby
cofin has quit [Quit: cofin]
predator217 has joined #ruby
gasbakid has quit [Read error: Connection reset by peer]
rfizzle has quit [Quit: Leaving]
horofox has joined #ruby
mary5030 has quit [Ping timeout: 255 seconds]
tjbiddle has quit [Ping timeout: 264 seconds]
harrymoreno has quit [Ping timeout: 246 seconds]
predator117 has quit [Ping timeout: 268 seconds]
geggam has quit [Remote host closed the connection]
F1skr has quit [Quit: WeeChat 0.4.1]
sambao21 has joined #ruby
atyz has joined #ruby
EPIK has joined #ruby
harrymoreno has joined #ruby
helvete has quit [Ping timeout: 240 seconds]
brennanMKE has quit [Remote host closed the connection]
destructure has quit [Ping timeout: 248 seconds]
crankycoder has quit [Remote host closed the connection]
guiocavalcanti has quit [Remote host closed the connection]
crankycoder has joined #ruby
bklane has quit [Remote host closed the connection]
mikewintermute has quit [Quit: mikewintermute]
destructure has joined #ruby
guiocavalcanti has joined #ruby
akells`_ has quit [Remote host closed the connection]
slash_nick has quit [Ping timeout: 248 seconds]
aartist has joined #ruby
zigomir has quit [Read error: Operation timed out]
guiocavalcanti has quit [Ping timeout: 264 seconds]
akells` has joined #ruby
Davey has joined #ruby
<aces1up> hey can someone help me with integrating missing_const into a reusable module ? i have this code ? please help
<aartist> Hi, I found https://github.com/Shopify. How I can port it to different language like Perl?
cmarques has quit [Ping timeout: 252 seconds]
timkohrumel has quit [Remote host closed the connection]
lellisga has joined #ruby
skasio has quit [Ping timeout: 264 seconds]
`p has quit [Ping timeout: 246 seconds]
sarkis has quit [Ping timeout: 260 seconds]
DomKM has quit [Quit: Leaving.]
alvaro_o has joined #ruby
fredjean_ has quit [Quit: Computer has gone to sleep.]
agent_white has quit [Quit: leaving]
jimg has joined #ruby
end_guy has quit [Ping timeout: 240 seconds]
athst has joined #ruby
slash_nick has joined #ruby
slash_nick has joined #ruby
`p has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
jimg has quit [Ping timeout: 246 seconds]
harrymoreno has quit [Ping timeout: 255 seconds]
jeffreylevesque has joined #ruby
Guest53088 has joined #ruby
slash_nick has quit [Ping timeout: 240 seconds]
Guest53088 has left #ruby [#ruby]
slash_nick has joined #ruby
slash_nick has quit [Changing host]
slash_nick has joined #ruby
end_guy has joined #ruby
danslo has joined #ruby
MrZYX is now known as MrZYX|off
bmn has joined #ruby
freerobby has joined #ruby
ninp0 has joined #ruby
rickmasta has quit [Ping timeout: 252 seconds]
pyrac has quit [Quit: pyrac]
freerobby has quit [Ping timeout: 246 seconds]
DomKM has joined #ruby
_rrecio has joined #ruby
ericmathison has quit [Quit: leaving]
cj3kim has joined #ruby
harrymoreno has joined #ruby
slash_nick has quit [Ping timeout: 240 seconds]
rrecio has quit [Ping timeout: 260 seconds]
umttumt has joined #ruby
classix has quit [Quit: leaving]
anonymuse has joined #ruby
Katronix has joined #ruby
falood has joined #ruby
dcunit3d has joined #ruby
classix has joined #ruby
ShellFu_afk is now known as ShellFu
<Katronix> Hi all, I hope this is the correct place to ask, I'm using sinatra and trying to figure out from the views folder how do I specify where CSS files are?