qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
182,044 | <p>Can anyone give me an example of what the Artifact paths setting defined for a build configuration could look like if I want to create two artifacts dist and source where I am using the sln 2008 build runner and building my projects using the default bin/Release?</p>
<pre>
**/Source/Code/MyProject/bin/Release/*.* =... | [
{
"answer_id": 190573,
"author": "Scott Cowan",
"author_id": 253,
"author_profile": "https://Stackoverflow.com/users/253",
"pm_score": 5,
"selected": false,
"text": "Source\\Code\\MyProject\\bin\\Release\\* => dist\nSource\\**\\* => source\n Source\\Code\\MyProject\\bin\\Release\\**\\* =... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182044",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15771/"
] |
182,053 | <p>How do I setup a Python environment on windows computer so I can start writing and running Python scripts, is there an install bundle? Also which database should i use?</p>
<hr>
<p>I should of mentioned that I am using this for web based applications. Does it require apache? or does it use another http server? Wh... | [
{
"answer_id": 182195,
"author": "Eli Bendersky",
"author_id": 8206,
"author_profile": "https://Stackoverflow.com/users/8206",
"pm_score": 2,
"selected": false,
"text": "import CGIHTTPServer\nimport BaseHTTPServer\n\nclass Handler(CGIHTTPServer.CGIHTTPRequestHandler):\n cgi_directorie... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182053",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
182,060 | <p>I have webservice which is passed an array of ints.
I'd like to do the select statement as follows but keep getting errors. Do I need to change the array to a string?</p>
<pre><code>[WebMethod]
public MiniEvent[] getAdminEvents(int buildingID, DateTime startDate)
{
command.CommandText = @"SELECT id,
... | [
{
"answer_id": 182092,
"author": "Mark Brackett",
"author_id": 2199,
"author_profile": "https://Stackoverflow.com/users/2199",
"pm_score": 5,
"selected": false,
"text": "WHERE buildingID IN (@buildingID1, @buildingID2, @buildingID3...)\n WHERE buildingID IN (@buildingID)\n\ncommand.Comma... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182060",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17510/"
] |
182,066 | <p>If I have two tables... Category and Pet. </p>
<p>Is there a way in LINQ to SQL to make the result of the joined query map to a another strongly typed class (such as: PetWithCategoryName) so that I can strongly pass it to a MVC View?</p>
<p>I currently have Category and Pet classes... should I make another one?</p... | [
{
"answer_id": 182359,
"author": "Giovanni Galbo",
"author_id": 4050,
"author_profile": "https://Stackoverflow.com/users/4050",
"pm_score": 3,
"selected": true,
"text": "var loadOption = new DataLoadOptions(); \nloadOption.LoadWith<Pets>(p => p.Category);\ndb.LoadOptions = load... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182066",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4481/"
] |
182,070 | <p>The situation is like this : Main project A. and a class library B. <strong>A references B</strong></p>
<p>Project B has the classes that will be serialized. The classes are used in A. Now, the problem appears when from Project A I try to serialize the objects from B. An exception is thrown that says a class from A... | [
{
"answer_id": 182107,
"author": "Tsvetomir Tsonev",
"author_id": 25449,
"author_profile": "https://Stackoverflow.com/users/25449",
"pm_score": 2,
"selected": false,
"text": "using System;\nusing System.Runtime.Serialization;\nusing System.Security.Permissions;\n\n[Serializable]\npublic ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182070",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5246/"
] |
182,077 | <p>Simplified, I have an application where data is intended to flow over the internet between two servers. Ideally, I'd like to test at what point the software ceases to function. At what lowerbound limit (bandwidth, latency, dropped packets) do things stop working to test the reliability of the software.</p>
<p>What ... | [
{
"answer_id": 4140375,
"author": "MarcH",
"author_id": 317623,
"author_profile": "https://Stackoverflow.com/users/317623",
"pm_score": 2,
"selected": false,
"text": "tc qdisc add dev eth0 root netem delay 50ms\n"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/182077",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9539/"
] |
182,082 | <p>I cureently have a set up like below </p>
<pre><code>Public ClassA
property _classB as ClassB
End Class
Public ClassB
property _someProperty as someProperty
End Class
</code></pre>
<p>what I want to do is to databind object A to a gridview with one of the columns being databound to ClassB._someProperty. W... | [
{
"answer_id": 182113,
"author": "Neil Hewitt",
"author_id": 22178,
"author_profile": "https://Stackoverflow.com/users/22178",
"pm_score": 2,
"selected": false,
"text": "IList<ClassA> listOfClassAObjects = GetMyListOfClassAObjectsFromSomewhere();\nvar projection = from ClassA a in listOf... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182082",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11802/"
] |
182,086 | <p>given a matrix of distances between points is there an algorithm for determining a set of n-dimensional points that has these distances? (or at least minimises the error) </p>
<p>sort of like a n-dimensional version of the turnpike problem.</p>
<p>The best I can come up with is using multidimensional scaling.</p>
| [
{
"answer_id": 500226,
"author": "jheriko",
"author_id": 17604,
"author_profile": "https://Stackoverflow.com/users/17604",
"pm_score": 2,
"selected": false,
"text": "#include <conio.h>\n#include <math.h>\n#include <stdio.h>\n#include <stdlib.h>\n\n#define DAMPING_FACTOR 0.99f\n\nclass po... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182086",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26094/"
] |
182,088 | <p>I am writing a Time Sheeting web application that involves users entering their tasks for the week. I would like not to have the page refresh so I am exploring ways to add/delete/edit tasks using JavaScript on the client browser. </p>
<p>Currently I am using ASP.NET-MVC, Ajax, JQuery and LiveValidation and I am mak... | [
{
"answer_id": 182549,
"author": "Ben Crouse",
"author_id": 6705,
"author_profile": "https://Stackoverflow.com/users/6705",
"pm_score": 2,
"selected": true,
"text": "EditorGridPanel"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/182088",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18349/"
] |
182,130 | <p>I want to record user states and then be able to report historically based on the record of changes we've kept. I'm trying to do this in SQL (using PostgreSQL) and I have a proposed structure for recording user changes like the following.</p>
<pre><code>CREATE TABLE users (
userid SERIAL NOT NULL PRIMARY KEY,
... | [
{
"answer_id": 182255,
"author": "Tony Andrews",
"author_id": 18747,
"author_profile": "https://Stackoverflow.com/users/18747",
"pm_score": 3,
"selected": true,
"text": "select l1.userid\nfrom status_log l1\nwhere l1.status='s'\nand l1.logcreated = (select max(l2.logcreated)\n ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182130",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1087/"
] |
182,133 | <p>I've never been so good at design because there are so many different possibilities and they all have pros and cons and I'm never sure which to go with. Anyway, here's my problem, I have a need for many different loosly related classes to have validation. However, some of these classes will need extra information to... | [
{
"answer_id": 182156,
"author": "Jean",
"author_id": 7898,
"author_profile": "https://Stackoverflow.com/users/7898",
"pm_score": 2,
"selected": false,
"text": "interface Validatable {\n void validate(Validator v);\n}\n\nclass Object1 implements Validatable{\n void validate(Validator v... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182133",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6414/"
] |
182,160 | <p>I'm new to Spring Security. How do I add an event listener which will be called as a user logs in successfully? Also I need to get some kind of unique session ID in this listener which should be available further on. I need this ID to synchronize with another server.</p>
| [
{
"answer_id": 182203,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 7,
"selected": true,
"text": "public void onApplicationEvent(ApplicationEvent appEvent)\n{\n if (appEvent instanceof AuthenticationSuccessEvent)\n {\n ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182160",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/578/"
] |
182,177 | <p>Which Template-Engine and Ajax-Framework/-Toolkit is able to load template information from JAR-Files?</p>
| [
{
"answer_id": 182203,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 7,
"selected": true,
"text": "public void onApplicationEvent(ApplicationEvent appEvent)\n{\n if (appEvent instanceof AuthenticationSuccessEvent)\n {\n ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182177",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
182,181 | <p>I'm trying to call the SQL statement below but get the following error:</p>
<blockquote>
<p>System.Data.SqlClient.SqlException: Conversion failed when converting
the varchar value '+@buildingIDs+' to data type int.</p>
</blockquote>
<pre><code>@"SELECT id, startDateTime, endDateTime
FROM tb_bookings
W... | [
{
"answer_id": 182219,
"author": "Bravax",
"author_id": 13911,
"author_profile": "https://Stackoverflow.com/users/13911",
"pm_score": -1,
"selected": false,
"text": "\nbuildingsIDs = \"1, 5, 6\";\n@\"SELECT id, startDateTime, endDateTime From tb_bookings WHERE buildingID IN (\" + buildin... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182181",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17510/"
] |
182,192 | <p>ModRewrite can easily handle stripping the www off the front of my domain.<br>
In .htaccess:</p>
<pre><code>RewriteEngine On
RewriteCond %{HTTPS} on
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
RewriteCond %{HTTPS} off
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.... | [
{
"answer_id": 182205,
"author": "John Millikin",
"author_id": 3560,
"author_profile": "https://Stackoverflow.com/users/3560",
"pm_score": 2,
"selected": false,
"text": "mydomain.com www.mydomain.com"
},
{
"answer_id": 193601,
"author": "Jolyon",
"author_id": 11740,
"... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182192",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11740/"
] |
182,197 | <p>I have a log file being written by another process which I want to watch for changes. Each time a change occurs I'd like to read the new data in to do some processing on it.</p>
<p>What's the best way to do this? I was hoping there'd be some sort of hook from the PyWin32 library. I've found the <code>win32file.Find... | [
{
"answer_id": 182235,
"author": "kender",
"author_id": 4172,
"author_profile": "https://Stackoverflow.com/users/4172",
"pm_score": -1,
"selected": false,
"text": " try:\n f = open(filePath)\n except IOError:\n print \"No such file: %s\" % filePath\n ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182197",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15369/"
] |
182,229 | <p>I'd like to run a script to populate my database. I'd like to access it through the Django database API.</p>
<p>The only problem is that I don't know what I would need to import to gain access to this.</p>
<p>How can this be achieved?</p>
| [
{
"answer_id": 182345,
"author": "kender",
"author_id": 4172,
"author_profile": "https://Stackoverflow.com/users/4172",
"pm_score": 5,
"selected": true,
"text": "import os\nos.environ[\"DJANGO_SETTINGS_MODULE\"] = \"mysite.settings\"\n\nfrom mysite.polls.models import Poll, Choice\n"
}... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182229",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15616/"
] |
182,243 | <p>I am trying to recreate a Perl script in C# but have a problem creating a checksum value that a target system needs.</p>
<p>In Perl this checksum is calculated using the <code>unpack</code> function:</p>
<pre><code>while (<PACKAGE>) {
$checksum += unpack("%32C*", $_);
}
$checksum %= 32767;
close(PACKAGE)... | [
{
"answer_id": 182266,
"author": "C. K. Young",
"author_id": 13,
"author_profile": "https://Stackoverflow.com/users/13",
"pm_score": 2,
"selected": false,
"text": "int sum = 0;\nfor (byte b : buffer) {\n sum += (int) b & 255;\n}\nreturn sum % 32767;\n"
},
{
"answer_id": 185057... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182243",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
182,253 | <p>I love Python because it comes batteries included, and I use built-in functions, a lot, to do the dirty job for me.</p>
<p>I have always been using happily the os.path module to deal with file path but recently I ended up with unexpected results on Python 2.5 under Ubuntu linux, while dealing with string that repre... | [
{
"answer_id": 182282,
"author": "kender",
"author_id": 4172,
"author_profile": "https://Stackoverflow.com/users/4172",
"pm_score": 2,
"selected": false,
"text": "os.path import re\n(drive, tail) = re.compile('([a-zA-Z]\\:){0,1}(.*)').match(filepath).groups() \n drive : c: u: None tail"
... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182253",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9951/"
] |
182,262 | <p>Using Oracle, if a column value can be 'YES' or 'NO' is it possible to constrain a table so that only one row can have a 'YES' value?</p>
<p>I would rather redesign the table structure but this is not possible.</p>
<p>[UDPATE] Sadly, null values are not allowed in this table.</p>
| [
{
"answer_id": 182427,
"author": "Tony Andrews",
"author_id": 18747,
"author_profile": "https://Stackoverflow.com/users/18747",
"pm_score": 5,
"selected": true,
"text": "create unique index only_one_yes on mytable\n(case when col='YES' then 'YES' end);\n"
},
{
"answer_id": 182490... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182262",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26108/"
] |
182,273 | <p>How can I modify a SharePoint site so that versioning is turned on by default in Document Libraries?</p>
| [
{
"answer_id": 185433,
"author": "Bryan Friedman",
"author_id": 16985,
"author_profile": "https://Stackoverflow.com/users/16985",
"pm_score": 3,
"selected": false,
"text": "public class SetVersioning : SPItemEventReceiver\n{\n public override void ItemAdding(SPItemEventProperties prop... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182273",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23427/"
] |
182,278 | <p>I would like to be able to write a Java class in one package which can access non-public methods of a class in another package without having to make it a subclass of the other class. Is this possible?</p>
| [
{
"answer_id": 316838,
"author": "Matthew Murdoch",
"author_id": 4023,
"author_profile": "https://Stackoverflow.com/users/4023",
"pm_score": 7,
"selected": true,
"text": "package api;\n\npublic final class Exposed {\n static {\n // Declare classes in the implementation package ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182278",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4023/"
] |
182,281 | <p>I have a template in word (.docx) format and want to replace some placeholders in this template with my own data, do you know where I can find the right classes for this project? It would be nice for me to know the namespace. Are there any newer classes for handling word documents in the docx format (xml) than the c... | [
{
"answer_id": 190411,
"author": "Sebastian Müller",
"author_id": 23681,
"author_profile": "https://Stackoverflow.com/users/23681",
"pm_score": 0,
"selected": false,
"text": " NameTable nt = new NameTable();\n XmlNamespaceManager nsManager = new XmlNamespaceManager(nt);\n n... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182281",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23681/"
] |
182,287 | <p>Why can't I pass the table name to a prepared PDO statement?</p>
<pre><code>$stmt = $dbh->prepare('SELECT * FROM :table WHERE 1');
if ($stmt->execute(array(':table' => 'users'))) {
var_dump($stmt->fetchAll());
}
</code></pre>
<p>Is there another safe way to insert a table name into a SQL query? Wit... | [
{
"answer_id": 182312,
"author": "Adam Bellaire",
"author_id": 21632,
"author_profile": "https://Stackoverflow.com/users/21632",
"pm_score": 3,
"selected": false,
"text": "$table $table"
},
{
"answer_id": 182353,
"author": "Noah Goodrich",
"author_id": 20178,
"author_... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182287",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6681/"
] |
182,306 | <p>My application runs under CF 2.0 locally and i would like to know how to connect and send something to print in the embedded printer of a http://www.milliontech.com/home/content/view/195/95/'>Bluebird BIP-1300 device.</p>
<p>Ideally i would like an example in C#.</p>
<p>Thank you in advance.</p>
| [
{
"answer_id": 4518794,
"author": "Musa",
"author_id": 552371,
"author_profile": "https://Stackoverflow.com/users/552371",
"pm_score": 2,
"selected": false,
"text": "using Bluebird.BIP.Printer;\n...\nthis.prn1 = new Bluebird.BIP.Printer.Printer();\nif (!this.prn1.Open(0))\n {\... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182306",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17443/"
] |
182,316 | <p>I've often heard criticism of the lack of thread safety in the Swing libraries. Yet, I am not sure as to what I would be doing in my own code with could cause issues:</p>
<p>In what situations does the fact Swing is not thread safe come into play ?</p>
<p>What should I actively avoid doing ?</p>
| [
{
"answer_id": 182652,
"author": "Tom Hawtin - tackline",
"author_id": 4725,
"author_profile": "https://Stackoverflow.com/users/4725",
"pm_score": 3,
"selected": false,
"text": "class MyApp {\n public static void main(String[] args) {\n java.awt.EventQueue.invokeLater(new Runna... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182316",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4857/"
] |
182,323 | <p>I'm trying to serialize objects from a database that have been retrieved with Hibernate, and I'm only interested in the objects' actual data in its entirety (cycles included).</p>
<p>Now I've been working with <a href="http://xstream.codehaus.org/" rel="nofollow noreferrer">XStream</a>, which seems powerful. The pr... | [
{
"answer_id": 182955,
"author": "Miguel Ping",
"author_id": 22992,
"author_profile": "https://Stackoverflow.com/users/22992",
"pm_score": 1,
"selected": false,
"text": "MapperIF mapper = DozerBeanMapperSingletonWrapper.getInstance();\nPersonEJB serializablePerson = mapper.map(myPersonIn... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182323",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2238/"
] |
182,334 | <p>I work at a company that, for some reason, insists that all our development documentation should be in MS Word format. Which, being a binary format, means we cannot:</p>
<ul>
<li>Diff versions of a document against each other (so peer reviewing them is a pain - because of the domain we work in, peer reviews for al... | [
{
"answer_id": 182352,
"author": "C. K. Young",
"author_id": 13,
"author_profile": "https://Stackoverflow.com/users/13",
"pm_score": 2,
"selected": false,
"text": ".docx"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/182334",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11347/"
] |
182,365 | <p>Is there a way to figure out versions of modules that were loaded into the process' address space when the process crashed from a crash dump that was generated by the process calling the MiniDumpWriteDump function? In other words, is any version information stored inside a dmp file?</p>
<p>Thanks.</p>
| [
{
"answer_id": 55760110,
"author": "Bootuz",
"author_id": 5865129,
"author_profile": "https://Stackoverflow.com/users/5865129",
"pm_score": 0,
"selected": false,
"text": "lm v <name_of_module> // shows information about specified module\n lm v"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/182365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26114/"
] |
182,372 | <p>What is the easiest way to check if events have been logged in the eventlog during a period of time?</p>
<p>I want to perform a series of automated test steps and then check if any errors were logged to the Application Event Log, ignoring a few sources that I'm not interested in. I can use System.Diagnostics.EventL... | [
{
"answer_id": 182716,
"author": "Rory",
"author_id": 8479,
"author_profile": "https://Stackoverflow.com/users/8479",
"pm_score": 0,
"selected": false,
"text": "/// <summary>\n/// Steps through each of the entries in the specified event log and returns any that were written \n/// after t... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182372",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8479/"
] |
182,373 | <p>I am currently creating a custom control that needs to handle animation in a C# project. It is basically a listbox that contains a fixed number of elements that are subject to move. An element (another user control with a background image and a couple of generated labels) can move upwards, downwards or be taken out ... | [
{
"answer_id": 182474,
"author": "Mark Heath",
"author_id": 7532,
"author_profile": "https://Stackoverflow.com/users/7532",
"pm_score": 3,
"selected": true,
"text": "this.SetStyle(ControlStyles.UserPaint | ControlStyles.OptimizedDoubleBuffer | \n ControlStyles.AllPaintingInWmPaint | C... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182373",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25152/"
] |
182,379 | <p>I've got a column in a database table (SQL Server 2005) that contains data like this:</p>
<pre><code>TQ7394
SZ910284
T r1534
su8472
</code></pre>
<p>I would like to update this column so that the first two characters are uppercase. I would also like to remove any spaces between the first two characters. So <code>T... | [
{
"answer_id": 182438,
"author": "Learning",
"author_id": 18275,
"author_profile": "https://Stackoverflow.com/users/18275",
"pm_score": 0,
"selected": false,
"text": "update Table set Column = case when len(rtrim(substring (Column , 1 , 2))) < 2 \n then UPPER(substring (Column... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182379",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1944/"
] |
182,393 | <p>In a few large projects i have been working on lately it seems to become increasingly important to choose one or the other (XML or Annotation). As projects grow, consistency is very important for maintainability. </p>
<p>My questions are: what are the advantages of XML-based configuration over Annotation-based conf... | [
{
"answer_id": 182686,
"author": "Huibert Gill",
"author_id": 1254442,
"author_profile": "https://Stackoverflow.com/users/1254442",
"pm_score": 4,
"selected": false,
"text": "@Autowire @Element @Webservice"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/182393",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24390/"
] |
182,408 | <p>Is there a manual for cross-compiling a C++ application from Linux to Windows?</p>
<p>Just that. I would like some information (links, reference, examples...) to guide me to do that.</p>
<p>I don't even know if it's possible. </p>
<p>My objective is to compile a program in Linux and get a .exe file that I can run... | [
{
"answer_id": 182456,
"author": "richq",
"author_id": 4596,
"author_profile": "https://Stackoverflow.com/users/4596",
"pm_score": 7,
"selected": true,
"text": "sudo apt-get install mingw32 \ncat > main.c <<EOF\nint main()\n{\n printf(\"Hello, World!\");\n}\nEOF\ni586-mingw32msvc-cc ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182408",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/366094/"
] |
182,410 | <p>I have a JavaScript array that, among others, contains a URL. If I try to simply put the URL in the page (the array is in a project involving the Yahoo! Maps API) it shows the URL as it should be.</p>
<p>But if I try to do a redirect or simply do an 'alert' on the link array element I get: </p>
<blockquote>
<p>f... | [
{
"answer_id": 183346,
"author": "Joel Anair",
"author_id": 7441,
"author_profile": "https://Stackoverflow.com/users/7441",
"pm_score": 3,
"selected": false,
"text": "function(){return JSON.encode(this);}\n"
},
{
"answer_id": 183362,
"author": "Kon",
"author_id": 22303,
... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182410",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20603/"
] |
182,436 | <p>Are there any tools available for validating a database schema against a set of design rules, naming conventions, etc.</p>
<p>I'm not talking about comparing one database to another (as covered by <a href="https://stackoverflow.com/questions/165401/how-to-comparevalidate-sql-schema">this question</a>).</p>
<p>I wa... | [
{
"answer_id": 183346,
"author": "Joel Anair",
"author_id": 7441,
"author_profile": "https://Stackoverflow.com/users/7441",
"pm_score": 3,
"selected": false,
"text": "function(){return JSON.encode(this);}\n"
},
{
"answer_id": 183362,
"author": "Kon",
"author_id": 22303,
... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182436",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1755/"
] |
182,440 | <p>This question is a follow-up from <a href="https://stackoverflow.com/questions/161822/how-to-indicate-that-a-method-was-unsuccessful">How to indicate that a method was unsuccessful</a>. The xxx() Tryxxx() pattern is something that can be very useful in many libraries. I am wondering what is the best way to offer bot... | [
{
"answer_id": 182483,
"author": "David Basarab",
"author_id": 2469,
"author_profile": "https://Stackoverflow.com/users/2469",
"pm_score": 2,
"selected": false,
"text": "public bool TrySomething(string a, out result, bool throwException)\n{\n try\n {\n // Whatever\n }\n catch\n {... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182440",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5789/"
] |
182,446 | <p>Internet Explorer (from versions 4 to 7, at least) limits the number of files uploaded using a single 'input type="file"' form field to one. What is the best approach to take if I want to upload more than one file in a single HTTP POST request?</p>
| [
{
"answer_id": 182457,
"author": "Adam Bellaire",
"author_id": 21632,
"author_profile": "https://Stackoverflow.com/users/21632",
"pm_score": 4,
"selected": true,
"text": "input"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/182446",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4023/"
] |
182,452 | <p>I use <a href="http://xfire.codehaus.org/" rel="nofollow noreferrer">XFire</a> to create a webservice wrapper around my application. XFire provides the webservice interface and WSDL at runtime (or creates them at compile time, don't know exactly).</p>
<p>Many of our customers don't know webservices very well and ad... | [
{
"answer_id": 189577,
"author": "Chris Vest",
"author_id": 13251,
"author_profile": "https://Stackoverflow.com/users/13251",
"pm_score": 3,
"selected": true,
"text": "java2wsdl"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/182452",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17473/"
] |
182,455 | <p>How do I remove a trailing comma from a string in ColdFusion?</p>
| [
{
"answer_id": 182464,
"author": "ConroyP",
"author_id": 2287,
"author_profile": "https://Stackoverflow.com/users/2287",
"pm_score": 3,
"selected": false,
"text": "<cfset myStr = \"hello, goodbye,\">\n<cfset myStr = trim(myStr)>\n\n<cfif right(myStr, 1) is \",\">\n <cfset myStr = left... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182455",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26121/"
] |
182,475 | <p>AFAIK, Currency type in Delphi Win32 depends on the processor floating point precision. Because of this I'm having rounding problems when comparing two Currency values, returning different results depending on the machine.</p>
<p>For now I'm using the SameValue function passing a Epsilon parameter = 0.009, because ... | [
{
"answer_id": 182509,
"author": "Matt Lacey",
"author_id": 1755,
"author_profile": "https://Stackoverflow.com/users/1755",
"pm_score": -1,
"selected": false,
"text": "\"Been there. Done That. Written the unit tests.\""
},
{
"answer_id": 182822,
"author": "Barry Kelly",
"... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182475",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2089/"
] |
182,492 | <p>I would like TortoiseSVN (1.5.3) to ignore certain folders, their contents and certain other files wherever they might appear in my directory hierarchy but I cannot get the global ignore string right.</p>
<p>Whatever I do, it either adds to much or ignores too much</p>
<p>What is the correct 'Global ignore pattern... | [
{
"answer_id": 182508,
"author": "PersistenceOfVision",
"author_id": 6721,
"author_profile": "https://Stackoverflow.com/users/6721",
"pm_score": 7,
"selected": true,
"text": "bin obj CVS .cvsignore *.user *.suo Debug Release *.pdb test.* Thumbs.db\n bin obj release compile *.bak *.user *... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182492",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11356/"
] |
182,497 | <p>Please give me the direction of the best guidance on the Entity Framework.</p>
| [
{
"answer_id": 182508,
"author": "PersistenceOfVision",
"author_id": 6721,
"author_profile": "https://Stackoverflow.com/users/6721",
"pm_score": 7,
"selected": true,
"text": "bin obj CVS .cvsignore *.user *.suo Debug Release *.pdb test.* Thumbs.db\n bin obj release compile *.bak *.user *... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182497",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11135/"
] |
182,510 | <p>I have to produce an RSS/Atom feed in various applications, and I want to know a good library or class which is able to produce both, and which already handles all common problems.</p>
<p>For example, the one I used for years does not put the right format for date, so my feed is not well-handled by several aggregat... | [
{
"answer_id": 3802163,
"author": "Alex Sosic",
"author_id": 459263,
"author_profile": "https://Stackoverflow.com/users/459263",
"pm_score": 2,
"selected": false,
"text": "$nodeText .= (in_array($tagName, $this->CDATAEncoding))? $tagContent : htmlentities($tagContent, ENT_COMPAT, 'UTF-8'... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182510",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8404/"
] |
182,519 | <p>Ok I give up, I've been trying to write a regexp in ant to replace the version number from something that I have in a properties file. I have the following:</p>
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<feature
id="some.feature.id"
label="Some test feature"
versi... | [
{
"answer_id": 182537,
"author": "Paul Dixon",
"author_id": 6521,
"author_profile": "https://Stackoverflow.com/users/6521",
"pm_score": 0,
"selected": false,
"text": "s/<feature(.*?)version=\".*?\"/<feature$1version=\"1.2.3.4\"/s\n"
},
{
"answer_id": 182570,
"author": "Tomas ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182519",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2309/"
] |
182,528 | <p>Leaving aside the question of whether you should serve single or multiple stylesheets, assuming you're sending just one, what do you think of this as a basic structure?</p>
<p>/* Structure */</p>
<p>Any template layout stuff should be put into here, so header, footer, body etc.</p>
<p>/* Structure End */</p>
<p>... | [
{
"answer_id": 183327,
"author": "Matt",
"author_id": 17020,
"author_profile": "https://Stackoverflow.com/users/17020",
"pm_score": 4,
"selected": true,
"text": ".float-right { float: right; }\n.float-left { float: left; }\n.float-center { margin-left: auto; margin-right: auto; }\n.clear... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182528",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2977/"
] |
182,529 | <p>I have have some code which adds new cells to a table and fills them with text boxes. </p>
<p>The way I've coded it so far works fine:</p>
<pre><code> TableCell tCell1 = new TableCell();
TableCell tCell2 = new TableCell();
TableCell tCell3 = new TableCell();
TableCell tCell4 = new Ta... | [
{
"answer_id": 182551,
"author": "Lars Mæhlum",
"author_id": 960,
"author_profile": "https://Stackoverflow.com/users/960",
"pm_score": 0,
"selected": false,
"text": "for (int i = 0; i < 6; i++)\n{\n TableCell tCell = new TableCell();\n TextBox txt = new TextBox();\n tCell.Contro... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182529",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26126/"
] |
182,542 | <p>What do you use to validate an email address on a ASP.NET form. I want to make sure that it contains no XSS exploits.</p>
<p>This is ASP.NET 1.1</p>
| [
{
"answer_id": 182580,
"author": "Martin Brown",
"author_id": 20553,
"author_profile": "https://Stackoverflow.com/users/20553",
"pm_score": 3,
"selected": false,
"text": "\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*\n"
},
{
"answer_id": 182582,
"author": "WebDude",
... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182542",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3208/"
] |
182,544 | <p>SQL to find duplicate entries (within a group)</p>
<p>I have a small problem and I'm not sure what would be the best way to fix it, as I only have limited access to the database (Oracle) itself.
In our Table "EVENT" we have about 160k entries, each EVENT has a GROUPID and a normal entry has exactly 5 rows with the ... | [
{
"answer_id": 182669,
"author": "Tony Andrews",
"author_id": 18747,
"author_profile": "https://Stackoverflow.com/users/18747",
"pm_score": 2,
"selected": false,
"text": "SQL> create table my_objects as \n 2 select object_name, ceil(rownum/5) groupid, rpad('x',500,'x') filler\n 3 fro... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182544",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3134/"
] |
182,553 | <p>Is there a way to automatically apply a theme/template/style to all controls of the targettype, so I don't have to specify Template=..., Style=... on all controls?</p>
| [
{
"answer_id": 9305281,
"author": "Prathibha",
"author_id": 672094,
"author_profile": "https://Stackoverflow.com/users/672094",
"pm_score": 1,
"selected": false,
"text": "//App.xaml\n\n<Application x:Uid=\"Application_1\" x:Class=\"SampleApp.Home.App\"\n xmlns=\"http://schema... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182553",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26049/"
] |
182,569 | <p>Sybase db tables do not have a concept of self updating row numbers. However , for one of the modules , I require the presence of rownumber corresponding to each row in the database such that max(Column) would always tell me the number of rows in the table.</p>
<p>I thought I'll introduce an int column and keep upd... | [
{
"answer_id": 182744,
"author": "AdamH",
"author_id": 21081,
"author_profile": "https://Stackoverflow.com/users/21081",
"pm_score": 2,
"selected": false,
"text": "select * from table where column = (select max(column) from table).\n"
},
{
"answer_id": 183510,
"author": "Comm... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182569",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18275/"
] |
182,571 | <p>We are developing a considerably big application using Ruby on Rails framework (CRM system) and are considering to rewrite it to use ExtJS so that Rails would just do the data handling, while ExtJS would do all the browser heavylifting in a desktop-like manner. </p>
<p>Anyone has some experience and hints about wha... | [
{
"answer_id": 182593,
"author": "Ben Crouse",
"author_id": 6705,
"author_profile": "https://Stackoverflow.com/users/6705",
"pm_score": 1,
"selected": false,
"text": "to_json scaffold ActiveRecord ActionView"
},
{
"answer_id": 195484,
"author": "Dave Nolan",
"author_id": ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182571",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26123/"
] |
182,573 | <p>PowerShell v1.0 is obviously a console based administrative shell. It doesn't really require a GUI interface. If one is required, like the Exchange 2007 management GUI, it is built on top of PowerShell. You can create your own GUI using Windows Forms in a PowerShell script. My question is, "What sort of PowerShell s... | [
{
"answer_id": 185822,
"author": "monkut",
"author_id": 24718,
"author_profile": "https://Stackoverflow.com/users/24718",
"pm_score": 1,
"selected": false,
"text": "PS D:\\> $dir = & \"C:\\python25\\python.exe\" \"C:\\python25\\selectdir.pyw\"; cd $dir;\n# Directory selection dialog open... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182573",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25508/"
] |
182,587 | <p>Is there a best practice when it comes to setting client side "onclick" events when using ASP.Net controls? Simply adding the onclick attribute results in a Visual Studio warning that onclick is not a valid attribute of that control. Adding it during the Page_Load event through codebehind works, but is less clear ... | [
{
"answer_id": 182642,
"author": "Mark Cidade",
"author_id": 1659,
"author_profile": "https://Stackoverflow.com/users/1659",
"pm_score": 1,
"selected": false,
"text": "WebControl.Attributes[\"onclick\"] click"
},
{
"answer_id": 182649,
"author": "Community",
"author_id": ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182587",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/111/"
] |
182,592 | <p>I have a webapp that segfaults when the database in restarted and it tries to use the old connections. Running it under <code>gdb --args apache -X</code> leads to the following output:</p>
<pre><code>Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1212868928 (LWP 16098)]
0xb7471c20 in mys... | [
{
"answer_id": 186228,
"author": "Ovid",
"author_id": 8003,
"author_profile": "https://Stackoverflow.com/users/8003",
"pm_score": 2,
"selected": false,
"text": "gbd /usr/bin/httpd core\n"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/182592",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5349/"
] |
182,600 | <p>If you had to iterate through a loop 7 times, would you use:</p>
<pre><code>for (int i = 0; i < 7; i++)
</code></pre>
<p>or:</p>
<pre><code>for (int i = 0; i <= 6; i++)
</code></pre>
<p>There are two considerations:</p>
<ul>
<li>performance</li>
<li>readability </li>
</ul>
<p>For performance I'm assuming... | [
{
"answer_id": 182613,
"author": "JesperE",
"author_id": 13051,
"author_profile": "https://Stackoverflow.com/users/13051",
"pm_score": 2,
"selected": false,
"text": "for (int i: myArray) {\n ...\n}\n"
},
{
"answer_id": 182616,
"author": "Adam Bellaire",
"author_id": 21... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182600",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1533/"
] |
182,602 | <p>I have a BulletedList in asp.net that is set to DisplayMode="LinkButton". I would like to trigger the first "bullet" from a javascript, can this be done? And if so, how?</p>
| [
{
"answer_id": 183374,
"author": "Alex Gyoshev",
"author_id": 25427,
"author_profile": "https://Stackoverflow.com/users/25427",
"pm_score": 3,
"selected": true,
"text": "<asp:BulletedList runat=\"server\" ID=\"MyLovelyBulletedList\" DisplayMode=\"LinkButton\">\n <asp:ListItem Text=\"M... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182602",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1523/"
] |
182,615 | <p>When reading my RSS feed with the Thunderbird feed reader, some entries are duplicated. <a href="https://en.wikipedia.org/wiki/Google_Reader" rel="nofollow noreferrer">Google Reader</a> does not have the same problem.</p>
<p>Here is the faulty feed:
<a href="http://plcoder.net/rss.php?rss=Blog" rel="nofollow norefer... | [
{
"answer_id": 182646,
"author": "Kip",
"author_id": 18511,
"author_profile": "https://Stackoverflow.com/users/18511",
"pm_score": 4,
"selected": true,
"text": "<guid> <item rdf:about=\"http://plcoder.net/?doc=2134&amp;titre=mon-pc-se-la-pete\">\n <link>http://plcoder.net/?doc=2134&... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182615",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8404/"
] |
182,622 | <p>I have an application that seems to throw exceptions only after the program has been closed. And it is very inconsistent. (We all know how fun inconsistent bugs are...)</p>
<p>My guess is there is an error during the clean up process. But these memory read/write errors seem to indicate something wrong in my "unsa... | [
{
"answer_id": 184285,
"author": "Robert Rossney",
"author_id": 19403,
"author_profile": "https://Stackoverflow.com/users/19403",
"pm_score": 1,
"selected": false,
"text": "IDisposable Dispose() using"
},
{
"answer_id": 315312,
"author": "jyoung",
"author_id": 14841,
... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182622",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6721/"
] |
182,630 | <h2>Syntax</h2>
<ul>
<li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/2218129#2218129">Shorthand for the ready-event</a> by roosteronacid</li>
<li><a href="https://stackoverflow.com/questions/182630/jquery-tips-and-tricks/2218135#2218135">Line breaks and chainability</a> by roosteronacid<... | [
{
"answer_id": 182666,
"author": "Oli",
"author_id": 12870,
"author_profile": "https://Stackoverflow.com/users/12870",
"pm_score": 6,
"selected": false,
"text": "$(document).ready(fn) $(document).ready(...) $(...) jQuery.noConflict(); var $j = jQuery.noConflict();\n\n$j(\"#myDiv\").hide(... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182630",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20946/"
] |
182,635 | <p>I am trying to find all matches in a string that begins with <code>| |</code>. </p>
<p>I have tried: <code>if ($line =~ m/^\\\|\s\\\|/)</code> which didn't work. </p>
<p>Any ideas?</p>
| [
{
"answer_id": 182650,
"author": "Vinko Vrsalovic",
"author_id": 5190,
"author_profile": "https://Stackoverflow.com/users/5190",
"pm_score": 5,
"selected": false,
"text": "print \"YES!\" if ($line =~ m/^\\|\\s\\|/);\n"
},
{
"answer_id": 182676,
"author": "Zsolt Botykai",
... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182635",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
182,636 | <p>I'm creating a generic class and in one of the methods I need to know the Class of the generic type currently in use. The reason is that one of the method's I call expects this as an argument.</p>
<p>Example:</p>
<pre><code>public class MyGenericClass<T> {
public void doSomething() {
// Snip...
// ... | [
{
"answer_id": 182672,
"author": "Nicolas",
"author_id": 1730,
"author_profile": "https://Stackoverflow.com/users/1730",
"pm_score": 7,
"selected": true,
"text": "public class MyGenericClass<T> {\n\n private final Class<T> clazz;\n\n public static <U> MyGenericClass<U> createMyGene... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182636",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26066/"
] |
182,641 | <p>I have fname and lname in my database, and a name could be stored as JOHN DOE or john DOE or JoHN dOE, but ultimately I want to display it as John Doe</p>
<p>fname being John and lname being Doe</p>
| [
{
"answer_id": 182663,
"author": "Dave Rutledge",
"author_id": 2486915,
"author_profile": "https://Stackoverflow.com/users/2486915",
"pm_score": 4,
"selected": false,
"text": "text-transform:capitalize;\n .name { text-transform:capitalize;}\n"
},
{
"answer_id": 182674,
"autho... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182641",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26130/"
] |
182,691 | <p>I really don't like the VS2008 Start Page. I don't need the RSS reader, Getting started or Headlines. The only thing useful is "Recent Projects"</p>
<p><strong>Is there a way to customize it or replace with a better one?</strong><br>
It will be nice that the page contains Favorites Projects and Recent projects.</p>... | [
{
"answer_id": 187178,
"author": "Drew Noakes",
"author_id": 24874,
"author_profile": "https://Stackoverflow.com/users/24874",
"pm_score": 0,
"selected": false,
"text": "http://localhost:12345"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/182691",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2385/"
] |
182,702 | <p>Using JDK1.5 how does one send a binary attachemnt (such as a PDF file) easily using the JavaMail API?</p>
| [
{
"answer_id": 182817,
"author": "cynicalman",
"author_id": 410,
"author_profile": "https://Stackoverflow.com/users/410",
"pm_score": 2,
"selected": false,
"text": "MimeMultipart messageContent = new MimeMultipart();\n\nBodyPart bodyPart = new MimeBodyPart();\nDataSource source = new Fil... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182702",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
182,711 | <p>Exception Thrown: "System.ComponentModel.ReflectPropertyDescriptor is not marked as Serializable"</p>
<p>Does this mean I missed marking something as serializable myself, or is this something beyond my control?</p>
| [
{
"answer_id": 182759,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 2,
"selected": false,
"text": "NonSerializedAttribute BinaryFormatter XmlIgnoreAttribute XmlSerializer PropertyDescriptor ISerializable IXmlSerializ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182711",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13244/"
] |
182,721 | <p>We use Spring + Hibernate for a Webapp.</p>
<p>This Webapp will be deployed on two unrelated production sites. These two production sites will use the Webapp to generate and use Person data in parallel.</p>
<p>What I need to do, is to make sure that the Persons generated on these two unrelated production sites all... | [
{
"answer_id": 184018,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "insert VALUES('Sys1' || to_char(sequence.nextval), val1, val2, val3);\ninsert VALUES('Sys2' || to_char(sequence.nextval), val1... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182721",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2797/"
] |
182,739 | <p>I'm using the wxGlade designer to generate the GUI for a small application.
It generates a class, inherited from wxFrame, which is the main application window.
In order to facilitate the maintenance, I'd like to avoid writing additional code in this generated class.</p>
<p>But all the widgets created with the wxGla... | [
{
"answer_id": 182815,
"author": "m_pGladiator",
"author_id": 446104,
"author_profile": "https://Stackoverflow.com/users/446104",
"pm_score": 1,
"selected": false,
"text": "wxWindowList & children = myframe->GetChildren();\nfor ( wxWindowList::Node *node = children.GetFirst(); node; node... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182739",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/446104/"
] |
182,742 | <p>Specifically MSSQL 2005.</p>
| [
{
"answer_id": 182769,
"author": "sebagomez",
"author_id": 23893,
"author_profile": "https://Stackoverflow.com/users/23893",
"pm_score": 2,
"selected": false,
"text": "DATEADD (DAY, -1, DATEADD (MONTH, DATEDIFF (MONTH, 0, CURRENT_TIMESTAMP) + 1, 0)\n"
},
{
"answer_id": 182776,
... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182742",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7577/"
] |
182,749 | <p>This is a question for anyone who has the pleasure to work in both Java and C#.</p>
<p>Do you find that you have to make a mental context switch of some kind when you move from one to the other?</p>
<p>I'm working in both at the moment and because the syntax and libraries are so similar and yet subtly different I'... | [
{
"answer_id": 182767,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 4,
"selected": true,
"text": "foreach (X x in y) for (X x : y)"
},
{
"answer_id": 183911,
"author": "Jon Schneider",
"author_id": 12484... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182749",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20400/"
] |
182,750 | <p>Suppose some Windows service uses code that wants mapped network drives and no UNC paths. How can I make the drive mapping available to the service's session when the service is started? Logging in as the service user and creating a persistent mapping will not establish the mapping in the context of the actual servi... | [
{
"answer_id": 182794,
"author": "Treb",
"author_id": 22114,
"author_profile": "https://Stackoverflow.com/users/22114",
"pm_score": 4,
"selected": false,
"text": "var p = System.Diagnostics.Process.Start(\"net.exe\", \"use K: \\\\\\\\Server\\\\path\");\nvar isCompleted = p.WaitForExit(50... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182750",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23424/"
] |
182,865 | <p>I'm using Test/Unit with a standard <strong>rails 2.1</strong> project. I would like to be able to test Partial Views in isolation from any particular controller / action.</p>
<p>It seemed as though <a href="http://zentest.rubyforge.org/" rel="noreferrer">ZenTest's Test::Rails::ViewTestCase</a> would help, but I co... | [
{
"answer_id": 189607,
"author": "Sam Stokes",
"author_id": 20131,
"author_profile": "https://Stackoverflow.com/users/20131",
"pm_score": 3,
"selected": false,
"text": "describe \"/posts/_form\" do\n before do\n render :partial => \"posts/form\"\n end\n it \"says hello\" do\n re... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182865",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15965/"
] |
182,872 | <p>What is the easiest way to test (using reflection), whether given method (i.e. java.lang.Method instance) has a return type, which can be safely casted to List<String>?</p>
<p>Consider this snippet:</p>
<pre><code>public static class StringList extends ArrayList<String> {}
public List<String> me... | [
{
"answer_id": 183232,
"author": "Jasper",
"author_id": 18702,
"author_profile": "https://Stackoverflow.com/users/18702",
"pm_score": 3,
"selected": false,
"text": "public class Main {\n/**\n * @param args the command line arguments\n */\npublic static void main(String[] args) {\n try... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182872",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7135/"
] |
182,876 | <p>Often, I found OutOfMemoryException on IBM Websphere Application Server.
I think this exception occur because my application retrieve Huge data from database. So, I limit all query don't retreive data more than 1000 records and set JVM of WAS follow</p>
<pre><code>+ Verbose garbage collection
+ Maximum Heap size = ... | [
{
"answer_id": 189591,
"author": "Chris Vest",
"author_id": 13251,
"author_profile": "https://Stackoverflow.com/users/13251",
"pm_score": 0,
"selected": false,
"text": "permgen heapspace"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/182876",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24550/"
] |
182,891 | <p>Does anyone have an XSLT that will take the app.config and render it into a non-techie palatable format?</p>
<p>The purpose being mainly informational, but with the nice side-effect of validating the XML (if it's been made invalid, it won't render)</p>
| [
{
"answer_id": 203485,
"author": "Don Vince",
"author_id": 6023,
"author_profile": "https://Stackoverflow.com/users/6023",
"pm_score": 3,
"selected": true,
"text": "<?xml-stylesheet type=\"text/xsl\" href=\"display-config.xslt\"?>\n <?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n<xsl:s... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182891",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6023/"
] |
182,901 | <p>I have a friend who is need of a web page. He does interior construction, and would like to have a gallery of his work. I'll probably go for a php host, and was thinking about the best way to implement the image gallery for him. I came up with:</p>
<ul>
<li>Use flickr to host the images. They can be tagged, add... | [
{
"answer_id": 245668,
"author": "Jim Nelson",
"author_id": 32168,
"author_profile": "https://Stackoverflow.com/users/32168",
"pm_score": 1,
"selected": false,
"text": "function newFlickr()\n{\n\n static $flickr = NULL;\n\n\n if($flickr != NULL)\n {\n return $flickr;\... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182901",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/96/"
] |
182,910 | <p>I need to determine the highest .NET framework version installed on a desktop machine from C\C++ code. Looks like I can iterate the folders under <code>%systemroot%\Microsoft.NET\Framework</code>, but that seems kind of error prone. Is there a better way? Perhaps a registry key I can inspect? Thanks.</p>
| [
{
"answer_id": 182935,
"author": "chills42",
"author_id": 23855,
"author_profile": "https://Stackoverflow.com/users/23855",
"pm_score": 4,
"selected": true,
"text": "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\NET Framework Setup\\NDP"
},
{
"answer_id": 182975,
"author": "Luc To... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182910",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24898/"
] |
182,928 | <p>we have a template project we often copy. so we can costumize the copy and still have a common template.<br></p>
<p>To optimize the "copy & initial changes"-process, i though that i can write a little script, that does the following:</p>
<ul>
<li>copy the project-template (in svn) to another directory in the s... | [
{
"answer_id": 183056,
"author": "Jason Miesionczek",
"author_id": 18811,
"author_profile": "https://Stackoverflow.com/users/18811",
"pm_score": 1,
"selected": true,
"text": "#!/bin/bash\n\n\nsearchterm=\"<ProjectName>\"\nreplaceterm=\"New Project\"\nsrcsvnrepo=\"file:///svnrepoaddress\"... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182928",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25730/"
] |
182,945 | <p>I've committed changes in numerous files to a SVN repository from Eclipse.</p>
<p>I then go to website directory on the linux box where I want to update these changes from the repository to the directory there.</p>
<p>I want to say "svn update project100" which will update the directories under "project100" with a... | [
{
"answer_id": 182960,
"author": "Ben Hoffstein",
"author_id": 4482,
"author_profile": "https://Stackoverflow.com/users/4482",
"pm_score": 6,
"selected": false,
"text": "svn merge --dry-run -r BASE:HEAD .\n"
},
{
"answer_id": 182966,
"author": "David Webb",
"author_id": 3... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182945",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4639/"
] |
182,957 | <p>im trying to locate the position of the minimum value in a vector, using STL find algorithm (and the min_element algorithm), but instead of returning the postion, its just giving me the value. E.g, if the minimum value is it, is position will be returned as 8 etc. What am I doing wrong here?</p>
<pre><code>int valu... | [
{
"answer_id": 182973,
"author": "Konrad Rudolph",
"author_id": 1968,
"author_profile": "https://Stackoverflow.com/users/1968",
"pm_score": 6,
"selected": true,
"text": "min_element find distance - cout << \"min value at \" << min_element(v2.begin(), v2.end()) - v2.begin();\n"
},
{
... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182957",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8768/"
] |
182,976 | <p>I have parsed XML using both of the following two methods...</p>
<ul>
<li>Parsing the XmlDocument using the object model and XPath queries.</li>
<li>XSL/T</li>
</ul>
<p>But I have never used...</p>
<ul>
<li>The Linq Xml object model that was new to .Net 3.5</li>
</ul>
<p>Can anyone tell me the comparative effici... | [
{
"answer_id": 184466,
"author": "Robert Rossney",
"author_id": 19403,
"author_profile": "https://Stackoverflow.com/users/19403",
"pm_score": 6,
"selected": true,
"text": "XmlReader XmlReader"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/182976",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3362/"
] |
182,984 | <p>Files:</p>
<p>Website\Controls\map.ascx</p>
<p>Website\App_Code\map.cs</p>
<p>I'd like to create a strongly typed instance of map.ascx in map.cs</p>
<p>Normally, in an aspx, you would add a <%Register... tag to be able to instantiate in codebehind. Is this possible in an app_code class?
I'm using .NET 3.5/Vis... | [
{
"answer_id": 182992,
"author": "Ryan Duffield",
"author_id": 2696,
"author_profile": "https://Stackoverflow.com/users/2696",
"pm_score": 3,
"selected": true,
"text": "Map map = (Map)LoadControl(\"~/Controls/map.ascx\");\n"
},
{
"answer_id": 183117,
"author": "tvanfosson",
... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182984",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11831/"
] |
182,988 | <p>I have valid <code>HBITMAP</code> handle of <code>ARGB</code> type. How to draw it using <em>GDI+</em>?</p>
<p>I've tried method:</p>
<pre><code>graphics.DrawImage(Bitmap::FromHBITMAP(m_hBitmap, NULL), 0, 0);
</code></pre>
<p>But it doesn't use alpha channel.</p>
| [
{
"answer_id": 183512,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 3,
"selected": false,
"text": "BITMAP bmpInfo; \n::GetObject(m_hBitmap, sizeof(BITMAP), &bmpInfo); \nint cxBitmap = bmpInfo.bmWidth; \nint cyBitmap = bmpI... | 2008/10/08 | [
"https://Stackoverflow.com/questions/182988",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
183,004 | <p>I'm trying to highlight just one specific row in a table using jQuery. The row will have an 'active' status. I have seen plenty of examples online which show how to do zebra striping for alternate row styling. Does anyone know of a jQuery expression which will get a element based on the value of a element in a spe... | [
{
"answer_id": 183028,
"author": "gamue",
"author_id": 25730,
"author_profile": "https://Stackoverflow.com/users/25730",
"pm_score": 1,
"selected": false,
"text": "$(\"td\").contains(\"test\");\n $(\"div:contains('John')\");\n"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/183004",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1284/"
] |
183,009 | <p>A friend of mine has embedded a google earth plugin into a C# user control. All works fine but when you close the window we recieve and "Unspecified Error" with the option to continue running the scripts or not. From our tracking it down it appears this is being cause by a script that google is dropping onto the pag... | [
{
"answer_id": 183111,
"author": "Adam Lerman",
"author_id": 673,
"author_profile": "https://Stackoverflow.com/users/673",
"pm_score": 0,
"selected": false,
"text": "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n<html>\n<head>\n <script src=\"http://www.go... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183009",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/673/"
] |
183,013 | <p>I want to compare the current value of an in-memory Hibernate entity with the value in the database:</p>
<pre><code>HibernateSession sess = HibernateSessionFactory.getSession();
MyEntity newEntity = (MyEntity)sess.load(MyEntity.class, id);
newEntity.setProperty("new value");
MyEntity oldEntity = (MyEntity)sess.load... | [
{
"answer_id": 186561,
"author": "Cowan",
"author_id": 17041,
"author_profile": "https://Stackoverflow.com/users/17041",
"pm_score": 4,
"selected": true,
"text": "HibernateSession sess = ...;\nMyEntity oldEntity = (MyEntity) sess.load(...);\nsess.evict(oldEntity); // old is now not in th... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183013",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4690/"
] |
183,016 | <p>I'm making a report in Access 2003 that contains a sub report of related records. Within the sub report, I want the top two records only. When I add "TOP 2" to the sub report's query, it seems to select the top two records before it filters on the link fields. How do I get the top two records of only those record... | [
{
"answer_id": 183544,
"author": "BIBD",
"author_id": 685,
"author_profile": "https://Stackoverflow.com/users/685",
"pm_score": 2,
"selected": true,
"text": "SELECT o1.order_number, o1.order_date,\n (SELECT COUNT(*) FROM orders AS o2\n WHERE o2.order_date <= o1.order_date) AS R... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183016",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7899/"
] |
183,017 | <p>When i deploy a rails application in production mode, it appends a date-time string as a query param to the end of all the static asset urls. This is to prevent browsers using old-out of date cahed copies of the assets after I redeploy the application. </p>
<p>Is there a way to make rails use the old time stamps fo... | [
{
"answer_id": 192536,
"author": "Daniel Beardsley",
"author_id": 13216,
"author_profile": "https://Stackoverflow.com/users/13216",
"pm_score": 4,
"selected": false,
"text": "set :normalize_asset_timestamps, false\n #Etags should be based on the file parameters only (default includes INo... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183017",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7473/"
] |
183,018 | <p>Looking into System.Data.DbType there is no SqlVariant type there. SqlDataReader, for example, provides the GetString method for reading into string variable. What is the appropriate way to retrieve data from the database field of type sql_variant, presumably into object? </p>
<p>The aim is to read data stored as <... | [
{
"answer_id": 183027,
"author": "Rob",
"author_id": 7872,
"author_profile": "https://Stackoverflow.com/users/7872",
"pm_score": 2,
"selected": false,
"text": "object result = null;\nresult = reader[\"columnNameGoesHere\"];\n"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/183018",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23730/"
] |
183,032 | <p>Is it possible to send a list of IDs to a stored procedure from c#?</p>
<pre><code>UPDATE Germs
SET Mutated = ~Mutated
WHERE (GermID IN (ids))
</code></pre>
| [
{
"answer_id": 183073,
"author": "Ben Hoffstein",
"author_id": 4482,
"author_profile": "https://Stackoverflow.com/users/4482",
"pm_score": 2,
"selected": false,
"text": "CREATE TABLE #ids (id int)\nINSERT INTO #ids VALUES ('123') -- your C# code would generate all of the inserts\n\n-- Fr... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183032",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
183,033 | <p>This is really two questions, but they are so similar, and to keep it simple, I figured I'd just roll them together:</p>
<ul>
<li><p><strong>Firstly</strong>: Given an established C# project, what are some decent ways to speed it up beyond just plain in-code optimization?</p></li>
<li><p><strong>Secondly</strong>: ... | [
{
"answer_id": 183046,
"author": "Konrad Rudolph",
"author_id": 1968,
"author_profile": "https://Stackoverflow.com/users/1968",
"pm_score": 4,
"selected": false,
"text": "object SuspendLayout ResumeLayout"
},
{
"answer_id": 296121,
"author": "Lurker Indeed",
"author_id": ... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183033",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/145/"
] |
183,035 | <p>I have a strange bug with WPF Interop and an Excel Addin. I'm using .Net 3.5 SP1.</p>
<p>I'm using Add-in Express to create a Custom Task Pane for Excel 2003. Within that taskpane I'm using ElementHost to host a WPF UserControl. The UserControl simply contains a Grid with a TextBox and ComboBox. My problem is that ... | [
{
"answer_id": 697518,
"author": "Samuel Jack",
"author_id": 1727,
"author_profile": "https://Stackoverflow.com/users/1727",
"pm_score": 3,
"selected": true,
"text": "private const uint WS_CHILD = 0x40000000;\nprivate const uint WS_CLIPCHILDREN = 0x02000000;\nprivate const uint WS_CLIPSI... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183035",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1727/"
] |
183,042 | <p>Is there a way to define a column (primary key) as a <a href="https://en.wikipedia.org/wiki/Universally_unique_identifier" rel="noreferrer">UUID</a> in <a href="http://www.sqlalchemy.org/" rel="noreferrer">SQLAlchemy</a> if using <a href="http://www.postgresql.org/" rel="noreferrer">PostgreSQL</a> (Postgres)?</p>
| [
{
"answer_id": 188427,
"author": "Florian Bösch",
"author_id": 19435,
"author_profile": "https://Stackoverflow.com/users/19435",
"pm_score": -1,
"selected": false,
"text": "import sqlalchemy.types as types\n\nclass UUID(types.TypeEngine):\n def get_col_spec(self):\n return \"uu... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183042",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7883/"
] |
183,062 | <p>How does one go about establishing a CSS 'schema', or hierarchy, of general element styles, nested element styles, and classed element styles. For a rank novice like me, the amount of information in stylesheets I view is completely overwhelming. What process does one follow in creating a well factored stylesheet o... | [
{
"answer_id": 183160,
"author": "Andre Bossard",
"author_id": 21027,
"author_profile": "https://Stackoverflow.com/users/21027",
"pm_score": 1,
"selected": false,
"text": "The human editor perspective: The consumer perspective:"
},
{
"answer_id": 183205,
"author": "Marcus Dow... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183062",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8741/"
] |
183,071 | <p>My normal IDE is Visual Studio, but I'm currently doing some development in Eclipse for the first time. If you press Ctrl-X with text selected in either program, it cuts the text and puts on the clipboard exactly as you'd expect. If press Ctrl-X with no text selected in Visual Studio, it cuts the current line. In... | [
{
"answer_id": 183160,
"author": "Andre Bossard",
"author_id": 21027,
"author_profile": "https://Stackoverflow.com/users/21027",
"pm_score": 1,
"selected": false,
"text": "The human editor perspective: The consumer perspective:"
},
{
"answer_id": 183205,
"author": "Marcus Dow... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183071",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9323/"
] |
183,078 | <p>I have data loaded and various transformations on the data complete, the problem is there is a parent/child relationship managed in the data - best explained by an example</p>
<p>each row has (column names are made up)</p>
<pre><code>row_key parent_row_key row_name parent_row_name
</code></pre>
<p>some ro... | [
{
"answer_id": 8520780,
"author": "deroby",
"author_id": 357429,
"author_profile": "https://Stackoverflow.com/users/357429",
"pm_score": 0,
"selected": false,
"text": "UPDATE staging_table\n SET parent_row_name = COALESCE(new.row_name, old.row_name, '#N/A#')\n FROM staging_table upd\n... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183078",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10868/"
] |
183,083 | <p>I would like to add a BuildListener to my headless build process, which is building an Eclipse product. The docs on how to do this are, shall we say, a bit scanty. I think I need to put my custom jar in a plugin and then use the org.eclipse.ant.core.extraClasspathEntries extension point to make that jar visible to A... | [
{
"answer_id": 188700,
"author": "ILikeCoffee",
"author_id": 25270,
"author_profile": "https://Stackoverflow.com/users/25270",
"pm_score": 2,
"selected": true,
"text": "ant.jar org.apache.ant ant.jar"
}
] | 2008/10/08 | [
"https://Stackoverflow.com/questions/183083",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/460599/"
] |
183,093 | <p>I'm looking for ideas and opinions here, not a "real answer", I guess...</p>
<p>Back in the old VB6 days, there was this property called "Tag" in all controls, that was a useful way to store custom information related to a control. Every single control had it, and all was bliss...</p>
<p>Now, in .Net (at least for... | [
{
"answer_id": 183109,
"author": "harriyott",
"author_id": 5744,
"author_profile": "https://Stackoverflow.com/users/5744",
"pm_score": 0,
"selected": false,
"text": "<div attrName=\"attrValue\">"
},
{
"answer_id": 183121,
"author": "Seibar",
"author_id": 357,
"author_... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183093",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3314/"
] |
183,101 | <p>I use the MFC list control in report view with grid lines to display data in a vaguely spreadsheet manner.</p>
<p>Sometimes when the user scrolls vertically through the control, extra grid lines are drawn, which looks terrible.</p>
<p>This does not happen when the slider or the mousewheel are used to scroll, only ... | [
{
"answer_id": 183926,
"author": "Aidan Ryan",
"author_id": 1042,
"author_profile": "https://Stackoverflow.com/users/1042",
"pm_score": 3,
"selected": false,
"text": "void CMyListCtrl::OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar)\n{\n __super::OnVScroll(nSBCode, nPos, pS... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183101",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16582/"
] |
183,108 | <p>I have a C++ template class that gets instantiated with 3 different type parameters. There's a method that the class needs to have for only one of those types and that isn't ever called with the two other types.</p>
<p>Will object code for that method be generated thrice (for all types for which the template is ins... | [
{
"answer_id": 183235,
"author": "Kristopher Johnson",
"author_id": 1175,
"author_profile": "https://Stackoverflow.com/users/1175",
"pm_score": 6,
"selected": true,
"text": "constexpr template <class T>\nclass Xyzzy\n{\npublic:\n void CallFoo() { t.foo(); } // Invoke T::foo()\n vo... | 2008/10/08 | [
"https://Stackoverflow.com/questions/183108",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18721/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.