text stringlengths 8 267k | meta dict |
|---|---|
Q: What is the Greasemonkey namespace needed for? I'm learning how to use Greasemonkey, and was wondering what the @namespace metadata id is for.
Does it have to be a web address? Or can it be a folder/directory on my computer?
Does it even need to be filled in?
A: A namespace is used to avoid naming collisions. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "90"
} |
Q: What are best practices in Setting up Localization in an ASP.NET Web Application Project in Visual Studio 2008 I feel like i am completely missing something because I am not able to find any examples describing what i want to do.
I have a fairly plain jane ASP.NET web application project that I want to localize. I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Digital signature in PDF I'm trying to digitally sign a PDF file using THIS project as an example.
When it executes st.Close(); I am getting the infamous "Object reference not set to instance of an object".
I have no idea of why this is happening, st is an instance of an object and it is used above. This exception i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: create XmlSerializer in MFC C++ I want to implement in my MFC application project this logic, which written in C# looks like:
XmlSerializer ser = new XmlSerializer(typeof(A_CLASS));
StringBuilder sb = new StringBuilder();
XmlWriterSettings sett = new XmlWriterSettings();
sett.Indent = true;
sett.IndentChars = "\t";
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java in Silverlight? Can we use Java in Silverlight?
A: In short: No. Silverlight only supports .NET languages, such as Visual Basic, C#, Managed JavaScript, IronPython and IronRuby.
However, J# or IKVM.NET could be of use to you.
A: According to Wikipedia - Future of J#, Microsoft's own major Java support is soon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386627",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Techniques for database inheritance? What are the tips/techniques when you need to persist classes with inheritance to relational database that doesn't support inheritance?
Say I have this classic example:
Person -> Employee -> Manager
-> Team lead
-> Developer
-> Custome... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Python Performance - have you ever had to rewrite in something else? Has anyone ever had code in Python, that turned out not to perform fast enough?
I mean, you were forced to choose another language because of it?
We are investigating using Python for a couple of larger projects, and my feeling is that in most case... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386655",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "48"
} |
Q: best way to handle user id hash common to all rails requests Each client is identified by a hash, passed along with every request to the server. What's the best way to handle tracking a users session in this case?
I'm using restful_authentication for user accounts etc. A large percentage of requests are expected to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there any 3rd party software to modify SSIS packages? I've been working on some data transformation tasks in SSIS. Visual Studio has gotten better in 2008 in it's usability, but I find there are some things that annoy me (i.e. When I delete something in the Package Explorer it refreshs the whole screen bringing m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tricky Python string literals in passing parameter to timeit.Timer() function I'm having a hard time with the setup statement in Python's timeit.Timer(stmt, setup_stmt). I appreciate any help to get me out of this tricky problem:
So my sniplet looks like this:
def compare(string1, string2):
# compare 2 strings
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Add link to swapped image I have an image gallery that is swapping images and I want to link the swapped image to come up even larger in a shadowbox/lightbox. I am close, I am having a brainfreeze on how to add the link. It would go where I have the alert box popping right now. Here is the page if you want to see... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ASP.NET MVC - TempData - Good or bad practice I'm using the AcceptVerbs method detailed in Scott Gu's Preview 5 blog post for dealing with form entries in ASP.NET MVC:
*
*User gets an empty form via GET
*User posts the filled in form via POST to the same Action
*The Action validates data, takes appropriate acti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "97"
} |
Q: WSE 2 .Net 1.1 Client calling from inside a LAN to service on the internet. How to set the proxy server? Hi I am trying to connect to a WSE2 web service (.Net 1.1)
on the internet
The client (also .Net 1.1) is inside my company LAN and has to go out through a proxy server to the internet.
When I make the WSE2 call ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: option for inheritance Whats the other option we can use for multiple inheritance other than implementing interface
A: A direct answer is to use inner classes. That gives you two (or more) objects that are intimately linked but cover independent base classes.
In general, prefer composition over inheritance. It's a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386695",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Pro/Con Continuous Integration Systems Duplicate of: Continuous Integration Servers
Hi,
Recently i've looked into several CIS and read a lot of articles about them.
I'm kinda impressed by Hudson, because it is so easy to set up. I like to start a discussion about several CIS like CC, Bamboo, Continuum etc. It would... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386697",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can you write a 301 redirect to an anchor point? Is this valid and correct?
RewriteRule ^myOldPage.html$ /index.php#info [R]
I'm specifically interested about the #info part.
A: Yes. That's a valid 301 redirect (the HTTP standard allows for any valid URI to be provided as the redirect).
Now the caveat: Not all se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is there any way to silence the 'hold' function in Matlab I'm doing some data analysis in Matlab, and anytime I call the hold function to keep plotting to the current figure, I get an output like this:
Current plot held
I'd like to avoid this print, since it's just ugly and clutters my output. Unfortunately, placin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How to do mutually exclusive attributes in XML schema? I'm trying to make two XML attributes to be mutually exclusive. How can one create an XSD schema to capture this kind of scenario?
I would like to have one of these
<elem value="1" />
<elem ref="something else" />
but not
<elem value="1" ref="something else" />... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Launching Shell Links (LNKs) from WOW64 Our 32-Bit application launches Windows LNK files (Shell Links) via ShellExecute. When it tries to "launch" a link to a 64-Bit binary (such as the "Internet Explorer (64-Bit)" shortcut in Start Menu) it always ends up launching the 32-Bit binary. Internally, ShellExecute incor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Path based authentication in Subversion failing for repository, but not path I am using path-based authentication with svnserve, but it is giving me permission errors if I specify a repository. However, if I just specify a path then it authenticates.
In my authz file, if I do this it works:
[/my/path]
my_username = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386728",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get Absolute Position of element within the window in wpf I would like to get the absolute position of an element in relation to the window/root element when it is double clicked. The element's relative position within it's parent is all I can seem to get to, and what I'm trying to get to is the point relative to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386731",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "100"
} |
Q: Methods to check the look of a web page on different browsers I would like to be able to see how a web page looks on different browsers before releasing it. I have several on my machine, but I cannot check different versions of IE, and other browsers, and I cannot check other OSs. I know of http://browsershots.org/ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can a desktop application written for Windows run on Linux? Can a desktop application designed for the Windows platform (for example, using MS Visual Studio ) run on a Linux platform too? If so, please give some suggestions on what should be done to prepare for this.
A: To consolidate and extend some above answer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How do I convert part of a python tuple (byte array) into an integer I am trying to talk to a device using python. I have been handed a tuple of bytes which contains the storage information. How can I convert the data into the correct values:
response = (0, 0, 117, 143, 6)
The first 4 values are a 32-bit int telli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Javascript multiple rollovers I am trying to do a multi rollover with Javascript. I know a lot of people say to use css, but it's going to be done in Javascript this time around.
Anyway, I am having much trouble with this rollover hierarchy. I have a button image nav with five buttons. When you mouseover one of the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Properly disposing of a DbConnection I have a class called DatabaseHelper that wraps a DbConnection. What's the proper way to setup this class for a using statement? I have implemented IDisposible, but I'm not sure when and where I should be calling Connection.Close() or Connection.Dispose().
When I simply call Conn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Good hash algorithm for list of (memory) addresses I have a list of (64-bit) addresses that represent a stack frame, and I want to hash these to a single 64-bit number to help identify those that have been seen before. There are at most 128 addresses.
My current algorithm calculates the hash by iterating through th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Simple to use, non-invasive JavaScript Call Stack Visualiser? Can anyone recommend a graphical call stack visualiser for JavaScript, that I can install on a Linux box (or is OS neutral)? Preferably one that doesn't involve having to modify the JavaScript being profiled.
I'm after something similar to the graphs prod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: NSTask not picking up $PATH from the user's environment I don't know why this method returns a blank string:
- (NSString *)installedGitLocation {
NSString *launchPath = @"/usr/bin/which";
// Set up the task
NSTask *task = [[NSTask alloc] init];
[task setLaunchPath:launchPath];
NSArray *args = [N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: In Java Swing how do you get a Win32 window handle (hwnd) reference to a window? In Java 1.4 you could use ((SunToolkit) Toolkit.getDefaultToolkit()).getNativeWindowHandleFromComponent() but that was removed.
It looks like you have to use JNI to do this now. Do you have the JNI code and sample Java code to do this?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "28"
} |
Q: select top 1000, but know how many rows are there? SQL Server 2005
I have 10 million rows in DB, and run a select (with lots of "where" and joints.. pretty complex). The results are presented in grid (think goolge results) and because of that, the user cannot possibly use more then 1000 results.
So I limit my SQL w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a generic version of the HybridDictionary? The description of System.Collection.Specialized.HybridDictionary is this:
Implements IDictionary by using a
System.Collections.Specialized.ListDictionary
while the collection is small, and
then switching to a
System.Collections.Hashtable when the
collec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What could cause redraw issues on 64-bit vista but not in 32-bit in .NET WInForms? This happens when compiling for Any Cpu as well as compiling to x86. Sections of the GUI doesn't redraw unless it's resized, for instance if the main form is maximized some of the controls don't resize with it, and others have sectio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Why isn't my favicon working? Now I know there are a lot of similar questions around SO but I think I've covered all the basics. Here's what I know:
My favicon is accessible through /favicon.ico (full link)
The HTML is (page URL):
<link rel="icon" href="http://www.bandcmotors.co.uk/favicon.ico" type="image/x-icon" /... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Troubleshooting "program does not contain a static 'Main' method" when it clearly does...? My MS Visual C# program was compiling and running just fine.
I close MS Visual C# to go off and do other things in life.
I reopen it and (before doing anything else) go to "Publish" my program and get the following error messa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "59"
} |
Q: Help with mod_rewrite and Joomla On my Joomla site, I've added some fairly straight-forward RewriteRules to my .htaccess file. They're all one-to-one rules like this, since I'm changing the file structure of the site and don't want to break my old links.
RewriteRule ^content/view/54/48/$ /courses [R]
These are in a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Finding the type of Outlook.MAPIFolder I'm building an outlook control for an application, and am populating a treelist by recursively adding child folders. These folders are declared as Outlook.MAPIFolder. But the application only allows import from actual emails, so I want to exclude folders containing calendar ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386834",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Simple / reusable CRUD in PHP (NO famework or big classes) I'm working on a PHP CMS like project and I'm trying to find out what's the most convenient way of dealing with the CRUD functionality in PHP.
The CMS is programmed completely in procedural PHP (no OOP - I know that many of you will not agree with this...) a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: HTTP Headers for File Downloads I've written a PHP script that handles file downloads, determining which file is being requested and setting the proper HTTP headers to trigger the browser to actually download the file (rather than displaying it in the browser).
I now have a problem where some users have reported cer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "58"
} |
Q: How do you type lisp efficiently, with so many parentheses? I try to keep my fingers on home row as much as possible.
Typing all the parentheses makes me move away from there a fair bit.
I use Emacs; the parentheses themselves are no issue, I'm comfortable with them. And I don't like modes that type them for me aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Finding Integers With A Certain Property - Project Euler Problem 221 I've become very addicted to Project Euler recently and am trying to do this one next! I've started some analysis on it and have reduced the problem down substantially already. Here's my working:
A = pqr and
1/A = 1/p + 1/q + 1/r so pqr/A =
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Regex Replace to assist Orderby in LINQ I'm using LINQ to SQL to pull records from a database, sort them by a string field, then perform some other work on them. Unfortunately the Name field that I'm sorting by comes out of the database like this
Name
ADAPT1
ADAPT10
ADAPT11
...
ADAPT2
ADAPT3
I'd like to sort the N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Programmatically set Windows Live Messenger Display Picture How can I programmatically set Windows Live Messenger (currently using 8.5.1302.1018) display picture. Possible solutions can be in C++, .NET or VB. Even just a hint could be useful.
A: There is an open source project called MSNP-Sharp that you should look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to limit bandwidth used by mysqldump I have to dump a large database over a network pipe that doesn't have that much bandwidth and other people need to use concurrently. If I try it it soaks up all the bandwidth and latency soars and everyone else gets messed up.
I'm aware of the --compress flag to mysqldump whi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Velocity editor plugin for Eclipse? I've seen Veloedit, which seems to have good syntax highlighting but doesn't allow tab characters in the file being edited (wtf?) and also has no understanding of HTML.
With a little bit of googling I've found Veloecipse, which claims to build upon Veloedit and also add HTML suppo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "38"
} |
Q: Is there a JavaScript MVC (micro-)framework? Are there any client-side JavaScript MVC (micro-)frameworks?
I have a rather complicated HTML form, and it would benefit from the MVC pattern.
I imagine a good solution would provide the following:
*
*Model and View update the Controller when values change (Observer pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "134"
} |
Q: Is it necessary to unregister an MBean from the Platform MBean Server? I've begun playing with MBeans for exposing some information about an app. Pretty much the totality of HOWTOs / Tutorials / Blog posts / Samples online teach you how to implement an MBean and register it with an MBean Server, but never mention (o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Relative path redirects with mod_rewrite
Possible Duplicate:
Mod_Rewrite with Relative Path Redirects
I have a series of RewriteRules in .htaccess for my site which I'm in the process of restructuring.
# Requests for http://example.com/contents/section/4/48/
# get redirected to http://example.com/courses
RewriteR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How would I implement a simple site search with php and mySQL? I'm creating a site that allows users to submit quotes. How would I go about creating a (relatively simple?) search that returns the most relevant quotes?
For example, if the search term was "turkey" then I'd return quotes where the word "turkey" appear... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: best compression algorithm with the following features What is the best compression algorithm with the following features:
*
*should take less time to decompress (can take reasonably more time compress)
*should be able to compress sorted data (approx list of 3,000,000 strings/integers ...)
Please suggest along... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to evaluate environment variables into a string in Python? I have a string representing a path. Because this application is used on Windows, OSX and Linux, we've defined environment variables to properly map volumes from the different file systems. The result is:
"$C/test/testing"
What I want to do is evaluat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "76"
} |
Q: Time delay on click Can anyone send me JavaScript code on how I can construct a time delay from the time I click a button on a page to the time the function called by the button click is executed. I am a novice with JavaScript, and I have some code that performs a function when I click a button, and I just want to h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Limiting certain processes to CPU % - Linux I have the following problem: some processes, generated dynamically, have a tendency to eat 100% of CPU. I would like to limit all the process matching some criterion (e.g. process name) to a certain amount of CPU percentage.
The specific problem I'm trying to solve is har... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Getting Started with IronRuby on Rails Can somebody point me to a tutorial and/or Getting Started document to get IronRuby running Rails? I'm particularly interested in a detailed, step-by-step reference, not general guidelines.
A: Looks like there finally is one:
http://www.ironruby.net/Documentation/Rails
A: Ir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Change ReSharper's color scheme Does anyone know how to change the ReSharper color scheme in VS2008 SP1?
I've looked around and all the posts out there on the internet pointed to dead-ends.
JetBrains at one point told users to change the colors inside VS (Tools | Options | Fonts and Colors | Text Editor) but I don't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Web Service Authentication using OpenID I'm going to be developing a REST-ful Web Service for a new public website. The idea behind the web service is to have 3rd parties develop fully functional UIs for the business logic.
For security reasons, I'd like to avoid users having to give their passwords for our service ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Do I have to use Disable/EnableControls when using Locate in a TClientDataSet? Or does it handle it by default?
A: Locate doesn't disable controls by default, no. Whether or not you need to do so depends upon whether you have visual controls connected.
A: Locate does not call DisableControls / EnableControls on th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Outer Joins and Linq So I have the following code:
return from a in DBContext.Acts
join artist in DBContext.Artists on a.ArtistID equals artist.ID into art
from artist in art.DefaultIfEmpty()
select new Shared.DO.Act
{
ID = a.ID,
Name = a.Name,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Novell LDAP C# - Novell.Directory.Ldap - Has anybody made it work? I'm trying to use the library released by Novell (Novell.Directory.Ldap). Version 2.1.10.
What I've done so far:
*
*I tested the connection with an application (LdapBrowser) and it's working, so its not a communication problem.
*It's compiled in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Filter out common words for search query Are there any easy ways to implement filtering a user's input (possibly a question) by extracting the meaningful data in the query?
I basically want to filter out any noise words so I can send a 'clean' query to Google's search api.
A: Um, won't Google do this for you? Se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Load User Control dynamically and Default Namespace In Silverlight, when you want to create a control dynamically, you must add the namespaces like this (as in http://msdn.microsoft.com/en-us/library/cc189044(VS.95).aspx):
XNamespace xmlns = "http://schemas.microsoft.com/client/2007";
XElement textBlock2 = new X... | {
"language": "en",
"url": "https://stackoverflow.com/questions/386997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to know when ReSharper's test runner is building my project? I'm trying to use the MSBuild NUnit community task to force tests to run on each build, but I now see that when I use ReSharper's test runner and it builds the project I'm running the tests twice. It works but is not really desirable.
Does ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a CheckStyle rule to force if else keywords to be on the same line in an if/else ladder? Based on this question it appears that the default template for CheckStyle will allow if else ladders to separate the if and else with a line break.
Meaning I would like this code to be flagged as a violation:
if (true)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Can you create per-user project settings in Xcode? I'm collaborating on an iPhone application, with the project files (.xcodeproj directory) checked into source control. One important setting is the "Code Signing Identity", which specifies the certificates to use to sign the application in order that it can run on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Tool to determine symbol origin in C I'm looking for a tool that, given a bit of C, will tell you what symbols (types, precompiler definitions, functions, etc) are used from a given header file. I'm doing a port of a large driver from Solaris to Windows and figuring out where things are coming from is getting to be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: console output formatting Are there any conventions for formatting console output from a command line app for readability and consistency? For instance, do you indent sub-information, when do you print a blank line, if ever, how should you accent important statements.
I've found output can quickly degenerate into ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can a program have a high virtual byte count while the private bytes are relatively low on Windows 32-bit? I'm trying to get a better understanding of how Windows, 32-bit, calculates the virtual bytes for a program. I am under the impression that Virtual Bytes (VB) are the measure of how much of the user address... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I use Linq with Dataset.xsd files? How can I use Linq with Dataset.xsd files?
I've looked at Linq-to-Datasets and Linq-to-XSD but they don't really seem to work directly with the Visual Studio DataSet.xsd files.
EDIT: I actually found a great link for this: link text but I can't seem to figure out what to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I check if an e-mail has been read using POP3/SMTP? How can I check if an e-mail has been read using POP3/SMTP?
I am able to read e-mails, but I can not figure out if the e-mail has been read or not. Any suggestions are appreciated.
A: There is no completely reliable way to do this, while some servers suppo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible for a Asp.Net developer on 64-bit windows to work with a team that has 32-bit? Are there any compatibility issues that would prevent this from working? Do I need to have a 32-bit VM to use when working on projects for this team?
A: No. Should work perfectly well.
Read a little here: http://msdn.micro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Crystal reports 11: how do you debug a crystal report? When I'm creating a crystal report and when I add fields and fields to a database, the report outputs a completely blank report for the invoice I am creating. How do you debug a crystal report?
Do you setup markers or flags to output? Is there an error log so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Java Generics - difficulty enforcing strong type checking Here's my code:
public class Sequence<T> {
protected List<T> sequence = new ArrayList<T>();
public Matrix<OrderedPair<T, ?>> createCartesianProduct(Sequence<?> secondSequence) {
Matrix<OrderedPair<T, ?>> result = new Matrix<OrderedPair<T, ?>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hand Coded GUI Versus Qt Designer GUI I'm spending these holidays learning to write Qt applications. I was reading about Qt Designer just a few hours ago, which made me wonder : what do people writing real world applications in Qt use to design their GUIs? In fact, how do people design GUIs in general?
I, for one, f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "116"
} |
Q: Add Non-GAC reference to project Every time I add a reference to a web project in visual studio 2008 that is in my GAC, it adds the reference as a GAC reference and doesn't copy the file to my bin directory. But for deployment purposes, I would like to add the reference as a non-GAC reference so it adds the dll to m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the correct way to stub template methods on all view specs using rspec-rails? I have a number of view specs that need certain methods to be stubbed. Here's what I thought would work (in spec_helper.rb):
Spec::Runner.configure do |config|
config.before(:each, :type => :views) do
template.stub!(:reques... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: C Symmetric Stream Cipher Does anyone have a good implementation of a stream cipher written in pure portable C? I am not terribly concerned with the strength of the cipher at this point in time because it is only for a proof of concept, but speed would be important. I've thought about just Xor'ing with a constant ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: File format conversion library Are there any well known solutions that meet/exceed below requirements?
*
*conversion from multiple non-graphical document formats to and from HTML (e.g. doc<->HTML, pdf<->html, odt<->html, etc.)
*command line or API (Java API is preferable)
*cross-platform
*commercial or open so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do you select what properties will be displayed when databinding to a DataGridView? Binding a List collection to a datagrid. How can you limit what properties will be displayed?
DataGridViewAirport.DataSource = GlobalDisplayAirports
A: Turn off AutoGenerateColumns, and then you can explicitly create the colum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the fastest way to walk through an Excel Range object backwards? I'm using VBA in the Excel VBE, but c# or vb are fine.
The concept should hold true across the languages.
A: Not sure what you mean. You want to go through from the bottom to top, instead of top to bottom?
This should do:
Dim myrange As Range
S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I scroll a UIView of indefinite size within a UIScrollView I'm trying to draw a graph that is indefinitely large horizontally, and the same height as the screen. I've added a UIScrollView, and a subclass of a UIView within it, which implements the -drawRect: method. In the simulator, everything works fine,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Why would ASP.NET MVC use session state? Recommended by the ASP.NET team to use cache instead of session, we stopped using session from working with the WebForm model the last few years. So we normally have the session turned off in the web.config
<sessionState mode="Off" />
But, now when I'm testing out a ASP.NET... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: SQL Precedence Matching I'm trying to do precedence matching on a table within a stored procedure. The requirements are a bit tricky to explain, but hopefully this will make sense. Let's say we have a table called books, with id, author, title, date, and pages fields.
We also have a stored procedure that will match... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Which is the best import / export LaTeX tool? Working in academia publishing CS/math, you sooner or later find yourself trying to publish in a journal that will only accept .doc/.rtf. This means tedious, boring hours of translating line after line, especially equations, from LaTeX to an inferior format. Over the yea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Migrating from .NET 1.1 to .NET 3.5 What would be some compelling reasons to upgrade a web app from .NET 1.1 to .NET 3.5?
A: .net 1.1 is deprecated, not being further developed. i'm not sure about security issues. but in general, it's abandoned, and as of 2.0 microsoft ensures back-compatibility in newer versions ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How can I check to see if system is in standby mode? I'd like to check if the system is in standby mode, is there any Win32 API for that? I'm not sure if it's the same as the sleep mode.
There's some code that gets executed in my app, which causes it to hang when coming out of standby (it's executed during the stand... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C++ - gsoap : Parameter passing memory management issues I am writing a web server and client test stub for it. I have questions regarding memory management of the parameters.
From my client I am calling a soap function ns1_func1(input * pInput, output* pOutput)
Now both input and output class contain pointers to ot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why does malloc overwrite RSP and RSP+8? You can read about the 64-bit calling convention here. x64 functions are supposed to clean up after themselves however, when I call malloc from .asm, it overwrites the value at RSP and RSP+8. This seems very wrong. Any suggestions?
public TestMalloc
extern malloc : near
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: A UITableView list of editable text fields I know it might not be according to Apple's human interface guidelines for the iPhone, but I want to get rid of one level of pushing views and have a list of editable text fields. Further, I want the keyboard to be on screen from start when the view appears.
The problem is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Problems with "Aggregate downstream test results" in Hudson My Hudson projects don't seem to properly aggregate downstream test results and I'm wondering if I've missed a configuration step somewhere. I have two projects, Foo and Foo-Tests, both of which are freestyle jobs.
On project Foo I have the following config... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: How do I make my ASP.NET server control take an embedded code block as a property value? I have a custom server control with a property of Title. When using the control, I'd like to set the value of the title in the aspx page like so:
<cc1:customControl runat="server" Title='<%= PagePropertyValue%>' >
more content
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Web displays: Paging vs. long tables It seems that the trend in web design is to provide paged output, where long tables are displayed a page at a time. My customers don't like that, and have requested that the web sites I design for them show all entries in long tables. The arguments for paging seem to be mostly ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is true HTML debugging possible? I've been a web developer for quite some time and what has helped me in learning is to visually see what is going on.
That's the reason for Tools like Aardvark, Web developer, Firebug and many others.
But when i saw the Gecko Reflow Videos they just blew my mind.
Then my question is,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Escape double quotes in SQL 2005/2008 I have an international company that has recently been added, which is named "BLA "BLAHBLAH" Ltd. (The double quotes are part of the name. )
Whenever a user tries to search for this company, by entering "Blah, or something to that affect, the search fails with a syntax error in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: New project sql server 2005 or 2008 I'll be starting a new project (asp.net) and I'll be using sql server express. Is there a reason NOT to use sql server 2008?
P.S: I was considering Postgres 8.3 until I did some benchmarking and found out that sql server 2005 express is much faster for my needs (better integration... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: setting new default properties for to_xml serializer in Rails In Rails, I'm coding a series of controllers to generate XML. Each time I'm passing a number of properties in to to_xml like:
to_xml(:skip_types => true, :dasherize => false)
Is there a way I can set these as new default properties that will apply whenev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Outlook Express is not recognizing *some* HTML emails I'm using HTML emails for a client's newsletter. Not using HTML mails is not an option. I've used PHPMailer for mailing, but I've also tried using PHP's mail() function directly. In both instances, I get the same problem described below. I've tried sending as mul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Setting focus on postback initiated by javascript I am working with ASP.NET doing some client side javascript.
I have the following javascript to handle an XMLHTTPRequest callback. In certain situations, the page will be posted back, using the __doPostBack() function provided by ASP.NET, listed in the code below. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot compile FSM sample code There is a nice state machine tutorial called UML Tutorial: Finite State Machines by Robert C. Martin. But I can't compile the sample code it provides. I got *FsmTest.cpp(46) : error C2664: 'SetState' : cannot convert parameter 1 from 'class UnlockedState *' to 'class TurnstileState '
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I need help setting .NET HttpWebRequest timeout My objective is to get the answer from up to 6000 Urls in the shortest time. It was working very well (12 seconds for 5200 LAN Addresses) until some delay started to happen.
My code uses up to 20 simultaneous HttpWebRequest.BeginGetResponse with ThreadPool.RegisterWait... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the difference between Java and C++? What is the difference between Java and C++? Are both object-oriented?
A: Each language designed with different purposes in mind, so IMO it's not fair to compare the two from one perspective, and ignore the other.
Generally speaking, C++ is an open standard, designed for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/387256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.