Re: How do you get comfortable with Dlang.org's Forum?

2018-02-24 Thread Patrick Schluter via Digitalmars-d
On Saturday, 24 February 2018 at 04:41:44 UTC, H. S. Teoh wrote: On Sat, Feb 24, 2018 at 04:18:29AM +, MattCoder via Digitalmars-d wrote: On Friday, 23 February 2018 at 13:47:16 UTC, biocyberman wrote: > 1. No post editing... You should be grateful for this, because I hate systems like:

Re: Double link list

2018-02-24 Thread Alex via Digitalmars-d-learn
On Saturday, 24 February 2018 at 09:48:13 UTC, Joel wrote: I'm trying some code for practice, but it isn't working properly - it prints just one number when printing in reverse. [...] the first writeln destroys the range via popFront, I think. As if you comment it out, the writeln with

[Issue 13855] Allow multiple selective imports from different modules in a single import statement

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13855 --- Comment #10 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/ddbdfb44379d4580d3ef0103834356f89d215566 Revert "fix Issue 13855 - multi-module selective import

[Issue 18468] cannot use `synchronized {}` in @safe code

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18468 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/8130ab0a5181e3a71442a7014ebc5159331a9d2e Fix Issue 18468 - cannot use `synchronized {}` in @safe code

[Issue 18468] cannot use `synchronized {}` in @safe code

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

[Issue 18244] Generic functions in std.math cannot be overloaded

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18244 --- Comment #7 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/a74271be4c93cf95905265597ac9bca426378f55 Revert "Issue 18244: std.math generic functions need to

[Issue 18341] Documentation for std.array.split is confusing/incorrect

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18341 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/1956daf34f8779779a1d393e1870e275a0619b2e Fix Issue 18341 - Documentation for std.array.split is

[Issue 18492] DLang STL links are broken

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18492 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/adf6113eb9f311acbd717d4c8b11c8f115892841 Fix Issue 18492 - DLang STL links are broken

[Issue 18114] [Reg 2.078] regex performance regression

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18114 --- Comment #7 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/59520969ef73eaf0691972ee00b389e5bbc4c8fb fix Issue 18114 - regex performance regression -

[Issue 18492] DLang STL links are broken

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

[Issue 18114] [Reg 2.078] regex performance regression

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

Re: Anybody still using the chm docs

2018-02-24 Thread notna via Digitalmars-d
On Thursday, 16 June 2016 at 02:32:05 UTC, Jack Stouffer wrote: On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote: So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release? For offline browsing, Windows and Linux users can use

Re: Anybody still using the chm docs

2018-02-24 Thread notna via Digitalmars-d
On Sunday, 18 February 2018 at 21:44:54 UTC, Jordi Sayol wrote: El 17/02/18 a les 22:19, Manu via Digitalmars-d ha escrit: I like the CHM docs. I have encountered the same maintenance problem before, where build infra is linux based, and the CHM docs need a windows machine to build... I

Re: How do you get comfortable with Dlang.org's Forum?

2018-02-24 Thread Patrick Schluter via Digitalmars-d
On Friday, 23 February 2018 at 22:01:44 UTC, bachmeier wrote: On Friday, 23 February 2018 at 17:56:29 UTC, Biocyberman wrote: Speaking on behalf of myself, after additional inputs from many excellent and respectful users in this 'forum'. I can say that, on the scale of 1 (least geeky) to 10

[Issue 16243] wrong C++ argument passing with empty struct and 6 integers

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16243 --- Comment #17 from Walter Bright --- On Linux x86, given the code: struct S { }; int test(S s, int a) { return a; } g++ produces: mov EAX,8[ESP] ret while clang++ produces: mov EAX,4[ESP] ret This

[Issue 16243] wrong C++ argument passing with empty struct and 6 integers

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16243 --- Comment #16 from Walter Bright --- With the upgrade to FreeBSD 11, this is now happening on 32 bit FreeBSD. --

[Issue 18514] freebsd 11 with clang fails cpp abi tests

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18514 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 16243] wrong C++ argument passing with empty struct and 6 integers

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16243 --- Comment #15 from Walter Bright --- *** Issue 18514 has been marked as a duplicate of this issue. *** --

