apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p195: http://ruby-lang.org (Ruby 1.9.3-p429) || Paste >3 lines of text on http://gist.github.com
torrieri_ has quit [Quit: Leaving...]
rickruby has joined #ruby-lang
srji has joined #ruby-lang
Kabaka has quit [Excess Flood]
DomKM has quit [Ping timeout: 246 seconds]
DomKM1 has joined #ruby-lang
<jroes> sweet
* jroes is excited to get rid of rmagick
Kabaka has joined #ruby-lang
<jroes> zenspider: I showed your refactor snippet to original author, he blames me of course because we were under time pressure :)
havenwood has joined #ruby-lang
brianpWins has joined #ruby-lang
srji has quit [Ping timeout: 248 seconds]
<zenspider> jroes: haha
<zenspider> um... PLT
<zenspider> seriously. owning up on your shit is the first step to developer maturity
<zenspider> image_science version 1.2.5 has been released! | software releases by ryan davis - http://t.co/dx1QQJymfV
<jroes> PLT?
<zenspider> parking lot therapy
<zenspider> hoe version 3.6.3 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/06/hoe-version-3-6-3-has-been-released.html
DomKM1 has quit [Quit: Leaving.]
DomKM has joined #ruby-lang
dingus_khan has joined #ruby-lang
<zenspider> vlad version 2.5.1 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/06/vlad-version-2-5-1-has-been-released.html
<zenspider> jroes: that's the source
dingus_khan has quit [Ping timeout: 246 seconds]
umttumt has quit [Remote host closed the connection]
DomKM has quit [Quit: Leaving.]
<zenspider> ruby2ruby version 2.0.6 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/06/ruby2ruby-version-2-0-6-has-been-released.html
hogeo has joined #ruby-lang
DomKM has joined #ruby-lang
marr has quit [Ping timeout: 256 seconds]
<zenspider> minitest version 5.0.5 has been released! | software releases by ryan davis - http://blog.zenspider.com/releases/2013/06/minitest-version-5-0-5-has-been-released.html
cored has quit [Ping timeout: 264 seconds]
rickruby has quit [Remote host closed the connection]
arubin has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
brownies has quit [Ping timeout: 256 seconds]
brownies has joined #ruby-lang
brownies has joined #ruby-lang
brownies has quit [Changing host]
sepp2k has joined #ruby-lang
cofin has joined #ruby-lang
gr4yscale has quit [Quit: Computer has gone to sleep.]
DomKM has quit [Quit: Leaving.]
kstuart has quit [Ping timeout: 260 seconds]
JpC0utur3 has quit [Ping timeout: 255 seconds]
JpC0utur3 has joined #ruby-lang
tylersmith has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
gregmoreno has quit [Read error: Operation timed out]
gr4yscale has joined #ruby-lang
Aaaarg has joined #ruby-lang
<zzak_> zenspider: gettin' real tired of your shit
gr4yscale has quit [Client Quit]
JpC0utur3 has quit [Ping timeout: 240 seconds]
<sn0wb1rdz> Is there a Ruby equivalent of python's sys.settrace()?
DomKM has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
JpC0utur3 has joined #ruby-lang
io_syl has quit [Ping timeout: 268 seconds]
towski has quit [Remote host closed the connection]
towski has joined #ruby-lang
mistym has joined #ruby-lang
jsullivandigs has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
towski has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby-lang
jsullivandigs has quit [Ping timeout: 248 seconds]
srji has joined #ruby-lang
pskosinski has quit [Ping timeout: 240 seconds]
bzalasky has quit [Remote host closed the connection]
<heftig> sn0wb1rdz: set_trace_func
srji has quit [Ping timeout: 248 seconds]
DomKM has quit [Quit: Leaving.]
brianpWins has quit [Quit: brianpWins]
Newbie0086 has joined #ruby-lang
<Newbie0086> morning
jstorimer has joined #ruby-lang
JpC0utur3 has quit [Ping timeout: 268 seconds]
JpC0utur3 has joined #ruby-lang
gregmoreno has joined #ruby-lang
jstorimer has quit [Ping timeout: 240 seconds]
cofin has quit [Quit: cofin]
Domon has joined #ruby-lang
brianpWins has joined #ruby-lang
ffio_ has joined #ruby-lang
ffio has quit [Ping timeout: 246 seconds]
havenwood has quit [Ping timeout: 240 seconds]
<Newbie0086> anyone here
sepp2k has quit [Quit: Leaving.]
dhruvasagar has quit [Read error: Operation timed out]
<Newbie0086> i want to ask a question
philnyc has quit [Remote host closed the connection]
<Newbie0086> when i install the Feed_Tools have some problem :
<Newbie0086> unable to convert "\xA6" from ASCII-8BIT to UTF-8 for lib/feed_tools/vendor/html5/testdata/encoding/chardet/test_big5.txt, skipping
<Newbie0086> when i require the feedtool,the program tips the feedtools cannot work
DomKM has joined #ruby-lang
havenwood has joined #ruby-lang
mucker has quit [Quit: Lost terminal]
cofin has joined #ruby-lang
nathanstitt has joined #ruby-lang
vlad_starkov has joined #ruby-lang
hashkey has quit [Ping timeout: 252 seconds]
hashkey has joined #ruby-lang
hashkey is now known as Guest44075
jackhammer2022 has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 246 seconds]
jstorimer has joined #ruby-lang
dingus_khan has joined #ruby-lang
wmoxam has joined #ruby-lang
io_syl has joined #ruby-lang
dingus_khan has quit [Ping timeout: 246 seconds]
jstorimer has quit [Remote host closed the connection]
anonymuse has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
mdedetrich has quit [Max SendQ exceeded]
mdedetrich has joined #ruby-lang
tejas has joined #ruby-lang
gja has quit [Ping timeout: 268 seconds]
DomKM has quit [Quit: Leaving.]
<jroes> is there a shortcut for .map.with_index.to_a ?
GeissT has joined #ruby-lang
srji has joined #ruby-lang
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krz has joined #ruby-lang
jstorimer has joined #ruby-lang
<havenwood> jroes: Hrm, maybe just: #each_with_index.to_a
KM has joined #ruby-lang
KM is now known as Guest49993
cirwin has joined #ruby-lang
Aaaarg has quit [Ping timeout: 246 seconds]
Aaaarg has joined #ruby-lang
mistym has quit [Remote host closed the connection]
lsegal` has joined #ruby-lang
ffio_ has quit [Quit: WeeChat 0.4.1]
srji has quit [Ping timeout: 248 seconds]
xxaM has quit [Ping timeout: 256 seconds]
kgrz has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
kstuart has joined #ruby-lang
ffio has joined #ruby-lang
ffio has quit [Client Quit]
gr4yscale has joined #ruby-lang
Guest44075 has quit [Quit: Leaving]
havenwood has quit [Remote host closed the connection]
kvs has quit [Read error: Connection reset by peer]
kvs has joined #ruby-lang
jackhammer2022 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
Aaaarg has quit [Quit: Aaaarg]
havenwood has joined #ruby-lang
wallerdev has joined #ruby-lang
ffio has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
kgrz has joined #ruby-lang
jackhammer2022 has joined #ruby-lang
kgrz has quit [Ping timeout: 246 seconds]
xxaM has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
mistym has joined #ruby-lang
wmoxam has quit [Ping timeout: 248 seconds]
dhruvasagar has quit [Ping timeout: 248 seconds]
wmoxam has joined #ruby-lang
dhruvasagar has joined #ruby-lang
jkyle has quit [Ping timeout: 256 seconds]
slowhands has quit [Quit: Computer has gone to sleep]
slowhands has joined #ruby-lang
dingus_khan has joined #ruby-lang
cofin has quit [Quit: cofin]
GarethAdams has quit [Read error: Connection reset by peer]
dingus_khan has quit [Remote host closed the connection]
verto has joined #ruby-lang
jkyle has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hogeo has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby-lang
ffio has joined #ruby-lang
Domon has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
JpC0utur3 has quit [Ping timeout: 248 seconds]
JpC0utur3 has joined #ruby-lang
hashkey has joined #ruby-lang
tomzx_mac has quit [Read error: Operation timed out]
Weems has joined #ruby-lang
shireesh has joined #ruby-lang
shireesh has quit [Read error: Connection reset by peer]
shireesh has joined #ruby-lang
jsullivandigs has joined #ruby-lang
DEac- has quit [Ping timeout: 264 seconds]
rippa has joined #ruby-lang
slowhands has quit [Quit: Computer has gone to sleep]
slowhands has joined #ruby-lang
tRAS has joined #ruby-lang
xxaM has quit [Read error: Connection reset by peer]
bzalasky has quit [Remote host closed the connection]
hhatch has joined #ruby-lang
slowhands has quit [Ping timeout: 246 seconds]
arubin has quit [Quit: Textual IRC Client: www.textualapp.com]
fosky has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
imajes has quit [Ping timeout: 248 seconds]
ffio has joined #ruby-lang
imajes has joined #ruby-lang
torrieri has joined #ruby-lang
x0f has quit [Ping timeout: 246 seconds]
macmartine has joined #ruby-lang
mradmacher has joined #ruby-lang
Oak has joined #ruby-lang
Oak has joined #ruby-lang
Oak has quit [Changing host]
x0f has joined #ruby-lang
JpC0utur3 has quit [Ping timeout: 246 seconds]
JpC0utur3 has joined #ruby-lang
x0f has quit [Ping timeout: 260 seconds]
x0f has joined #ruby-lang
bzalasky has joined #ruby-lang
dingus_khan has joined #ruby-lang
x0f has quit [Ping timeout: 246 seconds]
jackhammer2022 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
x0f has joined #ruby-lang
dingus_khan has quit [Ping timeout: 240 seconds]
dhruvasagar has quit [Ping timeout: 255 seconds]
hogeo has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
heftig has quit [Ping timeout: 245 seconds]
skade has joined #ruby-lang
heftig has joined #ruby-lang
hogeo has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
DomKM has joined #ruby-lang
Domon has joined #ruby-lang
relix has joined #ruby-lang
havenn_ has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
macmartine has quit [Quit: Computer has gone to sleep.]
jstorimer has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
justinmburrous has quit [Read error: Operation timed out]
DomKM has quit [Quit: Leaving.]
towski has joined #ruby-lang
ffio has joined #ruby-lang
gr4yscale has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
JpC0utur3 has quit [Ping timeout: 246 seconds]
vlad_starkov has joined #ruby-lang
JpC0utur3 has joined #ruby-lang
anonymuse has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
DomKM has joined #ruby-lang
bastilian has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
wallerdev has quit [Quit: wallerdev]
adambeynon has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
hashkey has quit [Ping timeout: 264 seconds]
xxaM has joined #ruby-lang
hashkey has joined #ruby-lang
hashkey is now known as Guest45972
havenwood has joined #ruby-lang
havenn_ has quit [Read error: Connection reset by peer]
mbj has joined #ruby-lang
gr4yscale has joined #ruby-lang
havenwood has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
towski has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
jstorimer has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
mbj has quit [Ping timeout: 246 seconds]
jstorimer has quit [Ping timeout: 260 seconds]
Guest45972 has quit [Ping timeout: 240 seconds]
Wardrop has quit [Quit: Wardrop]
anonymuse has quit [Remote host closed the connection]
dagobah has joined #ruby-lang
ffio has joined #ruby-lang
fbernier has quit [Ping timeout: 260 seconds]
anonymuse has joined #ruby-lang
dfdf has joined #ruby-lang
cirwin has quit [Quit: Leaving.]
bzalasky has joined #ruby-lang
swav has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
nivanson has joined #ruby-lang
solars has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
kgrz has joined #ruby-lang
mytrile has joined #ruby-lang
Averna has quit [Quit: Leaving.]
havenwood has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 264 seconds]
srji has joined #ruby-lang
havenwood has joined #ruby-lang
dfdf has quit [Remote host closed the connection]
skade has joined #ruby-lang
swav has joined #ruby-lang
fbernier has joined #ruby-lang
havenwood has quit [Ping timeout: 246 seconds]
DomKM has quit [Quit: Leaving.]
firstdayonthejob has quit [Quit: WeeChat 0.4.1]
jonahR has quit [Quit: jonahR]
Guest45972 has joined #ruby-lang
Guest45972 is now known as hashkey
mbj has joined #ruby-lang
Rizzle has quit [Read error: Connection reset by peer]
dfdf has joined #ruby-lang
Rizzle has joined #ruby-lang
vlad_starkov has joined #ruby-lang
melter has quit [Read error: Operation timed out]
melter has joined #ruby-lang
DEac- has joined #ruby-lang
Newbie0086 has quit [Quit: 离开]
<yorickpeterse> morning
torrieri has quit [Quit: Leaving...]
<Boohbah> how do i make decode recursive? http://pastie.org/8065609
jstorimer has joined #ruby-lang
swav has quit [Remote host closed the connection]
marr has joined #ruby-lang
Aaaarg has joined #ruby-lang
jstorimer has quit [Ping timeout: 255 seconds]
jinie_ is now known as jinie
<injekt> moin
elia has joined #ruby-lang
<rue> plous
Mon_Ouie has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
justinmburrous has joined #ruby-lang
justinmburrous has quit [Read error: Connection reset by peer]
ffio has quit [Quit: WeeChat 0.4.1]
justinmburrous has joined #ruby-lang
gnufied has joined #ruby-lang
tejas has quit [Quit: This computer has gone to sleep]
elia has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
swav has joined #ruby-lang
kgrz has joined #ruby-lang
tdy has quit [Ping timeout: 246 seconds]
cirwin has joined #ruby-lang
gja has joined #ruby-lang
gja has quit [Changing host]
gja has joined #ruby-lang
cirwin has quit [Ping timeout: 248 seconds]
tdy has joined #ruby-lang
gja has quit [Client Quit]
elia has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
torrieri has joined #ruby-lang
Criztian has joined #ruby-lang
_elia has joined #ruby-lang
mossplix has joined #ruby-lang
torrieri has quit [Ping timeout: 246 seconds]
elia has quit [Ping timeout: 268 seconds]
tRAS has joined #ruby-lang
ffio has joined #ruby-lang
elia has joined #ruby-lang
_elia has quit [Ping timeout: 246 seconds]
ia___ has joined #ruby-lang
MaddinXx has joined #ruby-lang
_elia has joined #ruby-lang
shireesh has quit [Quit: Leaving]
apeiros has joined #ruby-lang
elia has quit [Ping timeout: 268 seconds]
dfdf has quit [Remote host closed the connection]
Oak has quit [Ping timeout: 268 seconds]
jstorimer has joined #ruby-lang
elia has joined #ruby-lang
kstuart has quit [Ping timeout: 246 seconds]
_elia has quit [Ping timeout: 268 seconds]
jstorimer has quit [Ping timeout: 246 seconds]
GarethAdams has joined #ruby-lang
_elia has joined #ruby-lang
bastilian has quit [Ping timeout: 264 seconds]
Oak has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
elia has quit [Ping timeout: 268 seconds]
_elia has quit [Client Quit]
elia has joined #ruby-lang
vlad_starkov has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
GarethAdams|Work has joined #ruby-lang
GarethAdams|Work has quit [Remote host closed the connection]
stamina has joined #ruby-lang
injekt has quit [Read error: Operation timed out]
vlad_starkov has quit [Ping timeout: 268 seconds]
_elia has joined #ruby-lang
vlad_starkov has joined #ruby-lang
torrieri has joined #ruby-lang
elia has quit [Ping timeout: 255 seconds]
MartynKeigher has joined #ruby-lang
torrieri has quit [Ping timeout: 264 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
umttumt has joined #ruby-lang
elia has joined #ruby-lang
poga has joined #ruby-lang
Oak has quit [Remote host closed the connection]
ffio has joined #ruby-lang
_elia has quit [Ping timeout: 255 seconds]
poga has quit [Read error: Connection reset by peer]
poga has joined #ruby-lang
hogeo has joined #ruby-lang
<yorickpeterse> HEY GUYS
<yorickpeterse> Remember that one time I had to package stuff?
<yorickpeterse> One of the deps that I need to install is built using C++, Perl and Tcl
<yorickpeterse> with an unpacked size of 2.4GB
<yorickpeterse> and I need to somehow install that
<yorickpeterse> well, Tcl/tk actually
srji has quit [Ping timeout: 248 seconds]
gr4yscale has quit [Quit: Computer has gone to sleep.]
_elia has joined #ruby-lang
_elia has quit [Client Quit]
Aaaarg has quit [Ping timeout: 264 seconds]
<rue> Have you tried Maven? It usually downloads about that much
<darix> rue: lol
MaddinXx has quit [Remote host closed the connection]
fosky has quit [Ping timeout: 246 seconds]
<rue> I’m sure TCL is in there somewhere
_elia has joined #ruby-lang
<yorickpeterse> rue: yes? About 80% of this project uses Maven
elia has quit [Ping timeout: 255 seconds]
<darix> yorickpeterse: then be glad you didnt try to package maven. ;) that thing has tons of circular dependencies.
<yorickpeterse> actually the Java stuff has so far been the easiest
<yorickpeterse> since the JAR packaging works pretty well
Aaaarg has joined #ruby-lang
<yorickpeterse> haha, this crap even bundled precompiled versions of boost
<darix> o.O
<yorickpeterse> Hm, at least it's dynamically linked
<yorickpeterse> (http://www.let.rug.nl/vannoord/alp/Alpino/binary/ this is what I'm talking about btw)
<darix> yorickpeterse: wtf are you packaging there?
atmosx has joined #ruby-lang
<yorickpeterse> unicorns
_elia has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> this "binary" distribution also includes the raw source code so I have no idea what I can strip
<yorickpeterse> and the biggest files are (by the looks of it) MS Access databases
<yorickpeterse> (.tpl files)
torrieri has joined #ruby-lang
<yorickpeterse> at least Google says that's MS Access
<whitequark> yorickpeterse: $ file foo.tpl
<yorickpeterse> whitequark: "data"
<yorickpeterse> I'm well aware of `file`
<whitequark> yorickpeterse: also
<yorickpeterse> also wtf, there's a file called libtcl8.4.so.0
<whitequark> yorickpeterse: hm? so?
<whitequark> i.e what's the problem? :D
<yorickpeterse> WHY BUNDLE FUCKING TCL?
<yorickpeterse> it's not even used by the CLI stuff
<whitequark> SCIENCE IS ABOUT WHY NOT
<darix> yorickpeterse: for the same reason people bundle all kinds of shit in gems "to make it easier for (OSX) user to install it"
<yorickpeterse> AND IT EXPECTS TCL TO ALWAYS BE IN X
<yorickpeterse> GREAT
<darix> yorickpeterse: rpath set :)
<darix> you can edit that
<whitequark> darix: therubyracer also bundles libv8, that is, compiled
<yorickpeterse> rpath: command not found
umttumt has quit [Remote host closed the connection]
<darix> chrpath
<yorickpeterse> whitequark: wat
<darix> whitequark: that was one of my favorite examples.
<yorickpeterse> same
ffio_ has joined #ruby-lang
<yorickpeterse> ugghhh my head
ffio has quit [Ping timeout: 248 seconds]
<darix> yorickpeterse: chrpath is the tool you want.
<darix> whitequark: even that libv8 gem is silly
torrieri has quit [Ping timeout: 255 seconds]
jstorimer has joined #ruby-lang
<whitequark> what if... someone discovers a vulnerability in libv8
<yorickpeterse> WHY ARE THERE PDF FILES IN THIS TARBALL
<whitequark> and some bright mind decides to feed user-specified data to it?
<yorickpeterse> AND EPS FILES
<whitequark> yorickpeterse: DOCS
<yorickpeterse> AND GIFS
elia has joined #ruby-lang
<whitequark> yorickpeterse: AND MEMES
<darix> whitequark: many distros will ship an update for the system copy of libv8 then ... and suddenly all apps using libv8 have a secure copy without patching every intree copy. :)
<darix> whitequark: as i said the last time we had this discussion if the code would actually prefer the system copy over intree copies
<darix> i would be fine.
ffio_ has quit [Quit: WeeChat 0.4.1]
<whitequark> yeah yeah.
MaddinXx_ has joined #ruby-lang
<yorickpeterse> oh wow, our internet is actually decent today
<yorickpeterse> a whopping 800kb/sec
<darix> yorickpeterse: but be glad that they didnt use funny things like haskell or so to implement that stuff.
<yorickpeterse> Oh I'd much rather have Haskell than this shit
<yorickpeterse> I'd rather package just Haskell than Perl + Tcl/tk + god knows what else this shit uses
jstorimer has quit [Ping timeout: 240 seconds]
<darix> i meant additionally to all the things you package already. ;)
<whitequark> yorickpeterse: GHC's runtime is several hundred megabytes
<whitequark> (I wonder why?)
<yorickpeterse> For languages I can just say "install it yourself, get out"
<whitequark> languages are libraries :p
umttumt has joined #ruby-lang
<yorickpeterse> and nice, the version of Alpino for OS X is 3 years behind the Linux one by the looks of it
<yorickpeterse> ughh
<darix> doesnt ghc needs itself for building?
_elia has joined #ruby-lang
lsegal` has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
elia has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
ffio has joined #ruby-lang
hashkey has quit []
elia has joined #ruby-lang
srji has joined #ruby-lang
_elia has quit [Ping timeout: 240 seconds]
kgrz has quit [Remote host closed the connection]
poga has quit [Remote host closed the connection]
torrieri has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
injekt has joined #ruby-lang
Aaaarg has quit [Ping timeout: 260 seconds]
injekt has quit [Client Quit]
kgrz has joined #ruby-lang
torrieri has quit [Ping timeout: 246 seconds]
kgrz has quit [Remote host closed the connection]
_elia has joined #ruby-lang
Aaaarg has joined #ruby-lang
elia has quit [Ping timeout: 240 seconds]
Pupeno has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
elia has joined #ruby-lang
relix has joined #ruby-lang
_elia has quit [Ping timeout: 240 seconds]
_elia has joined #ruby-lang
atmosx has quit [Quit: And so the story goes…]
vlad_starkov has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
<yorickpeterse> haha this Tcl stuff is so fucking retarded
<yorickpeterse> HURRDURR IT'S ALWAYS IN /USR/SHARE/TCL RIGHT?
elia has quit [Ping timeout: 240 seconds]
umttumt has quit [Remote host closed the connection]
<rue> Quick, switch to lua
<yorickpeterse> Lua is actually an ok language
torrieri has joined #ruby-lang
torrieri has quit [Changing host]
torrieri has joined #ruby-lang
elia has joined #ruby-lang
hashkey has joined #ruby-lang
_elia has quit [Ping timeout: 240 seconds]
ffio has quit [Quit: WeeChat 0.4.1]
torrieri has quit [Ping timeout: 240 seconds]
doug_ has joined #ruby-lang
mikewintermute has joined #ruby-lang
doug_ has quit [Remote host closed the connection]
doug_ has joined #ruby-lang
doug_ has quit [Remote host closed the connection]
slipdigital has joined #ruby-lang
<PaulePanter> Hi. When I use `load `some_file.rb`, is the source just taken and “pasted” into the file?
elia has quit [Quit: Computer has gone to sleep.]
slipdigital has left #ruby-lang [#ruby-lang]
slipdigital has joined #ruby-lang
<PaulePanter> and can I use all variables in `some_file.rb` in the “main” fil?
<PaulePanter> +e
<PaulePanter> I always get an error: undefined local variable or method `as' for main:Object
mikewintermute has quit [Quit: mikewintermute]
umttumt has joined #ruby-lang
<PaulePanter> echo "i = 1" > a.rb
<whitequark> PaulePanter: no, it isn't; this is not PHP
<PaulePanter> load 'a.rb'
<PaulePanter> Then I cannot access i.
<PaulePanter> whitequark: Is the work around using @ in front of the variables?
<whitequark> do you actually understand how do variables work in ruby?
<PaulePanter> Probably not.
<lupine> in fairness, scope in ruby is not entirely obvious
<hashkey> PaulePanter: there are 4 kinds of variables in Ruby, $globalvariables, @@classvariables, @instancevariables, and localvariables.
<PaulePanter> hashkey: Ok. Thanks.
<PaulePanter> Would be nice to have some command just pasting in file contents though in my opinion.
<whitequark> no, it won't; this way you break encapsulation.
<whitequark> normally, lexical scope allows you to reason about your code _locally_; that is, you need to look, at most, at several enclosing scopes of identifier to understand if it's a local variable or function.
<whitequark> however, if you add as much as one such command, you broke the whole system. now, you have *no idea* if "foo" is a variable or method; you need to look through *all* code which can be loaded by such command to determine it
<whitequark> even worse if it's dynamic (e.g. accepts filename from command line); then it is simply not possible.
pskosinski has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
cirwin has joined #ruby-lang
torrieri has joined #ruby-lang
cirwin has quit [Ping timeout: 240 seconds]
torrieri has quit [Ping timeout: 248 seconds]
sepp2k has joined #ruby-lang
<yorickpeterse> I gave up on the Alpino shit
philnyc has joined #ruby-lang
<yorickpeterse> it doesn't even work with Tcl/tk 8.6 apparently
<yorickpeterse> and I can't install 8.4 since that conflicts
<whitequark> dat conflicts
verto has joined #ruby-lang
jstorimer has joined #ruby-lang
umttumt has quit [Remote host closed the connection]
slipdigital has quit [Remote host closed the connection]
jstorimer has quit [Ping timeout: 240 seconds]
slipdigital has joined #ruby-lang
Domon has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
ldnunes has joined #ruby-lang
Aaaarg has quit [Ping timeout: 264 seconds]
jxie has quit [Quit: leaving]
jstorimer has joined #ruby-lang
vlad_starkov has quit [Read error: Operation timed out]
tRAS has quit [Quit: Mother, did it need to be so high?]
enaqx has joined #ruby-lang
kvs has quit [Read error: Connection reset by peer]
Aaaarg has joined #ruby-lang
enaqx has quit [Client Quit]
enaqx has joined #ruby-lang
kvs has joined #ruby-lang
vlad_starkov has joined #ruby-lang
torrieri has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
torrieri has quit [Ping timeout: 252 seconds]
jinie is now known as jinie_
jondot has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
elia has joined #ruby-lang
yalue has joined #ruby-lang
cirwin has joined #ruby-lang
torrieri has joined #ruby-lang
jondot has quit [Ping timeout: 268 seconds]
cirwin has quit [Ping timeout: 268 seconds]
mossplix has quit [Quit: mossplix]
TvL2386 has joined #ruby-lang
jondot has joined #ruby-lang
s0ber has quit [Ping timeout: 240 seconds]
torrieri has quit [Ping timeout: 240 seconds]
Criztian has quit [Remote host closed the connection]
slipdigital has quit [Remote host closed the connection]
<zzak_> hi
carloslopes has joined #ruby-lang
jxpx777 has quit [Quit: Leaving...]
_elia has joined #ruby-lang
skyronic has joined #ruby-lang
elia has quit [Read error: Operation timed out]
krames has joined #ruby-lang
elia has joined #ruby-lang
vlad_starkov has quit [Write error: Broken pipe]
ebouchut has joined #ruby-lang
_elia has quit [Read error: Operation timed out]
torrieri has joined #ruby-lang
ffio has joined #ruby-lang
matthewd has quit [Ping timeout: 245 seconds]
_elia has joined #ruby-lang
thiagoborges has joined #ruby-lang
matthewd has joined #ruby-lang
torrieri has quit [Ping timeout: 256 seconds]
elia has quit [Read error: Operation timed out]
hashkey has quit [Ping timeout: 264 seconds]
hashkey has joined #ruby-lang
vlad_starkov has joined #ruby-lang
hashkey is now known as Guest82425
<yorickpeterse> TIL HTTPClient basically converts {:foo => [10]
<yorickpeterse> }
<yorickpeterse> to
<yorickpeterse> {:foo => "10"}
w00x has joined #ruby-lang
<yorickpeterse> BECAUSE THAT MAKES TOTAL SENSE
breakingthings has joined #ruby-lang
Weems has quit [Ping timeout: 260 seconds]
slipdigital has joined #ruby-lang
elia has joined #ruby-lang
asellus1 has quit [Quit: WeeChat 0.4.0]
asellus has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
JpC0utur3 has quit [Ping timeout: 264 seconds]
asellus has quit [Client Quit]
JpC0utur3 has joined #ruby-lang
zavier has joined #ruby-lang
_elia has quit [Ping timeout: 252 seconds]
Daniel has joined #ruby-lang
wmoxam has joined #ruby-lang
Daniel has quit [Remote host closed the connection]
Daniel has joined #ruby-lang
Daniel is now known as Guest60506
bgant has joined #ruby-lang
Guest60506 has quit [Client Quit]
hogeo has quit [Remote host closed the connection]
cofin has joined #ruby-lang
danielgong has joined #ruby-lang
joshuawscott has joined #ruby-lang
_elia has joined #ruby-lang
pipework has joined #ruby-lang
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
danielgong has quit [Remote host closed the connection]
philnyc has quit [Remote host closed the connection]
philnyc has joined #ruby-lang
elia has quit [Ping timeout: 252 seconds]
dhruvasagar has quit [Ping timeout: 264 seconds]
barttenbrinke has joined #ruby-lang
agile has joined #ruby-lang
stamina has quit [Ping timeout: 268 seconds]
philnyc_ has joined #ruby-lang
tomzx_mac has joined #ruby-lang
ditto572 has joined #ruby-lang
face has quit [Read error: Connection reset by peer]
face has joined #ruby-lang
elia has joined #ruby-lang
xxaM has quit [Quit: ZzZzZz]
face has quit [Client Quit]
<ericwood> seems legit
_elia has quit [Ping timeout: 252 seconds]
jstorimer has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
jondot has quit [Quit: This computer has gone to sleep]
jxweng has joined #ruby-lang
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
_elia has joined #ruby-lang
dhruvasagar has joined #ruby-lang
Squarepy has joined #ruby-lang
jxweng has quit [Client Quit]
jxweng has joined #ruby-lang
elia has quit [Ping timeout: 252 seconds]
jondot has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 246 seconds]
elia has joined #ruby-lang
jondot has quit [Ping timeout: 248 seconds]
jondot has joined #ruby-lang
_elia has quit [Ping timeout: 252 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
<cored> hello all, I'm having a weird issue instantiating a class here the definition of it -> https://gist.github.com/cored/5831331 and I'm creating the object with this -> https://gist.github.com/cored/5831334#file-exhibits_helper-rb-L6 but I always get ArgumentError: wrong number of arguments (2 for 0)
<cored> which I don't get why
torrieri has joined #ruby-lang
face has joined #ruby-lang
<cored> any suggestion?
_elia has joined #ruby-lang
<apeiros> works fine isolated.
<apeiros> so you either have the wrong code loaded/edited
<apeiros> or something overrides your initialize
<apeiros> also, you're aware that you can simply do: `case model; when Post …` ?
mistym has joined #ruby-lang
torrieri has quit [Ping timeout: 248 seconds]
<cored> apeiros: did not know that, will change it
elia has quit [Ping timeout: 252 seconds]
<cored> the wrong code loaded, let me check
nathanstitt has joined #ruby-lang
enebo has joined #ruby-lang
io_syl has joined #ruby-lang
elia has joined #ruby-lang
<apeiros> or your exception is about another piece of code :)
<cored> apeiros: I set a pry binding before the PictureExhibit cal
<cored> and whe I tried to initialize the object I get the same error
<cored> on another note there is no other piece of code defining that class
<cored> so there's just last explanation 'something is overriding my initialize'
<cored> which really I don't get how that could happen
_elia has quit [Ping timeout: 252 seconds]
bin7me has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cofin has quit [Quit: cofin]
smook4 has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
_elia has joined #ruby-lang
cofin has joined #ruby-lang
ditto572 has quit [Remote host closed the connection]
elia has quit [Ping timeout: 252 seconds]
jondot has quit [Ping timeout: 252 seconds]
jondot has joined #ruby-lang
enaqxx has joined #ruby-lang
enaqx has quit [Read error: Connection reset by peer]
GarethAdams has quit [Read error: Connection reset by peer]
<cored> apeiros: found the problem, it was my spec_helper I'm stubbing classes that doesn't exist and I was stubbing that two classes so they were already loaded when I get there so the constructor did not exist, thanks
elia has joined #ruby-lang
<yorickpeterse> so....can anybody recommend a library for processing xslt files?
<yorickpeterse> (I'm not doing drugs)
_elia has quit [Ping timeout: 252 seconds]
<whitequark> libxslt
<whitequark> also you do.
<yorickpeterse> I'm not :<
<yorickpeterse> I have tea
torrieri has joined #ruby-lang
_elia has joined #ruby-lang
torrieri has quit [Ping timeout: 252 seconds]
elia has quit [Read error: Operation timed out]
wallerdev has joined #ruby-lang
diddlybop has quit [Ping timeout: 268 seconds]
mikewintermute has joined #ruby-lang
jondot has quit [Ping timeout: 252 seconds]
pskosinski has quit [Ping timeout: 240 seconds]
jondot has joined #ruby-lang
pskosinski has joined #ruby-lang
elia has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 248 seconds]
GarethAdams has joined #ruby-lang
_elia has quit [Ping timeout: 252 seconds]
<ericwood> lol xslt
<ericwood> who the fuck thought XSLT was a good idea?
<ericwood> I want to know
<bgant> probably people who thought Lotus Notes and XML databases were a good idea
TvL2386 has quit [Quit: Ex-Chat]
<whitequark> ericwood: W3C?
cirenyc has joined #ruby-lang
<ericwood> ugh
enaqx has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
<ericwood> if I ever write XSLT for any reason, I'm relying on y'all to put me out of my misery
<ericwood> deal?
hhatch has quit [Read error: Operation timed out]
_elia has joined #ruby-lang
Guest82425 is now known as hashkey
elia has quit [Ping timeout: 264 seconds]
torrieri has joined #ruby-lang
torrieri has quit [Changing host]
torrieri has joined #ruby-lang
slipdigital has quit [Ping timeout: 248 seconds]
<whitequark> yea
<ericwood> you better not wimp out
elia has joined #ruby-lang
<yorickpeterse> apparently nokogiri does it too
pipework has quit [Remote host closed the connection]
torrieri has quit [Ping timeout: 245 seconds]
Aaaarg has quit [Ping timeout: 260 seconds]
_elia has quit [Ping timeout: 264 seconds]
ffio has quit [Quit: WeeChat 0.4.1]
GeissT has quit [Quit: MillBroChat AdIRC User]
<ericwood> yeah, libxml2 supports it
wallerdev has quit [Quit: wallerdev]
Squarepy has quit [Remote host closed the connection]
Aaaarg has joined #ruby-lang
_elia has joined #ruby-lang
elia has quit [Ping timeout: 264 seconds]
havenwood has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
cirenyc has quit [Quit: Leaving...]
swav has quit [Ping timeout: 268 seconds]
jMCg has joined #ruby-lang
<jMCg> hello happy people o/~
<darix> ericwood: libxslt supports it. which is used by nokogiri.
<ericwood> ah yeah
swav has joined #ruby-lang
marcostoledo has quit [Ping timeout: 255 seconds]
DomKM has joined #ruby-lang
mikewintermute has quit [Quit: mikewintermute]
elia has joined #ruby-lang
<cout> jMCg: happy _shiny_ people
<ericwood> yes
workmad3 has joined #ruby-lang
marcostoledo has joined #ruby-lang
gregmoreno has quit [Remote host closed the connection]
_elia has quit [Ping timeout: 264 seconds]
fedesilva has joined #ruby-lang
nivanson has quit [Ping timeout: 255 seconds]
<jMCg> I'm working on "improving" a piece of code ( https://github.com/igalic/r10k/tree/relative_moduledir ) - and I'm failing on ruby basics: http://apaste.info/3qIu -- can someone explain to me what I'm doing wrong here: https://github.com/igalic/r10k/blob/relative_moduledir/lib/r10k/module.rb with require and include and is_absolute? that I'm doing right here: https://github.com/igalic/r10k/blob/relative_moduledir/lib/r10k/puppetfile.rb
bzalasky has joined #ruby-lang
gnufied has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
<jMCg> cout: I.. I should take a shower to join _shiny_ people.
workmad3 has quit [Read error: Operation timed out]
swav has quit [Ping timeout: 256 seconds]
strmpnk has left #ruby-lang ["Leaving..."]
Voker57|2 has quit [Ping timeout: 246 seconds]
_elia has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 276 seconds]
swav has joined #ruby-lang
JpC0utur3 has quit [Ping timeout: 268 seconds]
JpC0utur3 has joined #ruby-lang
elia has quit [Ping timeout: 264 seconds]
ngw has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
mradmacher has quit [Quit: leaving]
swav has quit [Ping timeout: 264 seconds]
jonahR has joined #ruby-lang
Voker57|2 has joined #ruby-lang
bgant has quit [Quit: Leaving.]
mikewintermute has joined #ruby-lang
wallerdev has joined #ruby-lang
elia has joined #ruby-lang
jxie has joined #ruby-lang
vlad_starkov has joined #ruby-lang
_elia has quit [Ping timeout: 264 seconds]
elia has quit [Read error: Connection reset by peer]
cstrahan has joined #ruby-lang
<jMCg> deafening silence.
verto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
verto has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
gnufied has quit [Quit: Leaving.]
elia has joined #ruby-lang
andrewvos has joined #ruby-lang
krohrbaugh has joined #ruby-lang
<andrewvos> what's happening internet
krames has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> Friday.
krames has joined #ruby-lang
krohrbaugh has quit [Client Quit]
mikewintermute has quit [Quit: mikewintermute]
bgant has joined #ruby-lang
krohrbaugh has joined #ruby-lang
krames has quit [Client Quit]
swav has joined #ruby-lang
<jMCg> There is no such thing as "Friday" when you're freelancer. But there is Friday Kung-Fu-training which I do observe. So.. I'll be back.
<bgant> whoah… he knows kung-fu
<andrewvos> I am a freelancer
<andrewvos> And it's Friday
<andrewvos> You got to get your priorites straight
<jMCg> bgant: no, I don't - I'm still learning.
<jMCg> andrewvos: "I don't like Monday", but I'm kinda meh about Friday. I also like to have weekend on Wednesday.
<jMCg> anyway, off now, read you later o/~
<andrewvos> THERE'S A SNAKE ON YOUR HAND
krz has quit [Quit: krz]
ffio has joined #ruby-lang
apeiros has joined #ruby-lang
bin7me has quit [Quit: Verlassend]
pipework has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
io_syl has joined #ruby-lang
elia has quit [Ping timeout: 276 seconds]
pskosinski has joined #ruby-lang
jxweng has quit [Quit: Lost terminal]
Pupeno has quit [Read error: Operation timed out]
x0f has quit [Ping timeout: 240 seconds]
anonymuse has joined #ruby-lang
x0f has joined #ruby-lang
cofin has quit [Quit: cofin]
elia has joined #ruby-lang
dan|el has joined #ruby-lang
enebo has quit [Quit: enebo]
elia has quit [Ping timeout: 255 seconds]
__butch__ has joined #ruby-lang
ngw has quit [Quit: Bye!]
dagobah has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
elia has joined #ruby-lang
cirwin has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
cirwin has quit [Ping timeout: 264 seconds]
elia has quit [Quit: Computer has gone to sleep.]
hhatch has joined #ruby-lang
__butch__ has joined #ruby-lang
kuja has quit [Quit: ZNC - http://znc.sourceforge.net]
kennyvb_ has quit [Quit: ZNC - http://znc.in]
swav has quit [Remote host closed the connection]
kennyvb has joined #ruby-lang
kuja has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 248 seconds]
tylersmith has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
cofin has joined #ruby-lang
gregmoreno has joined #ruby-lang
jstorimer has joined #ruby-lang
andrewvos has quit [Ping timeout: 240 seconds]
towski has joined #ruby-lang
w00x has quit [Ping timeout: 255 seconds]
tkuchiki has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
justinmburrous has joined #ruby-lang
pbjorklund has quit [Read error: Operation timed out]
tkuchiki has quit [Ping timeout: 276 seconds]
dhruvasagar has joined #ruby-lang
tylergillies has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
pipework has quit [Remote host closed the connection]
<tylergillies> im trying to catch an exception in a library. the library uses a foo(bar) do |biz| whatever; end paradigm. It's raising an exception but i can't catch it by wrapping that callback with begin/rescue
<tylergillies> anyone have any ideas on how to solve that?
pipework has joined #ruby-lang
dan|el has left #ruby-lang [#ruby-lang]
pbjorklund has joined #ruby-lang
cofin has quit [Quit: cofin]
Pupeno has joined #ruby-lang
Pupeno has joined #ruby-lang
Pupeno has quit [Changing host]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
krohrbaugh has joined #ruby-lang
cirenyc has joined #ruby-lang
cirenyc has left #ruby-lang [#ruby-lang]
Pupeno has quit [Ping timeout: 264 seconds]
justinram has joined #ruby-lang
mrsolo has joined #ruby-lang
cirwin has joined #ruby-lang
JpC0utur3 has quit [Ping timeout: 240 seconds]
JpC0utur3 has joined #ruby-lang
philnyc_ has quit [Remote host closed the connection]
elia has joined #ruby-lang
brianpWins has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 255 seconds]
<bgant> tylergillies: where is the exception being raise? in the foo(bar) call or in the do / end block?
srji_ has joined #ruby-lang
<toretore> tylergillies: !gist the code
<toretore> oh, right, i'm not in #rubyonrails
cirwin has left #ruby-lang [#ruby-lang]
Nisstyre-laptop has joined #ruby-lang
bzalasky has joined #ruby-lang
Nisstyre-laptop is now known as Nisstyre
ffio_ has joined #ruby-lang
elia has quit [Ping timeout: 276 seconds]
srji has quit [Ping timeout: 248 seconds]
JpC0utur3 has quit [Ping timeout: 246 seconds]
ffio has quit [Ping timeout: 276 seconds]
JpC0utur3 has joined #ruby-lang
lcdhoffman has joined #ruby-lang
swav has joined #ruby-lang
<sn0wb1rdz> @heftig awesome thanks!
scottschecter has quit [Quit: WeeChat 0.4.0]
bzalasky has quit [Remote host closed the connection]
gr4yscale has joined #ruby-lang
workmad3 has joined #ruby-lang
swav has quit [Ping timeout: 276 seconds]
vlad_starkov has quit [Remote host closed the connection]
krames has joined #ruby-lang
swav has joined #ruby-lang
enaqx has quit [Ping timeout: 250 seconds]
smook4 has quit [Ping timeout: 255 seconds]
__butch__ has quit [Quit: Leaving.]
__butch__ has joined #ruby-lang
geopet has joined #ruby-lang
tRAS has joined #ruby-lang
x0f has quit [Ping timeout: 255 seconds]
x0f has joined #ruby-lang
bzalasky has joined #ruby-lang
scottschecter has joined #ruby-lang
x0f has quit [Ping timeout: 246 seconds]
ffio_ has quit [Quit: WeeChat 0.4.1]
x0f has joined #ruby-lang
zmike has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
zmike has quit [Client Quit]
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
gr4yscale has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
wmoxam has quit [Ping timeout: 246 seconds]
wmoxam has joined #ruby-lang
tRAS has quit [Read error: Connection reset by peer]
srji has joined #ruby-lang
Aaaarg has quit [Ping timeout: 276 seconds]
srji_ has quit [Ping timeout: 248 seconds]
Guest49993 has quit [Read error: Connection reset by peer]
x0f has quit [Ping timeout: 264 seconds]
x0f has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
gr4yscale has joined #ruby-lang
justinmburrous has quit [Remote host closed the connection]
Aaaarg has joined #ruby-lang
justinmburrous has joined #ruby-lang
smook4 has joined #ruby-lang
ffio has joined #ruby-lang
ia___ has quit [Ping timeout: 264 seconds]
cofin has joined #ruby-lang
havenwood has joined #ruby-lang
marcostoledo has quit [Ping timeout: 240 seconds]
havenwood has quit [Remote host closed the connection]
canton7 has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
amerine has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_starkov has joined #ruby-lang
bzalasky has joined #ruby-lang
marcostoledo has joined #ruby-lang
x0f has quit [Ping timeout: 276 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x0f has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
relix has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
enaqxx has quit [Ping timeout: 248 seconds]
relix has quit [Client Quit]
ia___ has joined #ruby-lang
mikewintermute has joined #ruby-lang
w00x has joined #ruby-lang
vlad_sta_ has quit [Ping timeout: 246 seconds]
verto has quit [Ping timeout: 246 seconds]
relix has joined #ruby-lang
hhatch has quit [Read error: Operation timed out]
relix has quit [Client Quit]
DomKM has quit [Quit: Leaving.]
x0f has quit [Ping timeout: 252 seconds]
justinmburrous has quit [Remote host closed the connection]
mike--- has joined #ruby-lang
x0f has joined #ruby-lang
JpC0utur3 has quit [Ping timeout: 255 seconds]
bzalasky has quit [Remote host closed the connection]
mossplix has joined #ruby-lang
JpC0utur3 has joined #ruby-lang
philnyc_ has joined #ruby-lang
bzalasky has joined #ruby-lang
philnyc_ has quit [Remote host closed the connection]
jaimef has quit [Ping timeout: 256 seconds]
srji has quit [Ping timeout: 248 seconds]
jaimef has joined #ruby-lang
mikewintermute has quit [Quit: mikewintermute]
x0f has quit [Ping timeout: 264 seconds]
mikewintermute has joined #ruby-lang
x0f has joined #ruby-lang
Weems has joined #ruby-lang
philnyc has quit [Remote host closed the connection]
jperry_ has quit [Remote host closed the connection]
jperry_ has joined #ruby-lang
philnyc has joined #ruby-lang
srji has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
x0f has quit [Ping timeout: 255 seconds]
jonahR has quit [Read error: Connection reset by peer]
publicvoid_ has joined #ruby-lang
jonahR has joined #ruby-lang
x0f has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
jperry_ has quit [Remote host closed the connection]
jperry_ has joined #ruby-lang
ffio has joined #ruby-lang
pskosinski has quit [Ping timeout: 240 seconds]
firstdayonthejob has joined #ruby-lang
pskosinski has joined #ruby-lang
mikewintermute has quit [Quit: mikewintermute]
Weems has quit [Ping timeout: 256 seconds]
tRAS has joined #ruby-lang
snarfmason has joined #ruby-lang
srji has quit [Ping timeout: 248 seconds]
symm- has joined #ruby-lang
srji_ has joined #ruby-lang
cjs226 has joined #ruby-lang
synthetix has joined #ruby-lang
tRAS has quit [Read error: Connection reset by peer]
symm- has quit [Ping timeout: 246 seconds]
sepp2k has quit [Read error: Operation timed out]
tRAS has joined #ruby-lang
DomKM has joined #ruby-lang
tRAS has quit [Read error: Connection reset by peer]
srji_ has quit [Ping timeout: 248 seconds]
tRAS has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
sepp2k has joined #ruby-lang
yalue has quit [Quit: Leaving]
srji has joined #ruby-lang
benanne has joined #ruby-lang
Nisstyre has quit [Quit: Leaving]
symm- has joined #ruby-lang
Aaaarg has quit [Ping timeout: 276 seconds]
brianpWins has quit [Quit: brianpWins]
Aaaarg has joined #ruby-lang
ffio has quit [Quit: WeeChat 0.4.1]
pipework has quit [Remote host closed the connection]
nivanson has joined #ruby-lang
wallerdev has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby-lang
Kabaka has quit [Ping timeout: 240 seconds]
pskosinski has quit [Ping timeout: 240 seconds]
bzalasky has joined #ruby-lang
havenwood has joined #ruby-lang
justinmburrous has joined #ruby-lang
mike--- has quit [Ping timeout: 276 seconds]
justinmburrous has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
pkrnj has joined #ruby-lang
Kabaka has joined #ruby-lang
mike--- has joined #ruby-lang
cjs226 has quit [Quit: cjs226]
vlad_starkov has joined #ruby-lang
<Aloysius1> Rspec stubs. How do they effin' work?
<apeiros> pixie dust
<Aloysius1> Need moar dust.
<Aloysius1> (Trying to figure out how to capture callback code in order to test it. Not having luck.)
jondot has quit [Ping timeout: 240 seconds]
pipework has joined #ruby-lang
Weems has joined #ruby-lang
Weems has quit [Changing host]
Weems has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
pipework has quit [Remote host closed the connection]
JpC0utur3 has quit [Ping timeout: 264 seconds]
JpC0utur3 has joined #ruby-lang
anonymuse has joined #ruby-lang
workmad3 has quit [Ping timeout: 255 seconds]
amerine has joined #ruby-lang
postmodern has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
brianpWins has joined #ruby-lang
pkrnj has quit [Ping timeout: 264 seconds]
mike--- has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
tRAS has quit [Quit: Mother, did it need to be so high?]
Nisstyre has joined #ruby-lang
elia has joined #ruby-lang
Sambalero has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
Sambalero has joined #ruby-lang
firstdayonthejob has quit [Quit: WeeChat 0.4.1]
anonymuse has quit [Remote host closed the connection]
Voker57|2 has quit [Ping timeout: 264 seconds]
wmoxam has quit [Ping timeout: 252 seconds]
kith_ is now known as kith
elia has quit [Ping timeout: 276 seconds]
arooni-mobile has joined #ruby-lang
elia has joined #ruby-lang
Voker57|2 has joined #ruby-lang
fedesilv_ has joined #ruby-lang
JpC0utur3 has quit [Ping timeout: 248 seconds]
JpC0utur3 has joined #ruby-lang
fedesilva has quit [Ping timeout: 264 seconds]
ldnunes has quit [Quit: Leaving]
pskosinski has joined #ruby-lang
<jMCg> I'm back from kung-fu and managed to shake off the snake. Unfortunately, I still don't know Ruby.
<jMCg> Can someone explain to me the difference between including Some::Module within a *module* and within a *class* ?
Wardrop has joined #ruby-lang
anonymuse has joined #ruby-lang
vbatts has quit [Remote host closed the connection]
Criztian has joined #ruby-lang
anonymuse has quit [Read error: Connection reset by peer]
<drbrain> there isn't a difference
anonymuse has joined #ruby-lang
jondot has joined #ruby-lang
anonymuse has quit [Remote host closed the connection]
JpC0utur3 has quit [Ping timeout: 256 seconds]
JpC0utur3 has joined #ruby-lang
rippa has quit [Ping timeout: 248 seconds]
wnd_ has left #ruby-lang [#ruby-lang]
wnd has joined #ruby-lang
wmoxam has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
injekt has joined #ruby-lang
jondot has quit [Ping timeout: 246 seconds]
bgant has quit [Quit: Leaving.]
Criztian has quit [Remote host closed the connection]
JpC0utur3 has quit [Ping timeout: 256 seconds]
JpC0utur3 has joined #ruby-lang
wmoxam has quit [Ping timeout: 256 seconds]
jondot has joined #ruby-lang
arooni-mobile has quit [Ping timeout: 256 seconds]
x0f has quit [Ping timeout: 255 seconds]
wmoxam has joined #ruby-lang
x0f has joined #ruby-lang
canton7 has joined #ruby-lang
firstdayonthejob has joined #ruby-lang
hahuang65 has joined #ruby-lang
dingus_khan has joined #ruby-lang
jondot has quit [Quit: Leaving]
<zenspider> rawr
dRbiG has quit [Ping timeout: 256 seconds]
justinmburrous has joined #ruby-lang
<injekt> precisely
Oloryn_lt2 has quit [Read error: Connection reset by peer]
<zenspider> yup yup
thiagoborges has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 240 seconds]
nathanstitt has quit [Quit: I growing sleepy]
cofin has quit [Quit: cofin]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
mikewintermute has joined #ruby-lang
breakingthings has quit [Quit: breakingthings]
bzalasky has quit [Remote host closed the connection]
enaqxx has joined #ruby-lang
w00x has quit [Ping timeout: 240 seconds]
bzalasky has joined #ruby-lang
pipework has joined #ruby-lang
enaqxx has quit [Read error: Connection reset by peer]
dRbiG has joined #ruby-lang
enaqxx has joined #ruby-lang
enaqxx has quit [Read error: No route to host]
krohrbaugh has quit [Quit: Leaving.]
smook4 has quit [Ping timeout: 255 seconds]
machuga is now known as machuga|away
joshuawscott has quit [Quit: joshuawscott]
geopet has quit [Quit: geopet]
solars has quit [Ping timeout: 255 seconds]
arooni-mobile has joined #ruby-lang
tww has joined #ruby-lang
sepp2k has quit [Quit: Leaving.]
enaqxx has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
lcdhoffman has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
<drbrain> jMCg: include only adds instance methods to the ancestors list
<drbrain> so is_absolute? does not exist in the scope you're calling from (module function)
bzalasky has joined #ruby-lang
tkuchiki has joined #ruby-lang
<jMCg> drbrain: what does "to the ancestors list" mean?
<drbrain> jMCg: the ancestors list is what ruby walks when it is looking up methods
lcdhoffman has quit [Quit: lcdhoffman]
<drbrain> so in my example when you call C#a it first looks in C, finds nothing, then in B, finds an implementation
tomzx_mac has joined #ruby-lang
<drbrain> then B supers so it goes next to A and finds an implementation
<jMCg> aah.. I think I remember this from nuklearsandwich's talk.
<jMCg> He explained ruby for beginners by how its OOP works.
<jMCg> Which was really enlightening, and it also reminded me a lot of Lua..
tkuchiki has quit [Ping timeout: 276 seconds]
lcdhoffman has joined #ruby-lang
<jMCg> drbrain: let me see if I can simplify my example and retrace it
<drbrain> jMCg: your problem is trying to call a method you added via include from a method that is "def self."
<drbrain> you can use extend instead to make it work like you expect or you can call it directly
<jMCg> drbrain: as in: Foo::Bar.method?
<drbrain> yes
<drbrain> I should have probably said something like "fully qualified" or "complete namespace"
<jMCg> Such a novel concept! I even use it in File.join, I wonder why I didn't think of that..
<drbrain> oh, I missed a detail
<drbrain> you'll need to module_function :is_absolute? where you define it for the full name to work
<jMCg> Do share, please!
lcdhoffman has quit [Client Quit]
<jMCg> hmm?
joshuawscott has joined #ruby-lang
* jMCg looks that up in the docs
<drbrain> I'm guessing R10K::Util::Path is bundle of utility methods
<drbrain> … methods that you send all the necessary arguments to
<drbrain> so module_function makes the instance method private and makes a class method copy
<drbrain> this allows you to use parts of the functionality from methods like R10K::Module::new without extending the …::Path atop R10K::Module (which I think is cleaner)
mbj has quit [Ping timeout: 268 seconds]
lcdhoffman has joined #ruby-lang
mrsolo has quit [Quit: Leaving]
<jMCg> drbrain: R10K::Util::Path is, like you say, a utility module, I don't quite see how making the instance methods private helps that.
GarethAdams has quit [Read error: Connection reset by peer]
<drbrain> it's the class method copy that is the important part
<drbrain> being private is a side effect that shouldn't bother your use
dingus_khan has quit [Remote host closed the connection]
brianpWins has quit [Quit: brianpWins]
justinram has quit [Remote host closed the connection]
lcdhoffman has quit [Client Quit]
benanne has quit [Quit: kbai]
lcdhoffman has joined #ruby-lang
<rickhull> having trouble with a regex, don't understand the non-match https://gist.github.com/rickhull/f7b43fac3344076d2242
<rickhull> the problem seems to be matching angle brackets <> i've tried escaping them
umttumt has joined #ruby-lang
<rickhull> oh shit
<rickhull> underscore, heh
nathanstitt has joined #ruby-lang
<canton7> rickhull, might be worth using \w or so, instead of specifying your own set of chars?
srji has quit [Ping timeout: 240 seconds]
<rickhull> i don't disagree
<canton7> that way you don't get caught out if another char ends up being allowed in that format
<rickhull> \w is word chars?
<rickhull> don't i still need to explicitly include underscore?
<canton7> yeah
<canton7> and no
alessandro1997 has joined #ruby-lang
<rickhull> how do you remember which puctuation type symbols are in \w ?
<canton7> \w is [a-zA-Z0-9_]
<rickhull> wow, you're fast xD
<canton7> \S is [^ \t\r\n\f]
Aaaarg has quit [Ping timeout: 276 seconds]
<rickhull> it still comes down to a brittle spec, one way or another
<rickhull> but yeah, i still don't disagree :p
<canton7> or if you know they're comma-separated, allow everything but commas :P
<eam> \w shouldn't be only [a-zA-Z0-9_], it should contain other unicode characters as well
lcdhoffman has quit [Quit: lcdhoffman]
<eam> ditto \s
<rickhull> ughnicode
<canton7> yeah, the doc page does say "the following metacharacters also behave like character classes:", emphasis on "behave like"
<eam> the parenthetical class definition in the doc is incomplete
tww has quit [Quit: tww]
<eam> if you care about the particulars you're better off using the posix character classes, which are well defined
Aaaarg has joined #ruby-lang
<eam> I suspect \w is defined in terms of them
<eam> oh wait, this doc says \w is ascii only
<eam> that's extremly odd
Asher has quit [Ping timeout: 246 seconds]
<eam> another place where ruby regex diverges from the pcre spec
lcdhoffman has joined #ruby-lang
<rickhull> i'm not sure PCRE should be the starting point for a regex engine anyhow http://swtch.com/~rsc/regexp/regexp1.html
<jMCg> drbrain: thanks a lot.!
<eam> rickhull: ruby's syntax is (or, was) pcre
Aloysius1 has quit [Remote host closed the connection]
<rickhull> right
<eam> rickhull: that link is implementation (vs syntax)
<rickhull> it's a question of allowing backreferences
<rickhull> as i read it
publicvoid_ has quit [Ping timeout: 255 seconds]
<eam> it's a matter of using the right engine for the right matching pattern
<eam> but that's implementation and not syntax
krames has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> stuff like "\w doesn't do unicode" is a definition problem
krohrbaugh has joined #ruby-lang
<rickhull> y
lcdhoffman has quit [Client Quit]
pskosinski has quit [Ping timeout: 240 seconds]
relix has joined #ruby-lang
firstdayonthejob has quit [Quit: WeeChat 0.4.1]
smook4 has joined #ruby-lang
DKnox has quit [Quit: Computer has gone to sleep.]
DKnox has joined #ruby-lang
synthetix has quit [Ping timeout: 246 seconds]
benten has joined #ruby-lang
<matti> ;]
bzalasky has quit [Remote host closed the connection]
smook4 has quit [Ping timeout: 255 seconds]
srji has joined #ruby-lang
firstdayonthejob has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mbj has joined #ruby-lang
cored has quit [Ping timeout: 248 seconds]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
io_syl has quit [Ping timeout: 246 seconds]
<heftig> eam: ruby regexes are not pcre
<heftig> eam: there are a lot of other differences, like how multiline mode behaves
Asher has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
krohrbaugh1 has quit [Client Quit]
gr4yscale has quit [Quit: Computer has gone to sleep.]
krohrbaugh has quit [Ping timeout: 240 seconds]
<heftig> >> /(a?){27}a{27}/.match("a"*27)[1]
<eval-in> heftig => negative string size (or size too big) (ArgumentError) ... (https://eval.in/34488)
<heftig> wtf
<zenspider> the 'wtf' is your regexp
<heftig> zenspider: isn't this some kind of internal error?
<heftig> even .inspect fails
<zenspider> "Maybe IRB bug!"
joshuawscott has quit [Quit: joshuawscott]
<zenspider> as far as the inspect goes
vlad_starkov has quit [Remote host closed the connection]
<heftig> >> /(a?){27}a{27}/.match("a"*27)
<eval-in> heftig => /tmp/execpad-5bf908da70c3/source-5bf908da70c3:1:in `inspect': negative string size (or size too big) (ArgumentError) ... (https://eval.in/34489)
<heftig> zenspider: has nothing to do with IRB
<zenspider> this looks like one of those "doc, it hurts when I do this" "then don't do that" type of things. that regexp is horrid
<rickhull> it's a pathological case for PCRE, from that link i posted, if i'm not mistaken
<heftig> actually, the pathological case would be:
<heftig> Regexp.new("a?"*27 + "a" * 27).match("a"*27)
<heftig> which matches very slowly
<zenspider> yup
<heftig> the regexp using {repetition} above is fast, but trying to access the second capture causes that ArgumentError
<heftig> 18>> /(a?){27}a{27}/.match("a"*27)
<eval-in> heftig => (https://eval.in/34490)
<heftig> 19>> /(a?){27}a{27}/.match("a"*27)
<eval-in> heftig => /tmp/execpad-25d1272ff2a6/source-25d1272ff2a6:7:in `inspect': negative string size (or size too big) (ArgumentError) ... (https://eval.in/34491)