digitalmars.D - Some standard protocols in Phobos
- bearophile (9/9) Dec 12 2011 I think it will eventually become important to have some standard protoc...
- Somedude (2/14) Dec 12 2011 I don't see the need for this.
- =?utf-8?Q?Simen_Kj=C3=A6r=C3=A5s?= (3/11) Dec 12 2011 These would be nice, but are by no means a necessity.
- bcs (5/14) Dec 12 2011 Likely the easiest way to ram that in in would be to pick one, design an...
- Jonathan M Davis (12/32) Dec 12 2011 A pull request would not be sufficient. Any major additions to Phobos mu...
- bcs (4/36) Dec 12 2011 OK, so maybe I over simplified a bit and omitted to mention some of the
- Brad Roberts (4/5) Dec 12 2011 Let me rephrase your clarification. :)
- bearophile (6/7) Dec 12 2011 I think the point of view about your opinion differers across different ...
- bcs (4/9) Dec 13 2011 True, but that will happen any way before a pull request gets blessed.
- Jesse Phillips (10/15) Dec 13 2011 Haha, it is good to know your audience. I was going to make a similar
- bcs (2/17) Dec 13 2011 "Sequential" data is to ranges as matrices are to what?
- bearophile (5/8) Dec 14 2011 The focus of my post was mostly on the protocol for images.
I think it will eventually become important to have some standard protocols in Phobos, like one for images like this: http://www.python.org/dev/peps/pep-0368/ Do you like? and similar ones for: - matrices - basic 2D pixel-oriented graphics. - basic database usage Bye, bearophile
Dec 12 2011
Le 12/12/2011 13:55, bearophile a écrit :I think it will eventually become important to have some standard protocols in Phobos, like one for images like this: http://www.python.org/dev/peps/pep-0368/ Do you like? and similar ones for: - matrices - basic 2D pixel-oriented graphics. - basic database usage Bye, bearophileI don't see the need for this.
Dec 12 2011
On Mon, 12 Dec 2011 13:55:53 +0100, bearophile <bearophileHUGS lycos.com> wrote:I think it will eventually become important to have some standard protocols in Phobos, like one for images like this: http://www.python.org/dev/peps/pep-0368/ Do you like? and similar ones for: - matrices - basic 2D pixel-oriented graphics. - basic database usageThese would be nice, but are by no means a necessity.
Dec 12 2011
On 12/12/2011 04:55 AM, bearophile wrote:I think it will eventually become important to have some standard protocols in Phobos, like one for images like this: http://www.python.org/dev/peps/pep-0368/ Do you like? and similar ones for: - matrices - basic 2D pixel-oriented graphics. - basic database usage Bye, bearophileLikely the easiest way to ram that in in would be to pick one, design an interface, implement 3-5 concrete examples and submit a pull request. I.e. create a de-facto standard. I think there is already one in the works for DBs .
Dec 12 2011
On Monday, December 12, 2011 20:07:37 bcs wrote:On 12/12/2011 04:55 AM, bearophile wrote:A pull request would not be sufficient. Any major additions to Phobos must go through a review process on the newsgroup and be voted into Phobos. Pull requests are generally for smaller additions and bug fixes rather than whole new modules and the like. So, unless you're talking about just a function or two here, then this kind of stuff is likely to require a formal review. That being said, the main way to get this kind of stuff into Phobos is to just buckle down and do it. If you're the first to come up with a new piece of functionality and are willing to work it through the review process, then you can get stuff added that way. If you sit around, hoping that someone else will do it, it may never happen. - Jonathan M DavisI think it will eventually become important to have some standard protocols in Phobos, like one for images like this: http://www.python.org/dev/peps/pep-0368/ Do you like? and similar ones for: - matrices - basic 2D pixel-oriented graphics. - basic database usage Bye, bearophileLikely the easiest way to ram that in in would be to pick one, design an interface, implement 3-5 concrete examples and submit a pull request. I.e. create a de-facto standard. I think there is already one in the works for DBs .
Dec 12 2011
On 12/12/2011 08:17 PM, Jonathan M Davis wrote:On Monday, December 12, 2011 20:07:37 bcs wrote:OK, so maybe I over simplified a bit and omitted to mention some of the later steps. :bOn 12/12/2011 04:55 AM, bearophile wrote:A pull request would not be sufficient. Any major additions to Phobos must go through a review process on the newsgroup and be voted into Phobos. Pull requests are generally for smaller additions and bug fixes rather than whole new modules and the like. So, unless you're talking about just a function or two here, then this kind of stuff is likely to require a formal review.I think it will eventually become important to have some standard protocols in Phobos, like one for images like this: http://www.python.org/dev/peps/pep-0368/ Do you like? and similar ones for: - matrices - basic 2D pixel-oriented graphics. - basic database usage Bye, bearophileLikely the easiest way to ram that in in would be to pick one, design an interface, implement 3-5 concrete examples and submit a pull request. I.e. create a de-facto standard. I think there is already one in the works for DBs .That being said, the main way to get this kind of stuff into Phobos is to just buckle down and do it. If you're the first to come up with a new piece of functionality and are willing to work it through the review process, then you can get stuff added that way. If you sit around, hoping that someone else will do it, it may never happen.Let me clarify what I was trying to say: What he said. :o)
Dec 12 2011
On 12/12/2011 8:46 PM, bcs wrote:Let me clarify what I was trying to say: What he said. :o)Let me rephrase your clarification. :) The best way to get something done is to do it. Throwing out an idea and hoping someone else does it for you is fairly ineffective.
Dec 12 2011
Brad Roberts:The best way to get something done is to do it.I think the point of view about your opinion differers across different nations of the world. That POV leads to results like: http://delight.sourceforge.net/ Before doing things some people want to discuss if it's a good idea, and to know if others are interested in its results/consequences. Bye, bearophile
Dec 12 2011
On 12/12/2011 11:13 PM, bearophile wrote:Brad Roberts:True, but that will happen any way before a pull request gets blessed. And if the package doesn't pass muster, you can still publish it somewhere else.The best way to get something done is to do it.I think the point of view about your opinion differers across different nations of the world. That POV leads to results like: http://delight.sourceforge.net/ Before doing things some people want to discuss if it's a good idea, and to know if others are interested in its results/consequences.
Dec 13 2011
On Mon, 12 Dec 2011 20:07:37 -0800, bcs wrote:Likely the easiest way to ram that in in would be to pick one, design an interface, implement 3-5 concrete examples and submit a pull request. I.e. create a de-facto standard. I think there is already one in the works for DBs .Haha, it is good to know your audience. I was going to make a similar statement, but saw bearophile had made the post. Know is involvement in the community I realized he wasn't asking to get these in, but as he says poll for interest and opinions. For such I don't really have much to comment. The only one of those I can really understand what it would mean to have a standard protocol for is the DB. The others, I'm not sure what it is solving that isn't addressed by actually having it in Phobos (Why not have matrices and not just their protocol?).
Dec 13 2011
On 12/13/2011 06:46 PM, Jesse Phillips wrote:On Mon, 12 Dec 2011 20:07:37 -0800, bcs wrote:"Sequential" data is to ranges as matrices are to what?Likely the easiest way to ram that in in would be to pick one, design an interface, implement 3-5 concrete examples and submit a pull request. I.e. create a de-facto standard. I think there is already one in the works for DBs .Haha, it is good to know your audience. I was going to make a similar statement, but saw bearophile had made the post. Know is involvement in the community I realized he wasn't asking to get these in, but as he says poll for interest and opinions. For such I don't really have much to comment. The only one of those I can really understand what it would mean to have a standard protocol for is the DB. The others, I'm not sure what it is solving that isn't addressed by actually having it in Phobos (Why not have matrices and not just their protocol?).
Dec 13 2011
Jesse Phillips:The others, I'm not sure what it is solving that isn't addressed by actually having it in Phobos (Why not have matrices and not just their protocol?).The focus of my post was mostly on the protocol for images. The problem with having actual code in Phobos is that a good matrix library, or a good image library, is a lot of well written code. And it can't be good enough for everyone, so other people will want to invent other image or matrix libraries. The point of having a protocol in Phobos is to avoid giving too much work to Phobos devs, and at the same time have a standard API to use a matrix or image. Bye, bearophile
Dec 14 2011