Re: I have a plan.. I really DO

2018-07-10 Thread bauss via Digitalmars-d-announce
On Friday, 6 July 2018 at 23:27:57 UTC, RhyS wrote: Total 1336 packages found. 3359 total shards D has had a major release. Crystal has had a minor release. Total 1339 packages 3382 total shards This is a really weak point, because it doesn't show the quality of the packages. Just

Re: mir-optim v0.0.1: betterC nonlinear least squares

2018-07-10 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 02:10:56 UTC, 9il wrote: The algorigbms from https://github.com/JuliaNLSolvers are good candidates. No plans to implement them for now, but PRs are wellcome. Dlangscience has headers for the nlopt and glpk C libraries that I've used in the past. ipopt is another

Deploy your own Dub Registry to Heroku via one click

2018-07-10 Thread Seb via Digitalmars-d-announce
Ever wanted to run your own Dub registry and were too lazy to set it up? It's now one click away. Simply go to the Dub Registry (https://github.com/dlang/dub-registry) and press "Deploy to Heroku". Provided you have a Heroku account, everything else will automagically work. Note that Heroku

Blogpost about the T.init problem

2018-07-10 Thread FeepingCreature via Digitalmars-d-announce
I've written up a short blogpost about the T.init issue. It is not very enthusiastic. https://medium.com/@feepingcreature/d-structs-dont-work-for-domain-data-c09332349f43 Related links: https://github.com/dlang/phobos/pull/6594 problem with T.init and toString

Re: Blogpost about the T.init problem

2018-07-10 Thread Dukc via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 13:41:56 UTC, FeepingCreature wrote: I've written up a short blogpost about the T.init issue. I believe that whoever wrote that spec meant that the invariant WOULD not need to hold if MyDomainData.init WAS called, but that MyDomainData.init must not be called if

D Boston Meetup - 7/26

2018-07-10 Thread Steven Schveighoffer via Digitalmars-d-announce
Hi all, We are going to set up a little coding session/gathering for D in the Capital One Cafe in Back bay [1] on July 26th (Thursday) starting at 6 pm. So far it looks like Sameer, myself and Andrei will be there. Please stop by if you want to hang out, chat about our favorite language, or

Re: I have a plan.. I really DO

2018-07-10 Thread SrMordred via Digitalmars-d-announce
As I've already repeated twice, this is not true in D. You *can* predict precisely when the GC runs a collection cycle by calling GC.disable and then calling GC.collect according to *your* own schedule. This is not just a theoretical thing. I have actually done this in my own projects, and

Re: I have a plan.. I really DO

2018-07-10 Thread Yuxuan Shui via Digitalmars-d-announce
On Friday, 6 July 2018 at 21:15:46 UTC, H. S. Teoh wrote: On Fri, Jul 06, 2018 at 08:16:36PM +, Ecstatic Coder via Digitalmars-d-announce wrote: [...] I've never said that this is something smart to do. I'm just saying that this code can perfectly be executed once in a C++ game frame

Re: I have a plan.. I really DO

2018-07-10 Thread SrMordred via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 17:44:59 UTC, Adam D. Ruppe wrote: On Tuesday, 10 July 2018 at 17:39:06 UTC, SrMordred wrote: After the GC.collect you now get 1GB of memory usage. http://dpldocs.info/experimental-docs/core.memory.GC.minimize.html yeah I was looking to this right now on the

Re: I have a plan.. I really DO

2018-07-10 Thread SrMordred via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 17:03:01 UTC, H. S. Teoh wrote: AFAIK, the current GC does not release memory back to the OS. So you won't see the memory footprint decrease. However, it does free up memory for subsequent allocations. T if you put another int[] x; x.length = 1024 * 1024 *

Re: I have a plan.. I really DO

2018-07-10 Thread Adam D. Ruppe via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 17:39:06 UTC, SrMordred wrote: After the GC.collect you now get 1GB of memory usage. http://dpldocs.info/experimental-docs/core.memory.GC.minimize.html

Re: I have a plan.. I really DO

2018-07-10 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Jul 10, 2018 at 04:07:01PM +, SrMordred via Digitalmars-d-announce wrote: > > As I've already repeated twice, this is not true in D. You *can* > > predict precisely when the GC runs a collection cycle by calling > > GC.disable and then calling GC.collect according to *your* own > >

Re: I have a plan.. I really DO

2018-07-10 Thread H. S. Teoh via Digitalmars-d-announce
On Tue, Jul 10, 2018 at 05:25:11PM +, Yuxuan Shui via Digitalmars-d-announce wrote: > On Friday, 6 July 2018 at 21:15:46 UTC, H. S. Teoh wrote: [...] > > Of course, for someone looking for an excuse not to use D, they will > > always find another reason why this is not sufficient. But that

Release D 2.081.1

2018-07-10 Thread Martin Nowak via Digitalmars-d-announce
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Glad to announce D 2.081.1. http://dlang.org/download.html This point release fixes a few issues over 2.081.0, see the changelog for more details. http://dlang.org/changelog/2.081.1.html - -Martin -BEGIN PGP SIGNATURE-

Re: Blogpost about the T.init problem

2018-07-10 Thread Cym13 via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 13:41:56 UTC, FeepingCreature wrote: I've written up a short blogpost about the T.init issue. It is not very enthusiastic. https://medium.com/@feepingcreature/d-structs-dont-work-for-domain-data-c09332349f43 Related links: https://github.com/dlang/phobos/pull/6594

Re: Blogpost about the T.init problem

2018-07-10 Thread Meta via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 13:41:56 UTC, FeepingCreature wrote: I've written up a short blogpost about the T.init issue. It is not very enthusiastic. https://medium.com/@feepingcreature/d-structs-dont-work-for-domain-data-c09332349f43 Related links: https://github.com/dlang/phobos/pull/6594

Re: Blogpost about the T.init problem

2018-07-10 Thread Bastiaan Veelo via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 13:41:56 UTC, FeepingCreature wrote: I've written up a short blogpost about the T.init issue. It is not very enthusiastic. https://medium.com/@feepingcreature/d-structs-dont-work-for-domain-data-c09332349f43 Have you tried giving your invariants a valid initial

Re: Blogpost about the T.init problem

2018-07-10 Thread Ali via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 13:41:56 UTC, FeepingCreature wrote: I've written up a short blogpost about the T.init issue. It is not very enthusiastic. https://medium.com/@feepingcreature/d-structs-dont-work-for-domain-data-c09332349f43 Somehow, this is the type of problem, i thought point 1

D Security Team has been initiated

2018-07-10 Thread Seb via Digitalmars-d-announce
If you have a security-related concern or issue and feel like this shouldn't be discussed in public, please don't hesitate to contact us in private at: https://dlang.org/security