ddfreyne changed the topic of #nanoc to: 3.6.11 (may 9th) | web http://nanoc.ws/ | repo http://bit.ly/XE6e3G | issues http://bit.ly/VfXaSV | forum http://ho.io/n-discuss | irclog http://irclog.whitequark.org/nanoc
prxq has quit [Ping timeout: 276 seconds]
louquillio_ has joined #nanoc
alerante has quit [Remote host closed the connection]
bghost has joined #nanoc
bghost has quit [Read error: Connection reset by peer]
bghost has joined #nanoc
alerante has joined #nanoc
bghost has quit [Read error: Connection reset by peer]
bghost has joined #nanoc
bghost has quit [Ping timeout: 276 seconds]
alerante has quit [Ping timeout: 240 seconds]
bghost has joined #nanoc
bghost has quit [Read error: Connection reset by peer]
bghost has joined #nanoc
cDlm has quit [Ping timeout: 240 seconds]
cDlm has joined #nanoc
cDlm has quit [Ping timeout: 276 seconds]
cDlm has joined #nanoc
prxq has joined #nanoc
bghost has quit [Read error: Connection reset by peer]
bghost has joined #nanoc
bghost has quit [Quit: leaving]
<travis-ci> [travis-ci] nanoc/nanoc/release-3.6.x c50f561 Denis Defreyne: The build passed.
<travis-ci> [travis-ci] nanoc/nanoc/release-3.6.x cdff020 Denis Defreyne: The build has errored.
<travis-ci> [travis-ci] nanoc/nanoc/master 933f56b Denis Defreyne: The build has errored.
<travis-ci> [travis-ci] nanoc/nanoc/fix-rouge-wrapping 272a56d Denis Defreyne: The build has errored.
<travis-ci> [travis-ci] nanoc/nanoc/fix-rouge-wrapping 04f47be Denis Defreyne: The build has errored.
alerante has joined #nanoc
alerante has quit [Ping timeout: 276 seconds]
<travis-ci> [travis-ci] nanoc/nanoc/remove-root-tmp-directory 013f0a8 Denis Defreyne: The build has errored.
<travis-ci> [travis-ci] nanoc/nanoc/fix-rouge-wrapping 2672db6 Denis Defreyne: The build has errored.
<travis-ci> [travis-ci] nanoc/nanoc/remove-root-tmp-directory 231a6e0 Denis Defreyne: The build has errored.
<travis-ci> [travis-ci] nanoc/nanoc/fix-sass-imports-without-filter 9f2dcd0 Denis Defreyne: The build has errored.
<ddfreyne> Stuff to review:
<travis-ci> [travis-ci] nanoc/nanoc/fix-rouge-wrapping 3c51770 Denis Defreyne: The build passed.
<travis-ci> [travis-ci] nanoc/nanoc/fix-sass-imports-without-filter fbe36ef Denis Defreyne: The build passed.
alerante has joined #nanoc
alerante has quit [Ping timeout: 265 seconds]
alerante has joined #nanoc
<travis-ci> [travis-ci] nanoc/nanoc/master 75dbf18 Denis Defreyne: The build passed.
mikey_p has quit [*.net *.split]
mikey_p has joined #nanoc
mikey_p has joined #nanoc
mikey_p has quit [Changing host]
<travis-ci> [travis-ci] nanoc/nanoc/release-3.6.x f684042 Denis Defreyne: The build has errored.
<travis-ci> [travis-ci] nanoc/nanoc/master 80873ed Denis Defreyne: The build passed.
<travis-ci> [travis-ci] nanoc/nanoc/master d1d90f6 Denis Defreyne: The build passed.
ddfreyne changed the topic of #nanoc to: 3.7.0 (June 8th) | web http://nanoc.ws/ | repo http://bit.ly/XE6e3G | issues http://bit.ly/VfXaSV | forum http://ho.io/n-discuss | irclog http://irclog.whitequark.org/nanoc
<ddfreyne> Update your gems!
<bobthecow> :+1:
<bobthecow> how's rouge's performance compare to pygments.rb?
<cDlm> ddfreyne: nanoc seems to still depend on an old cri ?
<travis-ci> [travis-ci] nanoc/nanoc/master 0857289 Denis Defreyne: The build passed.
<ddfreyne> cDlm: Hmm, it doesn't really matter.
<ddfreyne> bobthecow: No clue
<travis-ci> [travis-ci] nanoc/nanoc/3.7.0 0857289 Denis Defreyne: The build passed.
<cDlm> yeah but it warns about that
<cDlm> I'm also having a recursion problem it seems
<cDlm> Compiling site…
<ddfreyne> Itdoes?
<ddfreyne> Sorry, my typing is bad becaus eI am downloading something and my IRC is lagging like hell.
<cDlm> oh wait
<cDlm> I was forgetting bundle exec, of course
<ddfreyne> Ah :)
<cDlm> still getting this though: /Users/damien/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/nanoc-3.7.0/lib/nanoc/base/checksummer.rb:25: stack level too deep (SystemStackError)
<bobthecow> cDlm: check out https://github.com/carsomyr/rbenv-bundler
<bobthecow> if you're already using rbenv.
<bobthecow> it modifies the shims to include bundle exec, basically.
<ddfreyne> cDlm: Did you get that with 3.6.x too?
<cDlm> bobthecow: I think I use that (or used to)
<ddfreyne> (3.6.11 to be more precise)
<bobthecow> if you're using it you should never have to bundle exec anything...
<cDlm> bobthecow: yeah but it seems to depend what dirty tricks various apps do
<bobthecow> gotcha.
<ddfreyne> git s
<ddfreyne> ugh
<cDlm> ddfreyne: hm yeah it's doing it with 3.6.11 as well
<ddfreyne> cDlm: can you share the crash.log?
<ddfreyne> cDlm: Afterwards, can you rm -rf tmp and retry?
<cDlm> where do I get that log ?
<ddfreyne> ddfreyne: it'll be in your nanoc site dir
<ddfreyne> cDlm: *
<ddfreyne> Sory, lagging like hell here.
<cDlm> I don't see it
<ddfreyne> Hmm
<ddfreyne> can you just shar ethe terminal output?
<travis-ci> [travis-ci] nanoc/nanoc/release-3.7.x 0857289 Denis Defreyne: The build passed.
<cDlm> only that line is out of the ordinary /Users/damien/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/nanoc-3.6.11/lib/nanoc/base/checksummer.rb:25: stack level too deep (SystemStackError)
<ddfreyne> OK, weird.
<ddfreyne> cDlm: Can I get the few lines around that?
<cDlm> Digest::SHA1 bug ?
bghost has joined #nanoc
<cDlm> identical [0.05s] staging/damien.pollet/notes/2010/shared-bibtex/index.html
<cDlm> identical [0.06s] staging/damien.pollet/notes/2009/playing-tenuki/index.html
<cDlm> create [0.11s] staging/damien.pollet/notes/index.html
<cDlm> /Users/damien/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/nanoc-3.6.11/lib/nanoc/base/checksummer.rb:25: stack level too deep (SystemStackError)
<cDlm> ‣ exited 1
<cDlm> last one is my shell
<ddfreyne> Oh, that's the only one?
<ddfreyne> o_O
<cDlm> nanoc --verbose ±?[master]
<cDlm> Loading site data… done
<cDlm> create [0.26s] staging/damien.pollet/contact/index.html
<cDlm> Compiling site…
<cDlm> and that's the invocation… after that only create and a few identical lines
<ddfreyne> Can you add some debug statements before the digest.update that prints obj, obj.class ?
bghost has quit [Client Quit]
<cDlm> I'll do that on 3.7
bghost has joined #nanoc
bghost has quit [Client Quit]
bghost has joined #nanoc
<ddfreyne> OK
<cDlm> last one before the crash, obj is an Array
<cDlm> most other calls are on String, Symbol, NilClass or Hash
<cDlm> ah no there are Arrays as well
<cDlm> and Times
<cDlm> I have Nanoc::Items as well
<ddfreyne> cDlm: Can you do
<ddfreyne> begin ; digest.update(obj.class.to_s) ; rescue => e ; p e.backtrace ; raise e ; end
<ddfreyne> And send the output?
<cDlm> it's not outputting the trace
<ddfreyne> cDlm: rescue Exception maybe
bghost has quit [Ping timeout: 245 seconds]
<cDlm> nope
<ddfreyne> Huh.
<ddfreyne> So where is it crashing?
bghost has joined #nanoc
<cDlm> if it's using too much stack, maybe the crash is more immediate ?
<cDlm> I'm chaining items via attributes in the preprocess block, could that be it ?
<cDlm> i.e. some items have another item as the value of an attribute
<cDlm> ddfreyne: the repo is https://github.com/cdlm/website-nanoc
<ddfreyne> cDlm: Oh, yes.
<ddfreyne> That'll throw it in into an infinite loop
<ddfreyne> cDlm: You should store the ident identifier, and look it up usin g@items[blah]
<ddfreyne> s/ident/item/
<cDlm> bleh
<cDlm> ← I want my proper OO back
<ddfreyne> OO is overrated.
<cDlm> I'm adding a nil check… yuck
<cDlm> ok, seems to be fixed
<ddfreyne> cDlm: A nil check where?
<cDlm> the attribute could be nil, so I should not do @items[nil]
<cDlm> but it was there already
<bobthecow> i'm with ddfreyne. OO is overrated.
bghost has quit [Quit: leaving]
<cDlm> I don't like getting flat inert data out of a query method
<cDlm> the identifier is just another indirection
<bobthecow> should coderay and rouge have identical output?
<bobthecow> something's gotta be wrong...
<ddfreyne> bobthecow: what's up?
<bobthecow> i've been using coderay for a while, and switched to rouge to check relative performance.
<bobthecow> output.diff doesn't exist after recompiling though.
<bobthecow> which would seem to indicate that the output from the two highlighters is identical.
<bobthecow> and that doesn't seem probable.
<bobthecow> oh, my bad. i changed it in the wrong place :)
<bobthecow> rouge is consistently a second or two slower than either coderay or pygments.rb on my site.
<bobthecow> only 21 pages of my site actually have syntax highlighting on them, so that's a pretty big difference.
<ddfreyne> bobthecow: interesting numbers
<ddfreyne> I haven't really looked into optimising that
louquillio_ has quit [Remote host closed the connection]
<bobthecow> i just figured i'd see if there was a quick win to be had by switching.
<bobthecow> and the answer is no, not right now :)
alerante has quit [Remote host closed the connection]
prxq has quit [Ping timeout: 240 seconds]
alerante has joined #nanoc
louquillio_ has joined #nanoc