drbrain_ changed the topic of #ruby-lang to: Ruby 1.9.3-p385: http://ruby-lang.org (ruby-2.0.0-rc2) || Paste >3 lines of text on http://gist.github.com
<badeball> ggreer, rue: what's up with the attitute? I think you're making rather large assumptions regarding what I said.
maxmanders has quit [Quit: Computer has gone to sleep.]
rking has quit [Remote host closed the connection]
<yianna> possibly avoid giving girls attention because they are more rare they get a lot of attention and attention whores will surface due to that fact
<ggreer> your behavior was rather inappropriate. treat people like people
yianna is now known as ykk
<badeball> ykk, ggreer: this is a textual media and that was a phun. don't make it more that that. I'm a fairly socially calibrated person, around both genders, so you have nothing to worry about.
<badeball> than that*
outoftime has quit [Quit: Leaving]
<ykk> awww well i don't mind, your intentions are understood so no worried hear. however its how your intentions were received by someone else that matters :P aannddd back to code talk
bantic has quit [Quit: bantic]
seydar has joined #ruby-lang
<seydar> i got an odd bug: http://pastie.org/6264235
<seydar> line 80, it just hangs
<seydar> i'm trying to implement ssl stripping
<seydar> it also hangs if i use gsub or anything else
<seydar> if i do any kind of alteration, it hangs on 99% of sites except for my test site (it's good that it works on my test site)
<seydar> however, as soon as i choose to alter something that contains http, the other thing fails
ykk has quit [Remote host closed the connection]
<seydar> at first i thought that maybe it's because i'm messing with the header information
<seydar> but it's not even making it that far
<seydar> it never even writes it to the wire
carloslopes has quit [Ping timeout: 276 seconds]
thufir_ has joined #ruby-lang
bzb has quit [Quit: Leaving]
nXqd has quit [Ping timeout: 276 seconds]
Averna has joined #ruby-lang
toretore has quit [Quit: Leaving]
QaDeS has quit [Quit: Ex-Chat]
drumsrgr1 has quit [Ping timeout: 240 seconds]
banisterfiend is now known as banister`sleep
seydar has quit [Quit: leaving]
kurko__ has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
wmoxam has quit [Ping timeout: 252 seconds]
ykk has joined #ruby-lang
nXqd has joined #ruby-lang
hahuang65 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
marr has quit [Ping timeout: 260 seconds]
mrsolo has quit [Quit: Leaving]
jgv has quit [Quit: Computer has gone to sleep.]
<zenspider> badeball, ggreer, ykk : thanks everyone
<zenspider> seydar: looking
KA_ has joined #ruby-lang
banister`sleep has quit [Read error: Connection reset by peer]
<KA_> help
<KA_> sorry
justinram has quit [Remote host closed the connection]
__butch__ has quit [Quit: Leaving.]
<zenspider> ykk btw machine code and (most) assembly code are 1:1 one is just more readable
<ykk> ok thank you
<ykk> researching google for creating an iso natively on mac, anyone know of a way? trying to make an iso of windows to run as vm
<zenspider> iso like a raw disk image?
<ykk> i guess so, if that's what's required with parallels or vmware, never did a vm before. guess i should look that up
<badeball> ykk: I think you can use hdiutil to create an iso image of a cd.
<ykk> i'll try it, it defaults to dmg but i'll give iso a shot
<zenspider> generally you grab an install CD image in iso form, nad then fire up parallels or vmware and they'll read it, but they maintain their own HD formats
<zenspider> CD or DVD I guess
<zenspider> iso doesn't care
nXqd has quit [Ping timeout: 260 seconds]
<ykk> yeah i'm working on creating the install CD image now
<zenspider> there are a number of recipes in homebrew that might also work... but yeah. Try disk utility first
<ykk> not sure it can be done natively on mac, won't save as iso lol might have to write a script for it
<zenspider> (hdiutil is a cmdline backend for most of disk utility)
<zenspider> what are you creating the iso from?
<ykk> retail cd
<ykk> via usb cd rom
<zenspider> any reason to not just use that?
<zenspider> once you get the install done, copy off the installed image to a master location and compress it
<zenspider> then you have a throw away windows box
amerine has quit [Quit: Computer has gone to sleep.]
apeiros_ has quit [Remote host closed the connection]
amerine has joined #ruby-lang
<badeball> with the cd available, I guess you could just dd if=/dev/<your drive> of=image.iso
<ykk> oh i can install off the cd-rom via parallels? vmware is free but parallels is pretty popular. should i go with parallels?
Nisstyre-laptop has quit [Quit: Leaving]
<zenspider> ykk: I'm not terribly fond of either
<zenspider> but yes, both will let you install from a physical cd
<zenspider> I prefer vmware a tad over parallels... the parallels support blows
<ykk> is there something you recommend? lol, all this for skyrim. need a break from learning here and there
<badeball> ykk: any reason for not dual booting?
<ykk> well that simplifies everything thanks zen
<ykk> yeah cause i like my developer workflow on mac better then windows
<ykk> so i wanna be able to load up skyrim or whatever win game in a windowed mode on my mac desktop
drumsrgr1 has joined #ruby-lang
<badeball> you can have two operating systems installed on the same computer, usually without any trouble
<zenspider> some of us consider rebooting trouble
iamjarvo has joined #ruby-lang
<badeball> that's the down side of it, yeah. on the other side, he'll probably have a smoother experience gaming in a non-virtual environment, depending on his hardware.
<badeball> (with smoother experience meaning higher output, performance)
<ykk> zenspider: lol
<badeball> ykk: there's lots of tutorials showing you how to install windows in parallell with your existing OS, if that's something that might be relevant. googling 'mac dual boot windows' seems to give relevant hits.
<ykk> thank you already installing :)
amerine has quit [Quit: Computer has gone to sleep.]
<zenspider> damnit... I don't remember ANY C++ anymore. :/
<zenspider> this isn't necessarily a bad thing... but I'm trying to build a really old project of mine and clang++ is a bit more strict
<zenspider> stupid templates
tylersmith has quit [Quit: tylersmith]
<ykk> ../console zen?
<zenspider> ?
banister`sleep has joined #ruby-lang
rsl has quit [Quit: Computer has gone to sleep.]
yobiflare has quit [Ping timeout: 255 seconds]
beho has quit [Remote host closed the connection]
jtoy has quit [Quit: jtoy]
<ykk> sorry forget it :P was trying to console not console haha
banister`sleep has quit [Read error: Connection reset by peer]
drumsrgr1 has quit [Ping timeout: 240 seconds]
<zenspider> I BEAT YOU C++! TAKE THAT!
apeiros_ has joined #ruby-lang
arubin has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
jonahR has joined #ruby-lang
thone has joined #ruby-lang
drumsrgr1 has joined #ruby-lang
nXqd has joined #ruby-lang
carloslopes has joined #ruby-lang
apeiros_ has quit [Ping timeout: 252 seconds]
thone_ has quit [Ping timeout: 255 seconds]
KA_ has quit [Quit: KA_]
lteo has quit [Ping timeout: 252 seconds]
KA_ has joined #ruby-lang
dankest has joined #ruby-lang
jtoy has joined #ruby-lang
KA_ has quit [Quit: KA_]
chendo_ has quit [Ping timeout: 256 seconds]
chendo_ has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
unix has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
kogent has quit [Quit: kogent]
<ykk> been at this for half an hour now. am getting no errors but it's not copying files from me desktop to the targ folder
<ykk> i left the comments from the author cause.. they are cute and funny
RORgasm has quit [Ping timeout: 272 seconds]
chendo_ has quit [Ping timeout: 240 seconds]
chendo_ has joined #ruby-lang
drumsrgr1 has quit [Ping timeout: 276 seconds]
<badeball> ykk: File#rename will only move a file, not copy it
<badeball> ykk: The call to Dir#chdir will change current directory to Desktop/Test/ and the next call to Dir#[] will look for files in Desktop/Test/Desktop/
srbaker has joined #ruby-lang
<ykk> oh
<ykk> gotcha
<ykk> gotta get recursive
<ykk> he wrote the program for windows
<ykk> durp
nXqd has quit [Ping timeout: 264 seconds]
srbaker has quit [Ping timeout: 264 seconds]
dankest has quit [Quit: Leaving...]
lteo has joined #ruby-lang
yobiflare has joined #ruby-lang
breakingthings has joined #ruby-lang
<breakingthings> anyone here know why I can't `require 'mymodule/myklass'`? I've seen other ruby gems on github doing this but for some reason I'm getting a LoadError instead...
<breakingthings> they're both inside mymodule/lib/mymodule/, so I'm not sure what's happening
<drbrain> did you add lib to your load path?
<drbrain> try ruby -I lib -r 'mymodule/myklass' -e0
nXqd has joined #ruby-lang
damienbrz has joined #ruby-lang
intellitech has quit [Quit: intellitech]
intellitech has joined #ruby-lang
cupakromer has joined #ruby-lang
<breakingthings> drbrain: looks like that worked… but I'm not supposed to need to do that every time, right?
<drbrain> breakingthings: every time
<drbrain> otherwise ruby doesn't know how to find your files
<breakingthings> I don't get how other gems aren't doing this
jtoy has quit [Quit: jtoy]
<breakingthings> cinch being my example here at least
<breakingthings> unless I missed something
<drbrain> they are, for local development
<breakingthings> oh
<drbrain> when running tests they tell the rake task
<breakingthings> so… when it's a gem that problem is no longer an issue?
<breakingthings> because rubygems is added to the path or something?
<drbrain> then the rake task runs something like 'ruby -I lib test/test_whatever.rb'
<drbrain> yes, rubygems adds your gem's lib/ to the load path
<breakingthings> hmm… that's interesting.
<breakingthings> Is there anywhere I should be putting the lib path to in any of the gem/rake files, or is it pretty much exclusive to when I need to run something
<drbrain> the default place for a gem is 'lib' so you don't need to specify it
damienbrz has quit [Remote host closed the connection]
<drbrain> if you put your files in a different directory you can set require_path to those directories
<drbrain> Rake::TestTask and rspec each have a different way of specifying where your files live
<breakingthings> hmm
<breakingthings> alright, that's… fair enough I guess.
<breakingthings> confusing still, but at least I know what to do now.
agile has quit [Ping timeout: 272 seconds]
carloslopes has joined #ruby-lang
<breakingthings> so… if I wanted to execute a script to test something in my gem, how would I go about doing that?
<drbrain> I run ruby -Ilib the_script.rb
<drbrain> but I write unit tests instead of throw away scripts
<breakingthings> i am writing unit tests but I wanted to test that I could actually run it because I was getting confused about something and realized I had a bunch of bits I didn't remember to require...
<drbrain> ah, ok
damienbrz has joined #ruby-lang
<breakingthings> I'm a teensy bit green with ruby so I'm sort of hitting the ground running, thinking too fast to stop and realize I'm doing something stupid :)
<drbrain> it's a common beginner question
sn0wb1rd has joined #ruby-lang
* breakingthings crosses fingers
<breakingthings> Well, more or less worked, though I screwed up the Ident
nXqd_ has joined #ruby-lang
lcdhoffman has joined #ruby-lang
BreakingBot has joined #ruby-lang
<breakingthings> hurrah
<breakingthings> it worked
BreakingBot has quit [Remote host closed the connection]
sepp2k1 has quit [Read error: Connection reset by peer]
nXqd has quit [Ping timeout: 252 seconds]
agile has joined #ruby-lang
dhruvasagar has joined #ruby-lang
pkrnj has joined #ruby-lang
geopet has joined #ruby-lang
geopet has quit [Client Quit]
nXqd_ has quit [Ping timeout: 255 seconds]
krz has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
<breakingthings> drbrain: thanks, by the by. You're probably the first one in any ruby channel to actually, y'know, help me out on simple questions.
<drbrain> np
<breakingthings> everybody else is dead.
nXqd has joined #ruby-lang
jonahR has quit [Quit: jonahR]
Banistergalaxy has quit [Ping timeout: 256 seconds]
tomzx_mac has joined #ruby-lang
jonahR has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
glebm has quit [Quit: Computer has gone to sleep.]
agile has quit [Remote host closed the connection]
nXqd has quit [Ping timeout: 255 seconds]
yobiflare has quit [Quit: Leaving]
soypirate has joined #ruby-lang
nXqd has joined #ruby-lang
jbsan has quit [Read error: Connection reset by peer]
drumsrgr1 has joined #ruby-lang
jbsan has joined #ruby-lang
nXqd has quit [Ping timeout: 272 seconds]
thufir_ has quit [Quit: Leaving.]
jonahR has quit [Quit: jonahR]
unix has quit [Ping timeout: 260 seconds]
rc- has joined #ruby-lang
sush24 has joined #ruby-lang
Drew has joined #ruby-lang
drumsrgr1 has quit [Ping timeout: 240 seconds]
Drew is now known as Guest50656
Guest50656 has left #ruby-lang [#ruby-lang]
bluepojo_ has joined #ruby-lang
wmoxam has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
bluepojo has quit [Ping timeout: 252 seconds]
bluepojo_ has quit [Ping timeout: 240 seconds]
drumsrgr1 has joined #ruby-lang
Myk267 has quit [Read error: Connection reset by peer]
akamike has quit [Read error: Operation timed out]
wycats__ has quit [Read error: Operation timed out]
akamike has joined #ruby-lang
methods has joined #ruby-lang
pkondzior__ has quit [Ping timeout: 248 seconds]
wycats__ has joined #ruby-lang
Guest85414 has quit [Ping timeout: 240 seconds]
chaosis has joined #ruby-lang
__BigO__ has joined #ruby-lang
<breakingthings> Anyone know of a more expressive way to accomplish this?
<breakingthings> 99 problems, use regex, now you have 100 problems, etc...
methods has left #ruby-lang [#ruby-lang]
<lianj> $1 ?
<lianj> msg = "PING roo"[/^PING (.*)$/, 1]; puts ...
<breakingthings> yeah you're right
gregmoreno has joined #ruby-lang
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
drumsrgr1 has quit [Ping timeout: 240 seconds]
lun_ has joined #ruby-lang
gregmoreno has quit [Ping timeout: 272 seconds]
lun_ has quit [Remote host closed the connection]
rking has joined #ruby-lang
apeiros_ has joined #ruby-lang
damienbrz has quit [Remote host closed the connection]
apeiros_ has quit [Ping timeout: 256 seconds]
soahccc has quit [Ping timeout: 252 seconds]
rc- has quit []
mistym has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
klebervi_ has quit [Remote host closed the connection]
klebervirgilio has joined #ruby-lang
damienbrz has joined #ruby-lang
klebervirgilio has quit [Ping timeout: 272 seconds]
gregmoreno has joined #ruby-lang
jfredee has joined #ruby-lang
dankest has joined #ruby-lang
twintail has joined #ruby-lang
__BigO__ has quit [Remote host closed the connection]
breakingthings has quit [Remote host closed the connection]
breakingthings has joined #ruby-lang
cupakromer has quit []
jfredee has quit [Remote host closed the connection]
arubin has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
robbyoconnor has joined #ruby-lang
rippa has joined #ruby-lang
Nisstyre-laptop has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 244 seconds]
amerine has joined #ruby-lang
nazty has quit [Read error: Connection reset by peer]
Nisstyre-laptop has joined #ruby-lang
twintail has quit [Quit: Leaving.]
mistym has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 245 seconds]
twintail has joined #ruby-lang
meise_ has joined #ruby-lang
retro|cz has quit [Ping timeout: 272 seconds]
sn0wb1rd has quit [Quit: sn0wb1rd]
meise has quit [Read error: Connection reset by peer]
sn0wb1rd has joined #ruby-lang
mistym has joined #ruby-lang
fsvehla has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
KA_ has joined #ruby-lang
nazty has joined #ruby-lang
noop has joined #ruby-lang
savage- has joined #ruby-lang
pkondzior__ has joined #ruby-lang
sush24 has joined #ruby-lang
Guest85414 has joined #ruby-lang
damienbrz has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
Mon_Ouie has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 276 seconds]
breakingthings has quit []
boytoy has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
<boytoy> currently doing this to remove crlf, trailing whitespace and replacing tabs with whitespaces -- sed 's/\r//; s/[[:space:]]\+$//; s/\t/ /g' $file
<boytoy> but on openbsd the first one -- s/\r// -- just removes all instances of the letter "r".. and s/\t/ /g just jumbles up all the letters, not entirely sure what's going on there.. i was thinking though.. maybe a ruby equivalent would be neater?
JohnBat26 has joined #ruby-lang
<boytoy> sec
<postmodern> bougyman, rstrip to remove trailing whitespace
<postmodern> arg
<postmodern> boytoy, #rstrip
<postmodern> boytoy, also try gsub("\t",' ')
<postmodern> boytoy, but for ruby regexps, checkout http://rubular.com/
lcdhoffman has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
<boytoy> postmodern: cool
<boytoy> postmodern: was gonna reiterate:
<boytoy> currently doing this to remove crlf, trailing whitespace and reducing multiple blank lines to one line -- sed 's/\r//; s/[[:space:]]\+$//; s/\t/ /g' $file | cat -s > $file.tmp -- but it doesn't work across platforms
<boytoy> how does this look instead? ruby -pe 'gsub(/\s+$/, $/)' $file | ruby -ne 'BEGIN{$\="\n"}; print $_.chomp' $file | cat -s > $file.tmp
<boytoy> was reading off http://reference.jumpingmonkey.org/programming_languages/ruby/ruby-one-liners.html .. rubular looks hot though.. nice
cordax has joined #ruby-lang
skade has joined #ruby-lang
__BigO__ has joined #ruby-lang
savage- has quit [Quit: savage-]
mantono has joined #ruby-lang
voker57 has quit [Read error: Connection reset by peer]
gregmoreno has joined #ruby-lang
bedouin is now known as delqn
apeiros_ has joined #ruby-lang
apeiros has joined #ruby-lang
apeiros_ has quit [Read error: Connection reset by peer]
gregmoreno has quit [Ping timeout: 255 seconds]
nobody__ has quit [Read error: Connection reset by peer]
cordax has quit [Quit: Computer has gone to sleep.]
lun_ has joined #ruby-lang
macmartine has joined #ruby-lang
nobody__ has joined #ruby-lang
ykk has quit [Remote host closed the connection]
apeiros has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 260 seconds]
ryanf has quit [Ping timeout: 240 seconds]
srbaker has joined #ruby-lang
dankest has quit [Quit: Leaving...]
srbaker has quit [Ping timeout: 276 seconds]
dankest has joined #ruby-lang
Wardrop has quit [Quit: wardrop]
vlad_starkov has joined #ruby-lang
dhruvasagar has joined #ruby-lang
heftig has quit [Quit: Quitting]
workmad3 has joined #ruby-lang
heftig has joined #ruby-lang
dankest has quit [Quit: Leaving...]
skade has quit [Quit: Computer has gone to sleep.]
QaDeS has joined #ruby-lang
ykk has joined #ruby-lang
__BigO__ has quit [Remote host closed the connection]
lun_ has quit [Remote host closed the connection]
twintail has quit [Quit: Leaving.]
macmartine has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Remote host closed the connection]
twintail has joined #ruby-lang
ykk has quit [Ping timeout: 248 seconds]
boytoy has quit [Quit: Lost terminal]
ryanf has joined #ruby-lang
sush24 has quit [Ping timeout: 256 seconds]
vmoravec has joined #ruby-lang
twintail has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
sush24 has joined #ruby-lang
brianpWins has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
Averna has quit [Quit: Leaving.]
twintail has joined #ruby-lang
<injekt> zenspider: I can be a dick at times, but I'm not *that* bad, especially to news :P
<injekt> newbs*
skade has joined #ruby-lang
srbaker has joined #ruby-lang
beho has joined #ruby-lang
mercwithamouth has quit [Ping timeout: 252 seconds]
KA_ has quit [Quit: KA_]
ykk has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
workmad3 has quit [Ping timeout: 252 seconds]
srbaker has quit [Ping timeout: 252 seconds]
twintail has quit [Quit: Leaving.]
KA_ has joined #ruby-lang
zmack has joined #ruby-lang
probst has joined #ruby-lang
solars has joined #ruby-lang
apeiros_ has joined #ruby-lang
jxie has quit [Quit: leaving]
ykk has quit [Ping timeout: 244 seconds]
jxpx777 has quit [Ping timeout: 272 seconds]
dankest has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
twintail has joined #ruby-lang
marr has joined #ruby-lang
kevinfagan has joined #ruby-lang
kevinfagan has quit [Client Quit]
lun_ has joined #ruby-lang
maxmanders has joined #ruby-lang
vlad_starkov has joined #ruby-lang
dc5ala has joined #ruby-lang
twintail has quit [Quit: Leaving.]
vlad_starkov has quit [Ping timeout: 240 seconds]
twintail has joined #ruby-lang
gnufied has joined #ruby-lang
ykk has joined #ruby-lang
jxweng has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mmuehlberger has joined #ruby-lang
lun_ has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
chekcmate has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
<chekcmate> hi
dankest has quit [Quit: Leaving...]
ykk has quit [Ping timeout: 252 seconds]
adambeynon has joined #ruby-lang
tbuehlmann has joined #ruby-lang
kevinfagan has joined #ruby-lang
xalei has joined #ruby-lang
cHarNe2 has joined #ruby-lang
<cHarNe2> i got both 1.8 and 1.9 installed, is there anything i need to know when installing gems? or does it install for both versions?
ylluminate has quit [Quit: Bye!]
dr_bob has joined #ruby-lang
KA_ has quit [Quit: KA_]
<andrewvos> cHarNe2: it installs for the cersion thats in your path
<andrewvos> version*
<andrewvos> that's
<andrewvos> *
ryanf has quit [Quit: leaving]
<cHarNe2> andrewvos: and if it's not im my path? i just use the path paramiter?
<andrewvos> cHarNe2: yeah okay
ottbot has joined #ruby-lang
swav has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
mmuehlberger has quit [Quit: mmuehlberger]
ykk has joined #ruby-lang
beho has quit [Remote host closed the connection]
swav has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
srbaker has joined #ruby-lang
kevinfagan has quit [Quit: Leaving...]
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
ykk has quit [Ping timeout: 256 seconds]
judofyr has joined #ruby-lang
srbaker has quit [Ping timeout: 244 seconds]
mmuehlberger has joined #ruby-lang
Nolic has quit [Ping timeout: 248 seconds]
noop has quit [Ping timeout: 252 seconds]
Mawk has quit [Quit: Mawk]
swav has quit [Remote host closed the connection]
thufir_ has joined #ruby-lang
Mawk has joined #ruby-lang
gustavnils has joined #ruby-lang
nXqd has joined #ruby-lang
soahccc has joined #ruby-lang
beho has joined #ruby-lang
twintail has quit [Quit: Leaving.]
ykk has joined #ruby-lang
noop has joined #ruby-lang
schaerli has joined #ruby-lang
beiter has joined #ruby-lang
twintail has joined #ruby-lang
beho has quit [Remote host closed the connection]
Nisstyre-laptop has quit [Ping timeout: 255 seconds]
<yorickpeterse> hello internet
vlad_starkov has quit [Remote host closed the connection]
ykk has quit [Ping timeout: 256 seconds]
swav has joined #ruby-lang
certainty has quit [Remote host closed the connection]
kevinfagan has joined #ruby-lang
<injekt> moin
certainty has joined #ruby-lang
<injekt> k so who wants to do my work for me today
gregmoreno has joined #ruby-lang
vlad_starkov has joined #ruby-lang
tbuehlmann has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
twintail has quit [Remote host closed the connection]
sush24 has quit [Quit: This computer has gone to sleep]
<yorickpeterse> if you pay me one million dollars
<yorickpeterse> errr, euros
<yorickpeterse> dollar is shite
gregmoreno has quit [Ping timeout: 252 seconds]
<injekt> i will take your first answer and pay you one million dorrars
GarethAdams has joined #ruby-lang
glebm has joined #ruby-lang
<yorickpeterse> You don't have one mirrion dorrars
<injekt> how do you know that
maxmanders has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> You're a programmer, not some Java consultant
<injekt> touche
maxmanders has joined #ruby-lang
<injekt> although I will be hiring soon, the wage will not be one mirrion dorrars
<yorickpeterse> I'm happy where I am :)
<injekt> it wasn't an offer, I know you don't like Rails
beiter_ has joined #ruby-lang
beiter has quit [Read error: Connection reset by peer]
beiter_ is now known as beiter
gnufied has quit [Quit: Leaving.]
<yorickpeterse> plot twist: I deal with Rails here too
rippa has joined #ruby-lang
<injekt> 'deal' as in use/write/maintain all day?
<yorickpeterse> pretty much
<yorickpeterse> though we luckily have plenty of non Rails stuff going on
<injekt> heh
<injekt> yeah me too
<injekt> sort of
<injekt> when I have time for it :/
sush24 has joined #ruby-lang
<yorickpeterse> whitequark: ping
ykk has joined #ruby-lang
gnufied has joined #ruby-lang
probst has quit [Quit: probst]
sush24_ has joined #ruby-lang
sush24 has quit [Ping timeout: 276 seconds]
ykk has quit [Ping timeout: 256 seconds]
noop has quit [Ping timeout: 256 seconds]
sharma__ has joined #ruby-lang
beho has joined #ruby-lang
sush24_ has quit [Ping timeout: 248 seconds]
chekcmate has quit [Ping timeout: 245 seconds]
baotrungtn has joined #ruby-lang
cultureulterior_ has joined #ruby-lang
tbuehlmann has joined #ruby-lang
noop has joined #ruby-lang
workmad3 has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
ruby-lang009 has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
ykk has joined #ruby-lang
Okosuta has joined #ruby-lang
nXqd has quit [Read error: Connection reset by peer]
glebm has joined #ruby-lang
nkr has joined #ruby-lang
Rizzle has quit [Read error: Connection reset by peer]
krz has quit [Quit: krz]
nkr has quit [Ping timeout: 244 seconds]
ykk has quit [Ping timeout: 252 seconds]
glebm has quit [Ping timeout: 240 seconds]
slyphon has quit [Quit: slyphon]
probst has joined #ruby-lang
klebervi_ has joined #ruby-lang
beiter has quit [Ping timeout: 240 seconds]
setmeaway2 has joined #ruby-lang
setmeaway has quit [Ping timeout: 272 seconds]
setmeaway has joined #ruby-lang
jxie has joined #ruby-lang
setmeaway2 has quit [Ping timeout: 272 seconds]
jxweng has quit [Ping timeout: 272 seconds]
toretore has joined #ruby-lang
glebm has joined #ruby-lang
Criztian has joined #ruby-lang
ddv has quit [Ping timeout: 240 seconds]
ddv has joined #ruby-lang
klebervi_ has quit [Read error: Connection timed out]
klebervi_ has joined #ruby-lang
jxweng has joined #ruby-lang
kgrz has joined #ruby-lang
klebervi_ has quit [Read error: Connection reset by peer]
klebervi_ has joined #ruby-lang
Stilo has joined #ruby-lang
ykk has joined #ruby-lang
lele|w has quit [Ping timeout: 264 seconds]
DefV has quit [Ping timeout: 264 seconds]
DefV has joined #ruby-lang
lele|w has joined #ruby-lang
chekcmate has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
glebm has joined #ruby-lang
ykk has quit [Ping timeout: 260 seconds]
beiter has joined #ruby-lang
jxie has quit [Quit: leaving]
* chekcmate will buy a tank soon.
<chekcmate> didn't know tanks were that affordable
<chekcmate> 25k€ für a fully restaurated BMP-1
<chekcmate> *for
robbyoconnor has quit [Ping timeout: 272 seconds]
noop has quit [Remote host closed the connection]
rippa has quit [Read error: Connection reset by peer]
rippa has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
jtoy has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
ashu has joined #ruby-lang
wmoxam has joined #ruby-lang
blacktulip has joined #ruby-lang
carloslopes has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
lcdhoffman has joined #ruby-lang
ruby-lang009 has quit [Ping timeout: 245 seconds]
MaddinXx has joined #ruby-lang
sepp2k has joined #ruby-lang
cHarNe2 has left #ruby-lang [#ruby-lang]
<badeball> chekcmate: yeah, it's really cool. amazing that you can buy stuff like that whenever they're replaced.
<badeball> chekcmate: beware of difficult and expensive maintenance, unless you're a mechanic and able to do it yourself or you're not planning to drive it.
<yorickpeterse> He'll just open source it and let others fix it
<badeball> World's Largest Private Collection of Historic Military Vehicle: http://youtu.be/YAHkEsyUpPE
ykk has joined #ruby-lang
<chekcmate> badeball: yea, I still got that dream to own a P-51 ^^
Mon_Ouie has quit [Quit: WeeChat 0.4.0]
<chekcmate> flyin over the pacific to my little island
agnitio has joined #ruby-lang
<chekcmate> don't wanna know the price though
<chekcmate> 51D goes for over a million
krz has joined #ruby-lang
<certainty> and that is a problem?
<ggreer> aren't mig-21s pretty cheap?
<certainty> ok maybe not this month, but next month. no problem :)
<chekcmate> yea, mig-19 too
agile has joined #ruby-lang
<chekcmate> certainty: wanna sponsor me? hah
glebm has quit [Quit: Computer has gone to sleep.]
<certainty> :)
<chekcmate> i'll sponsor you cookies in return
<chekcmate> and long hours of full-retard discussions
<certainty> i can have that for free over in #RubyOnRails :D
<chekcmate> aw i thought so ._.
<chekcmate> well... back to work it is~
Okosuta has quit [Read error: Connection timed out]
wmoxam has quit [Ping timeout: 252 seconds]
ykk has quit [Ping timeout: 252 seconds]
Okosuta has joined #ruby-lang
glebm has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
ashu has left #ruby-lang [#ruby-lang]
lcdhoffman has joined #ruby-lang
kgrz has quit [Read error: Connection reset by peer]
sharma__ has quit [Ping timeout: 256 seconds]
Okosuta has quit [Read error: Connection timed out]
drumsrgr1 has joined #ruby-lang
<yorickpeterse> Almost typed `git pull origin amsterdam`
dkannan has joined #ruby-lang
<yorickpeterse> well, `git pull origin amst` to be exact
sepp2k has quit [Remote host closed the connection]
sepp2k has joined #ruby-lang
ykk has joined #ruby-lang
dustint has joined #ruby-lang
workmad3 has quit [Ping timeout: 256 seconds]
workmad3 has joined #ruby-lang
dblack_ has joined #ruby-lang
sush24 has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
countdigi has quit [Ping timeout: 255 seconds]
countdigi has joined #ruby-lang
banister`sleep has joined #ruby-lang
baotrung_ has joined #ruby-lang
MaddinXx has quit [Remote host closed the connection]
baotrungtn has quit [Ping timeout: 256 seconds]
jxweng has quit [Ping timeout: 252 seconds]
jxweng has joined #ruby-lang
fsvehla has joined #ruby-lang
killfoo has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
lcdhoffman has quit [Quit: lcdhoffman]
glebm has joined #ruby-lang
seoaqua has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
darix has quit [Ping timeout: 264 seconds]
cschneid has quit [Ping timeout: 264 seconds]
<whitequark> yorickpeterse: pong
darix has joined #ruby-lang
darix has quit [Changing host]
darix has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
wmoxam has joined #ruby-lang
<yorickpeterse> ctcp timeout
<yorickpeterse> whitequark: so yesterday I realized that I'll probably need some sort of VM and a set of instructions for my linter (bear with me for a second)
vlad_starkov has joined #ruby-lang
<yorickpeterse> Because analysing raw AST is a fucking PITA due to all the weird things Ripper gives you
<yorickpeterse> Is there any universally agreed upon format for such instructions, and does Furnace provide something simple for this?"
<yorickpeterse> minus the quote
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse> The end idea is to then analyse those instructions instead of the AST
<yorickpeterse> This would also mean that instead of having 1 + N iterations of the entire AST (where N is the amount of analysis classes) I might be able to do it in only 2
vlad_starkov has joined #ruby-lang
<yorickpeterse> Though that doesn't per se need a VM + instructions
vlad_starkov has quit [Remote host closed the connection]
<whitequark> yorickpeterse: um what
<whitequark> Furnace indeed does feature a storage format for instructions, namely SSA
mistym has quit [Remote host closed the connection]
<whitequark> but SSA is best suited for analysis and optimization, not execution
rsl has joined #ruby-lang
<yorickpeterse> correct, which is what I'll be doing
<whitequark> well, then you're covered :)
<yorickpeterse> basically the tl;dr is: ASTs sucks for analysis
<whitequark> well not exactly
<yorickpeterse> How do I use the SSA? I don't think I found any docs for it
<yorickpeterse> (the one of Furnace)
<whitequark> HotSpot uses a "Sea of Nodes" approach, that is a combination of SSA and AST
<yorickpeterse> I should clarify: an AST generated using Ripper is a pita
<whitequark> but naïve AST analysis is hard, yes
<whitequark> ok
<yorickpeterse> Most recent gripe:
<yorickpeterse> [foo, bar] produces a completely different AST than [foo, *bar]
<yorickpeterse> From an execution point of view that makes sense, for analysis it's a pita
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
tomzx_mac has joined #ruby-lang
<whitequark> yorickpeterse: Foundry uses an AST preprocessing step for this stuff
<whitequark> though RP does produce very similar ASTs for these two cases
<yorickpeterse> I still need to figure out the ins and outs and see if it would actually help. Currently I have about 3 pages of paper written with pseudo operations but I haven't made a decision yet
<whitequark> whitequark@raidho:~/foundry/lib/foundry/lir/instructions (master){*}$ ls
<whitequark> allocate.rb check_arity.rb const_fetch.rb integer_op.rb ivar_store.rb resolve_closure.rb tuple_bigger.rb tuple_ref.rb
<whitequark> binding.rb check_block.rb const_ref.rb invoke.rb lvar_load.rb resolve_method.rb tuple_concat.rb tuple_slice.rb
<whitequark> branch_if.rb closure.rb define_method.rb ivar_load.rb lvar_store.rb trace.rb tuple.rb
<whitequark> that's more or less all what you need
<whitequark> (pull requests for love.rb accepted)
glebm has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> I think I managed to nail it down to about 5 operations
<whitequark> yorickpeterse: you can nail it down to two operations, function definition and function application ;)
<whitequark> but that doesn't necessarily make sense
<yorickpeterse> Well, I was thinking of add, get, set, pop and call
<whitequark> add? get? set? pop?
<yorickpeterse> add would create a placeholder for a variable, scope, etc. set is for setting the value, pop for removing it (basically Array#pop) and call for calling methods
<yorickpeterse> gimme a sec and I'll pastie my idea
<whitequark> meh, that would make your bytecode huge without any gain
<whitequark> overgeneralization
<whitequark> for example, `class A' would expand to tens, if not hundreds, of operations
<whitequark> what is worse, though, is that while denormalizing original operations to this low-level set of yours, you'll lose a lot of context that a linter is ought to track
<yorickpeterse> I was planning to do it in such a way that useful info isn't lost
<yorickpeterse> in essence it would turn into a single level AST without all the Ripper cruft
<whitequark> um, what?
<whitequark> single level AST?
<yorickpeterse> Just give me a minute, trying to fixs 10 things here at once
baotrung_ has left #ruby-lang [#ruby-lang]
dblack_ has quit [Quit: dblack_]
schaerli has quit [Remote host closed the connection]
tomzx_mac has quit [Ping timeout: 260 seconds]
unix has joined #ruby-lang
<yorickpeterse> Hm, now that I think of it (read: make a Gist of it) there are some issues with this when dealing with certain expressions
segy has quit [Quit: ZNC - http://znc.in]
<yorickpeterse> https://gist.github.com/YorickPeterse/ef935b53b9f973c938a5 something vaguely like this
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
drumsrgr1 has quit [Read error: Connection reset by peer]
KA_ has joined #ruby-lang
perry has quit [Quit: Leaving]
<yorickpeterse> My main motivation for something like this is that 1. Nested ASTs make for big stacktraces and in the current model it's not roflscale 2. It would decouple the analysis from the AST, meaning third-party code doesn't have to care if the AST changes (and it will)
seoaqua has quit [Ping timeout: 240 seconds]
<yorickpeterse> 3. Analysis code doesn't have to put up with Ripper's issues
retro|cz has joined #ruby-lang
<whitequark> yorickpeterse: first, don't do that 5-opcode-thing
<whitequark> it indeed is overgeneralization, has enormous cost, but what is the benefit?
<yorickpeterse> I wasn't going for exactly 5, that's just what I came up with so far
<whitequark> first you shove a lot of semantics into five opcodes, then you painfully take them apart back to get the original one
<whitequark> instead, make an opcode for each ruby core concept
<whitequark> I would only start to worry when there are more than fifty
<whitequark> next.
<whitequark> what you wrote indeed represents a stack-based bytecode
<whitequark> which is also known to be quite hard to analyze, and that's why (in part) SSA was created
<yorickpeterse> Out of curiosity, how does MRI handle the process of building definitions and execution? Does it have two iterations or does it do it in one go using look aheads
<yorickpeterse> Reason:
<yorickpeterse> if you have module A and B, A comes before B but references it that would lead to an error if you use a single iteration to do all the things
<yorickpeterse> To work around that I have 1 + N, 1 for the definitions and N for each analysis class
<yorickpeterse> This however can get slow very quickly depending on the amount of analysis and the AST size
<whitequark> the idea of SSA is to make everything explicit. If there's something defined, you assign it a name. If an operation alters processor's flags, you explicitly return a value for it.
<whitequark> hm
<yorickpeterse> I can do it in two iterations but that would require storing the definitions and such in some place (as is done now) and I have very mixed feelings about that
<whitequark> yorickpeterse: MRI doesn't? a constant literal is translated to a bytecode which at runtime looks up the constant in cref
<yorickpeterse> well, let me get an example
vlad_starkov has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
GarethAdams has quit [Remote host closed the connection]
<whitequark> yorickpeterse: I don't understand which behavior in MRI is not clear for you
banister`sleep has quit [Ping timeout: 272 seconds]
<yorickpeterse> For execution it's not a huge deal I suppose since it doesn't reach that code until actually executed
<yorickpeterse> But for analysis it would
<whitequark> yep
<yorickpeterse> and I don't want to end up basically writing Rubinius in MRI
* whitequark shrugs
* yorickpeterse probably isn't making a lot sense
<whitequark> a linter for a dynamic language like ruby is bound to include partial evaluation in some form or another
<whitequark> there is simply no way around it. If you do as little as look up a constant, you already do partial evaluation.
brain_shim has quit [Ping timeout: 272 seconds]
<yorickpeterse> There already is
<whitequark> the good news is that doing partial evaluation is a thousand times simpler than actually writing a ruby impl
<whitequark> you aren't bound by heap or runtime constraints; you can simply ignore cases too complex for you to analyze
marcostoledo has quit [Quit: Leaving...]
<whitequark> and you can significantly simplify a lot of behavior
<yorickpeterse> also doing that already :>
<yorickpeterse> (ignoring stuff, fucking lag)
<whitequark> well obviously
<whitequark> so, yes, you do need to perform two iterations.
<yorickpeterse> Biggest challenge is going to be return value detection
<whitequark> Foundry works in a very similar fashion
<whitequark> it has one iteration on the host system, corresponding to "compilation"
enebo has joined #ruby-lang
<whitequark> and then it has another "iteration" on the target system, corresponding to actual "execution"
<whitequark> yorickpeterse: first iteration shouldn't really perform a great deal of analysis. What you need is to expand stuff like class definitions, define_method, etc.
<whitequark> you will obviously need to error out sometimes, but it happens prior to analysis
<whitequark> mostly.
<yorickpeterse> whitequark: currently the first iteration only builds definitions
<yorickpeterse> and I want to keep it that way
<whitequark> yorickpeterse: its purpose is to build definitions (if I understand you correctly), yeah
<whitequark> but if you want to expand define_method, then you will have to handle it at that phase, too
<yorickpeterse> uuugh, meta programming
<yorickpeterse> that's on the "Fix this unless I kill myself" list
tonni has quit [Remote host closed the connection]
<whitequark> well, a ruby implementation in ruby which handles metaprogramming is something about 2KLOC
<yorickpeterse> Seeing how I can't accurately process string based eval calls I'm not sure about that whole bit
<yorickpeterse> unless I throw performance overboard
<whitequark> string based eval is seldom used outside of rails
<whitequark> yorickpeterse: you can also add a switch. -fmetaprogramming
<whitequark> *you can always
<whitequark> also the performance impact is not that huge. it will take some time, but probably not hours.
<yorickpeterse> For now it's on the backlog, return values is much more important
<whitequark> and you can cache results for vendored stuff like rails.
<whitequark> yorickpeterse: don't forget exceptions and LocalJumpError.
<whitequark> the latter is most important in conjunction with `yield'
nXqd has joined #ruby-lang
<whitequark> yorickpeterse: I recommend the LASER paper, and maybe DRuby paper may give you some insight
<whitequark> LASER indeed implements an interesting form of partial evaluation coupled with, AIUI, a variation of SSA.
xalei has quit [Remote host closed the connection]
ddv has quit [Ping timeout: 240 seconds]
ddv has joined #ruby-lang
srbaker has joined #ruby-lang
dblack_ has joined #ruby-lang
methods has joined #ruby-lang
tonni has joined #ruby-lang
srbaker has quit [Ping timeout: 244 seconds]
banister`sleep has joined #ruby-lang
dkannan has quit [Quit: dkannan]
mercwithamouth has joined #ruby-lang
beiter has quit [Ping timeout: 260 seconds]
schaerli has joined #ruby-lang
wmoxam has quit [Ping timeout: 260 seconds]
<cored> hello
slyphon has joined #ruby-lang
glebm has joined #ruby-lang
beiter has joined #ruby-lang
KA_ has quit [Quit: KA_]
KA_ has joined #ruby-lang
wmoxam has joined #ruby-lang
mistym has quit [Remote host closed the connection]
agnitio has quit [Ping timeout: 244 seconds]
KA_ has quit [Client Quit]
rippa has joined #ruby-lang
jxweng has quit [Quit: Lost terminal]
justinram has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
jonahR has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
outoftime has joined #ruby-lang
kogent has joined #ruby-lang
justinram has quit [Read error: Connection reset by peer]
justinram has joined #ruby-lang
yorickpeterse is now known as yorick-cowboty
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
yorick-cowboty is now known as yorick-cowboy
vlad_starkov has quit [Ping timeout: 260 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
<ykk> howdy
jxie has joined #ruby-lang
__BigO__ has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
<crankharder> zenspider: pretty sure I trolled inkject and epitron hard. glad you got it, they clearly didn't
<crankharder> i would've thought "rails on ruby" would've been a dead giveaway
<yorick-cowboy> Python On Rails
banister`sleep has left #ruby-lang [#ruby-lang]
banisterfiend has joined #ruby-lang
<banisterfiend> crankharder: wait, so you were trolling?
thufir_ has quit [Quit: Leaving.]
mistym has quit [Remote host closed the connection]
<banisterfiend> crankharder: in that case epitron had every right to be snarky to you, and you should petition zenspider to unban him :)
<zzak> damn i missed more irc drama
tonni has quit [Remote host closed the connection]
beho has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
methods1 has joined #ruby-lang
sush24 has joined #ruby-lang
_whitelogger has joined #ruby-lang
davidbalber|away is now known as davidbalbert
methods1 has quit [Client Quit]
<crankharder> that's oh so very out of context
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mssmirra has joined #ruby-lang
mssmirra has quit []
<banisterfiend> crankharder: basically zenspider thought epitron was being rude to a noob, but in reality he was just giving it back to a troll :) You should ask him to unban epitron
* crankharder isn't a politician
<injekt> crankharder: eh no.. zenspider thought you were a noob as did I
<injekt> which is WHY he banned epitron
davidbalbert is now known as davidbalber|away
<ykk> omg i lurv python on rails
<yorick-cowboy> crankharder: dat troll
davidbalber|away is now known as davidbalbert
kogent has quit [Quit: kogent]
<ykk> wait a minute.... there is no such thingie as python on rails... O_o
kogent has joined #ruby-lang
<workmad3> ykk: django? pylons?
<injekt> python on piles?
<workmad3> injekt: php on piles
<workmad3> injekt: python on prozac maybe? :)
<ykk> haha
justinseiter has joined #ruby-lang
<ykk> take my yaml and shove it in your rails :P
<ykk> that wasn't directed at anyone btw just rhymed
srbaker has joined #ruby-lang
<ykk> unless it made you feel warm and tingly, then it was meant for you
<whitequark> oh. JS: ("" ? 1 : 0) == 0
<whitequark> whereas ("a" ? 1 : 0) == 1
<injekt> uh, that's one of the more sane problems with js
KA__ has joined #ruby-lang
<badeball> whitequark: one could write books about type conversion in javascript. best to just avoid it.
<injekt> perl would do the same thing
<injekt> iirc as would php
<whitequark> injekt: that is not necessarily a good thing
<injekt> an empty value is falsly
<injekt> sure but it's not really one of the terrible reasons to dislike js
<injekt> there's so many others you could pick
<whitequark> ({})?1:0, etc
justinseiter has quit [Remote host closed the connection]
banisterfiend has quit [Remote host closed the connection]
<injekt> right...
srbaker has quit [Ping timeout: 256 seconds]
<whitequark> workmad3: I wonder if there's a person who didn't see that talk yet
<workmad3> whitequark: probably not
<workmad3> whitequark: but you were talking about js oddities :)
<whitequark> workmad3: this is one I didn't know about after working with JS for years
<whitequark> and it has just bitten my ass
<workmad3> fair enough :)
sailias has joined #ruby-lang
<whitequark> perl has its own share of string-related weirdness, ==/eq
<yorick-cowboy> whitequark: those issues are actually quite well known
cupakromer has joined #ruby-lang
<whitequark> yorick-cowboy: "quite well known" is subjective. One could argue that they are all described in the ES3 spec.
RORgasm has joined #ruby-lang
<whitequark> POLS or similar principles are subjective either, but they refer to a greater degree of verifiable internal consistency than "quite well known"
<whitequark> not that this discussion leads us anywhere
_whitelogger has joined #ruby-lang
<yorick-cowboy> whitequark: it is
<yorick-cowboy> under '11.9.3 The Abstract Equality Comparison Algorithm"
<yorick-cowboy> Not that JS is a good language though, it's pretty shit
<whitequark> yorick-cowboy: did you notice I wrote "they are all described in the ES3 spec" just a minute earlier?
<yorick-cowboy> Oh, I read "are not"
yorick-cowboy is now known as yorickpeterse
<whitequark> yorickpeterse: I suspected that
Nolic has joined #ruby-lang
chimkan has joined #ruby-lang
<yorickpeterse> Yeah, between IRC and trying to unfuck projects things get a bit confusing
RORgasm has quit [Remote host closed the connection]
probst has quit [Quit: probst]
wallerdev has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
mephux has quit [Excess Flood]
zmack has quit [Remote host closed the connection]
mephux has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
dr_bob has joined #ruby-lang
orluke has joined #ruby-lang
probst has joined #ruby-lang
probst has quit [Client Quit]
schaerli has quit [Remote host closed the connection]
sush24 has quit [Ping timeout: 252 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby-lang
x0F_ is now known as x0F
sush24 has joined #ruby-lang
priodev has quit [Ping timeout: 245 seconds]
Mizpah has joined #ruby-lang
chekcmate has quit [Quit: Page closed]
ryanv-raptor has joined #ruby-lang
lcdhoffman has joined #ruby-lang
anonymuse has joined #ruby-lang
priodev has joined #ruby-lang
jbsan has quit [Read error: Connection reset by peer]
io_syl has quit [Quit: Computer has gone to sleep.]
jbsan has joined #ruby-lang
apeiros_ has quit [Remote host closed the connection]
judofyr has quit [Remote host closed the connection]
gnufied has joined #ruby-lang
gregmoreno has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
Squarepy has joined #ruby-lang
Squarepy has quit [Changing host]
Squarepy has joined #ruby-lang
JohnBat26 has quit [Ping timeout: 240 seconds]
aedornv has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
heftig has joined #ruby-lang
chimkan has quit [Quit: chimkan]
robbyoconnor has joined #ruby-lang
nkr has joined #ruby-lang
S1kx has joined #ruby-lang
srbaker has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
mephux has quit [Excess Flood]
geopet has joined #ruby-lang
baustin has left #ruby-lang [#ruby-lang]
tylersmith has joined #ruby-lang
eydaimon has quit [Quit: WeeChat 0.3.9]
mephux has joined #ruby-lang
methods has joined #ruby-lang
beiter has quit [Quit: beiter]
Rizzle has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
dankest has joined #ruby-lang
KA__ has quit [Quit: KA__]
sush24 has quit [Ping timeout: 276 seconds]
dr_bob has joined #ruby-lang
mmuehlberger has quit [Quit: mmuehlberger]
francisfish has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
methods1 has joined #ruby-lang
methods has quit [Read error: Connection reset by peer]
dr_bob has left #ruby-lang [#ruby-lang]
cschneid has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
beho has joined #ruby-lang
__butch__ has joined #ruby-lang
dblack_ has quit [Quit: dblack_]
solars has quit [Ping timeout: 248 seconds]
carloslopes has joined #ruby-lang
<CoverSlide> !table
__butch__ has quit [Remote host closed the connection]
methods1 has left #ruby-lang [#ruby-lang]
zmack has joined #ruby-lang
agile has quit [Remote host closed the connection]
scampbell has joined #ruby-lang
bantic has joined #ruby-lang
scottschecter has quit [Quit: WeeChat 0.4.0]
__butch__ has joined #ruby-lang
schaerli has joined #ruby-lang
agile has joined #ruby-lang
skade has joined #ruby-lang
zmack has quit [Ping timeout: 246 seconds]
tbuehlmann has joined #ruby-lang
sduckett has quit [Disconnected by services]
sduckett has joined #ruby-lang
amerine has joined #ruby-lang
scottschecter has joined #ruby-lang
dankest has quit [Quit: Leaving...]
wmoxam has quit [Ping timeout: 260 seconds]
dblack_ has joined #ruby-lang
<injekt> oO
beiter has joined #ruby-lang
dc5ala has quit [Quit: Ex-Chat]
dankest has joined #ruby-lang
tomzx_mac has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
jxweng has joined #ruby-lang
banisterfiend has joined #ruby-lang
mmuehlberger has joined #ruby-lang
arvind has joined #ruby-lang
arvind has quit [Client Quit]
jxweng has quit [Remote host closed the connection]
madish has joined #ruby-lang
vlad_starkov has joined #ruby-lang
sn0wb1rd has joined #ruby-lang
io_syl has joined #ruby-lang
_whitelogger has joined #ruby-lang
wmoxam has joined #ruby-lang
brianpWins has joined #ruby-lang
tjgillies is now known as gillies
kevinfagan has quit [Quit: Leaving...]
banisterfiend has quit [Remote host closed the connection]
injekt has quit [Quit: leaving]
stonerfish has joined #ruby-lang
wmoxam has quit [Ping timeout: 252 seconds]
vesan has quit [Quit: leaving]
mmuehlberger has quit [Read error: Connection reset by peer]
mmuehlberger has joined #ruby-lang
dankest has quit [Quit: Leaving...]
nazty has quit [Read error: No route to host]
nazty has joined #ruby-lang
workmad3 has quit [Ping timeout: 264 seconds]
kogent has quit [Quit: kogent]
<kalleth> https://gist.github.com/anonymous/5fd7c22aa970e0ff429f - anyone know why shelling out to ffmpeg is complaining at no such file or directory?
Stilo has joined #ruby-lang
beiter has quit [Quit: beiter]
<zzak> kalleth: what happens when you use forward slashes instead?
enebo has quit [Quit: enebo]
<kalleth> zzak: same thing
r0bby has joined #ruby-lang
<zzak> hrm
richardjortega_ has joined #ruby-lang
mephux has quit [Excess Flood]
sikachu has joined #ruby-lang
jtoy has quit [Quit: jtoy]
sailias has quit [Ping timeout: 260 seconds]
ryanv-raptor has quit [Quit: Leaving.]
richardjortega has quit [Read error: Connection reset by peer]
richardjortega_ is now known as richardjortega
kennyvb has quit [Read error: Operation timed out]
totallymike has quit [Read error: Connection reset by peer]
nibbo has quit [Read error: Operation timed out]
jaska has quit [Read error: Operation timed out]
techlife has quit [Ping timeout: 256 seconds]
_protagoras271_ has quit [Remote host closed the connection]
tpope has quit [Read error: Operation timed out]
totallymike has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 256 seconds]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
mephux has joined #ruby-lang
jaska has joined #ruby-lang
tpope has joined #ruby-lang
sailias has joined #ruby-lang
nibbo has joined #ruby-lang
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
mmuehlberger has left #ruby-lang [#ruby-lang]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
justinram has quit [Remote host closed the connection]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
krz has quit [Quit: krz]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
forrest has joined #ruby-lang
techlife has joined #ruby-lang
kennyvb has joined #ruby-lang
sn0wb1rd has quit [Remote host closed the connection]
sn0wb1rd has joined #ruby-lang
dhruvasagar has joined #ruby-lang
swav has quit [Remote host closed the connection]
injekt has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
schaerli has quit [Remote host closed the connection]
BigFatFatty has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
mmuehlberger has joined #ruby-lang
spuk has joined #ruby-lang
davidbalbert is now known as davidbalber|away
bluepojo has joined #ruby-lang
cultureulterior_ has quit [Quit: cultureulterior_]
dankest has joined #ruby-lang
maxmanders has joined #ruby-lang
bantic has quit [Quit: bantic]
enebo has joined #ruby-lang
wmoxam has joined #ruby-lang
kiwnix has quit [Ping timeout: 276 seconds]
skade has quit [Ping timeout: 240 seconds]
skade has joined #ruby-lang
ottbot has quit [Ping timeout: 276 seconds]
jonahR_ has joined #ruby-lang
jtoy has joined #ruby-lang
llaskin has joined #ruby-lang
llaskin has quit [Changing host]
llaskin has joined #ruby-lang
<llaskin> why does this just do "nothing" https://gist.github.com/anonymous/6586facc7e79a35cf6f7 It returns that there were 0 tests etc....
sduckett has quit [Ping timeout: 252 seconds]
<sikachu> because it's a test setup.
<sikachu> am i seeing you just have `end` on line 30 that closes the class?
jonahR has quit [Ping timeout: 260 seconds]
jonahR_ is now known as jonahR
<sikachu> er … sorry, that didn't make any sense … i'm too sleepy today.
<sikachu> actually, are you sure that those test_* method are in your test class? it seems like they're not (from your gist)
lcdhoffman has joined #ruby-lang
<llaskin> LOL that might be it
<llaskin> it
<llaskin> lol thats so stupid of me
beiter has joined #ruby-lang
<sikachu> haha, sometimes you just need a third eyes for looking at your code. that's why it's good to do pairing :P
<certainty> i keep telling that my wife
<llaskin> we don't have such a thing as pairing here
<llaskin> its probably why I am still such a shitty rpogrammer
<llaskin> programmer
<certainty> it's overrated
baba has joined #ruby-lang
unix has quit [Ping timeout: 248 seconds]
<certainty> you're currently pairing with us :p
<zzak> sikachu: :D
<sikachu> :D
<llaskin> yes but you guys I have to censor stuff from
<sikachu> zzak: I spent 30 minutes trying back and forth to subscribe to ruby-core mailing list. turned out Gmail just decided that those emails are spam ...
<llaskin> sorta a pain in the tuchus sometimes
skepti has joined #ruby-lang
pr0ton has joined #ruby-lang
bantic has joined #ruby-lang
pcwormald has joined #ruby-lang
pcwormald has quit [Quit: TinyIRC 1.1]
<zzak> haha
<zzak> i still dont know how to subscribe to ruby-dev
pcwormald1 has joined #ruby-lang
pcwormald1 has left #ruby-lang [#ruby-lang]
pr0ton has quit [Quit: pr0ton]
<sikachu> and i keep putting 'subscribe' in the subject line as well ...
ryanv-raptor has joined #ruby-lang
ddv has quit [Changing host]
ddv has joined #ruby-lang
<sikachu> yeah, i finally got it
<sikachu> got in*
pkrnj has joined #ruby-lang
<sikachu> but like, i keep putting them into the subject line, and the auto-admin just ignored my emails ..
pr0ton has joined #ruby-lang
<zzak> it is confusing, confirmation is confusing too
<zzak> i understand it helps reduce spam but i am lazy
justinram has joined #ruby-lang
r0bby has quit [Ping timeout: 276 seconds]
mistym is now known as mistym_lunch
sduckett has joined #ruby-lang
injekt_ has joined #ruby-lang
injekt has quit [Read error: Operation timed out]
JMcAfreak has left #ruby-lang ["Still here. /msg me if you really really need me."]
lcdhoffman has quit [Quit: lcdhoffman]
davidbalber|away is now known as davidbalbert
sduckett has quit [Ping timeout: 276 seconds]
Myk267 has joined #ruby-lang
apeiros_ has joined #ruby-lang
skade has quit [Ping timeout: 240 seconds]
lcdhoffman has joined #ruby-lang
dankest has quit [Quit: Linkinus - http://linkinus.com]
havenwood has joined #ruby-lang
beiter has quit [Quit: beiter]
Qwak has joined #ruby-lang
sduckett has joined #ruby-lang
<yorickpeterse> whitequark: out of curiosity, does your Ruby implementation uses a stack or register based VM?
gix- has quit [Ping timeout: 240 seconds]
<whitequark> yorickpeterse: neither
<whitequark> it runs around interpreting AST, as ruby 1.8 did
<yorickpeterse> hm
<yorickpeterse> Seeing how my linter is currently stack based I'm trying to decide between the two
<yfeldblum> whitequark, that's for speed, right?
<whitequark> yfeldblum: that's because speed doesn't matter at that stage
<whitequark> and for yorickpeterse it probably won't matter much either
<whitequark> you see, SSA processing takes time... a fuckton of time, that is
<yorickpeterse> Correct, it's mostly for organization
<whitequark> if you've ever wondered why HotSpot doesn't immediately compile Java to native code: because that's slow.
<whitequark> really really slow
<yorickpeterse> Preferrably I'd go with what would result in the least fucked up code
<yfeldblum> whitequark, heh that wasn't a serious comment
<yfeldblum> whitequark, also i have no idea what you're working on
<yfeldblum> whitequark, ah yes i read that
gix has joined #ruby-lang
enebo has quit [Quit: enebo]
<yorickpeterse> So here's something I don't fully get. When using a register based VM, where would you get the register addresses from? Are these passed around after assignments?
<yorickpeterse> as in, `register_id = add_to_register(:derp)`
dankest has joined #ruby-lang
<whitequark> yea
skade has joined #ruby-lang
<whitequark> SSA is built this way too
<whitequark> re Furnace::SSA; I'm going to do a lot of work on it right the next week
<whitequark> that will probably include some docs on SSA and most importantly, refactoring of the Foundry::Type
srbaker has quit [Quit: Computer has gone to sleep.]
<whitequark> so you will probably want to wait until I'm done screwing up my code, and then I can explain you how to use F::SSA
<yorickpeterse> I was thinking of using my own code until I get a better understanding of what I actually need
<whitequark> mmm
<yorickpeterse> So regarding the register IDs, how would that be approached with lots of IDs in different locations? e.g.
<whitequark> the advantage of using LLVM SSA framework is that you cannot screw it up, which you will
<yorickpeterse> Say you have this: `a = 1; b = 2; ....lots of stuff here....; b`. Would you keep the register id for "b" all the way down until the last bit?
<whitequark> in fact I did either, which is why I threw out all of my code and just ripped off LLVM's stuff.
<whitequark> yorickpeterse: this very much depends on a particular kind of register VM you are going to use.
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse> Hm, what I don't want to end up with is storing data bidirectional which is what I have now
<yorickpeterse> I have a set of definitions and a dataset containing nodes and their corresponding definitions
apeiros_ has quit [Remote host closed the connection]
<yorickpeterse> that way you can access it using manual lookups or by using specific AST nodes
<yorickpeterse> but that's slow as balls and kills memory in the long term
maxmanders has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> plus it feels dirty
dblack_ has quit [Quit: dblack_]
skepti has quit [Quit: Leaving]
Squarepy has quit [Read error: Connection reset by peer]
tonni has joined #ruby-lang
apeiros_ has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
llaskin has left #ruby-lang [#ruby-lang]
<whitequark> yorickpeterse: elaborate?
<yorickpeterse> Right so in my case I bascially have two datasets at the moment: my AST and a set of definitions
<yorickpeterse> Initially when you wanted to analyze something you'd have to resolve the datatype and name yourself, which would lead to code duplication.
<yorickpeterse> To solve that I added a extra dataset called "node definitions". Basically this is a Hash containing certain nodes (e.g. classes) and their corresponding definitions
<yorickpeterse> that way you can basically do `node_definitions[node]` and boom, you're done
kgrz has joined #ruby-lang
<whitequark> for a linter, you have to store nodes anyway
<yorickpeterse> This however will lead to two datasets that are entangled and have to be stored in a central location which I prefer to get rid of for the sake of simplicity
pr0ton has quit [Ping timeout: 252 seconds]
adambeynon has joined #ruby-lang
mistym_lunch is now known as mistym
bantic has quit [Quit: bantic]
agile has quit [Remote host closed the connection]
intellitech has quit [Quit: intellitech]
enebo has joined #ruby-lang
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
mercwithamouth has quit [Ping timeout: 276 seconds]
nertzy2 has joined #ruby-lang
nertzy has quit [Ping timeout: 272 seconds]
skade has quit [Read error: Connection reset by peer]
rippa has quit [Ping timeout: 240 seconds]
maxmanders has joined #ruby-lang
bantic has joined #ruby-lang
Stilo has joined #ruby-lang
rockpapergoat has joined #ruby-lang
skade has joined #ruby-lang
agile has joined #ruby-lang
pr0ton has joined #ruby-lang
intellitech has joined #ruby-lang
Qwak has quit [Ping timeout: 260 seconds]
baba is now known as unix
dblack_ has joined #ruby-lang
schaerli has joined #ruby-lang
kgrz has quit [Quit: Computer has gone to sleep.]
beiter has joined #ruby-lang
Mizpah has quit [Ping timeout: 245 seconds]
postmodern has joined #ruby-lang
nkr has quit [Quit: Linkinus - http://linkinus.com]
vlad_starkov has joined #ruby-lang
<crankharder> does anyone know the how and the why of the testrb "-w" option not being present in 1.9.3 and if there is an equivalent way of changing the working directory?
kogent has joined #ruby-lang
holgerno has joined #ruby-lang
mercwithamouth has joined #ruby-lang
Graham_K has joined #ruby-lang
francisfish has joined #ruby-lang
scampbell has quit [Ping timeout: 264 seconds]
zmack has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 256 seconds]
davidbalbert is now known as davidbalber|away
davidbalber|away is now known as davidbalbert
mmuehlberger has quit [Quit: Bye, folks.]
agile has quit [Remote host closed the connection]
agile has joined #ruby-lang
benanne has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
holgerno has quit [Read error: Connection reset by peer]
holgerno has joined #ruby-lang
dyln has joined #ruby-lang
banisterfiend has joined #ruby-lang
<banisterfiend> .
Myk267 has quit [Read error: Connection reset by peer]
<dyln> what is the most succinct way to get all indices of instances of a certain value in an array. e.g. array = [1, 0, 0, 1, 0, 1], search for value 1 should return 0, 3, and 5.
kiwnix has joined #ruby-lang
<dyln> problem is that #index only returns index of first instance.
dblack_ has quit [Quit: dblack_]
brianpWins has quit [Quit: brianpWins]
tonni has quit [Remote host closed the connection]
<drbrain> dyln: how about [1, 0, 0, 1, 0, 1].each_with_index.select { |v, i| v == 1 }
<drbrain> you'll need to filter out the indexes as the result is: [[1, 0], [1, 3], [1, 5]]
intellitech has left #ruby-lang [#ruby-lang]
<dyln> drbrain: gotcha, that works
francisfish has quit [Remote host closed the connection]
<dyln> drbrain: thanks doc.
<drbrain> I'm not a real doctor
<drbrain> i just play one on the internet
<dyln> drbrain: don't worry, i wont tell anyone.
<drbrain> injekt_: ping
solars has joined #ruby-lang
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
srbaker has joined #ruby-lang
zmack has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
stonerfish has quit [Quit: Leaving.]
pasties has joined #ruby-lang
brianpWins has joined #ruby-lang
cirenyc has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
gustavnils has quit [Quit: Textual IRC Client: www.textualapp.com]
mephux has quit [Excess Flood]
mephux has joined #ruby-lang
Graham_K has left #ruby-lang [#ruby-lang]
carloslopes has joined #ruby-lang
dyln has quit [Remote host closed the connection]
Criztian has quit [Remote host closed the connection]
klebervi_ has quit [Remote host closed the connection]
klebervirgilio has joined #ruby-lang
klebervirgilio has quit [Read error: Connection reset by peer]
klebervirgilio has joined #ruby-lang
rockpapergoat has quit [Remote host closed the connection]
__BigO__ has quit [Remote host closed the connection]
carloslopes has quit [Ping timeout: 264 seconds]
stonerfish has joined #ruby-lang
kogent_ has joined #ruby-lang
klebervirgilio has quit [Ping timeout: 264 seconds]
cupakrom_ has joined #ruby-lang
kogent has quit [Ping timeout: 264 seconds]
kogent_ is now known as kogent
holgerno has quit [Quit: Leaving...]
Weems has quit [Read error: Connection reset by peer]
sikachu has quit [Quit: sikachu]
dyln has joined #ruby-lang
madish has quit [Quit: ChatZilla 0.9.90 [Firefox 16.0.1/20121026125834]]
cupakrom_ has quit []
priodev has quit [Ping timeout: 240 seconds]
cupakrom_ has joined #ruby-lang
cupakrom_ has joined #ruby-lang
Mon_Ouie has quit [Ping timeout: 260 seconds]
priodev has joined #ruby-lang
wardrop has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
dyln has quit [Ping timeout: 252 seconds]
ryanf has joined #ruby-lang
<zzak> zenspider: why you no source your site on github
tonni has joined #ruby-lang
cupakrom_ has quit []
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
dyln has joined #ruby-lang
bantic has quit [Quit: bantic]
sepp2k has quit [Ping timeout: 260 seconds]
lteo has quit [Changing host]
lteo has joined #ruby-lang
Y_Ichiro_ has quit [Ping timeout: 246 seconds]
sepp2k has joined #ruby-lang
tbuehlmann has joined #ruby-lang
Y_Ichiro has joined #ruby-lang
Y_Ichiro has quit [Changing host]
Y_Ichiro has joined #ruby-lang
davidbalbert is now known as davidbalber|away
sailias has joined #ruby-lang
havenwood has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
kogent has quit [Quit: kogent]
dyln_ has joined #ruby-lang
solars has quit [Ping timeout: 255 seconds]
injekt_ has left #ruby-lang [#ruby-lang]
unix has quit [Quit: WeeChat 0.4.0]
injekt has joined #ruby-lang
<injekt> drbrain: pong
stonerfish has quit [Quit: Leaving.]
glebm has joined #ruby-lang
dyln has quit [Ping timeout: 252 seconds]
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
apeiros_ has quit [Remote host closed the connection]
<drbrain> injekt: wrt YAML.load
<drbrain> #initialize isn't called
<drbrain> for YAML, in init_with
<drbrain> so you must pre-initialize variables you depend upon
<drbrain> in Marshal, marshal_load/marshal_dump handle this
<injekt> drbrain: I guess that makes sense, it's just confusing that I can see the ivars defined in the dump, is this documented? maybe i can help with that
<drbrain> injekt: Psych.load doesn't discuss it
sailias has quit [Quit: Leaving.]
<drbrain> it should probably go there or Psych.dump
<injekt> drbrain: It's weird I caught it with respond_to_missing is this so much a corner case
kogent has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
aedornv has quit [Quit: Leaving]
scottschecter has quit [Quit: WeeChat 0.4.0]
<drbrain> yeah, you would only hit it with Person.allocate.respond_to?
<injekt> ah of course
<injekt> drbrain: thanks for the clarification
<drbrain> which is exactly what Psych does
<drbrain> I am going to close this as rejected, is that ok?
<injekt> yup
outoftime has quit [Ping timeout: 260 seconds]
sailias has joined #ruby-lang
pkrnj has quit [Ping timeout: 264 seconds]
forrest has quit [Quit: Leaving]
<zzak> rdoc links, how do they work?
<injekt> magick
<drbrain> true fact
<drbrain> the extensive array of tests serve only to keep the magic working, not to explain it
<zzak> i currently dont know a way to link to a static file that works both in rdoc and on github
wmoxam has quit [Ping timeout: 255 seconds]
<drbrain> zzak: I think github uses rdoc 1.x-based processing code
<zzak> github suggestions [link: to/file]
sailias has quit [Client Quit]
<zzak> but this doesn't work with rdoc > 3.x
<zzak> it kills me that rake's readme direct links to the ./doc/* files on master branch
<zzak> and also there are broken links in rails/rails#readme
<drbrain> yeah, but I don't worry about it too much since ruby-doc.org is the primary place to read documentation from, github is for more for ruby contributors
mistym has quit [Remote host closed the connection]
<zzak> but anyone reading about Rake on there will be directed to master branch on github for the other static files
pkrnj has joined #ruby-lang
<drbrain> yeah :/
<zzak> not everyone is using master tho :(
<zzak> if only :rdoc-ref: worked on github
kogent has quit [Quit: kogent]
<zzak> drbrain: do you have any other ideas around this?
dankest has quit [Ping timeout: 248 seconds]
outoftime has joined #ruby-lang
<zzak> i dont even know if i'd consider it an rdoc bug
<drbrain> I don't think rdoc-ref can work on github, it won't know about --page-dir
<drbrain> I think a solution can be found, but I'm not sure what it would be at this time
<drbrain> I should probably make link: work better in the face of --root and --page-dir
<drbrain> I have a feeling that rdoc-ref is a poor design, but I haven't yet figured out a better way
davidbalber|away is now known as davidbalbert
Bosox20051 has joined #ruby-lang
<zzak> ok, if you think this is something rdoc might be able to solve i will open a ticket
<drbrain> great
ryanv-raptor has quit [Quit: Leaving.]
ykk has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
chendo_ has quit [Ping timeout: 260 seconds]
dankest has joined #ruby-lang
<zzak> drbrain: thanks!
chendo_ has joined #ruby-lang
blacktulip has quit [Remote host closed the connection]
outoftime has quit [Ping timeout: 276 seconds]
enebo has quit [Quit: enebo]
injekt has quit [Remote host closed the connection]
tylersmith has quit [Quit: tylersmith]
kvs has quit [Quit: ZNC - http://znc.in]
kvs has joined #ruby-lang
sepp2k has quit [Remote host closed the connection]
kogent has joined #ruby-lang
kogent has quit [Read error: Connection reset by peer]
kogent_ has joined #ruby-lang
tdy_ has quit [Quit: WeeChat 0.4.0]
gregmore_ has joined #ruby-lang
tdy_ has joined #ruby-lang
gregmoreno has quit [Ping timeout: 246 seconds]
outoftime has joined #ruby-lang
tbuehlmann has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
maxmanders has quit [Quit: Computer has gone to sleep.]
apeiros_ has joined #ruby-lang
chendo_ has quit [Ping timeout: 255 seconds]
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
outoftime has quit [Quit: Leaving]
chendo_ has joined #ruby-lang
chendo_ has joined #ruby-lang
sduckett has quit [Ping timeout: 240 seconds]
apeiros_ has quit [Ping timeout: 248 seconds]
tylersmith has joined #ruby-lang
dyln_ has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
jonahR has joined #ruby-lang