proper range usage

2015-11-03 Thread Alex via Digitalmars-d-learn
Hi everybody, first of all: this question is going to be unclear, because I'm lack of the "buzz word" I would like to ask about, sorry for this in advance. I try to describe the problem, where I stuck and hope somebody could think just a step further. Just a hint where to read about the

Re: why to (not) support "older" compiler versions

2015-11-03 Thread drug via Digitalmars-d
On 03.11.2015 11:22, Johannes Pfau wrote: I guess it's to be compatible with the latest DMD, LDC and GDC. GDC currently only provides the 2.066.1 frontend. A bit offtopic - will the situation change with ddmd accepted? I mean the situation with different frontend version in different

why to (not) support "older" compiler versions

2015-11-03 Thread yawniek via Digitalmars-d
i have seen many PR's and also Forum entries that deal with the problem of newer features of the compiler not being able and then patching or working around that to support older compiler versions. since it is really easy to keep up with compiler versions and even switch (and not many

Bidirectional Filter

2015-11-03 Thread Nordlöw via Digitalmars-d-learn
Is there a reason why std.algorithm.iteration.filter() doesn't propagate bidirectional access?

Re: Bidirectional Filter

2015-11-03 Thread Jakob Ovrum via Digitalmars-d-learn
On Tuesday, 3 November 2015 at 08:41:11 UTC, Nordlöw wrote: Is there a reason why std.algorithm.iteration.filter() doesn't propagate bidirectional access? http://dlang.org/phobos/std_algorithm_iteration.html#filterBidirectional

Re: proper range usage

2015-11-03 Thread Alex via Digitalmars-d-learn
On Tuesday, 3 November 2015 at 08:23:20 UTC, Ali Çehreli wrote: > "Programming in D" book (the revision of 2015-10-24) Oooh! That smells very fresh. :) :) > In my case, the container class can't become empty. Even if it contains > one single element, in this case the example should return

Re: why to (not) support "older" compiler versions

2015-11-03 Thread Johannes Pfau via Digitalmars-d
Am Tue, 03 Nov 2015 08:08:26 + schrieb yawniek : > i have seen many PR's and also Forum entries that deal with the > problem of newer features of the compiler not being able and then > patching or working around that to support older compiler > versions. > > since it is

Re: proper range usage

2015-11-03 Thread Ali Çehreli via Digitalmars-d-learn
On 11/02/2015 11:59 PM, Alex wrote: > "Programming in D" book (the revision of 2015-10-24) Oooh! That smells very fresh. :) > In my case, the container class can't become empty. Even if it contains > one single element, in this case the example should return true for > begin == end, it is not

Re: proper range usage

2015-11-03 Thread Alex via Digitalmars-d-learn
... and yes, each P's M's are meant to be the same, as the associated M's in the B's class to the P. If you understand, what I mean ;)

Re: I have this game engine...

2015-11-03 Thread Joakim via Digitalmars-d
On Tuesday, 3 November 2015 at 07:30:44 UTC, Johannes Pfau wrote: Am Tue, 3 Nov 2015 09:16:47 +1000 schrieb Manu via Digitalmars-d : I have a samples directory which it would be theoretically possible to run and see that they don't crash as part of a test run.

Re: I have this game engine...

2015-11-03 Thread Joakim via Digitalmars-d
On Tuesday, 3 November 2015 at 08:36:46 UTC, Joakim wrote: There's a Dreamcast emulator for Android/ARM: https://github.com/reicast/reicast-emulator You could run it inside the Android emulator on Travis: :) http://docs.travis-ci.com/user/languages/android/ I'm sure their servers can handle

Re: Second CT-Parameter of isRange Predicates

2015-11-03 Thread Atila Neves via Digitalmars-d
On Tuesday, 3 November 2015 at 03:26:47 UTC, Jonathan M Davis wrote: On Monday, 2 November 2015 at 15:00:23 UTC, Andrei Alexandrescu wrote: On 11/02/2015 09:43 AM, Nordlöw wrote: On Monday, 2 November 2015 at 14:43:00 UTC, Nordlöw wrote: On Monday, 2 November 2015 at 14:33:44 UTC, Andrei

Re: Capturing __FILE__ and __LINE in a variadic templated function

