Re: Time to move logger from experimental to std ?

2017-11-30 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 29 November 2017 at 21:40:13 UTC, Jonathan M Davis wrote: It was my understanding that there were still problems with its design that Robert wanted to fix, but I don't know where any of that stands. But certainly, I don't think that it makes sense to push forward with trying to ge

Re: Time to move logger from experimental to std ?

2017-11-30 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 29 November 2017 at 21:14:57 UTC, Claude wrote: ... Did I miss anything? to write a bugzilla issue about it

Re: Time to move logger from experimental to std ?

2017-11-30 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 29 November 2017 at 19:48:44 UTC, Nathan S. wrote: Considering that one of those issues is that the logger outputs garbage when given a wstring or a dstring, I would not take this as an indication that it's time to "graduate" the logger from experimental. That was fixed at dconf

Re: Benchmark

2017-06-02 Thread Robert burner Schadek via Digitalmars-d
On Friday, 2 June 2017 at 18:51:24 UTC, Andrei Alexandrescu wrote: That's indeed worth it. Robert, we discussed first deploying the library and a driver for dmd/druntime/phobos on dub, is this your plan? Thanks! -- Andrei I think a practical approach is to create another dub project that sole

Re: Benchmark

2017-06-02 Thread Robert burner Schadek via Digitalmars-d
On Friday, 2 June 2017 at 18:49:49 UTC, Jack Stouffer wrote: And reject out of hand any PR which reduces performance in order to "ratchet" performance over time. I would also do this to a lesser degree to DMD as well. I think being binary about it is the wrong approach. Lets say we fix a bug,

Re: Benchmark

2017-06-01 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 1 June 2017 at 21:08:43 UTC, Robert burner Schadek wrote: they do not cover performance regressions. That is bad, we are basically, currently just hoping that performance diminishes. diminishes -> does not diminishes

Benchmark

2017-06-01 Thread Robert burner Schadek via Digitalmars-d
At this years DConf I gave a very short overview of the benchmarking library I'm working on [1]. The source can be found here [2] The general idea goes as following. Unit tests in D help us to find bugs and avoid regressions, but they do not cover performance regressions. That is bad, we are

Re: Voting for std.experimental.checkedint

2017-02-24 Thread Robert burner Schadek via Digitalmars-d
checkedint got voted in. With 2 Yes and 2 yes with remarks. I will set the autotester to merge. Thank you @andralex for the hard work.

Re: auto ref escaping local variable

2017-01-23 Thread Robert burner Schadek via Digitalmars-d
Nice idea, but didn't work either. Just got more errors. And my eyes hurt now.

auto ref escaping local variable

