|
[Sponsors] |
Please Suggestions about source code uploading |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 19, 2005, 00:38 |
Please Suggestions about source code uploading
|
#1 |
Guest
Posts: n/a
|
Dear colleagues!!!
Recently I tryed to include FORTRAN-90 source files. It looks pretty badly. Any suggestions??? |
|
September 19, 2005, 01:00 |
Re: Please Suggestions about source code uploading
|
#2 |
Guest
Posts: n/a
|
See this page
But I dont think this is a good idea for including source files because it can destroy the formatting (which is bad for fortran 77 files) and become painful and messy for large codes. I tried to upload a fortran file but the wiki treats it like an image. If the code is in multiple files then it is better to provide them in *.tar.gz format. However I dont know how we can store and link to such files. Here is some suggestion for providing a source code.
|
|
September 19, 2005, 01:09 |
Re: Please Suggestions about source code uploading
|
#3 |
Guest
Posts: n/a
|
Dear Praveen
Thanks a lot, that's all I needed Of course I'll provide short description. What does mean "author credits"??? (I'm not so good in English, although I work constantly on its improving) |
|
September 19, 2005, 01:22 |
Re: Please Suggestions about source code uploading
|
#4 |
Guest
Posts: n/a
|
"author credits" refers to giving proper reference to the person or persons who wrote the code.
I think we need to agree to some standards regarding source codes. Let us wait for Jonas to get back. |
|
September 19, 2005, 01:30 |
Re: Please Suggestions about source code uploading
|
#5 |
Guest
Posts: n/a
|
This code I developed completely from "0"
Ok, let's wait for Jonas. It's just probe, how it will looks like. |
|
September 19, 2005, 01:57 |
Re: Please Suggestions about source code uploading
|
#6 |
Guest
Posts: n/a
|
you can give urself the credits for this if you have written it, I would adivise you one more thing, if possible write the psuedocode for it, it will be easier to understand then to read the code.
|
|
September 19, 2005, 02:24 |
Re: Please Suggestions about source code uploading
|
#7 |
Guest
Posts: n/a
|
I think a little different. Imagine the first year student who've got the task.
As I already wrote, it took 10 years to understand the matter completely ( although of course there was breaks because of my personal problems). If I had the same information 10 years ago, I would probably be a PhDoc now. So I think it would be better to leave it as it is now, just it will be necessray to make some corrections. It consists of discretization and solving system of linear equations (which we describing). Therefore let's give a student a little work just to copy it. |
|
September 19, 2005, 03:17 |
Re: Please Suggestions about source code uploading
|
#8 |
Guest
Posts: n/a
|
well, yes and no.
It's wonderfull if you find a code that will solve what you need, but you will learn nothing!!! Until you code it yourself, you never get propper understanding of it. I think that something (a flow chart or what it's cold) to help people to understand the probelm and the appoach to code it would be enough. matej |
|
September 21, 2005, 08:15 |
Re: Please Suggestions about source code uploading
|
#9 |
Guest
Posts: n/a
|
If it is a large source file (say longer than a screen length) or several source files that belong together I'd recommend that you upload them as a zip of tar.gz file and then just link to them from the appropriate article/page using a link like this:
[[Media:Filename.tar.gz | Filename.tar.gz]] Only small source codes or source codes that are intended to illustrate a concept or an algorithm should be inlined with the article text I think (enclosed by pre tags ar Preveen showed). Hope that helps. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about uploading SIMPLE-algorithm code | Michail | CFD-Wiki | 8 | December 21, 2014 04:13 |
Uploading files | Salvador | CFD-Wiki | 5 | December 14, 2005 12:24 |
source code | selvam R.P | Main CFD Forum | 0 | November 6, 2005 03:11 |
About uploading files | Jonas Larsson | CFD-Wiki | 1 | September 21, 2005 08:32 |
Image uploading | zxaar | CFD-Wiki | 6 | September 15, 2005 18:36 |