June 04, 2015
On Thursday, 4 June 2015 at 15:35:47 UTC, extrawurst wrote:
> On Thursday, 4 June 2015 at 15:33:56 UTC, extrawurst wrote:
>> On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev wrote:
>>> http://beta.forum.dlang.org/
>>>
>>> Many major and minor improvements.
>>>
>>> Some major ones:
>>>
>>> - dlang.org theme, fully responsive and mobile-friendly
>>> - keyboard navigation in all views
>>> - automatically saved post drafts
>>> - get notified of new posts and replies with subscriptions
>>> - full text search
>>> - by persistent request, a new view mode (vertical-split)
>>> - post to mailing lists
>>> - even faster, believe it or not.
>>>
>>> This update is the sum of 256 commits over 34 days of development.
>>
>> Wow its insanely fast!
>>
>> i have some issues with the shortcuts. i have a german keyboard and "?" is Shift+.. combo and i cant open the shortcut help.
>> Also in split mode there is no mention of a "mark as read" shortcut, is there none?
>
> oh and also the ctrl+... combos do not work on osx, since this is a system shortcut doing fancy window switching...

The ctrl+up/down shortcuts that is
June 04, 2015
On Thursday, 4 June 2015 at 15:33:56 UTC, extrawurst wrote:
> On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev wrote:
>> http://beta.forum.dlang.org/
>>
>> Many major and minor improvements.
>>
>> Some major ones:
>>
>> - dlang.org theme, fully responsive and mobile-friendly
>> - keyboard navigation in all views
>> - automatically saved post drafts
>> - get notified of new posts and replies with subscriptions
>> - full text search
>> - by persistent request, a new view mode (vertical-split)
>> - post to mailing lists
>> - even faster, believe it or not.
>>
>> This update is the sum of 256 commits over 34 days of development.
>
> Wow its insanely fast!
>
> i have some issues with the shortcuts. i have a german keyboard and "?" is Shift+.. combo and i cant open the shortcut help.

Code in question:
https://github.com/CyberShadow/DFeed/blob/next/web/static/js/dfeed.js#L645-L646

Can you propose a patch?

> Also in split mode there is no mention of a "mark as read" shortcut, is there none?

There is none, just press Enter to load the post, which will mark it as read. It shouldn't be much slower.
June 04, 2015
On Thursday, 4 June 2015 at 15:35:58 UTC, Nick Sabalausky wrote:
> On 06/04/2015 11:14 AM, Vladimir Panteleev wrote:
>>
>> I thought of migrating to Vibe eventually, but it would be
>> non-trivial.
>> Some things the forum does are also difficult to express using
>> the fiber
>> asynchronicity model.
>
> Such as what? (Out of curiosity)

One problem I ran into is with the NNTP client, which uses a pipeline queue of at most 64 commands. This means that it sends 64 commands to the server in one go, and as soon as it receives the reply to the first, it sends a 65th command.

I don't know how things are now, but when I tried to move to Vibe.d (which was several years ago), you had to do some strange acrobatics in order to read the same connection in one fiber but write to it from another. In ae.net, reads are handled by callbacks, and all writes are delayed (data is queued and sent when the socket loop says the socket is writable), which means there is no contention and you can "write" to any socket from anywhere in the program (as long as it's in the same thread).
June 04, 2015
On 06/04/2015 11:04 AM, Vladimir Panteleev wrote:
> http://beta.forum.dlang.org/
>

Nice! And big improvement on mobile. (Well, except that the device's touch keyboard always covers up the bottom half of the <textarea> box when wring a post, but that has more to do with the browser itself being a piece of crap than anything else. I've never seen a mobile browser that can handle textarea's reasonably, and obviously there isn't much of an alternative to them.)

June 04, 2015
On 6/4/15 8:04 AM, Vladimir Panteleev wrote:
> http://beta.forum.dlang.org/

This is positively AWESOME. A few random comments as I notice things:

* "Welcome, Guest." -> "Welcome, Guest. You may read or post without creating an account. Accounts (<a>create</a>/<a>login</a>) save your name, avatar, and subscriptions."

* "28 threads and 168 posts have been posted in the last 24 hours." -> "28 threads and 168 posts have been posted in the last 24 hours by x posters (y newly registered)." Print the paren if y > 0.

* If the account is logged in, same paragraph: "Since your last visit, x new threads and y new posts have been posted by z posters (t newly registered)."

* The total posts and threads are not super interesting. Total users may be.

* "D Programming Language - General" -> "D Programming Language - Community"

* Traffic info should be added to descriptions. E.g. "Announcements for anything D related (low traffic, x posts in the last 7 days)".

* "mailing list" in the last column is awkward because it's broken into two rows. Use "mailman" - those who care for mailing list are bound to already know what it means.

* After the name of the forum ("Learn", "General" etc) there should be a paren: "(28 unread)". Or see below:

* The "Threads" and "Posts" columns are not that informative. The number of posts since the list has been ever created may be good to know, but it's hardly information one cares about or tracks. However, threads with unread messages and unread posts might be more interesting. Not sure where the global counters could be moved sensibly.

* The forum names ("Learn", "General" etc) should be in a different font. Maybe code font would be nice.

* I don't know how to change view modes. Clicking on a forum name takes to the threaded views, and there's no UI to change it.

Again, this is awesome work!!


Andrei
June 04, 2015
On 06/04/2015 11:51 AM, Andrei Alexandrescu wrote:
>
> * "mailing list" in the last column is awkward because it's broken into
> two rows.
>

It isn't for me. In any case, using a non-breaking space (&nbsp;) would fix that.

> * I don't know how to change view modes. Clicking on a forum name takes
> to the threaded views, and there's no UI to change it.
>

FWIW, it's in "Settings".

June 04, 2015
Space left for text reduced: http://abload.de/img/tmpkbqjv.png
June 04, 2015
On Thursday, 4 June 2015 at 16:12:04 UTC, Kagamin wrote:
> Space left for text reduced: http://abload.de/img/tmpkbqjv.png

The price of using the new dlang.org theme.

In horizontal-split view, where horizontal space is important, there is a link to toggle the sidebar. And, of course, it goes away in mobile view.
June 04, 2015
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev wrote:
> http://beta.forum.dlang.org/
>
> Many major and minor improvements.
Very nice! Thank you!
Please, add buttons 'Mark as readed'. For posts in one thread, for all threads in one section and for all forum.
June 04, 2015
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev wrote:
> http://beta.forum.dlang.org/
>
> Many major and minor improvements.
>
> Some major ones:
>
> - dlang.org theme, fully responsive and mobile-friendly
> - keyboard navigation in all views
> - automatically saved post drafts
> - get notified of new posts and replies with subscriptions
> - full text search
> - by persistent request, a new view mode (vertical-split)
> - post to mailing lists
> - even faster, believe it or not.
>
> This update is the sum of 256 commits over 34 days of development.

Cool!

* No threaded view?
* Space to scroll doesn't work.
* How about being able to collapse/expand quotes?