Page 2 of 3

Posted: Sun 13 Mar, 2005 12:23 pm
by kv83
Patori, I hope you don't care, but I started also making something similiar to yours...

I have following idea's:
  • Open Source Programming on all codes (means, everyone can submit a new version of someone else's routine... For example, if CoBB (mastah) see's some unoptimized routine, he could optimize it, and submit it)
  • Different versions. To make sure that nothing is lost when submitting a new version of a routine, the old one is saved aswell. The author of the new one, may described what he changed
  • Rating (as suggested)
  • Experience for users. Users who rate/submit a lot, will raise their exp and therefor their level
  • Of course a good search function
  • A source-view option and a routine-view option. When selecting the source-view, you'll see the whole source including comments and everything, routine-view will give a similiar view as Timendus program.
  • Routines can be bundled into one library. For example grayscale routines can be bundled into the grayscale library.
maybe we could merge them when they are both finished to get best results.... my data model is something like this atm:

Image

I don't hope you hate me now, cause I kinda stole your idea :oops:

P.s.: I forgot to add 'code source' in the datamodel (tblCode)... I always make the datamodel in Access, cause it's easy to build one, and than rebuild it in MySQL by hand.

lol

Posted: Sun 13 Mar, 2005 12:31 pm
by the_unknown_one
Nice kv, but you should make it so the guy whose routine gets updated would be emailed so he knows someone else updated it :)

Posted: Sun 13 Mar, 2005 9:43 pm
by Timendus
kv83 wrote:Image
There's a little problem with that... If you want to store Code_In, Code_out, Code-Destroys etc. seperately, then the submitters have to comment their source according to a strict set of rules. Or they have to give that info when then upload. Either way, it's a lot of work for the coder when you're writing a large library.

There are two ways around that; one is to leave that work to the maintainer(s) of the website. The other is to try to improve my script to autodetect in's out's and destroy's too...

But I'd vote for a combination of the two :)

Upload source -> Website detects routines, variable etc. as good as possible -> Source&info go to admin -> Admin approves (after changing some errors if neccessary) -> Source&info appear on website

Posted: Sun 13 Mar, 2005 9:48 pm
by kv83
The problem with that is that Admins have to research the script to check what the inputs of the routine is (a=the x value, b=the y value for example). This is very time consuming, when not initially given.

I think that every writer of a routine has to know what inputs it needs and outputs it generates. Therefor the in's, out's and detroys (opt.) will have theire own text block which can be used to submit those explanations... rather than searching the source for those tags, it will get those information from seperate textboxs when the source is submitted. Later on, in the source view, the routine-info-box in the source will be commented by the system.

example from DigiTan:

Code: Select all

;------------------------------------------------
;AFBCDEHL       16 by 16                        #
;                                               #
; Draw a 16 by 16 pixel icon                    #
; IN:   HL = points to icon data                #
;       DE = GRAPH_MEM spot to draw icon        #
; OUT:  -nothing-                               #
;------------------------------------------------ 
Also, I don't like the approve thing. The website should maintain it self. Just like sourceforge. Moderator's check routines (in general) afterwards. The rating indicates which routines are good, and which are not.

Posted: Mon 14 Mar, 2005 8:44 pm
by Timendus
* Topic moved to MSN :P

I still think we should have a poll. To find out who's in favour of strict tags in their comments and who's in favour of supplying all the details on the website...

Posted: Mon 14 Mar, 2005 8:56 pm
by kv83
Yeah,

a short summary of our conversation:
  • we agreed that there should be a feature to indicate relations of different routines
  • We also noticed that it is impossible to automate the process to indicate the in's, out's and destroy's.
  • We still don't know which way is better; A multiple textarea form or tags to indicate the different parts in the source
For those of you, who are intrested :P

Posted: Tue 15 Mar, 2005 8:30 am
by kv83
I sat down this morning and changed the data model:

Image

This enables the feature to have routines relationships or dependencies

Posted: Wed 16 Mar, 2005 7:01 pm
by Patori
*drops project*.... copies to folder "c:\Programming\Unfinished Projects"

Posted: Wed 16 Mar, 2005 10:55 pm
by Timendus
Aaah... poor guy :D
Should we (read: kv) add you on MSN so you can keep a say in the project?

Posted: Thu 17 Mar, 2005 8:27 am
by kv83
Yeah, I would like you to be involved in the project... I already added you to MSN, but you are not often online.... :cry:

Posted: Thu 17 Mar, 2005 2:45 pm
by Patori
kv83 wrote:Yeah, I would like you to be involved in the project... I already added you to MSN, but you are not often online.... :cry:
That would be due to my lack of an internet connection... it keeps me slightly suicidal....

Posted: Sun 03 Apr, 2005 2:30 am
by Stickmanofdoom
Sorry to bump this topic, but has there been any progress? I am looking foward to this.

Posted: Sun 03 Apr, 2005 3:40 am
by digiTsai
I could try to do something like this...but I am kinda good in PHP.

Just tell me what to do and I can try. like what do I need to include and stuff

Also, I am kinda confused by your diagram.

Might take me a while.

Posted: Sun 03 Apr, 2005 12:24 pm
by kv83
digiTsai wrote:I could try to do something like this...but I am kinda good in PHP.

Just tell me what to do and I can try. like what do I need to include and stuff

Also, I am kinda confused by your diagram.

Might take me a while.
that's an standard ERD

... anyway, I am already coding it and talking weekly with timendus how to improve the system and testing it and stuff

Posted: Mon 04 Apr, 2005 7:11 pm
by Timendus
It's gonna be cool ;)
But we're both busy people (with girlfriends!) so we can't code around the clock :D