2017-01-23 Thread Robert burner Schadek via Digitalmars-d
I have this program that used to compile with 72 but with 73 dmd is complaining that "Error: escaping reference to local variable t" auto ref f2(T)(auto ref T t, auto ref T s) { return t; } auto ref f1(T)(auto ref T t, auto ref T s) { return f2(t, s); } unittest { int a

Re: Voting for std.experimental.checkedint

2017-01-13 Thread Robert burner Schadek via Digitalmars-d
On Friday, 13 January 2017 at 12:49:53 UTC, deadalnix wrote: Is the doc available somewhere in a readable form ? CyberShadow/DAutoTest build the docs, you can find the link at the end of the PR under checks

Voting for std.experimental.checkedint

2017-01-13 Thread Robert burner Schadek via Digitalmars-d
This is the voting thread to decide if the proposed addition to Phobos, std.experimental.checkedint, should be accepted. To vote, please respond to this post. You have three options: * Yes * Yes with a single condition * No If you vote "yes" you can still mention something you'd like improved

Re: std.experimental.checkedint Formal Review

2017-01-05 Thread Robert burner Schadek via Digitalmars-d
The review is over, there has been one comment on github "build error with DAutoTest:". It has been fixed. If there are no comments until 2017-01-12 and Andrei agrees I will put checkedint to a vote.

Re: Question on std.experimental

2017-01-05 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 5 January 2017 at 02:57:40 UTC, Jack Stouffer wrote: You were the one who told me about it: https://github.com/dlang/phobos/pull/1500#issuecomment-155457980 I totally forgot about that, I guess I need to start to write things down. Sorry for the noise.

Re: Question on std.experimental

2017-01-04 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 4 January 2017 at 19:33:13 UTC, Jack Stouffer wrote: Promotion of std.logger has been officially stalled until reference counted strings are part of D. When? That is the first I hear about that.

Re: std.experimental.checkedint Formal Review

2016-12-15 Thread Robert burner Schadek via Digitalmars-d
**2017-01-05 (AoE)** of course

std.experimental.checkedint Formal Review

2016-12-15 Thread Robert burner Schadek via Digitalmars-d
It is time to formally review Andrei's checkedint. Checkedint is a wrapper for integer types that allows to run code on over/underflows, define NaN like init states and more. The PR can be found here: https://github.com/dlang/phobos/pull/4613 The dub package can be found here: (1) http://code

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-14 Thread Robert burner Schadek via Digitalmars-d
On 2016-12-14 14:26, Dominikus Dittes Scherkl via Digitalmars-d wrote: > On Tuesday, 13 December 2016 at 22:33:24 UTC, Andrei Alexandrescu wrote: >> Destroy. >> >> https://github.com/dlang/DIPs/pull/51/files > > Why not leave it as it is and only change the compiler to > perform inputs _within_ a f

Re: DIP10005: Dependency-Carrying Declarations is now available for community feedback

2016-12-14 Thread Robert burner Schadek via Digitalmars-d
I really like that solution. +1

Re: Code example in std.parallelism fails to compile

2016-11-29 Thread Robert burner Schadek via Digitalmars-d
Not that I know of, https://github.com/dlang/phobos/pull/4399. I think std.parallelism was designed around a D feature that was more a bug than a feature. This bug/feature seamed to be fixed some years ago. But I'm not 100%, as this was before my time.

Re: readln and readf issues

2016-11-11 Thread Robert burner Schadek via Digitalmars-d
On Friday, 11 November 2016 at 09:43:51 UTC, Jacob Marek wrote: Hi! so I'm probably being dumb here however I'm having an issue getting readf and readln to work properly. It seems to be superseding the rest of my code. Allow me to explain. No matter where I put the readf/readln function it will

Re: PDF generation in D?

2016-11-11 Thread Robert burner Schadek via Digitalmars-d
I used text files and LaTeX in the past, it works with everything textfile -> process -> LaTeX -> pdf

Re: Trailing catch on function?

2016-11-08 Thread Robert burner Schadek via Digitalmars-d
On Tuesday, 8 November 2016 at 01:50:26 UTC, Walter Bright wrote: You don't. The exception is also rethrown, so it isn't an exact replacement. (The 'nothrow' is a mistake on my part.) this: scope(failure, Exception e) { // Do something with e } would be nice

Re: Trailing catch on function?

2016-11-07 Thread Robert burner Schadek via Digitalmars-d
On Tuesday, 8 November 2016 at 00:12:09 UTC, Robert burner Schadek wrote: Who to get the Exception thrown in the scope(failure) Who to --> How do you ...

Re: Trailing catch on function?

2016-11-07 Thread Robert burner Schadek via Digitalmars-d
On Monday, 7 November 2016 at 23:37:18 UTC, Walter Bright wrote: void callback() nothrow { scope (failure) { ...log error or abort... } ...lots of code... } Who to get the Exception thrown in the scope(failure)

Falcor Router in D

2016-09-21 Thread Robert burner Schadek via Digitalmars-d
Is anybody working on a falcor-router [1] written in D? [1] https://github.com/Netflix/falcor

Re: checkedint submission

2016-09-15 Thread Robert burner Schadek via Digitalmars-d
Who is your review manager?

Re: checkedint submission

2016-09-15 Thread Robert burner Schadek via Digitalmars-d
The last commit to https://github.com/andralex/checkedint was 21 days ago? Something is off! Or was the last change to checkedint 21 days ago?

Re: New reviewing flow on github

2016-09-15 Thread Robert burner Schadek via Digitalmars-d
They also have kanban style project management stuff now. I would really like to see anything (bugzilla, trello) moved to github.

Re: checkedint submission

2016-09-15 Thread Robert burner Schadek via Digitalmars-d
could you please update the dub package

Re: Do you like bounded integrals?

2016-08-24 Thread Robert burner Schadek via Digitalmars-d
what about two types. alias BI = Bound!int; alias CBI = CheckedInt!BI; if Bound behaves as an integer people can choose.

Re: dub test

2016-08-24 Thread Robert burner Schadek via Digitalmars-d
Lets move that back to https://github.com/dlang/phobos/pull/2995

Re: std.experimental.logger threading design

2016-08-17 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 17 August 2016 at 07:48:02 UTC, kookman wrote: I was interested low(er) cost logging and stumbled across a proposal by Max Klimov from about 16 months ago to add an AsyncLogger to std.experimental.logger (ref http://forum.dlang.org/thread/lcsjtxorbbagmbvbl...@forum.dlang.org). The

Re: DIP1000: Scoped Pointers (Discussion)

2016-08-15 Thread Robert burner Schadek via Digitalmars-d
public final void foo() scope inout @nogc nothrow @safe pure {} I think the solution is to turn every function into a no-args template, but then you can't use virtual methods. ** sarcasm on ** Don't say that, you give them ideas ;-) ** sarcasm off **

Re: DIP1000: Scoped Pointers (Discussion)

2016-08-12 Thread Robert burner Schadek via Digitalmars-d
On Friday, 12 August 2016 at 14:02:50 UTC, Chris Wright wrote: In the worst case, you can change the API so you can write: rcs.update("bar", (x) { x.a = 1337; x.b = 1338; }); yes, but that will not catch on. And I think (x) must be (scope ref x)

Re: DIP1000: Scoped Pointers (Discussion)

2016-08-12 Thread Robert burner Schadek via Digitalmars-d
No, the DIP doesn't handle several levels of indirection. What about: struct Bar { int a; int b } auto rcs = RefCountedTree!(string,Bar)(); fcs["bar"].a = 1337; // log n fcs["bar"].b = 1338; // log n ? I need to pay log n twice to assign two members

Re: DIP1000: Scoped Pointers (Discussion)

2016-08-12 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 11 August 2016 at 22:00:06 UTC, Walter Bright wrote: On 8/11/2016 4:46 AM, Robert burner Schadek wrote: Can I do this: ``` struct Foo { int a; } auto rcs = RefCountedSlice!Foo(); // assume rcs.length > 0 scope Foo zero = rcs[0]; zero.a = 1337; assert(rcs[0].a == 1337); ``` No, b

Re: DIP1000: Scoped Pointers (Discussion)

2016-08-11 Thread Robert burner Schadek via Digitalmars-d
Can I do this: ``` struct Foo { int a; } auto rcs = RefCountedSlice!Foo(); // assume rcs.length > 0 scope Foo zero = rcs[0]; zero.a = 1337; assert(rcs[0].a == 1337); ``` with the DIP. I could find it.

Re: DIP1000: Scoped Pointers (Discussion)

2016-08-11 Thread Robert burner Schadek via Digitalmars-d
Ok, I disagree, but there is no way that I can proof to be right. You can also not proof that you're right, so I'll trust your judgement.

Re: DIP1000: Scoped Pointers (Discussion)

2016-08-11 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 11 August 2016 at 09:45:07 UTC, Martin Nowak wrote: It's already clear that we need much better escape analysis and guards for safe reference counting. There isn't any open question that this is the necessary enabler for more RC and less GC. How do you know? Is there a sketch for

Re: DIP1000: Scoped Pointers (Discussion)

2016-08-11 Thread Robert burner Schadek via Digitalmars-d
``` void foo() { int c; int* e; e = &c; // Error, lifetime(e's view) is ∞ and is greater than lifetime(c) } ``` The DIP should make clear that this is wanted for a container library. Additionally, I miss how this DIP fits in the overall plan of getting rid of the GC. As

Re: Overflows in Phobos

2016-07-26 Thread Robert burner Schadek via Digitalmars-d
A perfect example for an item for your action list.

Re: Our docs should be more beautiful

2016-07-26 Thread Robert burner Schadek via Digitalmars-d
** RANT ON ** A perfect example for an item for your action list. And it pretty much looks like the syntax the wiki is using already. I bet you a drink at next years DConf that it will take you at least 10 minutes to find and reread this thread next time you create a vision document just to

Re: Logical location of template instantiations

2016-07-01 Thread Robert burner Schadek via Digitalmars-d
IMO, this is one of these places where theory meets practice. Do what works, write a comment explaining the problem, and move on ;-)

Re: Call to Action: making Phobos @safe

2016-06-28 Thread Robert burner Schadek via Digitalmars-d
On Monday, 27 June 2016 at 19:33:45 UTC, Walter Bright wrote: Sorry to have offended you, I worded things badly. Thank you for making the list. It's just that I'm feeling a bit overwhelmed at the moment with trying to get things done and being asked to do more every day, and I'd like to delegat

Re: Call to Action: making Phobos @safe

2016-06-27 Thread Robert burner Schadek via Digitalmars-d
On Sunday, 26 June 2016 at 22:38:54 UTC, Walter Bright wrote: It's a wiki, feel free to add it. I have to say that reply really makes me angry. I created that list so Andrei and you have an easy to find spot where you can write down tasks so people can work on them. You did not disagree with

Re: DbI checked integral

2016-06-27 Thread Robert burner Schadek via Digitalmars-d
On Sunday, 26 June 2016 at 16:03:57 UTC, Andrei Alexandrescu wrote: like. Default to NaN or throwing Exceptions. That is a side discussion as trivial as deciding the defaul second argument for Checked(T, Hook = DefaultHook). Fair enough. I was looking into creating a NaN Hook. I could crea

Re: Call to Action: making Phobos @safe

2016-06-26 Thread Robert burner Schadek via Digitalmars-d
It would be awesome if you would create that process model in the wiki and at it to your action list http://wiki.dlang.org/Walter_Andrei_Action_List#Walter_and_Andrei.27s_Action_List So it does not get lost and people can find it.

Re: DbI checked integral

2016-06-26 Thread Robert burner Schadek via Digitalmars-d
On Saturday, 25 June 2016 at 21:32:00 UTC, Andrei Alexandrescu wrote: So it stands to reason that if you want to design a checked integral types offering a variety of checking policies, one point in the design space that needs to be attainable is "no checks at all". Then the syntactic shell wor

Re: DbI checked integral

2016-06-25 Thread Robert burner Schadek via Digitalmars-d
On Friday, 24 June 2016 at 21:31:14 UTC, Andrei Alexandrescu wrote: By default, if Hook has no state and implements none of these methods, e.g. is void, then Checked!(int, void) is a user-defined type that mimics the behavior of int to the maximum extent possible. I think there is a major pro

Re: std.experimental.randomized_unittest_benchmark is ready for comments

2016-06-19 Thread Robert burner Schadek via Digitalmars-d
On Sunday, 19 June 2016 at 18:51:09 UTC, Jack Stouffer wrote: I would like to try this out on my date parsing library, but I don't see a way to generate strings of a specific format. take a look at https://github.com/dlang/phobos/pull/2995/files#diff-1a5f159e09980950bb9931ac674cbf40R358 just

Re: std.experimental.randomized_unittest_benchmark is ready for comments

2016-06-19 Thread Robert burner Schadek via Digitalmars-d
Thank you Seb for taking over the review management. Some additional feature for the proposed module is. * Simple way to create test data for user defined types * Benchmark data is stored into csv file for comparing the benchmark results between runs * Standalone tool to create gnuplot graphs f

Re: std.experimental.checkedint is ready for comments!

2016-06-18 Thread Robert burner Schadek via Digitalmars-d
I created this: https://wiki.dlang.org/Walter_Andrei_Action_List And PR's to dmd, druntime, and phobos' README.md that points to it. If you could keep that list up to date, would be really hopeful IMO. https://github.com/dlang/druntime/pull/1597 https://github.com/dlang/dmd/pull/5874 https://gi

Re: std.experimental.checkedint is ready for comments!

2016-06-18 Thread Robert burner Schadek via Digitalmars-d
Ok, where is this list? And where is list for phobos? Sure, some people are a allowed to pull stuff into phobos. But only stuff that does not introduce new names and Andrei does not veto. Of course you can not appoint people, but you should have an idea who you think is sharing your overall

Re: std.experimental.checkedint is ready for comments!

2016-06-17 Thread Robert burner Schadek via Digitalmars-d
What you said is true, but IMO you're missing the point. IMO the current D Process is just backward. Having people working on stuff openly, with intend for phobos inclusion, for a lot of months and that putting it up for review clearly does not work. And if you and/or Andrei at that point say "

Re: std.experimental.checkedint is ready for comments!

2016-06-14 Thread Robert burner Schadek via Digitalmars-d
In two weeks I will talk to tsbockmann how much time he needs to work in all comments. After he is done I will start the formal review phase. p.s. @everybody please take an interest. This module can give D another strategic advantage over our competition.

std.experimental.checkedint is ready for comments!

2016-06-07 Thread Robert burner Schadek via Digitalmars-d
As with many other languages (C, C++, Java, etc.), D's built-in integer data types are quite difficult to use correctly. It is tempting to think of int, for example, as if it were an actual mathematical integer. Doing so, however leads to buggy code due to unintuitive behaviour like: * Wrapp

Re: A technique to mock "static interfaces" (e.g. isInputRange)

2016-05-26 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 26 May 2016 at 09:42:59 UTC, Atila Neves wrote: Internal, and not really a mock. I used a range as an example - anything with an accompanying interface would be supported. I see, I thought as much What's wrong with dmocks revived (I've never used it)? I'm not afraid of classes, I

