Re: code.dlang.org package list

2018-09-10 Thread Neia Neutuladh via Digitalmars-d
On Monday, 10 September 2018 at 11:20:55 UTC, bauss wrote: I'm sorry, but it's not even close to accurate, because some libraries has documents on additional websites that has examples and no examples directly in the source code using "standard unittests" - This is true for most big libraries

Re: rund users welcome

2018-09-10 Thread Jonathan Marler via Digitalmars-d
On Tuesday, 11 September 2018 at 01:02:30 UTC, Vladimir Panteleev wrote: On Sunday, 9 September 2018 at 04:32:32 UTC, Jonathan Marler wrote: - -od (e.g. for -od.) Hmmm, yeah it looks like rund is currently overriding this. I've attempted a fix but it's hard to cover all the different

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-10 Thread tide via Digitalmars-d
On Monday, 10 September 2018 at 13:43:46 UTC, Joakim wrote: That's why PC sales keep dropping while mobile sales are now 6-7X that per year: This shouldn't be misunderstood as such, which I think you as misunderstanding it. The reason mobile sales are so high is because of planned

[Issue 18939] Wrong order slice lengths in array length mismatch error message

2018-09-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18939 Heromyth changed: What|Removed |Added CC||bitwo...@qq.com --- Comment #1 from Heromyth

Re: extern(C++, ns) is wrong

2018-09-10 Thread Manu via Digitalmars-d
On Mon, 10 Sep 2018 at 13:40, Carl Sturtivant via Digitalmars-d wrote: > > On Wednesday, 5 September 2018 at 13:53:15 UTC, Jonathan M Davis > wrote: > > On Wednesday, September 5, 2018 7:03:26 AM MDT Nicholas Wilson > > via Digitalmars-d wrote: > >> [...] > > > > Based on everything Walter said

[Issue 8841] Missing line numbers in stack trace?

2018-09-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8841 Heromyth changed: What|Removed |Added CC||bitwo...@qq.com --- Comment #9 from Heromyth ---

Re: John Regehr on "Use of Assertions"

2018-09-10 Thread Neia Neutuladh via Digitalmars-d
On Monday, 10 September 2018 at 19:44:22 UTC, H. S. Teoh wrote: It's high time we distinguished between the various flavors of assert, preferably with new words to avoid the baggage that has accumulated around 'assert'. Perhaps we can take some cues from Vigil, the eternally morally vigilant

Re: More fun with autodecoding

2018-09-10 Thread Nicholas Wilson via Digitalmars-d
On Monday, 10 September 2018 at 20:44:46 UTC, Andrei Alexandrescu wrote: On 9/10/18 12:46 PM, Steven Schveighoffer wrote: On 9/10/18 8:58 AM, Steven Schveighoffer wrote: I'll have to figure out why my specialized range doesn't allow splitting based on " ". And the answer is: I'm an idiot.

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-10 Thread Joakim via Digitalmars-d
On Monday, 10 September 2018 at 13:43:46 UTC, Joakim wrote: LDC recently added a linux/AArch64 CI for both its main branches and 64-bit ARM, ie AArch64, builds have been put out for both linux and Android. It does not seem that many are paying attention to this sea change that is going on with

Re: rund users welcome

2018-09-10 Thread Vladimir Panteleev via Digitalmars-d
On Sunday, 9 September 2018 at 04:32:32 UTC, Jonathan Marler wrote: - -od (e.g. for -od.) Hmmm, yeah it looks like rund is currently overriding this. I've attempted a fix but it's hard to cover all the different combinations of -of/-od/etc. I'll need to fill out the rest of the tests

Re: John Regehr on "Use of Assertions"

2018-09-10 Thread Meta via Digitalmars-d
On Monday, 10 September 2018 at 20:25:21 UTC, Jonathan M Davis wrote: I propose: - 'assume': aborts on false condition in debug builds, not checked in release builds, used as optimizer hint; - 'insist': aborts on false condition in debug builds, aborts on false condition in release

Re: John Regehr on "Use of Assertions"

