Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
GeneralRe: RegEx Not Properly Matching Pin
Richard Deeming4-Jan-21 22:28
mveRichard Deeming4-Jan-21 22:28 
AnswerRe: RegEx Not Properly Matching Pin
Gerry Schmitz26-Dec-20 14:54
mveGerry Schmitz26-Dec-20 14:54 
AnswerRe: RegEx Not Properly Matching Pin
jschell29-Dec-20 6:46
jschell29-Dec-20 6:46 
GeneralRe: RegEx Not Properly Matching Pin
#realJSOP30-Dec-20 3:16
mve#realJSOP30-Dec-20 3:16 
AnswerRe: RegEx Not Properly Matching Pin
Richard Deeming4-Jan-21 22:37
mveRichard Deeming4-Jan-21 22:37 
Questionsource code Pin
Member 1503068825-Dec-20 23:41
Member 1503068825-Dec-20 23:41 
AnswerRe: source code Pin
Sandeep Mewara25-Dec-20 23:51
mveSandeep Mewara25-Dec-20 23:51 
QuestionData format for non-computerist editing Pin
trønderen22-Dec-20 10:23
trønderen22-Dec-20 10:23 
This is a more 'philosophical' question. As I will handle it in C#/WPF, I guess that it isn't that off topic top here:

I have this friend asking me to write software for trying out one of his pet theories, an engineering field far from mine. Essentially, I will program a simulation model for him. My task is as a coding monkey - he knows enough about software to understand what I am doing, but cannot contribute himself beyond providing formulas (which I code, but to not understand). We are close friends, that part causes little problems.

Both input data and results are essentially tabular data - time series and the like. He asks me: Can't you make both input and output as text files, so I can modify them using npp or notepad or something like that?

Even though my friend knows several (natural) languages, he never studied formal grammars. So I am scared, thinking of the input I might have to handle Smile | :)

I proposed: You either input interactively (mostly single-value parameters) interactively, or you supply data as an Excel file. Not like a free-format CSV file! I certainly do consider CSV a 'free-format' file if you let non-computerists in to edit it directly (and maybe even with computerists!).

My friend seemed was open to my suggestion to use Excel tables - but his version is Excel 2003... Yet, I do believe that it better to have him funnel his data through Excel 2003, so that I know it to be in that format, rather to assume that he will be able supply data in some more liberal format (such as one of the numerous variations of CSV, each with its quoting rules etc.)

Is this the right thing to do - forcing my friend to supply all input data as .xls/.xlsx spreadsheet file, and providing results in a similar format? Or is there a better alternative? That must be one that to a similar degree relieves me having to parse arbitrary input formats with arbitrary syntax errors Smile | :)

My friend is a 'common man', so *nix solutions are ... nix. We view the world through Windows. Then, is Excel what I should try to push as The Format for both input and output data? Or should I push him in a different direction, towards another alternative?
AnswerRe: Data format for non-computerist editing Pin
OriginalGriff22-Dec-20 11:05
mveOriginalGriff22-Dec-20 11:05 
GeneralRe: Data format for non-computerist editing Pin
trønderen22-Dec-20 14:26
trønderen22-Dec-20 14:26 
GeneralRe: Data format for non-computerist editing Pin
BillWoodruff22-Dec-20 15:17
professionalBillWoodruff22-Dec-20 15:17 
GeneralRe: Data format for non-computerist editing Pin
trønderen23-Dec-20 8:24
trønderen23-Dec-20 8:24 
GeneralRe: Data format for non-computerist editing Pin
BillWoodruff23-Dec-20 8:42
professionalBillWoodruff23-Dec-20 8:42 
GeneralRe: Data format for non-computerist editing Pin
OriginalGriff22-Dec-20 22:07
mveOriginalGriff22-Dec-20 22:07 
GeneralRe: Data format for non-computerist editing Pin
trønderen23-Dec-20 8:10
trønderen23-Dec-20 8:10 
GeneralRe: Data format for non-computerist editing Pin
OriginalGriff23-Dec-20 19:44
mveOriginalGriff23-Dec-20 19:44 
GeneralRe: Data format for non-computerist editing Pin
trønderen24-Dec-20 9:44
trønderen24-Dec-20 9:44 
AnswerRe: Data format for non-computerist editing Pin
Gerry Schmitz23-Dec-20 6:46
mveGerry Schmitz23-Dec-20 6:46 
AnswerRe: Data format for non-computerist editing Pin
Mycroft Holmes23-Dec-20 11:14
professionalMycroft Holmes23-Dec-20 11:14 
AnswerRe: Data format for non-computerist editing Pin
jschell29-Dec-20 6:54
jschell29-Dec-20 6:54 
QuestionHow to address SQL CE file path? Pin
Alex Dunlop22-Dec-20 7:46
Alex Dunlop22-Dec-20 7:46 
AnswerRe: How to address SQL CE file path? Pin
OriginalGriff22-Dec-20 8:45
mveOriginalGriff22-Dec-20 8:45 
QuestionWhy does NullReferenceException throw irrelevantly? I already tried - no success. Pin
Jens Eckervogt22-Dec-20 0:18
Jens Eckervogt22-Dec-20 0:18 
AnswerRe: Why does NullReferenceException throw irrelevantly? I already tried - no success. Pin
Richard MacCutchan22-Dec-20 1:06
mveRichard MacCutchan22-Dec-20 1:06 
AnswerRe: Why does NullReferenceException throw irrelevantly? I already tried - no success. Pin
OriginalGriff22-Dec-20 1:12
mveOriginalGriff22-Dec-20 1:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.