Re: A technique to mock "static interfaces" (e.g. isInputRange)

2016-05-25 Thread Robert burner Schadek via Digitalmars-d
+1 having a look at AutoImplement For testing ranges, I usually use https://github.com/dlang/phobos/blob/master/std/internal/test/dummyrange.d even though its internal ;-) anyway, more and better testing always good. p.s. I think at some point we have to build some (the perfect) mocking fram

Re: How are you enjoying DConf? And where to go next?

2016-05-10 Thread Robert burner Schadek via Digitalmars-d
what about Singapore. * pretty easy to travel to from all over the world * english speaking

Re: Always false float comparisons

2016-05-09 Thread Robert burner Schadek via Digitalmars-d
On Monday, 9 May 2016 at 09:10:19 UTC, Walter Bright wrote: So, should the compiler emit a warning for the former case? I'm not for a compiler change. IMO a library called std.sanity_float with a equal and a notequal function would be better.

Re: The end of curl (in phobos)

2016-05-06 Thread Robert burner Schadek via Digitalmars-d
On Friday, 6 May 2016 at 09:00:24 UTC, Dicebot wrote: Deprecated modules don't get bugfixes. It is quite important to put it into undead the same moment it gets deprecated because there is no real replacement available so existing projects must have a clean migration path to keep working. sou