2018-09-10 Thread aliak via Digitalmars-d
On Monday, 10 September 2018 at 20:25:21 UTC, Jonathan M Davis wrote: On Monday, September 10, 2018 1:44:22 PM MDT H. S. Teoh via Digitalmars-d wrote: [...] Honestly, that seems like total overkill, and I think that you would have a _very_ hard sell to get much of anyone to try to use

Re: More fun with autodecoding

2018-09-10 Thread Andrei Alexandrescu via Digitalmars-d
On 9/10/18 12:46 PM, Steven Schveighoffer wrote: On 9/10/18 8:58 AM, Steven Schveighoffer wrote: I'll have to figure out why my specialized range doesn't allow splitting based on " ". And the answer is: I'm an idiot. Forgot to define empty :) Also my slicing operator accepted ints and not

Re: extern(C++, ns) is wrong

2018-09-10 Thread Carl Sturtivant via Digitalmars-d
On Wednesday, 5 September 2018 at 13:53:15 UTC, Jonathan M Davis wrote: On Wednesday, September 5, 2018 7:03:26 AM MDT Nicholas Wilson via Digitalmars-d wrote: [...] Based on everything Walter said in the previous thread, it honestly seems to me to be primarily like he just can't give up on

Re: This is why I don't use D.

2018-09-10 Thread Neia Neutuladh via Digitalmars-d
On Monday, 10 September 2018 at 19:19:56 UTC, 0xEAB wrote: On Monday, 10 September 2018 at 15:46:28 UTC, Neia Neutuladh wrote: It blindly takes the results of dub build and dub test. Another question: How does it deal with targetType set to "sourceLibrary"? As of five minutes ago, for

Re: Process in parallel and output result to stdout theread-safely

2018-09-10 Thread Dr.No via Digitalmars-d-learn
On Saturday, 8 September 2018 at 14:26:45 UTC, ag0aep6g wrote: On 09/03/2018 08:13 PM, Dr.No wrote: But it in the middle of output, I got output like this: outjson = {"barCode":"20","ade":"20"}♪◙outjson = {"barCode":"X21","ade":"21"} also there's that extra ♪◙ character. Thos sounds

Re: John Regehr on "Use of Assertions"

2018-09-10 Thread Jonathan M Davis via Digitalmars-d
On Monday, September 10, 2018 1:44:22 PM MDT H. S. Teoh via Digitalmars-d wrote: > On Sun, Sep 09, 2018 at 12:27:52AM -0600, Jonathan M Davis via > Digitalmars-d wrote: [...] > > > IIRC, Weka has different types of assertions to differentiate between > > these two approaches - one for the cases

Re: libmir: recent updates

2018-09-10 Thread jmh530 via Digitalmars-d-announce
On Monday, 10 September 2018 at 17:42:16 UTC, jmh530 wrote: [snip] mir-algorithm and lubeck do not interact well right now on run.dlang.org as lubeck depends on the earlier API. The maintainer of that might consider adding an older version of mir-algorithm until the situation is resolved.

Re: John Regehr on "Use of Assertions"

2018-09-10 Thread H. S. Teoh via Digitalmars-d
On Sun, Sep 09, 2018 at 12:27:52AM -0600, Jonathan M Davis via Digitalmars-d wrote: [...] > IIRC, Weka has different types of assertions to differentiate between > these two approaches - one for the cases which absolutely must not > happen in production, and one that's purely for catching

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-10 Thread aberba via Digitalmars-d
On Monday, 10 September 2018 at 16:09:41 UTC, rjframe wrote: On Mon, 10 Sep 2018 13:43:46 +, Joakim wrote: Despite all this, D may never do very well on mobile or AArch64, even though I think it's well-suited for that market. But at the very least, you should be looking at mobile and

Re: This is why I don't use D.

2018-09-10 Thread 0xEAB via Digitalmars-d
On Monday, 10 September 2018 at 15:46:28 UTC, Neia Neutuladh wrote: It blindly takes the results of dub build and dub test. Another question: How does it deal with targetType set to "sourceLibrary"? Moreover, a future feature could be build logs, so one could check why something failed to

