I've just inherited a large project previously coded by about 4-5 people. The documentation consists of comments, and is not very well written. I have to get up to date on this project. How do I start? It consists of many different source files. Do you just dig in? Are there tools that can help visualize the structure/flow?
I am trying to install magento (open source e-commerce platform) sample data on my webhost.
I have uploaded the file magento_sample_data.sql via ftp, and setup a new database and have assigned it to a user.
How do I get the sample data into my empty database?
In the Android open-source qemu code I ran across this line of code:
machine->max_cpus = machine->max_cpus ?: 1; /* Default to UP */
It this just a confusing way of saying:
if (machine->max_cpus) {
; //do nothing
} else {
machine->max_cpus = 1;
}
If so, wouldn't it be clearer as:
if (machine->max_cpus == 0) machine->max_cpus = 1;
Interestingly, this compiles and works fine with gcc, but doesn't compile on http://www.comeaucomputing.com/tryitout/ .
If someone knew the link of one of my page or simply they made an assumption like http://ww.yourweb.com/index.php, this is a general assumption and if you put this link on DAP or other donwload manager, it will download file, with source code inside.
I want to stop other from stealing my code on this manner, is there a way for this?
I'm working an a very large scale projects, where the compilation time is very long. What tools can I use (preferably open source) on Linux, to find the most heavily included files and that optimize their useages?
Just to be clearer, I need a tool which will, given the dependencies, show me which headers are the most included. By the way, we do use distributed compiling
I was reading that memcpy takes the number of bytes from a source location and adds it to a destination location. Does this mean that memcpy could possibly change datatype entirely ??
memcpy(DoubleOne, CharTwo, strlen(CharTwo));
considering that both values are empty still.
I've just tried to hg diff some C source files and was told that they are binary.
So, my question is: How can I convince UNIX and Mercurial that these files are, in fact, ASCII?
Thanks in advance for your help.
hi
i have installed "phpmyvisitors" cms to get statistics of my sites visits.
it is written in php and is open source.
i gets many useful information like:
-total visits
-viewed pages
-visitor browser informations
-visitor distribution over the world
-how visitors access to site
-how much time they spend on sites
and ....
it is some think like Google Analytics.but fewer features.
my question is:
" how does it do all of them? "
Is it possible to bring GCC into an infinite loop by inputting strange source code? And if yes, how? Maybe one could do something with Template Metaprogramming?
Hi ,
taken accordian menu in some open source site,
my accordian url
But i want to change this static width to dynamic ,
That is height need to change as AUTO for inside accordian view...
For time profiler for XYZ, I can just run 'time XYZ', or if I have the source code in C/C++, I even can use gprof to get profiled results.
Is there any similar tool for memory usage?
Is there any tool I can use something like 'memory XYZ', to get info such as min/max/median memory usage?
What tool do you use for memory profile with C++/Objective C/C#/Java?
Given the number X, is it a fibonnaci number?
Any source code or mathematical formula would be ok.
Yes, it looks like this is a duplicate of (this question). How does stack overflow deal with duplicates?
My debugger does not work when I start project in debug mode.
But when I set checkbox
Allow the source code to different from the original version.
Debugger works. But solution not wokrs properly. For example for files with build action "Content" and Copy to outputDirectory to "Copy if newer" does not copy to bin/Debug
Is anybody know the solution?
Hi. Could anyone advice a book (or any other source) that would thoroughly reveal internals of JVM memory management & garbage collection (optimization, work, circular references, pecularities, discussions for various JVM impls...)?
[What I've found so far are separate articles devoted to various aspects but no weighty tome :). Some good materials for Hotspot implementation are here. ]
Thanks a lot for any advice you give.
Hi,
I've seen iphone related open source library which says something like,
"You need 4.0+ iOS build environment but the code will run on 3.0+ iOS device."
I wonder how those two requirements can differ and how can I tell a minimum 'device' iOS version which a certain api would need.
For instance I want to use UIGestureRecognizer but the apple doc says it's 3.2+, but I want my app run on 3.12+.
Is there a difference between build os requirement and device os requirement to run an app?
Thank you
I'm working in a class library and there are other source projects associated with the same solution.
Is there a way for me to stop the VS refactoring tools from traversing those other projects, without removing them from the solution, but keeping everything the same?
I have a method that takes a List<int>, which is a list of IDs. The source of my data is a Dictionary<int, string> where the integers are what I want a list of. Is there a better way to get this than the following code?
var list = new List<int>();
foreach (var kvp in myDictionary)
{
list.Add(pair.Key);
}
ExecuteMyMethod(list);
Hi,
I'm about to start an application which will have both console and GUI interfaces. What I wan't to achieve is COMPLETE decoupling of application logic from interface. In future, I may also add web interface, and I don't want to change anything in my application.
Is there a good example (perhaps some open source project) where I can learn how this should be done properly.... also I'd appreciate advices/guidelines on how to do this.
Thanks
Does anyone know where or how to obtain a C++ example to create iPhone apps? What I am looking for is just using C++ (no objective-C or just the bare essential objective-C) and no interface builder, source only.
Can ayone help me locate such a beast?
i would like to present data in something like Constellation Framework... but without flash
what other options are out there? python, html5, javascript would be great, but i have no preference other than no flash (i don't own CS)
EDIT: i have found a handful of html5 examples without much source code and infoVis.
i need the source code of an application that can upload and download automatically from the remote computer (FTP) using java langauge. if any body gey help or the code, kindly contact me through my mail address [email protected]. thanks
Before I go off and code this, I thought I'd see if anyone here knows of any open source (or paid for) equivalents already built.
I'm looking for a browser control where users can preview a web page and then highlight elements of it and once highlighted, I can get the div or id of the element selected.
Has anyone seen such a thing?