text stringlengths 8 267k | meta dict |
|---|---|
Q: Order of fields in Dynamic Data? Does anybody know if it is possible to choose the order of the fields in Dynamic Data (of course, without customizing the templates of each table) ?
Thanks !
A: As per this thread - you can use the ColumnOrderAttribute in the dynamic data futures dll. You can grab the futures from c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How to get the name/description of an exception? How do you get the name and/or description of an SEH exception without having to hard-code the strings into your application?
I tried to use FormatMessage(), but it truncates the message sometimes, even if you specify to ignore inserts:
__asm { // raise access violati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: CreateProcessAsUser not working correctly in my experiments I am trying to do the following:
1. I am logged in as Administrator account in my XP with SP2 machine running VS.NET 2005
2. This machine also has another account user1 which is a guest account
3. I am running a program as Administrator, from this program i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Powershell remoting with V1 Do you know of any good remoting solutions using powershell V1 (I know the V2 stuff is awesome, but my organization doesn't like using pre-release software). I don't need anything spectactular, just a way to kick off powershell script on another box and get the results back when they're ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: DataTable Query I am new to LINQ. I am trying to find the rows that does not exists in the second data table.
report_list and benchmark both type are : DataTable. Both these datatables are being populated using OleDbCommand,OleDbDataAdapter. I am getting an error "Specified cast is not valid." in foreach ... loop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it ok to write my own extension methods in the system namespace? I've been using extension methods quite a bit recently and have found a lot of uses for them. The only problem I have is remembering where they are and what namespace to use in order to get the extension methods.
However, I recently had a thought of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Designing an SQL Table and getting it right the first time I currently working on an issue tracker for my company to help them keep track of problems that arise with the network. I am using C# and SQL.
Each issue has about twenty things we need to keep track of(status, work loss, who created it, who's working on it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How does Apple make the info.plist display its "Information Property List"? My plists simply start with "Root". Theirs contains arrays of useful stuff you can select to tweak the configuration.
The specific info.plist I am looking at is in an iphone project.
I have researched this a little bit, (not alot) but haven'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Control a service on a remote server from IIS Please note: In each step I describe below I'm logged in as the same domain user account.
I have a web application that controls a service on a remote machine (via ServiceController). When I connect to the website remotely and attempt to control the service, I get an I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Javascript Regexp - Match string pattern except if string is inside specified tag I am trying to replace all occurences of ???some.text.and.dots??? in a html page to add a link on it. I've built this regexp that does it :
\?\?\?([a-z0-9.]*)\?\?\?
However, I would like to exclude any result that is inside a link : "<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321947",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you rename the child XML elements used in an XML Serialized List? I'm serializing to XML my class where one of properties has type List<string>.
public class MyClass {
...
public List<string> Properties { get; set; }
...
}
XML created by serializing this class looks like this:
<MyClass>
...
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to verify if a rule exists in a prolog file clause database I'm working on a college assignment where I must verify if a certain clause (as a fact or as a rule) exists in the current clause database.
The idea is to use a rule whose head is verify(+name, +arguments). This rule should be true if in the database e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Publish on Xbap to IIS on Windows Server 2003 Ive programmed an Xbap Application and published it to Windows XP computer without any problem. Now I want to publish the Xbap application to a Computer running Windows Server 2003. I do'nt get any failure when I´m publish the application, but when I try to browse the ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you determine if a variable contains a file pointer in PHP? Exactly as the question states: How can you check if a variable in PHP contains a file pointer? Some like is_string() or is_object().
A: You can use stream_get_meta_data() for this.
<?php
$f = fopen('index.php', 'r');
var_dump(stream_get_meta_data($... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Using GDB without debugging symbols on x86? How do I use GDB to debug a program which do not have debugging symbols on a 32-bit x86 processor? Inspecting the function arguments, local variables, resolving pointers would be useful to know how to do.
The intention is not really to use this for reverse engineering, as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Greatest linear dimension 2d set of points Given an ordered set of 2D pixel locations (adjacent or adjacent-diagonal) that form a complete path with no repeats, how do I determine the Greatest Linear Dimension of the polygon whose perimeter is that set of pixels? (where the GLD is the greatest linear distance of any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Embedded web browser engine for cross platform desktop application?
Possible Duplicate:
How to embed a web browser control in a cross-platform application?
I'd like to embed a browsing engine (HTML,JS,CSS,DOM) in my desktop applications.
Which one is most suitable for me if I want to use it in a cross-platform de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Does Silverlight use a separate application domain for each browser tab? If the same Silverlight application is running in two web browser tabs, does each tab use a separate application domain?
If you know where Microsoft explicitly provides this information, please include a reference.
A: Not direct from Microsoft... | {
"language": "en",
"url": "https://stackoverflow.com/questions/321999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Databind a value to a gridviewcolumn header? Is it possible?
I have a listview with several gridviewcolumns. The last column has a dynamic header. I dont know what the column header will be at design time. It's actually a number I want to display as a string.
<GridViewColumn Header="{Binding Path=SomeValue}"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Deploying a datasource w/ JAAS login module as a .sar in jboss Does anyone have experience bundling a datasource (-ds.xml) definition + login-config.xml as a service archive in jboss? I've been fighting with this for awhile to no avail. I'm just looking for some pointers on how I should be laying the .sar out. I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Recommendations for a programmable drivers license scanner? Our motor pool wants to scan drivers’ licenses and have the data imported into our custom system. We're looking for something that will allow us to programmatically get the data from the scanner (including the picture) and let us insert it into our applicat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: IF statement formatting best-practise, what's your style? Looking to improve my IF statement, and I want to keep my code looking pretty
This is what I am currently doing, is it readable, any room for improvement?
SomeObject o = LoadSomeObject();
if( null == o
||
null == o.ID || null == o.Title
||
0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Does Java work with PCF fonts? I am trying to make IBM jre to use PCF fonts from default X11 installation on my linux box. In particular adobe-helvetica font. I have toyed to modify fontconfig.properties in jre/lib folder but no matter what I do Java seams to use some other fonts. I guess there is some algorithm how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I Need to write a program to draw a graph using HP PCL 5e/HP/GL2 I have read an example and tried to duplicate it's methods but with weird results. This is a 1 shot deal so I do not want to buy a package to do this. Also, it will be executed on a Multi-Valued database in a Basic that not many programmers write in an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best way to implement a 2D grid of radio buttons? What is the best way to implement a 2D grid of radio buttons so that only one option in each column and one option in each row can be selected?
A: A 1D array of 1D arrays of radio buttons. Each row (or column) would use the normal radio button functiona... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Sendkeys in vb6 Just trying to make the enter key pressed after a time delay in vb6, all the examples I find don't seem to be working, any help?
Just trying to simulate a keystroke. Focus doesn't matter.
A: You may need to supply more details. But IF you are trying to send a enter key to a VB6 authored application... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Accessing a list of avaliable Wifi APs, on Windows Mobile I need to query for a list of available Wireless Access points. I only need their SSIDs.
The App is currently .Net CF 2.0, but it's not a problem going with 3.5 if we have to.
A: The list of "nearby" APs is retrived eitehr through NDIS or WZC, depending on w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is this property Getter virtual? Having a strange issue with some C# code - the Getter method for a property is showing up as virtual when not explicitly marked.
The problem exhibits with the DbKey property on this class (code in full):
public class ProcessingContextKey : BusinessEntityKey, IProcessingContextKey... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Is there a Perl module that validates an XML against a schema? I need to validate an XML agaist a schema.
I tried XML::SAX::ParserFactory; XML::Validator::Schema and related modules but looks like they are limited.
Limited in the sense that it didn't recognize schema elements such as xsd:unique, xsd:group, xsd:key... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: c++ array declaration in a header I was wondering if it is possible to declare an array (size not known at this time), as a private member of a class and later set the size in the constructor of the class. For example:
class Test {
int a[];
public:
Test(int size);
};
Test::Test(int size) {
a[size]; // this is wr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do I detect circular logic or recursion in a custom expression evaluator? I've written an experimental function evaluator that allows me to bind simple functions together such that when the variables change, all functions that rely on those variables (and the functions that rely on those functions, etc.) are upd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Compiling and Running java in Unix ( coming from Windows ) Ok, this is working on windows. My Java app is running and functioning normally
javac -classpath .;ojdbc14.jar -g foo.java
java -classpath .;ojdbc14.jar foo
However, when I do the same thing on Unix I get this error:
ojdbc14.jar: not found
What am I d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Vectors in Java, how to return multiple vectors in an object I'm working on a java program, and I have several vectors defined and filled (from a file) inside a method. I need to return the contents of all the vectors from the method. I have heard you can put them all in one object to return them. Is that possibl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Invoke gdb to automatically pass arguments to the program being debugged I'd like to write a script that (under certain conditions) will execute gdb and automatically run some program X with some set of arguments Y. Once the program has finished executing the user should remain at gdb's prompt until s/he explicitly... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: How to render an interactive globe/earth for the iPhone OpenGL ES? I am looking for an example that renders an interactive earth similar to the one in the Smule products.
A: I can't offer any samples, but Dragon Forged Software sells a prepackaged OpenGL ES Globe for the iPhone. http://dragonforged.com/consult.shtm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Is there an easy way to provide a Matlab-based Web App or Web Service? A colleague and I have spent a few years developing a really cool Matlab application, MDLcompress. Within Matlab, I can type "MDLcompress('filename.txt')" and it will tell me all sorts of really cool stuff about the contents of filename.txt. We... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: C++ STL Vector Iterator accessing members of an Object I think I've declared a Vector with an object correctly. But, I don't know how to access it's members when looping with Iterator.
In my code, the line --->> cout << " " << *Iter;
How do I print the contents of the members? Like *Iter.m_PackLine ???
Not sure i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Is there a ReSharper template to generate a basic method? I'm new to ReSharper and am surprised that there isn't a template defined for
public void MethodName(<params>)
{
}
I realize I could create one, but I would have thought this would have been part of the standard product. Perhaps I'm missing some other sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do you edit Maven pom files? I have recently started exploring Maven, but I feel a bit overwhelmed of all xml configuration in all the pom files. Are there any good tools i can use?
A: This tip works with any good XML editor.
By far the best guide you can have is the XML schema (the 'XSD' file), which defines a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: QAbstractTableModel inheritance vtable problem Here's another problem with qt:
I extend a QAbstractTableModel, but I get a compiling error ( I'm using cmake)
// file.h
#ifndef TABLEMODEL_H
#define TABLEMODEL_H
#include <QAbstractTableModel>
class TableModel : public QAbstractTableModel
{
Q_OBJECT
public:
TableMod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Bogus Eclipse warning for web.xml: "No grammar constraints (DTD or XML schema) detected for the document." The top of my web.xml file looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: Why does this Perl BEGIN block act differently in the debugger? I have some Perl code that runs fine outside the debugger:
% perl somefile.pl
but when I run it inside the debugger:
% perl -d somefile.pl
it behaves differently.
The files in question (there are several) are part of the test suite for a large Perl mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Does Silverlight have a performance advantage over JavaScript? At a recent discussion on Silverlight the advantage of speed was brought up. The argument for Silverlight was that it performed better in the browser than Javascript because it is compiled (and managed) code.
It was then stated that this advantage only a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: ASP.NET 3.5 bind to XML string With ASP.NET 3.5 I can easily bind to an XML file by using an XmlDataSource.
How can I bind to an XML string instead of a file?
A: Use the XmlDataSource.Data property.
XmlDataSource dataSource = new XmlDataSource();
dataSource.Data = "<root><element>Item #1</element><el... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Free sound editor / converter? I'm looking for something like paint.net or Gimp, but for audio files, and runs on windows.
A: Audacity is fantastic
A: As already mentioned, Audacity is fantastic. If you're looking to batch convert sound files at the command line, check out mencoder and (for MP3s only) LAME.
A: A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Spring bean with no id or name I'm reviewing some Spring code, and I see a few bean defs that do not have an id or a name.
The person who did it is not around to ask.
The application is working fine.
I am not familiar what this necessarily means.
Anybody know if this means anything in particular?
A: One possibility... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: How to find webrick bugs in NetBeans for Ror? I'm starting my adventure with Ruby on Rails and as IDE I choose Netbeans. It has bundled server Webrick and it had worked good. But after some changes in my first application it gives me internal error 500 - but nothing shows in console. And older actions give the same ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to add a subreport to the header of an RDLC report? I am looking for a way to add a "subreport" (or something equivilent) to the header of a RDLC report in Visual Studio 2008. I have a block of information that I would like to pass in via a parameter, but I only want to display it once. Any help wou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Modifying PDF document properties How can I modify the PDF document properties programmatically using .NET code?
I have purchased a number of eBooks in PDF format and unfortunately the publishers have not set the Title, Author and Subject properties. You can see this on a document by accessing the file Properties di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Send data over Internet I have a requirement to send some 100 bytes data over internet .My machine is connected to internet.
I can do this with HTTP by sending requests and receiving responses.
But my requirement is just to send data not receive response.
I am thinking of doing this using UDP Client server program. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: sending an email, but not now I'm writing an application where the user will create an appointment, and instantly get an email confirming their appointment. I'd also like to send an email the day of their appointment, to remind them to actually show up.
I'm in ASP.NET (2.0) on MS SQL . The immediate email is no pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322226",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Persisting Users using Hibernate I've created a UserObject and RoleObject to represent users in my application. I'm trying to use hibernate for CRUD instead of raw JDBC. I've successfully retrieved the information from the data base, but I can not create new users. I get the following error.
org.springframework.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Populate Property Object during Property Call I'd like to know whether this approach is correct or if their are better ways of doing this.
I have what is basically a Person class which has a number of other classes as variables, each of the custom classes is instantiated by passing the Person ID and then that class ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Temporarily prevent linux from shutting down I have a backup script that runs in the background daily on my linux (Fedora 9) computer. If the computer is shut down while the backup is in progress the backup may be damaged so I would like to write a small script that temporarily disables the ability of the user to re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Search results Highlighting using Lucene.net I'm working on an asp.net application which uses Lucene.net
I need to highlight the search results returned from Lucene.
I believe there is a Highlighter class which serves this purpose.I am using Lucene.Net version 2.0.0.4 but am not able to find any Highlighter class in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Which Tomcat 5 context file takes precedence? Tomcat documentation says:
The locations for Context Descriptors are;
$CATALINA_HOME/conf/[enginename]/[hostname]/context.xml
$CATALINA_HOME/webapps/[webappname]/META-INF/context.xml
On my server, I have at least 3 files floating around:
1 ...tomcat/conf/context.xml
2 .... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Signing a mixed mode C++ assembly Can you sign a C++ CLI application that is partially managed and partially unmanaged?
A: Yes. You can sign a mixed mode .Net assembly. It will still require full trust to run though.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/322262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C# Mobile Game Development I'm currently trying to implement a marble maze game for a WM 5.0 device and have been struggling with developing a working prototype. The prototype would need the user to control the ball using the directional keys and display realistic acceleration and friction.
I was wondering if anyon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Parallel mysql queries in php? I am sharding my data into multiple mysql databases, but sometimes I will need to gather information from multiple shards. How can I query multiple mysql databases in parallel in php?
I've seen some examples of asynchronous curl requests and shell_exec, but is there a more direct way?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: asp.net, stateserver, NLB, session lost 1st post on stackoverflow, hope to have great feedback :)
I'm currently trying to load balance our web site. We have set up a 2 cluster NLB on windows server 2003 with IIS 6.
While testing the setup, I found that sometimes, our session is lost. A day and a half later, here's t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting the Web Capture Web Part to work were the Sharepoint is 64bit Previously our SharePoint server was 32-bit and we used the web capture web part to display a bugzilla search results page. Since we've migrated to a 64-bit server the webpart no longer works. We're running the same versions of everything, the onl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: BizTalk Looping Functoid I have a structured XML file format that needs to be mapped to a flatter XML format. Ordinarily I would create a custom XSLT file for this and have the BizTalk map use it. However, I do like the idea of using the graphical maps where possible - it's all too easy to dive straight into XSLT bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: In Perforce, what is the command to connect to a different port when switching client user? What is the command-line equivalent of "Switch Port Client User" as found in the p4win gui client?
I am already logged under one port but now I am attempting to connect to a different port on the same server in order to acce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to send html email to outlook from Java I'm trying to send an email in html format using JavaMail but it always seems to only display as a text email in Outlook.
Here is my code:
try
{
Properties props = System.getProperties();
props.put("mail.smtp.host", mailserver);
props.put("mail.smtp.from", fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How Does AQTime Do It? I've been testing out the performance and memory profiler AQTime to see if it's worthwhile spending those big $$$ for it for my Delphi application.
What amazes me is how it can give you source line level performance tracing (which includes the number of times each line was executed and the am... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do I refresh an ASP.NET ListView using jQuery and AJAX? I have a page with a number of ListViews that I want users to be able to sort and page through. Rather than postback and rebind the entire page each time, I would like to do it via jQuery/AJAX selectively for the control in question. I am comfortable making... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Do MySQL prepared queries provide a performance benefit for once-per-session queries? According to the documentation, a prepared query provides a significant performance benefit if you're running a query multiple times because the overhead of the MySQL server parsing the query only happens once. I'm wondering what e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Displaying dereferenced STL iterators in gdb I have an iterator to a map element, and I would like gdb to show me the values of the "first" and "second" elements of that iterator.
For example:
std::map<int,double> aMap;
...fill map...
std::map<int,double>::const_iterator p = aMap.begin();
I can use p.first and p.se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Extracting 32-bit RGBA value from NSColor I've got an NSColor, and I really want the 32-bit RGBA value that it represents. Is there any easy way to get this, besides extracting the float components, then multiplying and ORing and generally doing gross, endian-dependent things?
Edit: Thanks for the help. Really, wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to programmatically delete all local shared objects from within flash? I'm using local shared objects within flash both to store significant amounts of user data, as well as for caching data fetched from the server.
However, I'm very concerned about hitting the 100kb default limit. Because the 100kb ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: AS3 Components in Flash Designer In an ActionScript 2 project I can create a new MovieClip, right-click on it on the library and select "Component Definition" to add parameters that can be referenced inside the MovieClip. This parameters can be easily changed in the MovieClips's properties.
Now, I'm working on an Ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SQL CLR function and OleDb permissions I have a .NET 3.5 C# library that uses OleDb to pull data from an Excel file and return it in a DataRowCollection which is used by a CLR Table-Valued Function in SQL Server 2005.
I deployed the ASSEMBLY in SQL Server as sa and used PERMISSION_SET = EXTERNAL_ACCESS. The sa logi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JavaScript: Check if mouse button down? Is there a way to detect if a mouse button is currently down in JavaScript?
I know about the "mousedown" event, but that's not what I need. Some time AFTER the mouse button is pressed, I want to be able to detect if it is still pressed down.
Is this possible?
A: I know this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "170"
} |
Q: How can I inform the implementor of my Interface that the "path" parameter represents a folder? I am about to define an interface in my application that plug-in writers can implement to provide user-defined "export" capabilities. It'll look something like this:
public interface IFooExporter
{
void ExportFoo(Foo ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I examine the contents of an std::vector in gdb, using the icc compiler? I want to examine the contents of a std::vector in gdb but I don't have access to _M_impl because I'm using icc, not gcc, how do I do it? Let's say it's a std::vector for the sake of simplicity.
There is a very nice answer here but this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Regex for matching "everything but" a string I'm looking for a regular expression that will match all strings EXCEPT those that contain a certain string within. Can someone help me construct it?
For example, looking for all strings that do not have a, b, and c in them in that order.
So
abasfaf3 would match, wherea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Algorithm to split an array into N groups based on item index (should be something simple) I feel that it should be something very simple and obvious but just stuck on this for the last half an hour and can't move on.
All I need is to split an array of elements into N groups based on element index.
For example we ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Should DOMNodeInsertedIntoDocument bubble? I've been always thinking that DOMNodeInsertedIntoDocument/DOMNodeRemovedFromDocument events should not bubble, and for me that made enough sence. However, just recently I looked into specification once again and found out that in one location it says these events should no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deploying Web Apps as war Files I'm having some trouble uploading and getting my web app on the net with my chosen host. I built a war file in Net Beans and asked my host to deploy it for me. This worked fine but to access it I had to point my browser to:
www.myDomain.co.uk/explodedWar
What of course I wanted was... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: API to determine cell carrier? Is there a free API or some other way to determine what carrier a cell phone number is registered with?
I'd like my application to broadcast text messages without them picking their carrier from a list.
UPDATE:
Interestingly, a coworker found the answer: http://developer.whitepages.com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322440",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: Ignoring accents in SQL Server using LINQ to SQL How can I ignore accents (like ´, `, ~) in queries made to a SQL Server database using LINQ to SQL?
UPDATE:
Still haven't figured out how to do it in LINQ (or even if it's possible) but I managed to change the database to solve this issue.
Just had to change the colla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How do you inspect for and test for known IE browser "features"? My company makes its money off of a great user experience using IE6, 7, Firefox and Safari. 90% of our traffic ends up IE and probably 60% of that traffic is still IE6. IE6 has a bunch of known gotcha's such as accessing DOM objects while they are st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What CSS/JS/HTML/XML plugin(s) do you use in Eclipse? I'm looking for a good plugin for doing web front end work in Eclipse. I don't want something that completely takes over eclipse, or something that has masses of dependencies that need to be updated all the time, or something that is geared towards a particular s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Can I invoke an instance method on a Ruby module without including it? Background:
I have a module which declares a number of instance methods
module UsefulThings
def get_file; ...
def delete_file; ...
def format_text(x); ...
end
And I want to call some of these methods from within a class. How you normally ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "210"
} |
Q: Schema-aware XML editing in Vim When editing an XML file in IntelliJ IDEA, if the document references a schema, IDEA will fetch the schema and use the information for auto-complete. It knows which tags are valid in which contexts, so when you hit CTRL-space, it suggests only those tags. It also highlights any tags... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Can someone recommend a bells and whistles CSS framework? I am looking for a bells and whistles CSS framework. I have found a number online that deal with "grids", and some that deal with "typography" and others that deal with "resetting".
What I have not found is something that will give my web applications a consi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How do you deal with Visual Basic 6.0 frm and frx files in source control? This is always a pain, no matter what source control system I have used (Visual SourceSafe, CVS, ClearCase, etc.). The binary .frx files always cause a problem when merging Visual Basic forms.
I know...I know...why are you using Visual Basic.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: What rules would you use to validate an Australian Phone Number? What can I do to comprehensively validate an Australian Phone Number? I need this for an application I'm writing. You can assume it is dialed from within Australia. I want to use a white-list approach.
Here are my rules so far (after removing any whi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: LINQ or XSLT to turn one Element into another in Visual Basic 9 Short version:
Could anyone suggest or provide a sample in LINQ to XML for VB, or in an XSLT of how to change one XML element into another (without hardcoding an element-by-element copy of all the unchanged elements)?
Background:
I have an XML file, th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to create a protocol with methods that are optional? I noticed methods marked optional in several protocols defined in the iPhone SDK, such as the UIActionSheetDelegate protocol for example.
How can I define a protocol of my own, and set a few of the methods as optional?
A: Protocols act the same as abstract cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "138"
} |
Q: Moving from NuSOAP to PHP5 SOAP I have been working on a script with PHP4 that relies on NuSOAP. Now, I'm trying to move this to PHP5, and use the buildin support for SOAP there.
$wsdlPath = ""; // I have obviously set these variables to something meaningful, just hidden for the sake of security
$apiPath = "";
$u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to Test an AJAX Installation Is there a simple and foolproof way we can test an AJAX installation? We have a problem in calling a webscript using AJAX form a JS file. The error is 'ServiceLib' is not defined. The error gets a few hits on Google.
We've added some AJAX functionality to a customer's app. This wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I make IntelliJ IDEA run all the tests in a package including sub packages If I click on a package and do control-shift-F10 it only looks for and runs JUnit tests in that package - but I really want it to recurse down into subpackages and run them.
UPDATE: looks like its something else wrong. When I run it o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "88"
} |
Q: How do I convert a Char into a Keycode in .Net? I want to convert a string into a series of Keycodes, so that I can then send them via PostMessage to a control. I need to simulate actual keyboard input, and I'm wondering if a massive switch statement is the only way to convert a character into the correct keycode, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Important UI Features That Are Often Left Out I really want to know if I'm missing anything obvious in the software I'm developing.
What User Interface features that you consider important are often missing in most software?
A: An API and a scripting language so I can bypass the UI.
Seriously. Nothing is more te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: @class vs. #import It is to my understanding that one should use a forward-class declaration in the event ClassA needs to include a ClassB header, and ClassB needs to include a ClassA header to avoid any circular inclusions. I also understand that an #import is a simple ifndef so that an include only happens once.
M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "718"
} |
Q: SQL insert into related tables This seems to me to be the kind of issue that would crop up all the time with SQL/database development, but then I'm new to all this, so forgive my ignorance.
I have 2 tables:
CREATE TABLE [dbo].[Tracks](
[TrackStringId] [bigint] NOT NULL,
[Id] [bigint] IDENTITY(1,1) NOT NULL,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322601",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Upgrading a site with SEO in mind I'm managing an established site which is currently in the process of being upgraded (completely replaced anew), but I'm worried that I'll lose all my Google indexing (that is, there will be a lot of pages in Google's index which won't exist in that place any more).
The last time I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: scripts embedded in images I run a small browser MMO, and I have a problem where a couple users are embedding scripts into their profile images, and using them to make attacks against said users, and my game in general. Is there a way to protect against this, or do I need to start blocking people from being able to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: What are the most common mistakes made in WPF development? This question intends to provide a list of solutions to common pitfalls, "gotcha's", or design issues when developing WPF applications. This can also include proper design-patterns as long as there is an explanation as to why it works best. Responses should ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/322612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.