Re: The end of curl (in phobos)

2016-05-06 Thread Robert burner Schadek via Digitalmars-d
On Friday, 6 May 2016 at 08:43:09 UTC, Johannes Pfau wrote: Wouldn't it make sense to do 3.1 right now so people can switch earlier? Then every bugfix to curl needs to be put in two repos. And the idea is that people have two years to find a better solution. So hopefully when we put curl in u

The end of curl (in phobos)

2016-05-06 Thread Robert burner Schadek via Digitalmars-d
As discussed yesterday at DConf, curl in phobos must go. The plan is as follows. 1. undocument everything curl related in may 2016 2. deprecate everything curl related in may 2017 3. delete everything curl related in may 2018 3.1 move curl stuff to undead PR: https://github.com/dlang/phobos/pul

Re: RFC: Units of measurement for D (Phobos?)

2016-03-15 Thread Robert burner Schadek via Digitalmars-d
On Tuesday, 15 March 2016 at 09:08:11 UTC, Nordlöw wrote: On Monday, 14 March 2016 at 19:08:18 UTC, Robert burner Schadek wrote: have a look at this! https://github.com/biozic/quantities Could you briefly outline why you prefer this over David's work? - has been in code.dlang.org since 2014

Re: RFC: Units of measurement for D (Phobos?)

