September 03, 2015
On Monday, 31 August 2015 at 22:24:22 UTC, Steven Schveighoffer wrote:
> On 8/31/15 8:22 AM, nazriel wrote:
>
>>
>> Anyways, dmd is up to 2.068.
>
> Awesome, thank you very much! Any chance the git version could be updated as well? Still seems to be old (2013).
>
>> Open sourcing will take little bit more time.
>>
>> Auto-update script is updated too.
>> Thanks Martin!
>
> Seconded!
>
> -Steve

Further to this thread. I believe this has been updated to the latest DMD but the weather code sample on the front page is still killed.

September 03, 2015
On Monday, 31 August 2015 at 12:22:24 UTC, nazriel wrote:
> Anyways, dmd is up to 2.068.

That's great! Thank you very much.

> Open sourcing will take little bit more time.

Open sourcing would be awesome!
September 03, 2015
On Thursday, 3 September 2015 at 15:59:16 UTC, ixid wrote:
> On Monday, 31 August 2015 at 22:24:22 UTC, Steven Schveighoffer wrote:
>> On 8/31/15 8:22 AM, nazriel wrote:
>>
>>>
>>> Anyways, dmd is up to 2.068.
>>
>> Awesome, thank you very much! Any chance the git version could be updated as well? Still seems to be old (2013).
>>
>>> Open sourcing will take little bit more time.
>>>
>>> Auto-update script is updated too.
>>> Thanks Martin!
>>
>> Seconded!
>>
>> -Steve
>
> Further to this thread. I believe this has been updated to the latest DMD but the weather code sample on the front page is still killed.

This is due to the constrainer of the container dpaste is running in.

I will try to get in touch with Vladimir to discuss alternatives to UserModeLinux because it is the problem currently.

Once we move to something more performant and less restrictive (LXC, Docker, some SELinux stuff, Qemu?) - we should be fine with all errors.

Best regards,
Damian Ziemba
September 03, 2015
On Monday, 31 August 2015 at 22:24:22 UTC, Steven Schveighoffer wrote:
> On 8/31/15 8:22 AM, nazriel wrote:
>
>>
>> Anyways, dmd is up to 2.068.
>
> Awesome, thank you very much! Any chance the git version could be updated as well? Still seems to be old (2013).

Consider it done ;)
(I should fix it tomorrow)

>
>> Open sourcing will take little bit more time.
>>
>> Auto-update script is updated too.
>> Thanks Martin!
>
> Seconded!
>
> -Steve

September 09, 2015
On Sunday, 30 August 2015 at 15:05:41 UTC, BBasile wrote:
> On Wednesday, 26 August 2015 at 05:54:44 UTC, nazriel wrote:
>> On Thursday, 20 August 2015 at 20:28:48 UTC, Steven Schveighoffer wrote:
>>> [...]
>>
>> I will work on it.
>>
>> Should be fixed before weekend.
>>
>> I will also open source dpaste frontend and backend so such problems can be avoided in the future.
>>
>> Got a little bit behind with D related stuff and auto-updates of DMD stopped working for some reason.
>>
>> That's why we are on 2.065.
>>
>> Regards,
>> Damian Ziemba
>
> since mothes 90% of the new content is spam.
> http://dpaste.dzfl.pl/pastes?p=8

Ok I've changed algorithm for spam detection
Also tried to remove some of the spam already posted.

September 09, 2015
On Wednesday, 9 September 2015 at 04:17:13 UTC, nazriel wrote:
> On Sunday, 30 August 2015 at 15:05:41 UTC, BBasile wrote:
>> On Wednesday, 26 August 2015 at 05:54:44 UTC, nazriel wrote:
>>> On Thursday, 20 August 2015 at 20:28:48 UTC, Steven Schveighoffer wrote:
>>>> [...]
>>>
>>> I will work on it.
>>>
>>> Should be fixed before weekend.
>>>
>>> I will also open source dpaste frontend and backend so such problems can be avoided in the future.
>>>
>>> Got a little bit behind with D related stuff and auto-updates of DMD stopped working for some reason.
>>>
>>> That's why we are on 2.065.
>>>
>>> Regards,
>>> Damian Ziemba
>>
>> since mothes 90% of the new content is spam.
>> http://dpaste.dzfl.pl/pastes?p=8
>
> Ok I've changed algorithm for spam detection
> Also tried to remove some of the spam already posted.

