text stringlengths 8 267k | meta dict |
|---|---|
Q: Oracle error : ORA-00905: Missing keyword Excuting the line of SQL:
SELECT *
INTO assignment_20081120
FROM assignment ;
against a database in oracle to back up a table called assignment gives me the following ORACLE error:
ORA-00905: Missing keyword
A: First, I thought:
"...In Microsoft SQL Server the
SE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: Can I stop settings in vimrc from being overwritten by plugins? This question follows on from this vim search question
I have a setting in my .vimrc which excludes $ as a valid part of a word:
set iskeyword-=$
This works fine for most files but isn't working in PHP. I assume it is being overwritten by a php plugin,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How do you effectively track technical debt? In your practice, how do you effectively track and manage technical debt?
Is there a specific metric, like SLOC, that you use?
How do you visually display your results to stakeholders and management?
What benefits have you seen in the process?
A: We write story card... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Getting data from a checkbox inside a template column of asp.net gridview This seems like something simple, but I can't seem to figure it out! I'm trying to get 2-way data-binding to work on an ASP.net page with a check box as one of the columns. How do I get the updated values (from check boxes) back from the gridv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Weird scope issue in .bat file I'm writing a simple .bat file and I've run into some weird behavior. There are a couple places where I have to do a simple if/else, but the code inside the blocks don't seem to be working correctly.
Here's a simple case that demonstrates the error:
@echo off
set MODE=FOOBAR
if "%~1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: Container Class / Library for C Does anyone know of any C container libraries? I am looking for something which gives standard implementations of linked lists, arrays, hash tables etc, much in the same way as the C++ STL does. Key concerns are:
*
*Client code should be able to create containers for multiple diffe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "80"
} |
Q: Timers to measure latency When measuring network latency (time ack received - time msg sent) in any protocol over TCP, what timer would you recommend to use and why? What resolution does it have? What are other advantages/disadvantages?
Optional: how does it work?
Optional: what timer would you NOT use and why?
I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to create an accurate hour estimate?
*
*What are your experiences regarding
project planning and creating hour
estimates for new projects?
*What is the approach you are using,
and why has or has it not worked
for you?
*Are there any best practices to take
into account?
A: I highly recommend the book "Softw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: How can one use the Web Page Editor in custom RCP application? I want to use the "Web Tools Editor" that is part of the Web Tools Plattform in my own RCP-Application. I think i have got some understanding on the RCP plattform by now, but I still have no clue how to access the functionality of the pagedesigner (org.e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305619",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: windows service versus asp.net Application_BeginRequest event with threads/timers What are the advantages/disadvantages to running time based jobs using:
*
*windows services
*Application_BeginRequest to start seperate threads / timers.
One disadvantage of running the jobs in the context of a asp.net web appplica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting the path of a remote rsync depot I know if you run in rsync
rsync some.domain.com::
It will return me a list of the rsync depots. Is there any way of getting it to return the details of the depot, the path specifically.
Thanks
A: No, rsyncd is specifically designed not to reveal the physical path of the mod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is res://*/ in .net? I came across this snippet of code on MSDN:
entityBuilder.Metadata = @"res://*/AdventureWorksModel.csdl|
res://*/AdventureWorksModel.ssdl|
res://*/AdventureWorksModel.msl";
What does the res://*/ mean and how does it work? I think it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Send message from SQL Server trigger I need to signal a running application (Windows service) when certain things happen in SQL Server (2005). Is there a possibility to send a message from a trigger to an external application on the same system?
A: You can use a SQL Service Broker queue to do what you want.
The tri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305637",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Can multiple custom checkin policies for TFS be in the same assembly? I am implementing multiple custom checkin policies for TFS and I am wondering if they all need to be in the same assembly or if I have to put each one in its own assembly.
A: It doesn't matter. As long as they implement the appropriate base clas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Appropriate location for my application's cache on Windows My application caches some data on disk. Because the cache may be large, it should not be stored on a network drive. It should persist between invocations of the application. I have a mechanism for the user to choose a location, but would like the default... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What does Method mean? I've seen this syntax a couple times now, and it's beginning to worry me,
For example:
iCalendar iCal = new iCalendar();
Event evt = iCal.Create<Event>();
A: It's a Generic Method, Create is declared with type parameters, and check this links for more information:
*
*An Introduction to C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: Dead-lock created by 2 SQL connections, each using transactions, different tables, foreign key constraint between the two tables Environment
I'm working on a C++ application that uses SQL Native Client 9.0 to communicate with a SQL Server 2000 database.
Scenario
*
*2 connections are opened to the DBMS
*Each conn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do you setup a handler for the dragover/dragdrop events in the MDI client area? Using C# and the .Net framework 2.0. I have an MDI application and need to handle dragover/dragdrop events. I have a list docked to the left on my application and would like to be able to drag an item from the list and drop it in the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What problems can an NVARCHAR(3000) cause I have an already large table that my clients are asking for me to extend the length of the notes field. The notes field is already an NVARCHAR(1000) and I am being asked to expand it to 3000. The long term solution is to move notes out of the table and create a notes tabl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Appropriate data structure for flat file processing? Essentially, I have to get a flat file into a database. The flat files come in with the first two characters on each line indicating which type of record it is.
Do I create a class for each record type with properties matching the fields in the record? Should I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I prevent database being written to again when the browser does a reload/back? I'm putting together a small web app that writes to a database (Perl CGI & MySQL). The CGI script takes some info from a form and writes it to a database. I notice, however, that if I hit 'Reload' or 'Back' on the web browser, i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Can you turn off case-sensitivity in VBScript strings? I'm pretty sure the answer to this is no. I know that I can write
if lcase(strFoo) = lcase(request.querystring("x")) then...
or use inStr, but I just want to check there isn't some undocumented setting buried in the registry or somewhere that makes the content... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to determine if a string is a number in C# I am working on a tool where I need to convert string values to their proper object types. E.g. convert a string like "2008-11-20T16:33:21Z" to a DateTime value. Numeric values like "42" and "42.42" must be converted to an Int32 value and a Double value respectively.
W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Best Eclipse version for Java development There are many editions of Eclipse for Java development. I am trying out MyEclipse and am pretty impressed with the out-of-box experience. Before I get too comfortable with it, I would like to find out if it is the best edition available. Feel free to list free or commerc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Disabling non-secure access for only one URL on one instance of apache For example, one instance of apache is managing
www.site.com/folder1/a.html
www.site.com/folder2/b.html
www.site.com/folder3/c.html
I need to make sure that access to
www.site.com/folder3/c.html
is https only.
All these folders are in the same... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the performance hit with downcasting? Just trying to get my head around Generics by reading this enlightening article by Juval Lowy
Paraphrasing.. When you define a Generic class definition, it is compiled into IL.
*
*For value-types, as soon as you request for a specific value-type, it substitutes the T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How do you enforce licensing on a redistributable control library? If you have a WPF control library which you wanted to license to developers, how do enforce license restrictions such that the library could be used and distributed in their own applications and yet prevent the end-users from reusing that .dll?
I'm a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Commit Hook Failure I'm trying to implement some hooks, both pre and post fail however. I get the same error message for both when I try to commit:
'*-commit' hook failed (did not exit cleanly: apr_exit_why_e was 2, exitcode was
-1073741515). with no output.
Exitcode -1073741515 looks to be an odd one, and a qu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: If you had to add support for one video file format and codec, which would you choose? I'm looking to add support for reading and writing video files in my application. If you had to choose exactly one file format and codec combination that would satisfy the majority of users, which would you choose:
1) MPEG-4/H.26... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Comet applications without using IFrames I am just getting started creating an AJAX application using server side push. I am using Grizzly Comet on Glassfish V2. Almost all the sample applications use IFrames for updating content on the client side. I want to stick to using JavaScript only. Are there any such sample... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Avg on datetime in Access I am porting some queries from Access to T-SQL and those who wrote the queries used the Avg aggregate function on datetime columns. This is not supported in T-SQL and I can understand why - it doesn't make sense. What is getting averaged?
So I was about to start reverse engineering what A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the easiest way to determine the dependencies of a .NET assembly Considering a large system with hundreds of assemblies, what is the easiest way to determine which other projects in the large system depend on a specific assembly when there isn't any way to create a single visual studio solution that contains... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I build an Eclipse plugin outside of Eclipse? I have a series of Eclipse projects containing a number of plugins and features that are checked into CVS. I now need to run an automated build of these plugins. Ideally I'd like to do it without having to hardcode large numbers of Eclipse library locations by ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Why bundle version a control plugin with an IDE? I was always wondering why it is a big deal having version control support inside an IDE.
I always preferred to use a command-line/standalone version of the version control of choice and never found IDE integration helpful.
I know it can be helpful sometimes, for exam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Can I make Asynchronous ODBC Calls? Any reference materials? Does ODBC support asynchronous calls? If it does, then can you tell me about any reference materials?
My preferred language is C++.
A: This MSDN article could be a starting point for you: Executing Statements ODBC:
Asynchronous Execution
From the article:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Generate class for schema with abstract complex type I'm working with some schema which defines an abstract complex type, eg.
<xs:complexType name="MyComplexType" abstract="true">
This type is then referenced by another complex type in the schema:
<xs:complexType name="AnotherType">
<xs:sequence>
<xs:element ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Oracle Populate backup table from primary table The program that I am currently assigned to has a requirement that I copy the contents of a table to a backup table, prior to the real processing.
During code review, a coworker pointed out that
INSERT INTO BACKUP_TABLE
SELECT *
FROM PRIMARY_TABLE
is unduly risky, as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Whats the best way to work with Github and multiple computers? I am developing some school grading software and decided to use Github to host the project. After building some code on my Ubuntu box I pushed it to Github and then cloned it down to my MacBook Pro. After editing the code on the MBP I pushed it back to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Set OpenFileDialog to default to Thumbnail view I'm using the OpenFileDialog class so a user can select an image file. I'd like to default the dialog to Thumbnail view mode. Unfortunately the class doesn't have any way to set a default view mode.
Other than creating my own custom dialog (which I may have to do), i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: C++ inserting a line into a file at a specific line number I want to be able to read from an unsorted source text file (one record in each line), and insert the line/record into a destination text file by specifying the line number where it should be inserted.
Where to insert the line/record into the destination fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is Cassini's (aka VS Dev Server) stack limit? I'm running into a StackOverflowException (please don't ask, it's not my fault) in IIS6/2k3 which has a limit of 256k, but the exception doesn't happen in the VS debugger.
As a matter of understanding I'd love to know, but have failed to google what the stack limit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C# Assembly.Load vs Assembly.ReflectionOnlyLoad I'm trying to understand the differences between Assembly.Load and Assembly.ReflectionOnlyLoad.
In the code below I am attempting to find all of the objects in a given assembly that inherit from a given interface:
var myTypes = new List<Type>();
var assembly = Assembl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: IIS SMTP: Exceeded storage allocation response Hey all. We're sending quite a few emails (around 23k) using IIS6 SMTP service and receive about 7-8 error messages each time. The stack trace is:
System.Net.Mail.SmtpException: Exceeded storage allocation. The server response was: 4.3.1 Session size exceeds fixed max... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Determining what process has a lock on a file I have a unit test that works fine locally but when uploaded to TeamCity build server fails with "The process cannot access the file because it is being used by another process."
*
*Before I do anything in the Test
I check in the setup if the file
exists and if so tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: import from oracle to mysql by using CTL how can i import data from an oracle database to a mysql database by using CTL file (generate with Toad for oracle)?
Thank in advance
Andrea
A: A CTL file would seem to imply that you were trying to use SQLLoader to load the data. SQLLoader, though, is an Oracle-specific ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Alternative to forward declarations when you don't want to #include I usually, almost without thinking anymore, use forward declarations so that I won't have to include headers. Something along this example:
//-----------------------
// foo.h
//-----------------------
class foo
{
foo();
~foo();
};
//--------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What impact does "duplicate name exists on the network" error have for a virtual machine? I have a project where multiple developers are using a copy of the same windows Virtual PC image (W2K3 SE SP2). Because our solution is tied to the machine-name (less than ideal, i know) all of the developers have the same mac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How would you construct and interact with a grid like a Sudoku board? What do you think is the best way to implement an interactive grid similar to a Sudoku board for a native iPhone application? I did not see an object to fill this need in the SDK.
Should I make a custom control for an individual cell, then initia... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: how do I populate grid in updatepanel from refcursor I am using ASP.NET 2.0 and VS 2005. I need to populate a grid on an update panel from an Oracle refcursor after the user clicks a button. I have an example from another project, but it is pretty complicated. Is there an easy way to display the data in a grid in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Accessing Environment Variables from Windows Services I am attempting to write a Windows Service in C#. I need to find the path to a certain file, which is stored in an environment variable. In a regular C# console application, I can achieve that with the following line:
string t = System.Environment.GetEnvironmen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: What's the difference between SysPrep and NewSid? I'm setting up some Virtual PC images. I want to customize the machine with some pre-installed tools and then use this as a base for creating new machines.
What's the best practice for prepping the machine for use?
Should I use SysPrep or NewSid? When's the appro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to get back a file my SVN client deleted? I just updated from SVN, and one of my files has now disappeared... of course it wasn't committed because I knew I needed to update+merge first. I think maybe the guy renamed the file which means my SVN client deleted my file.
I'm using VC++ 2008 & Visual SVN.
Help... an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hibernate Annotation Placement Question I've got what I think is a simple question. I've seen examples both ways. The question is - "why can't I place my annotations on the field?". Let me give you an example....
@Entity
@Table(name="widget")
public class Widget {
private Integer id;
@Id
@GeneratedValue(strat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Easiest way to import data from My Sql to Sql Server For a new project I have to import the pre-existing data from MySql.
In this site I have found many options, some including the installation of drivers. What is the fastest & easiest way to do it?
Update: this would be just a one time import
A: -- Create Link Ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to lazy-load a single property on a Linq entity? I'm hand-coding Linq to SQL Entities and have a large XML column that I don't want loaded each time this entity is loaded, as it's infrequently used. Everywhere I search, I see that the Linq to SQL designer provides a "Delay Loaded" property, but the ColumnAttribu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best practice for detecting AJAX/XmlHttpRequestSupport I am trying to update an old JavaScript function used to detect support for AJAX (i.e. the XmlHttpRequest object). I've looked online (including SO) and found various solutions but I'm not sure which is the most efficient for simply detecting support.
The curren... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I kill a whole process tree with Perl? What's the best way to kill a process and all its child processes from a Perl script? It should run at least under Linux and Solaris, and not require installation of any additional packages.
My guess would be to get a list of all processes and their parents by parsing f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What happens when you make assignments to fields or properties of properties Lets say you have a property like:
Person person1;
public Person Captin{
get{
return person1;
}
set{
person1 = value;
}
}
public void SomeFunction(){
Captin.name = "Hook"
}
In this case if you set the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Html.DropDownList and modelbinding Why isn't modelbinding working on a DropDown?
What am I doing wrong?
To illustrate my problem, I did the following:
Created a new asp.net MVC project (beta1)
Created the following class:
HomeViewData : ViewDataDictionary
+List : SelectList
Added a viewdata to the HomeController ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: WinForms - How do I execute C# application code from inside WebBrowser control? I have a form containing a web browser control. This browser control will load some HTML from disk and display it. I want to be able to have a button in the HTML access C# code in my form.
For example, a button in the HTML might call th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: In Python, how can you get the name of a member function's class? I have a function that takes another function as a parameter. If the function is a member of a class, I need to find the name of that class. E.g.
def analyser(testFunc):
print testFunc.__name__, 'belongs to the class, ...
I thought
testFunc.__c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: How can I make a control transparently overlay a DirectShow video? I have a control, VideoControl, which displays video using DirectShow - it's set as the owner of an IVideoWindow. I have another control, AreaControl, which is supposed to show a dashed rectangle over the video control. AreaControl is set to be tra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Winforms - How do I create a custom windows border and close/minimise buttons? I am creating a C# WinForms application. I would like to have a Custom Form Border. And I want to create a black custom window (with border and controls) like that of Adobe Lightroom. For example -
How do I create it, please help?
A: If... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Localization with SharpDevelop I'm working on a localized application which I develop in SharpDevelop. Based on a tutorial I ran into an error:
Could not find any resources appropriate for the specified culture (or the neutral culture) on disk. baseName:
I created the ressource file using Project | Add | New item... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ASP Form Recipient Error I have a form that when filled out and submitted, works fine. When the recipient replies to the sender though, the email actually goes to him instead of the intended party.
Below is the form. Help!
<%
Dim roomsanswer, fashionsanswer, commentsanswer, nameanswer, addressanswer, citystateanswer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When should you start using Memcached? I'm starting to learn about using Memcached with PHP and I was wondering; is there a point at which you should start using it? Is it always more efficient to cache data or does it only become effective once your site gets a certain number of hits? Presumably there is an overhea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Is there a way to have a click-free install of .NET 3.5 SP1? Basically I want to have our installer also install the .NET framework and any other pre-reqs as neccessary will minimal user interaction, so ideally, just run, accept license agreement and everything else is taken care of automatically. Is this possible?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiple back ends for Entity Framework Can I use two different back ends for an .net Entity Framework project?
I need to support the full programmability support of stored procedures on SQL server when available. I need to support only table structures in a .mdb file when SQL server is not available.
All business l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can the MVC Design Pattern / architectural pattern be used in Desktop Application Development? I've just learned what ASP.NET MVC is and I'm wondering if the pattern is ever used in Windows Desktop application development?
I'm specifically looking at potentially trying to use it in a Desktop .NET application.
Ple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SSRS 2005 Exception not being exposed We are using SSRS 2005 SP1 and the lastest Reportviewer controls.
We are having situations where certain reporting infrastructure exceptions are not being exposed to any of the exception handling routines.
A specific example is when the SQL Server Reporting Services Windows serv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is Dot in RegEx Dangerous I'm under the impression that the Dot '.' (wild card) character is dangerous to use. Is my fear unfounded? Thanks
A: Sodium is dangerous but it is required for life. Dot is like any other tool, only as dangerous as you make it. I would hate to try to write 99% of my regexes without it.
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jQuery Autocomplete and ASP.NET I searched all over this site and the web for a good and simple example of autocomplete using jQuery and ASP.NET. I wanted to expose the data used by autocomplete with a webservice (and will probably do that next). In the meantime, I got this working, but it seems a little hacky...
In... | {
"language": "en",
"url": "https://stackoverflow.com/questions/305994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: What would be the simplest way to deal with a text file using JSP? There is an actual running Java ServerPages (JSP) application within a *NIX box which I somewhat administer with kind of good permissions. The idea is to create a new but dead simple JSP page to control some Korn Shell scripts I've got running there.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP Form not showing up in recipient's mailbox My form does not go to recipient when submitted! I changed the file mail.tpl.txt to direct to my own email address as a test and I got the email just fine.
Client has checked junk mail folder as well and he is just not getting information.
Below is the form code, follow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: SubSonic Controller What's the use of the controllers in SubSonic?
A: I believe that the controllers work with the ObjectDataSouce.
If you aren't using ODS, there is a config setting called generateODSControllers which you can set to false to prevent the controllers from being generated.
More info on ODS/Controller... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using far function pointers I realize that far is compiler specific, but my expectation is that the placement of the far specifier should make sense to those who really understand pointers.
So, I have two applications that share the processor's entire memory space.
App A needs to call function foo that exists in app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Windows 2008 concurrent TCPIP connections In Windows XP, Microsoft took the decision to limit the number of half open connections in later service packs. Patching tcpip.sys was rumoured to fix this. Does such a limit exist in Windows 2008, and if so, is it configurable?
A: When Vista SP1 shipped, there was some art... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SubSonic Collection Top 1 Is there way in next piece of code to only get the first record?
Dal.TreeHtmlExportsCollection treeHtmlExportsCollection =
new Dal.TreeHtmlExportsCollection().Where(Dal.TreeHtmlExports.Columns.TreeId, treeId).
OrderByDesc(Dal.TreeHtmlExports.Columns.DateCreated).Load();
A: You can do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: CSS3 selector to find the 2nd div of the same class I need a CSS selector that can find the 2nd div of 2 that has the same class. I've looked at nth-child() but it's not what I want since I can't see a way to further clarify what class I want. These 2 divs will be siblings in the document if that helps.
My HTML look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "68"
} |
Q: What is the best way to manage Global variable in asp.net? Currently i have a NotInheritable class in App_Code that hold some variables that need to be access thur-out the application but i don't think it's a good way to manage global variables.
A: Usually, this kind of thing calls for a Singleton. However, I'd re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306065",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I indicate in an Expander header that collapsed contents have an error I have expanders that contain text boxes, the text boxes use the wpf validation stuff to draw a red box around them ( text boxes are wrapped in Adorner Decorators to make sure I don't get empty red boxes everywhere when the expanders are ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How Does ASP.NET associate a request with a session? Is there a cookie automatically placed on the user's machine? Or is it somehow associated with the requester's IP address? Or maybe in the ViewState? Elementary question, I know, but I've had a hard time finding an answer.
A: In IIS, under ASP.NET's configurat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Installing Capicom without SelfReg: Wix Custom Actions Not Found (Err 2721) After following the advice in this question successfully, I added a couple additional lines of code for another custom action. This one is intended to call regsvr32 on the copy of capicom which I've tried to put in the user's system folder.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Shouldn't C# 4.0's new "named parameters" feature be called "named arguments"? I suppose there could be historical reasons for this naming and that other languages have similar feature, but it also seems to me that parameters always had a name in C#. Arguments are the unnamed ones. Or is there a particular reason wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a fully-functional dropdown replacement for HTML SELECT that works in IE? We determined in a previous question that many features of HTML SELECTs are not supported in IE. Is there an alternative widget that you would recommend from your experience that meets the following requirements?
*
*Respects the c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ASP.NET Membership: Login Controls Source Code Is the source code for the common login controls available?
Those are the controls which are available under Login section in Toolbox:
*
*Login,
*LoginView,
*PasswordRecovery,
*LoginStatus,
*LoginName,
*CreateUserWizard,
*ChangePassword
Eventually could... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get Castle MonoRail's DataBinder/SmartDispatcherController to bind against types containing properties that are interfaces? We're using interfaces to represent entity classes in our domain model. We have concrete implementations of these by virtue of using LinqToSql. We have added a factory method to each L... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Python decorator makes function forget that it belongs to a class I am trying to write a decorator to do logging:
def logger(myFunc):
def new(*args, **keyargs):
print 'Entering %s.%s' % (myFunc.im_class.__name__, myFunc.__name__)
return myFunc(*args, **keyargs)
return new
class C(object):
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "63"
} |
Q: PHP session doesn't work with IE I have a site made with php which uses server side sessions throughout the site.
In fact, it's a site with a user login which depends on session variables and if there were a problem with all session variables, no pages would load at all.
On the site, there's an iframe that holds a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Can event handler defined within JavaScript object literal access itself? I know I could do this with closures (var self = this) if object was a function:
<a href="#" id="x">click here</a>
<script type="text/javascript">
var object = {
y : 1,
handle_click : function (e) {
alert('han... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How do I include jars in a groovy script? I have a groovy script that needs a library in a jar. How do I add that to the classpath? I want the script to be executable so I'm using #!/usr/bin/env groovy at the top of my script.
A: The same as you would in Java.
This is an example of running a MySQL status monitorin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "56"
} |
Q: JPA CascadeType.ALL does not delete orphans I am having trouble deleting orphan nodes using JPA with the following mapping
@OneToMany (cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy = "owner")
private List<Bikes> bikes;
I am having the issue of the orphaned roles hanging around the database.
I can use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "143"
} |
Q: Please define the agile concept of core hours I'm in a new contract where they seem to have gone overboard with Agile, including hiring a consultant merely for facilitating Agile processes. Something he is instituting is a notion of "core hours" where we will all actually be in the same room together. Is this real... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Backup SQL Server while minimizing bandwidth I want to implement an automated backup system for my site's SQL Server 2005 DB that will backup nightly to Amazon's S3 service. But since S3 charges both for space and bandwidth used, I would like to minimize the size of the files that I transfer in. What is the best way... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Alternatives to using web.config to store settings (for complex solutions) In our web applications, we seperate our Data Access Layers out into their own projects.
This creates some problems related to settings.
Because the DAL will eventually need to be consumed from perhaps more than one application, web.config d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Help! Evil services are killing my objects When I believed in American dream about encapsulation and polymorphism, intrusion of Web Services washed my objects off with RPC calls...
When I cherished my resurrected PONOs, ugly army of barbarians called proxy objects conquered my lands...
Later, peace seemed to come ba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306171",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: c# XML manipulation VB code conversion query... and more! I am following a VB tutorial to do some HTML manipulation using LINQ
It has the following construct
Imports <xmlns="http://www.w3.org/1999/xhtml">
How do I do the same in C#?
There appears to be something called an XMLNamespaceManager that may hold the solu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: msmq with multiple endpoints and concurrent processing I have built a WCF load balancer/router to conditionally route any one way service to multiple endpoints all using MSMQ bindings. I have also created a host that uses all the endpoints from the router to accept the service calls. All the endpoint specifies the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to boost productivity in my Flex/Java stack? I am embarking on a new RIA project with Java on the backend. I'm the only developer, and the app is a line-of-business application. My current stack looks like this:
MySQL || Spring(JdbcTemplate for data access) || BlazeDS (remoting) || Flex(Cairngorm)
My question is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: best way to store / lookup name value pairs I have a list of error codes I need to reference, kinda like this:
Code / Error Message
A01 = whatever error
U01 = another error
U02 = yet another error type
I get the Code returned to me via a web service call and I need to display or get the readable error. So I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/306191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.