01:04
prxq has quit [Ping timeout: 276 seconds]
03:46
louquillio_ has joined #nanoc
04:48
alerante has quit [Remote host closed the connection]
04:50
bghost has joined #nanoc
05:07
bghost has quit [Read error: Connection reset by peer]
05:08
bghost has joined #nanoc
05:18
alerante has joined #nanoc
05:19
bghost has quit [Read error: Connection reset by peer]
05:22
bghost has joined #nanoc
05:30
bghost has quit [Ping timeout: 276 seconds]
05:31
alerante has quit [Ping timeout: 240 seconds]
05:32
bghost has joined #nanoc
05:33
bghost has quit [Read error: Connection reset by peer]
05:37
bghost has joined #nanoc
06:16
cDlm has quit [Ping timeout: 240 seconds]
06:17
cDlm has joined #nanoc
06:22
cDlm has quit [Ping timeout: 276 seconds]
06:22
cDlm has joined #nanoc
06:47
prxq has joined #nanoc
06:52
bghost has quit [Read error: Connection reset by peer]
06:53
bghost has joined #nanoc
07:15
bghost has quit [Quit: leaving]
08:30
<
travis-ci >
[travis-ci] nanoc/nanoc/release-3.6.x c50f561 Denis Defreyne: The build passed.
08:43
<
travis-ci >
[travis-ci] nanoc/nanoc/release-3.6.x cdff020 Denis Defreyne: The build has errored.
08:56
<
travis-ci >
[travis-ci] nanoc/nanoc/master 933f56b Denis Defreyne: The build has errored.
09:09
<
travis-ci >
[travis-ci] nanoc/nanoc/fix-rouge-wrapping 272a56d Denis Defreyne: The build has errored.
09:18
<
travis-ci >
[travis-ci] nanoc/nanoc/fix-rouge-wrapping 04f47be Denis Defreyne: The build has errored.
09:29
alerante has joined #nanoc
09:34
alerante has quit [Ping timeout: 276 seconds]
09:39
<
travis-ci >
[travis-ci] nanoc/nanoc/remove-root-tmp-directory 013f0a8 Denis Defreyne: The build has errored.
09:42
<
travis-ci >
[travis-ci] nanoc/nanoc/fix-rouge-wrapping 2672db6 Denis Defreyne: The build has errored.
09:52
<
travis-ci >
[travis-ci] nanoc/nanoc/remove-root-tmp-directory 231a6e0 Denis Defreyne: The build has errored.
10:13
<
travis-ci >
[travis-ci] nanoc/nanoc/fix-sass-imports-without-filter 9f2dcd0 Denis Defreyne: The build has errored.
11:40
<
ddfreyne >
Stuff to review:
11:52
<
travis-ci >
[travis-ci] nanoc/nanoc/fix-rouge-wrapping 3c51770 Denis Defreyne: The build passed.
12:11
<
travis-ci >
[travis-ci] nanoc/nanoc/fix-sass-imports-without-filter fbe36ef Denis Defreyne: The build passed.
13:30
alerante has joined #nanoc
13:35
alerante has quit [Ping timeout: 265 seconds]
13:59
alerante has joined #nanoc
15:15
<
travis-ci >
[travis-ci] nanoc/nanoc/master 75dbf18 Denis Defreyne: The build passed.
15:16
mikey_p has quit [*.net *.split]
15:17
mikey_p has joined #nanoc
15:17
mikey_p has joined #nanoc
15:17
mikey_p has quit [Changing host]
15:32
<
travis-ci >
[travis-ci] nanoc/nanoc/release-3.6.x f684042 Denis Defreyne: The build has errored.
15:35
<
travis-ci >
[travis-ci] nanoc/nanoc/master 80873ed Denis Defreyne: The build passed.
15:53
<
travis-ci >
[travis-ci] nanoc/nanoc/master d1d90f6 Denis Defreyne: The build passed.
15:57
<
ddfreyne >
Update your gems!
16:08
<
bobthecow >
how's rouge's performance compare to pygments.rb?
16:15
<
cDlm >
ddfreyne: nanoc seems to still depend on an old cri ?
16:22
<
travis-ci >
[travis-ci] nanoc/nanoc/master 0857289 Denis Defreyne: The build passed.
16:31
<
ddfreyne >
cDlm: Hmm, it doesn't really matter.
16:31
<
ddfreyne >
bobthecow: No clue
16:31
<
travis-ci >
[travis-ci] nanoc/nanoc/3.7.0 0857289 Denis Defreyne: The build passed.
16:31
<
cDlm >
yeah but it warns about that
16:32
<
cDlm >
I'm also having a recursion problem it seems
16:32
<
cDlm >
Compiling site…
16:32
<
ddfreyne >
Sorry, my typing is bad becaus eI am downloading something and my IRC is lagging like hell.
16:33
<
cDlm >
I was forgetting bundle exec, of course
16:33
<
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)
16:34
<
bobthecow >
if you're already using rbenv.
16:34
<
bobthecow >
it modifies the shims to include bundle exec, basically.
16:34
<
ddfreyne >
cDlm: Did you get that with 3.6.x too?
16:34
<
cDlm >
bobthecow: I think I use that (or used to)
16:34
<
ddfreyne >
(3.6.11 to be more precise)
16:35
<
bobthecow >
if you're using it you should never have to bundle exec anything...
16:35
<
cDlm >
bobthecow: yeah but it seems to depend what dirty tricks various apps do
16:36
<
bobthecow >
gotcha.
16:40
<
cDlm >
ddfreyne: hm yeah it's doing it with 3.6.11 as well
16:41
<
ddfreyne >
cDlm: can you share the crash.log?
16:42
<
ddfreyne >
cDlm: Afterwards, can you rm -rf tmp and retry?
16:42
<
cDlm >
where do I get that log ?
16:42
<
ddfreyne >
ddfreyne: it'll be in your nanoc site dir
16:42
<
ddfreyne >
Sory, lagging like hell here.
16:43
<
cDlm >
I don't see it
16:43
<
ddfreyne >
can you just shar ethe terminal output?
16:43
<
travis-ci >
[travis-ci] nanoc/nanoc/release-3.7.x 0857289 Denis Defreyne: The build passed.
16:44
<
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)
16:46
<
ddfreyne >
OK, weird.
16:46
<
ddfreyne >
cDlm: Can I get the few lines around that?
16:46
<
cDlm >
Digest::SHA1 bug ?
16:47
bghost has joined #nanoc
16:47
<
cDlm >
identical [0.05s] staging/damien.pollet/notes/2010/shared-bibtex/index.html
16:47
<
cDlm >
identical [0.06s] staging/damien.pollet/notes/2009/playing-tenuki/index.html
16:47
<
cDlm >
create [0.11s] staging/damien.pollet/notes/index.html
16:47
<
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)
16:47
<
cDlm >
last one is my shell
16:47
<
ddfreyne >
Oh, that's the only one?
16:48
<
cDlm >
nanoc --verbose ±?[master]
16:48
<
cDlm >
Loading site data… done
16:48
<
cDlm >
create [0.26s] staging/damien.pollet/contact/index.html
16:48
<
cDlm >
Compiling site…
16:48
<
cDlm >
and that's the invocation… after that only create and a few identical lines
16:50
<
ddfreyne >
Can you add some debug statements before the digest.update that prints obj, obj.class ?
16:50
bghost has quit [Client Quit]
16:52
<
cDlm >
I'll do that on 3.7
16:52
bghost has joined #nanoc
16:52
bghost has quit [Client Quit]
16:53
bghost has joined #nanoc
16:56
<
cDlm >
last one before the crash, obj is an Array
16:56
<
cDlm >
most other calls are on String, Symbol, NilClass or Hash
16:56
<
cDlm >
ah no there are Arrays as well
16:57
<
cDlm >
I have Nanoc::Items as well
16:58
<
ddfreyne >
cDlm: Can you do
16:58
<
ddfreyne >
begin ; digest.update(obj.class.to_s) ; rescue => e ; p e.backtrace ; raise e ; end
16:58
<
ddfreyne >
And send the output?
16:59
<
cDlm >
it's not outputting the trace
17:00
<
ddfreyne >
cDlm: rescue Exception maybe
17:01
bghost has quit [Ping timeout: 245 seconds]
17:02
<
ddfreyne >
So where is it crashing?
17:03
bghost has joined #nanoc
17:06
<
cDlm >
if it's using too much stack, maybe the crash is more immediate ?
17:07
<
cDlm >
I'm chaining items via attributes in the preprocess block, could that be it ?
17:08
<
cDlm >
i.e. some items have another item as the value of an attribute
17:08
<
ddfreyne >
cDlm: Oh, yes.
17:08
<
ddfreyne >
That'll throw it in into an infinite loop
17:10
<
ddfreyne >
cDlm: You should store the ident identifier, and look it up usin g@items[blah]
17:10
<
ddfreyne >
s/ident/item/
17:10
<
cDlm >
← I want my proper OO back
17:11
<
ddfreyne >
OO is overrated.
17:21
<
cDlm >
I'm adding a nil check… yuck
17:26
<
cDlm >
ok, seems to be fixed
17:34
<
ddfreyne >
cDlm: A nil check where?
17:34
<
cDlm >
the attribute could be nil, so I should not do @items[nil]
17:35
<
cDlm >
but it was there already
17:37
<
bobthecow >
i'm with ddfreyne. OO is overrated.
17:39
bghost has quit [Quit: leaving]
17:41
<
cDlm >
I don't like getting flat inert data out of a query method
17:41
<
cDlm >
the identifier is just another indirection
18:32
<
bobthecow >
should coderay and rouge have identical output?
18:33
<
bobthecow >
something's gotta be wrong...
18:34
<
ddfreyne >
bobthecow: what's up?
18:34
<
bobthecow >
i've been using coderay for a while, and switched to rouge to check relative performance.
18:35
<
bobthecow >
output.diff doesn't exist after recompiling though.
18:35
<
bobthecow >
which would seem to indicate that the output from the two highlighters is identical.
18:36
<
bobthecow >
and that doesn't seem probable.
18:43
<
bobthecow >
oh, my bad. i changed it in the wrong place :)
18:57
<
bobthecow >
rouge is consistently a second or two slower than either coderay or pygments.rb on my site.
18:58
<
bobthecow >
only 21 pages of my site actually have syntax highlighting on them, so that's a pretty big difference.
19:30
<
ddfreyne >
bobthecow: interesting numbers
19:30
<
ddfreyne >
I haven't really looked into optimising that
19:47
louquillio_ has quit [Remote host closed the connection]
20:03
<
bobthecow >
i just figured i'd see if there was a quick win to be had by switching.
20:03
<
bobthecow >
and the answer is no, not right now :)
21:45
alerante has quit [Remote host closed the connection]
22:11
prxq has quit [Ping timeout: 240 seconds]
22:34
alerante has joined #nanoc
23:09
louquillio_ has joined #nanoc