Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29277 Discussions

Strange (or a change? in) forum behaviour

Les_Neilson
Valued Contributor II
784 Views
Ihave the forum threads sorted newest -> oldest.
I like to start reading atthe oldest unread thread and work up to the newest thread.
So when I am in a thread I click "Previous" to go up a thread: Until this week.

Coming back to work yesterday, after a 4 day mini break, I had 3 pages of unread threads. Iopened the oldest, read it, clicked "Previous" and read the thread it took me to, clicked "Previous" and went to another thread. "Hold on" I thought, "these threads are getting older!"

As I travelled into work this morning I thought "perhaps I was mistaken" but no, today I againfound that I now have to click on "Next" instead of "Previous" to go up the thread chain.

I know it's nothing serious, just I now have to retrain my mouse to click on "Next" and not "Previous" as before.

:-)
Les
0 Kudos
6 Replies
jimdempseyatthecove
Honored Contributor III
784 Views
It appears that the old way was

Previous in sorted list order

and the new way is

Previous in chronological order

I guess the software developer thought they were fixing a problem.

Had you the opportunity to alphabetize the list by title or author I am not sure what this programmer would have chosen as an action for Previous and Next.

IMHO it should be from the perspective of the picking list as presented.

Jim Dempsey
0 Kudos
mecej4
Honored Contributor III
784 Views
I have noticed several quirks and shortcomings in the software that runs the Intel forums. A couple:

(i) When code snippets are inserted with code highlighting enabled, and one wishes to correct a type or change a variable name in the code, it seems (to me, at least) impossible without copying the whole code into a local editor, making the changes and pasting back.

(ii) When I want to copy syntax-highlighted code in a post, choosing "copy to clipboard" does not work.

(iii) When I try, instead, "view-plain" and try to copy from the pop-up window, I find sometimes that line-markers have been lost.

(iv) If C-code is posted, there seems to be an interaction between the < and > signs in the code and HTML rendering. This causes code such as "if (a < b)" to appear as "if (a < b)".

v) Phrases in code are rendered in boldface in a seemingly random fashion.

Perhaps, we need a metaforum, i.e., a forum about the forum software, where we can post such comments.

If the forum software is the product of a company other than Intel, having a separate forum would make it easier for that company to observe and respond.

On the other hand, there is one really good feature that I hope will not be removed some day: the ability to edit one's posts to fix typos, etc.
0 Kudos
Steven_L_Intel1
Employee
784 Views
The present forum is pretty much home-grown, though it uses a number of open-source components. i have seen most of the issues raised here other than the behavior of the next and previous buttons. I'll pass these on to the forum maintainers.

The code window does behave strangely. I think the Copy issue is a Firefox restriction, though maybe not. The linefeed issue depends on whether the text contains Windows-type CR-LF endings or just LF (the latter are ignored.) I'm also aware of some oddities in the Fortran syntax highlighter - as I wrote the Fortran-specific plugin for this, I need to work on those. (Most notably, a "d" being repeated if in the first column.)
0 Kudos
jimdempseyatthecove
Honored Contributor III
784 Views
Add to mecej4's list

When you paste a code snip at the bottom of the document, the edit insertion cursor resides inside the pasted block, at the end of that block, as opposed to residing in the main document following the paste of the code snip. Getting the insertion cursor outside the block to write additional text is problematic. This means you must first type in at least one (or two) blank line(s) before the paste (or first part of your comment to the paste), then perform the paste between the blank lines.

These are programming forums after all. If we cannot paste, or have difficulty in pasting, code samples then this forum choice of tools is not serving the community as well as it should.

There should be no reason why composition of messages on this forum shouldn't be as easy as composition of say a Word or Open Oriface document. e.g. Select a code snip from Visual Studio (or Eclipse, ...) and drag and drop it into the edit window of the forum post. And have this preserve the formatting and text highlighting. Same with dragging in .JPEG files. Below is a simple one line function.

__declspec

(noinline)

void

VectorScaleCEAN(float* vec, int len, float scale)

{

vec[0:len] *= scale;

}


Why cannot thiscome in as:

__declspec

(noinline)

void

VectorScaleCEAN(float* vec, int len, float scale)

{

vec[0:len] *= scale;

}


No double line (paragraph) spacing and with tabs converted to spaces.

Having to edit these pasted code snips wasts time of the users of the forum, and discourages many users from posting code snips. (they do not want to perform meaningless work).

Getting aresponse of "this happenson systems that use CRLF verses CR" just doesn't cut it. Fix the web editor to do this meanial work for the users.

Done grumbling for now....

Jim Dempsey
0 Kudos
jimdempseyatthecove
Honored Contributor III
784 Views
Well I guess that last post proved my point. Even that one buggered up the paste more than usual. This may be the result of a new feature Les posted in a different forum relating to Previous and Next issues.

This trivial drag and drop becomes

__declspec

(noinline)

void

VectorScaleCEAN(float* vec, int len, float scale)

{

vec[0:len] *= scale;

}

Drag, drop,
oops line and tab spacing gone,
edit end of line, all lines (5 in this case, could easily be 100 for many code snips)
Prieview (shouldn't have to do this)
Crap, fixing line spacing with

End, Shift-Enter
End, Shift-Enter
End, Shift-Enter
[space to tab stop] End, Shift-Enter
End, Shift-Enter

fixed code view in edit window, but trashed view in preview even worse.

Now mark and cut prior code snip out (hope you don't break an invisible html block in the process)\
Drag and drop again

__declspec

(noinline)
void VectorScaleCEAN(float* vec, int len, float scale)
{
vec[0:len] *= scale;
}



End, Delete, Shift-Enter
End, Delete, Shift-Enter
End, Delete, Shift-Enter
[space to tab stop]End, Delete, Shift-Enter
End, Delete, Shift-Enter


Prieview

Crap again,

the __declspec(noinline) line is all SNAFU'd

and so on and so on

It is easy to waste an enormous amount of time trying to post sample code.

Jim Dempsey
0 Kudos
Les_Neilson
Valued Contributor II
784 Views

This is weird :-(

Today I was working my wayUP the thread chain using "Next Thread".
I accidentally clicked "Next" twice so I clicked "Previous" to go to the thread I missed.
Then when I clicked "Next" to go back UP the chain it went DOWN instead !!
Next and Previous have switched meaning and I have to click Previous every time, to go UP the chain of threads.
I wonder which 'button'I will have to clickafter I submit this post.

Les


Next and Previous are back to their normal state Next = UP and Previous = DOWN

0 Kudos
Reply