Re: Need help

2017-03-15 Thread rikki cattermole via Digitalmars-d-announce
Oh relax, its a freelance job advertisement as well (payment for bug to 
be fixed). If that wasn't there then yeah not appropriate. But its 
there, so I say it was a good place :)


Re: Introducing Diskuto - an embeddable comment system

2017-03-15 Thread aberba via Digitalmars-d-announce

On Wednesday, 15 March 2017 at 08:57:53 UTC, Sönke Ludwig wrote:

Improvements implemented by now:

- Authorization and time limit (5min client facing, 15min 
server facing) is now enforced for editing and deleting comments
- The page must be queried first before any action is allowed 
(prevents trivial command line batch "attacks", as well as 
trivial spam automation)
- The main comment form is minimized by default (only the text 
area, single-line height)
- Maximum height of comments limited (will show scroll bars if 
exceeded)

- Temporal boosting limited to hours instead of days
- E-mail and website length limited
- Message contents don't overflow the content area
- Displayed comment count corrected

[...]


The load balancer you were working on. Was it intended to handle 
DDoS attacks and what is the current status.


Re: Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce
On Wednesday, 15 March 2017 at 08:52:03 UTC, David Nadlinger 
wrote:
This is a forum for announcements of general interest. Please 
take that into consideration before posting here. Thanks. — 
David


I think that fixing such bugs is quite general interest. I'm not 
asking to do enhancement required solely to me. I'm asking to fix 
a bug, very bad bug.




Re: Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce

On Wednesday, 15 March 2017 at 09:27:26 UTC, Daniel Kozák wrote:
Yes, but you should put this to general forum, not to 
announcement
I tried. Everyone is talking about problems with memory 
management, but nobody cares about bugs in such fundamental 
things as the destructors. Apparently it's more important to 
discuss advertising on Quora.





Re: Introducing Diskuto - an embeddable comment system

2017-03-15 Thread Sönke Ludwig via Digitalmars-d-announce

Improvements implemented by now:

- Authorization and time limit (5min client facing, 15min server facing) 
is now enforced for editing and deleting comments
- The page must be queried first before any action is allowed (prevents 
trivial command line batch "attacks", as well as trivial spam automation)
- The main comment form is minimized by default (only the text area, 
single-line height)

- Maximum height of comments limited (will show scroll bars if exceeded)
- Temporal boosting limited to hours instead of days
- E-mail and website length limited
- Message contents don't overflow the content area
- Displayed comment count corrected

Some changes may require Ctrl+F5 to refresh the cache.

Thanks to everyone who helped testing the boundaries so far! This 
definitely sped up the initial finalization phase by a large margin. 
There are still some open points, but this gets close to being a 
complete product:


- Implement moderation (!) and user registration to avoid identity 
spoofing (pluggable source user database)
- Additional heuristics to prevent batch operations from a single 
client, possibly just showing a CAPTCHA for IPs that show a high 
frequency of operations on the same topic(s)
- Work out how to best limit the visual or functional nesting level of 
comments

- Translations to more languages


Re: Need help

2017-03-15 Thread David Nadlinger via Digitalmars-d-announce

On Wednesday, 15 March 2017 at 09:19:17 UTC, Jack Applegame wrote:
I think that fixing such bugs is quite general interest. I'm 
not asking to do enhancement required solely to me. I'm asking 
to fix a bug, very bad bug.


The reason why your post is not appropriate here is in the name 
of the forum: "announce". Many D users follow this list – and in 
part indeed via email – to keep up with interesting news, 
developments, and events in the wider community. If the volume 
becomes too high, the forum loses its reason to exist, and we 
could just merge it into the general forum entirely.


If you are having trouble figuring out what to post here, a great 
way to start is to ask yourself: "What would happen if every D 
user posted  here?" What would happen if every D user 
posted about the initial release of their smaller project/a fresh 
release of their well-known project here? Great, that will keep 
people up to speed with what's happening in the community. What 
would happen if everybody posted about bugs they find and want 
fixed here? Not so much. There are many more severe issues 
discovered frequently, yet you don't read about them here – 
because the bug tracker is the place to report them.


