Re: Scott Meyers wants to bring default zero-initialization to C++, mentions TDPL for precedent

2015-11-18 Thread ponce via Digitalmars-d
On Wednesday, 18 November 2015 at 15:12:27 UTC, Joakim wrote: He advocates for a tool like gofix, to automatically convert such features to be deprecated: http://scottmeyers.blogspot.com/2015/11/breaking-all-eggs-in-c.html Good to see C++ finally trying to deprecate more, long overdue. I

Re: Unable to call each on a lockstep range containing 2 or more ranges

2015-11-18 Thread maik klein via Digitalmars-d-learn
On Wednesday, 18 November 2015 at 17:22:52 UTC, Meta wrote: On Wednesday, 18 November 2015 at 12:20:42 UTC, maik klein wrote: [...] Which version of the compiler are you using? Linux - DMD64 D Compiler v2.069.0

Re: Here's looking at you, kid

2015-11-18 Thread Chris Piker via Digitalmars-d
On Friday, 13 November 2015 at 22:34:18 UTC, Andrei Alexandrescu wrote: Amid increased scrutiny it's important to focus on improving documentation. I suggest everyone in the community to consider improving dlang.org in any way. I've recently switched from Python to D for new development at my

Re: dataframe implementations

2015-11-18 Thread Laeeth Isharc via Digitalmars-d-learn
On Monday, 2 November 2015 at 13:54:09 UTC, Jay Norwood wrote: I was reading about the Julia dataframe implementation yesterday, trying to understand their decisions and how D might implement. From my notes, 1. they are currently using a dictionary of column vectors. 2. for NA (not available)

Re: dataframe implementations

2015-11-18 Thread Laeeth Isharc via Digitalmars-d-learn
On Tuesday, 17 November 2015 at 13:56:14 UTC, Jay Norwood wrote: I looked through the dataframe code and a couple of comments... I had thought perhaps an app could read in the header info and type info from hdf5, and generate D struct definitions with column headers as symbol names. That

Re: Here's looking at you, kid

2015-11-18 Thread Andrei Alexandrescu via Digitalmars-d
On 11/18/2015 11:35 AM, Chris Piker wrote: On Friday, 13 November 2015 at 22:34:18 UTC, Andrei Alexandrescu wrote: Amid increased scrutiny it's important to focus on improving documentation. I suggest everyone in the community to consider improving dlang.org in any way. I've recently switched

Re: Here's looking at you, kid

2015-11-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Sunday, 15 November 2015 at 19:02:08 UTC, Russel Winder wrote: flat for the first six months at least of 2016. I think I am more or less committed to rewriting Me TV (C++, but might consider D), What is "Me TV"?

Re: Unable to call each on a lockstep range containing 2 or more ranges

2015-11-18 Thread Meta via Digitalmars-d-learn
On Wednesday, 18 November 2015 at 12:20:42 UTC, maik klein wrote: https://stackoverflow.com/questions/33779822/unable-to-call-each-on-a-lockstep-range-containing-2-or-more-ranges http://dpaste.dzfl.pl/76c79f1f12ab void main(){ import std.container; import std.stdio; import

Re: Scott Meyers wants to bring default zero-initialization to C++, mentions TDPL for precedent

2015-11-18 Thread Steven Schveighoffer via Digitalmars-d
On 11/18/15 10:12 AM, Joakim wrote: He advocates for a tool like gofix, to automatically convert such features to be deprecated: It isn't going to happen. See the caveat at the bottom, along with his other post. As long as C has the preprocessor, a tool like gofix is nearly impossible to

Re: D compiler daily downloads at an all-time high

2015-11-18 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-11-18 12:52, Andrea Fontana wrote: Isn't this a proof that it is expanding? Depends on what you mean by "expanding". Sure, available on more platforms. More users, not necessarily. -- /Jacob Carlborg

Re: DConf keynote speaker ideas

2015-11-18 Thread Pederator via Digitalmars-d
On Tuesday, 17 November 2015 at 18:47:58 UTC, Andrei Alexandrescu wrote: I'm thinking of inviting a notable industry luminary to deliver a conference keynote. Please reply to this with ideas! -- Andrei Russel Winder

Scott Meyers wants to bring default zero-initialization to C++, mentions TDPL for precedent

