|
... when reporting abusers/trolls/spammers? Someone who posts spam on the site is surely abusing the site, so why do we flag them as spam rather than abusive? Are the different classifications actually used for any purpose? Would it not be simpler to have just one flag to click rather than hover - slide - click?
|
|
|
|
|
I guess "hover, slide, click" gives some protection from "click ... oh bugger".
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
True, but when flagging lists from SAOTD it does get a bit tiring.
|
|
|
|
|
Yeah ... CTRL+TAB, move+click, ... repeat ... it could be quicker, but then we'd get a lot more "false reports" I suspect.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I just open all with the wheel (new tab on normal links), then mouse over the flag, report with mouse on right hand, CTRL+F4 in left hand, your mouse is only a couple of centimeters far from the next flag.
It is way more effective than going up and down and closing tabs with the mouse
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Someone can post something abusive and/or inappropriate without it being spam. Spam is specifically advertising.
cheers
Chris Maunder
|
|
|
|
|
|
Mind you, have you ever considered the advantages of owning a truly fine set of modern encyclopedias?
|
|
|
|
|
Either I or the lounge are lagging a lot.
I have tried to post answers to a couple of messages and nothing happened. No error, no post...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
We are having some caching issues. We are working on it.
"Time flies like an arrow. Fruit flies like a banana."
|
|
|
|
|
Hi,
Would it be possible to add languages to <pre> tag ?
If simply given useful information, I would build myself necessary keywords sets.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
You mean like this:
<pre lang="text">text</pre>
<pre lang="c++">C++</pre>
<pre lang="c#">C#</pre>
<pre lang="HTML">HTML / XML / ASP</pre> Which gives you
text
C++
C#
HTML / XML / ASP
If so, you can just use the "code" widget to open a drop down and select the language, or add the lang="..." part manually when pasted as a code block.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I want syntax coloring for languages that are not listed in 'code' widget.
I often play with code from FoxPro.
And I also would like the feature for HP Prime calculator programming language.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
Send me
1. The language you'd like to see
2. A list of keywords and/or any info on the syntax such as comment and string quote formats
and I'll see if I can add it
We've had a loooong term goal of simply reusing the textbrush or highlight.js syntax definition structure but at the time we investigated they weren't so good at dealing with languages within languages (eg HTML turns into Razor which turns into Javascript etc). I'm pretty sure they are all way better at this now, but we've just not got around to it.
However, adding new languages to our system isn't too painful.
cheers
Chris Maunder
|
|
|
|
|
Hi Chris,
Can you show a sample data structure (or list of what you need) so I can prepare things, or should I trow information and you do all the work ?
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
I'll do all the work if someone buys me a beer
(Just throw me what you have and I'll make it happen)
cheers
Chris Maunder
|
|
|
|
|
First language: xBase family
First incarnation was dBase II in the 80's. Most popular incarnation was certainly FoxPro (MS Visual FoxPro). Other incarnations were Clipper, Harbour, xHarbour, XSharp ...
Let me know the name you choose.
Keywords are not case sensitive
* is full line comment, single line
is end of line comment, single line, same as C
is multi lines comment, same as C
is multi lines comment, same as C
*/
Nil: NIL
String: "hello", 'hello'
Logical: .T., .F.
Number: 1, 1.1, -1, 0xFF
[STATIC] [UTILITY] FUNCTION <funcName>( [<params,...>] )
<Statements>
RETURN <retVal>
[STATIC] [UTILITY] PROCEDURE <procName>( [<params,...>] )
<Statements>
RETURN
[DO] WHILE <Condition>
<Statements>
[EXIT]
<Statements>
[LOOP]
<Statements>
END[DO]
FOR <nCounter> := <nStart> TO <nEnd> [STEP <nIncrement>]
<Statements>
[EXIT]
<Statements>
[LOOP]
NEXT
FOR EACH <element> IN <array>|<object>|<string>
<statements>
[LOOP]
<statements>
[EXIT]
NEXT
IF <Condition1>
<Statements>
[ ELSEIF <ConditionN>
<Statements> ] [ ELSE
<Statements> ] END[IF]
DO CASE
CASE <Condition1>
<Statements1>
[ CASE <ConditionN>
<StatementsN> ]
[ OTHERWISE
<defaultStatements> ]
END[CASE]
Sample code colorized as vb:
// Trial Division Square Root + Wheel
function TD_SRW(Prod)
local D, Top, SPrimes, Wheel, W
// Check small primes
SPrimes= {2, 3}
Wheel= {4, 2}
for each D in SPrimes
if Prod % D = 0
return D
endif
next
// Start the wheel
D= 1
Top= int(sqrt(Prod))
while D <= Top
for each W in wheel
D += W
if Prod % D = 0
return D
endif
next
enddo
return Prod
Let me know if you need more details.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
How's this:
function TD_SRW(Prod)
local D, Top, SPrimes, Wheel, W
SPrimes= {2, 3}
Wheel= {4, 2)
for each D in SPrimes
if Prod % D = 0
return D
endif
next
D= 1
Top= int(sqrt(Prod))
while D <= Top
for each W in wheel
D += W
if Prod % D = 0
return D
endif
next
enddo
return Prod
Basic for now, but
<pre lang="dbase">...</pre> will get you there
cheers
Chris Maunder
|
|
|
|
|
Looks great to me, thanks.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
Hi Chris,
Looks like the "Browse code" in Articles do not recognize the files in the dbase language.
Those files are *.prg
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
Can you please point me to an article with a download that contains a dbase language? (I could hunt figured it would be easier to ask one who knows)
cheers
Chris Maunder
|
|
|
|
|
|
All fixed.
cheers
Chris Maunder
|
|
|
|
|
Thank you.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|
|
By the way, is there a list of supported languages in <pre> tag ?
I am unable to find it.
Patrice
“Everything should be made as simple as possible, but no simpler.” Albert Einstein
|
|
|
|