[Issue 16243] wrong C++ argument passing with empty struct and 6 integers

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16243 Walter Bright changed: What|Removed |Added Keywords||C++ --

Re: Postgres and other database interfaces

2018-02-24 Thread Suliman via Digitalmars-d
On Saturday, 24 February 2018 at 06:05:38 UTC, Erik Smith wrote: On Saturday, 24 February 2018 at 05:45:45 UTC, rikki cattermole wrote: There is plenty of desire to build a generalized SQL interface for Phobos. But somebody needs to do it and it won't be all that much fun to do. Hi Joe and

[Issue 5570] 64 bit C ABI not followed for passing structs and complex numbers as function parameters

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5570 Walter Bright changed: What|Removed |Added Keywords||C++ --

Re: Double link list

2018-02-24 Thread TheFlyingFiddle via Digitalmars-d-learn
On Saturday, 24 February 2018 at 09:48:13 UTC, Joel wrote: I'm trying some code for practice, but it isn't working properly - it prints just one number when printing in reverse. I think the problem is here: void popFront() { head = head.next; if (head !is null) head.prev = null; } void

Re: Postgres and other database interfaces

2018-02-24 Thread Martin Tschierschke via Digitalmars-d
On Saturday, 24 February 2018 at 07:57:47 UTC, aberba wrote: On Saturday, 24 February 2018 at 05:33:56 UTC, Joe wrote: Back on 13 January, I posted in the Learn forum some questions regarding using Postgres and got a reply that stated the following: On Monday, 15 January 2018 at 02:28:29

[Issue 18514] freebsd 11 with clang fails cpp abi tests

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18514 Walter Bright changed: What|Removed |Added Keywords||C++

Re: Postgres and other database interfaces

2018-02-24 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 24 February 2018 at 09:10:03 UTC, aberba wrote: On Saturday, 24 February 2018 at 08:32:38 UTC, Paolo Invernizzi wrote: On Saturday, 24 February 2018 at 07:57:47 UTC, aberba wrote: On Saturday, 24 February 2018 at 05:33:56 UTC, Joe wrote: 4. ddb. About the same number of

[Issue 18505] delete deprecation message is misleading

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

[Issue 18505] delete deprecation message is misleading

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18505 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/db25160a7eeedb052cf6f2ed8de042cf129ebeeb Fix Issue 18505 - delete deprecation message is misleading

[Issue 18515] freebsd 11 ships with gcc unable to link 32 bit binaries, dmd uses it by default

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18515 --- Comment #4 from Jonathan M Davis --- https://github.com/dlang/dmd/pull/7949 --

Re: D for microservices

2018-02-24 Thread Joakim via Digitalmars-d
On Thursday, 22 February 2018 at 21:59:27 UTC, aberba wrote: On Thursday, 22 February 2018 at 08:54:04 UTC, Joakim wrote: On Monday, 23 October 2017 at 18:18:28 UTC, Jacob Carlborg wrote: [...] Yuxuan Shui has ported druntime to Musl over the last couple months:

[Issue 18516] New: Add -vnrvo switch for showing user when nrv is done

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18516 Issue ID: 18516 Summary: Add -vnrvo switch for showing user when nrv is done Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

Re: NNTP client configuration

2018-02-24 Thread Jonathan M Davis via Digitalmars-d
On Saturday, February 24, 2018 01:45:28 Walter Bright via Digitalmars-d wrote: > On 2/23/2018 5:20 AM, Steven Schveighoffer wrote: > > Hoping to go to Germany, but not sure if it's going to happen again :) > > How can anyone pass up Bavaria?! LOL. The cost of going to dconf when it's in Germany

Re: NNTP client configuration

2018-02-24 Thread Walter Bright via Digitalmars-d
On 2/23/2018 5:20 AM, Steven Schveighoffer wrote: Hoping to go to Germany, but not sure if it's going to happen again :) How can anyone pass up Bavaria?!

Double link list

