We have a winner!
Thank you all for voting.. it was 4 to 3 for Cormullion vs Cyril
based on the votings we received..
Cormullion, you lucky bastard!, you got again a T-Shirt!
You can pick up you price at Lutz's house, have a coffee and
share the profiling thought ;-) Let us know how the tripp was..
(ps: tripp not included in the price)
Thank you all for your participation!
******************************************************************

The competition is closed, please make your votes!
The winner gets the famous newlisp T-Shirt and 2008 winner fame!
The poll , above, stays for 5 days, counting from today.
Okidoki... Its was very short daylight for this year competition but still we have 2 very nice entry's.
Im not sure if setting pre-tasks as a good way to setup competitions but it was worth trying it and 2 nice contributions came in..!
... within the hour Cyril already posted his calendar contribution...;-)
Cyril and Cormullion are the contributers this year.
See below their code/link..
NEWLISP COMPETITION 2008
..Alright.. it seems people are starting to get a "coding-itch"..
This years competition is predefined and there is only 1 winner.
The code
- must be written in newlisp
- run on all (Linux/MacOS/Windows) newlisp binary's without modification.
- newlisp script must run out of the box, no modifications must be done by the user.
- newlisp script must contain coding comments by author
- compatible from 9.9.9.4 and up. (basicly is should be compatible for rel. 10)
- source code is released under the GNU license from newlisp.
- For the originality "dont borrow code"
- You may select one/many from the options below to participate.
(option #1) A newlisp code profiler
Code: Select all
A program/script that returns a profile of the analized newlisp-script.
The profile result should at least contain:
Preformance information of the analized script.
Could have readability and coding enhancements
How you target your profiler is up to you, main issue is that it
returns valuable information regarding coding/content of the profiled-newlisp-script.
(option #2) A newlisp enhanced parenthesis checker
Code: Select all
A program/script that returns the exact position of the missing/extra paranthesis inside the checked newlisp-script.
(The buildin newlisp intepreter isn't accurate enough, from my point of view, to point out "where" it went wrong..)
The paranthesis check should at least contain:
The exact position of where a paranthese is missing/extra. (line number + char position in that line).
Not check in strings ".." {..} [text]..[/text]
Not check data in comments. ; or #
How you target your paranthesis checker is up to you,
main issue is that it returns accurate information regarding
the paranthesis mismatch (missing/extra) inside the checked newlisp-script.
(option #3) A newlisp AI
Code: Select all
A program/script that demonstrates newlisp and Artificial Intelligence.
Where the script must show its capebility to "learn" from data.
It must use FOOP.
User interaction and manual data-input-feeding is not allowed. (like a chat program)
Ofcourse you can provide data for learning purposes.
http://en.wikipedia.org/wiki/Artificial_intelligence
http://en.wikipedia.org/wiki/Machine_learning
How you target your AI is up to you,
main issue is that it shows/demonstrates that it can "learn" from data.
(option #4) A newlisp calendar
Code: Select all
A program/script should be able to return the name of the day of the given, any!, date as input.
(where monday is the first day of the week).
The calendar should at least return:
The name of the day when entering any date i.e. (10/05/218 = dd/mm/yyyy) as input.
(name of day is "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" "Sunday")
(B.C. notation is mm/dd/-yyyy)
No external date tools are allowed, only newlisp code.
How you target your calendar is up to you,
main issue is that it returns accurate information regarding
the calendar day. Basicly its a "start/endless" calendar.
Enjoy...
PS: questions/answers/suggestions/donations (koffie/beer/milk/cooky's) are welcome.
PPS:
-Competition ends 31st of December 2008 at (23:59:59)
-Please post your code/link befor the 31th of December in this Forum topic