2016-03-14 Thread Robert burner Schadek via Digitalmars-d
have a look at this! https://github.com/biozic/quantities

Re: My whereabouts

2016-03-09 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 9 March 2016 at 12:58:24 UTC, Andrei Alexandrescu wrote: Next on my coding agenda is rcstring. I thought you were working on the container, or has [1] established itself as pseudo standard. About rcstring, I have [2] which works for what I need for. I plan to extend it some mo

Re: std.xml2 (collecting features)

2016-03-06 Thread Robert burner Schadek via Digitalmars-d
On Saturday, 5 March 2016 at 15:20:12 UTC, Craig Dillabaugh wrote: Robert, we have had some student interest in GSOC for XML. Would you be interested in mentoring a student to work with you on this. Craig Of course

Re: std.xml2 (collecting features)

2016-02-23 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 18 February 2016 at 15:39:01 UTC, Robert burner Schadek wrote: On Thursday, 18 February 2016 at 12:30:29 UTC, Andrei Alexandrescu wrote: Would the measuring be possible with 2995 as a dub package? -- Andrei yes, after have synced the dub package to the PR brought the dub packa

Re: std.xml2 (collecting features) control character

2016-02-19 Thread Robert burner Schadek via Digitalmars-d
On Friday, 19 February 2016 at 12:55:52 UTC, Kagamin wrote: http://dpaste.dzfl.pl/2f8a8ff10bde like this? yes