Re: John Regehr on "Use of Assertions"

2018-09-10 Thread Ola Fosheim Grøstad via Digitalmars-d
On Sunday, 9 September 2018 at 21:20:11 UTC, John Carter wrote: ie. Yes, everybody knows the words, everybody can read the code, everybody can find somebody who agrees with his intent and meaning but get a large enough group together to try agree on what actions, for example, the optimiser

Re: This is why I don't use D.

2018-09-10 Thread 0xEAB via Digitalmars-d
On Monday, 10 September 2018 at 15:46:28 UTC, Neia Neutuladh wrote: midi-gamepad has no releases. It has 0.1.1-alpha So it doesn't test pre-release versions. Thanks for clarification.

Re: Will the core.stdc module be updated for newer versions of C?

2018-09-10 Thread Laeeth Isharc via Digitalmars-d
On Saturday, 8 September 2018 at 01:12:30 UTC, solidstate1991 wrote: While for the most part it still works very well, however when porting Mago I found a few functions that are not present in C99 (most notably wcsncpy_s). While I can write my own functions to do the same (already done this

Re: libmir: recent updates

2018-09-10 Thread jmh530 via Digitalmars-d-announce
On Monday, 10 September 2018 at 14:33:11 UTC, 9il wrote: On Monday, 10 September 2018 at 12:55:01 UTC, Arredondo wrote: On Sunday, 9 September 2018 at 17:24:49 UTC, 9il wrote: Mir Algorithm http://mir-algorithm.dub.pm - v2.0.0, new ndslice API, Does new API mean that it's not backwards

Re: Will the core.stdc module be updated for newer versions of C?

2018-09-10 Thread Laurent Tréguier via Digitalmars-d
On Monday, 10 September 2018 at 07:43:52 UTC, Jonathan M Davis wrote: Historically, most of the Win32 API has been missing from druntime, and many of the symbols were in the wrong place (they should really be in modules corresponding to the C headers that the symbols come from, but many of

Re: More fun with autodecoding

2018-09-10 Thread Steven Schveighoffer via Digitalmars-d
On 9/10/18 8:58 AM, Steven Schveighoffer wrote: I'll have to figure out why my specialized range doesn't allow splitting based on " ". And the answer is: I'm an idiot. Forgot to define empty :) Also my slicing operator accepted ints and not size_t. -Steve

[Issue 19239] New: Fix unsafe casting away of const in hashOf(const Object)

2018-09-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19239 Issue ID: 19239 Summary: Fix unsafe casting away of const in hashOf(const Object) Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-10 Thread rjframe via Digitalmars-d
On Mon, 10 Sep 2018 13:43:46 +, Joakim wrote: > Despite all this, D may never do very well on mobile or AArch64, > even though I think it's well-suited for that market. But at the very > least, you should be looking at mobile and AArch64, as they're taking > over the computing market. I was

Re: Do we need Mat, Vec, TMmat, Diag, Sym and other matrix types?

2018-09-10 Thread 9il via Digitalmars-d
On Tuesday, 20 March 2018 at 12:10:08 UTC, Nordlöw wrote: On Tuesday, 13 March 2018 at 03:37:36 UTC, 9il wrote: I have a lot of work for next months, but looking for a good opportunity to make Mat happen. Sounds great. In which repo will these changes happen? It is planned to be in

Re: Making mir.random.ndvariable.multivariateNormalVar create bigger data sets than 2

2018-09-10 Thread 9il via Digitalmars-d-learn
On Tuesday, 27 February 2018 at 09:23:49 UTC, kerdemdemir wrote: I need a classifier in my project. Since it is I believe most easy to implement I am trying to implement logistic regression. [...] Mir Random v1.0.0 has new `range` overloads that can work NdRandomVariable. Example:

Re: More fun with autodecoding

2018-09-10 Thread Steven Schveighoffer via Digitalmars-d
On 9/8/18 8:36 AM, Steven Schveighoffer wrote: On 8/9/18 2:44 AM, Walter Bright wrote: On 8/8/2018 2:01 PM, Steven Schveighoffer wrote: Here's where I'm struggling -- because a string provides indexing, slicing, length, etc. but Phobos ignores that. I can't make a new type that does the same

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-10 Thread Joakim via Digitalmars-d
On Monday, 10 September 2018 at 15:06:46 UTC, Claude wrote: On Monday, 10 September 2018 at 13:43:46 UTC, Joakim wrote: Despite all this, D may never do very well on mobile or AArch64, even though I think it's well-suited for that market. But at the very least, you should be looking at mobile

Re: This is why I don't use D.

2018-09-10 Thread Neia Neutuladh via Digitalmars-d
On Monday, 10 September 2018 at 13:58:37 UTC, 0xEAB wrote: May I ask why some packages are missing (e.g. `midi-gamepad`)? midi-gamepad has no releases. It has 0.1.1-alpha, which is a prelease version, and ~master, which is a branch, and I can't rely on ~master being consistent in successive

Re: This is why I don't use D.

2018-09-10 Thread Neia Neutuladh via Digitalmars-d
On Monday, 10 September 2018 at 10:50:16 UTC, Joakim wrote: Nice work. I wonder about some of your results, as it says that dub itself doesn't build with all of the dmd versions, but somehow the tests pass sometimes (shouldn't be possible if you can't build dub itself). I just tested with `dub

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-10 Thread Claude via Digitalmars-d
On Monday, 10 September 2018 at 13:43:46 UTC, Joakim wrote: Despite all this, D may never do very well on mobile or AArch64, even though I think it's well-suited for that market. But at the very least, you should be looking at mobile and AArch64, as they're taking over the computing market.

[Issue 19219] Could not CTFE with std.math.exp from 2.082.0

2018-09-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19219 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 19219] Could not CTFE with std.math.exp from 2.082.0

2018-09-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19219 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/081d5e8d27b44d71cb81265fd18b4654fc61c293 Fix Issue 19219 - Could not CTFE with std.math.exp

Re: More fun with autodecoding

2018-09-10 Thread Steven Schveighoffer via Digitalmars-d
On 9/8/18 8:36 AM, Steven Schveighoffer wrote: I'll work on adding some issues to the tracker, and potentially doing some PRs so they can be fixed. https://issues.dlang.org/show_bug.cgi?id=19238 https://github.com/dlang/phobos/pull/6700 -Steve

Re: libmir: recent updates

2018-09-10 Thread 9il via Digitalmars-d-announce
On Monday, 10 September 2018 at 12:55:01 UTC, Arredondo wrote: On Sunday, 9 September 2018 at 17:24:49 UTC, 9il wrote: Mir Algorithm http://mir-algorithm.dub.pm - v2.0.0, new ndslice API, Does new API mean that it's not backwards compatible? if so, where can we find the documentation for

Re: Meson support for Mir and Lubeck

2018-09-10 Thread Matthias Klumpp via Digitalmars-d-announce
[ Replying to lots of stuff in one message - evil, I know... ;-) ] On Sunday, 9 September 2018 at 21:22:42 UTC, 9il wrote: On Sunday, 5 August 2018 at 02:36:29 UTC, Matthias Klumpp wrote: [...] Looks like that only betterC projects are good enough to become Debian packages. Generally

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-10 Thread Joakim via Digitalmars-d
On Monday, 10 September 2018 at 14:00:43 UTC, Iain Buclaw wrote: On 10 September 2018 at 15:43, Joakim via Digitalmars-d wrote: LDC recently added a linux/AArch64 CI for both its main branches and 64-bit ARM, ie AArch64, builds have been put out for both linux and Android. It does not seem