2018-02-24 Thread Joel via Digitalmars-d-learn
I'm trying some code for practice, but it isn't working properly - it prints just one number when printing in reverse. ''' void main() { import std.stdio, std.algorithm, std.range, std.conv; struct List(T) { class Node { T value;

Re: Slow code, slow

2018-02-24 Thread Stefan Koch via Digitalmars-d
On Friday, 23 February 2018 at 20:15:12 UTC, H. S. Teoh wrote: Now that I got your attention: https://issues.dlang.org/show_bug.cgi?id=18511 tl;dr: A trivial piece of code, written as ostensibly "idiomatic D" with std.algorithm and std.range templates, compiles *an order of

[Issue 18515] freebsd 11 ships with gcc unable to link 32 bit binaries, dmd uses it by default

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18515 Walter Bright changed: What|Removed |Added CC|

Re: Postgres and other database interfaces

2018-02-24 Thread aberba via Digitalmars-d
On Saturday, 24 February 2018 at 08:32:38 UTC, Paolo Invernizzi wrote: On Saturday, 24 February 2018 at 07:57:47 UTC, aberba wrote: On Saturday, 24 February 2018 at 05:33:56 UTC, Joe wrote: 4. ddb. About the same number of downloads as the above. Implemented on top of front/backend protocol.

[Issue 18515] freebsd 11 ships with gcc unable to link 32 bit binaries, dmd uses it by default

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18515 --- Comment #2 from Jonathan M Davis --- However, it does look like test/d_do_test.d hardcodes g++ if CC isn't set, so that fails if g++ isn't available. --

Re: How to split a string to a 2D array

2018-02-24 Thread Domain via Digitalmars-d-learn
On Saturday, 24 February 2018 at 08:59:46 UTC, Domain wrote: On Saturday, 24 February 2018 at 07:51:27 UTC, Domain wrote: [...] And why this not compile: rows.each!(a => data ~= a.split(",").map!(b => b.strip).padRight("", 2)); Error: cannot deduce function from argument types

Re: How to split a string to a 2D array

2018-02-24 Thread Domain via Digitalmars-d-learn
On Saturday, 24 February 2018 at 07:51:27 UTC, Domain wrote: I want to convert a string like " a,b1, 23 " to a 2D array like: [["a", "b"], ["1", "2"], ["3", "" ]] auto html = " a,b1, 23 "; auto rows = html.strip.chomp("").split(""); string[][] data; rows.each!(a => data ~= a.split(","));

Re: Postgres and other database interfaces

2018-02-24 Thread Paolo Invernizzi via Digitalmars-d
On Saturday, 24 February 2018 at 07:57:47 UTC, aberba wrote: On Saturday, 24 February 2018 at 05:33:56 UTC, Joe wrote: 4. ddb. About the same number of downloads as the above. Implemented on top of front/backend protocol. No documentation although repository has a folder with two sample

[Issue 18515] freebsd 11 ships with gcc unable to link 32 bit binaries, dmd uses it by default

2018-02-24 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18515 Jonathan M Davis changed: What|Removed |Added CC|

Re: Beta 2.079.0

2018-02-24 Thread Joakim via Digitalmars-d-announce
On Friday, 23 February 2018 at 11:57:05 UTC, Martin Nowak wrote: Furthermore there remain various ideas that would avoid the original ambiguity. Whether such changes are worthwhile is up for discussion and would benefit from someone taking the lead. I really like psychoRabbit's array syntax

Re: PackedAliasSeq?

2018-02-24 Thread Petar via Digitalmars-d
On Saturday, 24 February 2018 at 06:14:52 UTC, deadalnix wrote: On Thursday, 22 February 2018 at 19:26:54 UTC, Andrei Alexandrescu wrote: After coding https://github.com/dlang/phobos/pull/6192 with AliasSeq, the experience has been quite pleasurable. However, in places the AliasSeq tends to

Re: Postgres and other database interfaces

2018-02-24 Thread aberba via Digitalmars-d
On Saturday, 24 February 2018 at 05:33:56 UTC, Joe wrote: Back on 13 January, I posted in the Learn forum some questions regarding using Postgres and got a reply that stated the following: On Monday, 15 January 2018 at 02:28:29 UTC, Matthias Klumpp wrote: In any case, please don't start

<    1   2