Re: __dtor vs __xdtor

2017-08-11 Thread HyperParrow via Digitalmars-d-learn
On Friday, 11 August 2017 at 17:02:20 UTC, HyperParrow wrote: On Friday, 11 August 2017 at 16:53:02 UTC, bitwise wrote: What do they do? What's the difference? Thanks __xdtor() also calls the __dtor() that are mixed with template mixins while __dtor() only call the __dtor() that matches to

[Issue 17745] New: Upgrade DLang Bugzilla to 4.4.12

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17745 Issue ID: 17745 Summary: Upgrade DLang Bugzilla to 4.4.12 Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1

Dynamic array leak?

2017-08-11 Thread bitwise via Digitalmars-d
struct S { static int count = 0; this(int x) { ++count; } this(this) { ++count; } ~this() { --count; } } int main(string[] argv) { S[] x = [S(1), S(1)]; writeln("GC allocated: ", (GC.addrOf(x.ptr) !is null)); x = null; GC.collect(); writeln("live objects: ",

[Issue 17738] access to local alias from outside compiles but execution hangs

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17738 --- Comment #1 from Dominikus Dittes Scherkl --- Sorry, that was gdc, and it was the compilation that only stopped after stack overflow was reached (which took about 10 minutes). dmd (2.075.0) directly fails with a

Re: Need some vibe.d hosting advice

2017-08-11 Thread Mengu via Digitalmars-d
On Friday, 11 August 2017 at 13:06:54 UTC, aberba wrote: So I'm into this platform with a vibe.d api server + back-end and I'm confused/curious to know the hosting package to use. I will have a lot of images uploaded by users. 1. For sometime, I've been looking at heroku which is fine with

Re: DIP 1011-extern(delegate)--Formal Review

2017-08-11 Thread Dominikus Dittes Scherkl via Digitalmars-d
On Friday, 11 August 2017 at 10:45:03 UTC, Mike Parker wrote: The first stage of the formal review for DIP 1011 [1], "extern(delegate)", is now underway. I see no problem with this DIP. And even if the usecase is rare, I think it is worth the new syntax (and thereby increased complexity of

How to make http requests to unix socket?

2017-08-11 Thread dvnguyen via Digitalmars-d-learn
How to make http requests to unix socket? For example, in Docker engine api, curl --unix-socket /var/run/docker.sock http:/v1.24/containers/json

__dtor vs __xdtor

2017-08-11 Thread bitwise via Digitalmars-d-learn
What do they do? What's the difference? Thanks

Re: __dtor vs __xdtor

2017-08-11 Thread HyperParrow via Digitalmars-d-learn
On Friday, 11 August 2017 at 17:12:22 UTC, bitwise wrote: On Friday, 11 August 2017 at 17:06:40 UTC, HyperParrow wrote: [...] int i; struct Foo { template ToMix(){ ~this(){i;}} ~this(){++i;} mixin ToMix; } void main() { Foo* foo = new Foo; foo.__xdtor; assert(i==3);

Re: DCD as a library - stops working after some thread is created.

2017-08-11 Thread Vadim Lopatin via Digitalmars-d-learn
On Friday, 11 August 2017 at 08:17:32 UTC, Vadim Lopatin wrote: I'm using DCD as a library in DlangIDE. All DCD calls are made from separate thread. DCD works ok until some thread is created (e.g. to invoke DUB for building). /// call this function after DCD ModuleCache is instantiated to

Re: __dtor vs __xdtor

2017-08-11 Thread bitwise via Digitalmars-d-learn
On Friday, 11 August 2017 at 17:02:20 UTC, HyperParrow wrote: On Friday, 11 August 2017 at 16:53:02 UTC, bitwise wrote: What do they do? What's the difference? Thanks __xdtor() also calls the __dtor() that are mixed with template mixins while __dtor() only call the __dtor() that matches to

Re: __dtor vs __xdtor

2017-08-11 Thread bitwise via Digitalmars-d-learn
On Friday, 11 August 2017 at 17:06:40 UTC, HyperParrow wrote: [...] int i; struct Foo { template ToMix(){ ~this(){i;}} ~this(){++i;} mixin ToMix; } void main() { Foo* foo = new Foo; foo.__xdtor; assert(i==3); Foo* other = new Foo; foo.__dtor;

Re: __dtor vs __xdtor

2017-08-11 Thread HyperParrow via Digitalmars-d-learn
On Friday, 11 August 2017 at 16:53:02 UTC, bitwise wrote: What do they do? What's the difference? Thanks __xdtor() also calls the __dtor() that are mixed with template mixins while __dtor() only call the __dtor() that matches to the normal ~this(){}

Re: __dtor vs __xdtor

2017-08-11 Thread bitwise via Digitalmars-d-learn
On Friday, 11 August 2017 at 17:20:18 UTC, HyperParrow wrote: [...] I made a mistake but it's not about i, which is a global. I meant "other.__dtor." just before the last assert. This doesn't change the results. hmm...indeed ;) On Friday, 11 August 2017 at 17:24:17 UTC, HyperParrow wrote:

Re: Fix gtkD api display

2017-08-11 Thread Antonio via Digitalmars-d-learn
On Thursday, 10 August 2017 at 14:59:52 UTC, Adam D. Ruppe wrote: On Thursday, 10 August 2017 at 14:55:06 UTC, Mike Wey wrote: [...] Oh, I see. My generator lists them on the index, but doesn't recreate it each time, it just links. For example:

Re: DlangUI Error

2017-08-11 Thread Jiyan via Digitalmars-d-learn
On Friday, 11 August 2017 at 02:25:51 UTC, Mike Parker wrote: On Thursday, 10 August 2017 at 23:38:42 UTC, Jiyan wrote: [...] Sounds like you used the script from the download page that installs the compiler per user. It's designed to allow you to have multiple versions installed in your

DCD as a library - stops working after some thread is created.

2017-08-11 Thread Vadim Lopatin via Digitalmars-d-learn
I'm using DCD as a library in DlangIDE. All DCD calls are made from separate thread. DCD works ok until some thread is created (e.g. to invoke DUB for building). After this operation DCD stops working correctly and can locate symbols only from current source file. Root cause: If some another

Re: newCTFE Status August 2017

2017-08-11 Thread Stefan Koch via Digitalmars-d
On Tuesday, 1 August 2017 at 21:27:32 UTC, Stefan Koch wrote: [ ... ] Hey guys, I just finished &&. The following test works now: int[2] aaa2(bool b1, bool b2, bool b3, bool b4) { int x = 0; if (b1 && ++x && b2 && x++ && b3 && (b4 || x++)) { return [x, 1]; } else {

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-11 Thread SC via Digitalmars-d
On Wednesday, 9 August 2017 at 22:17:42 UTC, Jonathan M Davis wrote: On Wednesday, August 09, 2017 17:13:37 Timon Gehr via Digitalmars-d wrote: It is also a common pattern for the complainers to point out how not fixing their pet peeve will result in negative PR or reduced popularity. As if

Re: Beta D 2.075.1

2017-08-11 Thread aberba via Digitalmars-d-announce
On Thursday, 10 August 2017 at 20:18:50 UTC, Walter Bright wrote: On 8/8/2017 1:32 PM, Martin Nowak wrote: On Tuesday, 8 August 2017 at 15:45:45 UTC, Vladimir Panteleev wrote: On Tuesday, 8 August 2017 at 14:57:58 UTC, Daniel Kozak wrote: https://issues.dlang.org/show_bug.cgi?id=17731

On Tilix and D: An Interview with Gerald Nunn

2017-08-11 Thread Mike Parker via Digitalmars-d-announce
Joakim has put together a wonderful interview with Gerald Nunn, the maintainer of Tilix. Gerald talks about Tilix and his experience using D. It's a fun read that expands on the talk he gave at DConf this year. With this post, I've also taken the opportunity to create a new site for extended

Re: Who here uses vibe-s3 from code.dlang.org?

2017-08-11 Thread aberba via Digitalmars-d
On Thursday, 10 August 2017 at 15:49:35 UTC, Andres Clari wrote: On Monday, 7 August 2017 at 22:46:57 UTC, aberba wrote: vibe-s3 (https://code.dlang.org/packages/vibe-s3) is an Amazon s3 object storage API for D. Has anyone here used or tested it? What was your experiences? It has the

Re: DLL loading behaviors and pragma(lib)

2017-08-11 Thread David Zhang via Digitalmars-d-learn
On Friday, 11 August 2017 at 04:50:48 UTC, rikki cattermole wrote: On 11/08/2017 12:18 AM, David Zhang wrote: I've been working on getting OpenGL to load on windows without a library, and encountered something curious; Context creation fails when I try to use the function pointer retrieved

Need some vibe.d hosting advice

2017-08-11 Thread aberba via Digitalmars-d
So I'm into this platform with a vibe.d api server + back-end and I'm confused/curious to know the hosting package to use. I will have a lot of images uploaded by users. 1. For sometime, I've been looking at heroku which is fine with its load balancer, easily scaling etc. But the hosting cost

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-11 Thread rikki cattermole via Digitalmars-d
On 11/08/2017 12:46 PM, HyperParrow wrote: On Friday, 11 August 2017 at 08:13:07 UTC, SC wrote: [...] having great tooling might increase popularity, but for me it'll improve my productivity, and that's all i care about, popularity is next, quality is already nice for me The language itself

[Issue 8006] Implement proper in-place-modification for properties

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8006 --- Comment #6 from Mike --- An attempt at a partial implementation: https://github.com/dlang/dmd/pull/7079/files --

[Issue 14916] opDispatch: no property error for parameter type mismatch

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14916 Maksim Zholudev changed: What|Removed |Added CC||maxim...@gmail.com --

Re: I'm the new package maintainer for D on ArchLinux

2017-08-11 Thread Atila Neves via Digitalmars-d-announce
On Wednesday, 9 August 2017 at 20:42:48 UTC, Wild wrote: Hi everyone, The D packages for ArchLinux has been orphaned since Dicebot stepped down as the maintainer and no one else stepped up. So I decided to step up and apply to become a Trusted User, and I got accepted yesterday[1]. So from

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-11 Thread HyperParrow via Digitalmars-d
On Friday, 11 August 2017 at 08:13:07 UTC, SC wrote: [...] having great tooling might increase popularity, but for me it'll improve my productivity, and that's all i care about, popularity is next, quality is already nice for me The language itself should improve your productivity: meta

DIP 1011-extern(delegate)--Formal Review

2017-08-11 Thread Mike Parker via Digitalmars-d
The first stage of the formal review for DIP 1011 [1], "extern(delegate)", is now underway. From now until 11:59 PM ET on August 25 (3:59 AM GMT on August 26), the community has the opportunity to provide last-minute feedback. If you missed the preliminary review [2], this is your chance to

Re: DIP 1011-extern(delegate)--Formal Review Begins

2017-08-11 Thread aberba via Digitalmars-d-announce
On Friday, 11 August 2017 at 10:46:43 UTC, Mike Parker wrote: The formal review feedback period for DIP 1011, 'extern(delegate)', is now underway. http://forum.dlang.org/post/eriumcjifxcbdvtya...@forum.dlang.org After reading the whole proposal with fresh mind, I wonder how often will

DIP 1011-extern(delegate)--Formal Review Begins

2017-08-11 Thread Mike Parker via Digitalmars-d-announce
The formal review feedback period for DIP 1011, 'extern(delegate)', is now underway. http://forum.dlang.org/post/eriumcjifxcbdvtya...@forum.dlang.org

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-11 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 9 August 2017 at 07:59:46 UTC, Ryion wrote: this here because its obvious pattern. I agree that this seems to be a very small community and it is hard to get things done in a small community. But it is counter productive to constantly tell people that there is no solution, they

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-11 Thread Vadim Lopatin via Digitalmars-d
On Friday, 11 August 2017 at 11:34:44 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 9 August 2017 at 07:59:46 UTC, Ryion wrote: this here because its obvious pattern. I agree that this seems to be a very small community and it is hard to get things done in a small community. But it is counter

[Issue 17736] bigint opunary should be better performing

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17736 --- Comment #5 from hst...@quickfur.ath.cx --- Wrote it up here: https://issues.dlang.org/show_bug.cgi?id=17746 Doesn't necessarily mean I have the time to actually implement this, though. :-) --

[Issue 17736] bigint opunary should be better performing

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17736 hst...@quickfur.ath.cx changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 17746] Improve BigInt memory usage

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17746 hst...@quickfur.ath.cx changed: What|Removed |Added See Also||https://issues.dlang.org/sh

Re: task parallelize dirEntries

2017-08-11 Thread Arun Chandrasekaran via Digitalmars-d-learn
On Friday, 11 August 2017 at 21:33:51 UTC, Arun Chandrasekaran wrote: I've modified the sample from tour.dlang.org to calculate the [...] RHEL 7.2 64 bit dmd v2.075.0 ldc 1.1.0

Re: newCTFE Status August 2017

2017-08-11 Thread Stefan Koch via Digitalmars-d
On Friday, 11 August 2017 at 20:13:04 UTC, Dominikus Dittes Scherkl wrote: On Friday, 11 August 2017 at 09:27:47 UTC, Stefan Koch wrote: On Tuesday, 1 August 2017 at 21:27:32 UTC, Stefan Koch wrote: [ ... ] Hey guys, I just finished &&. Hooray! So what's still missing? Or is this now

Re: On Tilix and D: An Interview with Gerald Nunn

2017-08-11 Thread Joakim via Digitalmars-d-announce
On Friday, 11 August 2017 at 12:57:10 UTC, Mike Parker wrote: Joakim has put together a wonderful interview with Gerald Nunn, the maintainer of Tilix. Gerald talks about Tilix and his experience using D. It's a fun read that expands on the talk he gave at DConf this year. [...] By

Re: task parallelize dirEntries

2017-08-11 Thread Johnson via Digitalmars-d-learn
On Friday, 11 August 2017 at 21:33:51 UTC, Arun Chandrasekaran wrote: I've modified the sample from tour.dlang.org to calculate the md5 digest of the files in a directory using std.parallelism. When I run this on a dir with huge number of files, I get:

Re: Need some vibe.d hosting advice

2017-08-11 Thread Andre Pany via Digitalmars-d
On Friday, 11 August 2017 at 13:06:54 UTC, aberba wrote: So I'm into this platform with a vibe.d api server + back-end and I'm confused/curious to know the hosting package to use. I will have a lot of images uploaded by users. 1. For sometime, I've been looking at heroku which is fine with

task parallelize dirEntries

2017-08-11 Thread Arun Chandrasekaran via Digitalmars-d-learn
I've modified the sample from tour.dlang.org to calculate the md5 digest of the files in a directory using std.parallelism. When I run this on a dir with huge number of files, I get: core.exception.OutOfMemoryError@src/core/exception.d(696): Memory allocation failed Since dirEntries returns

Re: Dynamic array leak?

2017-08-11 Thread Yuxuan Shui via Digitalmars-d
On Friday, 11 August 2017 at 18:44:56 UTC, bitwise wrote: struct S { static int count = 0; this(int x) { ++count; } this(this) { ++count; } ~this() { --count; } } int main(string[] argv) { S[] x = [S(1), S(1)]; writeln("GC allocated: ", (GC.addrOf(x.ptr) !is null));

Re: newCTFE Status August 2017

2017-08-11 Thread Dominikus Dittes Scherkl via Digitalmars-d
On Friday, 11 August 2017 at 09:27:47 UTC, Stefan Koch wrote: On Tuesday, 1 August 2017 at 21:27:32 UTC, Stefan Koch wrote: [ ... ] Hey guys, I just finished &&. Hooray! So what's still missing? Or is this now complete enough to release?

[Issue 17746] New: Improve BigInt memory usage

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17746 Issue ID: 17746 Summary: Improve BigInt memory usage Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement Priority: P1

bluejay - integration/application test runner

2017-08-11 Thread rjframe via Digitalmars-d-announce
Bluejay is an application test runner, allowing easy writing of cross- platform tests. Bluejay uses Lua (via LuaD) with a small test library and is on the dub registry at http://code.dlang.org/packages/bluejay I also converted the first 37 test cases of DCD[1] to try it out - so those tests

Re: Persistent Storage

2017-08-11 Thread HyperParrow via Digitalmars-d-learn
On Friday, 11 August 2017 at 22:21:53 UTC, Mr. Pib wrote: Does D have a persistent storage somewhere? I'd like something easy to use that allows me to load and save settings to disk in between executions of the program. I want to specify the variable to be saved or loaded and a default value.

Bug in -J

2017-08-11 Thread Mr. Pib via Digitalmars-d
I have -J added to the command line like -JC:\Temp I then use import(r"C:\Temp\a.dat"); and I get an error about the file not existing in the main.d: Error: file "C:\\Temp\\a.dat" cannot be found or not in a path specified with -J It seems dmd does internally compare the paths to see if

Re: Bug in D?!

2017-08-11 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Aug 11, 2017 at 11:34:04PM +, Adam D. Ruppe via Digitalmars-d-learn wrote: > On Friday, 11 August 2017 at 22:43:02 UTC, Mr. Pib wrote: > > int and I should be able to append an int without having to worry > > about the value of the int. > > Appending an int to a string really ought

Re: Bug in -J

2017-08-11 Thread rikki cattermole via Digitalmars-d
On 12/08/2017 3:34 AM, Mr. Pib wrote: I have -J added to the command line like -JC:\Temp I then use import(r"C:\Temp\a.dat"); and I get an error about the file not existing in the main.d: Error: file "C:\\Temp\\a.dat" cannot be found or not in a path specified with -J It seems dmd does

Re: Dynamic array leak?

2017-08-11 Thread bitwise via Digitalmars-d
On Friday, 11 August 2017 at 19:01:44 UTC, Yuxuan Shui wrote: On Friday, 11 August 2017 at 18:44:56 UTC, bitwise wrote: [...] My guess is a pointer to the array still lives somewhere on the stack. This gives the expected output: void f() { S[] x = [S(1), S(1)]; writeln("GC allocated:

Re: Bug in D?!

2017-08-11 Thread ketmar via Digitalmars-d-learn
Mr. Pib wrote: Wow, that is pretty screwed up! I thought D was against implicit conversions that might cause problems? I'm passing an int and I should be able to append an int without having to worry about the value of the int. Instead D chose to do something very strange, awkward, and error

Re: Bug in D?!

2017-08-11 Thread Adam D. Ruppe via Digitalmars-d-learn
On Friday, 11 August 2017 at 22:43:02 UTC, Mr. Pib wrote: int and I should be able to append an int without having to worry about the value of the int. Appending an int to a string really ought to just be a type mismatch error. We might be able to convince the leadership to do that too,

[Issue 17744] Type system hole: returning inout delegates

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17744 Walter Bright changed: What|Removed |Added Keywords||safe

[Issue 17743] Type system hole: escaping inout delegates

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17743 Walter Bright changed: What|Removed |Added Keywords||safe

Re: Persistent Storage

2017-08-11 Thread Mr. Pib via Digitalmars-d-learn
On Saturday, 12 August 2017 at 01:16:35 UTC, HyperParrow wrote: On Friday, 11 August 2017 at 22:21:53 UTC, Mr. Pib wrote: [...] Try a serialization library or inifiled. Some may even use a DB with ORM for this. https://code.dlang.org/packages/inifiled

Re: Bug in -J

2017-08-11 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 12 August 2017 at 03:52:25 UTC, Mr. Pib wrote: You are making assumptions about me making assumptions... please don't make any more assumptions or we will be in an infinite regression ;/ Sorry, maybe I don't understand the question. Maybe you could explain in broader terms the

Re: task parallelize dirEntries

2017-08-11 Thread Arun Chandrasekaran via Digitalmars-d-learn
On Friday, 11 August 2017 at 21:58:20 UTC, Johnson wrote: Just a thought, maybe the GC isn't cleaning up quick enough? You are allocating and md5 digest each iteration. Possibly, an opitimization is use use a collection of md5 hashes and reuse them. e.g., pre-allocate 100(you probably only

Re: Need some vibe.d hosting advice

2017-08-11 Thread crimaniak via Digitalmars-d
On Friday, 11 August 2017 at 13:06:54 UTC, aberba wrote: So I'm into this platform with a vibe.d api server + back-end and I'm confused/curious to know the hosting package to use. I will have a lot of images uploaded by users. 2. Get an EC2 instance from Amazon or Vultr and install

[Issue 3420] Allow string import of files using subdirectories

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3420 Vladimir Panteleev changed: What|Removed |Added Status|REOPENED

Re: Bug in -J

2017-08-11 Thread Mr. Pib via Digitalmars-d
On Saturday, 12 August 2017 at 03:02:31 UTC, Vladimir Panteleev wrote: On Saturday, 12 August 2017 at 02:45:30 UTC, rikki cattermole wrote: On 12/08/2017 3:34 AM, Mr. Pib wrote: I have -J added to the command line like -JC:\Temp I then use import(r"C:\Temp\a.dat"); and I get an error about

Re: GTKD resources

2017-08-11 Thread Mr. Pib via Digitalmars-d-learn
Here is what I came up with import gdkpixbuf.Pixbuf; GdkPixbuf*[string] __ImageCache; void SetImage(string imgName)(gtk.Image T) { import std.path, std.conv, gdkpixbuf.Pixbuf; GError* err = null; if (imgName !in __ImageCache) { GdkPixbufLoader*

Persistent Storage

2017-08-11 Thread Mr. Pib via Digitalmars-d-learn
Does D have a persistent storage somewhere? I'd like something easy to use that allows me to load and save settings to disk in between executions of the program. I want to specify the variable to be saved or loaded and a default value. e.g., Persist_Load(Some_variable, 100); will load

Re: Bug in D?!

2017-08-11 Thread Mr. Pib via Digitalmars-d-learn
On Friday, 11 August 2017 at 04:17:32 UTC, ketmar wrote: Mr. Pib wrote: string Q(alias T, alias D)() { pragma(msg, T); pragma(msg, D); enum x = T~" = "~D~";"; pragma(msg, x); } mixin(Q!(`x`, 100)()); outputs, at compile time, x 100 x = d; there is no

Re: Bug in D?!

2017-08-11 Thread Mr. Pib via Digitalmars-d-learn
On Friday, 11 August 2017 at 22:50:53 UTC, ketmar wrote: Mr. Pib wrote: Wow, that is pretty screwed up! I thought D was against implicit conversions that might cause problems? I'm passing an int and I should be able to append an int without having to worry about the value of the int.

Re: Bug in D?!

2017-08-11 Thread Mr. Pib via Digitalmars-d-learn
On Friday, 11 August 2017 at 23:34:04 UTC, Adam D. Ruppe wrote: On Friday, 11 August 2017 at 22:43:02 UTC, Mr. Pib wrote: int and I should be able to append an int without having to worry about the value of the int. Appending an int to a string really ought to just be a type mismatch error.

Re: Bug in -J

2017-08-11 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 12 August 2017 at 02:45:30 UTC, rikki cattermole wrote: On 12/08/2017 3:34 AM, Mr. Pib wrote: I have -J added to the command line like -JC:\Temp I then use import(r"C:\Temp\a.dat"); and I get an error about the file not existing in the main.d: Error: file "C:\\Temp\\a.dat"

Re: Bug in -J

2017-08-11 Thread Mr. Pib via Digitalmars-d
On Saturday, 12 August 2017 at 03:58:30 UTC, Vladimir Panteleev wrote: On Saturday, 12 August 2017 at 03:52:25 UTC, Mr. Pib wrote: You are making assumptions about me making assumptions... please don't make any more assumptions or we will be in an infinite regression ;/ Sorry, maybe I don't

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-11 Thread Jonathan M Davis via Digitalmars-d
On Friday, August 11, 2017 08:13:07 SC via Digitalmars-d wrote: > On Wednesday, 9 August 2017 at 22:17:42 UTC, Jonathan M Davis > > Regardless, we're here because we want a quality language, not > > because we want a popular one. We just hope that those two > > things aren't mutually exclusive. >

Re: Vectorflow noob

2017-08-11 Thread Michael via Digitalmars-d-learn
On Thursday, 10 August 2017 at 19:10:05 UTC, Jiyan wrote: Hey, wanted to the following simple thing with vectorflow: [...] I'm worried there might not be many on the forums who can help too much with vectorflow given how new it is. Maybe some in the community are more familiar with neural

Re: Who here uses vibe-s3 from code.dlang.org?

2017-08-11 Thread Andres Clari via Digitalmars-d
On Friday, 11 August 2017 at 13:11:36 UTC, aberba wrote: After comparing Google's object storage platform with Amazon, I found Google's to be much simpler and straight forward plus it uses a json based api which is much simple to parse and understand. Maybe, but some people have to or

Re: Vectorflow noob

2017-08-11 Thread BitR via Digitalmars-d-learn
On Thursday, 10 August 2017 at 19:10:05 UTC, Jiyan wrote: Hey, wanted to the following simple thing with vectorflow: ... You'll want to end your stack with your wanted output size (1 - being the sum). Training it with the "square" function seems to give the best result for simple additions.

Re: __dtor vs __xdtor

2017-08-11 Thread HyperParrow via Digitalmars-d-learn
On Friday, 11 August 2017 at 17:10:14 UTC, bitwise wrote: On Friday, 11 August 2017 at 17:02:20 UTC, HyperParrow wrote: On Friday, 11 August 2017 at 16:53:02 UTC, bitwise wrote: What do they do? What's the difference? Thanks __xdtor() also calls the __dtor() that are mixed with template

[Issue 17743] New: Type system hole: escaping inout delegates

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17743 Issue ID: 17743 Summary: Type system hole: escaping inout delegates Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical

[Issue 17744] New: Type system hole: returning inout delegates

2017-08-11 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17744 Issue ID: 17744 Summary: Type system hole: returning inout delegates Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical

Re: On Tilix and D: An Interview with Gerald Nunn

2017-08-11 Thread Adam D. Ruppe via Digitalmars-d-announce
So yeah reminder on the terminal emulator thing, if anyone who knows gtk wants to try to wrap my emulator in it.. it should be pretty easy. I have done a terminal.d frontend and a simpledisplay.d frontend and it isn't that hard. I just don't know gtk.

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-11 Thread Ali via Digitalmars-d
On Friday, 11 August 2017 at 12:11:13 UTC, Vadim Lopatin wrote: E.g. DlangIDE is written in D, uses cross-platform GUI library DlangUI which is written in D, and is cross-platform. May work even as console app. First, you are to be saluted (luimarco style*) for your effor on DlangIDE and

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-11 Thread 12345swordy via Digitalmars-d
On Friday, 11 August 2017 at 03:16:17 UTC, Dmitry wrote: On Thursday, 10 August 2017 at 19:44:35 UTC, 12345swordy wrote: On Thursday, 10 August 2017 at 05:55:59 UTC, Dmitry wrote: On Wednesday, 9 August 2017 at 20:29:07 UTC, 12345swordy wrote: You edit the json file of course. That how DUB