Category talk:Programming Tasks
New Programming Tasks
Why have both this category and Category:Solutions by Programming Task?
Surely just one category is sufficient? --IanOsgood 11:25, 13 September 2007 (MDT)
- Seconded --Mwn3d 23:26, 4 December 2007 (MST)
- I don't know why, for certain. I did notice that not all of the tasks in this category are in Solutions by Programming Task, though. I prefer the "Solutions by" naming scheme, myself. --Short Circuit 09:32, 5 December 2007 (MST)
- There's value to both; one is just a collection of all tasks, and the other is organized more by theme. –Donal Fellows 16:30, 4 September 2010 (UTC)
I agree with Donal: Both lists are useful. One is alphabetical, the other is grouped. We just need a link to the categorized list in the left hand column now. I suggest we have "By Category" under the word "Tasks" in the left hand column.
Markhobley 10:27, 29 May 2011 (UTC)
Sort programming tasks
We really need to have the ability to sort the programming tasks not only alphabetically but also chronologically. As it stands now, it's almost impossible to know which programming tasks have been added (or updated) recently. It's also difficult to know whether a task you have suggested has been accepted and added as an 'official' task for others to start solving. Francogrex 8:05, 06 October 2011 (UTC)
- To solve the first problem we have this link from the main page. For the other one I just watch Special:RecentChanges to see when a task gets created. You can get an RSS feed for that or just reload it all the time (which is what I do). --Mwn3d 14:08, 7 October 2011 (UTC)
Are there any Recursion Tasks?
I was hoping to find some recursion examples. Because some languages cannot perform recursion, I suppose that is enough reason not to include them, but if I just missed it I would like to know where these tasks could be found. Thanks --Rlrandallx 10:52, 23 February 2012
Return the string to the left or right of a search string
I have a whole series of string manipulation functions I have written in C# and Objective-C that search within a string to find a substring and return the content to the left, right or between the occurrence of the search string.
How do I add my code example and get these included in the list so others can contribute their versions in the other languages?
This program aims to multiply 2 arbitrary-length decimal numbers and returns the output in decimal number format by using linked list structure.
== Producer-Consumer Pattern
This task demonstrates examples of the producer-consumer pattern in the chosen language. There are several variations on the producer-consumer pattern including synchronous, asynchronous, bounded queue, and unbounded queue. The simplest implementation of a producer-consumer has one producing task or thread and one consuming task or thread. More complex implementations may have 1..P producers and 1..C consumers. The number of producers and consumers need not be the same. A producer-consumer implementation may require that every data item produced by the producer(s) must be consumed exactly once by one of the consumers, or it may require that the consumer(s) only sample the data produced by the producer(s). An example of a sampling application might be an automated weather station. The weather station may produce temperature readings at a rate of 100Hz while the consumer displaying those readings on a website may only display changes at a rate of 1Hz. The consumer only needs to display one reading per second and can ignore 99 readings every second.