PowerBASIC Forums
  Cafe PowerBASIC
  Programming Contest Announced (Page 1)

Post New Topic  Post A Reply
profile | register | preferences | faq | search

UBBFriend: Email This Page to Someone!
This topic is 4 pages long:   1  2  3  4 
next newest topic | next oldest topic
Author Topic:   Programming Contest Announced
Michael Mattias
Member
posted March 20, 2005 08:03 PM     Click Here to See the Profile for Michael Mattias     Edit/Delete Message   Reply w/Quote
The Programming contest referenced at .. http://www.powerbasic.com/support/forums/Forum12/HTML/001601.html ...is now 'open for business'

You may pick up a ZIP file containing complete rules in rich text format and the required test file at:

http://www.talsystems.com/contest12/contest12.zip

No real need to rush, the deadline for entries is April 20 2005

Just a couple of 'common questions' which are addressed in the document, but which you might like answered before you download a 1.5 Mb ZIP file:

- You may create your entry using PB/CC versions 2.x thru 4.x, or with PowerBASIC for Windows versions 6.x through 8.x.

- No contestant's name or score will be made public without further approval from that contestant EXCEPT... if you win and claim a prize, that constitutes automatic permission to make your name and scores public. No one, even the raw beginner, need avoid entering for fear of embarrassment. If you win a prize, it can't be all bad to have that announced, can it?

- Every contestant will personally get all his/her scores aolong with any comments the judges add.

- Yes, I modified the earlier rules a little.

- Yes, I modified the earlier test file a little.

