August 15, 2015
On Saturday, 15 August 2015 at 08:28:59 UTC, wobbles wrote:
> Nice work! Load times are excellent.
>
> I've been meaning to do something like this for ages, never got the time.
> I'll just use this now. How open to pull requests / alterations are you? I might try to do up a comment system for it.

Sure, as long as it fits general idea / goals. Comment system is welcome but it can be quite challenging within existing design. Right now I am using immutable cache for all data which gets completely rebuilt (and saved to disk) as soon as any new article is added. Which allows for cheap parallel access to data from multiple worker threads without any synchronization and doesn't harm performance as adding articles is rare and only done by blog owner.

For comments that generally won't work - adding those can happen often and is up to users. I think best approach would be to have dedicated thread that owns all comment data and have worker threads communicate with it via message passing - and make it generally independent from immutable storage. Also save data on disk periodically and not immediately.

Or maybe just say that this pushes NIH syndrome too much and require external database to enable comment support. Not sure.

This is pretty much why I haven't implemented it yet :)
August 15, 2015
P.S. I have added license statement (Boost) for those who care.
August 17, 2015
On 8/14/15 2:51 PM, Dicebot wrote:
> A bit more details -
> https://blog.dicebot.lv/posts/2015/08/In_the_mood_for_some_releasing
>
> Project repo - https://github.com/Dicebot/mood
> Branch which powers actual blog.dicebot.lv -
> https://github.com/Dicebot/mood/tree/blog.dicebot.lv
>
> Copy of feature list for quick overview:
>
> - stand-alone binary with minimal external dependencies
> - simple deployment under dedicated posix user
> - straightforward code, minimal to none configurability - fork instead
> - basic features include publishing posts, tags and RESTful API for data
> model
> - with -version=MoodWithPygmentize does out of the box code highlighting
> if `pygmentize` is on $PATH
> - no JavaScript
> - HTTPS-only
> - no database needed, articles can be edited as simple Markdown files
>
> Feedback is always welcome but I must warn you that it can easily take
> months before I address it ;)

Tried to submit this, someone already did: https://www.reddit.com/r/programming/comments/3hbvrb/mood_simple_vibed_based_blog/ -- Andrei
August 17, 2015
On 8/17/2015 10:00 AM, Andrei Alexandrescu wrote:
> Tried to submit this, someone already did:
> https://www.reddit.com/r/programming/comments/3hbvrb/mood_simple_vibed_based_blog/
> -- Andrei

Dicebot, please post something there describing Mood to start the discussion.
August 18, 2015
On Monday, 17 August 2015 at 20:00:34 UTC, Walter Bright wrote:
> On 8/17/2015 10:00 AM, Andrei Alexandrescu wrote:
>> Tried to submit this, someone already did:
>> https://www.reddit.com/r/programming/comments/3hbvrb/mood_simple_vibed_based_blog/
>> -- Andrei
>
> Dicebot, please post something there describing Mood to start the discussion.

Sure.
August 18, 2015
On Friday, 14 August 2015 at 20:50:16 UTC, Nick Sabalausky wrote:
> On 08/14/2015 02:51 PM, Dicebot wrote:
>> A bit more details -
>> https://blog.dicebot.lv/posts/2015/08/In_the_mood_for_some_releasing
>>
>
> Nice.
>
> One thing: can i haz rss/atom plz?

Actually I have just tested it and seems to work in my thunderbird RSS reader.

You can apply tag filters to RSS feed too : https://blog.dicebot.lv/posts.rss?tag=code
August 21, 2015
On Saturday, 15 August 2015 at 08:25:41 UTC, wobbles wrote:
> Why need third party / javascript for a comment system? The vibe-d forums have a (quite nice I think) forum and as far as I know, no js.

 third party / javascript  can be ready for few minute, with social  media support.  A vibe-d solution will be great.

1 2
Next ›   Last »