www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - dpaste web site

reply Steven Schveighoffer <schveiguy yahoo.com> writes:
dpaste.dzfl.pl is severely out of date. Who maintains this and can we 
get it updated? It's going to start hurting us pretty severely if we use 
it as our go-to site for pasting compiled-and-run d snippets, but it's 
only at version 2.065.

-Steve
Aug 20 2015
next sibling parent "rsw0x" <anonymous anonymous.com> writes:
On Thursday, 20 August 2015 at 20:28:48 UTC, Steven Schveighoffer 
wrote:
 dpaste.dzfl.pl is severely out of date. Who maintains this and 
 can we get it updated? It's going to start hurting us pretty 
 severely if we use it as our go-to site for pasting 
 compiled-and-run d snippets, but it's only at version 2.065.

 -Steve
Tried Wandbox? http://melpon.org/wandbox/permlink/5d1KzyiEo6Wpuggw
Aug 20 2015
prev sibling next sibling parent "Mike" <none none.com> writes:
On Thursday, 20 August 2015 at 20:28:48 UTC, Steven Schveighoffer 
wrote:
 dpaste.dzfl.pl is severely out of date. Who maintains this and 
 can we get it updated? It's going to start hurting us pretty 
 severely if we use it as our go-to site for pasting 
 compiled-and-run d snippets, but it's only at version 2.065.

 -Steve
It's hosted by Vladamir, but currently not maintained by anyone as far as I can tell. If you email Vladamir he'll give you the necessary details you need to work on. I gave it a try in an attempt to add a more recent compiler, but I really couldn't make sense of the implementation, and had to throw in the towel. Mike
Aug 20 2015
prev sibling parent reply "nazriel" <spam dzfl.pl> writes:
On Thursday, 20 August 2015 at 20:28:48 UTC, Steven Schveighoffer 
wrote:
 dpaste.dzfl.pl is severely out of date. Who maintains this and 
 can we get it updated? It's going to start hurting us pretty 
 severely if we use it as our go-to site for pasting 
 compiled-and-run d snippets, but it's only at version 2.065.

 -Steve
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
Aug 25 2015
next sibling parent "wobbles" <grogan.colin gmail.com> writes:
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:
 dpaste.dzfl.pl is severely out of date. Who maintains this and 
 can we get it updated? It's going to start hurting us pretty 
 severely if we use it as our go-to site for pasting 
 compiled-and-run d snippets, but it's only at version 2.065.

 -Steve
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
Probably stopped working because the downloads section of the website changed around that time iirc. Thanks for working on it!
Aug 26 2015
prev sibling next sibling parent "Martin Nowak" <code dawg.eu> writes:
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:
 dpaste.dzfl.pl is severely out of date. Who maintains this and 
 can we get it updated? It's going to start hurting us pretty 
 severely if we use it as our go-to site for pasting 
 compiled-and-run d snippets, but it's only at version 2.065.

 -Steve
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.
Nice
 Got a little bit behind with D related stuff and auto-updates 
 of DMD stopped working for some reason.