2015-11-03 Thread Jonathan M Davis via Digitalmars-d-learn
On Tuesday, November 03, 2015 07:35:40 Nordlöw via Digitalmars-d-learn wrote: > On Tuesday, 3 November 2015 at 06:14:14 UTC, Jonathan M Davis > wrote: > > You should pretty much never use __FILE__ or __LINE__ as > > template arguments unless you actually need to. The reason is > > that it will end

Chrome OS folding into Android, Android coming to laptops

2015-11-03 Thread Joakim via Digitalmars-d
https://www.thurrott.com/mobile/7541/google-doesnt-quite-deny-chrome-os-android-story Paulo and I looked into the future and predicted this in June: Paulo: "Eventually Google will realize [Chromebooks] are as useful as WebOS and will merge them with Android."

DConf 2016 venue: beautiful Heimathafen Neukölln

2015-11-03 Thread Andrei Alexandrescu via Digitalmars-d-announce
http://dconf.org/2016/venue.html We're pleased to announce that DConf 2016 will take place in Heimathafen Neukölln, the crucible of modern Berliner Volkstheater ("People's Theater"). We should feel right at home amid the energy, provocative contrasts, and colorful creativity on

Re: foreach loop

2015-11-03 Thread Namal via Digitalmars-d-learn
On Tuesday, 3 November 2015 at 14:52:19 UTC, Adam D. Ruppe wrote: On Tuesday, 3 November 2015 at 14:47:14 UTC, Namal wrote: I remember it is possible to get the index for each element in the foreach loop, but I forgot how to do it. Can you help me out please. Thx. for many of them it is as

[Issue 15281] New: std\experimental\allocator\package.d not included in build script

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15281 Issue ID: 15281 Summary: std\experimental\allocator\package.d not included in build script Product: D Version: D2 Hardware: x86 OS: Windows Status:

Re: foreach loop

2015-11-03 Thread wobbles via Digitalmars-d-learn
On Tuesday, 3 November 2015 at 15:10:43 UTC, wobbles wrote: On Tuesday, 3 November 2015 at 15:06:00 UTC, Namal wrote: On Tuesday, 3 November 2015 at 14:52:19 UTC, Adam D. Ruppe wrote: On Tuesday, 3 November 2015 at 14:47:14 UTC, Namal wrote: [...] for many of them it is as simple as:

Re: foreach loop

2015-11-03 Thread wobbles via Digitalmars-d-learn
On Tuesday, 3 November 2015 at 15:06:00 UTC, Namal wrote: On Tuesday, 3 November 2015 at 14:52:19 UTC, Adam D. Ruppe wrote: On Tuesday, 3 November 2015 at 14:47:14 UTC, Namal wrote: I remember it is possible to get the index for each element in the foreach loop, but I forgot how to do it. Can

[Issue 15274] typeid(this) inside of an interface contract segfaults

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15274 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED

Re: why to (not) support "older" compiler versions

2015-11-03 Thread Iain Buclaw via Digitalmars-d
On 3 November 2015 at 12:57, drug via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On 03.11.2015 14:11, Iain Buclaw via Digitalmars-d wrote: > >> On 3 November 2015 at 11:35, Daniel Murphy via Digitalmars-d >> > wrote: >>

[Issue 15280] Unable to factor two simple functions into one inout function

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15280 --- Comment #1 from Sobirari Muhomori --- One const method looks enough in your case: List tail() const { assert(root); auto n = root.next; return List(n); } --

Re: why to (not) support "older" compiler versions

2015-11-03 Thread drug via Digitalmars-d
On 03.11.2015 15:50, Iain Buclaw via Digitalmars-d wrote: Well, how would that work? :-) What you've probably misheard is half of a phrase. Moving to towards ddmd is not to be confused with moving towards a shared 'frontend' codebase, and is the first half of the correct sentence. The

Re: why to (not) support "older" compiler versions

2015-11-03 Thread Daniel Murphy via Digitalmars-d
On 3/11/2015 7:52 PM, drug wrote: On 03.11.2015 11:22, Johannes Pfau wrote: I guess it's to be compatible with the latest DMD, LDC and GDC. GDC currently only provides the 2.066.1 frontend. A bit offtopic - will the situation change with ddmd accepted? I mean the situation with different

