text stringlengths 8 267k | meta dict |
|---|---|
Q: Schema changes not updating in Intellisense in SQL 2008 (SSMS) I've notice an issue - it feels like a bug but I suspect a 'feature' - in SSMS in SQL Server 2008.
I have various tabs open, for example an alter table script in one table and a SProc that queries that table in another tab, and when I execute my Alter Ta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: How do I pass a python list in the post query? I want to send some strings in a list in a POST call. eg:
www.example.com/?post_data = A list of strings
The python code receives the data as a single string (Instead of a list of strings). How do I post it as a list of strings?
A: There's no such thing as a "lis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Submit / Reset Buttons - Order in the Form When it comes to putting the submit and reset buttons on your forms, what order do you use?
[SUBMIT] [RESET]
or
[RESET] [SUBMIT]
This issue has come up countless times at work...
So, in your opinion, which is the most usable for online users?
I personally favor the latter... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: AJAX, PHP Sessions and simultaneous requests I'll get straight to the point!
My javascript sends about 20 AJAX requests to my PHP file to respond to (via an external web API) when the user submits their search. The results are stored in an array in the session array.
I've read that browsers will only allow 2 simulta... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to check if MOSS Standard or MOSS Enterprise is installed? How is it possible to check if MOSS Standard or MOSS Enterprise is installed?
A: Since the link given in Paul's answer seems to require sign up at ASP.NET weblogs, here's the answer without having to go away and log in elsewhere:
Central Admin -> Operat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Workflow Auto Cleanup timer job does not run I am testing a couple of workflows for their workflow history cleanup time intervals. The workflow History needs to be retained for a specific number of days. I have implemented the solutions recommended here
My problem is that, now I need to test my code to see if the w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ASP.net session state service information Where can you get information on the ASP.NET State Service e.g. how it works, performance, behaviour characteristics etc.
Have looked on internet but cant find in depth information or an article dedicated to the subject.
Thanks
A: Programmatically, session state is nothing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IIS7 error when calling non-activeX dll from COM+ activeX dll called by classic asp I have a classic ASP application that works fine on older versions of IIS but not on IIS7.
The ASP code calls COM+ ActiveX DLLs (written in VB6) and I have managed to get everything running fine except for one program where the Activ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why are Tk GUI's considered ugly? Tk GUI's seem to be universally considered ugly, but I'd like to know why specifically. Some in the Tcl/Tk world would argue that this is a moot point as there is much better support now for native look and feel, which is a big reason I decided on Tcl/Tk. Now, however, the proble... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: How can I convert a REG_BINARY value from the registry into a string ? (vb.net) I have a registry value which is stored as a binary value (REG_BINARY) holding information about a filepath. The value is read out into an byte array. But how can I transform it into a readable string?
I have read about system.text.encod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: calling method Versus class.method I have a class with two methods defined in it.
public class Routines {
public static method1() {
/* set of statements */
}
public static method2() {
/* another set of statements.*/
}
}
Now I need to call method1() from method2()
Which one the foll... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: adjacency matrix in java or c++ to find connected nodes I am given a problem where I have been given N nodes in a graph that are interconnected to each other then given a matrix which lists down a node being connected to another (1 if it is, 0 if not). I am wondering how to best approach this problem. I think thes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the difference between Moq-ing a class or interface? I've been using moq to mock objects in my unit tests and I've seen on the site about moq that it is able to mock both classes and interfaces.
I had a discussion with one of my work mates the other day and they stated that there is never a reason to mock cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: How to use XPATH in MySQL select? Say I have a table called "xml" that stores XML files in a single column "data". How would I write a MySQL query that run an XPath and return only rows matching that XPath?
A: SELECT * FROM xml
WHERE EXTRACTVALUE(data, '<xpath-expr>') != '';
You should note, however, that there ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: SQL statement problem I have this code:
SELECT idcallhistory3, callid, starttime, answertime, endtime, duration,
is_answ, is_fail, is_compl, is_fromoutside, mediatype, from_no,
to_no, callerid, dialednumber, lastcallerid, lastdialednumber,
group_no, line_no
FROM "public".callhis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there an equivalent of ASF View for MP4 files? I'm working on our encoding software, and have come across a strange issue where files in a 16:9 aspect ratio are being played in 4:3 in some players, post-transcode from WMV to MP4. Using ASF view I can see that the source WMV file appears to have incorrect data in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I Reference an Embedded Resource in Silverlight 2 I have the following simple button with an image as the template. The problem is that I want to change the image to a resource, instead of a content reference. I want to do this so I can share the DLL as a re-usable library, and it doesn't work well when I d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ASP.net session state service information Where can you get information on the ASP.NET State Service e.g. how it works, performance, behaviour characteristics etc.
Have looked on internet but cant find in depth information or an article dedicated to the subject.
Thanks
A: Programmatically, session state is nothing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349503",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Using Parallel.For to test SQL queries and comparison with the ThreadPool I'm looking for a way to easily load test and benchmark some of our SQL (using ADO.NET, nothing fancy using LINQ or PLINQ) that has to be performant when running under high parallel load.
I've thought of using the new parallel extensions CTP a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Built-in helper to parse User.Identity.Name into Domain\Username Is there any built-in utility or helper to parse HttpContext.Current.User.Identity.Name, e.g. domain\user to get separately domain name if exists and user?
Or is there any other class to do so?
I understand that it's very easy to call String.Split("\")... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "47"
} |
Q: SQL Server history table - populate through SP or Trigger? In my SQL Server backend for my app, I want to create history tables for a bunch of my key tables, which will track a history of changes to the rows.
My entire application uses Stored Procedures, there is no embedded SQL.
The only connection to the database ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: On-demand IEnumerable binding to ListBox I've got a potentially rather large list of objects I'd like to bind to a ListBox in WPF. However, I'd like to have the List load itself incrementally. How can I bind a ListBox to an IEnumerable that loads itself on-demand in such a way that the listbox only tries to enume... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Sniffing queries to SQL Server Is there a way to sniff SQL queries sent to a SQL Server db on any level (above transport level)? Perhaps there's some kind of a tracer in ASP.NET or built-in log in SQL Server ?
A: The tool your looking for is SQL Server Profiler, learn to use it and to love it.
Try starting with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349540",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Threading issue (chase your own tail) There is ConnectionManager which waits for incoming connections. For each incoming connection it creates a Connection instance which handles the inbound and outbound traffic on this connection. Each Connection has a Watchdog which handles "bad connection" conditions and calls re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349544",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can we move SharePoint up in the site hierarchy? I have SharePoint with the local intranet link as http://shserver/Sites/LAPP/HR/LA. I want to move the site LA to the following location http://shserver/Sites/LAPP/LA.
Is this possible through some tool or the only way is to recreate the site altogether in the new url... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL how to search a many to many relationship I have a database with two main tables notes and labels. They have a many-to-many relationship (similar to how stackoverflow.com has questions with labels). What I am wondering is how can I search for a note using multiple labels using SQL?
For example if I have a no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: help needed with Lighttpd and Apache cofiguration with Django I am using Django as web framework and then Apache and Lighttpd as web server and static media server respectively. Lighty serves all my static content well and good, but I need to configure it to serve the new files uploaded by the user. Lighttpd is run... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IIS 6 404 for default document I have an ASP.NET website deployed on IIS 6. I have several folders in my app containing handlers like log.ashx, default.ashx and so on.
I have default document configured in IIS, so that I can type www.mydomain.com/tools in the browser, and I will get the /tools/default.ashx.
IIS give... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Linux: retrieve per-interface sent/received packet counters (ethernet, ipv4, ipv6) On Linux, how can I (programmatically) retrieve the following counters on a per-interface basis:
*
*Sent/received ethernet frames,
*Sent/received IPv4 packets,
*Sent/received IPv6 packets.
A: You should be able to do this using... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: MP3 Cover Art Tagging in C# I need to tag MP3 files with a Cover Art in C#...
Is there any easy way to do this? I found UltraID3Lib as an exampel and it is great for regular ID3 tagging but I cant handle the cover art. If someone know an easy way to do this would it be great :)
A: I do something like this:
private... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Access VBa: to check end of excel file while reporting I am writing the results of certain checks on access table to a excel file. Sometimes the results exceed 65k that is more than excel can handle( excel 2002). How do i check the end of the file and open a new sheet for the continuation
Thanks
A: You have at leas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ole excel objects in VB6 Is anyone aware of a good resource online for detailed information on the use of ole excel objects(embeded workbooks, worksheets, etc...) in VB6? I'm maintaining an application that makes heavy use of these conrols and I'm having a lot of trouble getting them to work properly for the user's ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Testdriven Remoting in C# - Do I need a separate server AppDomain? I wanted to start with the use of Remoting under C# in a testdriven way, but I got stuck.
One thing I found on the topic is this article by Marc Clifton, but he seems to have the server running by starting it manually from the console.
I try to have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is a good project management software for many small projects? I work at a smallish web agency (3 programmers, 2 project managers), we mostly make sites for marketing campaigns and also some larger sites. Most of our projects are a week, maybe two, in development. The majority of projects are only worked on by ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Simple jQuery function works in every browser but Firefox. What am I missing? $(document).ready(function() {
$("span.link").mouseover(function(e){
$(this.children).css("display","inline");
});
});
I'm not a javascript expert, but I've cobbled together a few functions using jQuery. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does the keyword Set actually do in VBA? Hopefully an easy question, but I'd quite like a technical answer to this!
What's the difference between:
i = 4
and
Set i = 4
in VBA? I know that the latter will throw an error, but I don't fully understand why.
A: Set is used for setting object references, as opposed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "166"
} |
Q: json_encode and mysql unicode problem i have the following javascript code:
http://www.nomorepasting.com/getpaste.php?pasteid=22561
Which works fine(the makewindows function has been changed to show it is a php variable), however the html contains unicode characters, and will only be assigned characters leading up t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting Virtual path of a web page from a web service in c# I want to get virtual path of a web page from a web service. Is there any way to do this?.
suppose i have an aspx page like aa, i want to get full path as a url for that page from my web service.
Regards,
Harsh Suman
A: What type of web-service? asmx? or w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Any reason to use JBoss 5 over GlassFish v2/v3 Prelude? JBoss 5 has just come out of beta after 2 years, giving us a Java EE 5 compliant container several months before the release of Java EE 6 (JavaOne in May or thereabouts 2009). We've had GlassFish v2 for awhile and now have GlassFish v3 Prelude.
Is there any re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: printing InfModel earlier changes printed representation later? I'm getting a strange effect in Jena 2.5.5 (on Linux) where I am playing around with the inference API. The following code is a stripped down version. I am creating an initially empty Model and a generic rule reasoner. I add a reflexivity rule for a cer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Run a shortcut under windows The following doesn't work, because it doesn't wait until the process is finished:
import subprocess
p = subprocess.Popen('start /WAIT /B MOZILL~1.LNK', shell=True)
p.wait()
Any idea how to run a shortcut and wait that the subprocess returns ?
Edit: originally I was trying this without ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating mdf file from sql script I've created a database in Visual Studio 2008 in an App_Data folder of a MVC Web Application project. This results in an mdf file for the database that can be explored in the Server Explorer tab. You can create a SQL script for changes you do to the database.
So I'm wondering how yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349655",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to determine a swing component? I have a problem.
I'm working on another guy's code and there is a JFrame with lots of JSeparators(he used them as borders for 'panels') now I'm replacing them for a JBorderedPanel class that follows the same border style of the whole application.
The problem is that some of his ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: String.Format or Not? Duplicate from : String output: format or concat in C#?
Especially in C# world using String.Format for everything is really common, normally as VB.NET developer unless I have to* I don't String.Format,
I prefer normal string concatenation, such as:
V1 = V2 & "test-x" & V3 & "-;"
to me it's be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349659",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Removing the remembered login and password list in SQL Server Management Studio I've recently used our company's spare laptop (that has a general user set up) while mine was being repaired. I've checked the "Remember password" option in SQL Server Management Studio when logging in to the database.
I need to clear t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349668",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "282"
} |
Q: RMI, EJB and callback Is it possible for a client to pass an RMI object as an argument to an EJB so that the
EJB may callback the client?
A: You'd need to pass the connection details in the call to the EJB and have the EJB make a connection to the client-side RMI server.
My advise would be to use messaging and a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Bash string handling (char at index and concatenation) I'm trying to learn bash string handling.
How do I create a bash script which is equivalent to this Java code snippet?
String symbols = "abcdefg12345_";
for (char i : symbols.toCharArray()) {
for (char j : symbols.toCharArray()) {
System.out.println(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Total width of element (including padding and border) in jQuery As in the subject, how can one get the total width of an element, including its border and padding, using jQuery? I've got the jQuery dimensions plugin, and running .width() on my 760px-wide, 10px padding DIV returns 760.
Perhaps I'm doing something wr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "167"
} |
Q: Which to choose: ASP.NET MVC or RESTful WCF? With ASP.NET MVC, it is common to have AJAX code(e.g. jQuery) to invoke web service from server to without page refreshing. It's natural to make web service RESTful. It seems that there are two ways to go. First, the ASP.NET MVC URI's are RESTful, it is very easy to make ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: ADO.NET Entity Framework: Decision Making between ORM solutions I am looking for some guideline for my new application while choosing ORM. I want to evaluate EF over NHibernate and LINQ to SQL. I need some expert voice from this wonderful community.
You can evaluate on following point.
*
*Scalability
*Learning c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: When do you use StringBuilder.AppendLine/string.Format vs. StringBuilder.AppendFormat? A recent question came up about using String.Format(). Part of my answer included a suggestion to use StringBuilder.AppendLine(string.Format(...)). Jon Skeet suggested this was a bad example and proposed using a combination of Ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "60"
} |
Q: Find and start a VPN connection in VB .NET I am using NetworkInterface.GetAllNetworkInterfaces() to get all the interfaces on a PC. However, this appears to only return "active" interfaces. How can I find "inactive" network interfaces, such as unconnected VPNs, disabled NICs, etc. in .NET.
I would like to find them... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: HttpModule disables SharePoint 2003 admin I have a web part with links to e.g. "Manage Users" i SharePoint (2003)
I also have a http module, that must add some JavaScript to the aspx pages served through the sharePoint site. This runs well for normal user served pages but when clicking these admin pages, served by t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you test your Request.QueryString[] variables? I frequently make use of Request.QueryString[] variables.
In my Page_load I often do things like:
int id = -1;
if (Request.QueryString["id"] != null) {
try
{
id = int.Parse(Request.QueryString["id"]);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349742",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "50"
} |
Q: Welcome/home page in Ruby on Rails - best practice My homepage (or welcome page) will consist of data from two models (lets call them authors and posts). I am new to rails and not sure what is the best way to accomplish this.
Should I create a new controller called welcome which gathers data from the authors and pos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349743",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "84"
} |
Q: Returning an XElement from a web service Is it possible to return an XElement from a webservice (in C#/asp.net)?
Try a simple web service that returns an XElement:
[WebMethod]
public XElement DoItXElement()
{
XElement xe = new XElement("hello",
new XElement("message", "Hello World")
);
return xe;
}
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Web scripting language with parallel non blocking database access? My webapp will need to use multiple database shards, and occasionally need to query these shards in parallel. Are there any web scripting languages that have mature, stable support for parallel non blocking database access? If so, can you point me ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349773",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mac OS X accessing devices with same Vendor ID and different Product IDs I am writing an application which opens USB devices and transfer some data. I am following the UsbSimpleNotificationExample from the Developer Examples. The example adds notifications and assigns callbacks for a unique Vendor ID and Product ID.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Emailing MS Reporting Services 2005 Reports as if from a specific address We have various reporting services reports which are scheduled to automatically generate reports and email them to a distribution list. This works really well but they appear to come from MSRepSvc@ourdomain.com.
This is all well and good but ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349786",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How you organize non-source-resources available at the classpath in your java-project? In a software-project written in java you often have resources, that are part of the project and should be included on the classpath. For instance some templates or images, that should be accessible through the classpath (getResou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Frameworks for network protocol fuzzing? Can anyone recommend any programmer-friendly (i.e. extensible) frameworks or systems for performing network level packet fuzzing?
I'm looking for such a system where I can program in additional packet formats and various ways of breaking those packets in a protocol-dependent ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: best database strategy for a client-based website (Ruby on Rails) I've built a nice website system that caters to the needs of a small niche market. I've been selling these websites over the last year by deploying copies of the software using Capistrano to my web server.
It occurs to me that the only difference in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: new TXMLDocument in Borland C++ Builder Is it possible for me to create and destroy a TXMLDocument by myself in Borland C++ Builder? I've tried but borland keeps telling me that TXMLDocument is (and must be) an IDE managed component.
Also, the only reason that I want to do this is that TXMLDocument sort of crashes:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349802",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to arrange a Makefile to compile a kernel module with multiple .c files? How to arrange a Makefile to compile a kernel module with multiple .c files?
Here is my current Makefile. It was auto generated by KDevelop
TARGET = nlb-driver
OBJS = nlb-driver.o
MDIR = drivers/misc
EXTRA_CFLAGS = -DEXPORT_SYMTAB
CURRENT ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349811",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Error Correction Libraries? I'm interested in using a Reed-Solomon error correction [http://en.wikipedia.org/wiki/Reed%E2%80%93Solomon_error_correction as a reference] to try to rebuild files from partial bits of a file. I'm doing this as a personal interest.
I recently read about WuaLa [http://www.wua.la/] and I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: AD group comparison - PowerShell When using the following function (compare 2 user's group membership), I get results that do not make sense.
function Compare-ADUserGroups <br>
{ #requires -pssnapin Quest.ActiveRoles.ADManagement
param (
[string] $FirstUser = $(Throw "logonname required."),
[s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do you detect repetitions in a list of strings? I have a sequence of SQL calls, which I want to use to detect loops (and hence unnecessary duplicate sql calls), but it got me thinking of this more general problem.
Given a list, say
[a,b,c,b,c,a,b,c,b,c,a,b,b]
Is there some way I can turn that into
a,[[b,c]*2,a]*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: SQL Server - database size calculation difference question I am attempting to programmatically monitor the size of a SQL Server database, so that my admin section of my web app can report it, and I can use that to execute some cleanup SPs, to clear log files, etc.
I use the following code to calculate the size of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Programming visual studio macros I am frustrated trying to program macros for Visual Studio (using VS 2008, Version 9.0.30729.1 SP, with all updates).
In the Macro Explorer, I can go to Microsoft's samples/VSEditor and add a Subroutine that behaves as I desire. But I can't seem to make it work anywhere else. In pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What to do if Flex Builder 3 debugger unable to start I'm using Flex Builder 3 now and it suddenly refuses to start debugging session. I've reinstalled debugger versions of Flash Player: both 9 and 10 versions. Then I've reinstalled Flex Builder itself allowing it to install it's native Flash Player version. And fin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: WM_GETTEXT button action I would like to tie an action to a PocketPC button (biggest button at the center - don't know how it is called).
I tried to tie the action to WM_GETTEXT message, but this message is sent on every key press and don't know how to add an action just to the specific button.
Does anyone know how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JUnit 4: Set up things in a test suite before tests are run (like a test's @BeforeClass method, just for a test suite) I want to do some functional testing on a (restful) webservice. The testsuite contains a bunch of test cases, each of which performs a couple of HTTP requests on the webservice.
Naturally, the webse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "25"
} |
Q: How to return a Date (not a TimeWithZone) from a Oracle date column in ActiveRecord? Environment: Rails 2.2.2, Oracle 10g
Most of the columns declared "date" in my ActiveRecord models are exactly that: dates: they don't care about time at all.
So with a model declared thus:#
class MyDateOnlyModel < ActiveRecord::Mig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best reflection of extract-interface refactoring in subversion I'm extracting an interface that I would like to retain the original name. The actual class will get a "Impl" suffix, in accordance with our naming conventions. I want to know how to best reflect that in subversion so that the history "AppPropertiesImpl.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to automate Visual Studio's Code Metrics feature I want to automate the process of gathering code metrics on a .NET solution. Is there any way of getting msbuild to run the Code Metrics feature included in VS2008 Development Edition?
I may end up using SourceMonitor, but I would like to know if there is a way t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Fitting a UIDatePicker into a UIActionSheet I'm trying to get a UIDatePicker with a UIButton to show up in a UIActionSheet. Unfortunately it gets cropped off and the entire Date Picker is not visible. I have not even attempted to add the UIButton yet. Can anyone suggest on getting the entire view to fit properly? I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: javascript style.width not working in firefox with transitional doctype I have a script that animates a small DIV popping up on the page. It all works fine in IE, and in FF if I remove the DOCTYPE, but when the DOCTYPE is XHTML/Transitional, in Firefox, the width does not change.
this.container.style.visibility = "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: ASP DropDown causing ViewState to appear in Address bar If you visit this page in Internet explorer, and choose a value from the "Current Media Releases" dropdown on the top right, eventually IE will try to redirect you to an ugly url containing this string:
__EVENTTARGET=selArchives&__EVENTARGUMENT=&__LASTFOCUS=&__... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Vertical Text in Wpf TextBlock Is it possible to display the text in a TextBlock vertically so that all letters are stacked upon each other (not rotated with LayoutTransform)?
A: Nobody has yet mentioned the obvious and trivial way to stack the letters of an arbitrary string vertically (without rotating them) using... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "46"
} |
Q: Unable to modifiy Active Directory from Test/Production servers OK since I am in a holding pattern on this issue perhaps someone has seen these symptoms and can provide some sage advice. (Note: I have learned only enough Active Directory information to build this feature and I only have read access to the Active Di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I programatically restart a system service(not apache) from apache in linux? I need to simple way to allow an end user to restart tomcat from a web page served from apache on the same box.
We're trying to make it easy for our QC department to deploy a new version of our webapp to apache. We're using samba, bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Trying to connect internally to Oracle, getting an idle instance? So I have an Oracle instance, and I know it's running on this system, I've su'd to the oracle user, and I'm trying to connect using "/ as sysdba". However, when I do connect, it says the instance is idle. I know the database is up and opened, becaus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: How do you determine the amount of Linux system RAM in C++? I just wrote the following C++ function to programmatically determine how much RAM a system has installed. It works, but it seems to me that there should be a simpler way to do this. Am I missing something?
getRAM()
{
FILE* stream = popen("head -n1 /pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: SQL Precedence Query I have a logging table which has three columns. One column is a unique identifier, One Column is called "Name" and the other is "Status".
Values in the Name column can repeat so that you might see Name "Joe" in multiple rows. Name "Joe" might have a row with a status "open", another row with a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Passing results in prolog I'm trying to make a function that has a list of lists, it multiplies the sum of the inner list with the outer list.
So far i can sum a list, i've made a function sumlist([1..n],X) that will return X = (result). But i cannot get another function to usefully work with that function, i've tri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What C++ compilers are supporting lambda already? Are there C++ compilers already supporting C++0x lambda expressions?
A: g++ has support since 4.5.
Status for C++11 support in gcc can be found here.
A: G++ supports it in 4.5 if you enable it using -std=gnu++0x.
A: Intel C++ Compiler does, e.g. according to TBB T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Piano (Peano) numbers? I was listening to the steve yegge podcast (#29, around 21:29), and in part of it, they were talking about "how to tell if the person you're talking to is smart", and they said that one way was to talk about "smart people things" (I'm paraphrasing), like "piano numbers" and "lambda calculus".
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Classes with Collections as Properties vs. Classes Inheriting Collections Recently I used a class that inherits from a collection instead of having the collection instantiated within the class, is this acceptable or does it create unseen problems further down the road? Examples below for the sake of clarity:
public ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Debugging a third-party DLL in Visual Studio? I am using a third-party DLL. For some particular cases, a function in the DLL is throwing an exception. Is it possible to debug the DLL in the Visual Studio?
After the answer from Andrew Rollings, I am able to view the code, but is there any easy way to debug through th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: Toplink Objects not showing up under the Toplink Map node in JDeveloper for some reason I cannot see any of the generated objects under the TL Map. See the included image (Sorry but it will not render using the community wiki software....
http://img261.imageshack.us/my.php?image=nothingundernodetn5.png
A: Alright, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is the LAMP stack appropriate for Enterprise use? Is the LAMP (Linux, Apache, MySQL, PHP / Ruby / Python) stack appropriate for Enterprise use?
To be clear, by "Enterprise", I mean a large or very large company, where security, robustness, availability of skill sets, Total Cost of Ownership (TCO), scalability, and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "26"
} |
Q: Programmatically Creating Controls in Cocoa According to Cocoa Programming for Mac OS X, 3rd Edition, on page 245 (chapter 17), you will usually create views in Interface Builder. However, it is possible to create them in code, a la:
NSView *superview = [window contentView];
NSRect frame = NSMakeRect(10, 10, 200, 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349927",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How do I print one bit? Please tell me how do I print a bit, like printf("%d",bit);.
A: Related question: How do you set, clear, and toggle a single bit? is an extended discussion of single-bit access in c and c++.
A: To print the m-th bit (m from 1..16 or 32) of n:
void print_bit(n, m)
{
printf("%d", n & (1 <... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: SQL: get Nth item in each group I have a user table like this
user_id | community_id | registration_date
--------------------------------------------
1 | 1 | 2008-01-01
2 | 1 | 2008-05-01
3 | 2 | 2008-01-28
4 | 2 | 2008-07-22
5 | 3 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Extracting equations and images from Word Is there a programmatic way to extract equations (and possibly images) from an MS Word document? I've googled all over, but have yet to find anything that I can sink my teeth into and work from. If possible, I'd like to be able to do this with VB.NET or C#, but I can pick ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Read a non .NET DLL version from C#? I have a folder with some DLLs in it (not .NET assemblies) and I would like to read the file information in them. Things like the version, name... etc. What is the best way to approach this?
A: Use the FileVersionInfo object. Here's an example from the Microsoft website that ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: How do you invoke a method with any signature dynamically in C#? I had a class with some common error handling code, and I wanted to pass in the method and arguments to call, but I couldn't quite come up with the syntax. What I want to do is roughly this:
private void InvokeHelper(Delegate method, params object[] a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Start stored procedures sequentially or in parallel We have a stored procedure that runs nightly that in turn kicks off a number of other procedures. Some of those procedures could logically be run in parallel with some of the others.
*
*How can I indicate to SQL Server whether a procedure should be run in par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Why can't I remove this empty directory in Perl? I am converting a linux script from http://www.perlmonks.org/index.pl?node_id=217166 specifically this:
#!/usr/bin/perl -w
use strict;
use Getopt::Std;
use File::Find;
@ARGV > 0 and getopts('a:', \my %opt) or die << "USAGE";
# Deletes any old files from the directory... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: ObservableCollection not updating UI I'm having an issue with an ObservableCollection getting new items but not reflecting those changes in a ListView. I have enough quirks in the way I'm implementing this that I'm having a hard time determining what the problem is.
My ObservableCollection is implemented thusly:
pu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/349957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.