text string | meta dict |
|---|---|
Q: How to coordinate subversion client configuration? As a subversion user you'll have a local configuration folder /<userhome>/.subversion/ in your user home. In there is a config file containing, among others, auto-props.
These properties are applied to files that you add to the repository, e.g. by
svn add <file>
No... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Eclipse RCP client and redirecting the console to a file I'm running an Eclipse RCP application. I've enabled the flags -console -consolelog -debug and now it's humming along logging to it's console.
However, I'd like it to log to a file. If I start the application from within the Eclipse IDE, I can select a file fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: I need a mapping list of cities to timezones- best way to get it? I have a list of cities, states/provinces, and countries and I need to find their respective timezones easily. Specifically, I need to know which Windows TimeZone they map to. So far this has been a difficult process, because there's no easy way to p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "56"
} |
Q: How do I create a toolbar in an XLA document? How do I create a toolbar for Excel using an XLA document?
A: To make a toolbar, in the onload event, you are going to do something like:
Dim myBar As CommandBar, myButt As CommandBarControl
'Delete the toolbar if it already exists'
On Error Resume Next
CommandBars("... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can I close the iPhone browser using JavaScript In the iPhone is there a way I can use JavaScript to close the browser and return to the home screen? After the last page a wizard I am calling out to another iPhone app (ex: maps) and I do NOT what the user to come back to the browser screen when they are done. My bac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best way to temporarily take app offline during sql agent job I've got an ASP.NET app that runs against a SQL Server 2005 database. Once a day, I need to run a series of procs & SSIS packages in a SQL Agent job to update data in the tables. The SQL Agent job will run on a schedule unattended.
There are small window... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Oracle Analytics - partitions and ordering of sql queries This came up when answering another user's question (TheSoftwareJedi)...
Given the following table:
ROW_PRIORITY COL1 COL2 COL3
0 0.1 100 <NULL>
12 <NULL> <NULL> 3
24 0.2 <NULL> <NULL>
and the f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Tools (Best Practices?) for model driven development? Model Driven Software Development.
As I understand it it raises the abstraction level of the design to better reflect the domain the software will attempt to run in. That's alot to say in just one sentence.
The communication between the domain experts (customer)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I know if a process is running? When I get a reference to a System.Diagnostics.Process, how can I know if a process is currently running?
A: This is the simplest way I found after using reflector.
I created an extension method for that:
public static class ProcessExtensions
{
public static bool IsRunnin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "185"
} |
Q: Network simulator? Do you know of software which is capable of emulating networking conditions such as constrained bandwidth, latency, closed ports, congestion, collision?
Platform-specific is fine, but I'd like to be able to emulate hundreds or thousands of nodes under varying network conditions.
A: You could chec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I update meta refresh from javascript when using asynchronous calls? I have a system that uses a meta refresh to a logout page, which cleans up after idle users. (Don't worry, the server also times out the session)
I started doing some operations via ajax (not really xml, but that's beside the point). I ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Better Understanding an OC4J Stack Trace I've been tasked with deploying an application built by a third party on an Oracle Application Server, version 10.1.3.0. I've deployed it on Oracle Application Server version 10.1.2.0 without much difficulty. I'm getting the following error:
javax.naming.NamingException: Lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Negotiating a common "network-channel" in a peer-to-peer system Is there a common or established algorithm for peer-nodes in a network to decide on a unique "network-channel" (or any other form of semi-secret identifier)?
The environment I'm working in is SecondLife. I am trying to figure out how to get many identi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: oracle procedure returns integer In oracle, I want to create a delete sproc that returns an integer based on the outcome of the deletion.
this is what i have so far.
create or replace
PROCEDURE Testing
(
iKey IN VARCHAR2
)
AS
BEGIN
delete from MyTable WHERE
TheKey = iKey;
END Testing;
i've tried putting a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How do I put business logic in my ADO.NET Entity Framework classes? I'd like to use the ADO.NET Entity Framework for data access, extend its objects for my business logic, and bind those objects to controls in my UI.
As explained in the answers to another question, I cannot extend ADO.NET Entity Framework objects wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Get Data From An Uploaded Excel File Without Saving to File System I have a requirement to allow a user of this ASP.NET web application to upload a specifically formatted Excel spreadsheet, fill arrays with data from the spreadsheet, and bind the arrays to a Oracle stored procedure for validation and insertion into ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Binding a DynamicResource I'm trying to use a MultiBinding as the ItemsSource for a ListBox, and I want to bind a couple of collections to the MultiBinding. The collections aren't populated until after the host control (a derivation of Page) has already been instantiated. Just after being constructed, I call a met... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Remove a child with a specific attribute, in SimpleXML for PHP I have several identical elements with different attributes that I'm accessing with SimpleXML:
<data>
<seg id="A1"/>
<seg id="A5"/>
<seg id="A12"/>
<seg id="A29"/>
<seg id="A30"/>
</data>
I need to remove a specific seg element, with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: Database Design regarding Dynamic entries - One row, or multiple rows? I've been trying to design a database schema for a side project but I havent been able to produce anything that I'm comfortable with. I'm using ASP.Net with LINQ for my data access:
I'm going to allow users to specify up to 10 "items" each with 2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make Java execute jars from the current directory in Gnome? On Ubuntu Linux with Gnome, running my Swing application by double clicking on the jar file in Gnomes file browser leads to errors because required libraries that are dynamically loaded via the Java Plugin Framework (residing in subdirectories) are n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: jQuery Ajax error resolution I'm working on a stripes app that uses a bit of jQuery to make the UI more dynamic/usable.
I set up an Error Resolution, so if an error is thrown, the user is redirected to an error.jsp page.
However, if an error is thrown during a jQuery Ajax call, instead of redirecting to the error.js... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I provide context to a URLStreamHandler? Our application defines a URL scheme whose resolution is context-sensitive: The content of the URL depends on the state of an in-progress database transaction. As such, to retrieve the content I cannot, for example, open a new database connection. However, I can't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Type safety: Unchecked cast In my spring application context file, I have something like:
<util:map id="someMap" map-class="java.util.HashMap" key-type="java.lang.String" value-type="java.lang.String">
<entry key="some_key" value="some value" />
<entry key="some_key_2" value="some value" />
</util:map>
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "322"
} |
Q: My "RevNum" field is set to "2" by Word 2007 or SharePoint After "check-in" of a .docx file to SharePoint and editing it the RevNum property is set to 2.
This does not make sense, can someone explain why this is?
A: As I understand it, revision 1 for the initial creation and revision 2 from the edit.
A: You could ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Are labview CINs old fashioned? I am writing an application using labview and need to use external code. I have read that using CINs are old fashioned and 'wrong' to use. Is this correct? Should I use shared dlls instead?
What are the advantages/disadvantages of both methods?
A: I don't have personal experience of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: When is char* safe for strict pointer aliasing? I've been trying to understand the strict aliasing rules as they apply to the char pointer.
Here this is stated:
It is always presumed that a char* may refer to an alias of any object.
Ok so in the context of socket code, I can do this:
struct SocketMsg
{
int a;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: Qt: how to make a shadow to main window widget? How to make a shadow to main window widget on windows using Qt?
A: Applications normally do not create shadows, that is up to the window manager. You could fake it by all sorts of evil hacks such as creating another borderless window that is the shadow color and put ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Secure file transfers We are using a custom FTP application (which encrypts the files) for secure transfers. We send the application to end users and they use it to send us confidential data. We also use it to send information back to the end users.
The application is in need of an update - some things are no long... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to find the name of the calling function in actionscript2? In an actionscript function (method) I have access to arguments.caller which returns a Function object but I can't find out the name of the function represented by this Function object.
Its toString() simply returns [Function] and I can't fin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to receive http request in Delphi 7? Which component is best to use for receiving HTTP requests in Delphi application?
A: Indy is the way to go. but you need a server component, not a client one. TIDHTTPServer should fit the bill
A: Let's not forget the ICS. Maybe not so simple to use as Indy, but very powerfu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Getting an NSImage from an NSProgressIndicator I need to put the image from an NSProgressIndicator into an NSOutlineView Cell. I have written up code that does this for a determinate indicator and it works just great:
NSProgressIndicator *progressIndicator = [[NSProgressIndicator alloc] initWithFrame:NSMakeRect(0, 0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: AccessViolationException from a combo: Attempted to read or write protected memory Users are occassionally getting the above error when using our application (VB.Net, Winforms, using v2 of the framework). I'm not able to reproduce it. The callstack is as follows:
: System.AccessViolationException: Attempted to read ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Sftp from Unix to Windows Is anyone aware of a way of sftp'ing from Unix to Windows
Thanks
Damien
A: You setup a server with, for instance freeSSHd. Then you can use the regular unix client that comes with OpenSSH, which is a bit on the no feature side of the spectrum, or choose among many of the other SFTP support... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Save state for DropDownList after post i have form with one textbox and dropdownlist
<%=Html.TextBox("Name")%>
<%=Html.ValidationMessage("Name", "Enter name")%>
<%=Html.DropDownList("Not Selected", "DomainID", ViewData["DomainID"])%>
I select value from drop downlist but dont fill name, im getting validation for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Translating NETBIOS domain into a FQDN (Fully Qualified Domain Name) In short - How do I translate a NETBIOS domain to a FQDN ?
Details:
Assuming I'm in domain A and I have user credentials for domain B which has a trust relationship with domain A (I can authenticate the credentials).
How do I get domain B's FQDN wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: VB NET Listing drives and VMWARE This is a strange one...
In a windows forms app (VB.NET/VS 2005) I have the need to occasionally check if the application DVD is inserted. In my production machine (and in the majority of our clients) this code takes less than an second to execute. But in some machines, it takes abou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262426",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does parseInt yield NaN with Array#map? From the Mozilla Developer Network:
[1,4,9].map(Math.sqrt)
will yield:
[1,2,3]
Why then does this:
['1','2','3'].map(parseInt)
yield this:
[1, NaN, NaN]
I have tested in Firefox 3.0.1 and Chrome 0.3 and just as a disclaimer, I know this is not cross-browser functionali... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "319"
} |
Q: Best sorting algorithms for C# / .NET in different scenarios What are the best algorithms for sorting data in C#?
Is there one sorting algorithm that can handle 80% of sorts well?
Please give code examples if applicable.
A: Check out this site:
Sorting Comparisons with Animations
Short answer: Quick Sort
Longer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: How do you decide on which ORM to use? Castle Active Record?
Plain NHibernate?
Subsonic?
Entity?
Something like Nettiers?
I'd like to use one, but I don't know enough to decide. Nhibernate seems over kill and complex, but widely used. Subsonic seems neat and easy. But is it stable? I have CodeSmith, and I was po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Create a wrapper function for malloc and free in C I am trying to create wrapper functions for free and malloc in C to help notify me of memory leaks. Does anyone know how to declare these functions so when I call malloc() and free() it will call my custom functions and not the standards lib functions?
A: You have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "45"
} |
Q: Sharepoint 2007 NTLM issue with ASP.NET Web App hosted on Sharepoint server I'm hosting an ASP.NET web application on a Sharepoint 2007 box, which makes a web service call to Sharepoint to retrieve a document location (specifically, the GetListItems method).
The service is consumed with passed credentials of a valid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Can I make IEMobile not strip the # from the URL of a redirect? I am having an issue with IEMobile accessing my site. A certain redirect I use has a 302 response code, and the headers (yep, that's app-engine):
Server Development/1.0 Python/2.5.2
Date Tue, 04 Nov 2008 16:47:02 GMT
Content-Type te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replace non-numeric with empty string Quick add on requirement in our project. A field in our DB to hold a phone number is set to only allow 10 characters. So, if I get passed "(913)-444-5555" or anything else, is there a quick way to run a string through some kind of special replace function that I can pass it a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "130"
} |
Q: Why is using '*' to build a view bad? Why is using '*' to build a view bad ?
Suppose that you have a complex join and all fields may be used somewhere.
Then you just have to chose fields needed.
SELECT field1, field2 FROM aview WHERE ...
The view "aview" could be SELECT table1.*, table2.* ... FROM table1 INNER JOIN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: How do I programmatically send an email in the same way that I can "Send To Mail Recipient" in Windows Explorer? ShellExecute() allows me to perform simple shell tasks, allowing the system to take care of opening or printing files. I want to take a similar approach to sending an email attachment programmatically.
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: making a programme run indefinitely in python Is there any way to make a function (the ones I'm thinking of are in the style of the simple ones I've made which generate the fibonnacci sequence from 0 to a point, and all the primes between two points) run indefinitely. E.g. until I press a certain key or until a ti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Namespace collisions How is it possible that .NET is finding the wrong 'MyType' in this scenario?
I have a type A.B.C.D.MyType in a project that I'm working on, and I'm referencing a DLL that has a type A.B.MyType? I do not have any 'using A.B;' statements anywhere in my code, and I do have 'using A.B.C.D;'. When I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Version Control for multi-disciplined web agency Ok, so here's the lowdown. I want to setup a Version Control system and associated processes for my agency and want to learn from the mistakes of others before I leap into it.
I'm looking at deploying subversion from a remotely hosted service (assembla - which will al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can I use dashes in Named Captures with .NET's System.Text.RegularExpressions? Is it possible to do something like (?'A-B'\s*) ?
A: From the docs:
(?<name1-name2>subexpression)
(Balancing group definition.) Deletes
the definition of the previously
defined group name2 and stores in
group name1 the interval be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: what's the quickest way to extract a 5 digit number from a string in c# what's the quickest way to extract a 5 digit number from a string in c#.
I've got
string.Join(null, System.Text.RegularExpressions.Regex.Split(expression, "[^\\d]"));
Any others?
A: The regex approach is probably the quickest to implement bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best way to inject functionality into a binary What would be the best way of inserting functionality into a binary application (3d party, closed source).
The target application is on OSX and seems to have been compiled using gcc 3+. I can see the listing of functions implemented in the binary and have debugged and i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Google Maps Bubble Templates Googling has been difficult because I can't get results specific enough - wondering if my fellow SO-ers have any insight. Are there any handy CSS/HTML templates out there to make inserting content into a google maps bubble easy? I'm throwning together a quick-n-dirty mashup and wanted to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: CATransition showing a single frame from the end of the transition before the animation starts I am using some code which was originally taken from the Apple sample ViewTransitions to swap two views with each other.
CATransition *animation = [CATransition animation];
[animation setDelegate:self];
[animation setType:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SourceSafe Label Search Is there a way to search Microsoft Visual SourceSafe 6.0d for all files tagged with a specific label?
A: AJ had the right idea, but you just need to use the "dir" command instead of get:
ss dir -v"LABEL" $\PROJECT -R
This will output each file with version that is at that label in the forma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: ViewModel on top of XDocument I am working on a WPF application which has a treeview that represents an XML. I load the XML on to the XDocument, then bind the TreeView to this object.
Now using the MVVM pattern, I want to provide a ViewModel on top of XDocument. What are some of the things that I should implement i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How programmatically enable READ COMMITTED SNAPSHOT in SQL Server? I need to programmatically enable READ COMMITTED SNAPSHOT in SQL Server. How can I do that?
A: ALTER DATABASE [dbname] SET READ_COMMITTED_SNAPSHOT ON WITH ROLLBACK AFTER 20 SECONDS
A: I recommend switching to single-user mode first. That ensures ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: IIS7 - Uploading files with ASP problems We've just moved our website to win2008 and IIS7 from win2000 with IS5 and I have some problems.
I have a folder that in it is an ASP page that upload a file to an upper folder, in the old IIS, I gave to the folder with the ASP page the permissions of the administrator and it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to scroll a panel manually? I want to use the same functionality available when a Panel.AutoScroll is true, but with the scrollbars invisible.
To do so I need to know how can I scroll to left/right up/down using functions in my code.
A: You should be able to use the VerticalScroll and HorizontalScroll propertie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Visual basic auto imports namespaces In C# some of default name space such as System.Collections are listed without typing in using blah. In visual basic, they are not imports for you. Is there a way to force vb to auto imports some of default name space or VB work differently than C#?
A: I think the first item pos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Identify invalid characters in text based cell I recently inherited a VBA macro that needs to have validation logic added to it. I need to be able to determine if any characters in a text based cell are non ASCII characters (i.e. have a binary value > 0x7F). The cells may contain some carriage control values (part... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I find the source code for Java SE 6 update 10? At Java SE Downloads I may for example download:
*
*Java SE Runtime Environment (JRE) 6 Update 10
*Java SE Development Kit (JDK) 6 Update 10
But I can't find any source code for update 10. If I click Java SE 6 JDK Source Code on the Java SE Downloads page ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Reasons not to use an auto-incrementing number for a primary key I'm currently working on someone else's database where the primary keys are generated via a lookup table which contains a list of table names and the last primary key used. A stored procedure increments this value and checks it is unique before returni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Secure FTP for Windows 2000 Server Can someone recommend a secure FTP implementation that works well on Windows Server 2000? I'm uploading files into virtual directories and web applications under IIS and the existing provider, obviously, isn't secure or encrypted.
A: Did you try filezilla server? http://filezilla-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Defining different types of numbers in C# You can define a number in various ways in C#,
1F // a float with the value 1
1L // a long with the value 1
1D // a double with the value 1
personally I'm looking for which would a short, however to make the question a better reference for people, what are all the other pos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Print a tiff file from a .Net Windows Service We have built an application that receives several files in different formats, pdf, tiff, jpeg, doc, etc. After received, they are converted to tiff files using a third party printing driver which is installed locally on the server and set up as the default printer. In o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: List Object's built-in Properties Is there a way for me to loop over a Javascript Object's built-in properties?
for...in gets me close to where I want to go, but "A for...in loop does not iterate over built-in properties."
A: The answer is no. You can't enumerate properties that aren't enumerable. There are however... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: calling Axis2 web service from ATL C++ client I have a simple POJO web service published with Axis2 on Tomcat5.5
I try to consume it with ATL C++ client and it fails. Doing the same with a C# client works.
The problem is that ATL client sends soap body which looks like
<soap:Body>< xmlns="http://fa.test.com/xsd"><... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does SQL Server's GUI mangle my views? When I create a view in SQL Server 2005 and someone later opens it in the GUI modify mode it sometimes completely rearranges my joins. Often to the point it's virtually no longer readable. If I look at it in the GUI it's changed as well from what I originally wrote. Some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to hook keypress event in a Word shared add-in? I need to be able to get all keypress events before they are passed up to the Word document. I want to do special handling of the keys and depending on what mode the add in is in, the keys may or may not be sent to the Word document. I only want the keypress even... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why won't this event listener work? $('input[type=checkbox]').unbind().click(function(e){
$(this).attr('checked', true)
return false;
});
I NEED to return false because I have an event on its parent and I don't want to trigger that.
It just WON'T check that checkbox.
A: $('input[type=checkb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Add references to project when control dropped from Visual Studio 2008 toolbox When I drop a third-party control onto a visual design surface in Visual Studio, any library references required by the control are automatically added to my project. I have an inherited version of a third-party control that I've added to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to kill a linux process by STIME (dangling svnserve processes) I'm new to Linux and have inherited keeping our single linux server running. It's our SVN server so it's relatively important.
Turns out the guy who maintained it before me had a cron task to email him when there are too many svnserve processes runni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there any way to compile Java code into a DLL? See question above.
A: Yes, use IKVM.
http://www.ikvm.net/
And it's incredibly easy to use:
ikvmc myjar.jar
outputs myjar.dll
A: There is also gcj which will compile classes into native format.
A: It is better to create a c++ loader which
1)Hides the console
2)ru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: What are the tipping points for team size vs process overhead? At what point in a team's growth must process change drastically? A lone coder can get away with source control and a brain. A team trying to ship large prepackaged software to local and international markets must have a bit more in place.
If you've ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: SCM for ASP.net As part of my overall development practices review I'm looking at how best to streamline and automate our ASP.net web development practices.
At the moment, our process goes something like this:
*
*Designer builds frontend as static HTML/CSS on a network share. This gets tweaked until signed off. (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use only CSS to round my div tag area's corners? I use div tags to define areas within my web pages. I set all the obvious things like background, size, padding, etc. But it is all very square.
How can I use only CSS to round the corners?
A: Here is a simple HTML document to demo how to achieve it through ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Java BufferedReader back to the top of a text file? I currently have 2 BufferedReaders initialized on the same text file. When I'm done reading the text file with the first BufferedReader, I use the second one to make another pass through the file from the top. Multiple passes through the same file are necessary.
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: .Net 2.0 Winform Label Tool Tip This has got to be something I just missed, but how do I add a tool tip to a label?
I saw something on the web about handling the mouse hover event, but how would I even handle it in code?
A: Add in your form the TooTip from the ToolBox than click once in your label and you'll see To... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Using Lisp (or AutoLisp) how good is the associative lists performance? I'm doing an AutoLisp project which uses long associative structures to do heavy geometrical processing - so I'm curious about the associative list intense use timing results.
How simple/complex is the implementation? It uses some data structure... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Variable opacity within a WPF application My problem is:
I have a Canvas which covers part of my Window. The Opacity of the canvas is set to less than 1, i.e. I can view the controls under the Canvas. What I would like to do is place a control, any control, say a Button, on the canvas and not have that Button semitr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't set FormsAuthenicationTicket.UserData in cookieless mode I'm trying to implement the "Writing Information to UserData" section of this article, but it doesn't work properly when the cookie is part of the URI.
My code:
// Create the cookie that contains the forms authentication ticket
HttpCookie authCookie = Fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why isn't creating dynamic classes for HTML tags more common in PHP? I can't stand HTML intermixed with other code. I'm working on a codebase that has to remain in PHP, and I don't want to touch an HTML template with a proverbial pole. So what I'm currently doing looks like this:
<?php
$page = new html_page('My wond... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: Get all files checked out by a user using the Visual Source Safe command line application SS.exe We currently use VSS 6, this is not going to change I am afraid.
I am attempting to write a script that will allow a user to quickly copy all files that they have checked out to another directory tree. In order to do thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262675",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: JSF commandLink action firing before Updating Model Values I have a JSF application that consists of two JSPs: login.jsp & main.jsp.
I have the following faces-config.xml:
<lifecycle>
<phase-listener>package.programs.scorecard.beans.EventBean</phase-listener>
</lifecycle>
<managed-bean>
<managed-bean-name>FormBe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .NET PerformanceCounter for Hard Faults/sec Vista's Resource Monitor includes a reading for "Hard Faults/sec". Is there an equivalent performance counter I can use in C# to get this reading? I've tried the "Page Faults/sec" under the memory category, but that appears to be something different.
A: A hard fault is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262689",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Exposing Multiple Databinding sources I feel like I'm missing a fairly fundamental concept to WPF when it comes to databinding, but I can't seem to find the right combination of Google keywords to locate what I'm after, so maybe the SO Community can help. :)
I've got a WPF usercontrol that needs to databind to two s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: ASP.net AJAX Search I am looking for an example of using ASP.net AJAX to show a 'live' filtering of a repeater control based on what is being typed into a textbox. I have seen stuff using the Web Client Software Factory but am more interested in something that doesn't require an additional library.
A: The asp.net ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262707",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Anyone have a good shared memory container for C++? I've long had a desire for an STLish container that I could place into a shared memory segment or a memory mapped file.
I've considered the use of a custom allocator and placement new to place a regular STL container into a shared memory segment. (like this ddj art... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Java object to XML schema If you have a Java object and an XML schema (XSD), what is the best way to take that object and convert it into an xml file in line with the schema. The object and the schema do not know about each other (in that the java classes weren't created from the schema).
For example, in the class, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it better to use Nested Master pages or User Controls for multi-sectioned website? I am creating a website that has 5 different sub-sites each with the same overall look, but each has a different logo and added navigation.
What do you feel is a better approach:
*
*Use the new nested master page capabilities to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you measure the quality of your unit tests? If you (or your organization) aspires to thoroughly unit test your code, how do you measure the success or quality of your efforts?
*
*Do you use code coverage, what percentage do you aim for?
*Do you find that philosophies like TDD have a better impact than ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262727",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: Javascript onHover event Is there a canonical way to set up a JS onHover event with the existing onmouseover, onmouseout and some kind of timers? Or just any method to fire an arbitrary function if and only if user has hovered over element for certain amount of time.
A: How about something like this?
<html>
<head>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "45"
} |
Q: IIS 6/.Net 2:How can user A get the user cookie for unrelated user B who is in a different session and on another box? 1) user A goes to the site, creates an account, and logs in
2) user b goes to the site. Rather than having to log in, user b enters as though user b is user a. User b gets access to all of user a'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I round corners of myapp's icon In simulator mode, my app has an icon with round corners, but on a real iPhone, the corners aren't rounded.
A: Corners get automatically rounded if you install via MobileInstallation (from iTunes, Xcode or App Store).
If you're building the package and installing it into /Appl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the benefit of using DSASignatureFormatter over DSACryptoServiceProvider to generate a signature? I'm using DSA to create a signature for a binary blob, and I'm trying to figure out what I would gain from using the DSASignatureFormatter's CreateSignature(byte[]), rather than just using DSACryptoServiceProvid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MySQL MyISAM & innoDB Memory Usage Does anyone know how much memory MyISAM and innoDB use? How does their memory usages compare when dealing with small tables vs. when dealing with bigger tables (up to 32 GB)?
I know innoDB is heavier than MyISAM, but just how much more?
Any help would be appreciated.
Thanks,
jb
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does SQL Server 2005 have an equivalent to MySql's ENUM data type? I'm working on a project and I want to store some easily enumerated information in a table. MySql's enum data type does exactly what I want: http://dev.mysql.com/doc/refman/5.0/en/enum.html . Is there an equivalent in SQL Server 2005?
I know I coul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: Parsing Unix/iPhone/Mac OS X version of PE headers This is a little convoluted, but lets try:
I'm integrating LUA scripting into my game engine, and I've done this in the past on win32 in an elegant way. On win32 all I did was to mark all of the functions I wanted to expose to LUA as export functions. Then, to integ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Agile 40-hour week Have you ever worked on a (full-time) project where using Agile methodologies actually allowed you to accomplish a 40-hour work-week? If so, what were the most valuable agile practices?
A: Yes, I'm on a 40 hour (actually it's 37.5 hours or so, that's what my contract says) on a project that was r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: BizTalk 2006 Tutorial 1: EDI-to-XML Document Translation I cannot find the translated file after running the solution in BizTalk 2006 Tutorial Lesson 3: Run the EDI-to-XML Solution.
It should be placed in the c:\Program Files\Microsoft BizTalk Server 2006 \EDI\Adapter\Getting Started with EDI\Northwind\In folder.
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/262811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |