code

Best tool for detect and report third party software licenses at your code.

Hi. Does anybody know good tools for analyze and detecting third party code (or pieces of code) at own projects? For example, I use some code from Sun (CDDL) in my project and had copyrights, but other developers can get licensed code and put it into the project without copyrights and license information. What I want it's a tool that cat...

Problem with web code generator designer

I want to write a web-based code generator for a Python crawler. Its aim is to automatically generate code so a developer doesn't need to write it, but I've run into this problem: in one of my project's webpages, there are some checkboxes, buttons, etc. Each of them generates some Python code and writes it to a common textarea. However, ...

How do you become a professonal coder?

How do you become a professional coder? ...

Create own custom View without useing XML

Hello. I want to create a own View which containst two buttons without useing xml. I tried this: public class ZoomPlate extends LinearLayout{ private Context context; private Button plus; private Button minus; public ZoomPlate(Context context) { super(context); init(context); } public Zoo...

is there a way to track changes as one would in MS Word when collaborating with someone on code?

I am working with someone abroad on a project and I'm having trouble keeping track of all the changes they make and vice versa. Is there a software or code editor that will keep track of changes allowing other users to see what's changed? ...

PHP code debugger on the fly

i have a website on my localhost, a quite complicated one with many links is there a program that can debug for example, what happens when i click one link?or i login, etc and show me each function called in each file and everything that's happening with the scripts? ...

How can I reuse code AND resources in several applications?

How can I reuse code AND resources in several applications? I have a fairly large code base (including resources) that I want to reuse i several applications. How can I do that? I did try to use the Android Library concept (http://developer.android.com/guide/developing/eclipse-adt.html#libraryProject) but never got it to work in Android...

Two-way-like binding between a Resource's property and a runtime object property.

Hello everyone, my problem is the following : I have defined a TextBox as a child of a ToolBar in a ResourceDictionary (x:Key MyToolbar). When my application loads, it places the ToolBar correctly inside the Window frame, along with its TextBox. So far, so good. Of course, I'd like that very TextBox to be two-way databound to some obj...

How do I obtain the height and width of a given YUV video clip under Matlab? Is there any reader() function or get() function? Anything else?

How to get the width and height of a given yuv file? The dimensions are needed for subsequent movie/matrix processing. Thank you. ...

NetBeans Code Completion color change

Hi, is there a way to manipulate colors of code completion popup (ctrl+space) in NetBeans, the background color is inherited from windows theme, so if it is black, the popup will be black.... ...

Programming question --

What would be the best solution for this problem?? if we have a question say by the pythagoran theorem. x^2+ y^2 = c then according to that if we are given the value of c, what shall be the best way to deal and find the values of x and y? x and y can be negative. Also, suppose c=0 then x=0 and y=0. Moreover, if we have c=1 then we hav...

Is it possible to have code rebuild itself

I'm gonna use a program for an example, because the functions is what i'm trying to do. The program I will be using for example is JUST AN example and I am not trying to do anything that is related to what the said program does. Its just an example. A lot of "hackers" use something called a "Crypter" to "Crypt" there program/file for "v...

offtopic : cant code. what to do ?

I have been learning programming php/ruby/python, etc since many years but I have not yet started to program a actual software. I dont know why I am not able to code. I have not written a single program, even a small one till now. I dont know why. damm this sucks and I hate it. ...

What programming language to use for a form application?

Hi, I am planing on developing a software to fill out forms. The user will scan any form and then he or she will enter data in the form. Now I don't need OCR, just the ability to save the overlaying text the user enter in top of the form. My question is what will be the best language to do this project? Note: I am thinking that the ...

dominator code to be reviewed in Java/C++

Dominator is a value which occurs on more than half positions in an array. For instance in the array: [3, 4, 3, 2, 3, -1, 3, 3] 5/8 > 0.5 The value 3 occurs in 5 out of 8 positions. , so 3 is a dominator: In this array the dominator occurs on indexes : 0, 2, 4, 6 , 7. Write a function int dominator(int[] A); that given an array return...

libxml2 generator ( from xsd to C source code)

Hi at all, there is someone that know if exist a XSD code generator for C source code? I have a lot of xsd files and I need to generate C struct and relative function fromXml and toXml. Thanks. ...

php script is ouputting php code, not sure why

I have a simple modal dialog that I developed on my own linux server, running php 5.3. The script (shown below) runs fine on my server. However, I moved it to my client's linux server and instead of echoing the text/html that it apparently is supposed to do, it echos ALL the actual php code from the > (greater than) character on. Does...

Is there a round-trip software for PHP programmers out there?

I search for a round-trip programming solution which does generate PHP and SQL code from a UML Model It sould also include state and activity diagrams which were compiled into PHP/SQL. Or does someone know some software who offers the possibility to create my own PHP / UML interpreter? thanx in advance ...

CL_OUT_OF_RESOURCES for 2 millions floats with 1GB VRAM?

It seems like 2 million floats should be no big deal, only 8MBs of 1GB of GPU RAM. I am able to allocate that much at times and sometimes more than that with no trouble. I get CL_OUT_OF_RESOURCES when I do a clEnqueueReadBuffer, which seems odd. Am I able to sniff out where the trouble really started? OpenCL shouldn't be failing like thi...

Can the Microsoft Direct X SDK be put into SVN?

Hi folks, I'd like to put the inflated copy of the Direct X SDK into SVN (so that projects can reference the include/libraries as an external) however I'm kind of unsure as to whether this is allowed in the licence. The only relevant line seems to be: BACKUP COPY. You may make one backup copy of the software. You may use it onl...