[Issue 19238] New: no-arg splitter should work on ranges of characters

2018-09-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19238 Issue ID: 19238 Summary: no-arg splitter should work on ranges of characters Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity:

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-10 Thread Iain Buclaw via Digitalmars-d
On 10 September 2018 at 15:43, Joakim via Digitalmars-d wrote: > LDC recently added a linux/AArch64 CI for both its main branches and 64-bit > ARM, ie AArch64, builds have been put out for both linux and Android. It > does not seem that many are paying attention to this sea change that is > going

Re: This is why I don't use D.

2018-09-10 Thread 0xEAB via Digitalmars-d
On Monday, 10 September 2018 at 01:27:20 UTC, Neia Neutuladh wrote: Not on dlang.org anywhere, but I built a crude version of this. Results are available at http://ikeran.org/report/. The current backfill is taking the three most recent versions of each package on the ~40 most recent versions

Re: traits getOverload of a template method

2018-09-10 Thread aliak via Digitalmars-d-learn
On Monday, 10 September 2018 at 13:46:08 UTC, aliak wrote: On Monday, 10 September 2018 at 12:57:25 UTC, Timoses wrote: How to "select" one? Can you either: alias myPeek = () => peek!(int, Endian.bigEndian, immutable(ubyte)[])(); Or alias myPeek = (size_t *index) => peek!(int,

Re: traits getOverload of a template method

2018-09-10 Thread aliak via Digitalmars-d-learn
On Monday, 10 September 2018 at 12:57:25 UTC, Timoses wrote: On Thursday, 6 February 2014 at 23:06:03 UTC, QAston wrote: [...] Is there any way to "select" overloaded template functions? I require to select one of `std.bitmanip.peek` import std.bitmanip : peek; import std.system :

Mobile is the new PC and AArch64 is the new x64

2018-09-10 Thread Joakim via Digitalmars-d
LDC recently added a linux/AArch64 CI for both its main branches and 64-bit ARM, ie AArch64, builds have been put out for both linux and Android. It does not seem that many are paying attention to this sea change that is going on with computing though, so let me lay out some evidence. At my

Re: libmir: recent updates

2018-09-10 Thread Arredondo via Digitalmars-d-announce
On Sunday, 9 September 2018 at 17:24:49 UTC, 9il wrote: Mir Algorithm http://mir-algorithm.dub.pm - v2.0.0, new ndslice API, Does new API mean that it's not backwards compatible? if so, where can we find the documentation for this new API? Arredondo.

Re: traits getOverload of a template method

2018-09-10 Thread Timoses via Digitalmars-d-learn
On Thursday, 6 February 2014 at 23:06:03 UTC, QAston wrote: How do i get aliases to overloads of a template method like Class A { int a(T)(T tq,T tw); int a(T)(T tq); } __traits(getOverloads, A, "a(int)")doesnt work Is there any way to "select" overloaded template functions? I

Re: Will the core.stdc module be updated for newer versions of C?

2018-09-10 Thread Steven Schveighoffer via Digitalmars-d
On 9/7/18 6:12 PM, solidstate1991 wrote: While for the most part it still works very well, however when porting Mago I found a few functions that are not present in C99 (most notably wcsncpy_s). It will be updated when you update it ;) There is just so much in the stdc libraries that it's

