Re: forum.dlang.org, version 2 (BETA)

2015-06-22 Thread Laeeth Isharc via Digitalmars-d-announce
Minor bug in forum (was in previous one too).  If you get an 
error from posting a message due to eg malformed email address 
then you are unable to submit a post again after correcting the 
error (because you tried to post too recently).




Re: forum.dlang.org, version 2 (BETA)

2015-06-21 Thread Suliman via Digitalmars-d-announce

Maybe we should add link to D page on SO in left menu?


Re: forum.dlang.org, version 2 (BETA)

2015-06-20 Thread Kagamin via Digitalmars-d-announce

Cool. Something changed? Layout is much better now.
BTW unsent drafts stack up.


Re: forum.dlang.org, version 2 (BETA)

2015-06-20 Thread Vladimir Panteleev via Digitalmars-d-announce

On Saturday, 20 June 2015 at 15:59:07 UTC, Kagamin wrote:

Cool. Something changed? Layout is much better now.


Not sure what you mean.


BTW unsent drafts stack up.


Yes. You can discard them after you open them.


Re: forum.dlang.org, version 2 (BETA)

2015-06-20 Thread Kagamin via Digitalmars-d-announce

On Saturday, 20 June 2015 at 17:53:43 UTC, Kagamin wrote:

http://abload.de/img/tmp67se8.png


Previously looked like this: http://abload.de/img/tmpkbqjv.png


Re: forum.dlang.org, version 2 (BETA)

2015-06-20 Thread Kagamin via Digitalmars-d-announce

http://abload.de/img/tmp67se8.png


Re: forum.dlang.org, version 2 (BETA)

2015-06-20 Thread Vladimir Panteleev via Digitalmars-d-announce

On Saturday, 20 June 2015 at 17:53:43 UTC, Kagamin wrote:

http://abload.de/img/tmp67se8.png


That's the mobile view. You zoomed in, or made your browser 
window smaller. Zoom out or make your browser window bigger.


Re: forum.dlang.org, version 2 (BETA)

2015-06-20 Thread Kagamin via Digitalmars-d-announce
On Saturday, 20 June 2015 at 16:26:53 UTC, Vladimir Panteleev 
wrote:

On Saturday, 20 June 2015 at 15:59:07 UTC, Kagamin wrote:

Cool. Something changed? Layout is much better now.


Not sure what you mean.


The left panel and pads disappeared.


Re: forum.dlang.org, version 2 (BETA)

2015-06-16 Thread Suliman via Digitalmars-d-announce
Maybe somebody already asked about it, but is there any plans to 
migrate forum to vibed?


Re: forum.dlang.org, version 2 (BETA)

2015-06-16 Thread Vladimir Panteleev via Digitalmars-d-announce

On Tuesday, 16 June 2015 at 06:42:43 UTC, Suliman wrote:
Maybe somebody already asked about it, but is there any plans 
to migrate forum to vibed?


See here:

http://forum.dlang.org/post/eilpqzfudiewdqsro...@beta.forum.dlang.org


Re: forum.dlang.org, version 2 (BETA)

2015-06-16 Thread Suliman via Digitalmars-d-announce
I think to better move this to bottom 
http://img.ctrlv.in/img/15/06/16/557fcd265df16.png


this stat info is not so important to show it's on top


Re: forum.dlang.org, version 2 (BETA)

2015-06-15 Thread weaselcat via Digitalmars-d-announce
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.


feels like a mobile site

which is bad on a 1440p screen.


Re: forum.dlang.org, version 2 (BETA)

2015-06-15 Thread Suliman via Digitalmars-d-announce

On Monday, 15 June 2015 at 07:45:56 UTC, Kagamin wrote:

http://abload.de/img/tmphersb.png
Maybe show full thread titles? They are weird when abbreviated.


Yes it would be nice. On my phone titles are too short.


Re: forum.dlang.org, version 2 (BETA)

2015-06-15 Thread Philpax via Digitalmars-d-announce
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.


Can you make the breadcrumb links at the top of the forum larger? 
They're a little too small for easy navigation.


Re: forum.dlang.org, version 2 (BETA)

2015-06-15 Thread Laeeth Isharc via Digitalmars-d-announce
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.


Congratulations on an excellent result, Vladimir.

It may sound silly, but when you are pointing someone who doesn't 
know about technology to the benefits of D, saying check out this 
forum and compare the speed to what you are used to, it's a 
simple illustration that makes quite vivid the point that even in 
domains where supposedly speed doesn't matter, it actually does 
(and D can help get there).  People have a hard time believing 
something till they see it.





Re: forum.dlang.org, version 2 (BETA)

2015-06-15 Thread Kagamin via Digitalmars-d-announce

http://abload.de/img/tmphersb.png
Maybe show full thread titles? They are weird when abbreviated.


Re: forum.dlang.org, version 2 (BETA)

2015-06-14 Thread Temtaime via Digitalmars-d-announce

Too ugly.


Re: forum.dlang.org, version 2 (BETA)

2015-06-14 Thread tired_eyes via Digitalmars-d-announce
Some strange things on the main site after update: 
http://i.imgur.com/MSYjmjZ.png


Re: forum.dlang.org, version 2 (BETA)

2015-06-14 Thread HaraldZealot via Digitalmars-d-announce
On Wednesday, 10 June 2015 at 00:30:05 UTC, Vladimir Panteleev 
wrote:
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/


Any objections against updating forum.dlang.org on Sunday or so?


It has started. Super!


Re: forum.dlang.org, version 2 (BETA)

2015-06-14 Thread Vladimir Panteleev via Digitalmars-d-announce

On Sunday, 14 June 2015 at 17:10:41 UTC, tired_eyes wrote:
Some strange things on the main site after update: 
http://i.imgur.com/MSYjmjZ.png


Fixed


Re: forum.dlang.org, version 2 (BETA)

2015-06-14 Thread Vladimir Panteleev via Digitalmars-d-announce

On Sunday, 14 June 2015 at 18:07:29 UTC, Temtaime wrote:

Too ugly.


In case you're referring to the CSS problem some people were 
seeing, that's fixed now (after someone actually told me there 
was a problem).


Re: forum.dlang.org, version 2 (BETA)

2015-06-14 Thread tired_eyes via Digitalmars-d-announce

On Sunday, 14 June 2015 at 20:51:54 UTC, Vladimir Panteleev wrote:

On Sunday, 14 June 2015 at 17:10:41 UTC, tired_eyes wrote:
Some strange things on the main site after update: 
http://i.imgur.com/MSYjmjZ.png


Fixed


Yeah, new forum looks very nice.


Re: forum.dlang.org, version 2 (BETA)

2015-06-11 Thread Mike via Digitalmars-d-announce
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/



messages sent to DMD-Internals don't seem to be appearing in the 
beta site.


Mike


Re: forum.dlang.org, version 2 (BETA)

2015-06-11 Thread Vladimir Panteleev via Digitalmars-d-announce

On Thursday, 11 June 2015 at 22:42:53 UTC, Mike wrote:
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/


messages sent to DMD-Internals don't seem to be appearing in 
the beta site.


Yes, this is specific to the beta site - it is not set up to 
receive live emails from the mailing list.