- No, I did not include the correct answers. (But I'm still thinking about sending them on request, either before or after you enter). (I wanted to get this started).

- Scoring is 50 percent objective, 50 percent subjective; and you can earn up to 20 percent bonus points if you knock one or more judges' socks off. THIS IS NOT A 'MY CODE IS FASTER THAN YOUR CODE' CONTEST. While "acceptable" speed is a scored requirement, design, code style, maintainability and creativity count far more than raw speed.

I note in the document there will likely be questions which arise (i.e., rules I forgot to invent) and there will be updates to the document over the next couple of weeks... watch here, or if you have already entered, you will get an email notification of updates.

Entries, questions, or other communications should be directed to the official contest email address contest12@talsystems.com

Again, thank you to contestants, sponsors and judges alike. I am looking forward to sitting back and enjoying this.


------------------
Michael Mattias
Tal Systems Inc.
Racine WI USA
mmattias@talsystems.com
www.talsystems.com

IP: Logged

Elias Montoya
Member
posted March 21, 2005 01:04 AM     Click Here to See the Profile for Elias Montoya     Edit/Delete Message   Reply w/Quote

Michael, in the rules DOC, you forgot to mention a prize,
Don Dickinson also donated a copy od Ddoc Print and Preview
engine.
http://www.powerbasic.com/support/forums/Forum12/HTML/001601-3.html

Elias

------------------
Egrid32 Grid Control - Form Designer for Egrid32 - Print Engine for Egrid32
www.sweetheartgames.com

IP: Logged

Michael Mattias
Member
posted March 21, 2005 09:38 AM     Click Here to See the Profile for Michael Mattias     Edit/Delete Message   Reply w/Quote
> you forgot to mention a prize,Don Dickinson also donated a copy od Ddoc Print and Preview

My bad. You know when I was writing up that document, I thought he had done that.. and I looked and looked but went right past it. I wanted to get the document done last night, but did not want to make a commitment for Don based on my own bad memory and/or inability to read the posts.

Well, that makes for the first update to the document...

I think I should probably also store the 'document only' separate from the ZIPped test file.. no sense making anyone re-download a 1.5 Mb ZIP file when all that changed is a 40K richtext file...

IP: Logged

Paul Squires
Member
posted March 21, 2005 05:49 PM     Click Here to See the Profile for Paul Squires     Edit/Delete Message   Reply w/Quote
This is such a cool contest - I wish that I could play!

Hopefully this one will go over well so that we can have another
one again next year.

------------------
Paul Squires
FireFly Visual Designer, Cheetah Database System, JellyFish Pro Editor
www.planetsquires.com

IP: Logged

Michael Mattias
Member
posted March 21, 2005 05:59 PM     Click Here to See the Profile for Michael Mattias     Edit/Delete Message   Reply w/Quote
>This is such a cool contest - I wish that I could pl

Nothing to prevent you from submitting an entry for this one...except you can't win anything.

I could always make up a section to post, "How some more experienced programmers solved the problem" which we post only after the 'regular' contest is over.

Hmm... I kind of like that idea....

Anyone legitimate contestants please let me know if that would be a nice "parting gift" for those who do not win prizes and I'll beat some of the old farts over the head to create an entry. Then YOU can judge THEM!!

contest12@talsystems.com

IP: Logged

Elias Montoya
Member
posted March 21, 2005 06:06 PM     Click Here to See the Profile for Elias Montoya     Edit/Delete Message   Reply w/Quote

Maybe next year we could organize a contest for advanced
PB programmers... some thing like... maybe... for example...
creating a custom control? JK.

Im looking forward to see the results of this contest!!

Elias

------------------
Egrid32 Grid Control - Form Designer for Egrid32 - Print Engine for Egrid32
www.sweetheartgames.com

IP: Logged

Robert DeBolt
Member
posted March 22, 2005 12:33 AM     Click Here to See the Profile for Robert DeBolt     Edit/Delete Message   Reply w/Quote
quote:
6. Test file: information. This is not a carbon copy of the file used for the "other language" version of this contest. ... Contest12.rtf

Yes it is.

Unless I downloaded the wrong zip file.

------------------
Regards,
Bob

[This message has been edited by Robert DeBolt (edited March 22, 2005).]

IP: Logged

Roger Garstang
Member
posted March 22, 2005 12:37 AM     Click Here to See the Profile for Roger Garstang     Edit/Delete Message   Reply w/Quote
Original file was in a Unix type format and had incorrect CrLf's.

Michael has fixed that along with removing the extra text. At least
at first glance that is all he has done...who knows what other things
could have been changed...it is a big file. Although on a computer it
seems small. You'd think the entire Bible would be more than that.

------------------
If you aim at nothing...you will hit it.

IP: Logged

Roger Garstang
Member
posted March 22, 2005 12:48 AM     Click Here to See the Profile for Roger Garstang     Edit/Delete Message   Reply w/Quote
According to the new rules, a designer may be used as long as it
doesn't require 3rd Party DLLs to compile/run, etc. So, does this
mean FireFly is allowed, or is it still out? I was hoping the new
Forms would support pixels better, but it didn't...plus other things
I've gotten used to in SDK apps Forms/DDT can't do.

Plus, even being half done in Forms I can start from scratch and be done
quicker than I would have in Forms. FF allows better modification after
the design is done...in Forms once you design and start coding and tweaking
things it makes it very difficult to modify the design.

------------------
If you aim at nothing...you will hit it.

[This message has been edited by Roger Garstang (edited March 22, 2005).]

IP: Logged

Brad D Byrne
Member
posted March 22, 2005 01:01 AM     Click Here to See the Profile for Brad D Byrne     Edit/Delete Message   Reply w/Quote
>".... Maybe next year we could organize a contest for advanced
PB programmers...."

hehehe.. well I'm not sure.. Elias..

I think beating the numbers Paul Dixon showed us earlier might be pretty
tough even for an advanced guy!!

------------------
Washington DC Area
Borje's "Poff's" is likely the BEST tool for learning PB.. http://www.tolkenxp.com/pb
And a few PBTool's & Beginner Help:http://sweetheartgames.com/PBTools/JumpStart.html

IP: Logged

Roger Garstang
Member
posted March 22, 2005 01:05 AM     Click Here to See the Profile for Roger Garstang     Edit/Delete Message   Reply w/Quote
I'm curious to know how he did it after the contest, and if it does
all the requirements.

------------------
If you aim at nothing...you will hit it.

IP: Logged

Paul Dixon
Member
posted March 22, 2005 06:25 AM     Click Here to See the Profile for Paul Dixon     Edit/Delete Message   Reply w/Quote
Roger,
the code met the requirements as specified at that time. There have been some changes for the real competition, treating the first 7 characters of a record as a special case and differently if it contains the word "book" to when it doesn't.
Also, counting the substitutions has been added to the requirements and the file to process is different. My code now runs in 0.25s (Athlon 1.9GHz) but isn't quite finished to cover the new rules.

Brad,
<<I think beating the numbers Paul Dixon showed us earlier might be pretty tough even for an advanced guy!! >>

I wouldn't expect to win if I entered the competition, although the code is fast and (I think) well designed, it has a negligible user interface, no fancy bits, is not very maintainable, has no error checking etc.. .

A maximum of 13 points out of 120 are available for speed (5 for "speed/resource usage" plus 8 for "technical excellence", which includes speed) so there are plenty points to be picked up elsewhere.


Paul.

------------------

IP: Logged

Brad D Byrne
Member
posted March 22, 2005 08:42 AM     Click Here to See the Profile for Brad D Byrne     Edit/Delete Message   Reply w/Quote
yep!! I didn't want to discourage anyone from entering this great
competition... I just wanted to point out that there is much to learn
here for everyone.. reguardless of how many years experience they have..

------------------
Washington DC Area
Borje's "Poff's" is likely the BEST tool for learning PB.. http://www.tolkenxp.com/pb
And a few PBTool's & Beginner Help:http://sweetheartgames.com/PBTools/JumpStart.html

IP: Logged

Michael Mattias
Member
posted March 22, 2005 08:50 AM     Click Here to See the Profile for Michael Mattias     Edit/Delete Message   Reply w/Quote
quote:

According to the new rules, a designer may be used as long as it
doesn't require 3rd Party DLLs to compile/run, etc. So, does this
mean FireFly is allowed, or is it still out?

I do not know Firefly.

The idea is the judges (and other programmers who might like to compile and run the winning entries when they are posted at the conclusion of the contest) must be able to compile and run an entry without installing anything other than the "basic" PowerBASIC compiler. What is allowed is icon and bitmaps and other resources required to compile the resource. (Note that at a minimum a version resource is now required).

If Firefly requires a DLL be installed to compile or execute, it's out.

If you can use Firefly to generate code, which can then be compiled by the judges, it's in. Of course, then the generated code is the code which will be judged. (Note that code will be judged for clarity, maintainability, etc).

But I'd suspect the judges won't be awarding a whole lot of bonus points to third-party-products users. (I'll guarantee were I judging - which I am not - you'd lose points, but I am kind of anal about these things).


[This message has been edited by Michael Mattias (edited March 22, 2005).]

IP: Logged

Michael Mattias
Member
posted March 22, 2005 09:09 AM     Click Here to See the Profile for Michael Mattias     Edit/Delete Message   Reply w/Quote
quote:

I think beating the numbers Paul Dixon showed us earlier might be pretty tough even for an advanced guy

Please refer to above:

quote:

THIS IS NOT A 'MY CODE IS FASTER THAN YOUR CODE' CONTEST

Of course, putting together a bunch of XY-chromosome types will nearly always result in some form of "My <whatever> is <faster|bigger|better> than yours."

What would serve you right is for a contestant lacking a Y-chromosome to enter and win - or at least, beat your score. Let's see you live that one down, huh?

IP: Logged


This topic is 4 pages long:   1  2  3  4 

All times are EasternTime (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | PowerBASIC BASIC Compilers

Copyright © 1999-2007 PowerBASIC, Inc. All Rights Reserved.


Ultimate Bulletin Board 5.45c