www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Queue in Tango

reply "Andrei Alexandrescu (See Website For Email)" <SeeWebsiteForEmail erdani.org> writes:
I need to use a queue. Does Tango have a collection that does the trick 
(unlimited size, O(1) push to front, O(1) pop from back)?

Thanks,

Andrei
Mar 21 2007
parent reply Lars Ivar Igesund <larsivar igesund.net> writes:
Andrei Alexandrescu (See Website For Email) wrote:

 I need to use a queue. Does Tango have a collection that does the trick
 (unlimited size, O(1) push to front, O(1) pop from back)?
 
 Thanks,
 
 Andrei

This question can be appropriatly answered in the Tango HowTo forum over at the Tango website (http://www.dsource.org/projects/tango). -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Mar 21 2007
parent reply BCS <BCS pathlink.com> writes:
Lars Ivar Igesund wrote:
 Andrei Alexandrescu (See Website For Email) wrote:
 
 
I need to use a queue. Does Tango have a collection that does the trick
(unlimited size, O(1) push to front, O(1) pop from back)?

Thanks,

Andrei

This question can be appropriatly answered in the Tango HowTo forum over at the Tango website (http://www.dsource.org/projects/tango).

<rant> You assume that Andrei would be willing to use a web page based forum. In my case I'd rather figure it out my self than do that. reasons why I don't like forums: 1) it uses a web page to access it 2) I can't read the stuff without being on-line 3) gobs of bandwidth for stuff I don't need/want (formatting, images, etc.) 4) no "grab everything and show it to me" 5) no threading (it's all flat with no hierarchy) </rant>
Mar 21 2007
next sibling parent reply Lars Ivar Igesund <larsivar igesund.net> writes:
BCS wrote:

 Lars Ivar Igesund wrote:
 Andrei Alexandrescu (See Website For Email) wrote:
 
 
I need to use a queue. Does Tango have a collection that does the trick
(unlimited size, O(1) push to front, O(1) pop from back)?

Thanks,

Andrei

This question can be appropriatly answered in the Tango HowTo forum over at the Tango website (http://www.dsource.org/projects/tango).

<rant> You assume that Andrei would be willing to use a web page based forum. In my case I'd rather figure it out my self than do that. reasons why I don't like forums: 1) it uses a web page to access it 2) I can't read the stuff without being on-line 3) gobs of bandwidth for stuff I don't need/want (formatting, images, etc.) 4) no "grab everything and show it to me" 5) no threading (it's all flat with no hierarchy) </rant>

No, I don't assume anything regarding what Andrei would like best, I usually find NG much to my liking myself. But it is much more likely that a question about Tango is properly answered in the Tango forums, than here, because 1) the traffic there is always Tango related and thus unlikely to get bypassed, 2) the content there is searchable in a Tango context and thus easier to find for those who have the same questions, 3) D code can be syntax highlighted, 4) we can use the Trac wiki features in the posts, making links to tickets, wiki pages, making for a much more coherent and easily accessible (as long as you have a browser and is online, admittedly, but then you have to be online from time to time to read newsgroups too) experience for those seeking information about Tango. -- Lars Ivar Igesund blog at http://larsivi.net DSource, #d.tango & #D: larsivi Dancing the Tango
Mar 21 2007
parent BCS <ao pathlink.com> writes:
Reply to Lars,

 BCS wrote:
 
 <rant>
 
 You assume that Andrei would be willing to use a web page based
 forum. In my case I'd rather figure it out my self than do that.
 
 reasons why I don't like forums:
 1) it uses a web page to access it
 2) I can't read the stuff without being on-line
 3) gobs of bandwidth for stuff I don't need/want (formatting, images,
 etc.) 4) no "grab everything and show it to me"
 5) no threading (it's all flat with no hierarchy)
 </rant>
 

No, I don't assume anything regarding what Andrei would like best,

I don't intend to clam that a forum won't work, Just that I *vary much* dislike them. Considering some of the features you mentioned, I can see why others do, but I don't think there is a feature set that would overcome my dislikes. Mostly that was in hopes that an NG could get started over on dsource. (I have no expectations, only hope.)
Mar 21 2007
prev sibling next sibling parent "Andrei Alexandrescu (See Website For Email)" <SeeWebsiteForEmail erdani.org> writes:
BCS wrote:
 Lars Ivar Igesund wrote:
 Andrei Alexandrescu (See Website For Email) wrote:


 I need to use a queue. Does Tango have a collection that does the trick
 (unlimited size, O(1) push to front, O(1) pop from back)?

 Thanks,

 Andrei

This question can be appropriatly answered in the Tango HowTo forum over at the Tango website (http://www.dsource.org/projects/tango).

<rant> You assume that Andrei would be willing to use a web page based forum. In my case I'd rather figure it out my self than do that. reasons why I don't like forums: 1) it uses a web page to access it 2) I can't read the stuff without being on-line 3) gobs of bandwidth for stuff I don't need/want (formatting, images, etc.) 4) no "grab everything and show it to me" 5) no threading (it's all flat with no hierarchy) </rant>

This happens to be true in my case too, but sending people over to the forum is entirely understandable. Probably my question has a slam-dunk answer over there, and it's very nice that that place exists in the first place. I sure don't want to subscribe to the attitude that my question should be answered here and in a timely manner. Andrei
Mar 21 2007
prev sibling next sibling parent Pragma <ericanderton yahoo.removeme.com> writes:
BCS wrote:
 Lars Ivar Igesund wrote:
 Andrei Alexandrescu (See Website For Email) wrote:


 I need to use a queue. Does Tango have a collection that does the trick
 (unlimited size, O(1) push to front, O(1) pop from back)?

 Thanks,

 Andrei

This question can be appropriatly answered in the Tango HowTo forum over at the Tango website (http://www.dsource.org/projects/tango).

<rant> You assume that Andrei would be willing to use a web page based forum. In my case I'd rather figure it out my self than do that. reasons why I don't like forums: 1) it uses a web page to access it 2) I can't read the stuff without being on-line 3) gobs of bandwidth for stuff I don't need/want (formatting, images, etc.) 4) no "grab everything and show it to me" 5) no threading (it's all flat with no hierarchy) </rant>

/me makes a mental note to get RSS support folded into tracforums /soon/. -- - EricAnderton at yahoo
Mar 22 2007
prev sibling parent reply Sean Kelly <sean f4.ca> writes:
BCS wrote:
 Lars Ivar Igesund wrote:
 Andrei Alexandrescu (See Website For Email) wrote:


 I need to use a queue. Does Tango have a collection that does the trick
 (unlimited size, O(1) push to front, O(1) pop from back)?

 Thanks,

 Andrei

This question can be appropriatly answered in the Tango HowTo forum over at the Tango website (http://www.dsource.org/projects/tango).

<rant> You assume that Andrei would be willing to use a web page based forum. In my case I'd rather figure it out my self than do that.

I prefer newsgroups as well, but in defense of the Tango forum, it does full D syntax highlighting. That's a very nice perk when giving code examples. Sean
Mar 22 2007
parent reply Aarti_pl <aarti interia.pl> writes:
Sean Kelly napisał(a):
 BCS wrote:
 Lars Ivar Igesund wrote:
 Andrei Alexandrescu (See Website For Email) wrote:


 I need to use a queue. Does Tango have a collection that does the trick
 (unlimited size, O(1) push to front, O(1) pop from back)?

 Thanks,

 Andrei

This question can be appropriatly answered in the Tango HowTo forum over at the Tango website (http://www.dsource.org/projects/tango).

<rant> You assume that Andrei would be willing to use a web page based forum. In my case I'd rather figure it out my self than do that.

I prefer newsgroups as well, but in defense of the Tango forum, it does full D syntax highlighting. That's a very nice perk when giving code examples. Sean

Maybe "d.D.dtl" could be renamed into "d.D.tango" to make it easier to communicate for people who don't care so much about code highlighting but prefer news groups? I personally also prefer them as they are IMHO much "faster" in use... BR Marcin Kuszczak (aarti_pl)
Mar 22 2007
parent reply Charlie <charlie.fats gmail.com> writes:
Aarti_pl wrote:
 Sean Kelly napisał(a):
 BCS wrote:
 Lars Ivar Igesund wrote:
 Andrei Alexandrescu (See Website For Email) wrote:


 I need to use a queue. Does Tango have a collection that does the 
 trick
 (unlimited size, O(1) push to front, O(1) pop from back)?

 Thanks,

 Andrei

This question can be appropriatly answered in the Tango HowTo forum over at the Tango website (http://www.dsource.org/projects/tango).

<rant> You assume that Andrei would be willing to use a web page based forum. In my case I'd rather figure it out my self than do that.

I prefer newsgroups as well, but in defense of the Tango forum, it does full D syntax highlighting. That's a very nice perk when giving code examples. Sean

Maybe "d.D.dtl" could be renamed into "d.D.tango" to make it easier to communicate for people who don't care so much about code highlighting but prefer news groups? I personally also prefer them as they are IMHO much "faster" in use... BR Marcin Kuszczak (aarti_pl)

Good idea!
Mar 22 2007
parent "David B. Held" <dheld codelogicconsulting.com> writes:
Charlie wrote:
 Aarti_pl wrote:
 Sean Kelly napisał(a):
 BCS wrote:
 Lars Ivar Igesund wrote:
 Andrei Alexandrescu (See Website For Email) wrote:


 I need to use a queue. Does Tango have a collection that does the 
 trick
 (unlimited size, O(1) push to front, O(1) pop from back)?

 Thanks,

 Andrei

This question can be appropriatly answered in the Tango HowTo forum over at the Tango website (http://www.dsource.org/projects/tango).

<rant> You assume that Andrei would be willing to use a web page based forum. In my case I'd rather figure it out my self than do that.

I prefer newsgroups as well, but in defense of the Tango forum, it does full D syntax highlighting. That's a very nice perk when giving code examples. Sean

Maybe "d.D.dtl" could be renamed into "d.D.tango" to make it easier to communicate for people who don't care so much about code highlighting but prefer news groups? I personally also prefer them as they are IMHO much "faster" in use... BR Marcin Kuszczak (aarti_pl)

Good idea!

I would like to see DTL resurrected, so I would prefer to see a separate d.D.tango newsgroup. Dave
Mar 22 2007