Jump to page: 1 216  
Page
Thread overview
std.serialization: pre-voting review / discussion
Aug 12, 2013
Dicebot
Aug 12, 2013
Jacob Carlborg
Aug 13, 2013
Dicebot
Aug 13, 2013
Dmitry Olshansky
Aug 13, 2013
Jacob Carlborg
Aug 13, 2013
Dicebot
Aug 13, 2013
Jacob Carlborg
Aug 14, 2013
Jonathan M Davis
Aug 14, 2013
Dicebot
Aug 13, 2013
Dicebot
Aug 13, 2013
Dmitry Olshansky
Aug 13, 2013
Tobias Pankrath
Aug 13, 2013
Jacob Carlborg
Aug 13, 2013
Dicebot
Aug 13, 2013
Jacob Carlborg
Aug 13, 2013
glycerine
Aug 14, 2013
Dicebot
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
Dicebot
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
glycerine
Aug 14, 2013
Dicebot
Aug 17, 2013
glycerine
Aug 17, 2013
BS
Aug 18, 2013
David Nadlinger
Aug 17, 2013
Dicebot
Aug 18, 2013
David Nadlinger
Aug 17, 2013
John Colvin
Aug 18, 2013
David Nadlinger
Aug 18, 2013
Andrej Mitrovic
Aug 18, 2013
David Nadlinger
Aug 18, 2013
Dicebot
Aug 20, 2013
Walter Bright
Aug 18, 2013
Jacob Carlborg
Aug 18, 2013
Jonathan M Davis
Aug 19, 2013
bsd
Aug 19, 2013
David Nadlinger
Aug 19, 2013
David Nadlinger
Aug 20, 2013
bsd
Aug 22, 2013
ilya-stromberg
Aug 22, 2013
Jacob Carlborg
Aug 22, 2013
ilya-stromberg
Aug 22, 2013
Jacob Carlborg
Aug 23, 2013
ilya-stromberg
Aug 23, 2013
Dicebot
Aug 23, 2013
Jacob Carlborg
Aug 28, 2013
ilya-stromberg
Aug 28, 2013
Dicebot
Aug 28, 2013
ilya-stromberg
Aug 28, 2013
Dicebot
Aug 28, 2013
Jacob Carlborg
Sep 01, 2013
ilya-stromberg
Sep 01, 2013
ilya-stromberg
Sep 01, 2013
Jacob Carlborg
Aug 23, 2013
Jacob Carlborg
Aug 24, 2013
ilya-stromberg
Aug 24, 2013
Jacob Carlborg
Aug 24, 2013
ilya-stromberg
Aug 24, 2013
Jacob Carlborg
Aug 24, 2013
ilya-stromberg
Aug 26, 2013
ilya-stromberg
Sep 21, 2013
mrd
Sep 23, 2013
Jacob Carlborg
Aug 14, 2013
ilya-stromberg
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
Dicebot
Aug 14, 2013
Jacob Carlborg
Aug 13, 2013
Jacob Carlborg
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
Tove
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
ilya-stromberg
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
Dicebot
Aug 14, 2013
ilya-stromberg
Aug 14, 2013
Dicebot
Aug 15, 2013
Jonathan M Davis
Aug 14, 2013
Kapps
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
Jacob Carlborg
Sep 04, 2013
ilya-stromberg
Sep 04, 2013
Jacob Carlborg
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
H. S. Teoh
Aug 14, 2013
Jacob Carlborg
Aug 14, 2013
ilya-stromberg
Aug 15, 2013
Jacob Carlborg
Aug 21, 2013
ilya-stromberg
Aug 21, 2013
Jacob Carlborg
Sep 21, 2013
mrd
Sep 23, 2013
Jacob Carlborg
Aug 18, 2013
ilya-stromberg
Aug 18, 2013
Marek Janukowicz
Aug 18, 2013
Andrej Mitrovic
Aug 18, 2013
Marek Janukowicz
Aug 18, 2013
Tobias Pankrath
Aug 18, 2013
Jacob Carlborg
Aug 17, 2013
Jesse Phillips
Aug 19, 2013
Jacob Carlborg
Aug 19, 2013
ilya-stromberg
Aug 19, 2013
Jesse Phillips
Aug 19, 2013
Jacob Carlborg
Aug 20, 2013
Jesse Phillips
Aug 19, 2013
Jesse Phillips
Aug 19, 2013
Jacob Carlborg
Aug 18, 2013
Dicebot
Aug 18, 2013
Walter Bright
Aug 19, 2013
ilya-stromberg
Aug 19, 2013
Jacob Carlborg
Aug 19, 2013
Dicebot
Aug 19, 2013
Jacob Carlborg
Aug 19, 2013
Dicebot
Aug 19, 2013
Jacob Carlborg
Aug 19, 2013
Johannes Pfau
Aug 19, 2013
Dmitry Olshansky
Aug 20, 2013
ilya-stromberg
Aug 20, 2013
Johannes Pfau
Aug 21, 2013
ilya-stromberg
Aug 20, 2013
Dicebot
Aug 20, 2013
Daniel Murphy
Aug 20, 2013
Jacob Carlborg
Aug 21, 2013
ilya-stromberg
Aug 21, 2013
Jacob Carlborg
Aug 20, 2013
Jacob Carlborg
Aug 20, 2013
Dicebot
Aug 21, 2013
Dicebot
Aug 21, 2013
Jacob Carlborg
Aug 21, 2013
ilya-stromberg
Aug 21, 2013
Dicebot
Aug 19, 2013
Jacob Carlborg
Aug 20, 2013
Walter Bright
Aug 20, 2013
Jacob Carlborg
Aug 20, 2013
Walter Bright
Aug 20, 2013
Jacob Carlborg
Aug 20, 2013
David Nadlinger
Aug 20, 2013
Walter Bright
Aug 22, 2013
Jacob Carlborg
Aug 22, 2013
Walter Bright
Aug 31, 2013
Dicebot
Aug 31, 2013
Jacob Carlborg
Aug 31, 2013
Dicebot
Aug 31, 2013
Jacob Carlborg
Aug 31, 2013
Dicebot
Sep 28, 2013
Dicebot
August 12, 2013
Stepping up to act as a Review Manager for Jacob Carlborg std.serialization

