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.

Filter by
Sorted by
Tagged with
-1
votes
0answers
28 views

Python CSV import between two files [closed]

I’m trying to create a new CSV file with the correct delimiting fields and then import the records from a downloaded file I’ve managed to get the python working to create the new CSV file and I’ve got ...
34
votes
4answers
4k views

GitHub repository ownership as a PhD student in a lab

I'm a PhD student and use GitHub to track and share code for nearly all of my research projects, most of which are largely coding-based work in the field of remote sensing. Our lab is discussing how ...
0
votes
2answers
220 views

Is it the norm for STEM PhDs to do leetcode type of question if they wish to get into tech companies (software)? [closed]

Nowadays to get into many (but not all) tech company, particularly those that focus on software, data science, and quant, you need to be good at these so-called leetcode type questions. These ...
16
votes
8answers
4k views

Is it common to study mathematics without any computer programming? Why would this be considered acceptable?

MATLAB vs. Python in industry at Operations Research SE contains the following statement: I am a beginning PhD student in math, and I would like to focus on optimization. I am learning programming ...
4
votes
1answer
156 views

Using a github code for my journal paper

I'm conducting research on cyber bullying classification. I recently found a github repository containing code on sentiment analysis which looked at different machine learning algorithms, doc2vec + ml ...
2
votes
4answers
437 views

how to format computer code in APA style

If a psychological methods journal only specifies that the entire manuscript has to be in APA style, how should I format computer code snippets in the manuscript to be submitted? I see nothing ...
1
vote
1answer
151 views

Is it ok to use Github code by having explicit permission from author for Thesis but without license mentioned on the repository?

I am writing my Master Thesis. I used code from GitHub for my application and did modifications and extended its functionality to adjust my requirements. I am also citing the code in my own code and ...
1
vote
0answers
41 views

Can I add code in the supplementary material of my thesis which builds up on an existing library?

I've written a thesis in the context of global illumination. The explorations are purely theoretical, but I've implemented the basic building blocks of the described approach and would like to add ...
20
votes
8answers
5k views

Could a journal reject an article due to the style or quality of accompanying code?

I'm a student working on a doctoral thesis. We're working on a paper for which I've done most of the coding for the statistical analysis (the field is microbio/bioinformatics). I'm new to coding and ...
-2
votes
2answers
415 views

Shouldn’t algorithmic problem statements and respective editorials be considered as worthy of publications in academia? [closed]

Shouldn’t the algorithmic problem statements and their editorials designed for online international programming contests, which are published on well known coding platforms like Codeforces, Codechef, ...
9
votes
4answers
1k views

Can I justify my PhD if I have mostly adapted existing code instead of writing it myself?

My PhD in computational mechanics (field is materials science) involves writing Fortran subroutines for implementing new constitutive equations. More specifically, my research involves continuum ...
1
vote
1answer
119 views

How to cite a github repository that I used for data collection (research paper) [duplicate]

I am working on a research paper where I work with large amounts of data. The data was collected using a python code that I found on someone's Github repository. I was wondering how I would go about ...
18
votes
8answers
6k 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 ...
6
votes
2answers
213 views

Before entering into a computational research PhD, should one gain strong coding & software engineering skills?

