Nah, a computer can only determine the instructions available; not the intent. If you see me add stuff to a list, how would you determine whether it is a list that represents a high-score, or a list of all email-addresses on your machine?
A robot is a computer; and most applications run inside a virtual machine nowadays.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
I can only suppose you are using the formal definition of an algorithm, like the one in your original post ("this is an algorithm that calculate factorial,")
In the vast universe of programming the cases of actual implementation of those methods represents such a small fraction of the total code base to be effectively zero. I would not be surprised if the percentage is even smaller than what it represented by winning the grand prize in a national lottery.
In contrast then are a vast, vast number of "algorithms" in the general sense that do not have a formal definition. They solve business, research and even educational problems but one cannot 'define' them because they are unique.
As an example following is some code that I just copied from my computer. What is the actual text that you expect your program to report for the "algorithm" for this?
if they are unique, sure they can be defined due to their unicity.
That isn't the problem.
How are YOU going to define all such algorithms so that your proposed solution can output some 'definition' of it. Your factorial one is easy. It exists. Computer science and math defines it so if your solution finds it it can write out "factorial" but others have no such definition.
As I say always,
As my previous post said and the other poster noted as well what exactly is your program going to put out for the code that I posted?
I have joined this forum and I loved it the way everyone communicates.
Actually next week I am going to have automation testing project and I do not know which tool is best to use. I am confused between Selenium and TestingWhiz, I have read reviews about both, but I am not able to get to the point.
I don't have the first idea of how to write code nor the time or money that is required to do it..I want to know what is the biggest factor stopping the next platform of social media being developed to take on Facebook? It seems like Zuckerberg has the whole pie
You have to be innovative... and in a way that interest your target user base. FB initially targeted college kids, and did a damn good job of it too... that helped it build up a huge user base. From there it expanded to a bigger audience.
Now about being innovative, if you're making the same thing that FB already has, well... odds are people won't be too interested in joining yet another social site (Google+ has pretty much flopped because it doesn't offer enough novelty to make people want to join). If on the other hand, you have something new that people like to offer, then you might have something (i.e. Snapchat and all their video/image filters).
First off, I'm sorry if this is in the wrong section. I didn't see a section for Python and did a search for it but that just returned really old posts.
I'm trying to create a Python calculator to create quotes and estimates. It would be similar to a mortgage calculator but have much more variables to deal with. I tried finding something "out of the box" because I figure I'm not the only one who needs this but couldn't find anything so my only other option would be to write it myself.
If anyone knows of a program, software or where to start trying to build my own, I'd really appreciate it.