---- Input ----

Code: https://github.com/jacob-carlborg/phobos/tree/serialization

Documentation: https://dl.dropboxusercontent.com/u/18386187/docs/std.serialization/index.html

Previous review thread: http://forum.dlang.org/thread/adyanbsdsxsfdpvoozne@forum.dlang.org

---- Changes since last review ----

- Sources has been integrated into Phobos source tree
- DDOC documentation has been provided in a form it should look like on dlang.org
- Most utility functions/template code depends on have been inlined. Remaining `package` utility modules:
    * std.serialization.archives.xmldocument
    * std.serialization.attribute
    * std.serialization.registerwrapper

---- Information for reviewers ----

Goal of this thread is to detect if there are any outstanding issues that need to fixed before formal "yes"/"no" voting happens. If no critical objections will arise, voting will begin starting with a next week.

Please take this seriously: "If you identify problems along the way, please note if they are minor, serious, or showstoppers." (http://wiki.dlang.org/Review/Process). This information later will be used to determine if library is ready for voting.

If there are any frequent Phobos contributors / core developers please pay extra attention to submission code style and fitting into overall Phobos guidelines and structure.

-------------------------------------

Let the thread begin.

Jacob, it is probably worth creating a pull request with latest rebased version of your proposal to simplify getting a quick overview of changes. Also please tell if there is anything you want/need to implement before merging.
August 12, 2013
On 2013-08-12 15:27, Dicebot wrote:

> Jacob, it is probably worth creating a pull request with latest rebased
> version of your proposal to simplify getting a quick overview of
> changes.

I don't think a pull request should be made before a module has gone through the review queue and is approved. With Github it's easy to diff between a fork and upstream: https://github.com/jacob-carlborg/phobos/compare/serialization

> Also please tell if there is anything you want/need to implement before merging.

* I have to double check that I haven't added any improvements to Orange not present in std.serialization. But that would only be bug fixes and no public API change so that shouldn't hold the review.

* I forgot to add that the unit tests are, a bit controversial, located in std.serialization.tests

-- 
/Jacob Carlborg
August 13, 2013
On Monday, 12 August 2013 at 19:55:01 UTC, Jacob Carlborg wrote:
> I don't think a pull request should be made before a module has gone through the review queue and is approved. With Github it's easy to diff between a fork and upstream: https://github.com/jacob-carlborg/phobos/compare/serialization

Agreed.

> * I forgot to add that the unit tests are, a bit controversial, located in std.serialization.tests

That is something that requires the input from Phobos devs.
August 13, 2013
2 everyone: should I interpret lack of activity as lack of interest in getting this into Phobos or lack of issues to comment on? ;)
August 13, 2013
On 08/12/2013 03:27 PM, Dicebot wrote:
> Stepping up to act as a Review Manager for Jacob Carlborg std.serialization
>
> ---- Input ----
>
> Code: https://github.com/jacob-carlborg/phobos/tree/serialization
>
> Documentation:
> https://dl.dropboxusercontent.com/u/18386187/docs/std.serialization/index.html
>

