Re: Phobos Wish List/Next in Review Queue?

2011-11-28 Thread so
On Mon, 28 Nov 2011 15:32:23 +0200, Steven Schveighoffer wrote: Yes, but let's not call this a "range", since it does not work in functions that use ranges or with foreach (this is Walter's goal). How bout strange? (Yes, i am bored)

Re: Phobos Wish List/Next in Review Queue?

2011-11-28 Thread Steven Schveighoffer
On Mon, 28 Nov 2011 08:18:38 -0500, so wrote: On Mon, 28 Nov 2011 14:54:07 +0200, Steven Schveighoffer wrote: On Sat, 26 Nov 2011 16:39:38 -0500, Walter Bright wrote: On 11/26/2011 5:46 AM, Steven Schveighoffer wrote: Ranges are not good for reading N bytes from a file descriptor.

Re: Phobos Wish List/Next in Review Queue?

2011-11-28 Thread so
On Mon, 28 Nov 2011 14:54:07 +0200, Steven Schveighoffer wrote: On Sat, 26 Nov 2011 16:39:38 -0500, Walter Bright wrote: On 11/26/2011 5:46 AM, Steven Schveighoffer wrote: Ranges are not good for reading N bytes from a file descriptor. Why not? Isn't that exactly what a range is suppo

Re: Phobos Wish List/Next in Review Queue?

2011-11-28 Thread Steven Schveighoffer
On Sat, 26 Nov 2011 16:39:38 -0500, Walter Bright wrote: On 11/26/2011 5:46 AM, Steven Schveighoffer wrote: Ranges are not good for reading N bytes from a file descriptor. Why not? Isn't that exactly what a range is supposed to be good for? A range has a specific interface: T front() vo

Re: Phobos Wish List/Next in Review Queue?

2011-11-27 Thread Piotr Szturmaj
Manu wrote: On 26 November 2011 23:39, Walter Bright mailto:newshou...@digitalmars.com>> wrote: On 11/26/2011 5:46 AM, Steven Schveighoffer wrote: Ranges are not good for reading N bytes from a file descriptor. Why not? Isn't that exactly what a range is supposed to be

Re: Phobos Wish List/Next in Review Queue?

2011-11-27 Thread Manu
On 26 November 2011 23:39, Walter Bright wrote: > On 11/26/2011 5:46 AM, Steven Schveighoffer wrote: > >> Ranges are not good for reading N bytes from a file >> descriptor. >> > > Why not? Isn't that exactly what a range is supposed to be good for? > It sounds like a bad idea to me... I can imag

Re: Phobos Wish List/Next in Review Queue?

2011-11-26 Thread Walter Bright
On 11/26/2011 5:46 AM, Steven Schveighoffer wrote: Ranges are not good for reading N bytes from a file descriptor. Why not? Isn't that exactly what a range is supposed to be good for?

Re: Phobos Wish List/Next in Review Queue?

2011-11-26 Thread Steven Schveighoffer
On Wed, 23 Nov 2011 21:26:45 -0500, Walter Bright wrote: On 11/19/2011 7:02 PM, dsimcha wrote: * Streams. (Another item where the bottleneck is mostly at the design level and people not really knowing what they want.) I'm not sure what the purpose of streams would be, now that we have

Re: Phobos Wish List/Next in Review Queue?

