Re: forum.dlang.org is now using DCaptcha

2014-12-11 Thread Vladimir Panteleev via Digitalmars-d-announce
On Thursday, 11 December 2014 at 00:35:13 UTC, Martin Nowak wrote: On 12/02/2014 10:41 PM, Vladimir Panteleev wrote: Although forum.dlang.org has had a spam check and used reCAPTCHA since it was announced, it is only somewhat effective against fully-automated bots - it is powerless against

Re: forum.dlang.org is now using DCaptcha

2014-12-11 Thread Martin Nowak via Digitalmars-d-announce
Good idea, but the demo site is down right now :(. http://wiki.dlang.org/extensions/DCaptcha/demo.php Ah, fixed. Broke that when I updated to the easy version. Nice one, failed the first try :). You should probably reload on failure, or maybe only after the 3rd attempt or so. Looks like you

Re: forum.dlang.org is now using DCaptcha

2014-12-11 Thread Vladimir Panteleev via Digitalmars-d-announce
On Thursday, 11 December 2014 at 11:04:09 UTC, Martin Nowak wrote: Good idea, but the demo site is down right now :(. http://wiki.dlang.org/extensions/DCaptcha/demo.php Ah, fixed. Broke that when I updated to the easy version. Nice one, failed the first try :). You should probably reload on

Re: forum.dlang.org is now using DCaptcha

2014-12-11 Thread Bill Baxter via Digitalmars-d-announce
What will be the return value of the following function? int y() { int d = 31, baz = 5; baz--; d /= baz; return d; } Oh, the irony! Asking people to prove they're human by making them to complete a task that is usually done by machines. :-) --bb On Thu, Dec 11, 2014 at 4:26 AM,

Re: forum.dlang.org is now using DCaptcha

2014-12-11 Thread Martin Nowak via Digitalmars-d-announce
On 12/11/2014 07:51 PM, Bill Baxter via Digitalmars-d-announce wrote: Oh, the irony! Asking people to prove they're human by making them to complete a task that is usually done by machines. :-) Let's hope the spammers don't get clever enough to let our machines (dpaste or drepl) solve that

Re: forum.dlang.org is now using DCaptcha

2014-12-10 Thread Vladimir Panteleev via Digitalmars-d-announce
On Tuesday, 9 December 2014 at 18:23:26 UTC, deadalnix wrote: Hijacking this thread. Captcha is still not working on https :( Sorry, had to revert to an earlier version due to an unrelated regression. It's back on reCaptcha now. The new one should work on HTTPS once I'll find and fix the

Re: forum.dlang.org is now using DCaptcha

2014-12-10 Thread Martin Nowak via Digitalmars-d-announce
On 12/02/2014 10:41 PM, Vladimir Panteleev wrote: Although forum.dlang.org has had a spam check and used reCAPTCHA since it was announced, it is only somewhat effective against fully-automated bots - it is powerless against humans paid to post spamverts on forums web-wide, which is what the

Re: forum.dlang.org is now using DCaptcha

2014-12-09 Thread deadalnix via Digitalmars-d-announce
Hijacking this thread. Captcha is still not working on https :(

Re: forum.dlang.org is now using DCaptcha

2014-12-04 Thread Vladimir Panteleev via Digitalmars-d-announce
I removed all the harder challenges, so y'all can now stop complaining. Sorry. There are now only 2 simple questions. Pull requests welcome.

Re: forum.dlang.org is now using DCaptcha

2014-12-04 Thread Vladimir Panteleev via Digitalmars-d-announce
On Thursday, 4 December 2014 at 02:48:07 UTC, MattCoder wrote: On Tuesday, 2 December 2014 at 21:41:28 UTC, Vladimir Panteleev wrote: Although forum.dlang.org has had a spam check and used reCAPTCHA since it was announced, it is only somewhat effective against fully-automated bots - it is

Re: forum.dlang.org is now using DCaptcha

2014-12-04 Thread Kagamin via Digitalmars-d-announce
On Thursday, 4 December 2014 at 02:29:39 UTC, Faux Amis wrote: This has to be a joke! I couldn't answer a single question: What is the name of the D language syntax feature illustrated in the following fragment of D code? string a = x5095 f9 95d723c2; Seems like hex to me What is the name

Re: forum.dlang.org is now using DCaptcha

2014-12-04 Thread Vladimir Panteleev via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 19:42:39 UTC, Ary Borenszweig wrote: On 12/2/14, 6:41 PM, Vladimir Panteleev wrote: Enter DCaptcha I think this could work with just two or three variants of a question. Always ask what's the return value of the function. 1. int foo() { return 8 % 3; } I

Re: forum.dlang.org is now using DCaptcha

2014-12-04 Thread Vladimir Panteleev via Digitalmars-d-announce
On Thursday, 4 December 2014 at 04:02:49 UTC, Mike wrote: I had to maintain a technical forum last year that was getting spammed like crazy. I added the question how many bits are in a byte?, and the spam vanished. Based on that experience, I think the bar can be set very low. The Wiki had

Re: forum.dlang.org is now using DCaptcha

2014-12-04 Thread eles via Digitalmars-d-announce
On Thursday, 4 December 2014 at 08:20:27 UTC, Kagamin wrote: On Thursday, 4 December 2014 at 02:29:39 UTC, Faux Amis wrote: tries to differentiate between human wanting to learn D and one not wanting. the latter is just a myth...

Re: forum.dlang.org is now using DCaptcha

2014-12-04 Thread Paolo Invernizzi via Digitalmars-d-announce
On Thursday, 4 December 2014 at 10:39:25 UTC, eles wrote: On Thursday, 4 December 2014 at 08:20:27 UTC, Kagamin wrote: On Thursday, 4 December 2014 at 02:29:39 UTC, Faux Amis wrote: tries to differentiate between human wanting to learn D and one not wanting. the latter is just a myth...

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Gary Willoughby via Digitalmars-d-announce
On Tuesday, 2 December 2014 at 21:41:28 UTC, Vladimir Panteleev wrote: Enter DCaptcha, a question-answer challenge tailored for D programmers. Its goals are to challenge posters of suspicious-looking content with questions that should be easy to answer to D programmers, and impossible for

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Vladimir Panteleev via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 08:24:46 UTC, Gary Willoughby wrote: On Tuesday, 2 December 2014 at 21:41:28 UTC, Vladimir Panteleev wrote: Enter DCaptcha, a question-answer challenge tailored for D programmers. Its goals are to challenge posters of suspicious-looking content with questions

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Gary Willoughby via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 08:28:25 UTC, Vladimir Panteleev wrote: Got it. But we're not going back to reCAPTCHA either. I'm tired of deleting spam by hand. Please suggest some ideas (or better, send pull requests). I got fed up of having spam on an old blog so i implemented a simple

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Vladimir Panteleev via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 07:46:42 UTC, Brad Anderson wrote: I could add links to DPaste and the #d IRC channel. Both good ideas. Done. You can see this here: http://forum.dlang.org/reply/qpfcqedcbkipjllnk...@forum.dlang.org (just click Send) If it's that low than I'm not worried

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Vladimir Panteleev via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 08:51:13 UTC, Gary Willoughby wrote: On Wednesday, 3 December 2014 at 08:28:25 UTC, Vladimir Panteleev wrote: Got it. But we're not going back to reCAPTCHA either. I'm tired of deleting spam by hand. Please suggest some ideas (or better, send pull requests).

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Martin Krejcirik via Digitalmars-d-announce
For an idea of what sort of questions DCaptcha asks, you can demo it on the following page, so you don't have to clutter the I think all code fragments should have just one exact answer (like number or single word) a any programmer without specific D knowledge should be able to answer them

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 00:56:12 UTC, Brad Anderson wrote: Maybe make the ones on d.learn extremely simple. --- What does the follow program print? void main() { import std.stdio : writeln; writeln(foo); } --- No algorithms, no math. Just extremely basic

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Jacob Carlborg via Digitalmars-d-announce
On 2014-12-03 14:02, Martin Krejcirik wrote: Asking for D feature names in not good IMHO. I agree. I try the demo at got a question about what this feature is called: auto u = new class M {}; Exactly what is referred to here? The type inference or the anonymous class? The answer is

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Brad Anderson via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 09:00:25 UTC, Vladimir Panteleev wrote: On Wednesday, 3 December 2014 at 07:46:42 UTC, Brad Anderson wrote: I could add links to DPaste and the #d IRC channel. Both good ideas. Done. You can see this here:

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Ary Borenszweig via Digitalmars-d-announce
On 12/2/14, 6:41 PM, Vladimir Panteleev wrote: Enter DCaptcha I think this could work with just two or three variants of a question. Always ask what's the return value of the function. 1. int foo() { return 8 % 3; } I don't think non-programmers know what that '%' symbol is, but

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread ketmar via Digitalmars-d-announce
On Wed, 03 Dec 2014 14:47:09 +0100 Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On 2014-12-03 14:02, Martin Krejcirik wrote: Asking for D feature names in not good IMHO. I agree. I try the demo at got a question about what this feature is called:

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Vladimir Panteleev via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 20:19:34 UTC, ketmar via Digitalmars-d-announce wrote: On Wed, 03 Dec 2014 14:47:09 +0100 Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On 2014-12-03 14:02, Martin Krejcirik wrote: Asking for D feature names in not good

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread ketmar via Digitalmars-d-announce
On Wed, 03 Dec 2014 20:22:31 + Vladimir Panteleev via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Wednesday, 3 December 2014 at 20:19:34 UTC, ketmar via Digitalmars-d-announce wrote: On Wed, 03 Dec 2014 14:47:09 +0100 Jacob Carlborg via Digitalmars-d-announce

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Vladimir Panteleev via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 21:26:19 UTC, ketmar via Digitalmars-d-announce wrote: On Wed, 03 Dec 2014 20:22:31 + Vladimir Panteleev via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Wednesday, 3 December 2014 at 20:19:34 UTC, ketmar via Digitalmars-d-announce

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread MattCoder via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 13:02:35 UTC, Martin Krejcirik wrote: I think all code fragments should have just one exact answer (like number or single word) a any programmer without specific D knowledge should be able to answer them correctly. Asking for D feature names in not good IMHO.

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Faux Amis via Digitalmars-d-announce
This has to be a joke! I couldn't answer a single question: What is the name of the D language syntax feature illustrated in the following fragment of D code? string a = x5095 f9 95d723c2; Seems like hex to me What is the name of the D language syntax feature illustrated in the following

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread MattCoder via Digitalmars-d-announce
On Tuesday, 2 December 2014 at 21:41:28 UTC, Vladimir Panteleev wrote: Although forum.dlang.org has had a spam check and used reCAPTCHA since it was announced, it is only somewhat effective against fully-automated bots - it is powerless against humans paid to post spamverts on forums web-wide,

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Mike via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 19:42:39 UTC, Ary Borenszweig wrote: On 12/2/14, 6:41 PM, Vladimir Panteleev wrote: Enter DCaptcha I think this could work with just two or three variants of a question. Always ask what's the return value of the function. 1. int foo() { return 8 % 3; } I

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread ketmar via Digitalmars-d-announce
On Thu, 04 Dec 2014 04:02:46 + Mike via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: I had to maintain a technical forum last year that was getting spammed like crazy. I added the question how many bits are in a byte? six. am i failed? signature.asc Description:

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Rikki Cattermole via Digitalmars-d-announce
On 4/12/2014 8:13 p.m., ketmar via Digitalmars-d-announce wrote: On Thu, 04 Dec 2014 04:02:46 + Mike via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: I had to maintain a technical forum last year that was getting spammed like crazy. I added the question how many bits

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread Jacob Carlborg via Digitalmars-d-announce
On 2014-12-03 23:39, Vladimir Panteleev wrote: That's the name of the parent class :) Or interface, if I recall correctly. -- /Jacob Carlborg

Re: forum.dlang.org is now using DCaptcha

2014-12-03 Thread ketmar via Digitalmars-d-announce
On Thu, 04 Dec 2014 20:31:47 +1300 Rikki Cattermole via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On 4/12/2014 8:13 p.m., ketmar via Digitalmars-d-announce wrote: On Thu, 04 Dec 2014 04:02:46 + Mike via Digitalmars-d-announce digitalmars-d-announce@puremagic.com

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Ali Çehreli via Digitalmars-d-announce
On 12/02/2014 01:41 PM, Vladimir Panteleev wrote: impossible for non-technical people with no incentive to learn or research stuff I hope this will not alienate complete beginners. They should be able to talk to us on the D.learn newsgroup. For an idea of what sort of questions DCaptcha

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Vladimir Panteleev via Digitalmars-d-announce
On Tuesday, 2 December 2014 at 21:53:15 UTC, Ali Çehreli wrote: On 12/02/2014 01:41 PM, Vladimir Panteleev wrote: impossible for non-technical people with no incentive to learn or research stuff I hope this will not alienate complete beginners. They should be able to talk to us on the

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Ali Çehreli via Digitalmars-d-announce
On 12/02/2014 01:56 PM, Vladimir Panteleev wrote: The CAPTCHA only triggers on a spam check fail, which should not occur for normal forum content. Ok, that sounds great. Ouch. I could pass the first question in two tries but I can't pass the second one. :) They're randomly generated, so

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Eric via Digitalmars-d-announce
I got stumped on the delimited string question, but I was able to get the answer by viewing the page source in my web browser. -Eric On Tuesday, 2 December 2014 at 21:41:28 UTC, Vladimir Panteleev wrote: I'm sure you all are as tired of the occasional spam that hits these lists as I was

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Adam D. Ruppe via Digitalmars-d-announce
I suppose one way to cheat is to just compile and run the code.

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread bearophile via Digitalmars-d-announce
Vladimir Panteleev: http://wiki.dlang.org/extensions/DCaptcha/demo.php Very nice, we can help spammers learn some D and become some day valid D developers :-) Bye, bearophile

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Brad Anderson via Digitalmars-d-announce
On Tuesday, 2 December 2014 at 21:56:31 UTC, Vladimir Panteleev wrote: [snip] I hope so too! The CAPTCHA only triggers on a spam check fail, which should not occur for normal forum content. I get the captcha every single time I post at home. I suspect it's because I'm on IPv6. Everything

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread krzaq via Digitalmars-d-announce
Asking for feature names is a very bad choice, you're essentially excluding all beginners and it's almost impossible to google the answers (you want to exclude lazy uninterested humans, not all of them, right?). Besides, I thought D was supposed to be the type of language one should be able to

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread ketmar via Digitalmars-d-announce
On Wed, 03 Dec 2014 01:48:55 + krzaq via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Sure, this will eliminate spammers. But I wonder what the word of mouth will be: A Have you tried asking on the D forum? B Yeah, but they thought I was a spammer and wouldn't let

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Dylan Allbee via Digitalmars-d-announce
string k = x2e dd 203F; This seems severely punishing to people trying to learn D, especially as a first programming language. Is that really the right approach?

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Vladimir Panteleev via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 00:56:12 UTC, Brad Anderson wrote: On Tuesday, 2 December 2014 at 21:56:31 UTC, Vladimir Panteleev wrote: [snip] I hope so too! The CAPTCHA only triggers on a spam check fail, which should not occur for normal forum content. I get the captcha every single

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Vladimir Panteleev via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 01:48:57 UTC, krzaq wrote: Asking for feature names is a very bad choice, you're essentially excluding all beginners and it's almost impossible to google the answers (you want to exclude lazy uninterested humans, not all of them, right?). The answers not

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Jacob Carlborg via Digitalmars-d-announce
On 2014-12-02 22:41, Vladimir Panteleev wrote: I'm sure you all are as tired of the occasional spam that hits these lists as I was deleting it. (Mailing list users in particular, I guess, since we can't delete an email once it was sent out.) Most of the spam was coming in through the forum, so I

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Brad Anderson via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 06:44:17 UTC, Vladimir Panteleev wrote: [snip] As I said, it's not about bots any more. The wiki got flooded after one person solved the D-specific question, after which the old CAPTCHA became useless. Ah yeah, that's right. I forgot that was your goal. I'm

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread Brad Anderson via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 06:52:23 UTC, Vladimir Panteleev wrote: On Wednesday, 3 December 2014 at 01:48:57 UTC, krzaq wrote: [snip As for math/algorithms, this one feels too advanced: return iota(9).reduce!a+b; I think it's a pretty good (albeit slightly advanced) question. 9 is a

Re: forum.dlang.org is now using DCaptcha

2014-12-02 Thread novice2 via Digitalmars-d-announce
On Wednesday, 3 December 2014 at 07:29:25 UTC, Jacob Carlborg wrote: The anonymous class feature question, I was a bit stunned at first, before I saw what it actually was. i can't pass it too - only looking to sources. i tried auto type deduction, type deduction etc... imho, name of feature -