Main Question: Should someone gain good computer programming skills/experience through a software engineering job before entering a 5-year PhD program in Computer Science (Tentative specialization: ...
1
vote
1answer
44 views

Appropriate description of image processing algorithm in engineering

I want to write a paper in the field of mechanical engineering. For the evaluation of my experiments, I would like to use image processing. When image processing software is used in my field of ...
30
votes
1answer
3k views

My code is published as original work by a different group. What should I do?

I've found some code that I've posted online that has a BSD license published in a supplementary material of a different group in a high impact journal. The authors have replaced the name on the ...
-1
votes
1answer
113 views

Future in Computer Progamming [closed]

Hello fellow Stack Exchange users, I have a question in regards of career opportunities in the Computer Science field. I am a 22 year old currently living in Prince Edward Island, Canada and I have ...
9
votes
1answer
786 views

Are there any citable Github repositories not published in journals, that receive a lot of citations?

I wish to know whether there is some way, or maybe even some standard, for making a GitHub repository citable in a way that is recognized by academics. Many options have been suggested here, e.g., ...
3
votes
2answers
118 views

Should I make my code and data avaiable online when the article is not accepted yet?

We have received a set of reviews for an article that we had submitted to a journal. The decision by the journal editor is a Major Revision. That means, there is a possibility that the article could ...
2
votes
0answers
45 views

In the related work section of a dissertation, can I use images and source code from other articles, with attribution?

I'm brushing up the related work section of my master's dissertation, and it would be very useful to include some diagrams and code snippets from other articles on that section (and that section alone)...
2
votes
1answer
131 views

Find articles that share datasets and code

I am working on some project, in which I would like to find articles where they use some computer code to treat data, and the used datasets and code is totally available (github, personal website, etc)...
8
votes
3answers
1k views

Why would a university restrict publication of work due to plagiarism fears if TurnItIn was used?

I used to host some code I'd written for university assignments publicly on my GitHub account (after the deadlines had passed, of course). Before long, I received an email from the dep't asking me to ...
3
votes
2answers
436 views

Creating a secure test environment for a programming lab practical

I'm a senior TA helping out my instructor with restructuring the course in light of the coronavirus causing in-class cancellations at our university. We have tools allowing our students to do their ...
0
votes
0answers
33 views

How should I cite the Python documentation? [duplicate]

I'm writing a Master thesis and I want to cite the documentation on https://docs.python.org. The only thing about citation they provide is here: It’s probably best to cite your favorite book about ...
128
votes
13answers
18k views

Is publishing runnable code instead of pseudo code shunned?

In Computer Science is it preferable to describe algorithms using pseudo code rather than real code? If so, why? I've talked to a few academics who think so but I can't understand why. Some of the ...
31
votes
5answers
16k views

Advisor professor asking me for the source code of my dissertation in order to be used by another student

I finished my master's degree (Computer Science) a short time ago, and I don't currently plan to continue my academic studies. My adviser asked me for the source code of the application I developed ...
2
votes
0answers
82 views

How competitive is it to get Google Cloud Platform credits for research?

The Google Cloud Platform (GCP) offers cloud credits for PhD students who submit a research proposal through their website: https://edu.google.com/programs/credits Does anybody know how competitive ...
1
vote
1answer
56 views

Improving on a scientific paper (with source code) - publication of our work possible?

I and my students are working on a paper that has associated source code in GitHub. We are planning to change the architecture of the Deep Learning Network they have used, and check to see if we would ...
22
votes
3answers
101k 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 ...
41
votes
7answers
12k views

Will a paper be retracted if a flaw in released software code invalidates its central idea?

Say I have written code that performs a physics calculation. After this, I get a paper published based on the results of the code. In the interest of advancing the progress of science, I upload the ...
48
votes
5answers
9k views

Double blind peer review when paper cites author's GitHub repo for code

I and my coauthor wrote a paper and the project involved creating a (small) software library. Part of the novelty of the paper is the output of the code, which is a digital object not intended for by-...
3
votes
2answers
232 views

When Submitting Code To Publisher Must It All Be In The Same Language?

I might have the opportunity to submit a paper to an academic journal and also submit my code for it as well. However, I tend to do my projects across different coding languages because sometimes i'll ...
-2
votes
1answer
111 views

Is simulation a necessary part of writing a research paper? [closed]

In fields like machine learning, where the validity of your solution is measured on the basis of the accuracy of your model, it is important to have a simulation i.e. write and run code to implement ...
2
votes
1answer
82 views

bibtex entries for versions of the c++ standard

Where can I find BibTeX entries that help me cite a version of the C++ standard? In a paper I discuss the necessity of trailing return types, which became available in C++11. I want to be able to cite ...
16
votes
2answers
3k views

How to request source code?

During literature review for my research proposal, I have come across a professor who has published several papers in my field, some closely related to the topic of my own research. In a series of ...
1
vote
3answers
207 views

Can I use open-source code for a simulation for my research?

I am working on a paper and I found open-source code that I could use for running a simulation. Should I write my own code for that simulation? Will it be enough if I refer to the code in my citations/...
1
vote
0answers
44 views

API Usage Example Citation Necessity [closed]

Many APIs come with code examples on how to use them. Is it necessary to add attribution if one adapts these examples or copies them. Does using lines of code examples for api usage require ...
7
votes
5answers
548 views

Does building a Python library fall in the category of research?

If a Python library is built can it be turned into a research paper? Will it be accepted?
8
votes
4answers
1k views

How to implement flipped classroom for 18 year olds?

I teach an introductory programming course at university where 99% of my students are 18-20 years old. They are used to the old and boring education system they know from high school, so they are not ...
2
votes
2answers
255 views

How do I improve a paper if they haven't published any code?

I am new in the field of research and am trying to publish my first paper. I am working on improving a paper that involves Machine Learning. However, in order to make changes to it, wouldn't I need ...
136
votes
10answers
12k 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 ...
1
vote
1answer
104 views

Do I have to mention the name of the answer holder within my program? [duplicate]

I have a question worries me a lot, I have read on "https://stackoverflow.com" that members' posts are subject to the "Creative Commons" license. The question is:When I benefit from the answer of any ...
2
votes
1answer
227 views

How to submit code (visual studio projects, C#, OpenCL) with my IEEE paper submission

I am trying to submit a paper to IEEE (transactions on signal processing). Along with my paper I have written some code (Visual studio projects, C#, OpenCL and accompanying dlls and exes). The ...
3
votes
1answer
119 views

Copyright in academic software in the UK

I work on statistical data analysis in neuroscience at a university, and to that end regularly develop small pieces of software. Most of that software I also publish on GitHub under the GNU General ...
2
votes
2answers
122 views

How detailed should I describe my actions regarding code?

I am writing a thesis about a data analysis I'm implementing and am currently describing my data preparation where I talk about what needed to be done prior to the analysis (formatting the data, ...
28
votes
10answers
6k views

Supervisor wants me to support a diploma-thesis software tool after I graduated

During my last year of MSc. studies, I was part-time employed on the university project. The project was related to my diploma thesis, and my task was to create a data-mining software and run ...
35
votes
12answers
8k views

How do you manage to study and have a balance in your life at the same time? [closed]

Over the last couple of years, math and programming have become a big part of my life; I know I’ll pursue a career involving CS and math (most probably machine learning) and usually, my days revolve ...
7
votes
6answers
14k views

How to format code in a thesis (Word document)?

I have a couple of code snippets, included in my thesis. What is the most convenient way to format code in a Word document, particularly, in regard to keeping the syntax highlighting, etc.? And the ...
39
votes
6answers
10k views

I have found a mistake on someone's code published online: what is the protocol?

I have been using an econometrics toolbox for around 2 years and it is great, very useful. It is available from someone's personal website. I have found a mistake in one piece of code which has set ...
34
votes
4answers
25k 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 ...

1
2 3 4 5