source-code

How to avoid piracy when shipping source code?

This question is more or less for Joel Spolsky, but if anyone else has an answer, they are welcome! If you ship the source code, like in FogBugz [1], and you allow the costumer to modify it; how do you avoid the costumer from unblocking how many users can use it (and thus, destroying your business model)? [1] I seem to recall when you ...

SQLMembershipProvider - source code

Where can I find the source code for SQLMembershipProvider (.NET2.0)? Is it available? ...

ASP.NET Membership: Login Controls Source Code

Is the source code for the common login controls available? Those are the controls which are available under Login section in Toolbox: Login, LoginView, PasswordRecovery, LoginStatus, LoginName, CreateUserWizard, ChangePassword Eventually could you point me to a good source of custom implementation of functionality that those ...

ejb3-persistence.jar source

Well, I must be brain-damaged, because I can't find the java source for Sun's persistence.jar or JBoss's ejb3-persistence.jar JPA package. They are open-source aren't they? I looked all over the java.sun.com site as well as the GlassFish wiki, but came up empty. I'd like a src.zip or folder like Sun delivers with Java JDKs. Of course...

Get source jar files attached to Eclipse for Maven-managed dependencies

I am using Maven (and the Maven Eclipse Integration) to manage the dependencies for my Java projects in Eclipse. The automatic download feature for JAR files from the Maven repositories is a real time saver. Unfortunately, it does not include API documentation and source code. How can I set up Maven to automatically also get the source ...

.NET xml docs - inheriting documentation

NDoc has an XML element inheritdoc which allows you to inherit documentation of a member from the parent class (or an implemented interface). However, Visual Studio (i.e. the C# compiler) does not understand this tag and complains about the documentation not being present or complete. So does StyleCop and some other tools. Is there an al...

Downloadable/browsable version of the .NET Framework source code?

Now that the source code to the .NET Framework has been made available, is there any way to actually view it that doesn't involve using Visual Studio to step into a framework class? Several times now, I've been curious just how something works and wished I could peek at some code, but don't feel like putting together an application and d...

How do you flag code so that you can come back later and work on it?

In C# I use the #warning and #error directives. #warning This is dirty code... #error Fix this before everything explodes! This way the compiler will let me know that I still have work to do. What technique do you use to mark code so you won't forget about it? ...

$id: name of file, date/time creation Exp $

Frequently I come across the following statements in C/C++ source code: $Id: lzio.c,v 1.24 2003/03/20 16:00:56 roberto Exp $ $Id: file name, version, timestamp, creator Exp $ Have you got any idea which software produces those "signatures"? ...

How to work together? - source-code ownership solutions

My startup is planning to work with a recommendation system developer company to improve our product. The only problem is, that they wouldn't like to give us the source code at the end of the project because of the unique algorithms implemented. We plan long-term co-operation with this team, but the recommendation engine is a core part ...

Best source code formatter for Javascript?

I've been digging through Stack Overflow as well as a number of Google searches, and I cannot find a satisfactory code formatter for Javascript. I have found several related tools, such as syntax highlighters and pretty-printers, but I am looking for a tool that I can ideally create a wrapper for in Eclipse and simply run from the menu ...

Does anyone know of source code to a free bar code reader algorithm?

Does anyone know of source code to a free bar code reader algorithm? Ideally in a c/c++/c# based language. Something that processes a bitmap picture of a barcode is fine... Thanks Tony ...

Automatically reformatting inherited PHP spaghetti code

I've taken over a mixed PHP4/PHP5 project which has been handed down from developer to developer, with each one making things worse. Before I spend too much time on it I'd like to develop a base-standard, with consistent formatting at a minimum. Can anyone recommend a utility (Linux or Mac OS X preferably) that will reformat the code? ...

Source Control for an Academic Research Group?

In contrast to most software development organizations, our little research group within a university department consists of a professor and a flow of grad and undergrad students, it's hard to retain any working knowledge beyond the research itself. Our backgrounds vary, and rarely involves much computer science background. (i have not ...

Globalizing source code

I'm running an open source project and every now and then chinese users report build errors due to unrecognized escape sequences .cs and .js files. When they paste the files as they se them I notice that the latin characters are changed into chinese. I'm using Visual Studio and when I look at "Advanced Save Options" the setting is "West...

Where is the implementation of InternalEquals(object objA, object objB)

Hello Friends while diassembling the .Net Source Code using Reflector, I came upon the Equals implementation in the Object Class and it refers to bool InternalEquals(object objA, object objB); Which again refers to internal static extern bool InternalEquals(object objA, object objB); I am now confused regarding where to find the...

Is there good source code related to web development to learn from?

I've recently read Code Reading and found that if I wanted to grow my skills as a software developer it would be useful for me to read more code. I'm currently working in the world of mod_perl, apache, unix, mysql, javascript and xslt (some sort of LAMP I guess). I would like to find great literature of source code in these fields whic...

What are the things you do, in code, which you are obsessive about?

When cutting code, some of the things I have to enforce (or my head explodes) are: .cvsignore (or whatever version system) files must list files in alphabetical order include/import file names must be in alphabetical order (and they follow a certain structure for C or C++ files) (my editor makes this simple, so it's not a maintainanc...

How do we define Code Quality?

Does anyone have a reasonable definition of Code Quality? I don't think there is a good definition, and I see plenty of bad definitions. There are many definitions for Correctness, but I would expect correctness to be a given, and quality is meaningless if the code is broken. I suspect quality is something like: correctness ...

python source code collection

Does anyone know anywhere there's a wide collection of python source code on the net with decent documentation? If so can someone post it up here, thanks. ...