Re: Second CT-Parameter of isRange Predicates

2015-11-03 Thread Nordlöw via Digitalmars-d
On Monday, 2 November 2015 at 15:33:54 UTC, Atila Neves wrote: And that's for writing code. With regards to reading, it's been pointed out multiple times that beginners will struggle with template contraints on function signatures. It'll be the case much more often if every function and struct

[Issue 7517] Interface contracts broken

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7517 Kenji Hara changed: What|Removed |Added CC||initrd...@gmail.com ---

Re: Benchmark memchar (with GCC builtins)

2015-11-03 Thread Andrei Alexandrescu via Digitalmars-d
On 11/02/2015 09:33 PM, Iakh wrote: - Naive:21.46 TickDuration(132842482) SIMD: 1.161 TickDuration(7188211) (was)SIMD: 3.04 TickDuration(18920182) C:1 TickDuration(6189222) Looks like the current memchr is well optimized. Not much blood

Re: why to (not) support "older" compiler versions

2015-11-03 Thread drug via Digitalmars-d
On 03.11.2015 14:11, Iain Buclaw via Digitalmars-d wrote: On 3 November 2015 at 11:35, Daniel Murphy via Digitalmars-d > wrote: On 3/11/2015 7:52 PM, drug wrote: On 03.11.2015 11:22, Johannes Pfau wrote:

Re: Second CT-Parameter of isRange Predicates

2015-11-03 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, 3 November 2015 at 08:37:22 UTC, Atila Neves wrote: Am I the only one who ever writes `int[]` or `Struct[]` in a function signature? Probably not, but I write very little code that operates on arrays rather than ranges. If I do, it's usually in a short program or script where I'm

Re: why to (not) support "older" compiler versions

2015-11-03 Thread Sebastiaan Koppe via Digitalmars-d
On Tuesday, 3 November 2015 at 08:08:28 UTC, yawniek wrote: i have seen many PR's and also Forum entries that deal with the problem of newer features of the compiler not being able and then patching or working around that to support older compiler versions. For end-users it is always good to

Re: Chrome OS folding into Android, Android coming to laptops

2015-11-03 Thread Joakim via Digitalmars-d
On Tuesday, 3 November 2015 at 10:17:42 UTC, Jakob Ovrum wrote: On Tuesday, 3 November 2015 at 09:06:57 UTC, Joakim wrote: Android and iOS are gunning for laptops next, with their recently announced Pixel C and iPad Pro, I'm sure desktops will soon follow. When those two platforms went after

Re: why to (not) support "older" compiler versions

2015-11-03 Thread Iain Buclaw via Digitalmars-d
On 3 November 2015 at 11:35, Daniel Murphy via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On 3/11/2015 7:52 PM, drug wrote: > >> On 03.11.2015 11:22, Johannes Pfau wrote: >> >>> >>> I guess it's to be compatible with the latest DMD, LDC and GDC. GDC >>> currently only provides the

Re: Chrome OS folding into Android, Android coming to laptops

2015-11-03 Thread Jakob Ovrum via Digitalmars-d
On Tuesday, 3 November 2015 at 09:06:57 UTC, Joakim wrote: Android and iOS are gunning for laptops next, with their recently announced Pixel C and iPad Pro, I'm sure desktops will soon follow. When those two platforms went after Windows Mobile/Phone, they burned it to the ground:

Re: Chrome OS folding into Android, Android coming to laptops

2015-11-03 Thread Jacob Carlborg via Digitalmars-d
On 2015-11-03 10:06, Joakim wrote: as Swift is still iOS-only Swift was available on OS X from day one. When Swift 2.0 was released it was open sourced and made available on Linux as well. -- /Jacob Carlborg

Re: Chrome OS folding into Android, Android coming to laptops

2015-11-03 Thread Jacob Carlborg via Digitalmars-d
On 2015-11-03 15:28, Joakim wrote: Since when is OS X a mobile platform? ;) Fair enough. That was _announced_ with Swift 2.0, but my google searches show it has neither been open sourced nor made available for linux yet. Hmm. Didn't know that. -- /Jacob Carlborg

Re: foreach loop

