ddfreyne changed the topic of #nanoc to: 3.6.2 (mar 23th) | 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
Rym has joined #nanoc
jadd_ has quit [Quit: Leaving...]
pavelkunc1 has joined #nanoc
pavelkunc has quit [Ping timeout: 240 seconds]
jadd_ has joined #nanoc
pavelkunc1 has quit [Quit: Leaving.]
koan has quit [Read error: Connection reset by peer]
koan has joined #nanoc
jadd_ has quit [Quit: Leaving...]
jadd_ has joined #nanoc
jadd_ has quit [Quit: Leaving...]
jadd_ has joined #nanoc
telemachus has quit [Ping timeout: 256 seconds]
telemachus has joined #nanoc
el-cuco has joined #nanoc
el-cuco has quit [Client Quit]
pavelkunc has joined #nanoc
kitallis has joined #nanoc
kitallis has quit [Ping timeout: 252 seconds]
bghost has quit [Quit: leaving]
bghost has joined #nanoc
bghost has quit [Changing host]
bghost has joined #nanoc
bghost has quit [Client Quit]
kitallis has joined #nanoc
bghost has joined #nanoc
yogsototh has joined #nanoc
yogsototh has quit [Remote host closed the connection]
yogsototh has joined #nanoc
jadd_ has quit [Quit: Leaving...]
blue_pearl has joined #nanoc
bghost has quit [Quit: leaving]
<blue_pearl> when i put an image in markdown file and then compile with nanoc , the output does not show image in html…here is my markdown code ![alttxt](http://name dot com/image dot png)
bghost has joined #nanoc
bghost has quit [Changing host]
bghost has joined #nanoc
bghost has quit [Quit: leaving]
<ddfreyne> blue_pearl: Is the path to your image correct?
<darix> blue_pearl: and how does the resulting html look like?
<darix> and which markdown processor?
<blue_pearl> yes the image link is correct...
<blue_pearl> the output html does not change the code while doing it in nano , it stays as ![alttxt](http://name dot com/image dot png)
<blue_pearl> but if i open the markdown file with my markdown editor and convert it to html then the output is <img src="….."> and image is gown in browser
<darix> which markdown processor are you using?
<blue_pearl> i am using Mou markdown editor.
<darix> in nanoc
<blue_pearl> kramdown
<blue_pearl> installed via gem
<ddfreyne> blue_pearl: Hmmm… is the rest of the markdown document converted properly?
<darix> ddfreyne: how to force a certain markdown processor?
<blue_pearl> ddfreyne, i guess so, it works fine expect the image part.
<ddfreyne> Can you try with :rdiscount instead?
<darix> ddfreyne: http://kramdown.rubyforge.org/syntax.html#images - according to their docs it should work
<darix> that's why i was wondering if he is really using kramdown
<ddfreyne> Hmm, if you have “filter :kramdown” then it will use kramdown…
<darix> as far as i know kramdown imported some extra syntax from other markdown stuff like php
<blue_pearl> thanks … looking into it now
<darix> ddfreyne: http://xkcd.com/1200/
<ddfreyne> blue_pearl: Does the path to your image contain spaces or somesuch? That might cause it to trip up…
<ddfreyne> darix: heh :) Who leaves their account logged in anyway
<darix> ddfreyne: see the title attribute of the image ;)
<ddfreyne> yep
<ddfreyne> I now have different passwords for everything. One base password and one fairly simple hash function I keep in memory, and that is how I generate different passwords for everything
<blue_pearl> ddfreyne, nope no spaces.
<ddfreyne> blue_pearl: Does it work with bluecloth, rdiscount, …?
<blue_pearl> Its working now…restarted the server.
<blue_pearl> i feel so dumb ! :)
<ddfreyne> blue_pearl: what server?
<darix> ddfreyne: loxodo/passwordsafe with a very long password and normal lenght passwords for all the services.
<blue_pearl> ddfreyne, locathost
<ddfreyne> darix: One of the reasons why I’m not inclined to use password managers is because I’m afraid what will happen if I lose the password store
<ddfreyne> darix: Which *should* not happen, but you never know
<ddfreyne> blue_pearl: autocompile? watch?
<blue_pearl> ddfreyne, adsf
<ddfreyne> blue_pearl: Ahh… hm, might have been a caching issue. What browser are you using?
<darix> ddfreyne: ETOOMANYPASSWORDS and not all are controlled by me
<blue_pearl> Google Chrome Canary
<ddfreyne> blue_pearl: Hmm, odd… adsf caches nothing
xo__ has quit [Read error: Connection reset by peer]
<ddfreyne> blue_pearl: Maybe a force refresh would have fixed it too
<blue_pearl> ddfreyne, yep.
xo__ has joined #nanoc
hakunin has quit [Read error: Connection reset by peer]
hakunin has joined #nanoc
bghost has joined #nanoc
pavelkunc has quit [Quit: Leaving.]
VitamineD is now known as cDlm
<guardian> o/
blue_pearl has quit [Quit: Leaving]
bghost has quit [Ping timeout: 240 seconds]
bghost has joined #nanoc
bghost has joined #nanoc
bghost has quit [Changing host]
bghost has quit [Ping timeout: 252 seconds]
bghost has joined #nanoc
bghost has quit [Changing host]
bghost has joined #nanoc
<ddfreyne> \o
<darix> \o/
<stbuehler> party? it isn't weekend yet, back to work! :)
<darix> pff
<darix> weather is nice
<darix> party time
<ddfreyne> The weather is too nice
kitallis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
bghost has quit [Ping timeout: 252 seconds]
bghost has joined #nanoc
bghost has quit [Changing host]
bghost has joined #nanoc
<guardian> what's best for the receiver? gittip or pledgie or else?
jadd_ has joined #nanoc
<ddfreyne> I really wouldn’t know :(
bghost has quit [Ping timeout: 276 seconds]
jadd_ has quit [Quit: Leaving...]
jadd_ has joined #nanoc
botton has joined #nanoc
botton has left #nanoc [#nanoc]
botton has joined #nanoc
botton has left #nanoc [#nanoc]
superkulak has joined #nanoc
vy has joined #nanoc
yogsototh has quit [Remote host closed the connection]
bghost has joined #nanoc
bghost has quit [Changing host]
bghost has joined #nanoc
<vy> In content directory, I have files like foo.jpg and foo.private.xcf. I want .private.* files to be exclude while compiling, hence I wrote a preprocess code modifying "items" variable. But "nanoc co" complains that RuntimeError: Found 2 content files for content/foo; expected 0 or 1. Any ideas?
<darix> vy: so you removed everything with private from the ItemsArray?
<vy> darix: I just have this preprocess: http://pastie.org/private/jgmhz5f6m3iz0gzq9z7rca
<vy> darix: Is that right?
<darix> i would use
<darix> @items.reject! {|e| e.identifier =~ /\.private\/\Z/ }
<vy> darix: Same error.
<darix> uhm
<vy> darix: It somehow, IMHO, does not even reach that line.
<darix> ddfreyne: is the check for duplicate items run on the stuff after preprocessing?
<ddfreyne> darix: I believe it is run before
<darix> ddfreyne: hmhm
<guardian> uh oh
<guardian> why did I upgrade: /usr/local/Cellar/ruby/2.0.0-p0/lib/ruby/gems/2.0.0/gems/nanoc-3.6.2/lib/nanoc/base/core_ext/array.rb:65: warning: Nanoc::Extra::FileProxy#respond_to?(:marshal_dump) is old fashion which takes only one parameter
<guardian> I mean brew upgrade :/
<darix> guardian: but now you are a hipster with ruby 2.0!
<guardian> s/hipster/fucked
<ddfreyne> guardian: nanoc should work fine with 2.0.0
<guardian> ddfreyne: well it spills tons of those :)
<ddfreyne> that exact warning?
<ddfreyne> weird
<guardian> that exact warning
jadd_ has quit [Quit: Leaving...]
jadd_ has joined #nanoc
<superkulak> Hey guys, I'm new to nanoc and I'm trying to use the static data source
<superkulak> but when I compile, nanoc puts the files contained within the static folder into the output folder appending the extension to each file, so that I end up with "file.ext.ext" instead of "file.ext"
<superkulak> I'm not using any rules for those files, just added "type: static" under "data_sources" in nanoc.yaml
<superkulak> suggestions?
<darix> why do you need that at all?
<superkulak> web fonts with the same name but different extensions
<darix> they are binary
<darix> and should be copied over as is
<guardian> superkulak: that's related to https://github.com/nanoc/nanoc/pull/251
<guardian> superkulak: in the meantime, you have to define a rule for those items coming from the static data source
FunkyPenguin has joined #nanoc
<superkulak> mhm, I think I tried that yet
bghost has quit [Ping timeout: 252 seconds]
vy has quit [Ping timeout: 245 seconds]
<guardian> ddfreyne: so what do we do with those file_proxy warnings? :)
<ddfreyne> superkulak: That happens because you have a routing rule that matches /static/* and appends the extension (twice)
<ddfreyne> guardian: I’ll check it out
<superkulak> ddfreyne: I removed it yesterday :) maybe It's in some other file that I'm too noob to know?
<ddfreyne> superkulak: Do you have something + item[:extension] in your routes somewhere?
<superkulak> ops, yes, when it checks for binary files
<superkulak> at the end of the Rules file
<superkulak> but if I remove it, nanoc will mess with binary files in my content folder, right? So I guess I should avoid to put binaries in that folder
<superkulak> and this is not an elegant solution, I think
<guardian> ddfreyne: how can I help?
<superkulak> maybe I should have read this before: http://nanoc.ws/docs/troubleshooting/ -.-
<guardian> re
<guardian> ffs google download my robots.txt already :(
bghost has joined #nanoc
bghost has quit [Changing host]
bghost has joined #nanoc
bghost has quit [Ping timeout: 248 seconds]
jadd_ has quit [Quit: Leaving...]
<guardian> re
<guardian> ddfreyne: for the record, http://pastebin.com/c0sXaQrC then it compiles finely
bghost has joined #nanoc
bghost has quit [Changing host]
bghost has joined #nanoc
<ddfreyne> Ahhh
<ddfreyne> respond_to?(symbol, include_all=false)
<ddfreyne> That’s the signature in Ruby 2.0, so it differs from < 2.0
bghost has quit [Ping timeout: 252 seconds]
superkulak has quit [Ping timeout: 245 seconds]
<ddfreyne> guardian: release-3.6.x branch should have a fixhttps://github.com/nanoc/nanoc/commit/9f7f6473bc575db9b26390dd2a1c2dd335424c7a
<ddfreyne> that was supposed to contain a space
<ddfreyne> guardian: release-3.6.x branch should have a fix: https://github.com/nanoc/nanoc/commit/9f7f6473bc575db9b26390dd2a1c2dd335424c7a
<guardian> ok
<guardian> nice
bghost has joined #nanoc
bghost has joined #nanoc
bghost has quit [Changing host]
<darix> ddfreyne: so when ever i add a new image ... nanoc seems to redo all the other thumbnails and so on too... why?
jadd_ has joined #nanoc
<ddfreyne> darix: because that’s one point where the dependency tracker is really weak :(
<ddfreyne> darix: It can’t reliably figure out whether existing items depend on the new item
<ddfreyne> Something that’s scheduled for improvement though!
<ddfreyne> But now… i’m off to sleep. gnight!
<darix> nn
<darix> ddfreyne: it really hurts with image processing ,)
bghost has quit [Quit: leaving]