<guardian>
I can hear the cpu crying from here :) jesus .map ...
<guardian>
stbuehler: because albeit .map .flip looks like "I'm a genius I shit oneliners", it's so wrong in terms of all the unnecessary stuff it's doing under the hood
<stbuehler>
yes, this unnecessary stuff is certainly the main problem in programming... and should be the only thing to look for when you pick your language.
<stbuehler>
that is why i code in c all the time :P
<guardian>
the sole fact of coding in C doesn't necessarily doing things right though :)
<ddfreyne>
stbuehler: What are you doing in #nanoc if you code in C ALL the time? ;)
<ddfreyne>
I really like C, although I hope languages such as Go and Rust become more popular and their implementations more mature
<guardian>
we're on #nanoc because we would never code a shared lib to customize a site generator in C
<guardian>
never ever :)
<stbuehler>
ddfreyne: needed a site generator for "my" C projects :D
<stbuehler>
i code in C when i require performance, and otherwise i use the tool that has the best libraries to solve the task
<thedev>
i was just reading this, if I use the static datasource (type: static) will this be used instead of the filesystem datasource or in addition to it ?
thedev has quit [Quit: Leaving]
bghost has joined #nanoc
bghost has quit [Quit: leaving]
momolog has joined #nanoc
<momolog>
hi everybody
<momolog>
i just converted a site using haml to slim
<momolog>
somehow all content gets html-escaped
<momolog>
has anybody else experienced that?
<ddfreyne>
momolog: Hi!
<ddfreyne>
momolog: I think slim does that by default… and I do remember there being a way of turning it off, but I cannot remembmer
<ddfreyne>
telemachus: Your core programmer competencies thing is pretty hard to answer :)
<ddfreyne>
!twitter telemachus
<number-six>
@telemachus: The programmer core skills tweetstream continues. What are *your* core competencies as a programmer?
<ddfreyne>
↑ context
<momolog>
ddfreyne: i have a couple of pure data items (just consisting of the leading and trailing "---" and yaml data in between). what would be the best file type for this? I know it does not really matter, but is there a way to get rid of the "---" altogether?
<ddfreyne>
momolog: You can give your file the extension .yaml and get rid of the ---s
<momolog>
ddfreyne: cool, i was hoping for something like that
Rym__ has joined #nanoc
Rym has quit [Ping timeout: 256 seconds]
Rym__ is now known as Rym
bghost has quit [Quit: leaving]
<momolog>
ddfreyne: are these yaml items treated somehow special? they do not seem to trigger any compile rules but get compiled nonetheless
<momolog>
its pretty weird. i put a p item[:extension] into the compile '/*' do - block, but none of the yaml items turn up
<ddfreyne>
momolog: Oh, that is odd indeed
<ddfreyne>
momolog: What version of nanoc?
<ddfreyne>
momolog: What are your yaml files named?
<momolog>
3.6.3
<momolog>
content/de/filme/kim-und-schwester.yaml
<ddfreyne>
does nanoc show-data reveal an item with identifier /de/filme/kim-und-schwester/ ?
<momolog>
yep
<ddfreyne>
momolog: Are you sure the items are matched by the right compilation rule?
<ddfreyne>
item[:extension] will not be filled in for .yaml items
<momolog>
ah
<momolog>
does this make sense?
<momolog>
it makes it a bit difficult to treat them specifically in the rules file
<ddfreyne>
momolog: You can check whether item[:content_filename] is nil, and in that case it means there is no content file
<momolog>
ah, i see, that is because it is possible to have the yaml file AND the content file or (as i always did it) to combine them into one
<momolog>
i understand
<ddfreyne>
yep
bghost has joined #nanoc
<momolog>
thanks for your help. good night everyone
momolog has quit [Quit: momolog]
misterrayco has joined #nanoc
bghost has quit [Quit: leaving]
<misterrayco>
hiya…is there a doc on how to do block quotes? ## …i know, but sometimes one hash will show up on the page, sometimes not
<darix>
misterrayco: that depends on the markup you use doesnt it?
<darix>
consult the documentation of the markup processor you use.
<darix>
e.g. kramdown, rdiscount ...
<misterrayco>
kramdown, i believe
<ddfreyne>
misterrayco: A blockquote starts with >