2015-11-03 Thread Namal via Digitalmars-d-learn
On Tuesday, 3 November 2015 at 15:10:43 UTC, wobbles wrote: On Tuesday, 3 November 2015 at 15:06:00 UTC, Namal wrote: On Tuesday, 3 November 2015 at 14:52:19 UTC, Adam D. Ruppe wrote: On Tuesday, 3 November 2015 at 14:47:14 UTC, Namal wrote: I remember it is possible to get the index for each

Re: foreach loop

2015-11-03 Thread Namal via Digitalmars-d-learn
On Tuesday, 3 November 2015 at 15:10:43 UTC, wobbles wrote: On Tuesday, 3 November 2015 at 15:06:00 UTC, Namal wrote: On Tuesday, 3 November 2015 at 14:52:19 UTC, Adam D. Ruppe wrote: On Tuesday, 3 November 2015 at 14:47:14 UTC, Namal wrote: I remember it is possible to get the index for each

Re: foreach loop

2015-11-03 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Tuesday, 3 November 2015 at 15:29:31 UTC, Namal wrote: writefln("Count is: %s", arr .filter!(a => a==true) .sum); // Note: std.algorithm.sum is the same as // std.algorithm.reduce!((a,b)=a+b); Shouldn't you be using walkLength instead of sum, since you are counting the left over

[Issue 150] (D1 only) std.gc.minimize doesn't minimize physical memory usage

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=150 Andrei Alexandrescu changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 1587] improvments to std.cover

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1587 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

Re: Under 1000 opened bugs for Phobos

2015-11-03 Thread Andrei Alexandrescu via Digitalmars-d
On 11/03/2015 09:35 AM, Andrei Alexandrescu wrote: https://goo.gl/r24Izw Some of them are D1 only; I'll make an executive decision about those soon. After speaking to Don I am closing D1-only Phobos bugs with "wontfix". If anyone wants to work on specific bugs, please reopen. Thanks! --

[Issue 1772] (D1 only) regexp.split behavior with captures needs to be documented

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1772 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 1721] std.math.nextafter should be backported to D1 Phobos

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1721 Andrei Alexandrescu changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 1937] std.uri.decode throws wrong exception

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1937 Andrei Alexandrescu changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 1998] std.bitarray should have setAll / opSliceAssign(bool) etc

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1998 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com

Re: foreach loop

2015-11-03 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Tuesday, 3 November 2015 at 16:55:44 UTC, wobbles wrote: On Tuesday, 3 November 2015 at 15:42:16 UTC, Edwin van Leeuwen wrote: On Tuesday, 3 November 2015 at 15:29:31 UTC, Namal wrote: writefln("Count is: %s", arr .filter!(a => a==true) .sum); // Note: std.algorithm.sum is the same as

[Issue 973] [std.date] DST (daylight savings time) not applied in southern hemisphere

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=973 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 592] expand in std.zip: reassigning values to ArchiveMember's members prevents correct unzipping of some zip files

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=592 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3764] Remove Phobos workarounds for fixed bugs

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3764 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com

Plenty of low-hanging fruit out there

2015-11-03 Thread Andrei Alexandrescu via Digitalmars-d
e.g. https://issues.dlang.org/show_bug.cgi?id=3561 and many with a smaller ID. Andrei

Re: Efficiency of immutable vs mutable

2015-11-03 Thread Andrew via Digitalmars-d-learn
This: On Tuesday, 3 November 2015 at 04:08:09 UTC, TheFlyingFiddle wrote: __gshared char[4] lookup = ['a', 't', 'g', 'c]; Has the same efficiency gain as immutable, so it looks like a thread-local vs global difference and the extra cost is going through the thread-local lookup. Thanks

[Issue 1953] BufferedFile seek and flush dumps 4gb to disk

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1953 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 15272] [2.069-rc2,inline] nothing written to output when -inline is set

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15272 --- Comment #16 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/633c50a4ffd3980502eaacecf7c743e7051925a3 fix Issue 15272 -

[Issue 3725] Add units type to standard library

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3725 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com

[Issue 3741] std.date YearFromTime broken or very slow

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3741 Andrei Alexandrescu changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 1926] TypeInfo methods getHash, compare, equals unimplemented for AA, function and delegate

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1926 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3019] std.typetuple: add some templates

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3019 Andrei Alexandrescu changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 2993] getops uses globals for formatting

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2993 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

