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|

Re: Here's looking at you, kid

2015-11-18 Thread Saurabh Das via Digitalmars-d
On Thursday, 19 November 2015 at 02:22:14 UTC, Jeremy DeHaan wrote: 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

Re: Silicon Valley D Meetup November 19, 2015

2015-11-18 Thread deadalnix via Digitalmars-d-announce
On Wednesday, 18 November 2015 at 20:35:31 UTC, Ali Çehreli wrote: "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

Re: char[] == null

2015-11-18 Thread Meta via Digitalmars-d-learn
On Wednesday, 18 November 2015 at 23:53:01 UTC, Chris Wright wrote: --- char[] buffer; if (buffer.length == 0) {} --- This is not true. Consider the following code: import std.stdio; void main() { int[] a = [0, 1, 2]; //4002E000 3 writeln(a.ptr, " ", a.length);

Re: Here's looking at you, kid

2015-11-18 Thread bachmeier via Digitalmars-d
On Wednesday, 18 November 2015 at 16:35:21 UTC, 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.

Re: char[] == null

2015-11-18 Thread Chris Wright via Digitalmars-d-learn
On Thu, 19 Nov 2015 03:53:46 +, Meta wrote: > On Wednesday, 18 November 2015 at 23:53:01 UTC, Chris Wright wrote: >> --- >> char[] buffer; >> if (buffer.length == 0) {} >> --- > > This is not true. Consider the following code: > > import std.stdio; > > void main() > { > int[] a = [0,

Re: The D Language Foundation has $5000 to its name

2015-11-18 Thread deadalnix via Digitalmars-d-announce
On Tuesday, 17 November 2015 at 21:01:42 UTC, cym13 wrote: On Tuesday, 17 November 2015 at 20:54:34 UTC, Andrei Alexandrescu wrote: Quite timely after the announcement of that $600K donation for the Julia language, I'm happy to announce that the D Language Foundation has a bank account seeded

Re: Here's looking at you, kid

2015-11-18 Thread Russel Winder via Digitalmars-d
On Wed, 2015-11-18 at 18:32 +, Ola Fosheim Grøstad via Digitalmars- d wrote: > 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,

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 21:08:38 UTC, Jack Stouffer wrote: Is it really though? In theory, yes. But in practice it's the same problem. Not the same problem. In dynamic languages changes are caught at runtime, not compile time. When changes affect compile time only then you can

Re: experimental.logger: safe function and stdou

2015-11-18 Thread Andre via Digitalmars-d-learn
On Thursday, 19 November 2015 at 06:27:58 UTC, Andre wrote: override void writeLogMsg(ref LogEntry payload) { with (payload) { _stdOutLogger.logf(logLevel, `{ "file":"%s", "line":%s, "funcName":"%s", "prettyFuncName":"%s",

Re: char[] == null

2015-11-18 Thread anonymous via Digitalmars-d-learn
On 19.11.2015 06:18, Chris Wright wrote: Just for fun, is an array ever not equal to itself? Yes, when it contains an element that's not equal to itself, e.g. NaN.

experimental.logger: safe function and stdou

2015-11-18 Thread Andre via Digitalmars-d-learn
Hi, I want to write log entries to stdout in JSON format. Therefore I created a customer logger. Unfortunatelly there are 2 errors with following implementation: module logger; import std.experimental.logger; import std.stdio: stdout; class MyCustomLogger : Logger { private FileLogger

Re: Next London D Meetup - 18th November

2015-11-18 Thread Russel Winder via Digitalmars-d-announce
John, > > Just a reminder that this is tonight. Hopefully a good session was had. Sorry I could not be there. I suspect I won't be able to make any of the meetings in the first half of 2016. Long story involving spines, vertebrae, bones, and treatments thereto. -- Russel.

Re: Silicon Valley D Meetup November 19, 2015

2015-11-18 Thread Joakim via Digitalmars-d-announce
On Wednesday, 18 November 2015 at 20:35:31 UTC, Ali Çehreli wrote: "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

Arty of Constructor

2015-11-18 Thread Andrew via Digitalmars-d-learn
The documentation gives plenty of examples of how to use a static if with the arity trait, but how do I specify the constructor of an object as the parameter to arity? Thanks

Re: dataframe implementations

2015-11-18 Thread Jay Norwood via Digitalmars-d-learn
On Wednesday, 18 November 2015 at 22:46:01 UTC, jmh530 wrote: My sense is that any data frame implementation should try to build on the work that's being done with n-dimensional slices. I've been watching that development, but I don't have a feel for where it could be applied in this case,

Re: Here's looking at you, kid

2015-11-18 Thread Russel Winder via Digitalmars-d
On Wed, 2015-11-18 at 19:22 +0100, Daniel Kozák via Digitalmars-d wrote: > 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

Re: char[] == null

2015-11-18 Thread Jack Applegame via Digitalmars-d-learn
On Thursday, 19 November 2015 at 03:53:48 UTC, Meta wrote: On Wednesday, 18 November 2015 at 23:53:01 UTC, Chris Wright wrote: [...] This is not true. Consider the following code: import std.stdio; void main() { int[] a = [0, 1, 2]; //4002E000 3 writeln(a.ptr, " ",

[Issue 15360] New: typeof is not a template argument

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15360 Issue ID: 15360 Summary: typeof is not a template argument Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: enhancement

[Issue 15361] New: Incomprehensible error message: function declaration without return type.

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15361 Issue ID: 15361 Summary: Incomprehensible error message: function declaration without return type. Product: D Version: D2 Hardware: x86 OS: Mac OS X

[Issue 15362] New: Allow trailing coma in assert

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15362 Issue ID: 15362 Summary: Allow trailing coma in assert Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: enhancement Priority:

Re: dataframe implementations

2015-11-18 Thread jmh530 via Digitalmars-d-learn
On Monday, 2 November 2015 at 13:54:09 UTC, Jay Norwood wrote: I saw someone posting that they were working on DataFrame implementation here, but haven't been able to locate any code in github, and was wondering what implementation decisions are being made here. Thanks. My sense is that

[Issue 15359] New: DMD incorrectly identifies type of multidimensional array

2015-11-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15359 Issue ID: 15359 Summary: DMD incorrectly identifies type of multidimensional array Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW

Re: char[] == null

2015-11-18 Thread rsw0x via Digitalmars-d-learn
On Wednesday, 18 November 2015 at 20:57:08 UTC, 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) {} slices aren't arrays

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

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

[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 tane...@hotmail.com changed: What|Removed |Added CC||tane...@hotmail.com --- Comment #1

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 19:09:48 UTC, Ola Fosheim Grøstad wrote: 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

Re: char[] == null

2015-11-18 Thread anonymous via Digitalmars-d-learn
On 18.11.2015 22:02, rsw0x wrote: slices aren't arrays http://dlang.org/d-array-article.html The language reference/specification [1] uses the term "dynamic array" for T[] types. Let's not enforce a slang that's different from that. [1] http://dlang.org/arrays.html

[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 #2 from Jack Stouffer --- (In reply to Tanel Tagaväli from comment #1) > I believe you mean "int[2][5] data = ...". Yes I did. I improperly reduced a bug I ran into. Here is a better illustration of the problem

Re: dataframe implementations

2015-11-18 Thread Jay Norwood via Digitalmars-d-learn
One more discussion link on the NA subject. This one on the R implementation of NA using a single encoding of NaN, as well as their treatment of a selected integer value as a NA. http://rsnippets.blogspot.com/2013/12/gnu-r-vs-julia-is-it-only-matter-of.html

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

  1   2   >