newLisp competition 2007

For the Compleat Fan
newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

newLisp competition 2007

Post by newdep »

newlisp competition



despite my attempt to get a choise in the 'way' of competition, I will make it easier..I have updated this post, see below



Here are the competiton rules:


* The competition is about "showing off" your newlisp quality's

* Everyone can join in

* To contribute your newlisp-work you must be a member of this forum.

* Forum users will vote the best contribution

* There is a maximum of 2 contributions per contributor.

* There will only be 3 winning contributions in this competition. (a first, second and third place)

* Your contribution aka. newlisp-work may be anything, as long as the newlisp language is involved.

* The contribution does not have to be multi OS. But make sure the newlisp-functionality can be verified by the voters. (forum users)

* It is adviced to have a contribution in the english-language but is not required.

* Contribution can be commercial or non-commercial

* You dont have to display your code, but the voters must be able to verify that newlisp-code is involved in your contribution. how? thats up to you.

* The contribution may be GUI or none GUI based.

* Team work is allowed

* Any binding to newlisp is allowed from programming languages to hardware (i.e. a newlisp coffee machine..ofcourse this is allowed ;-)

* The competition ends on 29th of December 2007 at 23:59 GMT!

* Votes must be submitted befor the 29th of december 2007 23:59 GMT!

* Contribution must be submitted in this forum-topic by LINK-TO-URL befor the 29th of December 2007 23:59 GMT!
(users can download and test your contribution, make sure you post your contribution in time and not on the 29th of December at 23:58 GMT..:-)

* Contributions after 29th of december 2007 at 23:59 GMT do not count.

* Shorty befor the 29th of December a time-released VOTING post will open on this forum where you can vote for the best contributions.

* The Winners will be announced in the first week of January 2008.





The Awards

1st price: A singed by Guru printed manual of newlisp and a T-Shirt
the always lasting newLisp fame of winner 2007, which can be use anywhere to bargain for a discount.

2nd Price: a tremendously nice newLisp T-Shirt, which will bring you free
beers at any Perl, Python or .NET party. (on a tray)

3th Price: a very nice newLisp T-Shirt, which gives you access to any
Lisp converence worldwide. (no shot no wins..)



ENJOY! the competition has started !!
Last edited by newdep on Sun Dec 30, 2007 12:07 am, edited 13 times in total.
-- (define? (Cornflakes))

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

what's the prize?

But seriously - I think this is a great idea. If it's not too hard, I'll have a go...

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

My contribution for 2005 was a real world project from my job.

http://www.alh.net/newlisp/phpbb/viewtopic.php?t=917

So what sort of competition material is accepted for 2007?
Only open source?
Academic fun coding?

The followup project from that product configurator 2005 is in the works now, but far more complex and bigger.
I am not sure if it will meet the deadline (I hope so) but I will not have much time to code for fun-projects.
(Ok, newLISP programming is always fun ;-) )

So when it would be acceptable, it may be possible to put it into the new competition.
Hans-Peter

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

See also above...

(1) free format newlisp code, every one does its own thing?

or

(2) By assignment, we all work on a simmular project but individual

or

(3) someting else..your input please...


Its up to the users to make up "what" and "how we do this contest this year...

I think if enough people reactie on this topic we will have a competiton target by the end of this month.. ;-)




The Price ..Well I think i have to have a chat with Lutz about this again ;-)

PS: Hereby I also invite Lutz to join in too for the competition ! ;-)
-- (define? (Cornflakes))

tom
Posts: 168
Joined: Wed Jul 14, 2004 10:32 pm

Post by tom »

I think a newlisp-only backup solution would be great to have. copy a directory structure to another directory structure with the new one all gzipped. With error checking, and maybe the ability to make an iso, or store remotely...

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

Nice idea tom.. its noted as an "assignment option" ;-)




Btw, to all, keep in mind that newlisp will have a new GUI this year,
probably also with 2d effects! Thus the challange is perhpas even bigger ;-)
-- (define? (Cornflakes))