Re: More fun with autodecoding

2018-09-10 Thread Steven Schveighoffer via Digitalmars-d
On 9/10/18 1:45 AM, Chris wrote: After a while your code will be cluttered with absurd stuff like this. `.byCodeUnit`, `.byGrapheme`, `.array` etc. Due to my experience with `splitter` et. al. I tried to create my own parser to have better control over every step. I considered that, but I'm

Re: This is why I don't use D.

2018-09-10 Thread Adam D. Ruppe via Digitalmars-d
On Sunday, 9 September 2018 at 14:28:11 UTC, Guillaume Piolat wrote: I don't manage to find x-module search again, perhaps disabled. Yeah, there's a memory leak in it so leaving it up would kill the box to build actual docs. And the last couple months have been crazy IRL, but I scheduled

[Issue 15321] std.format.format is impure for doubles

2018-09-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15321 Timoses changed: What|Removed |Added CC||timos...@gmail.com --- Comment #1 from Timoses

Re: code.dlang.org package list

2018-09-10 Thread bauss via Digitalmars-d
On Monday, 10 September 2018 at 00:56:37 UTC, void wrote: On Sunday, 9 September 2018 at 06:32:39 UTC, Jonathan M Davis wrote: On Saturday, September 8, 2018 8:36:26 PM MDT void via Digitalmars-d wrote: On Sunday, 9 September 2018 at 01:30:14 UTC, Neia Neutuladh wrote: > On Sunday, 9

