text stringlengths 8 267k | meta dict |
|---|---|
Q: Knowing which java.exe process to kill on a windows machine When a java based application starts to misbehave on a windows machine, you want to be able to kill the process in the task manager if you can't quit the application normally. Most of the time, there's more than one java based application running on my mach... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: How to update large XML file Rather than rewriting the entire contents of an xml file when a single element is updated, is there a better alternative to updating the file?
A: I would recommend using VTD-XML http://vtd-xml.sourceforge.net/
From their FAQ ( http://vtd-xml.sourceforge.net/faq.html ):
Why should I use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Regular expression that rejects all input? Is is possible to construct a regular expression that rejects all input strings?
A: The best standard regexs (i.e., no lookahead or back-references) that reject all inputs are (after @aku above)
.^
and
$.
These are flat contradictions: "a string with a character before ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How do I write Facebook apps in Java? I have looked in vain for a good example or starting point to write a java based facebook application... I was hoping that someone here would know of one. As well, I hear that facebook will no longer support their java API is this true and if yes does that mean that we should ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: DevExpress eXpressApp Framework (XAF) and eXpress Persistent Objects (XPO): how do I speed up the loading time of associations? I am having a problem with the speed of accessing an association property with a large number of records.
I have an XAF app with a parent class called MyParent.
There are 230 records in MyP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I prevent Flash's URLRequest from escaping the url? I load some XML from a servlet from my Flex application like this:
_loader = new URLLoader();
_loader.load(new URLRequest(_servletURL+"?do=load&id="+_id));
As you can imagine _servletURL is something like http://foo.bar/path/to/servlet
In some cases, this U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: tomcat5 fails to start on CentOS 5 with NoClassDefFoundError exception Tomcat fails to start even if i remove all my applications from the WEBAPPS directory leaving everything just like after the OS installation.
The log (catalina.out) says:
Using CATALINA_BASE: /usr/share/tomcat5
Using CATALINA_HOME: /usr/share... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to spread tcplistener incoming connections over threads in .NET? When using the Net.Sockets.TcpListener, what is the best way to handle incoming connections (.AcceptSocket) in seperate threads?
The idea is to start a new thread when a new incoming connection is accepted, while the tcplistener then stays availabl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Any PHP editors supporting 5.3 syntax? I'm using namespaces in a project and Eclipse PDT, my IDE of choice, recognizes them as syntax errors. Not only it renders its convenient error checking unusable, but it also ruins Eclipse's PHP explorer.
5.3 features are coming to PDT 2.0 scheduled for release in December. Are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I get Axis 1.4 to not generate several prefixes for the same XML namespace? I am receiving SOAP requests from a client that uses the Axis 1.4 libraries. The requests have the following form:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to create J2ME midlets for Nokia using Eclipse Nokia has stopped offering its Developer's Suite, relying on other IDEs, including Eclipse. Meanwhile, Nokia changed its own development tools again and EclipseMe has also changed. This leaves most documentation irrelevant.
I want to know what does it take to make ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Similarity between line strings I have a number of tracks recorded by a GPS, which more formally can be described as a number of line strings.
Now, some of the recorded tracks might be recordings of the same route, but because of inaccurasies in the GPS system, the fact that the recordings were made on separate occa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Remote installing of windows service I need to remotely install windows service on number of computers, so I use CreateService() and other service functions from winapi. I know admin password and user name for machines that I need access to. In order to gain access to remote machine I impersonate calling process wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Should I use int or Int32 In C#, int and Int32 are the same thing, but I've read a number of times that int is preferred over Int32 with no reason given. Is there a reason, and should I care?
A: They both declare 32 bit integers, and as other posters stated, which one you use is mostly a matter of syntactic style. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "372"
} |
Q: Is there any way to create multiple insert statements in a ms-access query? I am using MS Access 2003. I want to run a lot of insert SQL statements in what is called 'Query' in MS Access. Is there any easy(or indeed any way) to do it?
A: Personally, I'd create a VBA subroutine to do it, and connect to the database ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How do I move tags in Subversion I wish Subversion had a better way of moving tags. The only way that I know to move a tag is to remove the file from the tag and then copy it again. Revision tree browsers don't seem to handle that very well. This also requires keeping the directory structure under the trunk and tag ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62505",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Three dimensional arrays of integers in C++ I would like to find out safe ways of implementing three dimensional arrays of integers in C++, using pointer arithmetic / dynamic memory allocation, or, alternatively using STL techniques such as vectors.
Essentially I want my integer array dimensions to look like:
[ x ][... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: REST type API for non web based applications, Is It a good idea? We are developing a middleware SDK, both in C++ and Java to be used as a library/DLL by, for example, game developers, animation software developers, Avatar developers to enhance their products.
Having created a typical API using specific calls for spe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Best Practice for Model Design in Ruby on Rails The RoR tutorials posit one model per table for the ORM to work.
My DB schema has some 70 tables divided conceptually into 5 groups of functionality
(eg, any given table lives in one and only one functional group, and relations between tables of different groups are m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How to prevent IE6 from refetching already-fetched images added via DOM manipulation If you add a image to your browser's DOM, IE6 will not check its cache to see if it already downloaded the image but will, instead, re-retrieve it from the server. I have not found any combination of HTTP response headers (of the e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the lowest-cost, cross-platform approach to parse XML using ksh? Need to parse some basic XML (one root element, 3-4 subelements, 1-3 attributes each) from a ksh script (ideally stick to ksh, given the script already exists and it's just trying to read some extra configuration created in XML by another progr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the dependency inversion principle and why is it important? What is the dependency inversion principle and why is it important?
A: A much clearer way to state the Dependency Inversion Principle is:
Your modules which encapsulate complex business logic should not depend directly on other modules which encaps... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "216"
} |
Q: What is the best free test tracking software? I'm not talking about bug tracking software (like Bugzilla or Jira). I'm looking for something that:
*
*Stores test specifications in text format
*Combines test specs into test coverage scenarios
*Keeps track of the progress through testing scenarios
*Links test s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Ignore case in Python strings What is the easiest way to compare strings in Python, ignoring case?
Of course one can do (str1.lower() <= str2.lower()), etc., but this created two additional temporary strings (with the obvious alloc/g-c overheads).
I guess I'm looking for an equivalent to C's stricmp().
[Some more co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "53"
} |
Q: How do I move a file (or folder) from one folder to another in TortoiseSVN? I would like to move a file or folder from one place to another within the same repository without having to use Repo Browser to do it, and without creating two independent add/delete operations. Using Repo Browser works fine except that yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "250"
} |
Q: Shared/Static variable in Global.asax isolated per request? I have some ASP.NET web services which all share a common helper class they only need to instantiate one instance of per server. It's used for simple translation of data, but does spend some time during start-up loading things from the web.config file, etc.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: reload a .sql schema without restarting mysqld Is it possible to reload a schema file without having to restart mysqld? I am working in just one db in a sea of many and would like to have my changes refreshed without doing a cold-restart.
A: When you say "reload a schema file", I assume you're referring to a file ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting the namespace of a WinForms UserControl in VB.NET How do you define your UserControls as being in a namespace below the project namespace, ie. [RootNameSpace].[SubSectionOfProgram].Controls?
Edit due to camainc's answer: I also have a constraint that I have to have all the code in a single project.
Edit to f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .Net 2+: why does if( 1 == null ) no longer throw a compiler exception? I'm using int as an example, but this applies to any value type in .Net
In .Net 1 the following would throw a compiler exception:
int i = SomeFunctionThatReturnsInt();
if( i == null ) //compiler exception here
Now (in .Net 2 or 3.5) that excep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: What is the best way to merge mp3 files? I've got many, many mp3 files that I would like to merge into a single file. I've used the command line method
copy /b 1.mp3+2.mp3 3.mp3
but it's a pain when there's a lot of them and their namings are inconsistent. The time never seems to come out right either.
A: David'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "67"
} |
Q: Does every Linux distro ship with gcc/g++ 4.* these days? I'm considering dumping boost as a dependency... atm the only thing that I really need is shared_ptr<>, and I can get that from std::tr1, available in gcc suite 4.*
A: It's available on Fedora, installable via "yum" if you didn't pick "Development System" as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do you know what to test when writing unit tests? Using C#, I need a class called User that has a username, password, active flag, first name, last name, full name, etc.
There should be methods to authenticate and save a user. Do I just write a test for the methods? And do I even need to worry about testing t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62625",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "128"
} |
Q: How do I detect application Level Focus-In in Qt 4.4.1? I need to determine when my Qt 4.4.1 application receives focus.
I have come up with 2 possible solutions, but they both don’t work exactly as I would like.
In the first possible solution, I connect the focusChanged() signal from qApp to a SLOT. In the slot I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62629",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Saving Java Object Graphs as XML file What's the simplest-to-use techonlogy available to save an arbitrary Java object graph as an XML file (and to be able to rehydrate the objects later)?
A: The easiest way here is to serialize the object graph.
Java 1.4 has built in support for serialization as XML.
A solution I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How to define and use static variables in F# class Is there a way to have a mutable static variable in F# class that is identical to a static variable in C# class ?
A: You use static let bindings (note: while necessary some times, it's none too functional):
type StaticMemberTest () =
static let mutable test :... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Getting PEAR to work on XAMPP (Apache/MySQL stack on Windows) I'm trying to install Laconica, an open-source Microblogging application on my Windows development server using XAMPP as per the instructions provided.
The website cannot find PEAR, and throws the below errors:
Warning: require_once(PEAR.php) [function.r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Implementing Porter-Duff Rules in Direct3D What Direct3D render states should be used to implement Java's Porter-Duff compositing rules (CLEAR, SRC, SRCOVER, etc.)?
A: I'm haven't used Java too much, but based on the white paper from 1984, it should be a fairly straightforward mapping of render state blend modes.
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GDI+ DrawImage() with transparent bitmap to a printer Does anybody have any pointers on how to successfully draw a bitmap that has
an alpha channel using Graphics::DrawImage() when the Graphics context is
created based on a printer HDC? The printer drivers don't generally support alpha blending - so is there an alte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Performing validation on a databound object after the property has been updated I have a basic form with controls that are databound to an object implementing the INotifyPropertyChanged interface. I would like to add some validation to a couple of properties but dont want to go through implementing IDataErrorInfo f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: bitwise indexing in C? I'm trying to implement a data compression idea I've had, and since I'm imagining running it against a large corpus of test data, I had thought to code it in C (I mostly have experience in scripting languages like Ruby and Tcl.)
Looking through the O'Reilly 'cow' books on C, I realize that I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Good text on order analysis As a self-taught computer programmer, I'm often at a loss to estimate the O() value for a particular operation. Yeah, I know off the top of my head most of the important ones, like for the major sorts and searches, but I don't know how to calculate one when something new comes along, unl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Accessing a bean with a dot(.) in its ID In a flow definition, I am trying to access a bean that has a dot in its ID
(example: <evaluate expression="bus.MyServiceFacade.someAction()" />
However, it does not work. SWF tries to find a bean "bus" instead.
Initially, I got over it by using a helper bean to load the requ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: SVN externals sub folder changes not showing in view log (tortoise svn) SVN externals allow you to make an SVN folder appear as if it's at another location. A good use for this is having a common folder shared across all of your projects in SVN.
I have a /trunk/common folder in SVN that I share via several differen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: IIS crashes when serving an ASP.NET application under heavy load. How to troubleshoot it? I am working on an ASP.NET web application, it seems to be working properly when I try to debug it in Visual Studio. However when I emulate heavy load, IIS crashes without any trace -- log entry in the system journal is very ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: polyline with gradient Is there a way to draw a line along a curved path with a gradient that varies in a direction perpendicular to the direction of the line? I am using the GDI+ framework for my graphics.
A: The simple answer is no. You can create a GraphicsPath in order to describe what you would like to draw, u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I check if a given string is a legal/valid file name under Windows? I want to include a batch file rename functionality in my application. A user can type a destination filename pattern and (after replacing some wildcards in the pattern) I need to check if it's going to be a legal filename under Windows. I've... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "179"
} |
Q: How to implement the Edit -> Copy menu in c#/.net How do I implement a Copy menu item in a Windows application written in C#/.NET 2.0?
I want to let the user to mark some text in a control and then select the Copy menu item from an Edit menu in the menubar of the application and then do a Paste in for example Excel.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Should you design websites that require JavaScript in this day & age? It's fall of 2008, and I still hear developers say that you should not design a site that requires JavaScript.
I understand that you should develop sites that degrade gracefully when JS is not present/on. But at what point do you not include func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Applying Aspect Oriented Programming I've been using some basic AOP style solutions for cross-cutting concerns like security, logging, validation, etc. My solution has revolved around Castle Windsor and DynamicProxy because I can apply everything using a Boo based DSL and keep my code clean of Attributes. I was tol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How to Convert ISO 8601 Duration to TimeSpan in VB.Net? Is there a standard library method that converts a string that has duration in the standard ISO 8601 Duration (also used in XSD for its duration type) format into the .NET TimeSpan object?
For example, P0DT1H0M0S which represents a duration of one hour, is conv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62804",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Exceptions not passed correctly thru RCF (using Boost.Serialization) I use RCF with boost.serialization (why use RCF's copy when we already use the original?) It works OK, but when an exception is thrown in the server, it's not passed correctly to the client. Instead, I get an RCF::SerializationException quoting an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Difference between binary semaphore and mutex Is there any difference between a binary semaphore and mutex or are they essentially the same?
A: They are NOT the same thing. They are used for different purposes!
While both types of semaphores have a full/empty state and use the same API, their usage is very differe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "969"
} |
Q: What could be good ways to deploy ASP.Net Web Applications? We currently deploy web applications by creating a database and running SQL scripts through query analyzer. Then we copy the output from "publish website" and set up that website in IIS.
We have seen websetup in visual studio, but that part seems to be thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Reading data from a log file as a separate application is writing to it I would like to monitor a log file that is being written to by an application. I want to process the file line by line as, or shortly after, it is written. I have not found a way of detecting that a file has been extended after reaching eof.
The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: using asynchbeans instead of native jdk threads are there any performance limitations using IBM's asynchbeans?
my apps jvm core dumps are showing numerous occurences of orphaned threads. Im currently using native jdk unmanaged threads. Is it worth changing over to managed threads?
A: In my perspective asynchbeans ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regression Testing with Rational Robot My initial tests have shown that Robot won't work without an active, visible desktop. For example, while a scheduled task (or executed command from the continuous integration server) may be able to start robot as a command-line process, Robot will actually fail to execute the r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I customize a "Date Prompt" in Cognos8? I am working with Cognos8 Report Studio. In my report there are two date prompts: START date and END date. Users can select two different dates or make them both the same date. But the report has valid data only for the last business date of each month. For example, if Jan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get mac address for remote computer under NT4 in C Is it possible to determine the MAC address of the originator of a remote connection under Windows NT 4? The remote PC opens a socket connection into my application and I can get the IP address. However I need to determine the MAC address from the information availa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's the best way to save and retrieve binary files with Oracle 10g? I'm about to implement a feature in our application that allows the user to 'upload' a PDF or Microsoft PowerPoint document, which the application will then make available to other users in a viewer (so they don't get to 'download' it in the 'Sav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using Actionscript 3 to connect to a database I'm looking for advice on how to dynamically create content in flash based on a database. Initially I was thinking that we would export the database to an XML file and use the built in Actionscript XML parser to take care of that, however the size of the XML file may pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Predefined Dialog templates in VB.NET? In VB.NET is there a library of template dialogs I can use? It's easy to create a custom dialog and inherit from that, but it seems like there would be some templates for that sort of thing.
I just need something simple like Save/Cancel, Yes/No, etc.
Edit: MessageBox is not q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I get logout to work on RubyCAS-Server? I have installed and setup RubyCAS-Server and RubyCAS-Client on my machine. Login works perfectly but when I try to logout I get this error message from the RubyCAS-Server:
Camping Problem!
CASServer::Controllers::Logout.GET
ActiveRecord::StatementInvalid Mysql::Error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using GCC from within VS 2005(8) IDE Is there a way to utilise the GCC compiler whilst still being able to develop via the Visual Studio IDE?
Our project is cross-platform, and I quite frequently get into trouble from my colleague because I'm checking in code that's not standards compliant (this can be attributed to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Process vs Threads How to decide whether to use threads or create separate process altogether in your application to achieve parallelism.
A: Processes have more isolated memory. This is important for a number of reasons:
*
*It is harder for a single task to crash the other tasks.
*More memory will be availab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: ID-ing Deadlocks in a Thread using Firebird Developer looking for best method to identify a deadlock on a specific transaction inside a specific thread. We are getting deadlock errors but these are very general in FB 2.0
Deadlocks happening and they are leading to breakdowns in the DB connection between client and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: java.net.SocketException: Connection reset I am getting the following error trying to read from a socket. I'm doing a readInt() on that InputStream, and I am getting this error. Perusing the documentation this suggests that the client part of the connection closed the connection. In this scenario, I am the server.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "175"
} |
Q: Has anyone used the Hessian binary remoting protocol to bridge applications using Java and .NET? Hessian is a custom binary serialization protocol, (which is open-source - I think), that forms the basis for a binary cross platform remoting framework. I'd like to know if anyone here has used it, and if so, what sort ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What does the number in parentheses shown after Unix command names in manpages mean? For example: man(1), find(3), updatedb(2)?
What do the numbers in parentheses (Brit. "brackets") mean?
A: The section the command is documented in the manual. The list of sections is documented on man's manual. For example:
man 1 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "647"
} |
Q: How do I get an auto-scrolling text display on .NET forms - e.g. for credits Need to show a credits screen where I want to acknowledge the many contributors to my application.
Want it to be an automatically scrolling box, much like the credits roll at the end of the film.
A: A easy-to-use snippet would be to make ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Misra standard for embedded software I have a requirement to make a large amount of code MISRA compliant.
First question: Can somebody to give an estimation for passing well written code for embedded system based on experience. I understand that "well written" is poorly defined and vague so i ask for raw estimation.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Implementing CollectionConstraints across NUnit versions We've implemented a CollectionConstraint for Nunit in version 2.4.3 in C#. Some of our developers have already upgraded to version 2.4.7 though, and they get project creation errors when compiling. The error is
doMatch: no suitable method found to override... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you extend Linq to SQL? Last year, Scott Guthrie stated “You can actually override the raw SQL that LINQ to SQL uses if you want absolute control over the SQL executed”, but I can’t find documentation describing an extensibility method.
I would like to modify the following LINQ to SQL query:
using (NorthwindC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: ASP.NET WebService Returns Gibberish Characters When Throwing Exceptions I have a web service (ASMX) and in it, a web method that does some work and throws an exception if the input wasn't valid.
[ScriptMethod]
[WebMethod]
public string MyWebMethod(string input)
{
string l_returnVal;
if (!ValidInput(input))... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to write a C++ FireFox 3 plugin (not extension) on Windows? Could someone write-up a step by step guide to developing a C++ based plugin for FireFox on Windows?
The links and examples on http://www.mozilla.org/projects/plugins/ are all old and inaccurate - the "NEW" link was added to the page in 2004.
The exam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Best way of constructing dynamic sql queries in C#/.NET3.5? A project I'm working on at the moment involves refactoring a C# Com Object which serves as a database access layer to some Sql 2005 databases.
The author of the existent code has built all the sql queries manually using a string and many if-statements to c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Access Global .resx file in ASP.Net View Page I am currently building in Version 3.5 of the .Net framework and I have a resource (.resx) file that I am trying to access in a web application. I have exposed the .resx properties as public access modifiers and am able to access these properties in the controller files... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Microsoft SQL Server 2005 service fails to start I’ve been trying to install Ms SQL Server 2005 for over two weeks now, and I’ve finally gotten to the point where the prerequisites all seem to be in place. Unfortunately, every time I try to install SQL Server itself, I get the following message:
“The SQL Server serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: C# SQL Restore database to default data location I'm writing a C# application which downloads a compressed database backup via FTP. The application then needs to extract the backup and restore it to the default database location.
I will not know which version of SQL Server will be installed on the machine where the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Endless loop in JavaScript that does not trigger warning by browser I'm displaying a set of images as an overlay using Google Maps. Displaying these images should be in an endless loop but most most browsers detect this, and display a warning.
Is there a way to make a endless loop in JavaScript so that it isn't sto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: BufferedImage in IKVM What is the best and/or easiest way to replace the missing BufferedImage functionality for a Java project I am converting to .NET with IKVM?
I'm basically getting "cli.System.NotImplementedException: BufferedImage" exceptions when running the application, which otherwise runs fine.
A: The AWT ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best Way to Organize an ExtJS Project I've just started developing an ExtJS application that I plan to support with a very lightweight JSON PHP service. Other than that, it will be standalone. My question is, what is the best way to organize the files and classes that will inevitably come into existence? Anyone ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: AS3 FTP Programming and the Socket and ByteArray Classes Sorry for the subject line sounding like an even nerdier Harry Potter title.
I'm trying to use AS3's Socket class to write a simple FTP program to export as an AIR app in Flex Builder 3. I'm using an FTP server on my local network to test the program. I can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I learn Java5 or Java6? I'm a very experienced Java programmer who has spent my entire time working with Java 1.4 and earlier. Where can I find a quick reference that will give me everything I need to know about the new features in Java5 and later in a quick reference?
A: Java 5 new features
Java 6 new feat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: WCF Datacontract free serialization (3.5 SP1) Has anybody got this to actually work? Documentation is non existent on how to enable this feature and I get missing attribute exceptions despite having a 3.5 SP1 project.
A: I got this to work on a test app just fine...
Service Definition:
[ServiceContract]
public in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63043",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a way to tell WCF to use security in the request, but ignore it on the response? We have to connect to a third party SOAP service and we are using WCF to do so. The service was developed using Apache AXIS, and we have no control over it, and have no influence to change how it works.
The problem we are seei... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Seeking a good solution for SVG + Javascript framework I'm looking to hear others experiences with SVG + Javascript Frameworks.
Things that I'd like the framework to handle - DOM creation, event handling and minimal size.
Jquery SVG plugin - http://keith-wood.name/svg.html seems to be the only one I can find.
A: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Is there a way around coding in Python without the tab, indent & whitespace criteria? I want to start using Python for small projects but the fact that a misplaced tab or indent can throw a compile error is really getting on my nerves. Is there some type of setting to turn this off?
I'm currently using NotePad++. Is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Surrogate vs. natural/business keys Here we go again, the old argument still arises...
Would we better have a business key as a primary key, or would we rather have a surrogate id (i.e. an SQL Server identity) with a unique constraint on the business key field?
Please, provide examples or proof to support your the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "194"
} |
Q: Smarter Vim recovery? When a previous Vim session crashed, you are greeted with the "Swap file ... already exists!" for each and every file that was open in the previous session.
Can you make this Vim recovery prompt smarter? (Without switching off recovery!) Specifically, I'm thinking of:
*
*If the swapped versi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "52"
} |
Q: Any recommendation for a good enough Winforms GUI design? I am developing a mid-size application with VB2008. To better test my application I am following a MVP/Supervising Controller approach.
My question is: What are your recommendations to separate responsibilites? So far I've come up with a winform with an insta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to remove this parallel hierarchy I'm trying to find the best design for the following scenario - an application to store results of dance competitions.
An event contains multiple rounds, each round contains a number of performances (one per dance). Each performance is judged by many judges, who return a scores... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Blocking part of a website I am trying to block Google Reader:
reader.google.com
www.google.com/reader
The hard part is blocking the reader directory
I blocked reader.google.com by changing my /etc/hosts file (this is for a Mac)
Is there any way to block www.google.com/reader without buying software?
Note this is f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add Custom TextboxCell to a DataGridView control that contains a button to open the FileDialog I would like to add a DataGridViewTextBoxCell cell to a DataGridViewCell control, but as well as being able to type in the text cell as normal it must also contain a '...' button that once clicks brings up the OpenFileDial... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: The Reuse/Release Equivalence Principle (REP) What is the Reuse/Release Equivalence Principle and why is it important?
A: The Reuse/Release Equivalence Principle (REP) says:
The unit of reuse is the unit of release. Effective reuse requires tracking of releases from a change control system. The package is the effe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: How to handle file uploads to a dedicated image server? I got a webserver with a running application. There's a webpage with a form: some text data and a file upload field. Now, what I would like to have is it working like this:
The file is sent to the dedicated server, diffrent then the one application is running o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: User Interface Controls for Win32 I see many user interface control libraries for .NET, but where can I get similar stuff for win32 using simply C/C++?
Things like prettier buttons, dials, listviews, graphs, etc.
Seems every Win32 programmers' right of passage is to end up writing his own collection. :/
No MFC con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: What's the best way to build a string of delimited items in Java? While working in a Java app, I recently needed to assemble a comma-delimited list of values to pass to another web service without knowing how many elements there would be in advance. The best I could come up with off the top of my head was something ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "361"
} |
Q: Hooking into the TCP Stack in C It's not just a capture I'm looking to do here. I want to first capture the packet, then in real time, check the payload for specific data, remove it, inject a signature and reinject the packet into the stack to be sent on as before.
I had a read of the ipfw divert sockets using IPFW ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to determine CPU and memory consumption from inside a process I once had the task of determining the following performance parameters from inside a running application:
*
*Total virtual memory available
*Virtual memory currently used
*Virtual memory currently used by my process
*Total RAM available
*RAM cu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "734"
} |
Q: Editing XML in Flex using e4x In Flex, I have an xml document such as the following:
var xml:XML = <root><node>value1</node><node>value2</node><node>value3</node></root>
At runtime, I want to create a TextInput control for each node under root, and have the values bound to the values in the XML. As far as I can tel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.