2015-11-18 Thread Joakim via Digitalmars-d
He advocates for a tool like gofix, to automatically convert such features to be deprecated: http://scottmeyers.blogspot.com/2015/11/breaking-all-eggs-in-c.html Good to see C++ finally trying to deprecate more, long overdue.

Re: Non-freeing GC memory management

2015-11-18 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 18 November 2015 at 05:49:00 UTC, tcak wrote: That means object destructors are to be called only when a new allocation happens? For things allocated with the gc, yes, though remember that isn't all things. Structs without `new` for example are automatically destroyed at end of

Re: dataframe implementations

2015-11-18 Thread Jay Norwood via Digitalmars-d-learn
On Wednesday, 18 November 2015 at 17:15:38 UTC, Laeeth Isharc wrote: What do you think about the use of NaN for missing floats? In theory I could imagine wanting to distinguish between an NaN in the source file and a missing value, but in my world I never felt the need for this. For integers

Re: Here's looking at you, kid

2015-11-18 Thread Daniel Kozák via Digitalmars-d
V Wed, 18 Nov 2015 17:21:50 + Ola Fosheim Grøstad via Digitalmars-d napsáno: > On Sunday, 15 November 2015 at 19:02:08 UTC, Russel Winder wrote: > > flat for the first six months at least of 2016. I think I am > > more or less committed to rewriting Me TV (C++,

[Issue 15357] Cannot call std.algorithm.iteration.each on the result of std.range.lockstep

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15357 --- Comment #2 from monkeywork...@hotmail.com --- The issue for `each`: https://issues.dlang.org/show_bug.cgi?id=15358 --

Re: Here's looking at you, kid

2015-11-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 18 November 2015 at 18:22:55 UTC, Daniel Kozák wrote: I hope it is this: https://launchpad.net/me-tv It has been my favorite app for watching DVB TV on linux That's pretty cool, seems to cover most of Europe? https://en.wikipedia.org/wiki/DVB-T

IRC dead?

2015-11-18 Thread Niklas via Digitalmars-d
Is the IRC dead? I can´t access it true the website or a native IRC program.

Re: IRC dead?

2015-11-18 Thread Brad Anderson via Digitalmars-d
On Wednesday, 18 November 2015 at 18:33:26 UTC, Niklas wrote: Is the IRC dead? I can´t access it true the website or a native IRC program. What server are you using? The official channel is #d on Freenode and is very active.

Re: Formal Review of std.range.ndslice

2015-11-18 Thread Jack Stouffer via Digitalmars-d
On Wednesday, 18 November 2015 at 08:52:11 UTC, Robert burner Schadek wrote: I couldn't easily find how to make the module work with allocators. IMO combining this module with std.experiemtal.allocator should be possible. And if it is already possible, there should be tests for documentation

Re: IRC dead?

2015-11-18 Thread mattcoder via Digitalmars-d
On Wednesday, 18 November 2015 at 18:33:26 UTC, Niklas wrote: Is the IRC dead? I just tried now: https://webchat.freenode.net/ Channel: #d And there are a lot of guys there, but not sure if they are all alive! :) Matheus.

[Issue 15356] New: windows api headers : Missing mouse related macros

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15356 Issue ID: 15356 Summary: windows api headers : Missing mouse related macros Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity:

[Issue 15358] New: std.range.each does not support opApply methods with arbitrary arity

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15358 Issue ID: 15358 Summary: std.range.each does not support opApply methods with arbitrary arity Product: D Version: D2 Hardware: x86_64 OS: Linux

Re: Scott Meyers wants to bring default zero-initialization to C++, mentions TDPL for precedent

2015-11-18 Thread deadalnix via Digitalmars-d
On Wednesday, 18 November 2015 at 15:46:38 UTC, Steven Schveighoffer wrote: On 11/18/15 10:12 AM, Joakim wrote: He advocates for a tool like gofix, to automatically convert such features to be deprecated: It isn't going to happen. See the caveat at the bottom, along with his other post.

Re: Scott Meyers wants to bring default zero-initialization to C++, mentions TDPL for precedent

2015-11-18 Thread Jack Stouffer via Digitalmars-d
On Wednesday, 18 November 2015 at 18:43:59 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 18 November 2015 at 15:29:04 UTC, ponce wrote: The idea that you could bring the C++ community to use an automatic upgrade tool, or to get everyone to follow optional "Core Guidelines" is optimistic.

[Issue 15357] New: Cannot call std.algorithm.iteration.each on the result of std.range.lockstep

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15357 Issue ID: 15357 Summary: Cannot call std.algorithm.iteration.each on the result of std.range.lockstep Product: D Version: D2 Hardware: x86_64 OS: Linux

[Issue 15357] Cannot call std.algorithm.iteration.each on the result of std.range.lockstep

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15357 --- Comment #1 from monkeywork...@hotmail.com --- To amend what I just said, each *does* support opApply to a degree, but only unary and binary versions (the latter of which still only takes a single range, and an index). I will open a separate issue

Re: IRC dead?

2015-11-18 Thread ketmar via Digitalmars-d
nope, we aren't dead.

Re: Scott Meyers wants to bring default zero-initialization to C++, mentions TDPL for precedent

2015-11-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 18 November 2015 at 15:29:04 UTC, ponce wrote: The idea that you could bring the C++ community to use an automatic upgrade tool, or to get everyone to follow optional "Core Guidelines" is optimistic. What community? Compilers can have pedantic compiler-switches. C++ needs what

Re: Formal Review of std.range.ndslice

2015-11-18 Thread Ilya via Digitalmars-d
On Wednesday, 18 November 2015 at 18:40:40 UTC, Jack Stouffer wrote: On Wednesday, 18 November 2015 at 08:52:11 UTC, Robert burner Schadek wrote: [...] I know it's bad practice for regular Phobos code to import from std.experimental, but what's the protocol for code inside std.experimental

Re: Scott Meyers wants to bring default zero-initialization to C++, mentions TDPL for precedent

2015-11-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 18 November 2015 at 18:52:02 UTC, Jack Stouffer wrote: For those of you who have never had the pleasure of writing PHP, lots of PHP code does completely different things depending on the compiler switches when the interpreter was Php is a dynamic language, that's different.

[Issue 15226] Public members being disabled for a synchronized class is undocumented

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15226 --- Comment #2 from monkeywork...@hotmail.com --- Can I close this issue? I haven't checked the documentation to see if it's been fixed. --

Re: Unable to call each on a lockstep range containing 2 or more ranges

2015-11-18 Thread Meta via Digitalmars-d-learn
On Wednesday, 18 November 2015 at 17:40:21 UTC, maik klein wrote: On Wednesday, 18 November 2015 at 17:22:52 UTC, Meta wrote: Which version of the compiler are you using? Linux - DMD64 D Compiler v2.069.0 https://issues.dlang.org/show_bug.cgi?id=15357

Re: Formal Review of std.range.ndslice

2015-11-18 Thread Jack Stouffer via Digitalmars-d
On Wednesday, 18 November 2015 at 19:25:04 UTC, Ilya wrote: Possible solutions: 1. Mark `makeSlice` with red "Experimental" 2. Move `makeSlice` to unittest, so user could copy-past it. Another solution is to leave `makeSlice` in std.experimental when std.experimental.range.ndslice is moved to

[Issue 15357] Cannot call std.algorithm.iteration.each on the result of std.range.lockstep

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15357 Alex Parrill changed: What|Removed |Added CC||initrd...@gmail.com ---

Re: Formal Review of std.range.ndslice

2015-11-18 Thread Lucien Janvier via Digitalmars-d
On Monday, 16 November 2015 at 22:45:35 UTC, Jack Stouffer wrote: This is the start of the two week formal review for the proposed std.range.ndslice. This new addition to the standard library would add the ability to create and manipulate multi-dimensional random access ranges in a way that

Re: dataframe implementations

2015-11-18 Thread Jay Norwood via Digitalmars-d-learn
On Wednesday, 18 November 2015 at 18:04:30 UTC, Jay Norwood wrote: vector. I'll try to find the discussions and post the link. Here are the two discussions I recall on the julia NA implementation. http://wizardmac.tumblr.com/post/104019606584/whats-wrong-with-statistics-in-julia-a-reply

[Issue 15226] Public members being disabled for a synchronized class is undocumented

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15226 --- Comment #3 from Andrei Alexandrescu --- Haven't seen a related doc pull, so let's leave it open. --

Silicon Valley D Meetup November 19, 2015

2015-11-18 Thread Ali Çehreli via Digitalmars-d-announce
"Fireside Chat with Andrei, Foundation Update, Q4 Technical Update" http://www.meetup.com/D-Lang-Silicon-Valley/events/226112242/ Andrei will attend over Google+, Walter is a slight possibility. I will update this thread with conferencing information when I know more. Ali

Re: Formal Review of std.range.ndslice

2015-11-18 Thread Ilya Yaroshenko via Digitalmars-d
On Wednesday, 18 November 2015 at 20:10:00 UTC, Lucien Janvier wrote: On Monday, 16 November 2015 at 22:45:35 UTC, Jack Stouffer wrote: This is the start of the two week formal review for the proposed std.range.ndslice. This new addition to the standard library would add the ability to create

Re: IRC dead?

2015-11-18 Thread Niklas via Digitalmars-d
On Wednesday, 18 November 2015 at 18:41:14 UTC, mattcoder wrote: On Wednesday, 18 November 2015 at 18:33:26 UTC, Niklas wrote: Is the IRC dead? I just tried now: https://webchat.freenode.net/ Channel: #d And there are a lot of guys there, but not sure if they are all alive! :) Matheus.

char[] == null

2015-11-18 Thread Spacen Jasset via Digitalmars-d-learn
Should this be allowed? What is it's purpose? It could compare two arrays, but surely not that each element of type char is null? char[] buffer; if (buffer == null) {}

Re: Formal Review of std.range.ndslice

2015-11-18 Thread Nordlöw via Digitalmars-d
On Tuesday, 17 November 2015 at 18:38:14 UTC, Ilya Yaroshenko wrote: Thanks! Implemented: http://dtest.thecybershadow.net/artifact/website-7a646fdea76569e009844cdee5c93edab10980ca-4f243752aee5ecc098ce1c36eedd86a2/web/phobos-prerelease/std_experimental_range_ndslice.html#byElement --Ilya

Re: Formal Review of std.range.ndslice

2015-11-18 Thread Ilya Yaroshenko via Digitalmars-d
On Wednesday, 18 November 2015 at 08:52:11 UTC, Robert burner Schadek wrote: I couldn't easily find how to make the module work with allocators. IMO combining this module with std.experiemtal.allocator should be possible. And if it is already possible, there should be tests for documentation

Re: DWT fails to build with DMD 2.069.1

2015-11-18 Thread Mike James via Digitalmars-d-dwt
On Tuesday, 17 November 2015 at 20:16:48 UTC, Jacob Carlborg wrote: On 2015-11-17 14:57, Mike James wrote: Thanks. Libraries and snippets (apart from snippet 288 - std.stream depreacation) build ok. Sorry about that. I forgot to update the snippets submodule, please try now. Thanks. All

Re: DConf keynote speaker ideas

2015-11-18 Thread Frank Fuente via Digitalmars-d
On Tuesday, 17 November 2015 at 18:47:58 UTC, Andrei Alexandrescu wrote: I'm thinking of inviting a notable industry luminary to deliver a conference keynote. Please reply to this with ideas! -- Andrei Niklaus Wirth... :-)

Re: PowerNex - My 64bit kernel written in D

2015-11-18 Thread Wild via Digitalmars-d-announce
On Wednesday, 18 November 2015 at 11:20:58 UTC, Rikki Cattermole wrote: Will you being going down the path of libc/posix compat layer or straight up D all the way? I want to go D all the way. But if I have to get a libc, I will try and implement one in D.

Re: D compiler daily downloads at an all-time high

2015-11-18 Thread Andrea Fontana via Digitalmars-d-announce
On Wednesday, 18 November 2015 at 08:22:19 UTC, Jacob Carlborg wrote: Personally I have more machines now to download the compiler to, supporting more platforms. Isn't this a proof that it is expanding?

Re: DConf keynote speaker ideas

2015-11-18 Thread ponce via Digitalmars-d
On Wednesday, 18 November 2015 at 10:40:47 UTC, Frank Fuente wrote: On Tuesday, 17 November 2015 at 18:47:58 UTC, Andrei Alexandrescu wrote: I'm thinking of inviting a notable industry luminary to deliver a conference keynote. Please reply to this with ideas! -- Andrei Niklaus Wirth... :-)

Re: Non-freeing GC memory management

2015-11-18 Thread Gary Willoughby via Digitalmars-d
On Wednesday, 18 November 2015 at 05:56:37 UTC, Minas Mina wrote: That's correct. But you don't have to do it manually though, as you can always wrap your object inside a Unique!T. http://dlang.org/phobos/std_typecons.html#.Unique or scoped:

Re: PowerNex - My 64bit kernel written in D

2015-11-18 Thread Wild via Digitalmars-d-announce
On Wednesday, 18 November 2015 at 09:31:04 UTC, Luis wrote: Nice! https://github.com/Vild/PowerNex/blob/master/kernel/src/io/textmode.d#L64 not should be "cast(slot[w*h] *)" ? Fixed and pushed, Thanks!

[Issue 15354] New: unstable operator overloading with mixin expression

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15354 Issue ID: 15354 Summary: unstable operator overloading with mixin expression Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

[Issue 15355] New: unstable operator overloading with comma expression

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15355 Issue ID: 15355 Summary: unstable operator overloading with comma expression Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

Re: PowerNex - My 64bit kernel written in D

2015-11-18 Thread Wild via Digitalmars-d-announce
On Wednesday, 18 November 2015 at 03:04:49 UTC, Rikki Cattermole wrote: So whats the plan? - 32bit support - ARM support What else? Well don't have a fixed plan on what I want to implement. I might do 32bit, I have not decided yet, but I think I will skip it. I will not add ARM support

Re: PowerNex - My 64bit kernel written in D

2015-11-18 Thread Wild via Digitalmars-d-announce
On Wednesday, 18 November 2015 at 06:06:52 UTC, lobo wrote: This project looks great and it's not easy writing a x86-64 bootloader even with GRUB and a reference to work from, Nice work! Thanks :D

Re: PowerNex - My 64bit kernel written in D

2015-11-18 Thread Rikki Cattermole via Digitalmars-d-announce
On 19/11/15 12:19 AM, Wild wrote: On Wednesday, 18 November 2015 at 03:04:49 UTC, Rikki Cattermole wrote: So whats the plan? - 32bit support - ARM support What else? Well don't have a fixed plan on what I want to implement. I might do 32bit, I have not decided yet, but I think I will skip

Re: DConf keynote speaker ideas

2015-11-18 Thread Paulo Pinto via Digitalmars-d
On Wednesday, 18 November 2015 at 10:40:47 UTC, Frank Fuente wrote: On Tuesday, 17 November 2015 at 18:47:58 UTC, Andrei Alexandrescu wrote: I'm thinking of inviting a notable industry luminary to deliver a conference keynote. Please reply to this with ideas! -- Andrei Niklaus Wirth... :-)

Unable to call each on a lockstep range containing 2 or more ranges

2015-11-18 Thread maik klein via Digitalmars-d-learn
https://stackoverflow.com/questions/33779822/unable-to-call-each-on-a-lockstep-range-containing-2-or-more-ranges http://dpaste.dzfl.pl/76c79f1f12ab void main(){ import std.container; import std.stdio; import std.algorithm.iteration; import std.range; Array!int ai = [1,2,3,4];

Re: Pattern Based Design

2015-11-18 Thread Ola Fosheim Grøstad via Digitalmars-d
On Wednesday, 18 November 2015 at 02:41:33 UTC, Jonny wrote: I am mainly talking about the organizational aspects of higher level of abstraction rather than code generation. Basically dealing with "files" is so old school. They reduce coherence of the abstraction. Modules help but still are

Re: Formal Review of std.range.ndslice

2015-11-18 Thread Ilya Yaroshenko via Digitalmars-d
On Wednesday, 18 November 2015 at 10:18:37 UTC, Nordlöw wrote: On Tuesday, 17 November 2015 at 18:38:14 UTC, Ilya Yaroshenko wrote: AFAIK, if all the slice dimensions are know at compile-time it should. This is kind of similar to how std.range.chain() works. Thanks! Implemented:

[Issue 15318] Templates not emitted for two "partial cycles"

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15318 --- Comment #6 from Kenji Hara --- > (In reply to Kenji Hara from comment #4) > > I don't think that the issue case is a bug in the current instantiation > > strategy. > > I can't really see how you can come to this conclusion.

Re: DConf keynote speaker ideas

2015-11-18 Thread Jacob Carlborg via Digitalmars-d
On 2015-11-17 23:19, bitwise wrote: Chandler Carruth +1. My favorite speaker. -- /Jacob Carlborg

Re: D compiler daily downloads at an all-time high

2015-11-18 Thread Vladimir Panteleev via Digitalmars-d-announce
On Monday, 16 November 2015 at 15:20:51 UTC, Andrei Alexandrescu wrote: http://erdani.com/d/downloads.daily.png There have been 1677 dmd downloads per day (net after discounting Travis CI) on average over the past 28 days (i.e. four weeks ending Sunday, November 15). A moving average is

Re: Non-freeing GC memory management

2015-11-18 Thread Kagamin via Digitalmars-d
On Wednesday, 18 November 2015 at 05:49:00 UTC, tcak wrote: If this is so, this behaviour of GC encourages to call destroy (or was it clear?) on objects manually to manage the memory more efficiently. It only runs the destructor, it doesn't free memory.

Re: DConf keynote speaker ideas

2015-11-18 Thread Arjan via Digitalmars-d
On Tuesday, 17 November 2015 at 18:47:58 UTC, Andrei Alexandrescu wrote: I'm thinking of inviting a notable industry luminary to deliver a conference keynote. Please reply to this with ideas! -- Andrei Chris Lattner Howard Hinnant Bill Joy Ray Kurzweil

Re: D compiler daily downloads at an all-time high

2015-11-18 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-11-18 00:26, Vladimir Panteleev wrote: As long as we didn't change something in D that affects how often one person downloads the compiler, these are independent variables and do not affect the trend. One or three years ago (or if D were as it was one or three years ago), would you not

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

2015-11-18 Thread Daniel Murphy via Digitalmars-d
On 4/11/2015 3:12 AM, Johannes Pfau wrote: A crazy idea: Once gdc supports the latest frontend version we could theoretically adjust the dmd pull request testing to also merge dmd pull requests into the gdc frontend and test gdc with these frontend-only requests. We would then only merge dmd

Re: Formal Review of std.range.ndslice

2015-11-18 Thread Robert burner Schadek via Digitalmars-d
I couldn't easily find how to make the module work with allocators. IMO combining this module with std.experiemtal.allocator should be possible. And if it is already possible, there should be tests for documentation and validation.

Re: Formal Review of std.range.ndslice

2015-11-18 Thread John Colvin via Digitalmars-d
On Wednesday, 18 November 2015 at 08:52:11 UTC, Robert burner Schadek wrote: I couldn't easily find how to make the module work with allocators. IMO combining this module with std.experiemtal.allocator should be possible. And if it is already possible, there should be tests for documentation

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

2015-11-18 Thread Iain Buclaw via Digitalmars-d
On 18 November 2015 at 09:24, Daniel Murphy via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On 4/11/2015 3:12 AM, Johannes Pfau wrote: > >> >> A crazy idea: >> Once gdc supports the latest frontend version we could theoretically >> adjust the dmd pull request testing to also merge dmd

Re: Tuple expansion already?

2015-11-18 Thread thedeemon via Digitalmars-d
On Wednesday, 18 November 2015 at 04:31:08 UTC, Brad Anderson wrote: We can't even do the equivalent of std::tie[1] in D as a workaround for tuple expansion because there are no ref typed Tuples (unless something changed from when I last looked). Several implementations here:

Re: PowerNex - My 64bit kernel written in D

2015-11-18 Thread Luis via Digitalmars-d-announce
On Tuesday, 17 November 2015 at 23:35:58 UTC, Wild wrote: Hey! I have recently started working on a 64bit kernel written in only D (and a little bit of assembly where it is really needed). I finally got it to boot today in 64bit mode. All it currently do is just print some text and numbers to

Re: Formal Review of std.range.ndslice

2015-11-18 Thread Nordlöw via Digitalmars-d
On Tuesday, 17 November 2015 at 18:38:14 UTC, Ilya Yaroshenko wrote: AFAIK, if all the slice dimensions are know at compile-time it should. This is kind of similar to how std.range.chain() works. Thanks! Implemented:

Re: Unable to call each on a lockstep range containing 2 or more ranges

2015-11-18 Thread maik klein via Digitalmars-d-learn
On Wednesday, 18 November 2015 at 13:51:59 UTC, John Colvin wrote: On Wednesday, 18 November 2015 at 12:20:42 UTC, maik klein wrote: [...] I think this is a bug, please report it at issues.dlang.org and perhaps there will be an explanation or it will be fixed. In the mean time, something

Re: DConf keynote speaker ideas

2015-11-18 Thread Vladimir Panteleev via Digitalmars-d
On Wednesday, 18 November 2015 at 04:24:59 UTC, Rikki Cattermole wrote: On 18/11/15 5:07 PM, Jack Stouffer wrote: On Wednesday, 18 November 2015 at 03:11:34 UTC, Rikki Cattermole wrote: Alternatively Michael Garbage - livecoding.tv CEO. Give me a shout out, if you want me to enquire! I don't

Re: Unable to call each on a lockstep range containing 2 or more ranges

2015-11-18 Thread John Colvin via Digitalmars-d-learn
On Wednesday, 18 November 2015 at 14:11:45 UTC, maik klein wrote: On Wednesday, 18 November 2015 at 13:51:59 UTC, John Colvin wrote: On Wednesday, 18 November 2015 at 12:20:42 UTC, maik klein wrote: [...] I think this is a bug, please report it at issues.dlang.org and perhaps there will be

Re: D compiler daily downloads at an all-time high

2015-11-18 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 11/18/2015 04:00 AM, Vladimir Panteleev wrote: On Monday, 16 November 2015 at 15:20:51 UTC, Andrei Alexandrescu wrote: http://erdani.com/d/downloads.daily.png There have been 1677 dmd downloads per day (net after discounting Travis CI) on average over the past 28 days (i.e. four weeks

Re: Next London D Meetup - 18th November

2015-11-18 Thread John Colvin via Digitalmars-d-announce
On Wednesday, 11 November 2015 at 22:43:22 UTC, Kingsley wrote: Hi Please come to the London D meetup on Wednesday 18th November. We have a great talk by John Colvin on semi functional programming. We have a fantastic venue at skills matter with great facilities and free video recording

[Issue 15053] Runtime.cArgs not @nogc

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

Re: DConf keynote speaker ideas

2015-11-18 Thread Pradeep Gowda via Digitalmars-d
On Wednesday, 18 November 2015 at 11:49:33 UTC, Paulo Pinto wrote: On Wednesday, 18 November 2015 at 10:40:47 UTC, Frank Fuente wrote: On Tuesday, 17 November 2015 at 18:47:58 UTC, Andrei Alexandrescu wrote: I'm thinking of inviting a notable industry luminary to deliver a conference keynote.

Re: PowerNex - My 64bit kernel written in D

2015-11-18 Thread karabuta via Digitalmars-d-announce
On Wednesday, 18 November 2015 at 11:25:55 UTC, Wild wrote: On Wednesday, 18 November 2015 at 11:20:58 UTC, Rikki Cattermole wrote: Will you being going down the path of libc/posix compat layer or straight up D all the way? I want to go D all the way. But if I have to get a libc, I will try

Re: Unable to call each on a lockstep range containing 2 or more ranges

2015-11-18 Thread John Colvin via Digitalmars-d-learn
On Wednesday, 18 November 2015 at 12:20:42 UTC, maik klein wrote: https://stackoverflow.com/questions/33779822/unable-to-call-each-on-a-lockstep-range-containing-2-or-more-ranges http://dpaste.dzfl.pl/76c79f1f12ab void main(){ import std.container; import std.stdio; import

Re: opEquals default behaviour - poorly documented or am I missing something?

2015-11-18 Thread MichaelZ via Digitalmars-d-learn
On Tuesday, 17 November 2015 at 19:44:36 UTC, Ali Çehreli wrote: On 11/17/2015 12:40 AM, MichaelZ wrote: > In http://dlang.org/operatoroverloading.html#eqcmp it is stated that > > "If opEquals is not specified, the compiler provides a default version > that does member-wise comparison." > >

[Issue 15053] Runtime.cArgs not @nogc

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15053 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/def57c6a87e59b30990816372eaa425b3666704f Fix Issue 15053 -

[Issue 15359] DMD incorrectly identifies type of multidimensional array

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15359 Alex Parrill changed: What|Removed |Added CC||initrd...@gmail.com ---

[Issue 15292] [REG2.068.0] Segmentation fault with self-referencing struct / inout / alias this

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15292 --- Comment #4 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/2f0cc57aa71a6ff67f27ec3727841ec756c843fb fix Issue 15292 -

[Issue 15292] [REG2.068.0] Segmentation fault with self-referencing struct / inout / alias this

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

[Issue 15357] Cannot call std.algorithm.iteration.each on the result of std.range.lockstep

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15357 r...@rcorre.net changed: What|Removed |Added CC||r...@rcorre.net --- Comment #4 from

Re: Here's looking at you, kid

2015-11-18 Thread Jeremy DeHaan via Digitalmars-d
On Sunday, 15 November 2015 at 13:50:36 UTC, Warwick wrote: On Sunday, 15 November 2015 at 11:46:54 UTC, Saurabh Das wrote: On Friday, 13 November 2015 at 22:34:18 UTC, Andrei Alexandrescu wrote: [...] This is slightly off-topic, but: I've been encouraging my friends and colleagues to use

Re: GC on Rust: a serie of articles

2015-11-18 Thread jmh530 via Digitalmars-d
On Wednesday, 18 November 2015 at 06:43:22 UTC, deadalnix wrote: http://blog.pnkfx.org/blog/2015/10/27/gc-and-rust-part-0-how-does-gc-work/ http://blog.pnkfx.org/blog/2015/11/10/gc-and-rust-part-1-specing-the-problem/ Thanks. Is this your blog? Or are you just sharing?

Re: DConf keynote speaker ideas

2015-11-18 Thread Lucien Janvier via Digitalmars-d
On Tuesday, 17 November 2015 at 20:22:28 UTC, Olivier Pisano wrote: On Tuesday, 17 November 2015 at 18:47:58 UTC, Andrei Alexandrescu wrote: I'm thinking of inviting a notable industry luminary to deliver a conference keynote. Please reply to this with ideas! -- Andrei Erik Meijer? +1, but

Re: GC on Rust: a serie of articles

2015-11-18 Thread deadalnix via Digitalmars-d
On Wednesday, 18 November 2015 at 22:33:09 UTC, jmh530 wrote: On Wednesday, 18 November 2015 at 06:43:22 UTC, deadalnix wrote: http://blog.pnkfx.org/blog/2015/10/27/gc-and-rust-part-0-how-does-gc-work/ http://blog.pnkfx.org/blog/2015/11/10/gc-and-rust-part-1-specing-the-problem/ Thanks. Is

Re: IRC dead?

2015-11-18 Thread Chris Wright via Digitalmars-d
On Wed, 18 Nov 2015 18:33:25 +, Niklas wrote: > Is the IRC dead? I can´t access it true the website or a native IRC > program. As IRC channels go, #d is moderately active. If I ask for help, I usually get a response within a couple minutes, and if I'm just idling, I will see probably ten

[Issue 15292] [REG2.068.0] Segmentation fault with self-referencing struct / inout / alias this

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15292 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #3 from

Re: Scientific computing in D

2015-11-18 Thread jmh530 via Digitalmars-d
On Wednesday, 11 November 2015 at 03:29:56 UTC, Laeeth Isharc wrote: plotting is a work in progress, I think. there are some options. for my stuff, it's not particularly clever so I use the D bindings to mathgl (a nice and simple C library), but depending on what you want to do, other

A message from France

2015-11-18 Thread Lucien Janvier via Digitalmars-d
You're gonna suffer https://www.youtube.com/watch?v=4EDzGK6jrGc

[Issue 15346] Calling interface methods on out contracts causes segfaults

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15346 --- Comment #2 from Infiltrator --- Issue 14779, for it to get linkified properly, I think. --

[Issue 15359] DMD incorrectly identifies type of multidimensional array

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15359 --- Comment #4 from Jack Stouffer --- (In reply to Alex Parrill from comment #3) > Fixed-sized arrays (like `int[2][5]`) have different semantics than slices > (like `int[][]`); you'll have to assign the elements manually.

Re: char[] == null

2015-11-18 Thread Chris Wright via Digitalmars-d-learn
On Wed, 18 Nov 2015 20:57:06 +, Spacen Jasset wrote: > Should this be allowed? What is it's purpose? It could compare two > arrays, but surely not that each element of type char is null? > > char[] buffer; > if (buffer == null) {} 'null' is a value of ambiguous type. The compiler finds a

[Issue 15346] Calling interface methods on out contracts causes segfaults

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15346 Infiltrator changed: What|Removed |Added CC|

  1   2   >