Re: libmir: recent updates

2018-09-10 Thread jmh530 via Digitalmars-d-announce
On Monday, 10 September 2018 at 04:50:37 UTC, Shigeki Karita wrote: [snip] great. numir (numpy like helper functions library) also supports mir-algorithm v2 today https://github.com/libmir/numir/releases Glad to hear it. I hope the v2 API helps with explaining mir.

Re: This is why I don't use D.

2018-09-10 Thread Joakim via Digitalmars-d
On Monday, 10 September 2018 at 01:27:20 UTC, Neia Neutuladh wrote: On Wednesday, 5 September 2018 at 05:44:38 UTC, H. S. Teoh wrote: To me, this strongly suggests the following idea: - add *all* dlang.org packages to our current autotester / CI infrastructure. - if a particular (version of

Re: code.dlang.org package list

2018-09-10 Thread Dominikus Dittes Scherkl via Digitalmars-d
On Monday, 10 September 2018 at 00:56:37 UTC, void wrote: On Sunday, 9 September 2018 at 06:32:39 UTC, Jonathan M Davis wrote: I downloaded 100 packages from code.dlang.org and search for "*doc*" and "*example*" Script updated now searches for the string "unittest" on package directory

[Issue 19237] New: string mixin struct initializer doesn't compile

2018-09-10 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19237 Issue ID: 19237 Summary: string mixin struct initializer doesn't compile Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

dub doesn't work with dmd 1:2.082.0-1.0?

2018-09-10 Thread SuperPrower via Digitalmars-d-learn
dub was working nice until I updated my system (I run ArchLinux32) just now. dmd was updated from version 1:2.081.2-1.0 to 1:2.082.0-1.0 (according to pacman package manager). After that, I couldn't invoke dub for anything. Here is the attempt to run `dub --vverbose`: ``` Using dub registry

Re: Small @nogc experience report

2018-09-10 Thread rikki cattermole via Digitalmars-d
On 10/09/2018 9:11 PM, Kagamin wrote: On Saturday, 8 September 2018 at 08:32:58 UTC, Guillaume Piolat wrote: There is no other choice when the runtime is disabled but to have @nogc. It's a fantastic peace of mind for high-performance to be able to _enforce_ something will not allocate. You

DlangUI and android

2018-09-10 Thread Josphe Brigmo via Digitalmars-d-learn
Is there an emulator that can run the apks? Android emulator does not work, I suppose, because it isn't java. Complains about a missing classes.dex file. I'd rather have an emulator version if possible for quicker dev.

Re: More fun with autodecoding

2018-09-10 Thread Jonathan M Davis via Digitalmars-d
On Monday, September 10, 2018 2:45:27 AM MDT Chris via Digitalmars-d wrote: > After a while your code will be cluttered with absurd stuff like > this. `.byCodeUnit`, `.byGrapheme`, `.array` etc. Due to my > experience with `splitter` et. al. I tried to create my own > parser to have better

Re: Small @nogc experience report

2018-09-10 Thread Kagamin via Digitalmars-d
On Saturday, 8 September 2018 at 08:32:58 UTC, Guillaume Piolat wrote: There is no other choice when the runtime is disabled but to have @nogc. It's a fantastic peace of mind for high-performance to be able to _enforce_ something will not allocate. You can't have a working GC allocation with

Re: More fun with autodecoding

2018-09-10 Thread Chris via Digitalmars-d
On Saturday, 8 September 2018 at 15:36:25 UTC, Steven Schveighoffer wrote: On 8/9/18 2:44 AM, Walter Bright wrote: So it turns out that technically the problem here, even though it seemed like an autodecoding problem, is a problem with splitter. splitter doesn't deal with encodings of

Re: Meson support for Mir and Lubeck

2018-09-10 Thread Russel Winder via Digitalmars-d-announce
On Mon, 2018-09-10 at 07:25 +, 9il via Digitalmars-d-announce wrote: […] > Interesting, maybe we can go forward with D specific libraries in > the future. Is there any D library that is used by application > packages? Obvious example is Tilix and GtkD. They are compiled with a given

Re: More fun with autodecoding

2018-09-10 Thread Jonathan M Davis via Digitalmars-d
On Saturday, September 8, 2018 9:36:25 AM MDT Steven Schveighoffer via Digitalmars-d wrote: > On 8/9/18 2:44 AM, Walter Bright wrote: > > On 8/8/2018 2:01 PM, Steven Schveighoffer wrote: > >> Here's where I'm struggling -- because a string provides indexing, > >> slicing, length, etc. but Phobos

Re: GTKD for android?

2018-09-10 Thread Joakim via Digitalmars-d-learn
On Saturday, 8 September 2018 at 02:59:48 UTC, Josphe Brigmo wrote: I have an app I'm writing using GtkD on windows. Eventually I'd like to port it to android. Since I have never been able to actually get anything to work on android I'm curious if there are any demos with gtkD for android? I'm

Re: Bug with writeln?

2018-09-10 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, September 9, 2018 8:30:12 AM MDT Saurabh Das via Digitalmars-d- learn wrote: > Thank you for explaining all this. > > It is frustrating because the behaviour is very counterintuitive. > > I will use a workaround for now. Ranges are fantastic, and the basic concept is solid, but a

Re: Will the core.stdc module be updated for newer versions of C?

2018-09-10 Thread Jonathan M Davis via Digitalmars-d
On Sunday, September 9, 2018 11:37:54 AM MDT Laurent Tréguier via Digitalmars-d wrote: > On Saturday, 8 September 2018 at 01:12:30 UTC, solidstate1991 > > wrote: > > While for the most part it still works very well, however when > > porting Mago I found a few functions that are not present in > >

Re: Will the core.stdc module be updated for newer versions of C?

2018-09-10 Thread Jonathan M Davis via Digitalmars-d
On Friday, September 7, 2018 7:12:30 PM MDT solidstate1991 via Digitalmars-d wrote: > While for the most part it still works very well, however when > porting Mago I found a few functions that are not present in C99 > (most notably wcsncpy_s). > > While I can write my own functions to do the same

Re: Meson support for Mir and Lubeck

2018-09-10 Thread 9il via Digitalmars-d-announce
On Monday, 10 September 2018 at 06:31:44 UTC, Russel Winder wrote: On Sun, 2018-09-09 at 21:22 +, 9il via Digitalmars-d-announce wrote: […] Looks like that only betterC projects are good enough to become Debian packages. Generally because of the have stable C ABI that does not depend on

Re: Is there websocket client implementation for D

2018-09-10 Thread Heromyth via Digitalmars-d-learn
On Tuesday, 24 March 2015 at 17:55:38 UTC, Ilya Korobitsyn wrote: Hello! Is there any websocket client implementation in D? I know there is WS server as a part of vibe.d, but it does not seem to include client. Maybe there are some library bindings that I've missed? We just implemented one

Re: [vibe-d/dub] Lin

2018-09-10 Thread Martin Tschierschke via Digitalmars-d-learn
On Friday, 7 September 2018 at 16:37:18 UTC, MamoKupe wrote: On Friday, 7 September 2018 at 16:20:40 UTC, MamoKupe wrote: marcinan@marcinan-PC ~/Pulpit/d $ dub init bibe Package recipe format (sdl/json) [json]: d Invalid format, "d", enter either "sdl" or "json". Package recipe format

Re: Meson support for Mir and Lubeck

2018-09-10 Thread Russel Winder via Digitalmars-d-announce
On Sun, 2018-09-09 at 21:22 +, 9il via Digitalmars-d-announce wrote: > […] > Looks like that only betterC projects are good enough to become > Debian packages. Generally because of the have stable C ABI that > does not depend on D compiler version at all. I do not follow the logic here at