Re: std.xml2 (collecting features) control character

2016-02-19 Thread Robert burner Schadek via Digitalmars-d
On 2016-02-19 11:58, Kagamin via Digitalmars-d wrote: > On Thursday, 18 February 2016 at 16:56:08 UTC, Robert burner Schadek > wrote: >> the hex dump is "3C 66 6F 6F 3E C2 80 3C 2F 66 6F 6F 3E" > > http://dpaste.dzfl.pl/80888ed31958 like this? No, The program just takes the hex dump as string. you

Re: std.xml2 (collecting features)

2016-02-19 Thread Robert burner Schadek via Digitalmars-d
On Friday, 19 February 2016 at 04:02:02 UTC, Craig Dillabaugh wrote: Would you be interested in mentoring a student for the Google Summer of Code to do work on std.xml? Yes, why not!

Re: std.xml2 (collecting features) control character

2016-02-18 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 18 February 2016 at 18:28:10 UTC, Alex Vincent wrote: Regarding control characters: If you give me a complete sample file, I can run it through Mozilla's UTF stream conversion and/or XML parsing code (via either SAX or DOMParser) to tell you how that reacts as a reference. Mozill

Re: std.xml2 (collecting features) control character

2016-02-18 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 18 February 2016 at 16:54:10 UTC, Robert burner Schadek wrote: unix file says it is a utf8 encoded file, but not BOM is present. the hex dump is "3C 66 6F 6F 3E C2 80 3C 2F 66 6F 6F 3E"

Re: std.xml2 (collecting features) control character

2016-02-18 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 18 February 2016 at 16:47:35 UTC, Adam D. Ruppe wrote: On Thursday, 18 February 2016 at 16:41:52 UTC, Robert burner Schadek wrote: for instance, quick often I find <80> in tests that are supposed to be valid xml 1.0. they are invalid xml 1.1 though What char encoding does the docu

Re: std.xml2 (collecting features) control character

