ddfreyne changed the topic of #nanoc to: 3.6.4 (may 29th) | 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
Rym has quit [Ping timeout: 260 seconds]
<smkelly> ddfreyne: cripes, you have nanoc generating PHP?? https://github.com/ddfreyne/stoneship-site/blob/master/content/404.erb
<bobthecow> smkelly: so do i.
<smkelly> why?
<bobthecow> it's hard to beat php for "mostly static"
<bobthecow> for example.
<smkelly> ok I get that use case
<bobthecow> so that php file is quite literally a giant array of urls, and i randomly pick one of 'em and redirect.
<bobthecow> wouldn't make sense to spin up a ruby or python or aything else app for that :)
<bobthecow> if i had "search" functionality on my site, i probably would implement that in PHP as well.
<ddfreyne> smkelly: Yeah, and I use PHP for mystonline.com's language redirect too
Zero_Dogg has left #nanoc [#nanoc]
<darix> lighty mod magnet
<ddfreyne> darix: I used that in the past, but it is not a very portable solution
<ddfreyne> Idea: do not rely on implicit defaults in the nanoc config file. Everything always needs to be in nanoc.yaml. Feedback?
<ddfreyne> (it would not be as big in nanoc 4.0 as it is now)
stbuehle1 is now known as stbuehler
stbuehler has quit [Remote host closed the connection]
stbuehler has joined #nanoc
Rym has joined #nanoc
Skyr_ is now known as Skyr
louquillio has quit [Remote host closed the connection]
Rym has quit [Quit: Rym]
alerante has joined #nanoc
<musicmatze> Yeah, I'm back blogging! I've setup a nanoc based minimalistic blogging site... until my static site compiler is ready...
<guardian> musicmatze: you know I'm serious when it's about coding in C but… what's the point of a static site generator in C? the key is letting the user customize/extend it. I don't imagine myself writing the kind of helpers I wrote for nanoc in C :/
<musicmatze> guardian: One of my goals is to write an interface to python or ruby or an other high-level language
<musicmatze> I think I can be faster for large sites. And when I write large sites, I mean really large sites: +10k items
<guardian> fair enough
<musicmatze> I'm currently only working on the kernel, which does nothing by itself. But I'm nearly at the state where I will write modules, which will then do stuff.
<guardian> yet, the helpers/plugins would be the bottleneck and the core DAG engine won't help when the slow helpers will run for thousands item :) anyways, I don't want to discourage you from doing it!
<musicmatze> 'does nothing' is not quite right... it provides core functionality
<musicmatze> I will write the critical stuff in C or an other fast language (I really would love to learn haskell, which is fast, too, I guess)
<musicmatze> I think the most expensive part will be the templating and the dependency thing...
<musicmatze> But I'm not at a state where I can tell you which part will be the most expensive. The kernel has to be finished, then I have to write at least four modules to be able to compile things... and then I can talk about templating and dependencies, as a templating mechanism is not included in the four modules...
<musicmatze> And I'm planning that the kernel can be released in v0.1.0 until end of this year and I will be able to build a site (with templating) at the end of next year. I know, that's a lot of time, but things are more complicated in C :-P
<musicmatze> What really annoying is: Writing the stuff alone. But I think thats common on open source projects...
<guardian> indeed
pavelkunc has joined #nanoc
alerante has quit [Remote host closed the connection]
louquillio has joined #nanoc
yogsototh1 has quit [Remote host closed the connection]