i have code that uses beautifulsoup library for parsing. But it is very slow. The code is written in such a way that threads cannot be used. Can anyone help me about this?
I have removed a data directory from my java source code. now when i try to commit source then i get the following error.
org.tigris.subversion.javahl.ClientException: Working copy is corrupt
Commit failed (details follow):
Entry for 'directory' has no URL
i get the same error when i remove a file. what is the reason. i am checking out on google code project website.
Where can i get a code to generate a calender which displays dates in a proper grid?
Or can i get a code for calender app so that i can maake few changes to it? It will help ma save a lot of time
I have recently been assigned a project to further develop an existing code base. The code doesn't contain any tests and not even one single line of comments. The whole "thing" is written in a really obfuscating manner so it takes a lot of time to figure out what happens.
How do you usually approach this kind of problem? Tips and trix on how to handle this situation?
I did ask whether this was possible in 2008 which was answered in http://stackoverflow.com/questions/1296840/read-and-step-into-net-framework-source-code.
However my problem is that I am using 2005 and not 2008.
Does anyone know whether this is possible please??
The reason I want to do this is to better understand C# paradigms.
With Java this is possible and I learnt a tremendous amount by being able to read code written by engineers
i want to migrate one of the application from vb6 to .net with visual studio 2010.At present the application is windows based application. i want to make web application.
i guess i have to rewrite the code in .net. could you please advice me while i rewrite the code in .net.
thanks in advance.
I would like to be able to add a click event to a entity generated in the code behind. Currently I'm doing it like this:
TableRow row = new TableRow();
row.Attributes.Add("onclick", "clickFunction(this)");
Is there a way to do this using the object initializer? I am doing a lot of control creation/initialization and if it matched the rest of the code it would be nice
Hi All,
I have a c code and I want to extract some patterns of code which contains instructions of communication etc and build a sequence chart from that.
Is there any way I can do that?
Thanks
Is there a way to know when code is being called from running a test method?
bool MyMethod()
{
if ( /* are we running a test? */ )
{
return true; // otherwise this will fail from the automated build script
}
else
{
// run the proper code
}
}
and please spare me the "this is a really bad idea" comments :)
is there a function that would add a time delay between 2 lines of code. Not the settimeout, because settimeout requires a function/object in its arguments.
I am looking for something like this pseudo code
write "abc";
delay(500);
write "xyz";
TIA
I want to incorporate the CallLog feature in my Android project means I want to track Incoming, Missed and Received Calls and their details like Time and Duration of the call.......So kindly If any one has.....help me with the Code in android.............
I also found the built in application named PHONE in the emulator, but don't know how to use/call it in my application....Can I have its source code..so that it can be used in my application....
Thanks...
We've all seen in-browser rich text editors, which allow you to edit colored/styled text in a WYSIWYG manner. But what about code editors, which automatically highlight code based on language rules as you type? Think Eclipse in a textarea (but without the refactoring support).
Do such things exist? I imagine scaling would be a problem - larger files would be difficult to edit efficiently.
i'm wondering about this possibility. Is it possible to make our code written in code and string compile and make it become Executable and can operate without the use of server such as Apache.
The OS environment will be Windows family.
Hi all,
I need to compile C++ code in windows application and append the results (Output or execution errors) on rich text box. I use CodeDomProvider Class but I unable to compile the code using C++ language. Please Help.......... Need Proper answer in easy way....
is there any library that parse a source code of C++ to produce lets say, call graph, class inheritance tree, flow control, class member list or anything as a ready to use graph or structure in code (not in diagram image).
to make it more clear, suppose to generate call graph image, there will be a process like this:
`
C++ source -> parser -> intermediate structure -> renderer -> call graph image
^
|
[i need this]
`
I'm learning to use the PHP interactive shell, but I'm having trouble with multi-line code.
Using backslashes like in the UNIX shells doesn't seem to work. What am I doing wrong ?
php > function test(){\
php { echo "test";\
php { }\
php > test();
PHP Parse error: syntax error, unexpected T_ECHO, expecting T_STRING in php shell code on line 2
When exception generated I want to show some additional information (source code) for particular exception. But grails have very hairy exceptions (it's all about groovy dynamic nature). It's my problem where to get and how to display source code. All I need is file/line information.
So... Is there any possibility to get file and line where exception were generated in grails/groovy?
I want to add a very simple bit of code to a jsfiddle, but when ever I do it breaks everything else. This is the code I'd like to add:
$("#launcher").click(function(){
$("#profile_850_HEADER").animate({
margin-top: "10px"
}, 1500 );
});
and this is the jsfiddle http://jsfiddle.net/loriensleafs/F3wjg/3/ , I'm sure this is beyond simple but I can't figure it out, any help would be greatly appreciated.
I know how to generate html documentation using Sandcastle and similar tools. But if I want to host the project on Google code, how can I easily publish the documentation straight into the Google project Wiki pages?
I can see the SVN repository has a wiki folder which I assume maps to the project Wiki pages and I guess I can make a build step to build the documentation from the autodoc tags. But is there some tool that generates wiki compatible format from the code documentation tags?
hello everyone,
We are doing project on online quiz tool for mobile devices using J2ME. We got the code for midlet interface, webserver and connections. But we need to implement timer in it. So anyone can give suggestions for that code and where can be it beneficial to implement it?
Is there some relatively simple way to programmatically include source code lines to python logger report. For example...
import logging
def main():
something_is_not_right = True
logging.basicConfig(level=logging.DEBUG,
format=('%(filename)s: '
'%(levelname)s: '
'%(funcName)s(): '
'%(lineno)d:\t'
'%(message)s')
)
if something_is_not_right == True:
logging.debug('some way to get previous line of source code here?')
So that output would look like this.
example.py: DEBUG: main(): 14: if something_is_not_right == True:
Is there a way to get DVD region code from command line (linux/ubuntu 9.10)?
I want to script this action and store the region code (and other data about DVD) in a log.
I have an eCommerce platform, and i wand to secure it. How can it be possible ?
I don't want to somebody copy my code. Like a license for 1 year with a code for activation. Or somethings like this. Sorry my English, thanks a lot!
Can any body please tell me what code is used for clear screen in java? For example in c++ "system("CLS"); " is used just like this what code is used in java for clear screen? Please help. Thanks!