Internal Server Error on reload of dfeed.js

2021-06-16 Thread guest via Digitalmars-d-learn
STR: 1. open http://forum.dlang.org/static-bundle/637528586548394375/dlang.org/js/dlang.js+js/dfeed.js 2. press reload (F5 or ctrl+R)

Re: trick to make throwing method @nogc

2017-02-26 Thread Guest via Digitalmars-d-learn
On Saturday, 25 February 2017 at 19:59:29 UTC, ikod wrote: Hello, I have a method for range: struct Range { immutable(ubyte[]) _buffer; size_t _pos; @property void popFront() pure @safe { enforce(_pos < _buffer.length, "popFront from empty buffer");

Re: Code size without documentation comments and unittests

2017-02-26 Thread Guest via Digitalmars-d
On Saturday, 25 February 2017 at 19:55:04 UTC, Timothee Cour wrote: Try dscanner --sloc although IMO --tokenCount should be the most relevant metric (only caveat is mixin strings with which one could cheat to make token count smaller). TokenCount formatting invariant On Feb 25, 2017 11:36 AM,

Re: foreach over pointers OR foreach that mutates the iterator

2017-01-26 Thread guest via Digitalmars-d
On Thursday, 26 January 2017 at 11:32:09 UTC, ZombineDev wrote: Not sure if this is a bug in isInputRange or foreach, but they should work consistently. Copy/paste from primitives.d: template isInputRange(R) { enum bool isInputRange = is(typeof( (inout int = 0) { R r =

Re: foreach over pointers OR foreach that mutates the iterator

2017-01-26 Thread guest via Digitalmars-d
On Wednesday, 25 January 2017 at 16:15:49 UTC, Las wrote: then I can do this: void main() { S s; auto p = p.popFront; writeln(p.front); } But not this: void main() { S s; auto p = foreach(i; p) writeln(i); } p.popFront

Re: PowerNex - New release of my D kernel

2016-06-27 Thread Guest via Digitalmars-d-announce
Also mentioned on OSNews: http://www.osnews.com/comments/29268