Where to begin reading SQLite source code? [closed] - c

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I want to understand how sqlite is implemented. And, want to read the source code( I have already downloaded the source). Which part of the code I should start looking at?

The SQLite documentation page has a great section named SQLite Technical/Design Documentation with articles on the internals of SQLite. I think it's essential to read and understand those before you start reading the source code itself.
There are many gems there, but the most interesting for you is probably Architecture of SQLite, as its description says:
An architectural overview of the
SQLite library, useful for those who
want to hack the code.
That page contains a nice block diagram of SQLite's code:
And then explains where in the source to find the implementation of each such block.
Another great resource (linked from here) is the Oreilly mini-book ("Short Cut") named "Inside SQLite" which goes into the design and code of SQLite to explain how it works.

Related

Reverse engineering or Code from scratch [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I got a project that is already developed, in other words I have an API for some software that coded in C language, but the company haven't the source code, thus my mission is to write the source code for this application. Now I have the executable program and I want to write the source code, regarding to my less experience I'm asking, which is better, to write the source code from the scratch or to use some reverse engineering tool to find out the source code? But notice that reverse engineering tools results with some hard to read files since there are not enough comments!
No reverse-engineering tool will give you a source code (with or without the comments). So you can safely abandon this idea.
It is definitely better (in your case) to write new code from scratch using the existing executable as your black-box reference point.
Make sure to have many test cases that should cover as much of the original functionality as possible and when you are done writing your code run them all to affirm that your code is a reasonable replica of the original.

Exchange Rate API [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am looking to create an application for exchange rate of foreign currencies and need backend for the same. While searching for the same, i came across:
http://rate-exchange.appspot.com
http://rate-exchange.appspot.com/currency?from=USD&to=EUR&q=1 //working demo
I also find the github source for this GAE project at:
https://github.com/hippasus/ExchangeRates
Now the question I have how should I proceed. Shall I use this already deployed project named http://rate-exchange.appspot.com or deploy my own version. If I should deploy my own version then what will be steps.
Thanks in advance
Generally try to use existing code with permission and visibly give credit to avoid plagiarism. Developers who repeat work already done by others learn from the experience but risk wasting time unnecessarily. You learn from others by studying their code anyway.
You may after some experience with the other project think of ways to improve it. Liaise on Github with the original author about constructive collaboration. Sharing code is what makes free and open source software great.

Can a pdf splitter on appengine be built? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Would it be technically possible to build a pdf splitter on appengine or is there some part of it that couldn't be done? I was thinking of a function where you just upload the pdf file, choose which pages you want and the output is e.g. one chapter from a book and this can be done online. I think it can be a good service but I don't know whether it is technically feasible or whether the best choice first this would be Java, Python, PHP or Go?
I cannot see why not. Splitting a PDF should be possible in all 4 languages so it's up to you what you pick. I know that Python performs faster than Java. PHP doesn't sound like a good fit for me and Go isn't that widely used.
I'd go with Python. There is also a Python library that allows you to split a PDF.

Using bits of sample code/other peoples code on dissertation [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I am writing a dissertation for university final year.
I want to put a large amount of source code on a DVD for the appendix.
95% of code is written by me, but some code is copy and pasted from samples and taken from forums.
Do I have to label each bit of code that is not mine or something?
What would I write if I don't know who's code it is anymore?
You should definitely cite your source if the source specified you do so. However, if you are taking samples and adapting them to your environment you usually don't have to cite it (as long as it has changed in a significant way).
Usually, I try to include a comment in my code if I just copy and paste something, even if it is free and open to copy. However, this is more of a preference than a specification.
In the end, it is up to the people you got the code from (if they specified a license for the code) and your advisor at the university.

Where to make source code publically available [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I've just finished a mini-project (a graphical 2d silverlight tag cloud) and I've made the source code available on my website as a zip file - but where should I put the code to allow people to find it and evolve it if they wish? codeplex? but I guess this would count as an inactive project?
http://sourceforge.net/
Find and Build
Open Source Software
Google Code is great, free, and easy. It supports subversion.
http://www.codeplex.com/ This is run by Microsoft, which should be a fine match with Silverlight.
I recommend github.
CodeProject is good too.
It depends upon what you plan to do.
If you want to share the code with the world and open it to large cooperation, definitely go github
If you want to setup a nice web site, with a complete community with mailing lists, and a selected number of authorized contributors, go sourceforge.
Alternatively, you could use one of the sourceforge-like : google code, codeplex, savannah, berlios...

Resources