Re: forum.dlang.org, version 2 (BETA)

2015-06-09 Thread Dennis Ritchie via Digitalmars-d-announce
There is no possibility, as before to stretch the field for the 
bottom right corner:

http://i.imgur.com/IEVjs6v.png


Re: forum.dlang.org, version 2 (BETA)

2015-06-09 Thread Vladimir Panteleev via Digitalmars-d-announce
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/


Any objections against updating forum.dlang.org on Sunday or so?


Re: forum.dlang.org, version 2 (BETA)

2015-06-09 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 6/9/15 5:30 PM, Vladimir Panteleev wrote:

On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev wrote:

http://beta.forum.dlang.org/


Any objections against updating forum.dlang.org on Sunday or so?


Let's. Thanks for the awesome work! -- Andrei


Re: forum.dlang.org, version 2 (BETA)

2015-06-08 Thread John Colvin via Digitalmars-d-announce
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.


Any chance of transferring the viewed status (i.e. bold for 
unread) of posts over from the old version?


Re: forum.dlang.org, version 2 (BETA)

2015-06-08 Thread extrawurst via Digitalmars-d-announce

On Monday, 8 June 2015 at 10:41:19 UTC, John Colvin 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.


Any chance of transferring the viewed status (i.e. bold for 
unread) of posts over from the old version?


That is one reason why i asked about a mark as read 
functionality of entire threads..


Re: forum.dlang.org, version 2 (BETA)

2015-06-08 Thread Vladimir Panteleev via Digitalmars-d-announce

On Monday, 8 June 2015 at 10:41:19 UTC, John Colvin wrote:
Any chance of transferring the viewed status (i.e. bold for 
unread) of posts over from the old version?


No, as the post indices are different. But they will be preserved 
when forum.dlang.org is updated.


Re: forum.dlang.org, version 2 (BETA)

2015-06-08 Thread Nick Sabalausky via Digitalmars-d-announce

On Friday, 5 June 2015 at 01:45:58 UTC, Vladimir Panteleev wrote:

It may be that we have lost potential participants because they
clicked away from the page within seconds of realising there was no
oauth (I definitely would).


It's doable but just seems a little overkill to me. Every time I
looked into implementing OAuth I was swamped by how overly complicated
it was (or maybe I just never found a succint-enough description).


AFAIK, Nick wanted to write OAuth support library in D.


That's kind of an eventual todo item for the InstaUser library 
(currently DAuth, but changing the name though to avoid confusion with 
OAuth). There's other higher-priority think I intend to do on the lib 
first. So if anyone want to beat to it, feel free. :)




Re: forum.dlang.org, version 2 (BETA)

2015-06-08 Thread Kapps via Digitalmars-d-announce

On Friday, 5 June 2015 at 20:54:50 UTC, Vladimir Panteleev wrote:


The reply count number is now a secret link to the thread.


Awesome. :) This combined with the other beta changes, and I 
think the new beta forum is a very nice improvement over the 
current one, even though the 0 reply link was my only real issue 
with the current one.


Re: forum.dlang.org, version 2 (BETA)

2015-06-06 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
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.


Much nicer reading  posting from mobile browser. Thanks! :-)


Re: forum.dlang.org, version 2 (BETA)

2015-06-06 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-06-05 14:57, Vladimir Panteleev wrote:


1. People receiving messages through NNTP/mailing lists will not see the
formatted Markdown. Although Markdown's goal is to be readable in its
plain text source code, it still allows many situations in which the
source is misleading or difficult to understand. For example, special
characters need to be escaped by a backslash, which can create confusion
in the presence of other special characters. (Are they part of the D
syntax the user is describing, or something else?) Some syntax such as
tables or images can also be not very readable in source form.


