Questions tagged [code]

Questions concerning computer code written or used in the context of a research project or other academic endeavour (including questions on licensing, ownership, sharing, distribution, and formatting of academic source code). For other questions on software (related to academic aspects of using the software rather then developing it), use the `software` tag instead. Generic code questions, e.g. help with debugging, are off-topic and will be closed.

Filter by
Sorted by
Tagged with
11
votes
3answers
249 views

Is it appropriate to put a scientific/technical document about code developed by our group on arXiv?

Basically, I have written a tutorial for a code which performs a specific type of electronic-structure calculation. The code has been developed by the group I belong to and writing this tutorial/...
14
votes
2answers
7k views

How do I correctly cite the C++ standard or its drafts?

For my bachelor thesis, I have to reference a lot to the various C++ standard documents, be it the original standard or some of the working drafts. How do I cite such documents? Many of the working ...
3
votes
4answers
833 views

Does the choice of programming language affect paper acceptance in mechanical engineering?

I have published papers in the field of mechanical engineering, combustion, engines, etc. Previously I relied on MATLAB for most of my data processing, and C++/Fortran for computations. I duly cite ...
22
votes
4answers
2k views

How much effort do researchers take to publish their source code?

When publishing a paper, some researchers publish the source code used for the paper. Is there any research/study/survey/... that looked at how much effort do researchers take to publish their source ...
21
votes
3answers
2k views

How to deal with papers/authors that provide no details of implementation?

I was reading a conference paper relevant to my area of study, and I found it interesting - they did what I was planning to do anyways, and had some extremely promising results. Now, I don't really ...
37
votes
10answers
5k views

What to do when people in a research group use different programming languages for computation (e.g., Mathematica, Python, Matlab)?

I am a very happy user (in 98% of the time) of Python/Numpy/Scipy (anaconda distribution). I switched from Matlab and do not regret the decision. I have reached a level of expertise, which enables me ...
4
votes
2answers
365 views

What license to choose for a model which we will freely distribute?

My research team has developed a model, analyzed data, and generated results. We are currently in the process of publishing the results -- the article is in review -- and we are preparing to make our ...
3
votes
1answer
630 views

Can I use map, fold, filter in publications?

I have to write down algorithms in my thesis, and these are getting way shorter if I use "map," "fold," and "filter" heavily. This generally results in a "map, fold, filter"-chain with a depth of 3. ...
0
votes
1answer
6k views

Studying for a master's in Computer Science after a bachelor's in Physics [closed]

I am currently in my penultimate (third) year of a master's degree in Physics (in the UK). The degree is set up such that you have four years of a taught degree and graduate with a master's without ...
5
votes
2answers
10k views

How to format code for IEEE Journals

I'm working on a paper for IEEE Transactions on Computers, and I can't find any guidelines on how to format code (C++) that is included in the paper. I found some other papers with short code ...
1
vote
0answers
116 views

Do the reviewers ask the authors to send their programming codes for the paper? [duplicate]

I am writing a paper for a Elsevier journal in optimization field. I was curious to ask, Do the reviewers ask the authors to send their Matlab or,.. codes of paper to proof their validness or honesty? ...
1
vote
2answers
305 views

How do I cite or reference code that has not been officially published?

Let's say I go to someone's website, look up the source and use some of the JavaScript idea/pattern/code that is not a part of the wider framerwork/something similar, but a unique code that was ...
8
votes
5answers
3k views

Is It appropriate to put code in slides for a technical presentation?

I am doing a technical presentation on Minimizing Real-Time Data Stream Latency: Node.js and Asynchronous Operations. I've done some thorough research on the topic and I want to add some code blocks ...
8
votes
6answers
4k views

The book suggested for a class has bad reviews, should I use it or another?

I 'm at the start of my second semester of college and I don't have any real practical experience with programming, but I have to take a class on OOP that is usually taught to juniors. My OOP class ...
9
votes
1answer
4k views

When should I cite, if using code from Stack Overflow?

