Hi Guys,
I am successful in generating Heap Dumps of my application machine but I do not know how to analyze it. Can someone tell me how to?
Thanks and Regards,
Deepti
I wish to redirect all page requests if
(1) Current URL doesn't have .php extension
(2) Current Page is not the Site Home (ie www.site.com )
Example:
http://site.com/robin to profile.php?screen_name=robin
Can someone suggests the htaccess to accomplish this?
Hi,
I have downloaded the Visual Studio 2010 CTP along with Phone 7 emulator, but am finding writing code a little counter intuative (coming from a c++ background). Can someone direct me to some good intermediate-level resources / tutorials?
I want to define a time attendance system for government, and right now I am preparing a system requirement document, can someone give me some advices about what features/functions should I include in the system ?
I have a simple test written like this
public class Test
{
[ThreadStatic]
private static ServiceClient client;
[TestMethod]
public void TestCase1()
{
If( client == null)
{
.... //instantiate client
}
client.CallMyServiceMethod()
}
[TestMethod]
public void TestCase2()
{
using(var newClient = new ServiceClient())
{
newClient.CallMyServiceMethod()
}
}
The percentage of new users is set to 100 % for the test, and the user load is constant load of 1.
But the response time for TestCase1 is about 3 times better than TestCase2.
Can someone see what i am missing here ?
many thanks
Hello,
I need to strip the last line from a text file. I know how to open and save text files in C#, but how would I strip the last line of the text file?
The text file will always be different sizes (some have 80 lines, some have 20).
Can someone please show me how to do this?
Thanks.
How can I compile my python module into an executable, and distribute it in a way that doesn't require the user to download all the external Python packages that the module I wrote uses? Aside from that, is there a general guy on packaging and distributing python code? i.e. going from a script/module to someone that's user-friendly and can be run, ideally cross-platform (at least between unix and mac).
thanks.
I am not sure if I am going about this the best way, but I will try to explain what I am trying to do.
I have the following domain classes
class User {
static hasMany = [goals: Goal]
}
So each User has a list of Goal objects. I want to be able to take an instance of User and return 5 Users with the highest number of matching Goal objects (with the instance) in their goals list.
Can someone kindly explain how I might go about doing this?
Just asking whenever devise authentication mechanism for Rails does not conflict with declarative_authorization.
Maybe someone tried this combo and can share their knowledge, so I and other coders do not waste time trying to tie these ones up.
I would like for someone to explain this to me:
function myFunction(array){
array = $.grep(array, function(n,i){return n > 1 });
}
var mainArray = [1,2,3];
myFunction(mainArray);
document.write(mainArray) // 1,2,3, but i'm expecting 2,3
but if i do something like
array[3] = 4;
in place of the $.grep line, i get 1,2,3,4. Shouldn't mainArray become the new array created by $.grep?
Hi All,
I am display a pdf document on page using response.binarywrite i.e
Response.ClearHeaders()
Response.ClearContent()
Response.ContentType = "application/pdf"
Response.BinaryWrite(result)
need to call some javascript function to open up the print dialog after the pdf is loaded.
is it possible
Please let me know if someone knows how to achieve this ?
regards
Nilesh
Let me explain what I'm trying to do.
I want to make a simple box which counts down numbers at intervals I specify.
For example, I'd like to set it to start at 150, and then I want to set it to drop by 15 every 30 seconds.
Is this possible with AJAX/Javascript? If so, could someone point me in the right direction?
Would really appreciate any help on this script, been Googling for hours now! :(
Cheers
Kieran
I have following code snippet:
class ABC{
public:
int a;
void print(){cout<<"hello"<<endl;}
};
int main(){
ABC *ptr = NULL:
ptr->print();
return 0;
}
It runs successfully. Can someone explain it?
I'm looking for Java libraries/applications which are parallel and feature objects that can be queried in parallel. That is, there is/are objects in which multiple types of operations can be made from different threads and these will be synchronized.
It would be helpful if someone could ideas of where I could find such applications as well.
EDIT: Actually, language doesn't matter so much, so C++, Python, anything is welcome
I am attemption to convert a website (written in ASP.NET (C#) in a web application. Some of the file are not having the designer and aspx.cs files created for them. Why is this and can someone tell me what bases to cover to correct this issue
Hi,
anybody use Subsonic with SQL Server CE 3.5 ?
I try but get an error with Substage 2.2, error talking about PK_TABLE.
My tables have primary keys and relations.
Can someone help me ?
By, Giuseppe.
Hi,
does someone know a good cross reference engine like LXR, but written in PHP? My provider has PHP and MySQL as well as Postgres DBs, but neither I have access to Perl nor via SSH. I'd like to put up a online cross ref for my Software which is written in C.
Thanks for helping!
Dan
Considering we live in a world of "Rock Star" programmers/designers/architects , are there any project managers that take the limelight or invent something spectacular.
If the question is extended to programme managers, I presume it is easier to add someone to the list?
I love the idea of breaking out culture-specific resources into separate assemblies, but am confused as to how this can be done for an ASP.NET application. Can someone give me a quick rundown, or perhaps point to a tutorial on the subject?
I've seen examples of something like
[someArray sortUsingSelector:@selector(compare:)];
I'm looking for an example that stores a collection of UIViews and I'd like to sort them in ascending or descending order based on tags I assume programatically when a new UIView is created.
If someone could provide a code example or instructions that would be fantastic
Possible Duplicates:
Using Inner classes in C#
Inner classes in C#
Class declared inside of another class in C#
Does C# support the concept of inner classes? If so, what are the benefits?
Could someone please explain this to me?
I am creating a secure document portal for a client. One of the things that they are worried about is having someone upload a document with a virus. One solution that might work is to enforce that they only upload pdf files.
My question is two fold:
Most importantly, is a pdf document virus proof?
How can you determine in a *nix environment that a file is a pdf, besides just looking at the extension.
Thanks!
Jonathan
Hi,
I need to transform the rows into columns for the similar ID's in oracle
e.g.
The following is the result I will get if i query my database
Col1 Col2 Col3
1 ABC Yes
1 XYZ NO
2 ABC NO
I need to transform this into
Col1 Col2 Col3 Col4 Col5
1 ABC Yes XYZ No
2 ABC NO NULL NULL
Someone please help me in solving this issue
Thanks,
Siv
I have certain documents that I want to limit access to through Django to authorized users with permissions only.
If I'm going to use Django as a proxy to serve static files in a view, what are the implications? I'm used to serving static files in Apache and configuring that my media is served without any handlers, but what happens if someone starts downloading 500mb through my Django proxy? Will my Django thread be locked for that user until he recieves the 500mb response?
can someone tell me how to convert apache iis7 mod_rewrite .htaccess file to the equivalent web.config in MS Url Rewriter?
Here is the .htaccess file I have:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ /index.php?url=$1 [QSA,L]
</IfModule>