text stringlengths 8 267k | meta dict |
|---|---|
Q: Where has my ASP.NET State Service disappeared to? I set my ASP.NET State service to automatic start the other day on a hosted VSP Win 2003 server. I came back today and the service has gone completely missing!?
Any ideas why it has gone and how to get it back? Thanks!
A: You should ask your hosting service provide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to check the overall health of database using Toad? Anyone have any idea? And any open source sofware which also seens to perform this kind of functionality?
A: The DBA version of Toad has such a feature. In my version, it is under the DBA menu, and is called "Health Check".
Screenshot http://toadsoft.com/get2k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Monitor SQL currently in shared pool using Toad Anyone have any idea? And any open source sofware which also seens to perform this kind of functionality?
A: Toad does it. It is under Tools|SGA Trace/optimization.
Here is your open source solution :-)
select distinct
vs.sql_text, vs.sharable_mem, vs.persiste... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Monitoring a database instance Anyone have any idea? And any open source sofware which also seens to perform this kind of functionality?
A: I'm not sure what you need, but would http://www.nagios.org/ be enough for your purposes?
A: What database? What platform?
If it's MySQL, there are many monitoring application... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SBCL on Vista crashes. Do you know how to make it work? I've searched a lot for an answer for this question in the web: they say it's true, SBCL doesn't work under Vista.
But I really need to work with lisp on my home Vista laptop and VM doesn't help really...
And CL is not so interesting because of speed...
If you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Can you create collapsible #Region like scopes in C++ within VS 2008? I miss it so much (used it a lot in C#). can you do it in C++?
A: Yes, you can. See here.
#pragma region Region_Name
//Your content.
#pragma endregion Region_Name
A: The Visual assist add-in for VC supports regions for c++. Don't know if 2008 h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How to use SQLab Xpert Tuning to tune SQL for better performance? Anyone have any idea? And any open source sofware which also seens to perform this kind of functionality?
A: I am not sure what you are asking, it is pretty straightforward, you type in your SQL and SQLLab Xpert tries many combinations of rewriting y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Anyone have commit notification hook script that will send email upon commit of codes? Can share with me any of this script?
A: The default one is called commit-email.pl and is included when you install Subversion. But here is one in ruby:
#!/usr/bin/ruby -w
# A Subversion post-commit hook. Edit the configurable s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's the best way to get the name of a folder that doesn't exist? What's the best way to get a string containing a folder name that I can be certain does not exist? That is, if I call DirectoryInfo.Exists for the given path, it should return false.
EDIT: The reason behind it is I am writing a test for an error che... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: C# - Sending messages to Google Chrome from C# application I've been searching around, and I haven't found how I would do this from C#.
I was wanting to make it so I could tell Google Chrome to go Forward, Back, Open New Tab, Close Tab, Open New Window, and Close Window from my C# application.
I did something simila... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Create a tag upon every build of the application? Do anyone do this in ANT Build. Meaning everytimie a certain target is called e.g. build-sit. A tag will be created in the svn respositoyr to reference to that particular sit version.
Any idea how to do about doing that?
A: http://subclipse.tigris.org/svnant/svn.htm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I read an Http response stream twice in C#? I am trying to read an Http response stream twice via the following:
HttpWebResponse response = (HttpWebResponse)request.GetResponse();
stream = response.GetResponseStream();
RssReader reader = new RssReader(stream);
do
{
element = reader.Read();
if (element is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: What is the best way to list a member and all of its descendants in MDX? In an OLAP database I work with there is a 'Location' hierarchy consisting of the levels Company, Region, Area, Site, Room, Till. For a particular company I need to write some MDX that lists all regions, areas and sites (but not any levels belo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Dynamic search and display I have a big load of documents, text-files, that I want to search for relevant content. I've seen a searching tool, can't remeber where, that implemented a nice method as I describe in my requirement below.
My requirement is as follows:
*
*I need an optimised search function: I supply t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it idiomatic Ruby to add an assert( ) method to Ruby's Kernel class? I'm expanding my Ruby understanding by coding an equivalent of Kent Beck's xUnit in Ruby. Python (which Kent writes in) has an assert() method in the language which is used extensively. Ruby does not. I think it should be easy to add this but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "88"
} |
Q: .NET Remoting and Server 2008 (64 Bit) I have a .NET application that is meant to be run on a local PC and started from a file share on the LAN.
It works fine on 32 bit Windows XP and Vista workstations.
But it fails with a System.InvalidOperationException on 64 bit Windows Server 2008.
It runs fine locally on all t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: .html() jQuery method bizzare bug - resolves to empty space locally, but not on production I'm making a simple jquery command:
element.html(" ");
using the attributes/html method: http://docs.jquery.com/Attributes/html
It works on my local app engine... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Tomahawk and scrolling tabs is there a tomahawk component, that enables "scrollable tabs"? What I mean is something for the following situation:
If I have very many tabs, the tab-bar gets a little arrow on the side to scroll through all the open tabs (like in firefox).
Is there a tomahawk component for creating som... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Standard algorithm to tokenize a string, keep delimiters (in PHP) I want to split an arithmetic expression into tokens, to convert it into RPN.
Java has the StringTokenizer, which can optionally keep the delimiters. That way, I could use the operators as delimiters. Unfortunately, I need to do this in PHP, which has... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get WCF statistics from inside an application that uses it? Is it possible to gather performance statistics programmatically from inside a WCF application? For example, the number of connections open or requests received.
A: Look into WCF Performance Counters. You can query performance counters using the res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is having different users for different types of queries a good practice? I am using MySQL and PHP for a project I am working. I have created separate users for carrying out different functions (one for running select queries, one for running update queries, etc.) to provide an extra layer of security. This way, I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why doesnt paginator remember my custom parameters when I go to page 2? When using the paginator helper in cakephp views, it doesnt remember parts of the url that are custom for my useage.
For example:
http://example.org/users/index/moderators/page:2/sort:name/dir:asc
here moderators is a parameter that helps me f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do you write the end of a file opened with FILE_FLAG_NO_BUFFERING? I am using VB6 and the Win32 API to write data to a file, this functionality is for the export of data, therefore write performance to the disk is the key factor in my considerations. As such I am using the FILE_FLAG_NO_BUFFERING and FILE_FLAG_WR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/147996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Algorithm for finding the maximum difference in an array of numbers I have an array of a few million numbers.
double* const data = new double (3600000);
I need to iterate through the array and find the range (the largest value in the array minus the smallest value). However, there is a catch. I only want to find th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Find out the calling stored procedure in SQL Server Is it possible to find out who called a stored procedure?
For example, say I get an error in proc3. From within that proc I want to know if it was called by proc1 or proc2.
A: There is no nice automatic way to do this (alas). So it really depends on how much you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148004",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: How to update unique values in SQL using a PostgreSQL sequence? In SQL, how do update a table, setting a column to a different value for each row?
I want to update some rows in a PostgreSQL database, setting one column to a number from a sequence, where that column has a unique constraint. I hoped that I could just ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How can I plot data with a non-numeric X-axis? I have a series of performance tests I would like to show as a graph. I have a set of tests (about 10) which I run on a set of components (currently 3), and get throughput results.
The Y-axis would be the throughput result from the test, and the X-axis should have an a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Why is my parameter passed by reference not modified within the function? I have got a C function in a static library, let's call it A, with the following interface :
int A(unsigned int a, unsigned long long b, unsigned int *y, unsigned char *z);
This function will change the value of y an z (this is for sure). I u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the best approach to migrate a CGI to a Framework? i have a big web application running in perl CGI. It's running ok, it's well written, but as it was done in the past, all the html are defined hardcoded in the CGI calls, so as you could imagine, it's hard to mantain, improve and etc. So now i would like to s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Using OR comparisons with IF statements When using IF statements in Python, you have to do the following to make the "cascade" work correctly.
if job == "mechanic" or job == "tech":
print "awesome"
elif job == "tool" or job == "rock":
print "dolt"
Is there a way to make Python accept multiple values... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Is it OK to have object instantation 'hooks' in base classes? I have created my own Tree implementation for various reasons and have come up with two classes, a 'base' class that is a generic tree node that is chock full of logic and another class that extends that one which is more specialised.
In my base class cer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Call a Mathematica program from the command line, with command-line args, stdin, stdout, and stderr If you have Mathematica code in foo.m, Mathematica can be invoked with -noprompt
and with -initfile foo.m
(or -run "<<foo.m")
and the command line arguments are available in $CommandLine (with extra junk in there) but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How would you test an SSL connection? I'm experimenting with OpenSSL on my network application and I want to test if the data sent is encrypted and can't be seen by eavesdropper.
What tools can you use to check? Could this be done programmatically so it could be placed in a unit test?
A: Franci Penov made an answer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Is encrypting AJAX calls for authentication possible with jQuery? I'm fairly new to the AJAX methodologies (I only recently discovered jQuery a short time ago). I am interested to know if there is anyway to authenticate a user on a PHP setup; securely.
Does jQuery have any special options to allow use of HTTPS (or a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Problem using large binary segment in OOXML System Description
A plotting component that uses OOXML to generate a document.
Plotting component consists of several parts.
All parts are written in C++ as exe + dll's, with the exception of the interface to the OOXML document.
The latter component is a COM component t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Is the sorting algorithm used by .NET's `Array.Sort()` method a stable algorithm? Is the sorting algorithm used by .NET's Array.Sort() method a stable algorithm?
A: From MSDN:
This implementation performs an unstable sort; that is, if two elements are equal, their order might not be preserved. In contrast, a stabl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "71"
} |
Q: How to make a method exclusive in a multithreaded context? I have a method which should be executed in an exclusive fashion. Basically, it's a multi threaded application where the method is invoked periodically by a timer, but which could also be manually triggered by a user action.
Let's take an example :
*
*The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to convert a string into bignum in C code which extends Guile? In Guile 1.6.*, the function scm_istring2number(char *str,int strlen,int radix) does the work.
However, this function does not exist in Guile 1.8..
How can I accomplish the same task in Guile 1.8.?
This is not trivial because the function scm_str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to deploy an ASP.NET Application with zero downtime To deploy a new version of our website we do the following:
*
*Zip up the new code, and upload it to the server.
*On the live server, delete all the live code from the IIS website directory.
*Extract the new code zipfile into the now empty IIS directory
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "133"
} |
Q: "Colorizing" images in .NET Is there any simple way to programatically colorize images in .NET? Basically we have a black and white image and need to put a layer of say pink above it and reduce the opacity of that layer to make the picture colorized in pink.
A: You should use the wonderful ImageMagick library. It h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: enabling/disabling asp.net web service extension via script In IIS 6, I can use the Web Service Extensions folder in Inetmgr to allow/prohibit isapi filters, such as ASP.net. I want to be able to do this programmatically (in particular, from an installer script/exe).
Any ideas?
A: Adding Web Service Extension File... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can addChild choose the wrong insertion index? So, In a Flex app I add a new GUI component by creating it and calling parent.addChild(). However in some cases, this causes an error in the bowels of Flex. Turns out, addChild actually does:
return addChildAt(child, numChildren);
In the cases where it breaks, some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What framework would you recommend for making desktop-like apps for the web? Several frameworks for writing web-based desktop-like applications have recently appeared. E.g. SproutCore and Cappuccino. Do you have any experience using them? What's your impression? Did I miss some other framework?
I've seen related que... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Performance considerations for Triggers vs Constraints I'm trying to find out whether I should be using business critical logic in a trigger or constraint inside of my database.
So far I've added logic in triggers as it gives me the control over what happens next and means I can provide custom user messages instead ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148129",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How do I peek at the first two bytes in an InputStream? Should be pretty simple: I have an InputStream where I want to peek at (not read) the first two bytes, i.e. I want the "current position" of the InputStream to stil be at 0 after my peeking. What is the best and safest way to do this?
Answer - As I had suspecte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: Oracle sql query, concatenate fileds with CASE section I'm currently generating SQL insert statements from more than one tables, and in the generated data I need to use a CASE statement, like this:
select 'INSERT INTO TABLE1 (f1, f2, f3, f4 ...) values ('
||t.f1||','
||CASE
WHEN t.f2 > 0 T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there anyway to tell Visual Studio not to open all the documents when I load solution? When you open a solution in Visual Studio 2008 (or ealier versions for that matter), it opens all the documents that you did not close before you closed Visual Studio. Is there anyway to turn this functionality off, or a plugin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Sharepoint Workflow Modification is not disabled I am working on a Sharepoint Server 2007 State machine Workflow. Until now I have a few states and a custom Association/InitiationForm which I created with InfoPath 2007. In Addition I have a few modification forms. I have a Problem with the removing of the modificati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Generate getters and setters (Zend Studio for Eclipse) I'm using Zend Studio for Eclipse (Linux), and I'm trying to generate getter and setters methods in a PHP class.
I try to do this: http://files.zend.com/help/Zend-Studio-Eclipse-Help/creating_getters_and_setters.htm
but I haven't "Generate Getters and Setters" ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When deleting hasOne or hasMany associations, should the foreignKey be set to NULL? Given :
Group hasMany Persons
but the relationship is independent (ie. Persons can exist without belonging to a Group), should the foreign key in the persons' table (ie group_id) be set to 0 (or NULL) when deleting a group? If you... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Strange MFC / VC++ Linker Error (std::list already defined) I've got a really odd error message that only occurs when I add the following line to my project:
std::list<CRect> myVar;
It's worth noting that it doesn't have to be a std::list, it can be std::vector or any other STL container I assume.
Here is the error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the best way to create a script to use with the rails request profiler? The rails scirpt script/performance/request require a session script, what is the best way to generate this session script?
A: Add this code to your application.rb file
before_filter :benchmark_log
def benchmark_log
File.open("req... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: where can i download opengl for windows vista I've been searching and can't find the download files on opengl.org. can someone please point me to the right direction?
A: OpenGL is just a standard. The implementations come with your graphics card drivers and are exposed using WGL extensions in Windows. There is a 's... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How efficient is define in PHP? C++ preprocessor #define is totally different.
Is the PHP define() any different than just creating a var?
define("SETTING", 0);
$something = SETTING;
vs
$setting = 0;
$something = $setting;
A: In general, the idea of a constant is to be constant, (Sounds funny, right? ;)) insi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: SQL2005 Express slow from remote VB6 application I have a legacy VB6 application that was built using MSDE.
As many client's database grow towards the MSDE 2 GB limit they are upgraded to SQL 2005 Express.
This has proven very successful until today.
I have spent the entire day troubleshooting a client's network on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Integrating jQuery into an existing ASP.NET Web Application? Microsoft recently announced that the Javascript/HTML DOM library jQuery will be integrated into the ASP.NET MVC framework and into ASP.NET / Visual Studio.
What is the best practice or strategy adopting jQuery using ASP.NET 2.0? I'd like to prepare a larg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: logging soap requests in flex 3 I'm trying to consume a SOAP webservice from an Adobe Flex 3 application, but the server tell me "Invalid SOAP Envelope. SOAP Body does not contain a message nor a fault". I already wrote other test clients (with both Delphi and C#) and I'm sure it's all ok on the server side, so I ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Equivalent of PHP's print_r in Java? last time I asked how to populate a data structure here. Now I would like to know if there's something in Java, like the print_r I use in PHP, to represent what I have populated in the Maps and lists without having to do my own algorithm.
Any ideas?
A: Depending on exactly what ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: ObjectDataSource Update method with dynamic parameters I have this DataTable that has a varying set of columns except for a sequence number.
| Sequence | Value | Tax | Duty | Total |
Any number of columns should be accepted with unique column names.
To display that table, I need to use an ObjectDataSource mapped to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: coordination between Design and Development Background:
I am developing a site in Asp.net 2.0 . Up until now i was handling both the design and development of the site. I used css for the design part.
Now the company wants to outsource the design work to a web designer.
Question:
How exactly are a designer and de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Run macro in visual studio when solution is closed Is it possible to run a macro in Visual Studio 2008 the moment a solution is closed? I would like to delete the .suo-files of that solution, so that the current user settings are not presented to me the next time I open the solution.
A: (C#)
Use the _applicationObj... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to extract four unsigned short ints from one long long int? Suppose I have one long long int and want to take its bits and construct four unsigned short ints out of it.
Particular order doesn't matter much here.
I generally know that I need to shift bits and truncate to the size of unsigned short int. But I thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: LOAD SQL Table from flat file I am am trying to load a SQL table from a flat file. The flat i am talking about is a comma separated file. This has all the data required to populate a table will each column separated by a comma ",". I need some way by which i can load this content into the table faster.
A: If you ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there any way to check which kind of RAM my computer uses without opening it up? I would like to check which type of RAM my computer uses before I order an upgrade. I'm fairly sure its DDR2 but I would like to double check this.
Is there any way to check this in Windows XP without opening the case up and looking?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: CSS centering tricks My favorite equation for centering an xhtml element using only CSS is as follows:
display: block;
position: absolute;
width: _insert width here_;
left: 50%;
margin-left: _insert width divided by two & multiplied by negative one here_
There's also the simpler margin:auto method in browsers that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Oracle database startup problems In Oracle, I have set the log_archive_dest1='D:\app\administrator\orcl\archive' parameter and shutdown the database. When I tried to start up the db, I got the following error:
SQL> startup mount;
ORA-16032: parameter LOG_ARCHIVE_DEST_1 destination string cannot be translated
ORA-0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I draw transparent DirectX content in a transparent window? I want to draw DirectX content so that it appears to be floating over top of the desktop and any other applications that are running. I also need to be able to make the directx content semi-transparent, so other things show through. Is there a way of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Word spell check runs slow on Word 2007/Vista I have written a DLL that uses MS Word to spell check the content of a RichtextBox. The project uses Microsoft Word 11.0 Object Library. I have read that you can use that reference on machines using that version of Word or later, and that seem to be true.
However ... Wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Eclipse C++ pretty printing? The output we get when printing C++ sources from Eclipse is rather ugly.
Is there are way/a plugin to pretty print C++ source code like e.g. with a2ps (which is probably using yet another filter for C source code)?
A: See this DDJ article which uses enscript as the pretty print engine.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you implement audit trail for your objects (Programming)? I need to implement an audit trail for Add/Edit/Delete on my objects,I'm using an ORM (XPO) for defining my objects etc. I implemented an audit trail object that is triggered on
*
*OnSaving
*OnDeleting
Of the base object, and I store the change... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How to print values at points with Google Chart API? I have gone through their developer guide but haven't been able to find a way to print the value at points (in case of line charts) or after bars (bar charts).Is there a way to do it?
A: You can achieve this with a label, it's in the documentation - it has an exa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to check for equals? (0 == i) or (i == 0) Okay, we know that the following two lines are equivalent -
*
*(0 == i)
*(i == 0)
Also, the first method was encouraged in the past because that would have allowed the compiler to give an error message if you accidentally used '=' instead of '=='.
My question is - i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Best Way to Manage Configuration Data I'm working on a SaaS application where each customer will have different configurations depending on the edition they have purchased, additional features they have purchased, etc. For example, a customer might have a limit of 3 custom reports.
Obviously I want to store this con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Portal Style & Theme I have integrated SRM 5.0 into Portal. Most of the iviews are IAC i.e., all are ITS based services.
The issue is that the Portal Theme does not get reflected on these services after integration.
When a BSP or Webdynpro is integrated then the application reflects the Portal Theme when executed fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to upload files from ASP.NET to another web application I have a scenario where I need to upload a file from one web application and use it in another one. My setup is the following.
*
*One server, hosting two web applications in IIS - both are ASP.NET
*One of the applications is used to administer the oth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: how to register url handler for apache commons httpclient I want to be able to access custom URLs with apache httpclient. Something like this:
HttpClient client = new HttpClient();
HttpMethod method = new GetMethod("media:///squishy.jpg");
int statusCode = client.executeMethod(method);
Can I somehow register a cust... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to create and then upload an Image file to a web server from silverlight? I have just started using silverlight 2 beta and cannot find how to or if it is possible to render a canvas to an bitmap image and then upload it to my web server?
Is this possible and if so how would I complete this task?
Upda... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where do you check to if a hotfix from Microsoft have been applied to any service packs? I have a interest in a reported bug which Microsoft have made available a hotfix for. When looking on the site, I'm not able to figure out if this fix is included in a service pack or not. Do anyone know where I can find this ou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I give keyboard focus to a DIV and attach keyboard event handlers to it? I am building an application where I want to be able to click a rectangle represented by a DIV, and then use the keyboard to move that DIV by listing for keyboard events.
Rather than using an event listener for those keyboard events at ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "86"
} |
Q: Restrict Template Function I wrote a sample program at http://codepad.org/ko8vVCDF that uses a template function.
How do I retrict the template function to only use numbers? (int, double etc.)
#include <vector>
#include <iostream>
using namespace std;
template <typename T>
T sum(vector<T>& a)
{
T result = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Nifty live web tracking I'm looking for a real time web log watcher that can visually display visitors as they browse around different pages etc. I'd like it to be a web application, it's going to be shown on a big screen in the office. Any tips?
A: Check out glTail.rb
http://www.fudgie.org/ The site includes a vi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I inspect the Asp.Net request pipeline? When I measure request times on "the inside" of an Asp.Net application and compare it to timings on "the outside" of the app, I get different values -- 1000-5000ms strange overheads from time to time.
Maybe the requests are beeing queued up in front of IIS?
Or somethi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Are there any disadvantages to always using nvarchar(MAX)? In SQL Server 2005, are there any disadvantages to making all character fields nvarchar(MAX) rather than specifying a length explicitly, e.g. nvarchar(255)? (Apart from the obvious one that you aren't able to limit the field length at the database level)
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "377"
} |
Q: UTF8 to/from wide char conversion in STL Is it possible to convert UTF8 string in a std::string to std::wstring and vice versa in a platform independent manner? In a Windows application I would use MultiByteToWideChar and WideCharToMultiByte. However, the code is compiled for multiple OSes and I'm limited to standar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "83"
} |
Q: Why does the code below return true only for a = 1? Why does the code below return true only for a = 1?
main(){
int a = 10;
if (true == a)
cout<<"Why am I not getting executed";
}
A: Your boolean is promoted to an integer, and becomes 1.
A: When a Bool true is converted to an int, it's always converted to 1.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Removing button while progress is displayed I have a button on an ASP.NET wep application form and when clicked goes off and posts information a third party web service.
I have an UpdateProgress associated with the button.
how do disable/hide the button while the progress is visible (i.e. the server has not comple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I get the content of the file specified as the 'src' of a
A: I don't think the contents will be available via the DOM. You could get the value of the src attribute and use AJAX to request the file from the server.
A: tl;dr script tags are not subject to CORS and same-origin-policy and therefore javascript/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "77"
} |
Q: How to use sed to replace only the first occurrence in a file? I would like to update a large number of C++ source files with an extra include directive before any existing #includes. For this sort of task, I normally use a small bash script with sed to re-write the file.
How do I get sed to replace just the first ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "306"
} |
Q: Java 2D Drawing Optimal Performance I'm in the process of writing a Java 2D game. I'm using the built-in Java 2D drawing libraries, drawing on a Graphics2D I acquire from a BufferStrategy from a Canvas in a JFrame (which is sometimes full-screened). The BufferStrategy is double-buffered. Repainting is done actively,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: Advantages and drawbacks of chainable methods? I really love the philosophy of chaining methods, like jQuery emphasys in its library. I found it quite elegant and clear.
Being primarily Java developper, I've always wondering myself why this practice was not more used in this language. For example, the Collection int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: JQuery Flickr file upload not working I am trying to upload a file using to Flickr using JQuery. I have a form (which works if I dont use JQuery) which I am submitting using the Form Plugin. My code is as follows:
<html>
<head>
<title>Test Upload</title>
<script type="text/javascript" src="jquery-1.2.6.js"></script... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Limiting range of value types in C++ Suppose I have a LimitedValue class which holds a value, and is parameterized on int types 'min' and 'max'. You'd use it as a container for holding values which can only be in a certain range. You could use it such:
LimitedValue< float, 0, 360 > someAngle( 45.0 );
someTrigFunct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: Does nmake have build tasks? Using Ant I could unzip an archive before proceeding with the build per-se ... Is this possible using nmake? Could I call an external application? Or even a batch script?
A: Any variant on make has the ability to perform any task that can be done from the command line. Indeed, most of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Regex search/replace only first occurrence in a string in .NET? It seems the .NET Regex.Replace method automatically replaces all matching occurrences. I could provide a MatchEvaluator delegate that returns the matched string after the first replacement, rendering no change, but that sounds very inefficient ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Entlib versus ACA.Net - Does ACA.Net provide any advantage? My understanding is that Entlib has picked-up and included concepts from ACA.Net. Is there any point to using ACA.Net on a new .net project?
A: We are actively using ACA.NET 4.1 where I work. ACA.NET actually uses EntLib at its core, and over the years A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: NoClassDefFoundError with a long classname on Tomcat with java 1.4.2_07-b05 I have a java class:
it.eng.ancona.view.RuoliView$TabElaborazioneFattureValidazione$ElencoDettaglioElaborazioneFattureValidazione$RigaElencoDettaglioElaborazioneFattureValidazione
It's so long for multiple inner class.
If I use 1.4.2_07-b0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Creating my own Iterators I'm trying to learn C++ so forgive me if this question demonstrates a lack of basic knowledge, you see, the fact is, I have a lack of basic knowledge.
I want some help working out how to create an iterator for a class I have created.
I have a class 'Shape' which has a container of Points.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "146"
} |
Q: Access a 2nd project in the same solution with MSBuild I'm new to MSBuild, and am learning as I need to know how to do things. Currently, I am working form the MSBuild file that is generated from the Web Deployment Project extension for Visual Studio. I have been ab;e to access and manipulate files which are directl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Storing database data in files? I'm currently working on a school project, in java, and I'm coding a database application. Something like the MySQL Monitor where you type in queries and get results / whatever.
In applications I've coded before, I used databases to store data, like user profiles, settings, etc. Now, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Using pre-compiled headers with CMake I have seen a few (old) posts on the 'net about hacking together some support for pre-compiled headers in CMake. They all seem a bit all-over the place and everyone has their own way of doing it. What is the best way of doing it currently?
A: There is a third party CMake module... | {
"language": "en",
"url": "https://stackoverflow.com/questions/148570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "118"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.