I already found a question handling the case if you got some information from Stack Exchange for my thesis. Unfortunately I did not find anything about the case that I get a solution (not necessarily ...
5
votes
2answers
494 views

Can mathematical ideas applied to CS problems count as "undergraduate research"?

I ran across this thread, in which the accepted answer mentions to "[..] Start on a research project (independently or otherwise) if you have not already ASAP. " I'm an undergraduate studying ...
23
votes
3answers
107k views

Source code plagiarism detection tool that checks against online content

I asked this question on Stackoverflow and was directed to ask it here. The question is: I wanted to ask about plagiarism detection tools for source code written in C++. When I searched Google the ...
1
vote
3answers
1k views

Does writing code for an assignment after seeing similar code online count as plagiarism?

In my compilers class assignment, we were asked to write some MIPS code. One of the problem involved implementing fact() function as a sub-problem. I wanted to implement the standard recursive version ...
31
votes
6answers
10k views

Would it be ethical for a computer science PhD student to hire an assistant (programmer)?

I was wondering if it would be ethical for a PhD student in the field of Computer Science to hire a programmer in an specific domain; so that he could focus more on the algorithmic or mathematical ...
4
votes
2answers
675 views

I need some code that was made available by a student 15 years ago, but is no longer online. How can I contact someone in the group to get the code?

I need Matlab code of a method to compare it with the results of my proposed method. The method which I want to use happened to be available online by a research group in a university in US in 1997 [...
16
votes
6answers
25k views

When is it useful to include the code in a thesis?

I am writing my master of science thesis and I am not sure whether I should add some of the code I have written: they are not proper programs, but more like input files to be fed to a commercial ...
10
votes
4answers
2k views

How to keep code and output organized?

I am having trouble keeping organized the files for the computational component of my research project. In brief, I have written computer code which I use to run computational experiments. For each ...
28
votes
7answers
16k views

Is an MS in computer science helpful in improving programming skills?

I attained my bachelors degree in computer engineering in January 2014. I was not a prolific programmer as an undergrad, instead focusing on my other coursework and in general completing my degree. ...
7
votes
3answers
680 views

Is there a trollish/novelty/esoteric citation style?

In programming, there are these so-called "esoteric programming languages" like "LOLCODE" or "Shakespeare," which really have pretty much zero usefulness. They are just kind of a novelty, or if a ...
8
votes
1answer
215 views

How should I split my code and data between an open repository and the article's supplementary files?

I am working on a paper that involves some data and a piece of code to analyse the data. I want the results of the analysis to be reproducible and the code to be open. This concept of "reproducible ...
19
votes
8answers
8k views

How to deal with student putting their (home)work on github

While using github for source code is generally something I love to encourage, if a student puts their (computer science) homework there, it's generally easy for others to find and copy - which ...
4
votes
5answers
1k views

Is it realistic to deal with a huge undocumented code base for master's project?

I'm currently pursuing a Master's degree in a STEM field and working on a thesis. For my master's thesis, my advisor suggested I expand the code of the group's software and add new features to it. ...
4
votes
2answers
982 views

How much emphasis should be put on programming ability in a letter of recommendation for CS graduate studies?

I have a little computer science background. In one of my statistic courses we did significant data analysis with SAS and R coding. I'm getting this professor to write a LOR for me. He wants me to ...
3
votes
1answer
2k views

How to make a paper's author willing to help me with his source code like a semi-supervisor?

I am really in trouble. I am doing my MA thesis on wireless sensor networks, and I have a source code with more than 16 files and each one more than 5000 lines. It's very complex and has no ...
3
votes
0answers
244 views

Reference on the time it takes for a source code used for a research article to be released

Is there any research/study/survey/... that looked at how much time it takes for the authors of a research article to release the source code? Ideally I'm looking for an approximation distribution. ...
8
votes
2answers
716 views

Pedagogical pros and cons of requiring undergraduate students to follow open/reproducible research practices?

I regularly teach an undergraduate course in which students are expected to complete projects that involve writing code. I also supervise undergraduates in other project and thesis work that involve ...
20
votes
2answers
3k views

Reference on availability of source code used in computer science research articles?

I have several questions related to open-sourcing the source code used for a research article. Is there any research/study that addresses any of the following: What percentage of research articles ...
5
votes
1answer
3k views

Are there general guidelines for including code in a research paper?

I'm a beginning researcher trying to write a research paper , so please bear with some of the really basic questions I might have. I've already looked around for some help online, but the websites I ...
43
votes
9answers
12k views

Are there tools to prevent students from cheating on a programming exam administered on computers?

I'm teaching an Introduction to Computer Science Course, where we mainly do C programming. I've been assigned a lab for teaching the course, but there are more students than available computers. Also, ...
2
votes
2answers
1k views

Should I inform my thesis adviser about current situation

I had unofficially agreed to start working on my thesis during September, with no concrete date being mentioned. However there are two factors which might delay this date: Me not being available due ...
8
votes
6answers
530 views

Should I take undergraduate CS classes if all I do is applied software dev and data science?

I am a PhD student in social science who got interested in programming via data analysis in R and various utility tools in Python, SQL, Java (for web scraping, data querying, etc.). I am considering ...
9
votes
6answers
870 views

Best strategy to learn programing for graduate research data analysis in biology

I'm actually asking this question on behalf of a sibling who's pursuing a PhD in Biology. While I'm a Mechanical Engineering student and am "computer-savvy" and experienced in learning programming ...
6
votes
1answer
2k views

Is it OK to contact authors of the research paper requesting an implementation? [duplicate]

Given the research paper itself and having a complete understanding of the proposed system, I could implement the system on my own. If my intention is not to re-implement it myself, but rather study ...
12
votes
1answer
438 views

How to handle disagreement between collaborators on licensing academic code?

A group of students including myself have developed a certain program/algorithm. I as the main coder behind this group have provided 95% of all the actual code. The other two involved parties have ...
35
votes
4answers
34k views

Can I request the code behind a research paper from the author?

I am in the field of computer science. It is often the case when I am reading a paper I start to wonder, "Wow stunning results, however, I would like to prove that." or "How exactly did he get these ...
18
votes
4answers
2k views

when sharing source code to more than one party, should I notify them that others also were interested

A few weeks after my work was published in a conference, I received an email from a research group from another university asking me to provide my source code. The email was very polite and explained ...
4
votes
2answers
293 views

Improve software code when reviewing paper

When reviewing a manuscript describing a new software tool, reviewers are often asked to assess its utility, quality, novelty, ... I was wondering if, in addition to the classic comments on the ...
17
votes
7answers
44k views

Proper way to format computer code included in a thesis/dissertation

I intend to include my computational model code(s) in its entirety as an appendix in my dissertation. I've gone through my university's formatting guidelines and haven't seen anything on the proper ...
3
votes
1answer
456 views

Encourage student to participate without him helping too much

I am teaching two students (X and Y) to program in python. X is a little bit quicker than the Y in grasping the concepts. He likes to help Y figure out what to do with his code, why it isn't working ...
1
vote
2answers
304 views

Including many pages of serialization code and generated source code in Master's thesis?

I'm working on my Master's thesis in Computer Science. Shortly, I am "drawing" a diagram, which is then serialized and from the serialization I generate some source code. So, my question is not about ...
163
votes
12answers
24k views

Why are papers without code but with results accepted?

I just started reading some papers (Computer Science, specifically Computer Vision) and thought "now let's look at the source code" and was quite astonished that most of the papers don't have any ...
8
votes
3answers
3k views

Should I publish as sole author and do everything or invite coauthors so that I mostly just do the programming and benchmarking?

Consider the concept of opportunity cost. There are two possible situations: I program everything, do the evaluation with a benchmark, tell nobody, write everything and publish alone. I program ...
9
votes
1answer
650 views

I have been pigeonholed, how can I solve it?

I can program, write papers and research. I'm better at research, but due to the lack of programmers I've been assigned programming tasks in my current institution. Additionally, I have little ...
5
votes
1answer
160 views

Effective way to organize a course so that it can be followed from abroad

I'm reaching out because I'd like to take a Master's Degree in Spain (which starts in October), but my current job will end in December, and I'm trying to find an effective way to organize classes ...
142
votes
10answers
13k views

Best-practice models for "research" code?

I have been a professional software developer for a number of years, I'm also an academic researcher - and my research has involved lots of software development. I sometimes feel as though my ...