Re: DConf hotel poor QoS

2018-03-09 Thread Mike Parker via Digitalmars-d
On Friday, 9 March 2018 at 18:08:58 UTC, Ali Çehreli wrote: Off topic, booking all legs of your flight individually may be much much cheaper at least on Expedia. They first quoted I think $1800 for the multi-city San Francisco - Istanbul - Munich and back. The same trip was about $1100 when

Re: DConf hotel poor QoS

2018-03-09 Thread Mike Parker via Digitalmars-d
On Saturday, 10 March 2018 at 04:24:49 UTC, Adam Wilson wrote: I booked online. I need a different room than the Conference Rate. But while I was there I did notice that the online rate for the conference room was the same as quoted on the conference site (89EUR). I booked via nh-hotels.com,

Re: DConf hotel poor QoS

2018-03-09 Thread Adam Wilson via Digitalmars-d
I booked online. I need a different room than the Conference Rate. But while I was there I did notice that the online rate for the conference room was the same as quoted on the conference site (89EUR). -- Adam Wilson IRC: LightBender import quiet.dlang.dev;

Re: DConf hotel poor QoS

2018-03-09 Thread Walter Bright via Digitalmars-d
I just now booked it through Expedia. Didn't have any problems.

Re: DConf hotel poor QoS

2018-03-09 Thread Walter Bright via Digitalmars-d
On 3/9/2018 9:12 AM, Luís Marques wrote: On Friday, 9 March 2018 at 17:07:50 UTC, Jonathan M Davis wrote: I had similar problems How do these people stay in business?? I wonder that every time I deal with a business that makes it hard to send them my money.

Re: Lazy caching map()?

2018-03-09 Thread H. S. Teoh via Digitalmars-d
On Fri, Mar 09, 2018 at 12:47:14PM -0700, Jonathan M Davis via Digitalmars-d wrote: > On Friday, March 09, 2018 11:41:46 H. S. Teoh via Digitalmars-d wrote: > > [...] More precisely, given an array `T[] src` of source data and a > > function func(T) that's pretty expensive to compute, return an >

Re: DConf hotel poor QoS

2018-03-09 Thread Jonathan M Davis via Digitalmars-d
On Friday, March 09, 2018 10:08:58 Ali Çehreli via Digitalmars-d wrote: > On 03/09/2018 07:26 AM, Luís Marques wrote: > > conference hotel > > Somewhat related, I booked my room at the same hotel through Expedia for > a cheaper price than DConf price. I'm sure it could go lower if I > seached on o

Re: Lazy caching map()?

2018-03-09 Thread Jonathan M Davis via Digitalmars-d
On Friday, March 09, 2018 11:41:46 H. S. Teoh via Digitalmars-d wrote: > Today I found myself needing a lazy, caching version of map() on an > array. More precisely, given an array `T[] src` of source data and a > function func(T) that's pretty expensive to compute, return an object > `result` suc

Re: I have a patch to let lldb demangle D symbols ; help welcome to improve it

2018-03-09 Thread Timothee Cour via Digitalmars-d
updated build instructions, see https://github.com/timotheecour/dtools/commit/8597923dd4ed7691f717b5e1bdbbf2ee66961ef5 On Fri, Mar 9, 2018 at 9:33 AM, Luís Marques via Digitalmars-d wrote: > On Tuesday, 27 February 2018 at 05:28:41 UTC, Timothee Cour wrote: >> >> https://github.com/timotheecour/d

Lazy caching map()?

2018-03-09 Thread H. S. Teoh via Digitalmars-d
Today I found myself needing a lazy, caching version of map() on an array. More precisely, given an array `T[] src` of source data and a function func(T) that's pretty expensive to compute, return an object `result` such that: - result[i] == func(src[i]), for 0 ≤ i < src.length. - If result[j] i

Re: Inline Module / Namespace