Dmi
Posts: 408
Joined: Sat Jun 04, 2005 4:16 pm
Location: Russia
Contact:

Post by Dmi »

tom wrote:I think a newlisp-only backup solution would be great to have. copy a directory structure to another directory structure with the new one all gzipped. With error checking, and maybe the ability to make an iso, or store remotely...

Code: Select all

cp -r $src $dest
find $dest -type f -exec gzip {} \;
Also there is rsync and tar for similar purposes ;-)

More seriously, in a real production backup system the most major will not be a short algorithmic thigs, but a strategical things such as incremental/differential methods, media pools, media types, etc., which are requires a good practical backup competition.
WBR, Dmi

Ryon
Posts: 248
Joined: Thu Sep 26, 2002 12:57 am

Post by Ryon »

No! Not gzipped, but spread across several hard disks. Like FreeNAS with a JBOD software RAID-Z2. With encryption.

That's a mouthful to say, but I think it would be an eminently-doable, killer app. People would love to use their old hard disks for failure-resistant backup. I sure would!

rickyboy
Posts: 607
Joined: Fri Apr 08, 2005 7:13 pm
Location: Front Royal, Virginia

Re: newLisp competition 2007

Post by rickyboy »

To me, there is a "pre-competition" here:
newdep wrote:So My question to the public?

(a) what shall we do... (1) or (2) or something else...

(b) If (2) or something else, what assigment do we target?
The winning entry here will be the guidelines for the main competition. Maybe we should think about a prize for this one too. :-)

Here's my entry for the pre-competition: let's do a combination of (1) and (2), i.e. let some people compete for the same or similar goals, others will do something unique. We should also allow for individual entries *and* collaborative, or team, entries. We don't even have to have separate categories of prizes for these -- teams can compete against individuals or other teams (make it a simple administration). What do you think?

--Ricky

P.S. -- My project ideas for the main competition will follow soon.
(λx. x x) (λx. x x)

HPW
Posts: 1390
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany
Contact:

Post by HPW »

* The contribution does not have to be multi OS. But make sure the newlisp-functionality can be verified by the voters. (forum users)
The competition rules are very flexible, but how does a MAC only forum user verify a win only solution and vice versa?
Hans-Peter

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

Yes good one ;-)

The same goes for Unix only and Windows only applications..

I dont want to rule-out specific applications so we might need to think
of a honoust solution for this..

Its not easy to check that..although forum users can vote I think we need
an independend person per OS to verify indeed that the application works on a
specific OS..Screendumps are welcome and perhaps good documentation if
the application is too difficult to track from a screendump..

Norman.
-- (define? (Cornflakes))

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

I think that the obvious subject for a competition is "design something cool with the gui-server"... New features need lots of examples and cool demos.

I also think that the newlisp/gui/server stuff needs a nice name for reffring to it. Perhaps that's another competition?

My suggestion: "Aeshna". It doesn't stand for anything. Although it could do: "advanced environment supporting high-level newlisp actions".

rickyboy
Posts: 607
Joined: Fri Apr 08, 2005 7:13 pm
Location: Front Royal, Virginia

Post by rickyboy »

cormullion wrote:I think that the obvious subject for a competition is "design something cool with the gui-server"... New features need lots of examples and cool demos.
Whoa! Not so fast, cormullion. :-) Considering that you were asking about how best to configure or change the wiki, how about designing a plugin framework for the wiki? Now that would be cool. It would make adding functionality, like calendars, image/file uploads, spam control for posting, etc., a LOT easier. What do you think?
(λx. x x) (λx. x x)

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

Yup - that's a great idea! It would certainly be useful...

m35
Posts: 171
Joined: Wed Feb 14, 2007 12:54 pm
Location: Carifornia

Post by m35 »

Would anyone else find a Lint-like tool for newlisp useful? ("newLint"?) I can't think of a tool that I could want more than that.

* Ensure proper data is being passed between functions
* Check for use of uninitialized symbols
* Check for unintended global variables
* etc...

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

That would be a nice to have indeed ;-) But i dont think its easy to build...