Some people are already sending something that looks like Markdown, i.e. 
``` for code blocks. Even your post can be rendered as Markdown.



2. How should we render messages sent by NNTP/mailing-list users? Do we
just assume that they're sending Markdown and render it as such? This
can cause the messages to appear broken to forum users. Or do we only
render Markdown if the post was sent from the forum? This means that
when NNTP/ML users quote forum users' text it will be shown as plain text.

3. There is no unified standard for Markdown. The original format is not
used on major sites today - StackOverflow and GitHub extend the format,
and users will expect Markdown with those extensions.


That standard would be the one GibHub uses.


5. You can't edit posts once sent. This means that if you accidentally
messed up the formatting (e.g. you pasted code without padding it with
whitespace or surrounding it in ```...``` blocks), you can't go back and
edit it now.


A preview button/view would (hopefully) solve that.

--
/Jacob Carlborg


Re: forum.dlang.org, version 2 (BETA)

2015-06-06 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-06-05 03:45, Vladimir Panteleev wrote:


It's doable but just seems a little overkill to me. Every time I looked
into implementing OAuth I was swamped by how overly complicated it was
(or maybe I just never found a succint-enough description).


What about hooking up Github accounts or something similar?

--
/Jacob Carlborg


Re: forum.dlang.org, version 2 (BETA)

2015-06-06 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-06-04 17:04, 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.


Unfortunately I'm a bit disappointed. I mostly use the forum on my phone 
and to me it's barley any improvement at all. The problem I see are:


* The font is too small in portrait mode. It's good in landscape mode

* The two (index) and three columns (viewing a group) views don't really 
work. They truncate too much of the text. Perhaps using a different 
layout that is more suitable for phones could be used


* All links except that ones inline in a post is too small. The 
breadcrumbs, settings, help and the pager. It's mostly the pager that is 
important


* It looks like the site decreases the font size when the window gets 
more narrow, is that really necessary? Perhaps that's why I think the 
font size is too small in portrait mode


* Still no pager on top :( . This is not just on the phone

* I don't think it's necessary on a desktop size that page stretches out 
and uses the complete width. I think most responsive site has some form 
of max width on the page. At some point it's not necessary to increase 
the width any more, it just adds unnecessary whitespace


The combination of a too small font size a too small pager is why I'm so 
disappointed. If I need to zoom on a responsive site the whole 
responsiveness has failed


On the plus side, the links inline in the posts seem to be properly 
wrapped now and doesn't break the layout :)


I'm using an iPhone 6, the smaller one.

--
/Jacob Carlborg


Re: forum.dlang.org, version 2 (BETA)

2015-06-06 Thread Jacob Carlborg via Digitalmars-d-announce

On 2015-06-05 03:37, Vladimir Panteleev wrote:


Except for the bold part, believe it or not, it's exactly the same font
as we use on dlang.org, size and all (Verdana 14px). And as for the bold
part, it doesn't look so bad on Windows, so what does that say about the
famed OS X font rendering? :D


I think it looks good (both in Firefox and Safari), the same as on 
form.dlang.org, just bigger.


--
/Jacob Carlborg


Re: forum.dlang.org, version 2 (BETA)

2015-06-06 Thread Andrei Alexandrescu via Digitalmars-d-announce
Before I forget: avatar photo covers text. http://imgur.com/8r679dX -- 
Andrei


Re: forum.dlang.org, version 2 (BETA)

2015-06-06 Thread Mattcoder via Digitalmars-d-announce
On Saturday, 6 June 2015 at 16:02:23 UTC, Andrei Alexandrescu 
wrote:
Before I forget: avatar photo covers text. 
http://imgur.com/8r679dX -- Andrei


I think it's otherwise! :)

Matheus.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Sönke Ludwig via Digitalmars-d-announce

Am 05.06.2015 um 02:01 schrieb Vladimir Panteleev:

On Thursday, 4 June 2015 at 21:10:13 UTC, Sönke Ludwig wrote:

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).


This has been solved in the meantime. Reads and writes can now occur
concurrently in different fibers.


Good to know. What about writing from multiple fibers to the same
connection (e.g. an IRC client that needs to send PINGs from a timer
fiber and also announce events coming from other fibers)? IIRC a
connection's input/output streams needed to be explicitly associated
with a fiber?


You'd need to use a TaskMutex to serialize access to the connection in 
that case, but no explicit ownership management is needed (that has 
actually been removed from the API back then). I was thinking about 
making this the default behavior, though (instead of throwing an 
assertion error for mutual write access). After all that's what happens 
with normal blocking I/O and threads, too.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread sigod via Digitalmars-d-announce
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/


When writing reply you click `Save and preview`:

URL changes from 
http://beta.forum.dlang.org/reply/sqqngcfwtkhxeoiqn...@beta.forum.dlang.org to http://beta.forum.dlang.org/send.
As does text at the top of the page (`Index » Announce » 
forum.dlang.org, version 2 (BETA) » Post reply` - `Index » 
Posting error`).


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread sigod via Digitalmars-d-announce

On Friday, 5 June 2015 at 01:52:07 UTC, Vladimir Panteleev wrote:

On Friday, 5 June 2015 at 01:48:20 UTC, Meta wrote:
How feasible is it to add code formatting for the web 
interface?


Not sure what you mean. Do you mean syntax highlighting for D 
code?


If you mean the rewrapping issues with forum.dlang.org, those 
should be fixed now. Code (and other text with hard line 
breaks) should be sent and displayed as-is.


How about markdown support? It can have completely client-side 
implementation.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Sönke Ludwig via Digitalmars-d-announce

Am 04.06.2015 um 17:27 schrieb Vladimir Panteleev:

On Thursday, 4 June 2015 at 15:23:04 UTC, Sönke Ludwig wrote:

The left navigation bar doesn't use the same snap in/out style like
the main page - is that on purpose? That's the only thing that makes
it feel a little alien within the rest of the site.


Sorry, I'm not following. What do you mean by snap in/out style? I did
deal away with expandable menus, as there are not enough items to
warrant the accordions, and tweaked the CSS accordingly.


Exactly, that's what I meant. The styling of the snapped out groups is 
quite formative to the overall look. But even if those are dropped, 
maybe at least the selection styling could be kept (make all 's red 
by default and use a background color, plus possibly a right arrow to 
indicate the selection).


Right now it looks fine on its own, but it just doesn't quite feel like 
part of a uniform site.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Rainer Schuetze via Digitalmars-d-announce



On 04.06.2015 17:04, 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.



Great stuff!

I just clicked randomly at some news group and noticed that pretty old 
posts are shown at the top as 1 day ago in the beta forum: 
http://beta.forum.dlang.org/group/beta


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread extrawurst via Digitalmars-d-announce
On Thursday, 4 June 2015 at 15:38:57 UTC, Vladimir Panteleev 
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.


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.


If the thread is more than one page it is actually very much 
slower, cause one has to go through all pages.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread extrawurst via Digitalmars-d-announce
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.


I now love the j,k shortcuts. but is it possible to go to the 
next page of messages instead of wrapping around the same page 
when reaching upper/lower bound ?


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread sigod via Digitalmars-d-announce

On Friday, 5 June 2015 at 09:53:34 UTC, Jonathan M Davis wrote:
On Friday, June 05, 2015 09:16:29 sigod via 
Digitalmars-d-announce wrote:
On Friday, 5 June 2015 at 01:52:07 UTC, Vladimir Panteleev 
wrote:

 On Friday, 5 June 2015 at 01:48:20 UTC, Meta wrote:
 How feasible is it to add code formatting for the web 
 interface?


 Not sure what you mean. Do you mean syntax highlighting for 
 D code?


 If you mean the rewrapping issues with forum.dlang.org, 
 those should be fixed now. Code (and other text with hard 
 line breaks) should be sent and displayed as-is.


How about markdown support? It can have completely client-side 
implementation.


Remember that the forum software is just a frontend for an nntp 
server and that others view the content via nntp or via the 
mailing list.


This just scares off users who doesn't have experience with all 
this stuff. And I believe now there's much more users, who 
doesn't even heard of NNTP, than whose who worked with it.


So, it doesn't make any sense to support features that involve 
anything other than plain text. It would just result in 
garbage/cruft in the messages for those viewing it elsewhere 
than the forums.


Markdown in a raw format is very readable. As for me, it's easier 
to read raw markdown than mix of text and code.


So, while it might be nice to have markdown if we were dealing 
purely with forum software, we're not, so it doesn't make sense.


I don't see a reason why forum cannot have features on it's own. 
Especially, when this features won't significantly affect other 
ways to access the same information.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 11:28:41 UTC, Kagamin wrote:

The beta forum doesn't look plaintext.


It's still plain text. It just parses format=flowed now (in 
addition to emitting it).


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Jonathan M Davis via Digitalmars-d-announce
On Friday, June 05, 2015 09:16:29 sigod via Digitalmars-d-announce wrote:
 On Friday, 5 June 2015 at 01:52:07 UTC, Vladimir Panteleev wrote:
  On Friday, 5 June 2015 at 01:48:20 UTC, Meta wrote:
  How feasible is it to add code formatting for the web
  interface?
 
  Not sure what you mean. Do you mean syntax highlighting for D
  code?
 
  If you mean the rewrapping issues with forum.dlang.org, those
  should be fixed now. Code (and other text with hard line
  breaks) should be sent and displayed as-is.

 How about markdown support? It can have completely client-side
 implementation.

Remember that the forum software is just a frontend for an nntp server and
that others view the content via nntp or via the mailing list. So, it
doesn't make any sense to support features that involve anything other than
plain text. It would just result in garbage/cruft in the messages for those
viewing it elsewhere than the forums. So, while it might be nice to have
markdown if we were dealing purely with forum software, we're not, so it
doesn't make sense.

- Jonathan M Davis



Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Dicebot via Digitalmars-d-announce

On Friday, 5 June 2015 at 11:28:41 UTC, Kagamin wrote:

On Friday, 5 June 2015 at 09:53:34 UTC, Jonathan M Davis wrote:
Remember that the forum software is just a frontend for an 
nntp server and
that others view the content via nntp or via the mailing list. 
So, it
doesn't make any sense to support features that involve 
anything other than

plain text.


The beta forum doesn't look plaintext.


Also markdown is plain text. That is the very point of formats 
like markdown and restructured text - to be perfectly readable in 
raw ascii form.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread ketmar via Digitalmars-d-announce
On Fri, 05 Jun 2015 10:19:20 +, sigod wrote:

 This just scares off users who doesn't have experience with all this
 stuff. And I believe now there's much more users, who doesn't even heard
 of NNTP, than whose who worked with it.

i vote for dropping web interface at all. i believe that everybody should 
use NNTP reader.

signature.asc
Description: PGP signature


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Chris via Digitalmars-d-announce
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.


Большое спасибо :-) Hope it's correct!


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread sigod via Digitalmars-d-announce

On Friday, 5 June 2015 at 10:48:31 UTC, ketmar wrote:

On Fri, 05 Jun 2015 10:19:20 +, sigod wrote:

This just scares off users who doesn't have experience with 
all this stuff. And I believe now there's much more users, who 
doesn't even heard of NNTP, than whose who worked with it.


i vote for dropping web interface at all. i believe that 
everybody should use NNTP reader.


Bad joke. It'll probably kill D in a long run.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread sigod via Digitalmars-d-announce

On Friday, 5 June 2015 at 10:54:03 UTC, Jonathan M Davis wrote:
On Friday, June 05, 2015 10:19:20 sigod via 
Digitalmars-d-announce wrote:
Markdown in a raw format is very readable. As for me, it's 
easier to read raw markdown than mix of text and code.


Perhaps, but I don't want to see raw markdown in e-mails any 
more than I want to see raw html, even if raw markdown isn't 
quite as bad.


Your comparison of markdown and HTML doesn't make any sense. 
They're fundamentally different.


 So, while it might be nice to have markdown if we were 
 dealing purely with forum software, we're not, so it doesn't 
 make sense.


I don't see a reason why forum cannot have features on it's 
own. Especially, when this features won't significantly affect 
other ways to access the same information.


If you're screwing with the content of the messages, then yes, 
it does affect the other ways that the information is accessed 
- and that includes adding stuff like markdown or html into the 
messages. If it's something that just affects how the content 
is viewed in the web forum, then that's fine, but it needs to 
not mess with the content of the messages


Are you sure you aren't confusing something like [bbcodes] with 
[markdown]?


I don't see how markdown can obscure message. For example, this 
quotes (``) are part of markdown.


or assume that all (or even a majority) of the users are 
communicating via the web forum.


You missed my point. I was talking about _potential_ users. 
Aren't we all want for D to became very popular and broadly used?



[bbcodes]: https://en.wikipedia.org/wiki/BBCode
[markdown]: https://en.wikipedia.org/wiki/Markdown


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 09:16:30 UTC, sigod wrote:
How about markdown support? It can have completely client-side 
implementation.


I have thought for a long time about this.

It's tricky.

There are multiple concerns:

1. People receiving messages through NNTP/mailing lists will not 
see the formatted Markdown. Although Markdown's goal is to be 
readable in its plain text source code, it still allows many 
situations in which the source is misleading or difficult to 
understand. For example, special characters need to be escaped by 
a backslash, which can create confusion in the presence of other 
special characters. (Are they part of the D syntax the user is 
describing, or something else?) Some syntax such as tables or 
images can also be not very readable in source form.


2. How should we render messages sent by NNTP/mailing-list users? 
Do we just assume that they're sending Markdown and render it as 
such? This can cause the messages to appear broken to forum 
users. Or do we only render Markdown if the post was sent from 
the forum? This means that when NNTP/ML users quote forum users' 
text it will be shown as plain text.


3. There is no unified standard for Markdown. The original format 
is not used on major sites today - StackOverflow and GitHub 
extend the format, and users will expect Markdown with those 
extensions.


4. Markdown's formatting for code (leading whitespace) is rather 
cumbersome, and difficult to use without either visual JavaScript 
text editors (as on SO) or Markdown extensions (as on GH).


5. You can't edit posts once sent. This means that if you 
accidentally messed up the formatting (e.g. you pasted code 
without padding it with whitespace or surrounding it in ```...``` 
blocks), you can't go back and edit it now.


You see this all the time on StackOverflow (even though it's 
user-editable) and more importantly on the vibe.d forums. It's 
pretty ugly, and in some cases, borderline unreadable (any 
indented lines are shown drastically different from unindented 
lines).


6. How do we encode that the message is in Markdown in the 
message's headers? text/plain + a proprietary header would be 
lying. text/markdown or something like that will likely cause 
the message to not be displayed at all in some readers. Sending a 
text/html part with rendered Markdown is an idea, but it also 
invites clients to send a text/html-only reply, which DFeed 
can't display.


To sum it up, it's a can of worms, and I'm fairly sure we're 
doing quite well without it.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread sigod via Digitalmars-d-announce

On Friday, 5 June 2015 at 12:57:23 UTC, Vladimir Panteleev wrote:
1. People receiving messages through NNTP/mailing lists will 
not see the formatted Markdown.


That isn't a problem at all.

Although Markdown's goal is to be readable in its plain text 
source code, it still allows many situations in which the 
source is misleading or difficult to understand. For example, 
special characters need to be escaped by a backslash, which can 
create confusion in the presence of other special characters. 
(Are they part of the D syntax the user is describing, or 
something else?) Some syntax such as tables or images can also 
be not very readable in source form.


I cannot speculate about it without actually trying to implement 
it.


2. How should we render messages sent by NNTP/mailing-list 
users?


Why should we?

Do we just assume that they're sending Markdown and render it 
as such?


Yes. You already do it for quotes.


This can cause the messages to appear broken to forum users.


Yes, it can be a problem. But, first: markdown render should be 
optional. And second: don't render if you're not sure how to 
render it.


3. There is no unified standard for Markdown. The original 
format is not used on major sites today - StackOverflow and 
GitHub extend the format, and users will expect Markdown with 
those extensions.


There's always should be a help which explains what supported. 
Also, I don't think we need _all_ syntax and all possible 
extensions. Just those which will improve readability.


4. Markdown's formatting for code (leading whitespace) is 
rather cumbersome


I dislike this syntax too. GitHub's extension:

```[language, optional]
code in here
```

Is much better.

, and difficult to use without either visual JavaScript text 
editors (as on SO) or Markdown extensions (as on GH).


You already have `Save and preview` button.

5. You can't edit posts once sent. This means that if you 
accidentally messed up the formatting (e.g. you pasted code 
without padding it with whitespace or surrounding it in 
```...``` blocks), you can't go back and edit it now.


I'm aware of that. As I said before: don't render if you're not 
sure how to render it.


You see this all the time on StackOverflow (even though it's 
user-editable) and more importantly on the vibe.d forums. It's 
pretty ugly


It all depends on actual users. We can't do anything about this.

6. How do we encode that the message is in Markdown in the 
message's headers?


Again. Why should we? See #2.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Suliman via Digitalmars-d-announce
Vladimir, great work! But I really can't understand people that 
still continue use mail for communication, for me forum like 
http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/ 
is perfect.


mail communication have a lot of contras. Messages are can't be 
edited, problem with markdown and so on.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread ketmar via Digitalmars-d-announce
On Fri, 05 Jun 2015 12:29:34 +, sigod wrote:

 On Friday, 5 June 2015 at 10:48:31 UTC, ketmar wrote:
 On Fri, 05 Jun 2015 10:19:20 +, sigod wrote:

 This just scares off users who doesn't have experience with all this
 stuff. And I believe now there's much more users, who doesn't even
 heard of NNTP, than whose who worked with it.

 i vote for dropping web interface at all. i believe that everybody
 should use NNTP reader.
 
 Bad joke. It'll probably kill D in a long run.

it's not a joke, it's simply your message reworded by making NNTP users 
superior.

signature.asc
Description: PGP signature


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Bastiaan Veelo via Digitalmars-d-announce
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/

Many major and minor improvements.


Awesome, great work.

In threaded mode, the frame around the message body could be a 
bit thinner (like the frame around the message header) to 
differentiate it more from the quote level lines.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Kagamin via Digitalmars-d-announce

On Friday, 5 June 2015 at 12:57:23 UTC, Vladimir Panteleev wrote:
1. People receiving messages through NNTP/mailing lists will 
not see the formatted Markdown. Although Markdown's goal is to 
be readable in its plain text source code, it still allows many 
situations in which the source is misleading or difficult to 
understand. For example, special characters need to be escaped 
by a backslash, which can create confusion in the presence of 
other special characters. (Are they part of the D syntax the 
user is describing, or something else?) Some syntax such as 
tables or images can also be not very readable in source form.


What about supporting only a few features like hyperlinks and 
code blocks? These should be unambiguous and not conflict with 
anything.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 09:43:18 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.


I now love the j,k shortcuts. but is it possible to go to the 
next page of messages instead of wrapping around the same page 
when reaching upper/lower bound ?


The wraparound is useful, but I was thinking of using the H/L 
keys to navigate pages, what do you think?


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 13:31:05 UTC, sigod wrote:
On Friday, 5 June 2015 at 12:57:23 UTC, Vladimir Panteleev 
wrote:
1. People receiving messages through NNTP/mailing lists will 
not see the formatted Markdown.


That isn't a problem at all.


I don't know what you mean by this. I provided several examples 
of situations in which problems can occur.


2. How should we render messages sent by NNTP/mailing-list 
users?


Why should we?


For one, sending the same text will change its appearance 
depending on which client you use to send it. Copying text 
between posts can drastically change its appearance to the point 
of corrupting it or making it unreadable.


This reminds me to another problem with Markdown: you can't copy 
rendered text, paste it in your message, and expect it to display 
correctly. The forum does not have this problem with quote 
margins (there are invisible   characters which will be copied 
with the post), but it is difficult to extend this all the way to 
Markdown formatting.


Do we just assume that they're sending Markdown and render it 
as such?


Yes. You already do it for quotes.


The quotes are part of the formatting that all clients are 
already in agreement with. It is part of RFC 2646 and others. 
Markdown isn't.



This can cause the messages to appear broken to forum users.


Yes, it can be a problem. But, first: markdown render should be 
optional. And second: don't render if you're not sure how to 
render it.


We definitely should not expect users to choose how they want to 
display others' posts.


And, please elaborate on if you're not sure how to render it.

3. There is no unified standard for Markdown. The original 
format is not used on major sites today - StackOverflow and 
GitHub extend the format, and users will expect Markdown with 
those extensions.


There's always should be a help which explains what supported.


Few things turn me down from making a first post on a forum more 
than having to read a How to format your post page first.


Also, I don't think we need _all_ syntax and all possible 
extensions. Just those which will improve readability.


Great, so another Markdown variant.

5. You can't edit posts once sent. This means that if you 
accidentally messed up the formatting (e.g. you pasted code 
without padding it with whitespace or surrounding it in 
```...``` blocks), you can't go back and edit it now.


I'm aware of that. As I said before: don't render if you're 
not sure how to render it.


As above?

You see this all the time on StackOverflow (even though it's 
user-editable) and more importantly on the vibe.d forums. It's 
pretty ugly


It all depends on actual users. We can't do anything about this.


Blaming the users never works. If you start blaming users en 
masse, you've become blind as to how crappy your UX is.


6. How do we encode that the message is in Markdown in the 
message's headers?


Again. Why should we? See #2.


1. The forum needs to recognize which messages are 
Markdown-formatted somehow.
2. Text must be sent in such a way as to maximize readability in 
other clients.




Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 14:13:54 UTC, Kagamin wrote:
On Friday, 5 June 2015 at 12:57:23 UTC, Vladimir Panteleev 
wrote:
5. You can't edit posts once sent. This means that if you 
accidentally messed up the formatting (e.g. you pasted code 
without padding it with whitespace or surrounding it in 
```...``` blocks), you can't go back and edit it now.


We already have this, see 
http://forum.dlang.org/post/yfykbayodugukemvo...@forum.dlang.org


This is fixed now.

http://beta.forum.dlang.org/post/yfykbayodugukemvo...@forum.dlang.org


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 13:20:18 UTC, Bastiaan Veelo wrote:
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/

Many major and minor improvements.


Awesome, great work.

In threaded mode, the frame around the message body could be a 
bit thinner (like the frame around the message header) to 
differentiate it more from the quote level lines.


Fixed, thanks.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 09:22:34 UTC, sigod wrote:
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/


When writing reply you click `Save and preview`:

URL changes from 
http://beta.forum.dlang.org/reply/sqqngcfwtkhxeoiqn...@beta.forum.dlang.org to http://beta.forum.dlang.org/send.
As does text at the top of the page (`Index » Announce » 
forum.dlang.org, version 2 (BETA) » Post reply` - `Index » 
Posting error`).


Fixed, thanks. The URL change is intentional, the breadcrumb 
error label on preview was a leftover.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Kagamin via Digitalmars-d-announce

On Friday, 5 June 2015 at 12:57:23 UTC, Vladimir Panteleev wrote:
5. You can't edit posts once sent. This means that if you 
accidentally messed up the formatting (e.g. you pasted code 
without padding it with whitespace or surrounding it in 
```...``` blocks), you can't go back and edit it now.


We already have this, see 
http://forum.dlang.org/post/yfykbayodugukemvo...@forum.dlang.org


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 14:06:32 UTC, Kagamin wrote:
On Friday, 5 June 2015 at 12:57:23 UTC, Vladimir Panteleev 
wrote:
1. People receiving messages through NNTP/mailing lists will 
not see the formatted Markdown. Although Markdown's goal is to 
be readable in its plain text source code, it still allows 
many situations in which the source is misleading or difficult 
to understand. For example, special characters need to be 
escaped by a backslash, which can create confusion in the 
presence of other special characters. (Are they part of the D 
syntax the user is describing, or something else?) Some syntax 
such as tables or images can also be not very readable in 
source form.


What about supporting only a few features like hyperlinks and 
code blocks? These should be unambiguous and not conflict with 
anything.


Yes, we could do that, with the downside of implementing our own 
Markdown variant with its own instruction manual. But we already 
use footnotes for hyperlinks by convention, and code already 
looks fine, so what's the gain? Syntax highlighting?


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Steven Schveighoffer via Digitalmars-d-announce

On 6/5/15 8:57 AM, Vladimir Panteleev wrote:

On Friday, 5 June 2015 at 09:16:30 UTC, sigod wrote:

How about markdown support? It can have completely client-side
implementation.


I have thought for a long time about this.

It's tricky.

...

5. You can't edit posts once sent. This means that if you accidentally
messed up the formatting (e.g. you pasted code without padding it with
whitespace or surrounding it in ```...``` blocks), you can't go back and
edit it now.


This. I mess up markdown all the time. If I can't edit, I'd be screwed :)

-Steve


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Joakim via Digitalmars-d-announce
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/

Many major and minor improvements.


Man, I think we found the ultimate bikeshed topic for D, with 113 
replies in one day. :)


There is a bug in the currently deployed DFeed forum with Chrome 
on Android tablets, where it's necessary to click on an external 
link twice before it will load, which seems to be fixed in this 
beta.  Hopefully, the fix is intentional and it won't recur.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 6/5/15 2:16 AM, sigod wrote:

On Friday, 5 June 2015 at 01:52:07 UTC, Vladimir Panteleev wrote:

On Friday, 5 June 2015 at 01:48:20 UTC, Meta wrote:

How feasible is it to add code formatting for the web interface?


Not sure what you mean. Do you mean syntax highlighting for D code?

If you mean the rewrapping issues with forum.dlang.org, those should
be fixed now. Code (and other text with hard line breaks) should be
sent and displayed as-is.


How about markdown support? It can have completely client-side
implementation.


That'd be really interesting - text would look nice in the text clients 
(email, NNTP), and beautiful online. That way the online forum becomes 
more attractive. -- Andrei


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Kagamin via Digitalmars-d-announce

On Friday, 5 June 2015 at 14:16:13 UTC, Vladimir Panteleev wrote:
Yes, we could do that, with the downside of implementing our 
own Markdown variant with its own instruction manual.


Every site in the internet supports its own way to markup, some 
accept html, some - bbcode, some - markdown, so manual on what's 
supported will be handy.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Kagamin via Digitalmars-d-announce

On Friday, 5 June 2015 at 14:16:13 UTC, Vladimir Panteleev wrote:
What about supporting only a few features like hyperlinks and 
code blocks? These should be unambiguous and not conflict with 
anything.


Yes, we could do that, with the downside of implementing our 
own Markdown variant with its own instruction manual. But we 
already use footnotes for hyperlinks by convention, and code 
already looks fine, so what's the gain? Syntax highlighting?


Nice hyperlinks and syntax highlighting.

On Friday, 5 June 2015 at 14:19:06 UTC, Steven Schveighoffer 
wrote:
5. You can't edit posts once sent. This means that if you 
accidentally
messed up the formatting (e.g. you pasted code without padding 
it with
whitespace or surrounding it in ```...``` blocks), you can't 
go back and

edit it now.


This. I mess up markdown all the time. If I can't edit, I'd be 
screwed :)


Conventional hyperlinks are not going anywhere :)

On Friday, 5 June 2015 at 01:45:58 UTC, Vladimir Panteleev wrote:

It may be that we have lost potential participants because they
clicked away from the page within seconds of realising there 
was no

oauth (I definitely would).


It's doable but just seems a little overkill to me. Every time 
I looked into implementing OAuth I was swamped by how overly 
complicated it was (or maybe I just never found a 
succint-enough description).


AFAIK, Nick wanted to write OAuth support library in D.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Kapps via Digitalmars-d-announce
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.


Looks really nice, I particularly like the improved speed, reply 
notifications (though haven't tried it yet) and subscriptions. 
Keyboard navigation is interesting, but I've always found it a 
bit clunky (especially because combined with scrolling, it often 
doesn't update the current post so pressing k/j goes somewhere 
else on the screen, but I guess space makes more sense in that 
situation). A shortcut for navigating to the next page would not 
be amiss however.


One thing that I've always found annoying is how difficult it is 
to open up multiple threads in a new tab in Basic mode. Any post 
that you haven't read you have to move your mouse to the far left 
to click it, any post you have read you have to move your mouse 
to the far right to go to the next unread post. I usually just 
open up most updated threads in a new tab, so you're constantly 
going back and forth from far left to far right. It would be nice 
if there was a way to go to the first post on an unread thread or 
the first unread post on a read thread without having to move 
across the page.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Jonathan M Davis via Digitalmars-d-announce
On Friday, June 05, 2015 10:19:20 sigod via Digitalmars-d-announce wrote:
 On Friday, 5 June 2015 at 09:53:34 UTC, Jonathan M Davis wrote:
  Remember that the forum software is just a frontend for an nntp
  server and that others view the content via nntp or via the
  mailing list.

 This just scares off users who doesn't have experience with all
 this stuff. And I believe now there's much more users, who
 doesn't even heard of NNTP, than whose who worked with it.

Then they can just use the web forums and not care about how they're
implemented. They just won't get features that won't work with NNTP or the
mailing list. A large portion of the folks who communicate in the newsgroup
(especially the core developers) use them via NNTP or the mailing list
rather than the web forums. Whatever we do needs to work well with all
three communication mechanisms.

  So, it doesn't make any sense to support features that involve
  anything other than plain text. It would just result in
  garbage/cruft in the messages for those viewing it elsewhere
  than the forums.

 Markdown in a raw format is very readable. As for me, it's easier
 to read raw markdown than mix of text and code.

Perhaps, but I don't want to see raw markdown in e-mails any more than I
want to see raw html, even if raw markdown isn't quite as bad.

  So, while it might be nice to have markdown if we were dealing
  purely with forum software, we're not, so it doesn't make sense.

 I don't see a reason why forum cannot have features on it's own.
 Especially, when this features won't significantly affect other
 ways to access the same information.

If you're screwing with the content of the messages, then yes, it does
affect the other ways that the information is accessed - and that includes
adding stuff like markdown or html into the messages. If it's something that
just affects how the content is viewed in the web forum, then that's fine,
but it needs to not mess with the content of the messages or assume that all
(or even a majority) of the users are communicating via the web forum.

- Jonathan M Davis



Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Kagamin via Digitalmars-d-announce

On Friday, 5 June 2015 at 09:53:34 UTC, Jonathan M Davis wrote:
Remember that the forum software is just a frontend for an nntp 
server and
that others view the content via nntp or via the mailing list. 
So, it
doesn't make any sense to support features that involve 
anything other than

plain text.


The beta forum doesn't look plaintext.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 16:10:47 UTC, Kapps wrote:
One thing that I've always found annoying is how difficult it 
is to open up multiple threads in a new tab in Basic mode. Any 
post that you haven't read you have to move your mouse to the 
far left to click it, any post you have read you have to move 
your mouse to the far right to go to the next unread post. I 
usually just open up most updated threads in a new tab, so 
you're constantly going back and forth from far left to far 
right. It would be nice if there was a way to go to the first 
post on an unread thread or the first unread post on a read 
thread without having to move across the page.


The reply count number is now a secret link to the thread.


Re: forum.dlang.org, version 2 (BETA)

2015-06-05 Thread Mike Parker via Digitalmars-d-announce

On 6/5/2015 10:31 PM, sigod wrote:

On Friday, 5 June 2015 at 12:57:23 UTC, Vladimir Panteleev wrote:

1. People receiving messages through NNTP/mailing lists will not see
the formatted Markdown.


That isn't a problem at all.



For you, perhaps. I use a news reader to access theses groups most of 
the time and have no desire to parse Markdown while reading the posts. 
So it's a problem for me. I'm confident I'm not the only one.




Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 6/4/15 5:08 PM, Vladimir Panteleev wrote:

On Friday, 5 June 2015 at 00:06:04 UTC, Charles wrote:

Any change of making the D Logo redirect to dlang.org rather than the
forum itself?


No, I'm very used to clicking the logo to back to the forum index, and I
suspect so are many others.

You can use the D Home links to go to dlang.org.


Speaking of home - currently the table at http://beta.forum.dlang.org 
allocates disproportionally large space for the first column, and 
squeezes the second (interesting) column into a relatively small space.


I also figure the font used throughout is just _big_ - I have the reflex 
of pressing Command-0 to reset it to normal after zooming. But it's not 
zoomed. It's just big.


Also, after thinking today about the universe and everything, I 
concluded that that's without a doubt the ugliest bold font created by 
the human civilization.



Andrei



Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Andrei Alexandrescu via Digitalmars-d-announce
When one clicks create thread, focus should go on the post title, not 
the post body. -- Andrei


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 6/4/15 5:49 PM, Vladimir Panteleev wrote:

On Friday, 5 June 2015 at 00:46:11 UTC, Mike wrote:

On Friday, 5 June 2015 at 00:37:20 UTC, Vladimir Panteleev wrote:


It appears the horizontal split puts the latest thread at the bottom
of the list instead of the top.  I think that should be reversed.


I think not, as that would mean that threads are sorted in one
direction, but posts within a thread are sorted in another.


That seems natural to me.


Consider the space bar's current functionality: it jumps to the next
unread post. How would it work in this scheme? Would it go down within a
thread and then jump up to the next thread? Or would it keep going down,
going through older posts within a thread but newer threads?

An option to reverse sorting direction could be added I suppose, but...
why do you say that your proposal seems natural? Is it implemented that
way elsewhere?

The horizontal-split mode (and its sorting direction) is not new, BTW.


It's one of those human things - what's logical is not the most 
intuitive. -- Andrei


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Manu via Digitalmars-d-announce
On 5 June 2015 at 01:04, Vladimir Panteleev via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com 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.

Awesome stuff! Looks great, and it's fast!

Incidentally, I have a bug.
If I click to select some text, the page bounces downwards on the
mouse-up event.
If I click again to select some other text, the page bounces back
upwards again to it's original position (again, on the mouse-up).


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 01:05:32 UTC, Andrei Alexandrescu wrote:

On 6/4/15 5:08 PM, Vladimir Panteleev wrote:

On Friday, 5 June 2015 at 00:06:04 UTC, Charles wrote:
Any change of making the D Logo redirect to dlang.org rather 
than the

forum itself?


No, I'm very used to clicking the logo to back to the forum 
index, and I

suspect so are many others.

You can use the D Home links to go to dlang.org.


Speaking of home - currently the table at 
http://beta.forum.dlang.org allocates disproportionally large 
space for the first column, and squeezes the second 
(interesting) column into a relatively small space.


Why do you think the second column is interesting? The only thing 
that doesn't fit is thread subjects, which can be very long and 
you can read them in full once you click through. The group 
descriptions in the first column, on the other hand, are not 
visible elsewhere and are more interesting for newcomers.


I also figure the font used throughout is just _big_ - I have 
the reflex of pressing Command-0 to reset it to normal after 
zooming. But it's not zoomed. It's just big.


Perhaps simply because it's bigger than on forum.dlang.org?

Also, after thinking today about the universe and everything, I 
concluded that that's without a doubt the ugliest bold font 
created by the human civilization.


Except for the bold part, believe it or not, it's exactly the 
same font as we use on dlang.org, size and all (Verdana 14px). 
And as for the bold part, it doesn't look so bad on Windows, so 
what does that say about the famed OS X font rendering? :D


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 01:48:20 UTC, Meta wrote:

How feasible is it to add code formatting for the web interface?


Not sure what you mean. Do you mean syntax highlighting for D 
code?


If you mean the rewrapping issues with forum.dlang.org, those 
should be fixed now. Code (and other text with hard line breaks) 
should be sent and displayed as-is.


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 01:49:31 UTC, Manu wrote:
On 5 June 2015 at 11:42, Vladimir Panteleev via 
Digitalmars-d-announce digitalmars-d-announce@puremagic.com 
wrote:

On Friday, 5 June 2015 at 01:39:48 UTC, Manu wrote:

[...]



How do I reproduce this? What browser, view mode, etc.? I 
don't think I do anything fancy with mouse events...


Win8.1, Chrome latest, nothing special about the view 
configuration. Here is a link: 
http://beta.forum.dlang.org/post/poefipvtjbcpnkopk...@forum.dlang.org I don't know if this link is special... just click on the screen somewhere and watch it bounce around.


Ah, fixed, thanks.


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Meta via Digitalmars-d-announce

On Friday, 5 June 2015 at 01:52:07 UTC, Vladimir Panteleev wrote:

On Friday, 5 June 2015 at 01:48:20 UTC, Meta wrote:
How feasible is it to add code formatting for the web 
interface?


Not sure what you mean. Do you mean syntax highlighting for D 
code?


If you mean the rewrapping issues with forum.dlang.org, those 
should be fixed now. Code (and other text with hard line 
breaks) should be sent and displayed as-is.


Syntax highlighting is always nice, but yeah, I more meant the 
line wrapping issues.


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Adam D. Ruppe via Digitalmars-d-announce

On Friday, 5 June 2015 at 04:03:48 UTC, Manu wrote:

Yeah I've had the same experience. I reckon there's room for a
libOAuth... I would hella-make-use-of-that!


https://github.com/adamdruppe/arsd/blob/master/oauth.d

my implementation is a bit bizarre and tied to my cgi.d but it 
supports the oauth 1 flow, full client, server signing checks, 
and has been tested (over a year ago though) against several 
providers.


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Manu via Digitalmars-d-announce
On 5 June 2015 at 11:45, Vladimir Panteleev via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
 On Friday, 5 June 2015 at 01:42:20 UTC, Manu wrote:

 Also, oauth?
 There is no way I would register an account to make a post unless I
 was *really* motivated.


 What gave you the impression that you have to register an account in order
 to post? The front page now explicitly says that you don't need an account
 to post.

Ah okay. I totally missed that detail somewhere.
You seem to have fixed it, nice :)


 It may be that we have lost potential participants because they
 clicked away from the page within seconds of realising there was no
 oauth (I definitely would).


 It's doable but just seems a little overkill to me. Every time I looked into
 implementing OAuth I was swamped by how overly complicated it was (or maybe
 I just never found a succint-enough description).

Yeah I've had the same experience. I reckon there's room for a
libOAuth... I would hella-make-use-of-that!


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Walter Bright via Digitalmars-d-announce

On 6/4/2015 8:04 AM, 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.



Pretty dazz! I also like the new stats display at the top. Just for fun eye 
candy, you could juice that up and show a graph of the stats for the past month 
or whatever.


Another idea:

Consider the display:
 http://beta.forum.dlang.org/group/general
and compare with:

http://www.digitalmars.com/d/archives/digitalmars/D/I_won_a_school_game-creation_competition_263965.html

In particular:

Vladde Nordholm (12/12) May 30 So hey everyone! I am very hap...
◦  Marcin Szymczak (3/3) May 30 That is great news! Congratula...
◦  extrawurst (3/16) May 30 here is the link i suppose: ...
◾  Dennis Ritchie (3/21) May 30 The game starts normally but w...
◾  Vladimir Panteleev (3/8) May 30 I saw the same problem (access...
◦  Andrei Alexandrescu (2/14) May 30 Congratulations! -- Andrei...
◦  Vladde Nordholm (8/8) May 31 Quick note to Dennis and Vladi...

After each post, the first non-quoted line of text from the post is inserted. 
(The n/m means n = non-quoted lines and m = total lines.) This gives a nice clue 
which one would be most interesting to click on. Slashdot does this:



http://hardware.slashdot.org/story/15/06/04/2250233/researchers-power-a-security-camera-with-wi-fi-signals

Slashdot does it even better by expanding/contracting the clicked on post inline 
rather than opening a new page, and having to go back and forth between pages. I 
think this significantly better.


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 6/4/15 6:37 PM, Vladimir Panteleev wrote:

Except for the bold part, believe it or not, it's exactly the same font
as we use on dlang.org, size and all (Verdana 14px). And as for the bold
part, it doesn't look so bad on Windows, so what does that say about the
famed OS X font rendering? :D


Guess it says let's steer clear of Verdana. -- Andrei


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Mike via Digitalmars-d-announce

On Friday, 5 June 2015 at 00:49:48 UTC, Vladimir Panteleev wrote:



Consider the space bar's current functionality: it jumps to the 
next unread post. How would it work in this scheme? Would it go 
down within a thread and then jump up to the next thread? Or 
would it keep going down, going through older posts within a 
thread but newer threads?


I think spacebar should just go down the list linearly however 
they are sorted.


An option to reverse sorting direction could be added I 
suppose, but... why do you say that your proposal seems 
natural? Is it implemented that way elsewhere?


The threaded view is implemented that way, only its split between 
two pages (page 1 lists threads latest first, page 2 sorts them 
hierarchically.  That's natural to me.




The horizontal-split mode (and its sorting direction) is not 
new, BTW.


I know, but I prefer the other views given its current 
implementation (maybe others do too).  But I would prefer the 
horizontal-split if it worked more like threaded.


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 01:10:02 UTC, Andrei Alexandrescu wrote:
When one clicks create thread, focus should go on the post 
title, not the post body. -- Andrei


Fixed. (You have an eye for details!)


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Mike via Digitalmars-d-announce
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/



This is really nice.

It appears the horizontal split puts the latest thread at the 
bottom of the list instead of the top.  I think that should be 
reversed.


Mike



Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Manu via Digitalmars-d-announce
On 5 June 2015 at 11:39, Manu turkey...@gmail.com wrote:
 On 5 June 2015 at 01:04, Vladimir Panteleev via Digitalmars-d-announce
 digitalmars-d-announce@puremagic.com 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.

 Awesome stuff! Looks great, and it's fast!

 Incidentally, I have a bug.
 If I click to select some text, the page bounces downwards on the
 mouse-up event.
 If I click again to select some other text, the page bounces back
 upwards again to it's original position (again, on the mouse-up).

Also, oauth?
There is no way I would register an account to make a post unless I
was *really* motivated.
It may be that we have lost potential participants because they
clicked away from the page within seconds of realising there was no
oauth (I definitely would).


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 01:39:48 UTC, Manu wrote:
If I click to select some text, the page bounces downwards on 
the

mouse-up event.
If I click again to select some other text, the page bounces 
back
upwards again to it's original position (again, on the 
mouse-up).


How do I reproduce this? What browser, view mode, etc.? I don't 
think I do anything fancy with mouse events...


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Mike via Digitalmars-d-announce
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/


In threaded view, when viewing any post except the original post, 
and then clicking the leaf breadcrumb at the top, the following 
appears:


Post #0 of thread mkpqgo$41n$1...@digitalmars.com not found




Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Jonathan M Davis via Digitalmars-d-announce
On Thursday, June 04, 2015 18:05:32 Andrei Alexandrescu via 
Digitalmars-d-announce wrote:
 Also, after thinking today about the universe and everything, I
 concluded that that's without a doubt the ugliest bold font created by
 the human civilization.

That's a bold statement. :)

- Jonathan M Davis



Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Nick Sabalausky via Digitalmars-d-announce

On 06/04/2015 10:59 PM, IgorStepanov wrote:

On Friday, 5 June 2015 at 02:14:08 UTC, Vladimir Panteleev wrote:

On Friday, 5 June 2015 at 02:11:17 UTC, IgorStepanov wrote:


Ok, why we use email/NNTP server instead of simple database/file
storage?
Do we use some free mail server, or we must support some old
infrastructure?


Yes, this forum was created explicitly to replace Web-News, an NNTP
newsreader. Initially all communication was done via NNTP (Web-News or
a desktop NNTP client) and mailing lists. The last time I checked,
only 50% of posters used forum.dlang.org, others used NNTP or mailing
lists.


Interestingly, they do it because they are accustomed, or they have a
handy desktop/mobile applications?


As nice as forum.dlang.org is, many of us just like native NNTP clients 
way better. I'm accessing this though Thunderbird (although I've also 
used claws-mail and IIRC Outlook Express for it in the past.)


Incidentally, I used to be a web forum fan, and it was this NG that 
introduced me to NNTP (back before this NG had a decent web interface). 
But then I ended up liking NNTP clients better. :)


I do use forum.dlang.org on mobile though, since I'm not aware of any 
worthwhile mobile NNTP client.




Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 00:46:11 UTC, Mike wrote:
On Friday, 5 June 2015 at 00:37:20 UTC, Vladimir Panteleev 
wrote:


It appears the horizontal split puts the latest thread at the 
bottom of the list instead of the top.  I think that should 
be reversed.


I think not, as that would mean that threads are sorted in one 
direction, but posts within a thread are sorted in another.


That seems natural to me.


Consider the space bar's current functionality: it jumps to the 
next unread post. How would it work in this scheme? Would it go 
down within a thread and then jump up to the next thread? Or 
would it keep going down, going through older posts within a 
thread but newer threads?


An option to reverse sorting direction could be added I suppose, 
but... why do you say that your proposal seems natural? Is it 
implemented that way elsewhere?


The horizontal-split mode (and its sorting direction) is not new, 
BTW.


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Mike via Digitalmars-d-announce

On Friday, 5 June 2015 at 00:37:20 UTC, Vladimir Panteleev wrote:

It appears the horizontal split puts the latest thread at the 
bottom of the list instead of the top.  I think that should be 
reversed.


I think not, as that would mean that threads are sorted in one 
direction, but posts within a thread are sorted in another.


That seems natural to me.


Re: forum.dlang.org, version 2 (BETA)

2015-06-04 Thread Vladimir Panteleev via Digitalmars-d-announce

On Friday, 5 June 2015 at 00:50:17 UTC, Mike wrote:
On Thursday, 4 June 2015 at 15:04:05 UTC, Vladimir Panteleev 
wrote:

http://beta.forum.dlang.org/


In threaded view, when viewing any post except the original 
post, and then clicking the leaf breadcrumb at the top, the 
following appears:


Post #0 of thread mkpqgo$41n$1...@digitalmars.com not found


Fixed.


  1   2   >