2016-02-18 Thread Robert burner Schadek via Digitalmars-d
for instance, quick often I find <80> in tests that are supposed to be valid xml 1.0. they are invalid xml 1.1 though

Re: std.xml2 (collecting features) control character

2016-02-18 Thread Robert burner Schadek via Digitalmars-d
While working on a new xml implementation I came cross "control characters (CC)". [1] When trying to validate/convert an utf string these lead to exceptions, because they are not valid utf character. Unfortunately, some of these characters are allowed to appear in valid xml 1.* documents. I cu

Re: std.xml2 (collecting features)

2016-02-18 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 18 February 2016 at 12:30:29 UTC, Andrei Alexandrescu wrote: also I would like to see this https://github.com/D-Programming-Language/phobos/pull/2995 go in first to be able to accurately measure and compare performance Would the measuring be possible with 2995 as a dub package? -

Re: std.xml2 (collecting features)

2016-02-18 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 18 February 2016 at 10:18:18 UTC, Robert burner Schadek wrote: If you want to on some XML stuff, please join me. It is properly more productive working together than creating two competing implementations. also I would like to see this https://github.com/D-Programming-Language/ph

Re: std.xml2 (collecting features)

2016-02-18 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 18 February 2016 at 04:34:13 UTC, Alex Vincent wrote: I'm looking for a status update. DUB doesn't seem to have many options posted. I was thinking about starting a SAXParser implementation. I'm working on it, but recently I had to do some major restructuring of the code. Curre

Re: JMH

2016-01-20 Thread Robert burner Schadek via Digitalmars-d
Yes, something like that would be nice. But as the website states you need to use maven to build the project that uses that library. I can only suspect, but I think they use maven to collect all functions that use @Benchmark. And this leads to the problem the unittest library proposal for phob

Re: std.experimental.yesnogc

2016-01-14 Thread Robert burner Schadek via Digitalmars-d
On Thursday, 14 January 2016 at 07:44:16 UTC, Jacob Carlborg wrote: std.experimental.memory with submodules for the different use cases: std.experimental.memory.rc std.experimental.memory.gc std.experimental.memory.manual // or something this has my vote I guess the first submodule should be

Re: [dlang.org] getting the redesign wrapped up

2016-01-10 Thread Robert burner Schadek via Digitalmars-d
congratulations

Re: OT: std.logger was Re: std.experimental Timeline

2016-01-05 Thread Robert burner Schadek via Digitalmars-d
On Tuesday, 5 January 2016 at 16:34:27 UTC, Dicebot wrote: BTW, the default implementation is a direct result of the "by default multi-threading safe" requirement brought up multiple times during reviews. .. this remains a concern. I know that with some tweaks and lot of custom overriding I

Re: OT: std.logger was Re: std.experimental Timeline

2016-01-04 Thread Robert burner Schadek via Digitalmars-d
Yes the cast is ugly, but then I'm writing dynamic content into stack arrays. I actually have a patch in the pipeline for this,. That patch require to change the protection for beginLogMsg, logMsgPart, finishLogMsg from protected to public and bye bye cast. logMsgPart already takes a const(ch

Re: OT: std.logger was Re: std.experimental Timeline

2016-01-04 Thread Robert burner Schadek via Digitalmars-d
As talk is cheap, here is the code: http://dpaste.dzfl.pl/ba4df05339f6 not 20 lines but for 99 lines you get two Loggers and some tests.

Re: OT: std.logger was Re: std.experimental Timeline

2016-01-04 Thread Robert burner Schadek via Digitalmars-d
On Monday, 4 January 2016 at 10:58:09 UTC, Jonathan M Davis wrote: If I understand correctly (based on previous statements by Dicebot), the problem is that at Sociomantic, they reuse buffers heavily. So, they basically don't use string much of anywhere and instead use some combination of char[]

OT: std.logger was Re: std.experimental Timeline

