Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread Walter Bright via Digitalmars-d
On 2/18/2018 11:02 PM, Jonathan M Davis wrote: On Sunday, February 18, 2018 22:17:49 Walter Bright via Digitalmars-d wrote: But that's still the mail client, not the NNTP software. It's a problem with how mailman is configured. Yes, the user can remove the second e-mail address from "To" when

Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread Manu via Digitalmars-d
On 18 Feb. 2018 10:25 pm, "Walter Bright via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: On 2/18/2018 7:52 PM, Nick Sabalausky (Abscissa) wrote: > Well, it's also the world's most inconsistant and statndards-disregarding. > We're talking 1990's MS-level behavior here. It's *always* causi

Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread Jonathan M Davis via Digitalmars-d
On Monday, February 19, 2018 00:36:11 Walter Bright via Digitalmars-d wrote: > On 2/18/2018 11:02 PM, Jonathan M Davis wrote: > > On Sunday, February 18, 2018 22:17:49 Walter Bright via Digitalmars-d wrote: > >> But that's still the mail client, not the NNTP software. > > > > It's a problem with h

Re: New abstraction: Layout

2018-02-19 Thread Nathan S. via Digitalmars-d
On Saturday, 17 February 2018 at 12:49:07 UTC, Andrei Alexandrescu wrote: On 02/16/2018 10:10 PM, rikki cattermole wrote: Could use the name for the field as well. At the minimum useful for debugging purposes. That would be tricky because fields are decomposed down to primitive types. -- Andr

Re: Status of @nogc with the runtime

2018-02-19 Thread Martin Nowak via Digitalmars-d
On Sunday, 18 February 2018 at 22:28:48 UTC, Peter Campbell wrote: Indeed, very interesting read and exactly the information I was looking for! Thanks a lot Martin, I'm excited to see this progress. It's good to know it's still being worked on and progress is being made. Yes, it's just crazy

How to run d app as service ?

2018-02-19 Thread Jayam via Digitalmars-d
In production server, we need to run Dlang app as service.

Re: How to run d app as service ?

2018-02-19 Thread Nicholas Wilson via Digitalmars-d
On Monday, 19 February 2018 at 12:29:12 UTC, Jayam wrote: In production server, we need to run Dlang app as service. Please direct such questions to the learn group. Also I suspect you'll need to provide more information than that.

Re: How to run d app as service ?

2018-02-19 Thread bauss via Digitalmars-d
On Monday, 19 February 2018 at 12:29:12 UTC, Jayam wrote: In production server, we need to run Dlang app as service. What do you mean by running dlang app as a service? An application written in D? Same way you would with a C++ application.

Re: How to run d app as service ?

2018-02-19 Thread Jacob Carlborg via Digitalmars-d
On 2018-02-19 13:29, Jayam wrote: In production server, we need to run Dlang app as service. If you're referring to running it as a service in the background, I highly recommend Systemd if your platform supports. You don't need to to any specific with the D application. Just correctly Systemd

Re: How to run d app as service ?

2018-02-19 Thread Seb via Digitalmars-d
On Monday, 19 February 2018 at 12:29:12 UTC, Jayam wrote: In production server, we need to run Dlang app as service. If you are looking for a PaaS (platform as a service), using Heroku is pretty easy: https://tour.dlang.org/tour/en/vibed/deploy-on-heroku Also as other mentioned, everything

Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread Walter Bright via Digitalmars-d
On 2/19/2018 12:52 AM, Manu wrote: On 18 Feb. 2018 10:25 pm, "Walter Bright via Digitalmars-d" mailto:digitalmars-d@puremagic.com>> wrote: On 2/18/2018 7:52 PM, Nick Sabalausky (Abscissa) wrote: Well, it's also the world's most inconsistant and statndards-disregarding. We'r

Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread Johan Engelen via Digitalmars-d
On Sunday, 18 February 2018 at 20:01:39 UTC, Jonathan M Davis wrote: On Sunday, February 18, 2018 19:42:07 Johan Engelen via Digitalmars-d wrote: > There are hundreds of lines I need to molest to make the > compiler shut up. I won't type another line of code on my > colour library until this no

Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread Johan Engelen via Digitalmars-d
_Please_ keep the mail/nntp/... discussion separate or private. It's clobbering the topic. Thanks, Johan

Re: Tuple DIP

2018-02-19 Thread timotheecour via Digitalmars-d
On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote: As promised [1], I have started setting up a DIP to improve tuple ergonomics in D: https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md This DIP aims to make code like the following valid D: ... Would this DIP allow