2011-11-24 Thread Somedude
Le 23/11/2011 21:35, Jude Young a écrit : > er working on a specific binding to a C > library, just drop me an email or something. > The small ones like ZeroMQ can be done in a few hours or so. A little > longer to test properly. Awesome. :) I hope this one will get the publicity it deserves.

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Jonathan M Davis
On Wednesday, November 23, 2011 22:21:47 dsimcha wrote: > On 11/23/2011 9:26 PM, Walter Bright wrote: > > On 11/19/2011 7:02 PM, dsimcha wrote: > >> * Streams. (Another item where the bottleneck is mostly at the design > >> level and > >> people not really knowing what they want.) > > > > I'm not

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread dsimcha
On 11/23/2011 9:26 PM, Walter Bright wrote: On 11/19/2011 7:02 PM, dsimcha wrote: * Streams. (Another item where the bottleneck is mostly at the design level and people not really knowing what they want.) I'm not sure what the purpose of streams would be, now that we have ranges. Right. As

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Walter Bright
On 11/19/2011 7:02 PM, dsimcha wrote: * Compression/archiving. (Opening standard compressed/archived file formats needs to just work. This includes at least zip, gzip, tar and bzip2. Of course, zip already is available and gzip is supported by the zlib module but with a crufty C API. At least gzi

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Walter Bright
On 11/19/2011 7:02 PM, dsimcha wrote: * Streams. (Another item where the bottleneck is mostly at the design level and people not really knowing what they want.) I'm not sure what the purpose of streams would be, now that we have ranges.

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Manu
On 23 November 2011 21:35, Martin Nowak wrote: > On Wed, 23 Nov 2011 18:20:35 +0100, Manu wrote: > > Oh wow, awesome! :) >> I'm always surprised by the state of the D libraries.. There's already >> lots >> of awesome obscure things are in there, but also completely obvious major >> features bla

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Jude Young
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/23/2011 11:20 AM, Manu wrote: > Oh wow, awesome! :) I'm always surprised by the state of the D > libraries.. There's already lots of awesome obscure things are in > there, but also completely obvious major features blatantly missing > :) > > So

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Martin Nowak
On Wed, 23 Nov 2011 18:20:35 +0100, Manu wrote: Oh wow, awesome! :) I'm always surprised by the state of the D libraries.. There's already lots of awesome obscure things are in there, but also completely obvious major features blatantly missing :) There are some real gems, e.g. findRoot.

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Manu
Oh wow, awesome! :) I'm always surprised by the state of the D libraries.. There's already lots of awesome obscure things are in there, but also completely obvious major features blatantly missing :) So how about a DCT? Image/video processing... Perhaps a simple adaptation of FFT? And it's not cl

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Martin Nowak
Yeah, this is problematic. In voting against my allocator proposal, Andrei mentioned that he wanted the allocators to be well-tested in the container API first. This means either we have a circular dependency or allocators and containers need to be co-developed. Co-developing them is pro

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Martin Nowak
On Wed, 23 Nov 2011 14:15:39 +0100, Somedude wrote: Le 20/11/2011 15:28, Adam D. Ruppe a écrit : Johannes Pfau Wrote: High performance IO: A reactor / proactor framework Oh that reminds me, I'd like a nice thing for networking too, where you can do something like register callback functio

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Martin Nowak
*Crypto *- +1 as mentioned above, blocked on streams... *Higher level maths/signal processing *- The linear algebra library mentioned in a previous post might be very useful, but also standard algorithms like fourier transforms. Library implementations of these would http://www.d-programming-l

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Manu
On 20 November 2011 05:02, dsimcha wrote: > Now that we've got a lot of contributors to Phobos and many projects in > the works, I decided to start a thread to help us make a rough plan for > Phobos's short-to-medium term development. There are three goals here: > > 1. Determine what's next in

Re: Phobos Wish List/Next in Review Queue?

2011-11-23 Thread Somedude
Le 20/11/2011 15:28, Adam D. Ruppe a écrit : > Johannes Pfau Wrote: >> High performance IO: A reactor / proactor framework > > Oh that reminds me, I'd like a nice thing for networking too, where you > can do something like register callback functions for events and it > handles the rest for you.

Re: Phobos Wish List/Next in Review Queue?