Of course, in this case, you might want to inform compiler 
developers that you can offer a bounty for timely fixes. But the 
appropriate place to do so is the DMD development list, or maybe 
– if you think that the wider D audience might be able to help – 
the general dm.D forum.


It goes without saying that respecting the rules and workings of 
a community you want help from will drastically increase the 
chances of actually receiving it.


 — David


Re: Need help

2017-03-15 Thread Daniel Kozák via Digitalmars-d-announce
V Wed, 15 Mar 2017 07:37:53 +
Jack Applegame via Digitalmars-d-announce
 napsáno:

> Dear developers. I need help fixing issue #17257 
> (https://issues.dlang.org/show_bug.cgi?id=17257) and related bug 
> (https://forum.dlang.org/post/zpxzbctiijfhjujsz...@forum.dlang.org).
> 
> I can't fix it myself, because know almost nothing about the 
> internals of the compiler. But I'm willing to pay for this work. 
> PayPal, Bountysource, donation, all that you want.
> 
> 

problem is with this line:
https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1014

It run semantic before alias is add
https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1131



Re: Need help

2017-03-15 Thread David Nadlinger via Digitalmars-d-announce

On Wednesday, 15 March 2017 at 07:37:53 UTC, Jack Applegame wrote:
Dear developers. I need help fixing issue #17257 
(https://issues.dlang.org/show_bug.cgi?id=17257) and related 
bug 
(https://forum.dlang.org/post/zpxzbctiijfhjujsz...@forum.dlang.org).


This is a forum for announcements of general interest. Please 
take that into consideration before posting here. Thanks. — David


Re: Need help

2017-03-15 Thread Jonathan M Davis via Digitalmars-d-announce
On Wednesday, March 15, 2017 23:04:50 rikki cattermole via Digitalmars-d-
announce wrote:
> Oh relax, its a freelance job advertisement as well (payment for bug to
> be fixed). If that wasn't there then yeah not appropriate. But its
> there, so I say it was a good place :)

I'm inclined to agree with David on this one, but I really don't want to
argue about it. Just remember that this newsgroup is intended for
announcements that the wider D community would be interested in and that
communication here should be kept to a minimum. This is precisely the list
that folks sign up for when they want to hear about the big stuff but don't
want to deal with any of the chatter. And anyone posting here should keep
that in mind.

- Jonathan M Davis



Re: DConf 2017 Schedule

2017-03-15 Thread Yuxuan Shui via Digitalmars-d-announce

On Tuesday, 14 March 2017 at 20:16:34 UTC, Ali Çehreli wrote:

On 03/14/2017 09:35 AM, Moritz Maxeiner wrote:

On Tuesday, 14 March 2017 at 16:12:56 UTC, Mike Parker wrote:
Fresh from the D Foundation HQ, the DConf 2017 schedule [1] 
is now
available for your perusal. If you haven't registered yet, 
you have
just over five weeks to get it done. The registration 
deadline has
been set for April 23, so don't procrastinate. Even better, 
head over

to the registration page [2] and do it now!

[1] http://dconf.org/2017/schedule/
[2] http://dconf.org/2017/registration.html


Thanks, looks like lots of interesting talks!
One thing though:

Day 3: Saturday May 6, 2017
Day 4: Saturday May 7, 2017


Thanks. Apparently, that one's fixed.

Everybody, you can make pull requests to

  https://github.com/dlang/dconf.org

Don't use my clone of the repo as it involves an extra step.

Ali


So someone already wrote a parser combinator for D?

I searched code.dlang.org (1.5 years ago?), and there was none, 
so I wasted couple weeks writing my own


Re: Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce

On Wednesday, 15 March 2017 at 11:46:26 UTC, Daniel Kozák wrote:
problem is with this line: 
https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1014


It run semantic before alias is add 
https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1131
Great! But I have no idea what to do next. Could you write pull 
request, please? Is $100 enough for that?


Re: Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce
On Wednesday, 15 March 2017 at 11:09:10 UTC, Jonathan M Davis 
wrote:
I'm inclined to agree with David on this one, but I really 
don't want to argue about it. Just remember that this newsgroup 
is intended for announcements that the wider D community would 
be interested in and that communication here should be kept to 
a minimum. This is precisely the list that folks sign up for 
when they want to hear about the big stuff but don't want to 
deal with any of the chatter. And anyone posting here should 
keep that in mind.


- Jonathan M Davis
Is https://forum.dlang.org/group/dmd right place for such 
requests?




Re: Introducing Diskuto - an embeddable comment system

2017-03-15 Thread Sönke Ludwig via Digitalmars-d-announce

On Wednesday, 15 March 2017 at 10:40:31 UTC, aberba wrote:


The load balancer you were working on. Was it intended to 
handle DDoS attacks and what is the current status.


Being somewhat resistant to DDoS attacks is one of the secondary 
goals, but by the nature of it it would be very limited in what 
it can achieve there. A large scale cloud based approach is the 
only real solution.


The project is currently on hold. I'd still like to finish it, 
but I had to resort to other solutions for the time being (lack 
of time).


Re: Need help

2017-03-15 Thread Daniel Kozák via Digitalmars-d-announce
V Wed, 15 Mar 2017 09:19:17 +
Jack Applegame via Digitalmars-d-announce
 napsáno:

> On Wednesday, 15 March 2017 at 08:52:03 UTC, David Nadlinger 
> wrote:
> > This is a forum for announcements of general interest. Please 
> > take that into consideration before posting here. Thanks. — 
> > David  
> 
> I think that fixing such bugs is quite general interest. I'm not 
> asking to do enhancement required solely to me. I'm asking to fix 
> a bug, very bad bug.
> 
Yes, but you should put this to general forum, not to announcement



Re: Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce
On Wednesday, 15 March 2017 at 10:04:50 UTC, rikki cattermole 
wrote:
Oh relax, its a freelance job advertisement as well (payment 
for bug to be fixed). If that wasn't there then yeah not 
appropriate. But its there, so I say it was a good place :)
Exactly. And besides, it is actually a donation to the D 
language. ;)


Re: Need help

2017-03-15 Thread Daniel Kozák via Digitalmars-d-announce
V Wed, 15 Mar 2017 12:25:04 +
Jack Applegame via Digitalmars-d-announce
 napsáno:

> On Wednesday, 15 March 2017 at 11:46:26 UTC, Daniel Kozák wrote:
> > problem is with this line: 
> > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1014
> >
> > It run semantic before alias is add 
> > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1131  
> Great! But I have no idea what to do next. Could you write pull 
> request, please? Is $100 enough for that?

I am sorry but I do not how to fix that correctly :(



Re: DConf 2017 Schedule

2017-03-15 Thread Joakim via Digitalmars-d-announce

On Tuesday, 14 March 2017 at 16:12:56 UTC, Mike Parker wrote:
Fresh from the D Foundation HQ, the DConf 2017 schedule [1] is 
now available for your perusal. If you haven't registered yet, 
you have just over five weeks to get it done. The registration 
deadline has been set for April 23, so don't procrastinate. 
Even better, head over to the registration page [2] and do it 
now!


[1] http://dconf.org/2017/schedule/
[2] http://dconf.org/2017/registration.html


Killer lineup, makes me wish I was going, is it on reddit?


Re: Need help

2017-03-15 Thread Daniel Kozák via Digitalmars-d-announce
V Wed, 15 Mar 2017 12:25:04 +
Jack Applegame via Digitalmars-d-announce
 napsáno:

> On Wednesday, 15 March 2017 at 11:46:26 UTC, Daniel Kozák wrote:
> > problem is with this line: 
> > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1014
> >
> > It run semantic before alias is add 
> > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1131  
> Great! But I have no idea what to do next. Could you write pull 
> request, please? Is $100 enough for that?

Ok, maybe I have a (partial) solution, right now tests are running



Re: DConf 2017 Schedule

2017-03-15 Thread Bastiaan Veelo via Digitalmars-d-announce

On Wednesday, 15 March 2017 at 14:06:23 UTC, Yuxuan Shui wrote:

So someone already wrote a parser combinator for D?

I searched code.dlang.org (1.5 years ago?), and there was none, 
so I wasted couple weeks writing my own


So, is yours on code.dlang.org? If it would have been, maybe 
Dmitry wouldn't have to waste his time. Anyway, Pegged definitely 
was there already.


:-)


Re: D IDE Coedit - version 3 released.

2017-03-15 Thread aberba via Digitalmars-d-announce

On Monday, 13 March 2017 at 17:43:32 UTC, Basile B. wrote:
Finally, after four betas, the third version of my D IDE [0] is 
available.


The change log for this new version quite important.

Major additions:

- GDB commander, a GDB UI, only under linux.
- Project groups.
- Compiler paths, defines and select several D compilers.

Picked among the other additions:

- support for the DUB scripts (in addition to my runnable 
module system).

- support for DUB SDL projects in read-only mode.
- Halstead metrics for D.

But there is really much more [1].

As usual, I provide binaries for linux and Windows.

[0]: https://github.com/BBasile/Coedit
[1]: https://github.com/BBasile/Coedit/releases/tag/3_gold


Nice work. Good Intellescense is the only missing piece for me. 
Plus UI theme.


Re: DConf 2017 Schedule

2017-03-15 Thread Bastiaan Veelo via Digitalmars-d-announce
On Wednesday, 15 March 2017 at 22:10:13 UTC, Dmitry Olshansky 
wrote:

See you at dconf.


Looking forward to it!


Re: Need help

2017-03-15 Thread Daniel Kozák via Digitalmars-d-announce
V Wed, 15 Mar 2017 12:25:04 +
Jack Applegame via Digitalmars-d-announce
 napsáno:

> On Wednesday, 15 March 2017 at 11:46:26 UTC, Daniel Kozák wrote:
> > problem is with this line: 
> > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1014
> >
> > It run semantic before alias is add 
> > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1131  
> Great! But I have no idea what to do next. Could you write pull 
> request, please? Is $100 enough for that?

OK I have tried something so we will see
https://github.com/dlang/dmd/pull/6635



Re: Introducing Diskuto - an embeddable comment system

2017-03-15 Thread Sönke Ludwig via Digitalmars-d-announce
Just implemented a visual overhaul - the "reply" buttons are gone and 
are replaced by the comment text box itself. This results in a less 
noisy page and one less click to make a reply.


Any opinions on replacing Disqus with this on http://dlang.org/library/?


Re: Introducing Diskuto - an embeddable comment system

2017-03-15 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Nice. The only example code uses diet templates though, how would one 
embed this when not using diet?


Scott Meyers blogs about his DConf 2017 keynote speech

2017-03-15 Thread Ali Çehreli via Digitalmars-d-announce

Good publicity!


http://scottmeyers.blogspot.com/2017/03/keynote-at-dconf-in-berlin-on-may-5.html

Ali


Need help

2017-03-15 Thread Jack Applegame via Digitalmars-d-announce
Dear developers. I need help fixing issue #17257 
(https://issues.dlang.org/show_bug.cgi?id=17257) and related bug 
(https://forum.dlang.org/post/zpxzbctiijfhjujsz...@forum.dlang.org).


I can't fix it myself, because know almost nothing about the 
internals of the compiler. But I'm willing to pay for this work. 
PayPal, Bountysource, donation, all that you want.





Re: Need help

2017-03-15 Thread Stefan Koch via Digitalmars-d-announce

On Wednesday, 15 March 2017 at 07:37:53 UTC, Jack Applegame wrote:
Dear developers. I need help fixing issue #17257 
(https://issues.dlang.org/show_bug.cgi?id=17257) and related 
bug 
(https://forum.dlang.org/post/zpxzbctiijfhjujsz...@forum.dlang.org).


I can't fix it myself, because know almost nothing about the 
internals of the compiler. But I'm willing to pay for this 
work. PayPal, Bountysource, donation, all that you want.


I am going to take a look at this issue, later today.




Re: DConf 2017 Schedule

2017-03-15 Thread Dmitry Olshansky via Digitalmars-d-announce

On 3/15/17 11:07 PM, Bastiaan Veelo wrote:

On Wednesday, 15 March 2017 at 14:06:23 UTC, Yuxuan Shui wrote:

So someone already wrote a parser combinator for D?

I searched code.dlang.org (1.5 years ago?), and there was none, so I
wasted couple weeks writing my own


So, is yours on code.dlang.org? If it would have been, maybe Dmitry
wouldn't have to waste his time. Anyway, Pegged definitely was there
already.

:-)


The more the better ;)

See you at dconf.

---
Dmitry Olshansky