2016-01-04 Thread Robert burner Schadek via Digitalmars-d
On Sunday, 3 January 2016 at 21:37:28 UTC, Dicebot wrote: Haven't found any issues with std.allocator so far but std.logger definitely is not Phobos ready per my requirements. I have been recently re-evaluating it as possible replacement for old Tango logger we use and found that in several pla

Re: Voting For std.experimental.ndslice

2015-12-29 Thread Robert burner Schadek via Digitalmars-d
On Tuesday, 29 December 2015 at 16:11:00 UTC, Ilya Yaroshenko wrote: OK, lets discuss every function. That is acceptably the problem. It is not about the documentation of the functions it is about the documentation binding the functions together and the documentation giving the idea of the

Re: Voting For std.experimental.ndslice

2015-12-29 Thread Robert burner Schadek via Digitalmars-d
On Monday, 28 December 2015 at 22:39:45 UTC, Ilya Yaroshenko wrote: 1. First paragraph was replaced by your variant. 2. Binary representation was moved to Slice type documentation. 3. Small "Quick Start" was added, so new user will start from `sliced` and `Slice`. That is just patchwork ...

Re: Voting For std.experimental.ndslice

2015-12-28 Thread Robert burner Schadek via Digitalmars-d
On Monday, 28 December 2015 at 18:39:47 UTC, Ilya Yaroshenko wrote: Have you read the latest changes? http://forum.dlang.org/post/djgkkrdufycyjhpma...@forum.dlang.org I have. The problem with the doc is that is describes what it can be used for, but it does not describe what it is. It is l

Re: Voting For std.experimental.ndslice

2015-12-28 Thread Robert burner Schadek via Digitalmars-d
On Monday, 28 December 2015 at 15:52:09 UTC, Robert burner Schadek wrote: fix Yes: 11 Yes: Conditional: 1 <<-- fix here No: 0 Please do not merge this with the current state of documentation.

Re: Voting For std.experimental.ndslice

2015-12-28 Thread Robert burner Schadek via Digitalmars-d
On Monday, 28 December 2015 at 07:11:00 UTC, Jack Stouffer wrote: The final tally: Yes: 12 No: 0 This is not true, my yes was conditional and the documentation is still weak. So it is Yes: 11 Yes: Conditional No: 0 Please do not merge this with the current state of documentation.

Re: Voting For std.experimental.ndslice

2015-12-17 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 16 December 2015 at 17:49:03 UTC, Ilya Yaroshenko wrote: In the same time I expect few articles from another engineers about ndslice like this http://dlang.org/intro-to-datetime.html . It is much better to have explanation from different engineers. Please no, put all the doc a

Re: Voting For std.experimental.ndslice

2015-12-17 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 16 December 2015 at 17:49:03 UTC, Ilya Yaroshenko wrote: * Miscellaneous ** string mixins. I think some of the string mixins can be removed for something more readable/debuggable ** I have not found examples where string mixins can be removed. Please refer to particular examp

Re: Voting For std.experimental.ndslice

2015-12-16 Thread Robert burner Schadek via Digitalmars-d
Yes with many conditions: * Documentation ** The documentation needs a complete rewrite. If I hadn't had any prior knowledge, I would have needed to read the numpy documentation to figure what this package does. That is not acceptable. It is also not clear how the functionally in the package

Re: Wishlist for D

2015-12-13 Thread Robert burner Schadek via Digitalmars-d
On Saturday, 12 December 2015 at 22:57:55 UTC, Ola Fosheim Grøstad wrote: 2. Debug-mode testing of integer overflow. https://github.com/D-Programming-Language/phobos/pull/3389

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: Our template emission strategy is broken

2015-11-13 Thread Robert burner Schadek via Digitalmars-d
On Friday, 13 November 2015 at 02:50:07 UTC, Daniel Murphy wrote: You also need to modify root/rmem.d to actually use the GC as the allocator. I should have known that it couldn't be that simple. Anyway, after doing so. Building druntime and phobos die with a segfault, but all dmd tests pass,

Re: Our template emission strategy is broken

2015-11-11 Thread Robert burner Schadek via Digitalmars-d
druntime also works with GC activated

  1   2   3   4   >