There is an "API" now to get the latest version. http://ftp.digitalmars.com/LATEST And you can get the necessary package generically via http://downloads.dlang.org/releases/2.x/$LATEST/dmd.$LATEST.linux.zip.
Aug 26 2015
prev sibling parent reply "BBasile" <bb.temp gmx.com> writes:
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:
 dpaste.dzfl.pl is severely out of date. Who maintains this and 
 can we get it updated? It's going to start hurting us pretty 
 severely if we use it as our go-to site for pasting 
 compiled-and-run d snippets, but it's only at version 2.065.

 -Steve
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
Aug 30 2015
next sibling parent reply "nazriel" <spam dzfl.pl> writes:
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:
 dpaste.dzfl.pl is severely out of date. Who maintains this 
 and can we get it updated? It's going to start hurting us 
 pretty severely if we use it as our go-to site for pasting 
 compiled-and-run d snippets, but it's only at version 2.065.

 -Steve
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
Looks like the recaptcha isn't working too well. I will try to look into this soon. Anyways, dmd is up to 2.068. Open sourcing will take little bit more time. Auto-update script is updated too. Thanks Martin! Regards, Damian Ziemba
Aug 31 2015
next sibling parent "BBasile" <bb.temp gmx.com> writes:
On Monday, 31 August 2015 at 12:22:24 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:
 dpaste.dzfl.pl is severely out of date. Who maintains this 
 and can we get it updated? It's going to start hurting us 
 pretty severely if we use it as our go-to site for pasting 
 compiled-and-run d snippets, but it's only at version 2.065.

 -Steve
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
Looks like the recaptcha isn't working too well. I will try to look into this soon. Anyways, dmd is up to 2.068. Open sourcing will take little bit more time. Auto-update script is updated too. Thanks Martin! Regards, Damian Ziemba
Thx. This fixes indirectly a problem with one of the sample on the homepage. Does cleaning the spam could be automated ? for example test if each line of a paste is an URL ? Also statistic on D keywords within a paste with a threshold, etc these kinds of stuffs.
Aug 31 2015
prev sibling next sibling parent reply Steven Schveighoffer <schveiguy yahoo.com> writes:
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
Aug 31 2015
next sibling parent reply "ixid" <adamsibson hotmail.com> writes:
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.
Sep 03 2015
parent "nazriel" <spam dzfl.pl> writes:
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
Sep 03 2015
prev sibling parent "nazriel" <spam dzfl.pl> writes:
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
Sep 03 2015
prev sibling parent "ZombineDev" <valid_email he.re> writes:
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!
Sep 03 2015
prev sibling parent reply "nazriel" <spam dzfl.pl> writes:
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.
Sep 08 2015
parent reply "BBasile" <bb.temp gmx.com> writes:
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.
Sep 09 2015
parent reply "nazriel" <spam dzfl.pl> writes:
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.
Sep 09 2015
parent reply "Vladimir Panteleev" <thecybershadow.lists gmail.com> writes:
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.
Sep 09 2015
parent reply nazriel <spam dzfl.pl> writes:
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
Sep 15 2015
next sibling parent Steven Schveighoffer <schveiguy yahoo.com> writes:
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
Sep 15 2015
prev sibling parent reply Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= writes:
How about just using a single click recaptcha:

https://www.google.com/recaptcha/intro/index.html
Sep 15 2015
parent reply nazriel <spam dzfl.pl> writes:
On Wednesday, 16 September 2015 at 06:52:57 UTC, Ola Fosheim 
Grøstad wrote:
 How about just using a single click recaptcha:

 https://www.google.com/recaptcha/intro/index.html
Used that before - still was getting spam. As Vladimir mentioned - it costs 0.001$ to get Captcha solved :)
Sep 16 2015
parent reply Andrea Fontana <nospam example.com> writes:
On Wednesday, 16 September 2015 at 13:46:07 UTC, nazriel wrote:
 On Wednesday, 16 September 2015 at 06:52:57 UTC, Ola Fosheim 
 Grøstad wrote:
 How about just using a single click recaptcha:

 https://www.google.com/recaptcha/intro/index.html
Used that before - still was getting spam. As Vladimir mentioned - it costs 0.001$ to get Captcha solved :)
Why don't you try to check some stats over post? I mean: to check some frequencies of common d keywords/combo like "class", "struct", "int", "float", "if(" "while(", "(int ", "(float ", etc that are not common in plain english used by spammers...
Sep 16 2015
parent reply Kagamin <spam here.lot> writes:
On Wednesday, 16 September 2015 at 13:54:36 UTC, Andrea Fontana 
wrote:
 I mean: to check some frequencies of common d keywords/combo 
 like "class", "struct", "int", "float", "if(" "while(", "(int 
 ", "(float ", etc that are not common in plain english used by 
 spammers...
Solving dcaptcha costs maybe 1$, so it should solve the problem of human spammers (too expensive).
Sep 16 2015
parent John Colvin <john.loughran.colvin gmail.com> writes:
On Wednesday, 16 September 2015 at 16:12:03 UTC, Kagamin wrote:
 On Wednesday, 16 September 2015 at 13:54:36 UTC, Andrea Fontana 
 wrote:
 I mean: to check some frequencies of common d keywords/combo 
 like "class", "struct", "int", "float", "if(" "while(", "(int 
 ", "(float ", etc that are not common in plain english used by 
 spammers...
Solving dcaptcha costs maybe 1$, so it should solve the problem of human spammers (too expensive).
I dunno, I reckon I could solve them in ~5 seconds each, especially with practice... At $1/solve it'd be one hell of an hourly rate!
Sep 16 2015