Re: Tuple DIP

2018-02-19 Thread Timon Gehr via Digitalmars-d
On 20.02.2018 00:19, timotheecour wrote: On Friday, 12 January 2018 at 22:44:48 UTC, Timon Gehr wrote: As promised [1], I have started setting up a DIP to improve tuple ergonomics in D: https://github.com/tgehr/DIPs/blob/tuple-syntax/DIPs/DIP1xxx-tg.md This DIP aims to make code like the fol

Re: Tuple DIP

2018-02-19 Thread Timon Gehr via Digitalmars-d
On 20.02.2018 00:43, Timon Gehr wrote: void main(){     auto (infile, colname, repl, outfile) = args[1..$].unpack!4("Invalid args\n"); } Actually: void main(string[] args){ auto (infile, colname, repl, outfile) = args[1..$].unpack!4("Invalid args\n"); }

Re: Tuple DIP

2018-02-19 Thread Timothee Cour via Digitalmars-d
great! maybe worth adding to DIP? (even though `unpack` would be (IIUC) a pure library solution on top of this DIP) and that would work too I guess? ``` string[4] args=...; auto (infile, colname, repl, outfile) = args.unpack; ``` On Mon, Feb 19, 2018 at 3:47 PM, Timon Gehr via Digitalmars-d wro

Re: Tuple DIP

2018-02-19 Thread Timon Gehr via Digitalmars-d
On 20.02.2018 00:53, Timothee Cour wrote: great! maybe worth adding to DIP? (even though `unpack` would be (IIUC) a pure library solution on top of this DIP) ... Yes. I'll add it to the use cases. and that would work too I guess? ``` string[4] args=...; auto (infile, colname, repl, outfile) =

Re: Tuple DIP

2018-02-19 Thread Timothee Cour via Digitalmars-d
On Mon, Feb 19, 2018 at 4:05 PM, Timon Gehr via Digitalmars-d wrote: > On 20.02.2018 00:53, Timothee Cour wrote: >> > Sure! Also, this: > > void main(string[] args){ > enforce(args.length==5, "Invalid args"); > auto (infile, colname, repl, outfile) = args[1..5].unpack; > // ... > } h

Re: Tuple DIP

2018-02-19 Thread Timon Gehr via Digitalmars-d
On 20.02.2018 01:57, Timothee Cour wrote: On Mon, Feb 19, 2018 at 4:05 PM, Timon Gehr via Digitalmars-d wrote: On 20.02.2018 00:53, Timothee Cour wrote: Sure! Also, this: void main(string[] args){ enforce(args.length==5, "Invalid args"); auto (infile, colname, repl, outfile) = arg

Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 02/19/2018 03:52 AM, Manu wrote: On 18 Feb. 2018 10:25 pm, "Walter Bright via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: On 2/18/2018 7:52 PM, Nick Sabalausky (Abscissa) wrote: Well, it's also the world's most inconsistant and statndards-disregarding. We're talking 1990's MS-level

Re: Status of @nogc with the runtime

2018-02-19 Thread Soren via Digitalmars-d
Thank you for this status report, much appreciated, and exactly the kind of thing I hope for. Don’t be discouraged by the time it has taken, it will be worth it. Good work!

Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread psychoticRabbit via Digitalmars-d
On Monday, 19 February 2018 at 02:23:02 UTC, Walter Bright wrote: This one isn't double size. But google does insert some weird fields: Almost certainly, that 'wierd' stuff is related to googles insidious need to track and record EVERYTHING *you* do, so it can build an even better profile

Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread Tobias Müller via Digitalmars-d
Nick Sabalausky (Abscissa) wrote: > On 02/19/2018 03:52 AM, Manu wrote: >> On 18 Feb. 2018 10:25 pm, "Walter Bright via Digitalmars-d" < >> digitalmars-d@puremagic.com> wrote: >> >> On 2/18/2018 7:52 PM, Nick Sabalausky (Abscissa) wrote: >> >>> Well, it's also the world's most inconsistant and s

Re: Annoyance with new integer promotion deprecations

2018-02-19 Thread psychoticRabbit via Digitalmars-d
On Tuesday, 20 February 2018 at 06:40:25 UTC, Tobias Müller wrote: It's no wonder that D has so few contributors if they are actively scared away. C'mon... was it really that scary? If you want more people to contribute, make it as easy for them as possible. and 'easy as possible' is al