I had no look at the code, but just opened the documentation, asking the question: "What do I need to do to serialize this graph data structure, I have here?". The documentation does not seem to give a straight answer.

Now, that's an issue I have with almost all phobos modules, for example with std.container, but I'll raise this point here: Our documentational standards are not good enough, because all we ever have is some API documentation ala this is module X, it contains the symbols A, B, C, which have a short description respectively.

However a good documentation (look at docs.python.org for example) needs to do more. The module has a purpose, because it should help me to accomplish a task. The documentation must say (preferably in a single location) what this task is and how this module/library may
help me in accomplishing it's task. An outline of the basic design decisions (for example where does std.container mention it's structures
have reference semantics?) are often invaluable in unterstanding api/
more detailed documentation.

I know how much work such documentation is and I surely wouldn't vote against std.serialization just because of this. But it's one of the two biggest hindrances if you want to get started / productive with D. (IMHO)

August 13, 2013
13-Aug-2013 16:48, Dicebot пишет:
> On Monday, 12 August 2013 at 19:55:01 UTC, Jacob Carlborg wrote:
>> I don't think a pull request should be made before a module has gone
>> through the review queue and is approved. With Github it's easy to
>> diff between a fork and upstream:
>> https://github.com/jacob-carlborg/phobos/compare/serialization
>
> Agreed.
>
>> * I forgot to add that the unit tests are, a bit controversial,
>> located in std.serialization.tests
>
> That is something that requires the input from Phobos devs.

IMHO a good idea to have a non-trivial test suite to be separate so that it doesn't not clutter other module(s). That said isolated tests for individual pieces and internal stuff are better kept together with the code they test.

-- 
Dmitry Olshansky
August 13, 2013
13-Aug-2013 17:15, Dicebot пишет:
> 2 everyone: should I interpret lack of activity as lack of interest in
> getting this into Phobos or lack of issues to comment on? ;)

Give us some time darn it ;)
-- 
Dmitry Olshansky
August 13, 2013
On 2013-08-13 16:34, Dmitry Olshansky wrote:

> IMHO a good idea to have a non-trivial test suite to be separate so that
> it doesn't not clutter other module(s). That said isolated tests for
> individual pieces and internal stuff are better kept together with the
> code they test.

They are of a high level nature and not for the internal stuff.

-- 
/Jacob Carlborg
August 13, 2013
On 2013-08-13 15:33, Tobias Pankrath wrote:

> I had no look at the code, but just opened the documentation, asking the
> question: "What do I need to do to serialize this graph data structure,
> I have here?". The documentation does not seem to give a straight answer.

There's a fully working example here:

https://dl.dropboxusercontent.com/u/18386187/docs/std.serialization/std_serialization_serializer.html

I worked quite hard with the documentation. There are code examples here as well, I just don't know where to put them in Phobos:

https://github.com/jacob-carlborg/orange/wiki/_pages

-- 
/Jacob Carlborg
August 13, 2013
On Tuesday, 13 August 2013 at 14:35:06 UTC, Dmitry Olshansky wrote:
> IMHO a good idea to have a non-trivial test suite to be separate so that it doesn't not clutter other module(s). That said isolated tests for individual pieces and internal stuff are better kept together with the code they test.

What do you think about having top-level folder with functional tests for a more complex packages?
« First   ‹ Prev
1 2 3 4 5 6 7 8 9 10 11