2011-11-21 Thread Jacob Carlborg
On 2011-11-21 16:30, Steven Schveighoffer wrote: On Sun, 20 Nov 2011 08:53:27 -0500, Jacob Carlborg wrote: On 2011-11-20 04:02, dsimcha wrote: * Better support for creating processes/new std.process. (Lars Kyllingstad wrote a replacement candidate for Posix and Steve Schveighoffer ported it t

Re: Phobos Wish List/Next in Review Queue?

2011-11-21 Thread Steve Teale
On Sat, 19 Nov 2011 22:02:33 -0500, dsimcha wrote: > > * std.database. (Apparently Steve Teale is working on this. This is a > large, complicated project because we're trying to define a common API > for a variety of RDBMSs. Again, it's more a design problem than an > implementation problem.)

Re: Phobos Wish List/Next in Review Queue?

2011-11-21 Thread Steven Schveighoffer
On Sun, 20 Nov 2011 08:53:27 -0500, Jacob Carlborg wrote: On 2011-11-20 04:02, dsimcha wrote: * Better support for creating processes/new std.process. (Lars Kyllingstad wrote a replacement candidate for Posix and Steve Schveighoffer ported it to Windows, but issues with the DMC runtime prevent

Re: Phobos Wish List/Next in Review Queue?

2011-11-21 Thread Steven Schveighoffer
On Sun, 20 Nov 2011 09:07:44 -0500, Mike Wey wrote: On 11/20/2011 04:02 AM, dsimcha wrote: * Streams. (Another item where the bottleneck is mostly at the design level and people not really knowing what they want.) Steven Schveighoffer's new-stdio included a nice stream interface. I don't kno

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Alex Rønne Petersen
On 20-11-2011 22:19, Jesse Phillips wrote: On Sun, 20 Nov 2011 15:12:27 -0500, dsimcha wrote: On 11/20/2011 12:30 PM, Jonas Drewsen wrote: If noone else wants to volunteer, I will again. Is there something I'm missing? I find that being review manage takes very little effort: Post an initial

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jesse Phillips
On Sun, 20 Nov 2011 15:12:27 -0500, dsimcha wrote: > On 11/20/2011 12:30 PM, Jonas Drewsen wrote: > If noone else wants to volunteer, I will again. Is there something I'm > missing? I find that being review manage takes very little effort: Post > an initial review announcement, post a reminder,

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread dsimcha
On 11/20/2011 12:30 PM, Jonas Drewsen wrote: * Some higher level networking support, such as HTTP, FTP, etc. (Jonas Drewsen's CURL wrapper handles a lot of this and may be ready for a second round of review.) As I've mentioned in another thread it is ready for a second round of review. We just

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread dsimcha
On 11/20/2011 12:30 PM, Jonas Drewsen wrote: * Containers. (AFAIK noone is working on this. It's tough to get started because, despite lots of discussion at various times on this forum, noone seems to really know what they want. Since the containers in question are well-known, it's much more a de

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jacob Carlborg
On 2011-11-20 18:14, Adam D. Ruppe wrote: Jacob Carlborg Wrote: If you know a module will break you can keep your own copy and decide if you want to migrate to the new module or keep the old one. Encouraging countless forks probably isn't a good idea toward building a coordinated community.

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Tobias Pankrath
> > If you know a module will break you can keep your own copy and decide if > you want to migrate to the new module or keep the old one. > Instead of introducing big and breaking changes to a module, we cood keep std.json and introduce std.json2.

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jonas Drewsen
Den 20-11-2011 04:02, dsimcha skrev: Now that we've got a lot of contributors to Phobos and many projects in the works, I decided to start a thread to help us make a rough plan for Phobos's short-to-medium term development. There are three goals here: 1. Determine what's next in the review queue

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Adam D. Ruppe
Jimmy Cao Wrote: > The biggest thing impairing std.json imo is this bug: > http://d.puremagic.com/issues/show_bug.cgi?id=2962 Note you can work around that with this. Create a file called icehack.d: module icehack; import std.json; static if(__traits(compiles, parseJSON("hello"))) {} then on yo

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jimmy Cao
2011/11/20 Johannes Pfau > > > A replacement for std.json > The biggest thing impairing std.json imo is this bug: http://d.puremagic.com/issues/show_bug.cgi?id=2962

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Adam D. Ruppe
Jacob Carlborg Wrote: > If you know a module will break you can keep your own copy and decide if > you want to migrate to the new module or keep the old one. Encouraging countless forks probably isn't a good idea toward building a coordinated community.

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jacob Carlborg
On 2011-11-20 15:28, Adam D. Ruppe wrote: Johannes Pfau Wrote: High performance IO: A reactor / proactor framework Oh that reminds me, I'd like a nice thing for networking too, where you can do something like register callback functions for events and it handles the rest for you. A replaceme

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Piotr Szturmaj
dsimcha wrote: * Encryption and hashing. (This is more an implementation problem than a design problem and AFAIK noone is working on it.) There were some attempts to do so. See "Early std.crypto" thread.

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Adam D. Ruppe
Johannes Pfau Wrote: > High performance IO: A reactor / proactor framework Oh that reminds me, I'd like a nice thing for networking too, where you can do something like register callback functions for events and it handles the rest for you. > A replacement for std.json Blah, that will break a lo

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Adam D. Ruppe
dsimcha Wrote: > * Compression/archiving. (Opening standard compressed/archived file > formats needs to just work. This includes at least zip, gzip, tar and > bzip2. Of course, zip already is available and gzip is supported by the > zlib module but with a crufty C API. I did a patch a coupl

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Mike Wey
On 11/20/2011 04:02 AM, dsimcha wrote: * Streams. (Another item where the bottleneck is mostly at the design level and people not really knowing what they want.) Steven Schveighoffer's new-stdio included a nice stream interface. I don't know what the current state of the module is. -- Mike Wey

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Jacob Carlborg
On 2011-11-20 04:02, dsimcha wrote: Now that we've got a lot of contributors to Phobos and many projects in the works, I decided to start a thread to help us make a rough plan for Phobos's short-to-medium term development. There are three goals here: 1. Determine what's next in the review queue

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Alex Rønne Petersen
On 20-11-2011 11:48, Johannes Pfau wrote: dsimcha wrote: Now that we've got a lot of contributors to Phobos and many projects in the works, I decided to start a thread to help us make a rough plan for Phobos's short-to-medium term development. There are three goals here: 1. Determine what's n

Re: Phobos Wish List/Next in Review Queue?

2011-11-20 Thread Johannes Pfau
dsimcha wrote: >Now that we've got a lot of contributors to Phobos and many projects >in the works, I decided to start a thread to help us make a rough plan >for Phobos's short-to-medium term development. There are three goals >here: > >1. Determine what's next in the review queue after std.csv (

Re: Phobos Wish List/Next in Review Queue?

2011-11-19 Thread Gour
On Sat, 19 Nov 2011 22:02:33 -0500 dsimcha wrote: > 2. Come up with a wish list of high-priority modules that Phobos is > missing that would make D a substantially more attractive language > than it is now. That's probably not for the Phobos, but having clear roadmap for the GUI bindings proj

Re: Phobos Wish List/Next in Review Queue?

2011-11-19 Thread bearophile
dsimcha: > I decided to start a thread to help us make a rough plan for > Phobos's short-to-medium term development. Not too much time ago there was a Phobos wish list thread. I suggest you to take a look at it (it contains my answer too, so I think there is no need to repeat it here). > 2.

Phobos Wish List/Next in Review Queue?

2011-11-19 Thread dsimcha
Now that we've got a lot of contributors to Phobos and many projects in the works, I decided to start a thread to help us make a rough plan for Phobos's short-to-medium term development. There are three goals here: 1. Determine what's next in the review queue after std.csv (voting on std.csv