Re: Under 1000 opened bugs for Phobos

2015-11-03 Thread Jeffery via Digitalmars-d
On Tuesday, 3 November 2015 at 14:35:08 UTC, Andrei Alexandrescu wrote: https://goo.gl/r24Izw Some of them are D1 only; I'll make an executive decision about those soon. Some of them have been fixed or obviated by recent improvements. And finally the bulk of them need a little work each to

[Issue 528] cstream.flush() returns EOF early for din.

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=528 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 1752] std.date.LocalTimetoUTC applies wrong daylight savings time adjustments in EU timezones

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1752 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 1077] writef and friends won't read/write from/to redirected std handles

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1077 Andrei Alexandrescu changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #4

[Issue 1512] GC infinite loop when invalid user code runs.

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1512 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

Re: French translation of Ali Çehreli's "Programming in D" book : 53 chapter translated

2015-11-03 Thread Théo Bueno via Digitalmars-d-announce
On Tuesday, 15 September 2015 at 11:40:58 UTC, Raphaël Jakse wrote: http://dlang-fr.org/cours/programmer-en-d/ Hello, I just want to notify that the translation moved to a new URL : http://d.unix.cat/ The reason is that dlang-fr.org expired, and as the website was a complete failure due to

[Issue 1583] std.cstream.CFile cannot be detached from FILE*

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1583 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3764] Remove Phobos workarounds for fixed bugs

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3764 Jack Stouffer changed: What|Removed |Added CC||j...@jackstouffer.com

[Issue 2467] strtol() is improperly declared

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2467 Andrei Alexandrescu changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 317] Need full translation of the Windows API headers

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=317 Vladimir Panteleev changed: What|Removed |Added Keywords||pull

Re: foreach loop

2015-11-03 Thread wobbles via Digitalmars-d-learn
On Tuesday, 3 November 2015 at 15:42:16 UTC, Edwin van Leeuwen wrote: On Tuesday, 3 November 2015 at 15:29:31 UTC, Namal wrote: writefln("Count is: %s", arr .filter!(a => a==true) .sum); // Note: std.algorithm.sum is the same as // std.algorithm.reduce!((a,b)=a+b); Shouldn't you be

[Issue 1960] Thread Class Causes SEGV If Not Started

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1960 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 1966] Allow for Derived Thread Classes

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1966 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2585] std.stream readf

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2585 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2898] Allow RandomCover to sample both w/ and w/o replacement.

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2898 Andrei Alexandrescu changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #2

[Issue 3248] lossless floating point formatting

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3248 --- Comment #15 from Andrei Alexandrescu --- Anyone working on this? --

[Issue 2163] successfully reading doesn't necessarily mean not EOF in the stream

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2163 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2160] spawnvp P_NOWAIT issue

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2160 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2447] There's no disconnectall for std.signals

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2447 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com

[Issue 15272] [2.069-rc2,inline] nothing written to output when -inline is set

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15272 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3561] math.abs signature accepts static arrays, but errors internally.

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3561 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com

[Issue 15102] Unified function to remove files/directories

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15102 Vladimir Panteleev changed: What|Removed |Added See Also|

[Issue 12254] Github interaction improvement proposals (via user.js or addins)

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12254 Vladimir Panteleev changed: What|Removed |Added Status|ASSIGNED|RESOLVED

Re: good reasons not to use D?

2015-11-03 Thread DLearner via Digitalmars-d-learn
On Saturday, 31 October 2015 at 14:37:23 UTC, rumbu wrote: On Friday, 30 October 2015 at 10:35:03 UTC, Laeeth Isharc wrote: I'm writing a talk for codemesh on the use of D in finance. Any other thoughts? For finance stuff - missing a floating point decimal data type. Things like 1.1 + 2.2 =

[Issue 12254] Github interaction improvement proposals (via user.js or addins)

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12254 --- Comment #10 from Andrej Mitrovic --- > you can't filter through closed pulls where you can tell whether a pull was > closed because it was merged, or it was closed but not merged. I think this one is still true.

Re: proper range usage