But if you build it, perhpas a "Profiler" like tool is also great... It grabs the bottle-necks from the code and advices where to update for speed ;-)

Norman.
-- (define? (Cornflakes))

rickyboy
Posts: 607
Joined: Fri Apr 08, 2005 7:13 pm
Location: Front Royal, Virginia

Post by rickyboy »

Hey Norman!

Here is a good idea for a project for the competition: http://www.alh.net/newlisp/phpbb/viewtopic.php?t=1612. :-)

The GUI front-end can be coded using the new guiserver.
(λx. x x) (λx. x x)

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

Haha..yes yes newlispRobot is still in progress but im currently at a dead-end..

The idea was to have somekind of a Virtual-Machine running where the robots
could be executed inside, but thats impossible at the moment...Which makes the
project a little more Client-dependent..

The project is still on my desktop :-)
-- (define? (Cornflakes))

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

So, is anyone going to enter this competition... ?! :-)

I hope that it's about to awake from summer hibernation (not characteristic of dragonflies, it's true, but holidays perhaps...)

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

I can't vote for anybody else, so I'll have to start by entering two of mine and hope that encourages you lot! :-).

I'm going to enter them for the 'Not Very Lisp-y But Possibly Useful Category'.

-------
1: Markdown-interactive.

This is based on the version of Markdown which I'm using to write entries for my site. It's a kind of testing setup which I'm using.

Image

This is still a work-in-progress (I try to fix one bug every month :-)!

(Note that this file didn't seem to be processed correctly by syntax.cgi so it's a direct download link...)

-------
2: RegexTester

In the same vein, I'm afraid, here's another testing thing I've used a lot. It's called RegexTester, or Grepper, or Tyrannosaurus Regex. Something.

Image

--------
Both these should work on all platforms, and they're obviously free and un-commercial.

Next time, I hope to have left regular expression hell behind, and moved on to more Lisp-y adventures...!

Countdown:

Code: Select all

(println
  (format "%02dd %02dh %02dm %02ds" 
    (letn 
     ((t (- (parse-date {2007-12-29 23:59:59} {%Y-%m-%d %H:%M}) (date-value)))
      (d (% (/ t 86400) 86400))
      (h (% (/ t 3600) 24))
      (m (% (/ t 60) 60))
      (s (% t 60))
     )
    (list d h m s)
    )
  )
)
Edit: URL updated. If you want a painted version of markdown-interactive, go via the main page. And I'm still working on this script off and on, so it doesn't always work... :-)
Last edited by cormullion on Tue Dec 04, 2007 4:49 pm, edited 1 time in total.

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

Fantastic applications !!!

Now lets see who will join in, (I will :-)

PS: I had troubles commenting on you Blog website! some html mixup error it seemed...
-- (define? (Cornflakes))

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

Sorry about the commenting. It ought to work, but sometimes doesn't...

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

Another chear!
..you can jump what you want but I havnt seen many applications
this usefull around for years!!!.... I like the them both!! great job.. I hope
you keep them tuned ;-)
-- (define? (Cornflakes))

rickyboy
Posts: 607
Joined: Fri Apr 08, 2005 7:13 pm
Location: Front Royal, Virginia

Post by rickyboy »

cormullion wrote:1: Markdown-interactive.

This is based on the version of Markdown which I'm using to write entries for my site. It's a kind of testing setup which I'm using.
I've written something similar to this, by re-writing Lutz's format-line function in the wiki. I changed it to a bunch of transforms that act on the whole page, not line-by-line. However, after looking at Pete's code, I may just have to purloin it, and use it instead of mine.

Actually I have started already. Here is a picture of me getting ready to steal his code.

Image

I actually can't bring myself to steal anything, unless I put the outfit on. :-)
(λx. x x) (λx. x x)

newdep
Posts: 2038
Joined: Mon Feb 23, 2004 7:40 pm
Location: Netherlands

Post by newdep »

I exactly know what you mean.. Ill take your advice when stealing code (although i never tent to do that this is a great workaround ..hahahah)
-- (define? (Cornflakes))

Locked