H
H
hellhoundSE2019-06-18 03:38:11
Programming
hellhoundSE, 2019-06-18 03:38:11

What do you think of this diploma idea?

I've finished my 2nd year and I'm thinking about my diploma a little. I came up with an interesting idea to make an application (web or desktop, it doesn't matter) that takes your code (maybe even from git) and scans sites like stack, habr, toaster, etc. for copy-paste and plagiarism. I saw a lot of similar programs for text, but I didn’t find it for code (I didn’t really look for it, of course). As for me, it will be useful for both students and teachers. I have not yet looked for a supervisor, I thought it was too early. I will be glad to any feedback. Thank you for your attention!

Answer the question

In order to leave comments, you need to log in

6 answer(s)
D
DevMan, 2019-06-18
@hellhoundSE

and what's the point? this is not art literature: it is customary to copy good, proven solutions; reusability of the code is an advantage, not a disadvantage.
or are you suggesting that every student reinvent sorting, list traversal methods, the stack, and all these weird algorithms of yours and all that?
any code using libcurl is plagiarism.
any code that uses a popular X package to work with Y is plagiarism.
simply because it is impossible to work with them otherwise.
and unless your supervisor is as far from programming as possible (I've seen them), he'll say, "okay, dude." and, I hope, will not be restrained in his expressions.

A
Alexander, 2019-06-18
@NeiroNx

Complete crap, if it compares verbatim, it won't work. And if it compares individual sections of the tree, it will react to everything. Because it is not accepted to change the optimal algorithm.

A
Alexander, 2019-06-18
@AleksandrB

What for? What plagiarism can be in the code? The job of a (good) programmer is 90% copy and paste. Everything has been written for you. The other 10% you just adapt.
Only in your university and someone swears at code plagiarism, in life - no one cares. It works and it's good.
Moreover, illegally copied code will not be made publicly available! . You just can't find it.

A
ApeCoder, 2019-06-18
@ApeCoder

This may be required, for example, for a code duplication video (you just need to look in your own codebase, and not in someone else's) - for example, resharper https://www.jetbrains.com/help/resharper/dupFinder.html
can also be useful to look for borrowing in code that belongs to others. For example, if someone copy-pasted a piece of code from a project licensed under the GPL, then the entire program into which this piece was copied must also be licensed under the GPL. I think the search for such pieces may also be required by corporations to reduce the risk of accidentally violating the GPL and other licenses. And more lawsuits.
Here's something else I found
theory.stanford.edu/~aiken/moss
So, if you make an algorithm, you can find an application for it.

V
vaservaser, 2019-06-18
@vaservaser

Author, do you want to encourage programmers to write bicycles? So that everyone has their own unique shit code?
Yes, you are just an enemy of humanity :)

E
evgeniy_lm, 2019-06-18
@evgeniy_lm

I can offer a cooler idea. You can look for "plagiarism" of the Pythagorean theorem or Newton's laws, etc.
But seriously, you should first study such concepts as "plagiarism", "licensing", OpenSource, GPL, etc. Then stop showing off and, like all normal students-losers, file another site selling unnecessary garbage to anyone.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question