2015-11-03 Thread Alex via Digitalmars-d-learn
On Tuesday, 3 November 2015 at 22:36:21 UTC, Ali Çehreli wrote: That's fine. D's slices do that all the time: arr[0..3] and arr[3..$] seem to share index 3 but it is not the case: The first slice does not use it but the second one does. Ok... great! This is what I worried about... Aside: If

[Issue 12935] Cannot log in to code.lang.org with current accounts on Bugzilla or Wiki

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12935 Vladimir Panteleev changed: What|Removed |Added Status|NEW |RESOLVED

Re: Under 1000 opened bugs for Phobos

2015-11-03 Thread Chris via Digitalmars-d
On Tuesday, 3 November 2015 at 19:42:58 UTC, Andrei Alexandrescu wrote: I wrote this: http://wiki.dlang.org/Starting_as_a_Contributor, is it what you need it to be? -- Andrei "Then, github detects the new code and offers assistance to create a pull request with just a couple of clicks."

Re: Under 1000 opened bugs for Phobos

2015-11-03 Thread Gary Willoughby via Digitalmars-d
On Tuesday, 3 November 2015 at 19:42:58 UTC, Andrei Alexandrescu wrote: I wrote this: http://wiki.dlang.org/Starting_as_a_Contributor, is it what you need it to be? -- Andrei There's also these: http://wiki.dlang.org/Building_DMD http://wiki.dlang.org/Pull_Requests

[Issue 2993] getops uses globals for formatting

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2993 --- Comment #5 from Andrei Alexandrescu --- (In reply to hsteoh from comment #4) > Vague? > > I thought it's pretty clear what this bug is asking for: fix the > implementation of getopt so that it doesn't require the use of

[Issue 3764] Remove Phobos workarounds for fixed bugs

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3764 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/d085228a43f9d81fbd2a52a55a069a2e222af153 fix issue 3764

[Issue 3764] Remove Phobos workarounds for fixed bugs

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3764 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: DIP 57: static foreach

2015-11-03 Thread Shammah Chancellor via Digitalmars-d
On Monday, 10 March 2014 at 06:40:49 UTC, Kenji Hara wrote: 2014-03-10 6:31 GMT+09:00 Timon Gehr : http://wiki.dlang.org/DIP57 Thoughts? From the "Semantics" section: For static foreach statements, break and continue are supported and treated like for foreach

[Issue 3561] math.abs signature accepts static arrays, but errors internally.

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3561 --- Comment #5 from Andrei Alexandrescu --- I'm unclear what to do on enhancement requests that contain small ideas like this. If this were a PR, I'd consider it. But as things are, we need a champion to take this to a PR. --

[Issue 3561] math.abs signature accepts static arrays, but errors internally.

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3561 --- Comment #7 from hst...@quickfur.ath.cx --- Precisely. D has enough machinery to be able to factor out the common logic of applying a unary function over a static array, dynamic array, matrix, etc., there's no need to complicate the implementation

[Issue 3862] std.file.copy does not have the same behavior as cp

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3862 --- Comment #8 from Jonathan M Davis --- (In reply to Vladimir Panteleev from comment #6) > For example, copying a file into the subdirectory if the destination path is > a directory is something that would, IMO, violate

[Issue 3862] std.file.copy does not have the same behavior as cp

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3862 Vladimir Panteleev changed: What|Removed |Added Status|ASSIGNED|NEW

[Issue 2993] getops uses globals for formatting

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2993 --- Comment #6 from hst...@quickfur.ath.cx --- More complex programs may employ dispatch from the main program to subprograms that do option parsing on their own. (I've written such programs before.) But this is a rare use case, and even then I still

[Issue 4113] std.typetuple, std.typecons, TypeTuple, Tuple, tuple names

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4113 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 3862] std.file.copy does not have the same behavior as cp

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3862 --- Comment #5 from Andrei Alexandrescu --- ping @Jonathan :o) --

[Issue 2993] getops uses globals for formatting

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2993 --- Comment #4 from hst...@quickfur.ath.cx --- Vague? I thought it's pretty clear what this bug is asking for: fix the implementation of getopt so that it doesn't require the use of globals. (Of course, whether or not this is worth the effort is a

[Issue 3862] std.file.copy does not have the same behavior as cp

2015-11-03 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3862 Andrei Alexandrescu changed: What|Removed |Added Status|NEW |RESOLVED

  1   2   >