digitalmars.D.announce - mood : simple vibe.d based blog implementation
- Dicebot (20/20) Aug 14 2015 A bit more details -
- David Nadlinger (4/5) Aug 14 2015 By the way, Firefox on Mac does not recognize your TLS
- Dicebot (4/9) Aug 14 2015 Yeah, I am aware of that issue, need to embed signature chains of
- Dicebot (2/14) Aug 14 2015 Should work now.
- Adam D. Ruppe (6/8) Aug 14 2015 huh, this doesn't look awful. I've been thinking about starting a
- Nick Sabalausky (3/5) Aug 14 2015 Nice.
- Dicebot (5/11) Aug 14 2015 https://blog.dicebot.lv/posts.rss
- ChangLong (3/17) Aug 14 2015 With third party Javascript comments system and image upload will
- Dicebot (5/11) Aug 18 2015 Actually I have just tested it and seems to work in my
- wobbles (6/26) Aug 15 2015 Nice work! Load times are excellent.
- Dicebot (18/23) Aug 15 2015 Sure, as long as it fits general idea / goals. Comment system is
- Dicebot (1/1) Aug 15 2015 P.S. I have added license statement (Boost) for those who care.
- Andrei Alexandrescu (4/22) Aug 17 2015 Tried to submit this, someone already did:
- Walter Bright (2/5) Aug 17 2015 Dicebot, please post something there describing Mood to start the discus...
- Dicebot (2/8) Aug 18 2015 Sure.
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 ;)
Aug 14 2015
On Friday, 14 August 2015 at 18:51:33 UTC, Dicebot wrote:- HTTPS-onlyBy the way, Firefox on Mac does not recognize your TLS certificate as valid. – David
Aug 14 2015
On Friday, 14 August 2015 at 18:55:19 UTC, David Nadlinger wrote:On Friday, 14 August 2015 at 18:51:33 UTC, Dicebot wrote:Yeah, I am aware of that issue, need to embed signature chains of my CA (from other CA) into certificate as it is not that commonly installed by default. Will address ASAP.- HTTPS-onlyBy the way, Firefox on Mac does not recognize your TLS certificate as valid. – David
Aug 14 2015
On Friday, 14 August 2015 at 19:01:47 UTC, Dicebot wrote:On Friday, 14 August 2015 at 18:55:19 UTC, David Nadlinger wrote:Should work now.On Friday, 14 August 2015 at 18:51:33 UTC, Dicebot wrote:Yeah, I am aware of that issue, need to embed signature chains of my CA (from other CA) into certificate as it is not that commonly installed by default. Will address ASAP.- HTTPS-onlyBy the way, Firefox on Mac does not recognize your TLS certificate as valid. – David
Aug 14 2015
On Friday, 14 August 2015 at 18:51:33 UTC, Dicebot wrote:A bit more details - https://blog.dicebot.lv/posts/2015/08/In_the_mood_for_some_releasinghuh, this doesn't look awful. I've been thinking about starting a fancier blog but I hate all blog software too. So I just write html files but that's a moderate pain so I was going to write my own and just haven't gotten around to it. Anyway, I might try this. (and i might not, NIH and all. :D )
Aug 14 2015
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_releasingNice. One thing: can i haz rss/atom plz?
Aug 14 2015
On Friday, 14 August 2015 at 20:50:16 UTC, Nick Sabalausky wrote:On 08/14/2015 02:51 PM, Dicebot wrote:https://blog.dicebot.lv/posts.rss https://github.com/Dicebot/mood/blob/master/source/mood/rendering/rss.d But I don't think it actually works yet - haven't even tested it with any RSS client. Just quick proof of concept.A bit more details - https://blog.dicebot.lv/posts/2015/08/In_the_mood_for_some_releasingNice. One thing: can i haz rss/atom plz?
Aug 14 2015
On Friday, 14 August 2015 at 20:57:22 UTC, Dicebot wrote:On Friday, 14 August 2015 at 20:50:16 UTC, Nick Sabalausky wrote:With third party Javascript comments system and image upload will be perfect.On 08/14/2015 02:51 PM, Dicebot wrote:https://blog.dicebot.lv/posts.rss https://github.com/Dicebot/mood/blob/master/source/mood/rendering/rss.d But I don't think it actually works yet - haven't even tested it with any RSS client. Just quick proof of concept.A bit more details - https://blog.dicebot.lv/posts/2015/08/In_the_mood_for_some_releasingNice. One thing: can i haz rss/atom plz?
Aug 14 2015
On Saturday, 15 August 2015 at 02:07:59 UTC, ChangLong wrote:On Friday, 14 August 2015 at 20:57:22 UTC, Dicebot 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.On Friday, 14 August 2015 at 20:50:16 UTC, Nick Sabalausky wrote:With third party Javascript comments system and image upload will be perfect.On 08/14/2015 02:51 PM, Dicebot wrote:https://blog.dicebot.lv/posts.rss https://github.com/Dicebot/mood/blob/master/source/mood/rendering/rss.d But I don't think it actually works yet - haven't even tested it with any RSS client. Just quick proof of concept.A bit more details - https://blog.dicebot.lv/posts/2015/08/In_the_mood_for_some_releasingNice. One thing: can i haz rss/atom plz?
Aug 15 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.
Aug 21 2015
On Friday, 14 August 2015 at 20:50:16 UTC, Nick Sabalausky wrote:On 08/14/2015 02:51 PM, Dicebot wrote: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=codeA bit more details - https://blog.dicebot.lv/posts/2015/08/In_the_mood_for_some_releasingNice. One thing: can i haz rss/atom plz?
Aug 18 2015
On Friday, 14 August 2015 at 18:51:33 UTC, 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 ;)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.
Aug 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 :)
Aug 15 2015
P.S. I have added license statement (Boost) for those who care.
Aug 15 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_simp e_vibed_based_blog/ -- Andrei
Aug 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/ -- AndreiDicebot, please post something there describing Mood to start the discussion.
Aug 17 2015
On Monday, 17 August 2015 at 20:00:34 UTC, Walter Bright wrote:On 8/17/2015 10:00 AM, Andrei Alexandrescu wrote:Sure.Tried to submit this, someone already did: https://www.reddit.com/r/programming/comments/3hbvrb/mood_simple_vibed_based_blog/ -- AndreiDicebot, please post something there describing Mood to start the discussion.
Aug 18 2015