text stringlengths 8 267k | meta dict |
|---|---|
Q: How do I configure a project to use latest Derby DB version (10.4)? Every time I try to run a small application that uses a Derby DB I get this error message:
Message: Database at /path/to/db/TheDB has an incompatible format with the current version of the software. The database was created by or upgraded by versi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Specifying "all odd values" in crontab? In crontab, I can use an asterisk to mean every value, or "*/2" to mean every even value.
Is there a way to specify every odd value? (Would something like "1+*/2" work?)
A: Every odd minute would be:
1-59/2 * * * *
Every even minute would be:
0-58/2 * * * *
A: I realize ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "82"
} |
Q: C# serialization and event for data binding are lost I have already posted something similar here but I would like to ask the question more general over here.
Have you try to serialize an object that implement INotifyPropertyChanged and to get it back from serialization and to bind it to a DataGridView? When I do it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why is a SQL float different from a C# float Howdy, I have a DataRow pulled out of a DataTable from a DataSet. I am accessing a column that is defined in SQL as a float datatype. I am trying to assign that value to a local variable (c# float datatype) but am getting an InvalidCastExecption
DataRow exercise = _e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: Is there an Eclipse add-on to build a python executable for distribution? I want to build an executable to distribute to people without python installed on their machines.
Is there an add-on to Eclipse that allows this? I couldn't find one.
If not, do you have a builder that you recommend that would make it easy t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I downgrade the format of a Subversion repositiory? Is there any way to down-format a Subversion repository to avoid messages like this:
svn: Expected format '3' of repository; found format '5'
This happens when you access repositories from more than one machine, and you aren't able to use a consistent ver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can you add additional logic to type resolution at runtime? Is there a generic way, without creating and managing your own CLR host, to take over locating and loading a type if that type is not found?
The following is just an example. In your rush to be the first answer, don't suggest the new add-in framework o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What to do when IE's moveToElementText spits out an Invalid Argument exception We've written a plugin to the Xinha text editor to handle footnotes. You can take a look at:
http://www.nicholasbs.com/xinha/examples/Newbie.html
In order to handle some problems with the way Webkit and IE handle links at the end of line... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How well does Bugzilla work for managing Scrum projects? We have MS Sharepoint -- which isn't all bad for managing a task list. The data's publicly available, people are notified of changes and assignments.
I think that Bugzilla might be a little easier for management and reporting purposes. While there are some... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: When to use Hibernate/JPA/Toplink? Right now I'm making an extremely simple website- about 5 pages. Question is if it's overkill and worth the time to integrate some sort of database mapping solution or if it would be better to just use plain old JNDI. I'll have maybe a dozen things I need to read/write from the dat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Real (Great Circle) distance in PostGIS with lat/long SRID? I'm using a lat/long SRID in my PostGIS database (-4326). I would like to find the nearest points to a given point in an efficient manner. I tried doing an
ORDER BY ST_Distance(point, ST_GeomFromText(?,-4326))
which gives me ok results in the lower 48... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: 64-bit Alternative for Microsoft Jet Microsoft has chosen to not release a 64-bit version of Jet, their database driver for Access. Does anyone know of a good alternative?
Here are the specific features that Jet supports that I need:
*
*Multiple users can connect to database over a network.
*Users can use Window... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: ASP.NET: ICollection Constructor Not Found? I have a ASP.NET application running on a remote web server and I just started getting this error. I can't seem to reproduce it in my development environment:
Method not found: 'Void System.Collections.Generic.ICollection`1..ctor()'.
Could this be due to some misconfigur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: throw exception from a JSP Is it possible to throw an exception in a JSP without using scriptlet code?
A: You really shouldn't be doing anything at the JSP layer that explicitly throws exceptions. The reason you don't want to use scriptlets in JSPs is because that puts application logic in your view. Throwing an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: NLP: Qualitatively "positive" vs "negative" sentence I need your help in determining the best approach for analyzing industry-specific sentences (i.e. movie reviews) for "positive" vs "negative". I've seen libraries such as OpenNLP before, but it's too low-level - it just gives me the basic sentence composition; wha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122595",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How to consume a web service from VB6? I need to consume an external web service from my VB6 program. I want to be able to deploy my program without the SOAP toolkit, if possible, but that's not a requirement. I do not have the web service source and I didn't create it. It is a vendor-provided service.
So outside of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Is there a .NET equivalent of Perl's LWP / WWW::Mechanize? After working with .NET's HttpWebRequest/Response objects, I'd rather shoot myself than use this to crawl through web sites. I'm looking for an existing .NET library that can fetch URLs, and give you the ability to follow links, extract/fill in/submit forms... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: ASP.Net Web Site Won't Compile, But Works Anyway? I have an ASP.Net 2.0 web site, using the DotNetNuke framework (4.09), and it will not compile, but when I hit the site in a browser, it works. Even the parts that don't compile will work. How is IIS able to compile and run this site, when Visual Studio can't? Everyt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I trim leading/trailing whitespace in a standard way? Is there a clean, preferably standard method of trimming leading and trailing whitespace from a string in C? I'd roll my own, but I would think this is a common problem with an equally common solution.
A: Late to the trim party
Features:
1. Trim the begi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "201"
} |
Q: Insert into ... Select *, how to ignore identity? I have a temp table with the exact structure of a concrete table T. It was created like this:
select top 0 * into #tmp from T
After processing and filling in content into #tmp, I want to copy the content back to T like this:
insert into T select * from #tmp
Thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How can I decode HTML characters in C#? I have email addresses encoded with HTML character entities. Is there anything in .NET that can convert them to plain strings?
A: Use Server.HtmlDecode to decode the HTML entities. If you want to escape the HTML, i.e. display the < and > character to the user, use Server.Html... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "434"
} |
Q: WSS 3.0: change parent type for a content type I have created a hierarchy of content types. The root of my hierarchy has the content type "Document" as a parent. There are about 20 other content types derived from my root.
Now, I want to change the parent from "Document" to something else. Is it possible? Either in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What would be the simplest way to alpha sort an array of chars in C? I'm looking for a simple, easy to understand algorithm to alphabetically sort an array of characters in C.
A: characters in C have numeric values that happen to be in order, so you just treat your characters like integers. the C standard library ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the LINQ way to implode/join a string array? I have the following string array:
var sa = new string[] {"yabba","dabba","doo"};
I can convert it to "yabba, dabba, doo" it using string.Join() but what is the super-cool LINQ way of doing it? The Join extension method seems promising but for a novice like me v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122670",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: Is there anyway to remove Design (and Split) views from Visual Studio 2005/2008? I am trying to find a way to disable Design / Split views from appearing in Visual Studio. I figure there's no way to completely disable it, but I still can't seem to find a way to remove the shortcut (F7), or remove the buttons from th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Which Java-library can be used to access data via WebDAV? That's the question: Which library can help me to access data available via WebDAV in my Java-programs? OpenSource is preferred.
A: Libraries which are already around for a while are:
*
*Miltion WebDav
*JackRabbit WebDav
*Apache wink WebDav extension
Mi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Working with client certificates for an ASP.NET MVC site on IIS 6 Wanting to implement authentication by client certificates I am experiencing some issues.
First some facts
The whole site is using SSL. I am using IIS 6 (on Windows Server 2003) and have configured the site to accept client certificates, not requiring... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can you load balance an IIS 6 hosted WCF Service? We use BigIP to load balance between our two IIS servers. We recently deployed a WCF service hosted on by IIS 6 onto these two Windows Server 2003R2 servers.
Each server is configured with two host headers: one for the load balancer address, and then a second h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What is a simple command line program or script to backup SQL server databases? I've been too lax with performing DB backups on our internal servers.
Is there a simple command line program that I can use to backup certain databases in SQL Server 2005? Or is there a simple VBScript?
A: I use ExpressMaint.
To backu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "106"
} |
Q: How do I read an HttpResponse in ASP.NET 2.0? For example, I have an ASP.NET form that is called by another aspx:
string url = "http://somewhere.com?P1=" + Request["param"];
Response.Write(url);
I want to do something like this:
string url = "http://somewhere.com?P1=" + Request["param"];
string str = GetResponse(ur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Help configuring JNDI with embedded JBoss in Tomcat 5.5.x When I try the following lookup in my code:
Context initCtx = new InitialContext();
Context envCtx = (Context) initCtx.lookup("java:comp/env");
return (DataSource) envCtx.lookup("jdbc/mydb");
I get the following exception:
java.sql.SQLException: QueryResult... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Is there a Java equivalent for .Net System.Data? Is there a Java package providing funcionality like the .Net System.Data namespace ?
Specificaly the DataSet and Adaptor classes ?
A: Use java.util for the collections.
java.sql for databases.
A: The equivalent to ADO.NET is JDBC. You can get the flavor of it here:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: pl sql & java - creating dynamic query I have a dilemma, I'm using Java and Oracle and trying to keep queries on PL/SQL side. Everything is OK, until I have these complex queries which may and may not have conditions.
It's not hard in Java to put together WHERE clause with conditions, but it's not nice.
And on PL/S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Explain Plan for Query in a Stored Procedure I have a stored procedure that consists of a single select query used to insert into another table based on some minor math that is done to the arguments in the procedure. Can I generate the plan used for this query by referencing the procedure somehow, or do I have to c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Can SQL Try-Catch blocks handle thrown CLR errors? We are using SQL 2005 and the try-catch functionality to handle all of our error handling within the DB. We are currently working on deploying a .NET CLR function to make some WCF calls in the DB. This WCF procedure is written in the CLR and then deployed to SQL. If... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Testing for Random Value - Thoughts on this Approach? OK, I have been working on a random image selector and queue system (so you don't see the same images too often).
All was going swimmingly (as far as my crappy code does) until I got to the random bit. I wanted to test it, but how do you test for it? There is no ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Most rapid RAD environment for prototyping What do you consider the most rapid RAD environment for a working prototype? Not for debate.
*
*language
*platform
*IDE
*DB
*(personal note)
Thank you.
P.S.1 I was pretty happy with PERL for back-end prototyping... I get stuck when dealing with the UI... it do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122745",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get rid of the "Console Root" node in a MMC 3.0 snapin? I've been creating snapins with the new MMC 3.0 classes and C#. I can't seem to find any examples of how to get rid of the "Console Root" node when creating the *.msc files. I looked through the examples in the SDK, but I can't seem to find anything for ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122749",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the recommended toolchain for formatting XML DocBook? I've seen Best tools for working with DocBook XML documents, but my question is slightly different. Which is the currently recommended formatting toolchain - as opposed to editing tool - for XML DocBook?
In Eric Raymond's 'The Art of Unix Programming' fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122752",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Need to create a layered dict from a flat one I have a dict, that looks like this:
{
'foo': {
'opt1': 1,
'opt2': 2,
},
'foo/bar': {
'opt3': 3,
'opt4': 4,
},
'foo/bar/baz': {
'opt5': 5,
'opt6': 6,
}
}
And I need to get it to look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122763",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Mount floppy image in cygwin How can I mount a floppy image file using cygwin. I would like to mount the image, copy a file to the mounted drive, and then unmount it from the command line.
I know you can use Virtual Floppy Drive in windows, but is there a way to do this in Cygwin?
A: Can't you just use Virtual F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I load different endpoints for WCF in SQL CLR? We're deploying some new WCF calls in our SQL 2005 DB using the CLR. In testing, I hardcoded in the code the endpoint to connect to, and deployed it to our test server. When we go to deploy this to production, we will be deploying it to many different SQL DBs, a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I display the full content of LOB column in Oracle SQL*Plus? When I try to display the contents of a LOB (large object) column in SQL*Plus, it is truncated. How do I display the whole thing?
A: SQL> set long 30000
SQL> show long
long 30000
A: You may also need:
SQL> set longchunksize 30000
Otherwise the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: Repeating Header in a group I am parsing text that has a heading and then data that applies to that heading. I need to break each data field into groups, and have the heading also apply to those groups. Here's an example:
(Update: The text below has been updated to better reflect it's current layout, and to indi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can apache-jmeter check the return value of a URL for a correct response? The set up for apache-jmeter allows for a URL to be sent to a web-server on multiple threads. I'm interested in first determining if the response codes are 200-500 and then whether the returned content is the expected content. Is this detail... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Capture console output for debugging in VS? Under VS's external tools settings there is a "Use Output Window" check box that captures the tools command line output and dumps it to a VS tab.
The question is: can I get the same processing for my program when I hit F5?
Edit: FWIW I'm in C# but if that makes a differenc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: 2d graphics effects 101: throwing something I have a page in my desktop app, and I've implemented simple grab-and-pan. It works great.
When you are panning in this way and you are release, the page stops dead where you dropped it.
I'd like it to continue slightly with some momentum, and stop eventually. Rather lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I wrap BOOST in a separate namespace? I'm looking to have two versions of BOOST compiled into a project at the same time. Ideally they should be usable along these lines:
boost_1_36_0::boost::shared_ptr<SomeClass> someClass = new SomeClass();
boost_1_35_0::boost::regex expression("[0-9]", boost_1_35_0::boos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What is the time complexity of indexing, inserting and removing from common data structures? There is no summary available of the big O notation for operations on the most common data structures including arrays, linked lists, hash tables etc.
A: Information on this topic is now available on Wikipedia at: Search da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: Has anbody used Boo and can you comment on your experiences? I'm looking for a groovy equivalent on .NET
http://boo.codehaus.org/
So far Boo looks interesting, but it is statically typed, yet does include some of the metaprogramming features I'd be looking for.
Can anyone comment on the experience of using Boo and i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: ASP.NET - Add Event Handler to LinkButton inside of Repeater in a RenderContent call I've got a Sharepoint WebPart which loads a custom User Control. The user control contains a Repeater which in turn contains several LinkButtons.
In the RenderContent call in the Webpart I've got some code to add event handlers:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Reducing memory footprint of large unfamiliar codebase Suppose you have a fairly large (~2.2 MLOC), fairly old (started more than 10 years ago) Windows desktop application in C/C++. About 10% of modules are external and don't have sources, only debug symbols.
How would you go about reducing application's memory foot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: PHP: How to return information to a waiting script and continue processing Suppose there are two scripts Requester.php and Provider.php, and Requester requires processing from Provider and makes an http request to it (Provider.php?data="data"). In this situation, Provider quickly finds the answer, but to maintain th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Easy data conversion tool I often have data in Excel or text that I need to get into SqlServer. I can use ODBC to query the Excel file and I can parse the text file. What I want though is some tool that will just grab the data and put it into tables with little / no effort. Does anyone know of such a tool?
A: If ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: ClickOnce app not working with Office 2007 I am a developer for a .net application that uses ClickOnce for deployment. I have deployed it over 60 times and computers have not had any issues downloading the latest release. However, when I deployed this morning, the following error occurs when computers with Office 20... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What method can I use to call a web service from VBA? What is the easiest way to call a web service from Excel (I am using version 2002)? Please, no third party tools or libraries. This has to be easy with some VBA that I can paste there, use it, and ever touch.
A: I don't think there is any especially easy way t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Static layers in a java web application I am building a small website for fun/learning using a fairly standard Web/Service/Data Access layered design.
To save me from constantly having to create instances of my service layer/data access layer classes, I have made the methods in them all static. I shouldn't get concu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122847",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get the file size from http headers I want to get the size of an http:/.../file before I download it. The file can be a webpage, image, or a media file. Can this be done with HTTP headers? How do I download just the file HTTP header?
A: Note that not every server accepts HTTP HEAD requests. One alternative a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "73"
} |
Q: java sound without hardware device Anyone know if it is possible to write an app that uses the Java Sound API on a system that doesn't actually have a hardware sound device?
I have some code I've written based on the API that manipulates some audio and plays the result but I am now trying to run this in a server env... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Parse HTML links using C# Is there a built in dll that will give me a list of links from a string. I want to send in a string with valid html and have it parse all the links. I seem to remember there being something built into either .net or an unmanaged library.
I found a couple open source projects that looked pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: WPF transparent borders causes the UI to stop redrawing As a follow up to my previous question, I am wondering how to use transparent windows correctly. If I have set my window to use transparency, the UI will occasionally appear to stop responding. What is actually happening is that the UI simply is not updating ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: element's z-index value can not overcome the iframe content's one I have a div and an iframe on the page
the div has
z-index: 0;
the iframe has its content with a popup having a z-index of 1000
z-index: 1000;
However, the div still overshadows the popup in IE (but works fine in Firefox).
Does anyone know what I ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why does strcpy trigger a segmentation fault with global variables? So I've got some C code:
#include <stdio.h>
#include <string.h>
/* putting one of the "char*"s here causes a segfault */
void main() {
char* path = "/temp";
char* temp;
strcpy(temp, path);
}
This compiles, runs, and behaves as it looks. Howe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: .NET: How to have background thread signal main thread data is available? What is the proper technique to have ThreadA signal ThreadB of some event, without having ThreadB sit blocked waiting for an event to happen?
i have a background thread that will be filling a shared List<T>. i'm trying to find a way to asynchr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Why can't I seem to grasp interfaces? Could someone please demystify interfaces for me or point me to some good examples? I keep seeing interfaces popup here and there, but I haven't ever really been exposed to good explanations of interfaces or when to use them.
I am talking about interfaces in a context of interfa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: Fast plane rotation algorithm? I am working on an application that detects the most prominent rectangle in an image, then seeks to rotate it so that the bottom left of the rectangle rests at the origin, similar to how IUPR's OSCAR system works. However, once the most prominent rectangle is detected, I am unsure how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What are some of the pros and cons of using jQuery? As someone who is only barely proficient in javascript, is jQuery right for me? Is there a better library to use? I've seen lots of posts related to jQuery and it seems to be the most effective way to incorporate javascript into ASP.NET applications.
I've been ou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Using PL/SQL how do you I get a file's contents in to a blob? I have a file. I want to get its contents into a blob column in my oracle database or into a blob variable in my PL/SQL program. What is the best way to do that?
A: To do it entirely in PL/SQL, the file would need to be on the server, located in a direct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Generic cache of objects Does anyone know any implementation of a templated cache of objects?
*
*You use a key to find object (the same as in std::map<>)
*You specify a maximum number of objects that can be in the cache at the same time
*There are facilities to create an object not found in the cache
*There ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: jQuery onClick execution I have this bit of javascript written with jQuery 1.2.5. It's contained inside the main function() of a plugin that I wrote. The plugin is a horizontal gallery scroller very similar to jCarousel. It does alot of auto calculating of widths and determines how many to scroll based on that an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to line up items of varied length in a resizable space in CSS? I'd like to line up items approximately like this:
item1 item2 i3 longitemname
i4 longitemname2 anotheritem i5
Basically items of varying length arranged in a table like structure. The tricky part is the container... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Setting up an architecture department Some context upfront:
Imagine a 200+ developers company finally setting up a more or less independent architecture team/department.
The software portfolio consisting of 20+ "projects"/applications of varying sizes in production was taken care of by team-leads/technical-leads, wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How to return multiple values in one column (T-SQL)? I have a table UserAliases (UserId, Alias) with multiple aliases per user. I need to query it and return all aliases for a given user, the trick is to return them all in one column.
Example:
UserId/Alias
1/MrX
1/MrY
1/MrA
2/Abc
2/Xyz
I want the query re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122942",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "51"
} |
Q: Invalid group name: Group names must begin with a word character I received the following exception when I was using the Regex class with the regular expression: (?'named a'asdf)
System.ArgumentException: parsing \"(?'named a'asdf)\" - Invalid group name: Group names must begin with a word character.
What is the pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Timed events with php/MySQL I need a way to modify a value in a table after a certain amount of time has passed. My current method is as follow:
*
*insert end time for wait period in table
*when a user loads a page requesting the value to be changed, check to see if current >= end time
*if it is, change the va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Robust and fast checksum algorithm? Which checksum algorithm can you recommend in the following use case?
I want to generate checksums of small JPEG files (~8 kB each) to check if the content changed. Using the filesystem's date modified is unfortunately not an option.
The checksum need not be cryptographically stro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "39"
} |
Q: how to determine if a record in every source, represents the same person I have several sources of tables with personal data, like this:
SOURCE 1
ID, FIRST_NAME, LAST_NAME, FIELD1, ...
1, jhon, gates ...
SOURCE 2
ID, FIRST_NAME, LAST_NAME, ANOTHER_FIELD1, ...
1, jon, gate ...
SOURCE 3
ID, FIRST_NAME, LAST_NAME, AN... | {
"language": "en",
"url": "https://stackoverflow.com/questions/122990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: opening links in the same window or in a new (tab) It has always been best practice to open links in the same window. Should that still be the rule now that most common browsers use tabs? Personally i prefer closing a tab/window over hitting the backbutton. What are your thoughts?
A: If you prefer closing a tab/win... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does the size of the constructor matter if you're using Inversion of Control? So I've got maybe 10 objects each of which has 1-3 dependencies (which I think is ok as far as loose coupling is concerned) but also some settings that can be used to define behavior (timeout, window size, etc).
Now before I started using ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Determine the ID of the JSF container form I need to determine the ID of a form field from within an action handler. The field is a part of a included facelets component and so the form will vary.
included.xhtml
<ui:component>
<h:inputText id="contained_field"/>
<h:commandButton actionListener="#{backingBean.up... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Microsoft Access - grand total adding multiple fields together I can't quite figure this out. Microsoft Access 2000, on the report total section I have totals for three columns that are just numbers. These =Sum[(ThisColumn1)], 2, 3, etc and those grand totls all work fine.
I want to have another column that says =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Do you use Qt and why do you use it? Pros. and cons? how long do you use it? What about jambi?
A: Here are some of my Pros and Cons with Qt:
Pros:
Cross-platform
I know this one is always used, but after going back and forth between Windows and Linux with Qt, it's amazing how little I have to do to get up and runni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: Do callbacks stop operations in rails If a callback handler returns false, does it cause only the handlers for that callback to not be called, or does it cause the remaining callbacks in that handler and all subsequent callbacks to not be called as well?
A: If a before_* callback returns false, all the later callba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Oracle Global Temporary Table / PHP interaction question I've never used the Global Temporary Tables however I have some questions how they will work in a php environment.
How is data shared: Assuming persistent connections to oracle through php using oci8. Is the data tied to a database id? is it done based on the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I fix a Cross language installation problem in SQL Server 2008? I'm trying to do a SQL Server 2008 setup and I've been given a Cross Language Installation failure. More specifically:
Rule "cross language installation: failed.
the Setup language is different than the language of existing SQL Server features. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do I avoid a memory leak with LINQ-To-SQL? I have been having some issues with LINQ-To-SQL around memory usage. I'm using it in a Windows Service to do some processing, and I'm looping through a large amount of data that I'm pulling back from the context. Yes - I know I could do this with a stored procedure bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123057",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: Paging in Pervasive SQL How to do paging in Pervasive SQL (version 9.1)? I need to do something similar like:
//MySQL
SELECT foo FROM table LIMIT 10, 10
But I can't find a way to define offset.
A: Tested query in PSQL:
select top n *
from tablename
where id not in(
select top k id
from tablename
)
for all n =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I 'validate' on destroy in rails On destruction of a restful resource, I want to guarantee a few things before I allow a destroy operation to continue? Basically, I want the ability to stop the destroy operation if I note that doing so would place the database in a invalid state? There are no validation callb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "88"
} |
Q: Naming a "core" Assembly I know that this is somewhat subjective, but I wonder if there is a generally accepted standard for naming assemblies which contain some "core" functions.
Let's say you got a larger Projects, with Assemblies like
*
*Company.Product.WebControls.dll
*Company.Product.Net.dll
*Company.Produ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Bypass .Net v3.5 verification when installing SQL Server 2008 Express For some reason, when I try to install SQL Server 2008 Express, I get an error saying that I need to have .Net Framework 3.5 installed first, but the thing is: I already have! So could anybody tell me if I can bypass this verification by updating ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Possible pitfalls of using this (extension method based) shorthand C#6 Update
In C#6 ?. is now a language feature:
// C#1-5
propertyValue1 = myObject != null ? myObject.StringProperty : null;
// C#6
propertyValue1 = myObject?.StringProperty;
The question below still applies to older versions, but if developing a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How do you avoid waiting for requirements when using iterative agile development methods like SCRUM? We attempt to do agile development at my current job and we succeed for the most part. The main problem seems to be that the developers on the project are always waiting for requirements at the beginning of the sprin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Visual Studio window manager Is there a window manager for Visual Studio 2008 like this one. I really liked it, and that's all I used in Visual Studio 2005 and saw somewhere it is supposed to work in Visual Studio 2008, but it doesn't. I have tried it on many installations of Visual Studio 2008, and it doesn't remem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How does my shared host's nameserver resolve http://servername.com/~username/ to my top level domain? I recently moved my website to a shared hosting solution at asmallorange.com, but I had to set my domain to use their provided nameservers in order for the site to properly resolve. I was determined to keep control... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how do you organize your namespaces? So I have logical entities (person, country, etc.), GUI elements / controls, data and navigation controllers / managers, then things like quad-trees and timers, and I always struggle with cleanly separating these things into logical namespaces.
I usually have something like this:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Ant Junit tests are running much slower via ant than via IDE - what to look at? I am running my junit tests via ant and they are running substantially slower than via the IDE. My ant call is:
<junit fork="yes" forkmode="once" printsummary="off">
<classpath refid="test.classpath"/>
<formatter type... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: custom server control values lost in callback I have a custom server control that loads data from a web service into a GridView. Works fine on my page. I want to be able to click on a row and pop a popupcontrol with more detail on the clicked row. I am using the client side events of the DevExpress gridview to ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Adding headers to mail coming via exim4 I've got a Debian Etch system running Exim4-daemon-heavy.
The system is open to the internet, but the intention is that it will only receive legitimate mail coming from a spam-filtering service, which runs as a proxy ahead of it. (I can't just limit access to those IPs though... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sending raw data to FedEx Label printer I'm working on a .NET WinForms app that needs to print a FEDEX shipping label. As part of the FedEx api, I can get raw label data for the printer.
I just don't know how to send that data to the printer through .NET (I'm using C#). To be clear, the data is already pre format... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do you htmlencode using html agility pack? Has anyone done this? Basically, I want to use the html by keeping basic tags such as h1, h2, em, etc; clean all non http addresses in the img and a tags; and HTMLEncode every other tag.
I'm stuck at the HTML Encoding part. I know to remove a node you do a "node.Par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/123159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.