2018-03-09 Thread Jonathan M Davis via Digitalmars-d
On Friday, March 09, 2018 18:44:07 Jonathan via Digitalmars-d wrote: > D kinda lacks a way of creating a module/namespace inside another > file. > > D does have modules but they have to be in separate files. > (Though separate files may be better coding practice, why is it > D's job to tell me how

Re: Inline Module / Namespace

2018-03-09 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 9 March 2018 at 18:51:50 UTC, Manu wrote: If you tried to `import modulename;` from some other module... how would the compiler know where to find it? The compiler has to parse the module to find them correctly already. When you do foo.bar into foo/bar.d, it is just the first guess

Re: Inline Module / Namespace

2018-03-09 Thread Timothee Cour via Digitalmars-d
I'm sure he meant: ``` --- foo.d module foo; module foo.bar{ void fun(){} } --- foo2.d import foo.bar; ``` On Fri, Mar 9, 2018 at 10:51 AM, Manu via Digitalmars-d wrote: > On 9 March 2018 at 10:44, Jonathan via Digitalmars-d > wrote: >> D kinda lacks a way of creating a module/namespace ins

Re: Inline Module / Namespace

2018-03-09 Thread Manu via Digitalmars-d
On 9 March 2018 at 10:44, Jonathan via Digitalmars-d wrote: > D kinda lacks a way of creating a module/namespace inside another file. > > D does have modules but they have to be in separate files. (Though separate > files may be better coding practice, why is it D's job to tell me how to > code.)

Re: Vtable for virtual functions in D

2018-03-09 Thread Manu via Digitalmars-d
On 8 March 2018 at 14:56, Henrik via Digitalmars-d wrote: > > It all works good, but why do I have to put the @nogc on the constructor and > destructor separately? @nogc in the global scope does not propagate inside the class (this could lead to serious problems). You can use `@nogc:` at the top

Inline Module / Namespace

2018-03-09 Thread Jonathan via Digitalmars-d
D kinda lacks a way of creating a module/namespace inside another file. D does have modules but they have to be in separate files. (Though separate files may be better coding practice, why is it D's job to tell me how to code.) I think a simple way to do this with existing syntax is to add

Re: DConf hotel poor QoS

2018-03-09 Thread Ali Çehreli via Digitalmars-d
On 03/09/2018 07:26 AM, Luís Marques wrote: > conference hotel Somewhat related, I booked my room at the same hotel through Expedia for a cheaper price than DConf price. I'm sure it could go lower if I seached on other booking sites. (Expedia did increase the price about $3 while I was clickin

Re: I have a patch to let lldb demangle D symbols ; help welcome to improve it

2018-03-09 Thread Luís Marques via Digitalmars-d
On Tuesday, 27 February 2018 at 05:28:41 UTC, Timothee Cour wrote: https://github.com/timotheecour/dtools/blob/master/dtools/lldbdplugin.d dtools seems to rely on the old import visibility behavior and doesn't compile with a recent D compiler. For instance: // functional.d: import std.algori

Re: DConf hotel poor QoS

2018-03-09 Thread Jonathan M Davis via Digitalmars-d
On Friday, March 09, 2018 17:12:31 Luís Marques via Digitalmars-d wrote: > On Friday, 9 March 2018 at 17:07:50 UTC, Jonathan M Davis wrote: > > I had similar problems > > How do these people stay in business?? Probably by normally having folks use their website rather than e-mail them, and if it's

Re: DConf hotel poor QoS

2018-03-09 Thread Luís Marques via Digitalmars-d
On Friday, 9 March 2018 at 17:07:50 UTC, Jonathan M Davis wrote: I had similar problems How do these people stay in business??

Re: DConf hotel poor QoS

2018-03-09 Thread Jonathan M Davis via Digitalmars-d
On Friday, March 09, 2018 15:26:24 Luís Marques via Digitalmars-d wrote: > I'm not impressed with the conference hotel so far. Here's a > summary of my interactions with them: > > Feb-6: I send an email to reservierun...@nh-hotels.com with the > keyword D-Conf in the subject line, as indicated in t

DConf hotel poor QoS

2018-03-09 Thread Luís Marques via Digitalmars-d
I'm not impressed with the conference hotel so far. Here's a summary of my interactions with them: Feb-6: I send an email to reservierun...@nh-hotels.com with the keyword D-Conf in the subject line, as indicated in the conference page. I ask for a reservation between 30-04-2018 and 6-05-2018

Re: Why not flag away the mistakes of the past?

2018-03-09 Thread Chris via Digitalmars-d
On Friday, 9 March 2018 at 06:14:05 UTC, Jonathan M Davis wrote: We'll make breaking changes if we judge the gain to be worth the pain, but we don't want to be constantly breaking people's code, and some changes are large enough that there's arguably no justification for them, because they w

Re: Embedded Linux really needs Dlang for the IOT market

2018-03-09 Thread Radu via Digitalmars-d
On Friday, 9 March 2018 at 11:35:58 UTC, aberba wrote: On Friday, 9 March 2018 at 09:12:28 UTC, Radu wrote: On Friday, 9 March 2018 at 03:09:16 UTC, dangbinghoo wrote: [...] I'm working in BAS(Building Automation System) sector, and I use Dlang daily for some advance products targeting ARM/M

Re: Embedded Linux really needs Dlang for the IOT market

2018-03-09 Thread Binghoo Dang via Digitalmars-d
On Friday, 9 March 2018 at 09:12:28 UTC, Radu wrote: [...] I'm working in BAS(Building Automation System) sector, and I use Dlang daily for some advance products targeting ARM/Mips boards. [...] That's great, it looks that what I need to do is just try! And, I would write a paper after I

Re: Embedded Linux really needs Dlang for the IOT market

2018-03-09 Thread Binghoo Dang via Digitalmars-d
On Friday, 9 March 2018 at 07:56:12 UTC, Jacob Carlborg wrote: [...] straightforward to adopt it to targeting ARM. [1] https://hub.docker.com/r/multiarch/crossbuild [2] https://github.com/jacob-carlborg/docker-ldc-darwin/blob/master/Dockerfile -- /Jacob Carlborg thanks for sharing!

Re: Why not flag away the mistakes of the past?

2018-03-09 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 7 March 2018 at 17:11:55 UTC, H. S. Teoh wrote: Kill autodecoding, I say. Kill it with fire!! T Please!!!

Re: Why not flag away the mistakes of the past?

2018-03-09 Thread Guillaume Piolat via Digitalmars-d
On Thursday, 8 March 2018 at 17:35:11 UTC, H. S. Teoh wrote: Yeah, the only reason autodecoding survived in the beginning was because Andrei (wrongly) thought that a Unicode code point was equivalent to a grapheme. If that had been the case, the cost associated with auto-decoding may have been

Re: Advent of D

2018-03-09 Thread Russel Winder via Digitalmars-d
On Thu, 2018-03-08 at 21:00 +, Jordi Gutiérrez Hermoso via Digitalmars-d wrote: > On Wednesday, 7 March 2018 at 21:35:06 UTC, Russel Winder wrote: > > On Tue, 2018-03-06 at 18:09 +, Jordi Gutiérrez Hermoso via > > Digitalmars-d wrote: > > > I wrote a blog post about working on Advent of Co

Re: Embedded Linux really needs Dlang for the IOT market

2018-03-09 Thread aberba via Digitalmars-d
On Friday, 9 March 2018 at 09:12:28 UTC, Radu wrote: On Friday, 9 March 2018 at 03:09:16 UTC, dangbinghoo wrote: [...] I'm working in BAS(Building Automation System) sector, and I use Dlang daily for some advance products targeting ARM/Mips boards. D on Glibc/Linux/ARM works great today! I

Re: Embedded Linux really needs Dlang for the IOT market

2018-03-09 Thread Jacob Carlborg via Digitalmars-d
On Friday, 9 March 2018 at 08:42:11 UTC, Sebastiaan Koppe wrote: Awesome. Is this in a wiki somewhere? Not as far as I know. Feel free to add it. -- /Jacob Carlborg

Re: Embedded Linux really needs Dlang for the IOT market

2018-03-09 Thread Radu via Digitalmars-d
On Friday, 9 March 2018 at 03:09:16 UTC, dangbinghoo wrote: hi all, I think the D community should make more effort to make Dlang more easier to use on embedded Linux(mostly are arm and mips, powerpc). currently, LDC seems to be more complete, but we can only see a hundred words on the wiki

Re: Embedded Linux really needs Dlang for the IOT market

2018-03-09 Thread Sebastiaan Koppe via Digitalmars-d
On Friday, 9 March 2018 at 07:56:12 UTC, Jacob Carlborg wrote: LDC can cross-compile to various platforms, you just need a cross-linker and the system libraries. There's a Docker image that provides cross-compilers for various targets [1]. That image will provide a cross-linker and system libra

Re: D and C++ undefined reference when namespace

2018-03-09 Thread Markus via Digitalmars-d
On Thursday, 8 March 2018 at 21:14:36 UTC, Steven Schveighoffer wrote: On 3/8/18 2:01 PM, Steven Schveighoffer wrote: On 3/8/18 1:56 PM, Markus wrote: I tested dmd (2.079.0), gdc and ldc2. All got the same result. Which makes me think, that it's not a bug, but a "feature" :) This is DEFINITE

Re: Embedded Linux really needs Dlang for the IOT market

2018-03-09 Thread Jacob Carlborg via Digitalmars-d
On Friday, 9 March 2018 at 03:09:16 UTC, dangbinghoo wrote: We need tutorial for cross-compiling a whole d project for the ARM, MIPS linux systems, and we need the cross-compile toolchain ready to download. so, any ideas? LDC can cross-compile to various platforms, you just need a cross-li