There are still some links sent. Either the bot who targets DPaste works well or...no i can't believe this actually a human being who send this manually ?!

However thx, a lot, i think that the biggest doleance that people had was to have an up-to-date compiler.
September 09, 2015
On Wednesday, 9 September 2015 at 12:50:17 UTC, BBasile wrote:
> On Wednesday, 9 September 2015 at 04:17:13 UTC, nazriel wrote:
>> On Sunday, 30 August 2015 at 15:05:41 UTC, BBasile wrote:
>>> On Wednesday, 26 August 2015 at 05:54:44 UTC, nazriel wrote:
>>>> [...]
>>>
>>> since mothes 90% of the new content is spam.
>>> http://dpaste.dzfl.pl/pastes?p=8
>>
>> Ok I've changed algorithm for spam detection
>> Also tried to remove some of the spam already posted.
>
> There are still some links sent. Either the bot who targets DPaste works well or...no i can't believe this actually a human being who send this manually ?!
>

I really have no idea,
I tried to copy and paste those links and indeed they trigger recaptcha...
Not sure if recaptcha is so weak or indeed it is a human posting those links %)

I will look into methods used in this forum and vibe.d forum.
They are using some 3rd party spam checking services I think.
Maybe it will be worth a shot.

> However thx, a lot, i think that the biggest doleance that people had was to have an up-to-date compiler.

September 09, 2015
On Wednesday, 9 September 2015 at 22:59:42 UTC, nazriel wrote:
> I really have no idea,
> I tried to copy and paste those links and indeed they trigger recaptcha...
> Not sure if recaptcha is so weak or indeed it is a human posting those links %)

It costs 0.1 cent ($0.001) to have a human solve a reCAPTCHA.

> I will look into methods used in this forum and vibe.d forum.

For forum.dlang.org and wiki.dlang.org I created DCaptcha, which asks a D programming question: https://github.com/CyberShadow/dcaptcha

It is only activated if Akismet or other spam detectors report "spam". It used to have many questions of various difficulty, but currently it only asks 1 type of question. So far this blocked 100% of spam.

AFAIK vibe.d forum uses a Bayesian filter which IIRC generally works well but had to be tweaked once or twice. This could work well for DPaste if it's trained to distinguish D code from not-code.

September 15, 2015
On Wednesday, 9 September 2015 at 23:55:27 UTC, Vladimir Panteleev wrote:
> On Wednesday, 9 September 2015 at 22:59:42 UTC, nazriel wrote:
>> I really have no idea,
>> I tried to copy and paste those links and indeed they trigger recaptcha...
>> Not sure if recaptcha is so weak or indeed it is a human posting those links %)
>
> It costs 0.1 cent ($0.001) to have a human solve a reCAPTCHA.
>
>> I will look into methods used in this forum and vibe.d forum.
>
> For forum.dlang.org and wiki.dlang.org I created DCaptcha, which asks a D programming question: https://github.com/CyberShadow/dcaptcha
>
> It is only activated if Akismet or other spam detectors report "spam". It used to have many questions of various difficulty, but currently it only asks 1 type of question. So far this blocked 100% of spam.
>
> AFAIK vibe.d forum uses a Bayesian filter which IIRC generally works well but had to be tweaked once or twice. This could work well for DPaste if it's trained to distinguish D code from not-code.

Nice,

I've tried your idea (somehow). Lets see if it helps.

Anyways:
* I've implemented better captcha mechanism + blocking system.
If you fail captcha for 3 times in a row - pasting will be disabled for 15 minutes.
* I've fixed registration with GitHub, Facebook and internal database (captcha wasn't working there and api keys expired for those services)


The next step will be improving Backend itself so I will get rid of errors when running examples on main dlang page.

Also @Vladimir, thanks for the pull request regarding examples and for making me a "watcher" in dpaste related issues on bugzilla.


Best regards,
Damian Ziemba

September 16, 2015
On 9/15/15 7:51 PM, nazriel wrote:

> Also @Vladimir, thanks for the pull request regarding examples and for
> making me a "watcher" in dpaste related issues on bugzilla.

Thank YOU Damian for continuing to work on this, it's very important to the D community!

-Steve