apeiros changed the topic of #ruby-lang to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
vlad_starkov has quit [Ping timeout: 264 seconds]
pkrnj has joined #ruby-lang
kuja has joined #ruby-lang
symm-_ has joined #ruby-lang
symm-__ has joined #ruby-lang
symm- has quit [Ping timeout: 276 seconds]
symm-_ has quit [Ping timeout: 264 seconds]
retro|cz has joined #ruby-lang
jstorimer has joined #ruby-lang
hakunin has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
toretore has quit [Quit: Leaving]
nathanstitt has joined #ruby-lang
fooo has quit [Ping timeout: 256 seconds]
julweber has joined #ruby-lang
gregmoreno has quit [Read error: Connection reset by peer]
vilni has joined #ruby-lang
gregmore_ has joined #ruby-lang
gregmore_ has quit [Remote host closed the connection]
gregmore_ has joined #ruby-lang
_jpb_ has quit [Ping timeout: 248 seconds]
Cakey has joined #ruby-lang
_jpb_ has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
hakunin has joined #ruby-lang
julweber_ has joined #ruby-lang
benanne has quit [Quit: kbai]
ledestin has joined #ruby-lang
julweber has quit [Ping timeout: 264 seconds]
GarethAdams has quit [Quit: Leaving...]
Weems has quit [Ping timeout: 268 seconds]
Nisstyre has joined #ruby-lang
fragamus has joined #ruby-lang
ryez_ has joined #ruby-lang
<ryez_> my journalctl is spammed with lots of 'slim[288]: [16392:16392:0706/082942:ERROR:broker_process.cc(308)] Error reading message from the client: Bad file descriptor', and I wasn't making any change to slim stuff recently, any idea?
<ryez_> this is causing 100% cpu with systemd-journald
dingus_khan has joined #ruby-lang
symm- has joined #ruby-lang
<ryez_> oh, wrong channel, never mind
sstrickl has joined #ruby-lang
sstrickl has joined #ruby-lang
sstrickl has quit [Changing host]
symm-__ has quit [Ping timeout: 264 seconds]
jabon has joined #ruby-lang
_ffio_ has joined #ruby-lang
ffio_ has quit [Ping timeout: 264 seconds]
jstorimer has quit [Read error: Connection reset by peer]
xxaM has joined #ruby-lang
vilni has quit [Ping timeout: 268 seconds]
symm- has quit [Ping timeout: 268 seconds]
jabon has left #ruby-lang [#ruby-lang]
CheeseMccheese has joined #ruby-lang
arubin has quit [Quit: Computer has gone to sleep.]
havenwood has quit [Ping timeout: 268 seconds]
CheeseMccheese has left #ruby-lang [#ruby-lang]
Voker57|2 has quit []
tokyojones has joined #ruby-lang
tokyojones has quit [Client Quit]
jstorimer has joined #ruby-lang
havenwood has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
gregmore_ has quit [Ping timeout: 256 seconds]
dingus_khan has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
Tunechi has quit []
arooni-mobile__ has quit [Ping timeout: 248 seconds]
arooni-mobile has quit [Ping timeout: 268 seconds]
kstuart has joined #ruby-lang
lguardiola has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
scottschecter has quit [Ping timeout: 256 seconds]
jstorimer has quit [Remote host closed the connection]
jackhammer2022 has joined #ruby-lang
amerine has quit [Quit: Textual IRC Client: www.textualapp.com]
arubin has joined #ruby-lang
vlad_starkov has joined #ruby-lang
anjen has quit [Quit: anjen]
mdedetrich has joined #ruby-lang
io_syl has quit [Quit: io_syl]
vlad_starkov has quit [Ping timeout: 256 seconds]
scottschecter has joined #ruby-lang
pskosinski has quit [Quit: Til rivido Idisti!]
arooni-mobile has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
ledestin has quit [Quit: ledestin]
hogeo has joined #ruby-lang
tkuchiki has joined #ruby-lang
havenwood has joined #ruby-lang
andrewvos has quit [Ping timeout: 264 seconds]
Axsuul has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
Guest37668 is now known as heftig
thepumpkin has joined #ruby-lang
gregmoreno has joined #ruby-lang
<postmodern> not sure if anyone is interested
<postmodern> but there is a CTF this weekend, happening right now
<postmodern> the web-app challenges are all rack apps!
<postmodern> and they are really complex
wycats_ has joined #ruby-lang
netShadow has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
gregmoreno has quit [Ping timeout: 256 seconds]
UziMonkey___ has joined #ruby-lang
dingus_khan has joined #ruby-lang
bnagy has joined #ruby-lang
Guest85414__ has joined #ruby-lang
herpless___ has joined #ruby-lang
dingus_khan has quit [Ping timeout: 264 seconds]
julweber_ has quit [Remote host closed the connection]
CaptainJet_ has joined #ruby-lang
CaptainJet has quit [Disconnected by services]
arubin has quit [Quit: Computer has gone to sleep.]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
kstuart has quit [Ping timeout: 276 seconds]
ryez_ has quit [Quit: Page closed]
erichu has joined #ruby-lang
non-entity has joined #ruby-lang
dhruvasagar has joined #ruby-lang
CaptainJet_ has quit []
CaptainJet has joined #ruby-lang
dhruvasagar has quit [Remote host closed the connection]
verto has joined #ruby-lang
julweber has joined #ruby-lang
barttenbrinke has joined #ruby-lang
thebobalu has joined #ruby-lang
barttenbrinke has quit [Ping timeout: 264 seconds]
julweber has quit [Ping timeout: 256 seconds]
akurilin has joined #ruby-lang
<akurilin> Quick question. How do I find out where irb is looking when I make require calls?
<akurilin> Nvm, I switched the ruby symlink in /etc/alternatives but not irb's symlink, so it was still looking gems up in the 1.8.7 folder.
Sambalero has quit [Remote host closed the connection]
swygue has joined #ruby-lang
non-entity has quit [Ping timeout: 268 seconds]
_jpb_ has quit [Ping timeout: 276 seconds]
_jpb_ has joined #ruby-lang
GeissT has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
hashkey has quit []
non-entity__ has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
Cakey has quit [Ping timeout: 256 seconds]
postmodern has quit [Quit: Leaving]
Cakey has joined #ruby-lang
mdedetrich has joined #ruby-lang
TheNotary has quit [Quit: Leaving]
nathanstitt has quit [Quit: I growing sleepy]
pkuyken has left #ruby-lang [#ruby-lang]
havenwood has quit [Remote host closed the connection]
glebm has quit [Quit: Computer has gone to sleep.]
non-entity__ has quit [Quit: non-entity__]
chris2 has quit [Ping timeout: 245 seconds]
bcardarella has joined #ruby-lang
swygue has quit [Ping timeout: 248 seconds]
beawesomeinstead has joined #ruby-lang
cofin has joined #ruby-lang
akahn has joined #ruby-lang
headius has joined #ruby-lang
tylergillies has joined #ruby-lang
cored has quit [Ping timeout: 248 seconds]
Bwild has quit [Ping timeout: 240 seconds]
vlad_starkov has joined #ruby-lang
sstrickl has quit [Quit: sstrickl]
tenderlove has quit [Remote host closed the connection]
arubin has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
thebobalu has quit [Ping timeout: 268 seconds]
gregf has joined #ruby-lang
mytrile has joined #ruby-lang
stef_204 has joined #ruby-lang
randym_ has joined #ruby-lang
jackhammer2022 has quit [Quit: Computer has gone to sleep.]
vladgh has quit []
norplr_ has joined #ruby-lang
erichu has quit [Quit: erichu]
_jpb_ has quit [Ping timeout: 268 seconds]
dingus_khan has joined #ruby-lang
_jpb_ has joined #ruby-lang
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
skade has joined #ruby-lang
vivekrai_ has joined #ruby-lang
Cakey has quit [Ping timeout: 276 seconds]
jacknagel has joined #ruby-lang
Weems has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
postmodern has joined #ruby-lang
stef_204 has joined #ruby-lang
havenwood has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
_ffio_ has quit [Quit: WeeChat 0.4.1]
kgrz has joined #ruby-lang
tenderlove has joined #ruby-lang
saarinen has joined #ruby-lang
achiu1 has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
_jpb_ has quit [Ping timeout: 248 seconds]
samuelkadolph has quit [Quit: Quitting]
achiu has quit [Ping timeout: 248 seconds]
_jpb_ has joined #ruby-lang
samuelkadolph has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
jonahR has joined #ruby-lang
fosky has joined #ruby-lang
Sambalero has joined #ruby-lang
Oak has joined #ruby-lang
Oak has joined #ruby-lang
Oak has quit [Changing host]
julweber has joined #ruby-lang
saarinen has quit [Quit: saarinen]
ffio has joined #ruby-lang
havenwood has joined #ruby-lang
cofin has quit [Quit: cofin]
* Oak waves
skade has joined #ruby-lang
cofin has joined #ruby-lang
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
io_syl has joined #ruby-lang
netShadow has quit [Quit: netShadow]
mdedetrich has quit [Quit: Computer has gone to sleep.]
skade has quit [Quit: Computer has gone to sleep.]
jackhammer2022 has joined #ruby-lang
kgrz has quit [Remote host closed the connection]
Karql has quit [Ping timeout: 268 seconds]
Karql has joined #ruby-lang
achiu1 has quit [Quit: WeeChat 0.4.1]
achiu has joined #ruby-lang
hhatch has joined #ruby-lang
arooni-mobile__ has quit [Ping timeout: 268 seconds]
arooni-mobile has quit [Ping timeout: 276 seconds]
tomzx_mac has quit [Ping timeout: 248 seconds]
cofin has quit [Quit: cofin]
_jpb_ has quit [Ping timeout: 264 seconds]
_jpb_ has joined #ruby-lang
duph has quit [Quit: Leaving.]
ruurd has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
gja has joined #ruby-lang
arubin has quit [Quit: Computer has gone to sleep.]
thebastl has joined #ruby-lang
mistym has joined #ruby-lang
jackhammer2022 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
CaptainJet has quit []
HsadWobniar has joined #ruby-lang
kgrz has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
crackity_jones has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
kgrz has quit [Ping timeout: 268 seconds]
rickruby has joined #ruby-lang
rickruby has quit [Remote host closed the connection]
<HsadWobniar> What reasons might the core team have for not permitting this kind of invocation? https://gist.github.com/anonymous/a4bb112e09f8102a58e4
arooni-mobile__ has joined #ruby-lang
arooni-mobile has joined #ruby-lang
<Mon_Ouie> It's kinda funny that blocks are often cited as an awesome Ruby feature, while most people avoid using them whenever they get a chance.
kgrz has joined #ruby-lang
<gnufied> avoid using them?
<HsadWobniar> Blocks are awesome. It's just that it feels "off" somehow to open one up for the sake of being able to pass parameters to a method.
<Mon_Ouie> Using &:foo, &method(:bar) or what was shown in the above paste
solars has joined #ruby-lang
zmike123 has joined #ruby-lang
<Mon_Ouie> One reason would be that it requires to special case every single method. You can accomplish the same thing by defining an external method that will work everywhere
<Mon_Ouie> (I should stop calling the random files I create tmp, as I never delete them)
arooni-mobile__ has quit [Ping timeout: 268 seconds]
arooni-mobile has quit [Ping timeout: 264 seconds]
mistym has quit [Remote host closed the connection]
mdedetrich has joined #ruby-lang
setmeaway2 has quit [Read error: Connection reset by peer]
chris2 has joined #ruby-lang
rickruby has joined #ruby-lang
GarethAdams has joined #ruby-lang
GarethAdams has quit [Changing host]
GarethAdams has joined #ruby-lang
solars has quit [Ping timeout: 264 seconds]
GarethAdams has quit [Quit: Linkinus - http://linkinus.com]
crackity_jones has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
crackity_jones has joined #ruby-lang
skade has joined #ruby-lang
netShadow has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 264 seconds]
marr has joined #ruby-lang
zz_jinie is now known as jinie
mistym has joined #ruby-lang
crackity_jones has quit [Quit: Computer has gone to sleep.]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
hhatch has quit [Read error: Connection reset by peer]
hhatch has joined #ruby-lang
skade has joined #ruby-lang
Bwild has joined #ruby-lang
Guest__ has joined #ruby-lang
ruurd has quit [Read error: Connection reset by peer]
ruurd has joined #ruby-lang
Johz has joined #ruby-lang
GarethAdams has joined #ruby-lang
GarethAdams has quit [Changing host]
GarethAdams has joined #ruby-lang
rickruby has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
Weems has quit [Ping timeout: 276 seconds]
barttenbrinke has quit [Ping timeout: 264 seconds]
akurilin has quit [Ping timeout: 248 seconds]
ffio_ has joined #ruby-lang
ffio has quit [Ping timeout: 264 seconds]
marr has quit [Read error: Connection reset by peer]
skade has quit [Quit: Computer has gone to sleep.]
jxie has quit [Read error: Connection reset by peer]
jxie has joined #ruby-lang
<zenspider> what's the fastest prime check in ruby? it certainly isn't Prime.prime?(n)
rue_XIV has left #ruby-lang [#ruby-lang]
rue has joined #ruby-lang
<rue> zenspider: There was that one math extension lib
toretore has joined #ruby-lang
<zenspider> oh?
<zenspider> it's just killing me because the EXACT same code in mathematica runs in 0.36s and in ruby it is 30s... all I want is a clean and fast prime checker. I don't care how it works
<rue> zenspider: I think it was GMP bindings… and somebody did FFI version http://pastebin.com/8iR0KWYj
relix has joined #ruby-lang
kris has joined #ruby-lang
Cakey has joined #ruby-lang
<zenspider> silly russians
hhatch has quit [Read error: Connection reset by peer]
hhatch has joined #ruby-lang
<zenspider> I don't think I want to bother with GMP. :/
<gnufied> which uses Miller–Rabin primality test
<zenspider> wow. dzone just rapes ruby, doesn't it?
<zenspider> I was looking at a different sieve, but this one is smaller
Axsuul has quit [Ping timeout: 276 seconds]
<apeiros> zenspider: no inline-c prime version from you? :)
<whitequark> zenspider: GMP is your best bet...
<apeiros> or inline-asm even
<whitequark> apeiros: not much sense in doing inline asm. unless you're a wizard, a modern optimizing C compiler will translate it better.
<zenspider> gnufied: thanks.
thebastl has quit [Remote host closed the connection]
<zenspider> apeiros: unfortunately everything I'm doing is bignum and I just don't want the complexity in C
<apeiros> whitequark: na, zenspider is the author of inline-*, I wasn't entirely serious
julweber has quit [Remote host closed the connection]
jinie is now known as zz_jinie
skade has joined #ruby-lang
<apeiros> do sieves for bignums still work? I mean up to there your sieve is already huge, no?
<zenspider> ModMath.pow should be renamed Integer.power_mod
<zenspider> sure. but inclusion tests on bignums are still going to be faster
skade has quit [Client Quit]
julweber has joined #ruby-lang
<zenspider> holy fuck that's so much faster
mbj has joined #ruby-lang
postmodern has quit [Quit: Leaving]
<zenspider> 30s down to .9s. nice. thanks gnufied!
<gnufied> heh. it may not be entirely accurate. depends on value of k.
kris has quit [Quit: Leaving]
Johz has quit [Ping timeout: 240 seconds]
<zenspider> it is in my case
<gnufied> does anyone if there is a library to print call graph of ruby code ?
<gnufied> know*
<gnufied> not exactly for performance purpose, but rather just to understand flow of a complex code base
kgrz has quit [Remote host closed the connection]
<gnufied> ruby-prof seems to have one
io_syl has quit [Quit: io_syl]
Shaobing has joined #ruby-lang
poga has joined #ruby-lang
<zenspider> the google one is mostly about performance, but it is very illustrative at the same time
<zenspider> I'm not fond of the sizing thing they do to make performance bottlenecks stick out, but you still see the call relations
Guest__ has quit [Quit: Textual IRC Client: www.textualapp.com]
Shaobing has left #ruby-lang [#ruby-lang]
HsadWobniar has quit [Quit: Page closed]
hashkey has joined #ruby-lang
gja has quit [Quit: This computer has gone to sleep]
glebm has joined #ruby-lang
GarethAdams is now known as GarethAdams_
thebastl has joined #ruby-lang
GarethAdams_ has quit [Quit: Linkinus - http://linkinus.com]
benanne has joined #ruby-lang
mdedetrich has quit [Quit: Computer has gone to sleep.]
GarethAdams has joined #ruby-lang
pskosinski has joined #ruby-lang
mdedetrich has joined #ruby-lang
jonahR has quit [Quit: jonahR]
thebastl has quit [Remote host closed the connection]
marr has joined #ruby-lang
mbj_ has joined #ruby-lang
skade has joined #ruby-lang
hhatch has quit [Ping timeout: 264 seconds]
mbj has quit [Ping timeout: 248 seconds]
hhatch has joined #ruby-lang
skade has quit [Ping timeout: 264 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
mdedetrich has joined #ruby-lang
mdedetrich has quit [Client Quit]
Voker57 has joined #ruby-lang
poga has quit [Remote host closed the connection]
MaddinXx has joined #ruby-lang
maxmanders has joined #ruby-lang
Johz has joined #ruby-lang
maxmanders has quit [Ping timeout: 264 seconds]
mistym has quit [Remote host closed the connection]
fosky has quit [Ping timeout: 264 seconds]
zmike123 has quit [Ping timeout: 276 seconds]
marr has quit [Ping timeout: 268 seconds]
swygue has joined #ruby-lang
vlad_starkov has joined #ruby-lang
charliesome has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 248 seconds]
zmike123 has joined #ruby-lang
ffio_ has quit [Ping timeout: 264 seconds]
Johz has quit [Ping timeout: 240 seconds]
xxxaM has joined #ruby-lang
retro|cz has quit [Ping timeout: 264 seconds]
ffio_ has joined #ruby-lang
xxaM has quit [Ping timeout: 256 seconds]
postmodern has joined #ruby-lang
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
netShadow has quit [Quit: netShadow]
relix has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
workmad3 has joined #ruby-lang
mbj_ is now known as mbj
jstorimer has joined #ruby-lang
thepumpk_ has joined #ruby-lang
thepumpkin has quit [Ping timeout: 264 seconds]
fushi has joined #ruby-lang
jxie has quit [Quit: leaving]
jstorimer has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
xxxaM has left #ruby-lang [#ruby-lang]
xxaM has joined #ruby-lang
sepp2k has joined #ruby-lang
shinh has quit [Quit: Tiarra 0.1+svn-35634: SIGINT received; exit]
shinh has joined #ruby-lang
julweber has quit [Remote host closed the connection]
_jpb_ has quit [Remote host closed the connection]
_jpb_ has joined #ruby-lang
postmodern has quit [Quit: Leaving]
ffio_ has quit [Quit: WeeChat 0.4.1]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
swav has quit [Remote host closed the connection]
<charliesome> hey whitequark
<charliesome> in ruby's readme, it claims "* Simple Syntax"
mbj has quit [Ping timeout: 256 seconds]
<whitequark> (╯°□°)╯︵ ┻━┻
mbj has joined #ruby-lang
<GarethAdams> ┬─┬ノ( º _ ºノ)
havenwood has quit [Remote host closed the connection]
<FiXato> ┌(・。・)┘ ♪ └(・。・)┐ ♪ ┌(・。・)┘
<yorickpeterse> morning nerds
<yorickpeterse> what a wonderful day it is. Time to sit inside and code
<FiXato> I prefer the term geek
<oddmunds> yeah, i've got shit to do, time to procrastinate!
<yorickpeterse> FiXato: you write code and sit on IRC on a Saturday. You're a nerd just like the rest of us.
<FiXato> it's too warm outside to do anything else
mbj has quit [Ping timeout: 256 seconds]
workmad3 has quit [Ping timeout: 248 seconds]
* FiXato is considering swapping out Aloha Editor for Mercury Editor though
Cakey has quit [Ping timeout: 264 seconds]
justinram has joined #ruby-lang
lguardiola has quit [Ping timeout: 268 seconds]
julweber has joined #ruby-lang
andrewvos has joined #ruby-lang
<whitequark> ugh. seems like I need to write javascript.
<whitequark> though codemirror seems... bearable
<yorickpeterse> ha ha
<yorickpeterse> Famous last words
GeissT has quit [Ping timeout: 248 seconds]
<yorickpeterse> whitequark: so what are the odds of racc being released with the fix we need?
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
pskosinski has quit [Ping timeout: 240 seconds]
hhatch has quit [Ping timeout: 264 seconds]
glebm has joined #ruby-lang
glebm has quit [Client Quit]
hashkey has quit [Ping timeout: 268 seconds]
<whitequark> yorickpeterse: no clue
<whitequark> if it won't be fixed in a sane timeframe I will force all_errors_are_fatal.
glebm has joined #ruby-lang
fenicks has joined #ruby-lang
pskosinski has joined #ruby-lang
xxaM has quit [Quit: ZzZz]
jstemmer has joined #ruby-lang
kgrz has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
justinram has quit [Remote host closed the connection]
Oak has quit [Quit: Leaving]
glebm has joined #ruby-lang
glebm has quit [Client Quit]
soahccc has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby-lang
andrewvos has quit [Ping timeout: 264 seconds]
sepp2k has quit [Quit: Leaving.]
vlad_starkov has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
sepp2k has joined #ruby-lang
Gaelan has quit [Ping timeout: 268 seconds]
Gaelan has joined #ruby-lang
cofin has joined #ruby-lang
vlad_starkov has joined #ruby-lang
wallerdev has joined #ruby-lang
fushi has quit [Quit: fushi]
pskosinski_ has joined #ruby-lang
zzak_ is now known as zzak
<zzak> t
<zzak> hi
pskosinski has quit [Ping timeout: 240 seconds]
<yorickpeterse> whitequark: that's not exactly an option for me though :/
<yorickpeterse> unless the exception will include location information
mbj has joined #ruby-lang
justinram has joined #ruby-lang
nathanstitt has joined #ruby-lang
maxmanders has joined #ruby-lang
pskosinski_ is now known as pskosinski
Weems has joined #ruby-lang
scholar01 has quit [Quit: Leaving.]
maxmanders has quit [Ping timeout: 256 seconds]
intellitech has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 276 seconds]
hhatch has joined #ruby-lang
Weems has quit [Ping timeout: 264 seconds]
matty_matt has joined #ruby-lang
julweber has quit [Remote host closed the connection]
jstorimer has joined #ruby-lang
relix has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse> whitequark: are you ok with me adding location information to Parser::SyntaxError? I'm thinking of just copying over the location object from a diagnostic
julweber has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
arooni-mobile has joined #ruby-lang
cofin has quit [Quit: cofin]
tkuchiki has quit [Remote host closed the connection]
sstrickl has joined #ruby-lang
mbj has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby-lang
cofin has joined #ruby-lang
tkuchiki has quit [Ping timeout: 264 seconds]
wallerdev has quit [Quit: wallerdev]
<whitequark> yorickpeterse: see, you *first* receive the diagnostic via consumer
<whitequark> and *then* you get the exception
<whitequark> and if you're going to add it, just add attr_reader :diagnostic to the exception
<whitequark> and copy over the message from diagnostic to the exception
intellitech has joined #ruby-lang
Cakey has joined #ruby-lang
workmad3 has joined #ruby-lang
Sambalero has joined #ruby-lang
havenwood has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
thepumpk_ has quit [Remote host closed the connection]
<yorickpeterse> thing is, I don't *want* to raise an exception in my use case
<yorickpeterse> because it fucks up the output
<yorickpeterse> so I'd catch it, reformat the output and that's it
<yorickpeterse> (I'd still terminate execution though, seeing how racc would otherwise shit itself)
<whitequark> yorickpeterse: what?
<yorickpeterse> tl;dr I want something like "foobar.rb: error: line 1, column 0: unexpected $derp" instead of "Parser::SyntaxError: unexpected $derp [big stacktrace here]"
<whitequark> dude, discover `rescue`
<yorickpeterse> read above
<yorickpeterse> 15:43:33 yorickpeterse | so I'd catch it, reformat the output and that's it
<whitequark> ok
<whitequark> so what's the problem?
intellitech has quit [Quit: intellitech]
<whitequark> you don't have a choice. want to have jruby support, have to use exception
<yorickpeterse> There's no location information in the exception at this point, hence I was asking to add it.
swav has joined #ruby-lang
<whitequark> you receive it in the diagnostics.consumer
<whitequark> your consumer is called before the exception is raised.
tenderlove has quit [Ping timeout: 264 seconds]
<yorickpeterse> hold on, let me just implement it
<whitequark> what exactly in "Js.Unsafe.obj [| ("type", Js.string "error"); ("value", Js.string desc) |]
<whitequark> argh
<whitequark> what exactly in "you receive it in the diagnostics.consumer" you don't get?
<whitequark> the whole system was specifically designed so it would work more or less the same way with or without exceptions
<whitequark> here, exception is used just for the flow control
jxie has joined #ruby-lang
<yorickpeterse> thing is that this means I have to raise an exception, rescue it and then smother it so it doesn't get displayed
matematikaadit has joined #ruby-lang
<yorickpeterse> Just give me a few minutes to implement it (first need to get method visibility back) and you'll see what I'm talking about
<whitequark> set all_errors_are_fatal to true. write an empty rescue clause. DONE
<whitequark> and yes, you have to. that's how flow control via exceptions works
julweber has quit [Remote host closed the connection]
hhatch has quit [Ping timeout: 256 seconds]
arubin has joined #ruby-lang
andrewvos has joined #ruby-lang
swav has quit [Remote host closed the connection]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jstorimer has quit [Remote host closed the connection]
crackity_jones has joined #ruby-lang
<yorickpeterse> wait, Racc keeps an internal state outside of instance level?
<yorickpeterse> I was hoping just creating new parser instances would solve the problem, but it seems to not be the case
<yorickpeterse> if that's true that's some serious wtf
swav has joined #ruby-lang
swav has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
vlad_starkov has joined #ruby-lang
wallerdev has joined #ruby-lang
relix has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 256 seconds]
tenderlo_ has joined #ruby-lang
tenderlove has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby-lang
Axsuul has joined #ruby-lang
hogeo has joined #ruby-lang
crackity_jones has quit [Quit: Computer has gone to sleep.]
justinram has quit [Remote host closed the connection]
runeb has joined #ruby-lang
fooqri has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 248 seconds]
fooqri has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
<yorickpeterse> gem install rails
<yorickpeterse> 25 gems installed
<yorickpeterse> -_-'
<erikh> ha you should see furnish
<yorickpeterse> 1 dependency? you must be crazy
arooni-mobile__ has quit [Ping timeout: 268 seconds]
arooni-mobile has quit [Ping timeout: 264 seconds]
runeb has quit [Remote host closed the connection]
matematikaadit has quit [Quit: used jmIrc]
workmad3 has quit [Ping timeout: 248 seconds]
thebastl has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
workmad3 has joined #ruby-lang
cofin has quit [Quit: cofin]
<erikh> bundle it.
<erikh> and bundle something with it that makes it useful, like a provisioner.
<yorickpeterse> is there a way to tell Rails to fucking load *everything* instead of using autoload? I need all the constants to be available so I can generate data based on them
<yorickpeterse> but autoload craps out for some bs reason
havenwood has quit [Ping timeout: 268 seconds]
havenwood has joined #ruby-lang
<yorickpeterse> hm, rails has eager_load!
runeb has joined #ruby-lang
runeb has quit [Remote host closed the connection]
kgrz has quit [Remote host closed the connection]
hhatch has joined #ruby-lang
kgrz has joined #ruby-lang
matty_matt has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 248 seconds]
intellitech has joined #ruby-lang
Gaelan has quit [Ping timeout: 268 seconds]
cofin has joined #ruby-lang
Gaelan has joined #ruby-lang
tomzx_mac has joined #ruby-lang
glebm has joined #ruby-lang
jstorimer has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
cofin has quit [Quit: cofin]
swav has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Neomex has joined #ruby-lang
glebm has joined #ruby-lang
glebm has quit [Client Quit]
intellitech has quit [Quit: SMOKE BOMB!]
<Neomex> does qtruby support ruby 2.0.0? can't make it work
swav has quit [Ping timeout: 248 seconds]
<Neomex> ive installed qtbindings gem on windows
<Neomex> it says it cant find qtruby4.so (LoadError), though this file exist
vlad_starkov has quit [Ping timeout: 264 seconds]
kgrz has joined #ruby-lang
workmad3 has quit [Ping timeout: 256 seconds]
kgrz has quit [Ping timeout: 264 seconds]
hogeo has quit [Remote host closed the connection]
arooni-mobile__ has joined #ruby-lang
arooni-mobile has joined #ruby-lang
hashkey has joined #ruby-lang
<whitequark> yorickpeterse: goddamnit
<whitequark> no, racc does not keep any internal state
<whitequark> it *does not return*. you have *no chance to reset the parser* once it is hung
<whitequark> since, well, it's stuck in an infinite loop.
<whitequark> this bug is *not related to any racc state*
<whitequark> it is simply that some (any?) erroneous statements lead to me initiating Racc error recovery, and Racc error recovery immediately hangs
thebobalu has joined #ruby-lang
gokul has joined #ruby-lang
mislav has joined #ruby-lang
dingus_khan has joined #ruby-lang
runeb has joined #ruby-lang
cofin has joined #ruby-lang
kstuart has joined #ruby-lang
runeb has quit [Ping timeout: 264 seconds]
nathanstitt has joined #ruby-lang
bnagy has quit [Ping timeout: 268 seconds]
hogeo has joined #ruby-lang
workmad3 has joined #ruby-lang
tenderlo_ has quit [Ping timeout: 276 seconds]
akurilin has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
hogeo has quit [Ping timeout: 268 seconds]
retro|cz has joined #ruby-lang
pkrnj has joined #ruby-lang
andrewvos has quit [Ping timeout: 264 seconds]
mislav_ has joined #ruby-lang
pipework has joined #ruby-lang
vlad_starkov has joined #ruby-lang
mislav has quit [Ping timeout: 264 seconds]
franckverrot has joined #ruby-lang
mistym has joined #ruby-lang
andrewvos has joined #ruby-lang
bnagy has joined #ruby-lang
Neomex has quit []
vlad_starkov has quit [Ping timeout: 276 seconds]
arooni-mobile__ has quit [Ping timeout: 264 seconds]
arooni-mobile has quit [Ping timeout: 248 seconds]
kstuart has quit [Ping timeout: 256 seconds]
kgrz has joined #ruby-lang
nathanstitt has quit [Ping timeout: 256 seconds]
kgrz has quit [Ping timeout: 256 seconds]
crackity_jones has joined #ruby-lang
Cakey has joined #ruby-lang
arooni-mobile__ has joined #ruby-lang
arooni-mobile has joined #ruby-lang
ffio has joined #ruby-lang
Weems has joined #ruby-lang
ffio has quit [Client Quit]
<zzak> \join #yorickwhitequark-lang
<zzak> mt
tenderlove has joined #ruby-lang
Asher1 has joined #ruby-lang
mislav_ has quit [Ping timeout: 276 seconds]
andrewvos has quit [Ping timeout: 248 seconds]
glebm has joined #ruby-lang
Asher has quit [Ping timeout: 264 seconds]
nathanstitt has joined #ruby-lang
jstorimer has quit [Remote host closed the connection]
<whitequark> zzak: mt?
jonahR has joined #ruby-lang
MaddinXx has quit [Remote host closed the connection]
vlad_starkov has joined #ruby-lang
Asher1 has quit [Ping timeout: 268 seconds]
Cakey has quit [Ping timeout: 264 seconds]
solars has joined #ruby-lang
fenicks has quit [Ping timeout: 264 seconds]
TheNotary has joined #ruby-lang
Asher has joined #ruby-lang
fenicks has joined #ruby-lang
Voker57 has quit [Ping timeout: 248 seconds]
nathanstitt has quit [Ping timeout: 264 seconds]
<RickHull1> i think i've taken this about as far as it can go under the current strategy: https://github.com/rickhull/buildar what can I do for a better install than copy/paste?
<RickHull1> one hurdle, it relies on __FILE__ to find the project root
pkrnj has quit [Quit: Computer has gone to sleep.]
Voker57 has joined #ruby-lang
nathanstitt has joined #ruby-lang
thepumpkin has joined #ruby-lang
kgrz has joined #ruby-lang
Sambalero has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 256 seconds]
sstrickl has quit [Quit: sstrickl]
Johz has joined #ruby-lang
nathanstitt has quit [Ping timeout: 248 seconds]
sepp2k1 has joined #ruby-lang
sepp2k has quit [Ping timeout: 264 seconds]
crackity_jones has quit [Quit: Computer has gone to sleep.]
jonahR has quit [Ping timeout: 276 seconds]
nathanstitt has joined #ruby-lang
<whitequark> not *another one* gem release management gem
Axsuul has quit [Ping timeout: 276 seconds]
<RickHull1> ha
kgrz has joined #ruby-lang
bougyman has quit [Quit: Lost terminal]
bougyman has joined #ruby-lang
bougyman has joined #ruby-lang
bougyman has quit [Changing host]
sstrickl has joined #ruby-lang
sstrickl has quit [Changing host]
sstrickl has joined #ruby-lang
nathanstitt has quit [Ping timeout: 256 seconds]
Sambalero has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
cofin has quit [Quit: cofin]
kgrz has quit [Ping timeout: 264 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
neurodamage has quit [Ping timeout: 240 seconds]
zmike123 has quit [Ping timeout: 268 seconds]
tenderlove has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
diegoviola has joined #ruby-lang
nathanstitt has joined #ruby-lang
Asher has quit [Ping timeout: 268 seconds]
nathanstitt has quit [Ping timeout: 248 seconds]
nathanstitt has joined #ruby-lang
cofin has joined #ruby-lang
andrewvos has joined #ruby-lang
headius has quit [Quit: headius]
headius has joined #ruby-lang
<hagabaka> RickHull1: what about using Dir.pwd as project root, and installing the tasks in lib so you can first define needed methods/constants and then require 'buildar/raketasks'?
<RickHull1> makes sense to me. the scope on task creation matters though. i had problems testing task creation inside methods
<RickHull1> but if they're at the toplevel in buildar/raketasks, should work...
machuga- has left #ruby-lang [#ruby-lang]
cofin has quit [Quit: cofin]
headius has quit [Client Quit]
gokul has quit [Ping timeout: 248 seconds]
thebastl has quit [Remote host closed the connection]
mistym has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
Asher has joined #ruby-lang
hhatch has quit [Ping timeout: 248 seconds]
dingus_khan has joined #ruby-lang
Cakey has quit [Ping timeout: 264 seconds]
CaptainJet has joined #ruby-lang
diegoviola has quit [Quit: WeeChat 0.4.1]
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby-lang
pskosinski has quit [Remote host closed the connection]
pskosinski has joined #ruby-lang
s0ber_ has joined #ruby-lang
dingus_khan has quit [Remote host closed the connection]
s0ber has quit [Ping timeout: 246 seconds]
s0ber_ is now known as s0ber
andrewvos has quit [Ping timeout: 256 seconds]
rikai has quit [Read error: Connection reset by peer]
rikai has joined #ruby-lang
stef_204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
marr has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
postmodern has joined #ruby-lang
thepumpkin has joined #ruby-lang
mistym has joined #ruby-lang
kgrz has quit [Ping timeout: 276 seconds]
x0f has joined #ruby-lang
dingus_khan has joined #ruby-lang
andrewvos has joined #ruby-lang
x0f_ has quit [Ping timeout: 264 seconds]
Johz has quit [Quit: Leaving]
symm- has joined #ruby-lang
andrewvos has quit [Ping timeout: 264 seconds]
asellus has quit [Quit: WeeChat 0.4.0]
cofin has joined #ruby-lang
rickruby has joined #ruby-lang
mbj has joined #ruby-lang
solars has quit [Ping timeout: 256 seconds]
kgrz has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
cofin has quit [Ping timeout: 276 seconds]
Asher has quit [Ping timeout: 276 seconds]
kgrz has quit [Ping timeout: 264 seconds]
ruurd has quit [Quit: Leaving...]
pkrnj has joined #ruby-lang
crackity_jones has joined #ruby-lang
<yorickpeterse> whitequark: solved it this way: https://github.com/YorickPeterse/ruby-lint/commit/310111a5484a3b4a04e76591f6f830ec0046ba98, good enough for now
<yorickpeterse> RickHull1: y u use ./VERSION
<yorickpeterse> the standard is lib/mygem/version.rb
<yorickpeterse> and meh, I was hoping people got over auto generating their gemspecs
mistym has quit [Remote host closed the connection]
<whitequark> yorickpeterse: that's essentially equivalent to raising an exception, yes
<whitequark> you just use an implicit one to move across stack frames
<yorickpeterse> not entirely, that would require me to catch it further down
<yorickpeterse> which makes the API more painful
<whitequark> ruby catches it for you here. :)
<whitequark> in the `def', implicitly
<whitequark> nonlocal return is actually implemented with an exception
<yorickpeterse> if I were to raise there then any code outside of RubyLint::Runner would have to catch it (the whole point is to not pollute STDERR with stack traces and such)
<yorickpeterse> oh and nice, a plane crash in SF
<whitequark> nice ?
<yorickpeterse> ... you really don't get sarcasm
<yorickpeterse> like, you're outstandingly bad at detecting it
<whitequark> people tell me that all the time
<yorickpeterse> either way, it seems no dead people, that's good
mbj has quit [Quit: leaving]
<yorickpeterse> "Amazing changes in information [1] flow. HN becomes a better source than all major networks combined." LOL
verto has quit [Ping timeout: 276 seconds]
<yorickpeterse> that's enough HN for today
<RickHull1> yorickpeterse: my thought was that my gemspec shouldn't have to require lib files to know the version. and i want to be able to update the version without regard to ruby parsing
<whitequark> RickHull1: by generating gemspecs you break bundler :git
<whitequark> if you do that without a good reason: screw you
<yorickpeterse> RickHull1: at most you need to require only one file
<yorickpeterse> It's just Ruby, I don't see the problem with that
<yorickpeterse> you can also do it the other way around: specify it in the Gemspec, load it during runtime if you want the version there
<whitequark> yorickpeterse: wat? load gemspec?
KM has joined #ruby-lang
KM is now known as Guest14254
<yorickpeterse> yah
<RickHull1> does bundler just eval the gemspec file?
<yorickpeterse> I believe it just uses RubyGems for it
<yorickpeterse> as in, Gem::Specification.load
<yorickpeterse> don't take my word for it though
* RickHull1 evil plan to generate a .gemspec with Marshal.load (#{Marshal.dump gemspec})
<whitequark> ugh
<whitequark> if hoe wasn't enough
rickruby has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
ruurd has joined #ruby-lang
ruurd_ has joined #ruby-lang
ruurd has quit [Read error: Connection reset by peer]
kgrz has quit [Ping timeout: 276 seconds]
scholar01 has joined #ruby-lang
scholar01 has quit [Changing host]
scholar01 has joined #ruby-lang
andrewvos has joined #ruby-lang
neurodamage has joined #ruby-lang
crackity_jones has quit [Quit: Computer has gone to sleep.]
maxmanders has joined #ruby-lang
CaptainJet has quit [Ping timeout: 248 seconds]
eriklukas has joined #ruby-lang
r0bby has quit [Read error: Connection reset by peer]
maxmanders has quit [Ping timeout: 256 seconds]
CaptainJet has joined #ruby-lang
thepumpkin has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
pskosinski has quit [Quit: Til rivido Idisti!]
robbyoconnor is now known as r0bby
ffio has joined #ruby-lang
r0bby is now known as robbyoconnor
CaptainJet has quit [Client Quit]
pskosinski has joined #ruby-lang
thepumpkin has joined #ruby-lang
CaptainJet has joined #ruby-lang
CaptainJet has quit []
_jpb_ has quit [Ping timeout: 268 seconds]
_jpb_ has joined #ruby-lang
CaptainJet has joined #ruby-lang
andrewvos has quit [Ping timeout: 276 seconds]
ruurd_ has quit [Quit: Leaving...]
wallerdev has quit [Quit: wallerdev]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mdedetrich has joined #ruby-lang
toretore has quit [Quit: Leaving]
_jpb_ has quit [Ping timeout: 248 seconds]
_jpb_ has joined #ruby-lang
relix has joined #ruby-lang
wulfgarpro has joined #ruby-lang
cofin has joined #ruby-lang
firstdayonthejob has quit [Ping timeout: 264 seconds]
wallerdev has joined #ruby-lang
jstorimer has joined #ruby-lang
<wulfgarpro> hi, after installing the ZenTest gem, im trying to use require 'test/zentest_assertions', but I'm getting error `require': cannot load such file -- test/zentest_assertions
<drbrain> wulfgarpro: all those are in minitest nowadays
workmad3 has quit [Ping timeout: 264 seconds]
<wulfgarpro> drbrain, I want util_capture, is it included?
<drbrain> wulfgarpro: yes, but renamed to capture_io
<wulfgarpro> drbrain, great thanks :)
<drbrain> also there's assert_output
<drbrain> and assert_silent
andrewvos has joined #ruby-lang
<wulfgarpro> drbrain, im new to ruby, now I'm getting this error: Warning: you should require 'minitest/autorun' instead.
<wulfgarpro> Warning: or add 'gem "minitest"' before 'require "minitest/autorun"'
rondale_1c has quit [Quit: leaving]