qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
33,175 | <p>Is there a way when executing a stored procedure in Management Studio to get the data types of the result sets coming back? I'm looking for something like functionality of when you pass a table name to sp_help</p>
| [
{
"answer_id": 65029,
"author": "Charles Graham",
"author_id": 7705,
"author_profile": "https://Stackoverflow.com/users/7705",
"pm_score": -1,
"selected": false,
"text": "if exists (select * from sys.tables where name = 'tmp_TableName')\n drop table tmp_TableName\ngo\nselect * into tm... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33175",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1302/"
] |
33,199 | <p>Would it be possible to print <code>Hello</code> twice using single <code>condition</code>?</p>
<pre><code>if "condition"
printf ("Hello");
else
printf("World");
</code></pre>
| [
{
"answer_id": 33202,
"author": "Greg Hewgill",
"author_id": 893,
"author_profile": "https://Stackoverflow.com/users/893",
"pm_score": 3,
"selected": false,
"text": "if printf condition"
},
{
"answer_id": 33205,
"author": "scoob",
"author_id": 1165587,
"author_profile... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33199",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2454/"
] |
33,226 | <p>Assuming such a query exists, I would greatly appreciate the help.</p>
<p>I'm trying to develop a permissions script that will grant "select" and "references" permissions on the user tables and views in a database. My hope is that executing the "grant" commands on each element in such a set will make it easier to ... | [
{
"answer_id": 33266,
"author": "Jas",
"author_id": 777,
"author_profile": "https://Stackoverflow.com/users/777",
"pm_score": 0,
"selected": false,
"text": "select * from information_schema.tables\nwhere table_type = 'view'\n"
},
{
"answer_id": 33285,
"author": "SQLMenace",
... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33226",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3475/"
] |
33,233 | <p>Imagine you homebrew a custom gui framework that <em>doesn't</em> use windows handles (compact framework, so please don't argue with "whys"). One of the main disadvantages of developing such a framework is that you lose compatability with the winform designer.</p>
<p>So my question is to all of you who know a lot a... | [
{
"answer_id": 33266,
"author": "Jas",
"author_id": 777,
"author_profile": "https://Stackoverflow.com/users/777",
"pm_score": 0,
"selected": false,
"text": "select * from information_schema.tables\nwhere table_type = 'view'\n"
},
{
"answer_id": 33285,
"author": "SQLMenace",
... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33233",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1143/"
] |
33,242 | <p>Is there a method (other than trial and error) I can use to find unused image files? How about CSS declarations for ID's and Classes that don't even exist in the site?</p>
<p>It seems like there might be a way to write a script that scans the site, profile it, and see which images and styles are never loaded.</p>
| [
{
"answer_id": 33318,
"author": "BCS",
"author_id": 1343,
"author_profile": "https://Stackoverflow.com/users/1343",
"pm_score": 4,
"selected": false,
"text": "diff \\\n <(sed some_rules httpd_log | sort -u) \\\n <(ls /var/www/whatever | sort -u) \\\n | grep something\n"
},
{
"ans... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33242",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5/"
] |
33,250 | <p>In one of my applications, I am querying active directory to get a list of all users below a given user (using the "Direct Reports" thing). So basically, given the name of the person, it is looked up in AD, then the Direct Reports are read. But then for every direct report, the tool needs to check the direct reports... | [
{
"answer_id": 39091,
"author": "Erick Sgarbi",
"author_id": 4171,
"author_profile": "https://Stackoverflow.com/users/4171",
"pm_score": 3,
"selected": true,
"text": "System.DirectoryServices.DirectoryEntry entry = new System.DirectoryServices.DirectoryEntry(); \n\n// Push ... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33250",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/91/"
] |
33,252 | <p>As a temporary stopgap until all the designers are in place we are currently hand-cranking a whole bunch of xml configuration files at work. One of the issues with this is file-versioning because people forget to update version numbers when updating the files (which is to be expected as humans generally suck at perf... | [
{
"answer_id": 39091,
"author": "Erick Sgarbi",
"author_id": 4171,
"author_profile": "https://Stackoverflow.com/users/4171",
"pm_score": 3,
"selected": true,
"text": "System.DirectoryServices.DirectoryEntry entry = new System.DirectoryServices.DirectoryEntry(); \n\n// Push ... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33252",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1143/"
] |
33,262 | <p>I have a complete XML document in a string and would like a <code>Document</code> object. Google turns up all sorts of garbage. What is the simplest solution? (In Java 1.5)</p>
<p><strong>Solution</strong> Thanks to <a href="https://stackoverflow.com/users/1322/matt-mcminn">Matt McMinn</a>, I have settled on this i... | [
{
"answer_id": 33283,
"author": "Matt McMinn",
"author_id": 1322,
"author_profile": "https://Stackoverflow.com/users/1322",
"pm_score": 7,
"selected": true,
"text": "import javax.xml.parsers.DocumentBuilderFactory;\nimport javax.xml.parsers.DocumentBuilder;\nimport org.w3c.dom.Document;\... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33262",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/338/"
] |
33,263 | <p>I'm using the <a href="http://msdn.microsoft.com/en-us/library/ms178329.aspx" rel="nofollow noreferrer">ASP.NET Login Controls</a> and <a href="http://msdn.microsoft.com/en-us/library/aa480476.aspx" rel="nofollow noreferrer">Forms Authentication</a> for membership/credentials for an ASP.NET web application.</p>
<p>... | [
{
"answer_id": 33283,
"author": "Matt McMinn",
"author_id": 1322,
"author_profile": "https://Stackoverflow.com/users/1322",
"pm_score": 7,
"selected": true,
"text": "import javax.xml.parsers.DocumentBuilderFactory;\nimport javax.xml.parsers.DocumentBuilder;\nimport org.w3c.dom.Document;\... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33263",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/83/"
] |
33,265 | <p>There are two weird operators in C#:</p>
<ul>
<li>the <a href="http://msdn.microsoft.com/en-us/library/6x6y6z4d.aspx" rel="noreferrer">true operator</a></li>
<li>the <a href="http://msdn.microsoft.com/en-us/library/6292hy1k.aspx" rel="noreferrer">false operator</a></li>
</ul>
<p>If I understand this right these op... | [
{
"answer_id": 33337,
"author": "ljs",
"author_id": 3394,
"author_profile": "https://Stackoverflow.com/users/3394",
"pm_score": 2,
"selected": false,
"text": "SELECT COUNT(*) FROM Table WHERE Foo = TRUE OR Foo = FALSE\n6\n SELECT COUNT(*) FROM Table WHERE Foo = TRUE OR Foo = FALSE OR Foo... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33265",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2361/"
] |
33,275 | <p>Is there a PDF library that one can use to automate creating PDFs from URLs? The current approach I use is to "Print" a page and select a PDF plugin like PrimoPDF to generate the PDF document but I was wanting to automate that. </p>
| [
{
"answer_id": 8562361,
"author": "Alasdair",
"author_id": 1018582,
"author_profile": "https://Stackoverflow.com/users/1018582",
"pm_score": 2,
"selected": false,
"text": "wkpdfhtmltopdf http://www.whatever.com/page.html page.pdf\n"
}
] | 2008/08/28 | [
"https://Stackoverflow.com/questions/33275",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/64/"
] |
33,301 | <p>I have a JavaScript method that I need to run on one of my pages, in particular, the <code>onresize</code> event. </p>
<p>However, I don't see how I can set that event from my content page. I wish I could just put it on my master page, but I don't have the need for the method to be called on all pages that use th... | [
{
"answer_id": 33440,
"author": "Jason Bunting",
"author_id": 1790,
"author_profile": "https://Stackoverflow.com/users/1790",
"pm_score": 3,
"selected": true,
"text": "<script type=\"text/javascript\">\n\n// here is a cross-browser compatible way of connecting \n// handlers to events, in... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33301",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1226/"
] |
33,334 | <p>In this <a href="https://stackoverflow.com/questions/32877/how-to-remove-vsdebuggercausalitydata-data-from-soap-message">question</a> the answer was to flip on a switch that is picked up by the debugger disabling the extraneous header that was causing the problem. The Microsoft help implies these switched are user ... | [
{
"answer_id": 33683,
"author": "Glenn Slaven",
"author_id": 2975,
"author_profile": "https://Stackoverflow.com/users/2975",
"pm_score": 3,
"selected": true,
"text": "public static BooleanSwitch DisableRemoteDebugging\n{\n get\n {\n if (disableRemoteDebugging == null)\n ... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33334",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1834/"
] |
33,341 | <p>Is there a way to hide radio buttons inside a RadioButtonList control programmatically?</p>
| [
{
"answer_id": 33365,
"author": "Dillie-O",
"author_id": 71,
"author_profile": "https://Stackoverflow.com/users/71",
"pm_score": 4,
"selected": true,
"text": "RadioButtonList.Items(1).CssClass.Add(\"visibility\", \"hidden\")\n"
},
{
"answer_id": 33371,
"author": "James Hall",... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33341",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/877/"
] |
33,347 | <p>I'm considering developing a website similar to stackoverflow, but the answers may also consist of drawings (schematics, in this case). I want to have an area in the answer form where they can make this schematic without requiring special plugins, etc. </p>
<ol>
<li>Are we to the point where SVG has or should hav... | [
{
"answer_id": 33502,
"author": "Jörg W Mittag",
"author_id": 2988,
"author_profile": "https://Stackoverflow.com/users/2988",
"pm_score": 4,
"selected": true,
"text": "<canvas> <canvas> <canvas> <canvas>"
},
{
"answer_id": 33602,
"author": "Brian Gianforcaro",
"author_id"... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33347",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2915/"
] |
33,386 | <p>Im sure this has happened to folks before, something works in debug mode, you compile in release, and something breaks.</p>
<p>This happened to me while working on a Embedded XP environment, the best way i found to do it really was to write a log file to determine where it would go wrong.</p>
<p>What are your expe... | [
{
"answer_id": 33394,
"author": "Vin",
"author_id": 1747,
"author_profile": "https://Stackoverflow.com/users/1747",
"pm_score": 0,
"selected": false,
"text": "Trace.WriteLine(myVar);\n"
}
] | 2008/08/28 | [
"https://Stackoverflow.com/questions/33386",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/514/"
] |
33,390 | <p>What's the best lifetime model for a <code>DataContext</code>? Should I just create a new one whenever I need it (aka, function level), should I keep one available in each class that would use it (class level), or should I create a static class with a static DataContext (app-domain level)? Are there any considered b... | [
{
"answer_id": 33405,
"author": "ljs",
"author_id": 3394,
"author_profile": "https://Stackoverflow.com/users/3394",
"pm_score": 4,
"selected": true,
"text": ".SubmitChanges() .SubmitChanges() datacontext .SubmitChanges() datacontext StateChange"
}
] | 2008/08/28 | [
"https://Stackoverflow.com/questions/33390",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1194/"
] |
33,395 | <p>I'm using the <a href="http://msdn.microsoft.com/en-us/library/ms178329.aspx" rel="nofollow noreferrer">ASP.NET Login Controls</a> and <a href="http://msdn.microsoft.com/en-us/library/aa480476.aspx" rel="nofollow noreferrer">Forms Authentication</a> for membership/credentials for an ASP.NET web application. And I'm... | [
{
"answer_id": 33405,
"author": "ljs",
"author_id": 3394,
"author_profile": "https://Stackoverflow.com/users/3394",
"pm_score": 4,
"selected": true,
"text": ".SubmitChanges() .SubmitChanges() datacontext .SubmitChanges() datacontext StateChange"
}
] | 2008/08/28 | [
"https://Stackoverflow.com/questions/33395",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/83/"
] |
33,409 | <p>I am using SQL Server 2005. I have a table with a text column and I have many rows in the table where the value of this column is not null, but it is empty. Trying to compare against '' yields this response:</p>
<blockquote>
<p>The data types text and varchar are incompatible in the not equal to operator.</p>
<... | [
{
"answer_id": 33425,
"author": "Eric Z Beard",
"author_id": 1219,
"author_profile": "https://Stackoverflow.com/users/1219",
"pm_score": 9,
"selected": true,
"text": "where datalength(mytextfield)=0\n"
},
{
"answer_id": 34036,
"author": "Dane",
"author_id": 2929,
"aut... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1214/"
] |
33,412 | <p>After reading Jeff's blog post on <a href="http://www.codinghorror.com/blog/archives/001167.html" rel="noreferrer">Protecting Your Cookies: HttpOnly</a>. I'd like to implement HttpOnly cookies in my web application.</p>
<p>How do you tell tomcat to use http only cookies for sessions?</p>
| [
{
"answer_id": 33456,
"author": "Shabaz",
"author_id": 1827,
"author_profile": "https://Stackoverflow.com/users/1827",
"pm_score": 3,
"selected": false,
"text": "//this is what needs to be changed\n//response.addCookieInternal(cookie);\n\n//this is whats new\nresponse.addCookieInternal(c... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33412",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1310/"
] |
33,449 | <p>Is there a way to call out from a TSQL stored procedure or function to a webservice?</p>
| [
{
"answer_id": 33884,
"author": "Orion Edwards",
"author_id": 234,
"author_profile": "https://Stackoverflow.com/users/234",
"pm_score": 5,
"selected": false,
"text": "INSERT INTO BLAH"
},
{
"answer_id": 30211736,
"author": "Kiran.Bakwad",
"author_id": 2940450,
"author... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33449",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1874/"
] |
33,457 | <p>Does anyone have a definitive answer to whether <a href="http://msdn.microsoft.com/en-us/library/ms162557.aspx" rel="nofollow noreferrer">Sql Server Management Objects</a> is compatible with Sql Server 7.0?
The docs state:</p>
<blockquote>
<p>Because SMO is compatible with SQL Server version 7.0, SQL Server 2000,... | [
{
"answer_id": 35118,
"author": "Mark Brackett",
"author_id": 2199,
"author_profile": "https://Stackoverflow.com/users/2199",
"pm_score": 1,
"selected": false,
"text": "protected void CheckServerVersion(ServerVersion version) {\n if ((version.Major <= 7 || (version.Major > 9)) {\n ... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33457",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2199/"
] |
33,459 | <p>Is it possible to use a flash document embedded in HTML as a link?</p>
<p>I tried just wrapping the <code>object</code> element with an <code>a</code> like this:</p>
<pre><code><a href="http://whatever.com">
<object ...>
<embed ... />
</object>
</a>
</code></pre>
<p>I... | [
{
"answer_id": 33519,
"author": "dlamblin",
"author_id": 459,
"author_profile": "https://Stackoverflow.com/users/459",
"pm_score": 2,
"selected": true,
"text": "_root.onPress=function(){getURL(\"http://yes.no/\");}; _root.addEventHandler(MouseEvent.PRESS, function (e:event) {getURL(\"htt... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33459",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2214/"
] |
33,465 | <p>Working on a little side project web app...</p>
<p>I'd like to have it set up so that, when users send email to a certain account, I can kick off a PHP script that reads the email, pulls out some key info, and writes it to a database.</p>
<p>What's the best way to do this? A cron job that checks for new email?</p>... | [
{
"answer_id": 33488,
"author": "Pat",
"author_id": 238,
"author_profile": "https://Stackoverflow.com/users/238",
"pm_score": 0,
"selected": false,
"text": "|/full/path/to/script.php\n"
},
{
"answer_id": 33921,
"author": "hoyhoy",
"author_id": 3499,
"author_profile": ... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33465",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
33,469 | <p>So I just fixed a bug in a framework I'm developing. The pseudo-pseudocode looks like this:</p>
<pre><code>myoldObject = new MyObject { someValue = "old value" };
cache.Insert("myObjectKey", myoldObject);
myNewObject = cache.Get("myObjectKey");
myNewObject.someValue = "new value";
if(myObject.someValue != cache.Get... | [
{
"answer_id": 33795,
"author": "Mark Brackett",
"author_id": 2199,
"author_profile": "https://Stackoverflow.com/users/2199",
"pm_score": 6,
"selected": true,
"text": "class MyObject {\n public string SomeValue { \n get { return _someValue; }\n set { \n if (value != SomeVa... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33469",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1212/"
] |
33,471 | <p>Is there a way to tell subversion "update/merge unless it would cause a conflict"?</p>
<p>I know you can use <code>--dry-run</code> / <code>status -u</code> to check before running the update, but I often have others running updates and getting broken webpages because they don't notice the "C index.php" line.</p>... | [
{
"answer_id": 164940,
"author": "Sander Rijken",
"author_id": 5555,
"author_profile": "https://Stackoverflow.com/users/5555",
"pm_score": 3,
"selected": true,
"text": "--accept ARG : specify automatic conflict resolution action\n ('postpone', 'base',... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33471",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1806/"
] |
33,475 | <p>I need to launch a server on the remote machine and retrieve the port number that the server process is lsitening on. When invoked, the server will listen on a random port and output the port number on stderr.</p>
<p>I want to automate the process of logging on to the remote machine, launching the process, and ret... | [
{
"answer_id": 33486,
"author": "Ben Collins",
"author_id": 3279,
"author_profile": "https://Stackoverflow.com/users/3279",
"pm_score": 3,
"selected": true,
"text": "s = p.stderr.readline()\n"
},
{
"answer_id": 33673,
"author": "Misha M",
"author_id": 3467,
"author_pr... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33475",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/742/"
] |
33,476 | <p>There are a couple of things that I am having a difficult time understanding with regards to developing custom components in JSF. For the purposes of these questions, you can assume that all of the custom controls are using valuebindings/expressions (not literal bindings), but I'm interested in explanations on them... | [
{
"answer_id": 72753,
"author": "David Waters",
"author_id": 12148,
"author_profile": "https://Stackoverflow.com/users/12148",
"pm_score": 1,
"selected": false,
"text": "\npublic String getBar() { \n if (null != this.bar) { \n return this.bar ; \n } \n ValueBindin... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33476",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1432/"
] |
33,497 | <p>Unchecked exceptions are alright if you want to handle every failure the same way, for example by logging it and skipping to the next request, displaying a message to the user and handling the next event, etc. If this is my use case, all I have to do is catch some general exception type at a high level in my system,... | [
{
"answer_id": 33651,
"author": "Cem Catikkas",
"author_id": 3087,
"author_profile": "https://Stackoverflow.com/users/3087",
"pm_score": 0,
"selected": false,
"text": "try {\n throw new IllegalArgumentException();\n} catch (Exception e) {\n System.out.println(\"boom\");\n}\n"
},
... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33497",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3474/"
] |
33,510 | <p>I hope this question does not come off as broad as it may seem at first. I am designing a software application that I would like to be both cross-platform and modular. I am still in the planning phase and can pick practically any language and toolset.</p>
<p>This makes things harder, not easier, because there are se... | [
{
"answer_id": 190433,
"author": "dbr",
"author_id": 745,
"author_profile": "https://Stackoverflow.com/users/745",
"pm_score": 0,
"selected": false,
"text": "os.path config_path = \"/home/$USER\" UserConfig Application Data ~/Library/Preferences/"
}
] | 2008/08/28 | [
"https://Stackoverflow.com/questions/33510",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/958/"
] |
33,529 | <p>Inspired by this CodingHorror article, "<a href="http://www.codinghorror.com/blog/archives/001167.html" rel="noreferrer">Protecting Your Cookies: HttpOnly</a>"</p>
<p>How do you set this property? Somewhere in the web config?</p>
| [
{
"answer_id": 33532,
"author": "Dillie-O",
"author_id": 71,
"author_profile": "https://Stackoverflow.com/users/71",
"pm_score": 4,
"selected": false,
"text": "<httpCookies domain=\"\" httpOnlyCookies=\"true|false\" requireSSL=\"true|false\" />\n"
},
{
"answer_id": 33541,
"au... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33529",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1842/"
] |
33,534 | <p>I'm trying to extend some "base" classes in Python:</p>
<pre><code>class xlist (list):
def len(self):
return len(self)
def add(self, *args):
self.extend(args)
return None
class xint (int):
def add(self, value):
self += value
return self
x = xlist([1,2,3])
pri... | [
{
"answer_id": 33563,
"author": "John Douthat",
"author_id": 2774,
"author_profile": "https://Stackoverflow.com/users/2774",
"pm_score": 4,
"selected": true,
"text": "int += int list"
},
{
"answer_id": 33663,
"author": "dF.",
"author_id": 3002,
"author_profile": "http... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33534",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/394/"
] |
33,577 | <p>I want to check out all files in all subdirectories of a specified folder.</p>
<p>(And it is painful to do this using the GUI, because there is no recursive checkout option).</p>
| [
{
"answer_id": 33605,
"author": "aku",
"author_id": 1196,
"author_profile": "https://Stackoverflow.com/users/1196",
"pm_score": 3,
"selected": false,
"text": "cleartool find somedir -exec \"cleartool checkout -nc \\\"%CLEARCASE_PN%\\\"\"\n"
},
{
"answer_id": 119595,
"author":... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33577",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/814/"
] |
33,590 | <p>Has anyone looked at <a href="http://developer.yahoo.com/flash/" rel="nofollow noreferrer">Yahoo's ASTRA</a>? It's fairly nifty, but I had some issues creating a custom label for a pie chart. They have an example for a line chart, which overrides an axis's series's label renderer. My solution was to override the <c... | [
{
"answer_id": 35019,
"author": "dlamblin",
"author_id": 459,
"author_profile": "https://Stackoverflow.com/users/459",
"pm_score": 3,
"selected": true,
"text": "myPieChart.dataTipFunction = \n function (item:Object, index:int, series:ISeries):String {\n var oPieSeries:PieSeries = ser... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33590",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/459/"
] |
33,594 | <p>I need to <code>ShellExecute</code> something as another user, currently I start a helper process with <code>CreateProcessAsUser</code> that calls <code>ShellExecute</code>, but that seems like too much of a hack (Wrong parent process etc.) Is there a better way to do this?</p>
<p>@PabloG: ImpersonateLoggedOnUser d... | [
{
"answer_id": 1012800,
"author": "devdimi",
"author_id": 54983,
"author_profile": "https://Stackoverflow.com/users/54983",
"pm_score": 2,
"selected": false,
"text": "C:\\windwos\\system32\\cmd.exe /k\" start <your_target_to_be_ShellExecuted>\" CreateProcessAsUser"
}
] | 2008/08/28 | [
"https://Stackoverflow.com/questions/33594",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3501/"
] |
33,664 | <p>I've just started using Linq to SQL, and I'm wondering if anyone has any best practices they can share for managing dbml files.</p>
<ul>
<li>How do you keep them up to date with the database?</li>
<li>Do you have a single dbml file for the entire database, or is it split into multiple logical units? </li>
<li>How ... | [
{
"answer_id": 1790664,
"author": "Alison R.",
"author_id": 59870,
"author_profile": "https://Stackoverflow.com/users/59870",
"pm_score": 3,
"selected": false,
"text": " [Test]\n public void TestMetaData()\n {\n MyObj my_obj = new MyObj()\n {\n Foo = \"b... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33664",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/637/"
] |
33,685 | <p>This is a sql 2000 database that I am working with.</p>
<p>I have what I call a staging table that is a raw data dump of data, so everything is ntext or nvarchar(255). </p>
<p>I need to cast/convert all of this data into the appropriate data types (ie int, decimal, nvarchar, etc.)</p>
<p>The way I was going to do... | [
{
"answer_id": 33717,
"author": "jason saldo",
"author_id": 1293,
"author_profile": "https://Stackoverflow.com/users/1293",
"pm_score": 2,
"selected": false,
"text": "IF @@Error <> 0\n GOTO LABEL\n"
},
{
"answer_id": 39161,
"author": "Guy",
"author_id": 993,
"author_p... | 2008/08/28 | [
"https://Stackoverflow.com/questions/33685",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1950/"
] |
33,708 | <p>So I've got a <code>JPanel</code> implementing <code>MouseListener</code> and <code>MouseMotionListener</code>:</p>
<pre><code>import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class DisplayArea extends JPanel implements MouseListener, MouseMotionListener {
public DisplayArea(Rectangle ... | [
{
"answer_id": 33715,
"author": "Shabaz",
"author_id": 1827,
"author_profile": "https://Stackoverflow.com/users/1827",
"pm_score": 5,
"selected": true,
"text": "this.addMouseListener(this);\nthis.addMouseMotionListener(this);\n"
}
] | 2008/08/29 | [
"https://Stackoverflow.com/questions/33708",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/61/"
] |
33,720 | <p>How would I change the initial templates created by Xcode when creating a new Cocoa Class.</p>
<p>I am referring to the comments and class name created when using Xcode's new class wizard.</p>
| [
{
"answer_id": 33743,
"author": "Chris Hanson",
"author_id": 714,
"author_profile": "https://Stackoverflow.com/users/714",
"pm_score": 8,
"selected": true,
"text": "/Developer Library/Application Support ~/Library/Application Support/Developer/Shared/Xcode/File Templates/ ~/Library/Appli... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33720",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3467/"
] |
33,739 | <p>Does anyone know how to debug <code>JSP</code> in <strong>IntelliJ</strong> IDEA?</p>
<p>When I set breakpoint in my <code>JSP</code> files, those breakpoints never seem to take effect. The debugger never hits them. IDEA seems to think that the breakpoints are valid. I do see a red dot placed to the left of the lin... | [
{
"answer_id": 23781314,
"author": "ccpizza",
"author_id": 191246,
"author_profile": "https://Stackoverflow.com/users/191246",
"pm_score": 5,
"selected": false,
"text": "localhost"
},
{
"answer_id": 35792469,
"author": "Romeo Frenksen",
"author_id": 6017489,
"author_p... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33739",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
33,746 | <p>At work we are being asked to create XML files to pass data to another offline application that will then create a second XML file to pass back in order to update some of our data. During the process we have been discussing with the team of the other application about the structure of the XML file. </p>
<p>The samp... | [
{
"answer_id": 33757,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 8,
"selected": true,
"text": " <ITEM serialNumber=\"something\">\n <BARCODE encoding=\"Code39\">something</BARCODE>\n <LOCATION>XYX</LOCATION>\n ... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33746",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3340/"
] |
33,751 | <p>I would like to add the following MIME type to a site run by <code>Apache</code>:</p>
<pre><code><mime-mapping>
<extension>jnlp</extension>
<mime-type>application/x-java-jnlp-file</mime-type>
</mime-mapping>
</code></pre>
<p><strong>That is the Tomcat format.</strong></p>
<... | [
{
"answer_id": 33762,
"author": "Ryan Guest",
"author_id": 1811,
"author_profile": "https://Stackoverflow.com/users/1811",
"pm_score": 2,
"selected": false,
"text": "AddType application/x-java-jnlp-file .jnlp\n"
},
{
"answer_id": 33767,
"author": "Jörg W Mittag",
"aut... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33751",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/338/"
] |
33,761 | <p>Using C# and System.Data.SqlClient, is there a way to retrieve a list of parameters that belong to a stored procedure on a SQL Server before I actually execute it?</p>
<p>I have an a "multi-environment" scenario where there are multiple versions of the same database schema. Examples of environments might be "Develo... | [
{
"answer_id": 33772,
"author": "Joshua Hayworth",
"author_id": 2049,
"author_profile": "https://Stackoverflow.com/users/2049",
"pm_score": 2,
"selected": false,
"text": "SqlCommandBuilder.DeriveParameters(command)\n Public Sub GetLogEntriesForApplication(ByVal settings As FilterSettings... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33761",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2049/"
] |
33,768 | <p>I run Flex Builder 3 on a mac and as my project grows - the compile time gets longer and longer and longer. I am using some SWC's and there is a fair amount of code but it shouldn't take minutes to build and crash daily should it?</p>
| [
{
"answer_id": 34017,
"author": "jcsalterego",
"author_id": 1416,
"author_profile": "https://Stackoverflow.com/users/1416",
"pm_score": 0,
"selected": false,
"text": "mxmlc optimize=false mxmlc"
},
{
"answer_id": 34583,
"author": "Theo",
"author_id": 1109,
"author_pro... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33768",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3435/"
] |
33,778 | <p>One of my co-workers checked in a some files in SVN and one of the files has a password in it. The password has been removed from the file and a new version checked in but the password is obviously still in the repository if we look at the revision history and go to that revision. (We're using TortoiseSVN as the cli... | [
{
"answer_id": 56724,
"author": "Sam Hasler",
"author_id": 2541,
"author_profile": "https://Stackoverflow.com/users/2541",
"pm_score": 2,
"selected": false,
"text": "db\\revs db\\revprops #!/usr/bin/python\n\ndef dec_to_36(dec):\n key = '0123456789abcdefghijklmnopqrstuvwxyz'\n result =... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33778",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1463/"
] |
33,779 | <p>Does anyone know of a powershell cmdlet out there for automating task scheduler in XP/2003? If you've ever tried to work w/ schtasks you know it's pretty painful.</p>
| [
{
"answer_id": 33817,
"author": "Matt Hamilton",
"author_id": 615,
"author_profile": "https://Stackoverflow.com/users/615",
"pm_score": 2,
"selected": false,
"text": "$svc = new-object -com Schedule.Service\n $svc | get-member\n"
}
] | 2008/08/29 | [
"https://Stackoverflow.com/questions/33779",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1635/"
] |
33,790 | <p>I am currently using the following command to upload my site content:</p>
<pre><code>scp -r web/* user@site.com:site.com/
</code></pre>
<p>This works great except that the .htaccess file is not sent. Presumably, this is because it's hidden.</p>
<p>I have tried adding a second line to send the file explicitely:</p... | [
{
"answer_id": 33791,
"author": "dF.",
"author_id": 3002,
"author_profile": "https://Stackoverflow.com/users/3002",
"pm_score": 4,
"selected": true,
"text": "scp -r web/* web/.htaccess user@site.com:site.com/\n"
},
{
"answer_id": 33803,
"author": "Kyle Cronin",
"author_id... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33790",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/338/"
] |
33,813 | <p>I noticed that many people here use <a href="http://macromates.com/" rel="nofollow noreferrer">TextMate</a> for coding on OS X. I've recently started using it, and although I like its minimalistic interface, it makes it harder to stumble upon cool features if you don't know what you're looking for.</p>
<p>So, what ... | [
{
"answer_id": 36316,
"author": "jlleblanc",
"author_id": 586,
"author_profile": "https://Stackoverflow.com/users/586",
"pm_score": 6,
"selected": true,
"text": "diff file1.py file2.py | mate\n"
},
{
"answer_id": 248289,
"author": "feoh",
"author_id": 32514,
"author_p... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33813",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3002/"
] |
33,814 | <p>I'm writing a PHP script that involves scraping web pages. Currently, the script analyzes the page line by line, but it breaks if there is a tag that spans multiple lines, like </p>
<pre><code><img src="example.jpg"
alt="example">
</code></pre>
<p>If worse comes to worst, I could possibly preprocess the page... | [
{
"answer_id": 34614,
"author": "Factor Mystic",
"author_id": 1569,
"author_profile": "https://Stackoverflow.com/users/1569",
"pm_score": 2,
"selected": true,
"text": "rstrpos for($i=0; $i<count($lines); $i++)\n{\n $line = handle_mulitline_tags(&$i, $line, $lines);\n}\n function rstrp... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33814",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1569/"
] |
33,822 | <p>Every time I turn on my company-owned development machine, I have to kill 10+ processes using the Task Manager or any other process management app just to get decent performance out of my IDE. Yes, these are processes from programs that my company installs on my machine for security and compliance. What I'd like to... | [
{
"answer_id": 33828,
"author": "DevelopingChris",
"author_id": 1220,
"author_profile": "https://Stackoverflow.com/users/1220",
"pm_score": 7,
"selected": false,
"text": "taskkill /f /im \"devenv.exe\"\n"
},
{
"answer_id": 33831,
"author": "Factor Mystic",
"author_id": 15... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33822",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3030/"
] |
33,829 | <p>I have an application which <em>really</em> should be installed, but does work fine when deployed using JNLP.</p>
<p>However, it would seem that some Java functions such as <code>Runtime.exec</code> don't work using the default security options.</p>
<p>I would like to therefore <a href="http://www.joelonsoftware.c... | [
{
"answer_id": 33851,
"author": "Frank Krueger",
"author_id": 338,
"author_profile": "https://Stackoverflow.com/users/338",
"pm_score": 1,
"selected": false,
"text": "<security>\n <all-permissions/>\n</security>\n Runtime.exec"
}
] | 2008/08/29 | [
"https://Stackoverflow.com/questions/33829",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/338/"
] |
33,836 | <p>This is a follow on question to "<a href="https://stackoverflow.com/questions/33778/how-do-i-delete-1-file-from-a-revision-in-svn">How do I delete 1 file from a revision in SVN?</a>" but because it probably has a very different answer and I believe that others would benefit from knowing the answer. (I don't know the... | [
{
"answer_id": 33862,
"author": "Damien B",
"author_id": 3069,
"author_profile": "https://Stackoverflow.com/users/3069",
"pm_score": 3,
"selected": true,
"text": "svn log -v [folder]\n ------------------------------------------------------------------------\nr14 | kame | 2008-08-29 04:23... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33836",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1463/"
] |
33,837 | <p>I have a page where there is a column and a content div, somewhat like this:</p>
<pre><code><div id="container">
<div id="content">blahblahblah</div>
<div id="column"> </div>
</div>
</code></pre>
<p>With some styling I have an image that is split between the column and t... | [
{
"answer_id": 33854,
"author": "Ricky",
"author_id": 653,
"author_profile": "https://Stackoverflow.com/users/653",
"pm_score": 3,
"selected": true,
"text": "var divCol = document.getElementById('column');\ndivCol.style.display = 'none';\ndivCol.style.display = 'block';\n"
},
{
"... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33837",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/364/"
] |
33,852 | <p>Most of time we represent concepts which can never be less than 0. For example to declare length, we write:</p>
<pre><code>int length;
</code></pre>
<p>The name expresses its purpose well but you can assign negative values to it. It seems that for some situations, you can represent your intent more clearly by writ... | [
{
"answer_id": 33858,
"author": "Dan Herbert",
"author_id": 392,
"author_profile": "https://Stackoverflow.com/users/392",
"pm_score": 3,
"selected": false,
"text": "int uint int long"
},
{
"answer_id": 34008,
"author": "Eric Burnett",
"author_id": 3524,
"author_profil... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33852",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/718/"
] |
33,860 | <p>In Ruby on Rails, I'm attempting to update the <code>innerHTML</code> of a div tag using the <code>form_remote_tag</code> helper. This update happens whenever an associated select tag receives an onchange event. The problem is, <code><select onchange="this.form.submit();"></code>; doesn't work. Nor does <co... | [
{
"answer_id": 33879,
"author": "FlySwat",
"author_id": 1965,
"author_profile": "https://Stackoverflow.com/users/1965",
"pm_score": 2,
"selected": false,
"text": "id document.getElementById('formid').submit();\n div innerHTML"
},
{
"answer_id": 33941,
"author": "Orion Edwards... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33860",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3499/"
] |
33,881 | <p>I always run into the same problem when creating web pages. When I add a font that is larger then about 16-18px it looks terrible. Its jagged, and pixelated. I have tried using different fonts and weights, however I haven't had much luck there. </p>
<p>Note: Its only in windows that it is like this. Mainly in Opera... | [
{
"answer_id": 316867,
"author": "Jack Ryan",
"author_id": 28882,
"author_profile": "https://Stackoverflow.com/users/28882",
"pm_score": 2,
"selected": true,
"text": "<style>\n h1\n {\n height: 32px;\n width: 100px;\n background: url(\"path/to/image\")\n }\n... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33881",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1925/"
] |
33,893 | <p>In my (PHP) web app, I have a part of my site that keeps a history of recent searches. The most recent queries get shown in a side box. If the query text is too long, I truncate it and show ellipses. Eg: "My very long query is..."</p>
<p>Currently, I truncate after a certain number of characters. Since the font is ... | [
{
"answer_id": 33899,
"author": "Orion Edwards",
"author_id": 234,
"author_profile": "https://Stackoverflow.com/users/234",
"pm_score": 2,
"selected": false,
"text": "div overflow: hidden .line_of_text {\n height:1.3em;\n line-height:1.3em;\n overflow:hidden;\n}\n\n<div class=\"... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33893",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/356/"
] |
33,923 | <p>Whilst starting to learn lisp, I've come across the term <em>tail-recursive</em>. What does it mean exactly?</p>
| [
{
"answer_id": 33929,
"author": "Peter Meyer",
"author_id": 1875,
"author_profile": "https://Stackoverflow.com/users/1875",
"pm_score": 6,
"selected": false,
"text": "factorial(x, fac=1) {\n if (x == 1)\n return fac;\n else\n return factorial(x-1, x*fac);\n}\n factorial(n) fac... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33923",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2045/"
] |
33,933 | <p>I have the following <code>textarea</code> in a <code>table</code>:</p>
<pre><code><table width="300"><tr><td>
<textarea style="width:100%">
longstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstringlongstring
</textarea>
... | [
{
"answer_id": 33936,
"author": "Jiaaro",
"author_id": 2908,
"author_profile": "https://Stackoverflow.com/users/2908",
"pm_score": 0,
"selected": false,
"text": "overflow: hidden;"
},
{
"answer_id": 33938,
"author": "Peter Meyer",
"author_id": 1875,
"author_profile": ... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33933",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2749/"
] |
33,956 | <p>Assume that I have a field called <em>price</em> for the documents in Solr and I have that field faceted. I want to get the facets as ranges of values (eg: 0-100, 100-500, 500-1000, etc). How to do it?</p>
<p>I can specify the ranges beforehand, but I also want to know whether it is possible to calculate the ranges... | [
{
"answer_id": 34027,
"author": "erickson",
"author_id": 3474,
"author_profile": "https://Stackoverflow.com/users/3474",
"pm_score": 2,
"selected": false,
"text": "Filter FilteredQuery Query FieldCache"
},
{
"answer_id": 170477,
"author": "Mauricio Scheffer",
"author_id":... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33956",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1448/"
] |
33,969 | <p>We're experimenting with various ways to throttle user actions in a <strong>given time period</strong>:</p>
<ul>
<li>Limit question/answer posts</li>
<li>Limit edits</li>
<li>Limit feed retrievals</li>
</ul>
<p>For the time being, we're using the Cache to simply insert a record of user activity - if that record ex... | [
{
"answer_id": 584689,
"author": "notandy",
"author_id": 4221,
"author_profile": "https://Stackoverflow.com/users/4221",
"pm_score": 6,
"selected": false,
"text": "X requests in Y milliseconds X concurrent connections in Y milliseconds Y milliseconds"
},
{
"answer_id": 1318059,
... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33969",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3/"
] |
33,978 | <p>How would you go about finding out how much memory is being used by an object? I know it is possible to find out how much is used by a block of code, but not by an instantiated object (anytime during its life), which is what I want. </p>
| [
{
"answer_id": 19865746,
"author": "Uzer",
"author_id": 1732607,
"author_profile": "https://Stackoverflow.com/users/1732607",
"pm_score": 8,
"selected": false,
"text": "sys.getsizeof(object)\n __sizeof__"
},
{
"answer_id": 20906366,
"author": "rafaelvalle",
"author_id": 3... | 2008/08/29 | [
"https://Stackoverflow.com/questions/33978",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3119/"
] |
34,015 | <p>How can you allow a PHP script to write to a file with high-security restrictions, such as only allowing a single user to write to it?</p>
<p>The difficulty seems to be that a PHP script is running as a low-permissions user (maybe apache, or www, or nobody?), and even if I <code>chown</code> apache the_writable_fil... | [
{
"answer_id": 34018,
"author": "hoyhoy",
"author_id": 3499,
"author_profile": "https://Stackoverflow.com/users/3499",
"pm_score": 0,
"selected": false,
"text": "chgrp apache the_writable_file chmod g+w the_writable_file"
},
{
"answer_id": 34058,
"author": "Jiaaro",
"auth... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34015",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3561/"
] |
34,020 | <p>A reliable coder friend told me that Python's current multi-threading implementation is seriously buggy - enough to avoid using altogether. What can said about this rumor?</p>
| [
{
"answer_id": 34078,
"author": "Daren Thomas",
"author_id": 2260,
"author_profile": "https://Stackoverflow.com/users/2260",
"pm_score": 3,
"selected": false,
"text": "processing import multiprocessing"
}
] | 2008/08/29 | [
"https://Stackoverflow.com/questions/34020",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3561/"
] |
34,065 | <p>Given the key for some registry value (e.g. HKEY_LOCAL_MACHINE\blah\blah\blah\foo) how can I:</p>
<ol>
<li>Safely determine that such a key exists.</li>
<li>Programmatically (i.e. with code) get its value.</li>
</ol>
<p>I have absolutely no intention of writing anything back to the registry (for the duration of my... | [
{
"answer_id": 34082,
"author": "Gishu",
"author_id": 1695,
"author_profile": "https://Stackoverflow.com/users/1695",
"pm_score": 3,
"selected": false,
"text": "const CString REG_SW_GROUP_I_WANT = _T(\"SOFTWARE\\\\My Corporation\\\\My Package\\\\Group I want\");\nconst CString REG_KEY_I_... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34065",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3551/"
] |
34,079 | <p>What's the best way to specify a proxy with username and password for an http connection in python?</p>
| [
{
"answer_id": 34116,
"author": "bernhardrusch",
"author_id": 3056,
"author_profile": "https://Stackoverflow.com/users/3056",
"pm_score": 6,
"selected": false,
"text": "import urllib2\n\nproxy = urllib2.ProxyHandler({'http': 'http://\nusername:password@proxyurl:proxyport'})\nauth = urlli... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34079",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3573/"
] |
34,087 | <pre><code><xsl:for-each select="./node [position() &lt;= (count(*) div 2)]">
<li>foo</li>
</xsl:for-each>
<xsl:for-each select="./node [count(*) div 2 &lt; position()]">
<li>bar</li>
</xsl:for-each>
</code></pre>
<p>My list has 12 nodes, but the second l... | [
{
"answer_id": 34111,
"author": "A. Rex",
"author_id": 3508,
"author_profile": "https://Stackoverflow.com/users/3508",
"pm_score": 0,
"selected": false,
"text": "count(*) last()"
},
{
"answer_id": 34114,
"author": "jelovirt",
"author_id": 2679,
"author_profile": "http... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34087",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1786/"
] |
34,093 | <p>I want to apply an XSLT Stylesheet to an XML Document using C# and write the output to a File.</p>
| [
{
"answer_id": 34095,
"author": "Daren Thomas",
"author_id": 2260,
"author_profile": "https://Stackoverflow.com/users/2260",
"pm_score": 9,
"selected": true,
"text": "XPathDocument myXPathDoc = new XPathDocument(myXmlFile) ;\nXslTransform myXslTrans = new XslTransform() ;\nmyXslTrans.Loa... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34093",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2260/"
] |
34,125 | <p>It seems to me that it would work perfectly well to do tail-recursion optimization in both C and C++, yet while debugging I never seem to see a frame stack that indicates this optimization. That is kind of good, because the stack tells me how deep the recursion is. However, the optimization would be kind of nice as ... | [
{
"answer_id": 34129,
"author": "Konrad Rudolph",
"author_id": 1968,
"author_profile": "https://Stackoverflow.com/users/1968",
"pm_score": 8,
"selected": true,
"text": "int bar(int, int);\n\nint foo(int n, int acc) {\n return (n == 0) ? acc : bar(n - 1, acc + 2);\n}\n\nint bar(int n, ... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34125",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2971/"
] |
34,126 | <p>I see 2 main ways to set events in JavaScript:</p>
<ol>
<li><p>Add an event directly inside the tag like this:</p>
<p><code><a href="" onclick="doFoo()">do foo</a></code></p></li>
<li><p>Set them by JavaScript like this:</p>
<p><code><a id="bar" href="">do bar</a></code></p></li>
</ol>
<p... | [
{
"answer_id": 34130,
"author": "Polsonby",
"author_id": 137,
"author_profile": "https://Stackoverflow.com/users/137",
"pm_score": 0,
"selected": false,
"text": "window.onload = function () {\n init();\n}\nfunction init() {\n // actual function calls go here\n doFoo();\n}\n onDO... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34126",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3122/"
] |
34,144 | <p>I would like to know which dependency described in my pom.xml brings a transitive dependency in my target directory.</p>
<p>To be more precise, I have the library "poi-2.5.1-final-20040804.jar" in my WEB-INF/lib directory and I would like to know which dependency in my pom.xml brings that.</p>
| [
{
"answer_id": 34156,
"author": "David Crow",
"author_id": 2783,
"author_profile": "https://Stackoverflow.com/users/2783",
"pm_score": 6,
"selected": false,
"text": "mvn dependency:tree\n"
},
{
"answer_id": 34167,
"author": "A. Rex",
"author_id": 3508,
"author_profile... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34144",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3122/"
] |
34,151 | <p>Is the following safe?</p>
<p>I am new to threading and I want to delegate a time consuming process to a separate thread in my C++ program.
Using the boost libraries I have written code something like this:</p>
<p>thrd = new boost::thread(boost::bind(&myclass::mymethod, this, &finished_flag);</p>
<p>Where... | [
{
"answer_id": 34174,
"author": "roo",
"author_id": 716,
"author_profile": "https://Stackoverflow.com/users/716",
"pm_score": 3,
"selected": false,
"text": "condition condition condition thread thread.timed_join timed_join"
},
{
"answer_id": 69570,
"author": "bk1e",
"auth... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34151",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
34,155 | <p>I'm trying to grasp the concept of continuations and I found several small teaching examples like this one from the <a href="http://en.wikipedia.org/wiki/Continuation" rel="noreferrer">Wikipedia article</a>:</p>
<pre><code>(define the-continuation #f)
(define (test)
(let ((i 0))
; call/cc calls its first fun... | [
{
"answer_id": 34327,
"author": "Sébastien RoccaSerra",
"author_id": 2797,
"author_profile": "https://Stackoverflow.com/users/2797",
"pm_score": 3,
"selected": false,
"text": "WAComponent >> call: aComponent\n \"Pass control from the receiver to aComponent. The receiver will be\n t... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34155",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2797/"
] |
34,161 | <p>I have the following situation: I built an Access form with a subform (which records are linked to the records of main form via certain key). When I try to delete any record in the subform, I get the following message: “Access has suspended the action because you and another user tried to change the data” (approxima... | [
{
"answer_id": 34172,
"author": "samjudson",
"author_id": 1908,
"author_profile": "https://Stackoverflow.com/users/1908",
"pm_score": 2,
"selected": true,
"text": "DoCmd.RunCommand acCmdUndo\n"
}
] | 2008/08/29 | [
"https://Stackoverflow.com/questions/34161",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2717/"
] |
34,182 | <p>I need to read from a variety of different text files (I've some delimited files and some fixed width files). I've considered parsing the files line by line (slow using the File.ReadLine type methods) and reading the file using the ODBC text driver (faster) but does anyone have any other (better) suggestions? I'm us... | [
{
"answer_id": 34250,
"author": "ljs",
"author_id": 3394,
"author_profile": "https://Stackoverflow.com/users/3394",
"pm_score": 1,
"selected": false,
"text": "using System.IO;\n\n...\n\npublic class Program {\n public static void Main() {\n foreach(string s in File.ReadAllLines(@\"c:... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34182",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1826/"
] |
34,183 | <p>I'm trying to run a batch file, as another user, from my web app. For some reason, the batch file hangs! I can see "cmd.exe" running in the task manager, but it just sits there forever, unable to be killed, and the batch file is not running. Here's my code:</p>
<pre><code>SecureString password = new SecureString();... | [
{
"answer_id": 34191,
"author": "Martin Marconcini",
"author_id": 2684,
"author_profile": "https://Stackoverflow.com/users/2684",
"pm_score": 2,
"selected": false,
"text": "Path.Combine( Environment.SystemDirectory, \"cmd.exe\" );\n"
},
{
"answer_id": 34193,
"author": "Biri",... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34183",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2527/"
] |
34,194 | <p>Where can I find some good pointers on best practices for running ASP.NET MVC on IIS6?</p>
<p>I haven't seen any realistic options for web-hosts who provide IIS7-hosting yet. Mostly because I don't live in the U.S.</p>
<p>So I was wondering on how you best build applications in ASP.NET MVC and make it easily avail... | [
{
"answer_id": 316015,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 5,
"selected": true,
"text": "routes.MapRoute(\n \"Default\", // Route name\n \"{controller}.aspx/{action}... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34194",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2429/"
] |
34,204 | <p>How do I get the latest version of my solution recursively like its done in the solution explorer context menu of Visual Studio? I want to do this from the command line or via a macro. I'm trying to automate a part of my daily routine by using a set of batch files. I am sure a lot of developers would love to have so... | [
{
"answer_id": 185256,
"author": "tbreffni",
"author_id": 637,
"author_profile": "https://Stackoverflow.com/users/637",
"pm_score": 3,
"selected": true,
"text": "TeamFoundationServer tfs = TeamFoundationServerFactory.GetServer(\"MyServer\");\nVersionControlServer vcs = (VersionControlSer... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34204",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45603/"
] |
34,209 | <p>In the transition to newforms admin I'm having difficulty figuring out how specify core=False for ImageFields.</p>
<p>I get the following error:</p>
<pre><code>TypeError: __init__() got an unexpected keyword argument 'core'
</code></pre>
<p>[Edit] However, by just removing the core argument I get a "This field is... | [
{
"answer_id": 35089,
"author": "Dan",
"author_id": 444,
"author_profile": "https://Stackoverflow.com/users/444",
"pm_score": 2,
"selected": false,
"text": "core core"
}
] | 2008/08/29 | [
"https://Stackoverflow.com/questions/34209",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3594/"
] |
34,227 | <p>I am familiar with several approaches to making the back button work in AJAX applications in various situations, but I have not found a solution that will work gracefully in my specific scenario.</p>
<p>The pages I am working with are the search interface for a site. You enter terms in a normal search box, click "... | [
{
"answer_id": 271114,
"author": "J.C. Inacio",
"author_id": 35292,
"author_profile": "https://Stackoverflow.com/users/35292",
"pm_score": 0,
"selected": false,
"text": "{\"ajaxcache\":[{\"token\":<token>,\"time\":<time>,\"data\":<data>}, ... ]}\n"
}
] | 2008/08/29 | [
"https://Stackoverflow.com/questions/34227",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2168/"
] |
34,249 | <p>What's the best (halting) algorithm for determining if a linked list has a cycle in it?</p>
<p>[Edit] Analysis of asymptotic complexity for both time and space would be sweet so answers can be compared better.</p>
<p>[Edit] Original question was not addressing nodes with outdegree > 1, but there's some talk about ... | [
{
"answer_id": 34255,
"author": "DrPizza",
"author_id": 2131,
"author_profile": "https://Stackoverflow.com/users/2131",
"pm_score": 7,
"selected": true,
"text": "node* tortoise(begin), * hare(begin);\nwhile(hare = hare->next)\n{\n if(hare == tortoise) { throw std::logic_error(\"There'... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34249",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3594/"
] |
34,284 | <p>I get the following error when building my Windows Forms solution: </p>
<blockquote>
<p>"LC.exe" exited with code -1</p>
</blockquote>
<p>I use two commercial Windows Forms Libraries: Infragistics and the Gantt-Control from plexityhide.com, that's why I have licenses.licx files in my WinForms Projects. We also u... | [
{
"answer_id": 34310,
"author": "Timbo",
"author_id": 1810,
"author_profile": "https://Stackoverflow.com/users/1810",
"pm_score": 2,
"selected": false,
"text": "x.y.z.*"
},
{
"answer_id": 6531709,
"author": "rahul chavan",
"author_id": 822597,
"author_profile": "https... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34284",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3353/"
] |
34,286 | <p>I'm looking for a way to visually mark or tag a window (any OS) so that it stands out.</p>
<p>A while back, I accidentally replaced a live production database containing thousands of records with an empty dev version, simply because the two instances of Enterprise Manager looked identical to one another. I'd like t... | [
{
"answer_id": 34302,
"author": "Greg Hewgill",
"author_id": 893,
"author_profile": "https://Stackoverflow.com/users/893",
"pm_score": 0,
"selected": false,
"text": "root"
}
] | 2008/08/29 | [
"https://Stackoverflow.com/questions/34286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45603/"
] |
34,301 | <p>At work, we have multiple branches that we may be working on at any time.
Our solution so far as been to create multiple web-sites but you can only run one web-site at a time. This makes switching between branches more of a pain that in should be. </p>
<p>I just want to go to the URL, mapped in my hosts file, for ... | [
{
"answer_id": 34323,
"author": "Espo",
"author_id": 2257,
"author_profile": "https://Stackoverflow.com/users/2257",
"pm_score": 0,
"selected": false,
"text": "Request.ServerVariables[\"SERVER-NAME\"]"
}
] | 2008/08/29 | [
"https://Stackoverflow.com/questions/34301",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/854/"
] |
34,312 | <p>I was wondering if anyone that has experience in both this stuff can shed some light on the <em>significant</em> difference between the two if any?</p>
<p>Any specific strength of each that makes it suitable for any specific case?</p>
| [
{
"answer_id": 4534779,
"author": "T0xicCode",
"author_id": 142020,
"author_profile": "https://Stackoverflow.com/users/142020",
"pm_score": 2,
"selected": false,
"text": "pear upgrade"
},
{
"answer_id": 8715966,
"author": "edorian",
"author_id": 285578,
"author_profil... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34312",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2976/"
] |
34,365 | <p>Here's a wierd one. I'm reusing a code base that unfortunately must not be updated. This code makes a call to <code>HttpContext.Current.Request.QueryString</code>. Ideally, I need to push a value into this collection with every request that is made. Is this possible - perhaps in an HTTP Module?</p>
| [
{
"answer_id": 34375,
"author": "Espo",
"author_id": 2257,
"author_profile": "https://Stackoverflow.com/users/2257",
"pm_score": 4,
"selected": true,
"text": "context.RewritePath(context.Request.Path, context.Request.PathInfo, newQueryStringHere!);\n"
}
] | 2008/08/29 | [
"https://Stackoverflow.com/questions/34365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1735/"
] |
34,390 | <p>Since there are no header sections for user controls in asp.net, user controls have no way of knowing about stylesheet files. So css classes in the user controls are not recognized by visual studio and produces warnings. How can I make a user control know that it will relate to a css class, so if it is warning me ab... | [
{
"answer_id": 34502,
"author": "Adam Lassek",
"author_id": 1249,
"author_profile": "https://Stackoverflow.com/users/1249",
"pm_score": 7,
"selected": true,
"text": "<link rel=\"Stylesheet\" type=\"text/css\" href=\"Stylesheet.css\" id=\"style\" runat=\"server\" visible=\"false\" />\n <%... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34390",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31505/"
] |
34,394 | <p>How would you programmacially abbreviate <code>XHTML</code> to an arbitrary number of words without leaving unclosed or corrupted tags?</p>
<p>i.e.</p>
<pre><code><p>
Proin tristique dapibus neque. Nam eget purus sit amet leo
tincidunt accumsan.
</p>
<p>
Proin semper, orci at mattis b... | [
{
"answer_id": 34502,
"author": "Adam Lassek",
"author_id": 1249,
"author_profile": "https://Stackoverflow.com/users/1249",
"pm_score": 7,
"selected": true,
"text": "<link rel=\"Stylesheet\" type=\"text/css\" href=\"Stylesheet.css\" id=\"style\" runat=\"server\" visible=\"false\" />\n <%... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34394",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3187/"
] |
34,395 | <p>I would like to put a string into a byte array, but the string may be too big to fit. In the case where it's too large, I would like to put as much of the string as possible into the array. Is there an efficient way to find out how many characters will fit?</p>
| [
{
"answer_id": 34431,
"author": "otsdr",
"author_id": 321238,
"author_profile": "https://Stackoverflow.com/users/321238",
"pm_score": 4,
"selected": true,
"text": "static string Truncate(string s, int maxLength) {\n if (Encoding.UTF8.GetByteCount(s) <= maxLength)\n return s;\n ... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34395",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2348/"
] |
34,398 | <p>I have a new database table I need to create...<br>
It logically contains an <code>ID</code>, a <code>name</code>, and a <code>"value"</code>.<br>
That value field could be either numeric or a character string in nature. </p>
<p>I don't think I want to just make the field a <code>varchar</code>, because I also wan... | [
{
"answer_id": 34406,
"author": "jason saldo",
"author_id": 1293,
"author_profile": "https://Stackoverflow.com/users/1293",
"pm_score": 0,
"selected": false,
"text": "Table: (ValueLable as char(x), Value as numerica(p,s))\n"
},
{
"answer_id": 34408,
"author": "Ryan Ahearn",
... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34398",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/404/"
] |
34,399 | <p>I have an html file with an unordered list. I want to show the list items horizontally but still keep the bullets. No matter what I try, whenever I set the style to inline to meet the horizontal requirement I can't get the bullets to display.</p>
| [
{
"answer_id": 34427,
"author": "Erik van Brakel",
"author_id": 909,
"author_profile": "https://Stackoverflow.com/users/909",
"pm_score": 1,
"selected": false,
"text": "float: left <li/> <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n \"http://www.w3.org... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34399",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3043/"
] |
34,401 | <p>Is anyone using Elmah to send exceptions via email? I've got Elmah logging set up via SQL Server, and can view the errors page via the Elmah.axd page, but I am unable to get the email component working. The idea here is to get the email notification so we can react more quickly to exceptions. Here is my web.config (... | [
{
"answer_id": 34435,
"author": "TonyB",
"author_id": 3543,
"author_profile": "https://Stackoverflow.com/users/3543",
"pm_score": 7,
"selected": true,
"text": "<add name=\"ErrorMail\" type=\"Elmah.ErrorMailModule, Elmah\" />\n"
},
{
"answer_id": 7254040,
"author": "Anand Pate... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34401",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1284/"
] |
34,411 | <p>I always tend to forget these built-in <strong>Symfony</strong> functions for making links.</p>
| [
{
"answer_id": 36026,
"author": "jamz",
"author_id": 3734,
"author_profile": "https://Stackoverflow.com/users/3734",
"pm_score": 4,
"selected": true,
"text": "recent_questions:\n url: questions/recent/:page\n param: { module: questions, action: recent, page: 1 }\n url_for() <a hr... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34411",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2108/"
] |
34,413 | <p>I am getting a <code>NoClassDefFoundError</code> when I run my Java application. What is typically the cause of this?</p>
| [
{
"answer_id": 34444,
"author": "shsteimer",
"author_id": 292,
"author_profile": "https://Stackoverflow.com/users/292",
"pm_score": 5,
"selected": false,
"text": "set classpath=%classpath%;axis.jar\n set classpath=axis.jar;%classpath%;\n"
},
{
"answer_id": 5756989,
"author": ... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34413",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3535/"
] |
34,439 | <p>Given a Python object of any kind, is there an easy way to get the list of all methods that this object has?</p>
<p>Or,</p>
<p>if this is not possible, is there at least an easy way to check if it has a particular method other than simply checking if an error occurs when the method is called?</p>
| [
{
"answer_id": 34452,
"author": "ljs",
"author_id": 3394,
"author_profile": "https://Stackoverflow.com/users/3394",
"pm_score": 10,
"selected": true,
"text": "object_methods = [method_name for method_name in dir(object)\n if callable(getattr(object, method_name))]\n Attr... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34439",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3587/"
] |
34,476 | <p>I have to do some JavaScript in the future, so it is time to update my toolbox. Right now I use Firefox with some addons:</p>
<ul>
<li>JavaScript Shell from <a href="https://www.squarefree.com/bookmarklets/webdevel.html" rel="nofollow noreferrer">https://www.squarefree.com/bookmarklets/webdevel.html</a></li>
<li>Fi... | [
{
"answer_id": 34525,
"author": "Sébastien RoccaSerra",
"author_id": 2797,
"author_profile": "https://Stackoverflow.com/users/2797",
"pm_score": 2,
"selected": false,
"text": "var window;\nload(\"Library/env.js\");\nwindow.location = 'index.html'; // Load the page 'index.html'\n\nprint($... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34476",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/720/"
] |
34,486 | <p>I have a small JS function that does Ajax for me and another like it that adds in POST data to the request. With Ajax being such a big topic with so many libraries about it, what am I missing from my function, is it insecure or something else worrying?</p>
<pre><code>function loadPage(pagePath, displayElement)
{
... | [
{
"answer_id": 34539,
"author": "Patrick McElhaney",
"author_id": 437,
"author_profile": "https://Stackoverflow.com/users/437",
"pm_score": 3,
"selected": false,
"text": "alert(\"Your browser does not support AJAX!\")\n"
},
{
"answer_id": 34714,
"author": "Lee Theobald",
... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34486",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1384652/"
] |
34,490 | <p><a href="http://en.wikipedia.org/wiki/SHA-1" rel="noreferrer">SHA Hash functions</a></p>
| [
{
"answer_id": 34514,
"author": "devstopfix",
"author_id": 3366,
"author_profile": "https://Stackoverflow.com/users/3366",
"pm_score": 10,
"selected": true,
"text": "require 'digest/sha1'\nDigest::SHA1.hexdigest 'foo'\n"
},
{
"answer_id": 5269105,
"author": "r4ccoon",
"au... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34490",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3624/"
] |
34,493 | <p>We have a few very large Excel workbooks (dozens of tabs, over a MB each, very complex calculations) with many dozens, perhaps hundreds of formulas that use the dreaded INDIRECT function. These formulas are spread out throughout the workbook, and target several tables of data to look-up for values.</p>
<p>Now I nee... | [
{
"answer_id": 34719,
"author": "sdfx",
"author_id": 3445,
"author_profile": "https://Stackoverflow.com/users/3445",
"pm_score": 4,
"selected": true,
"text": "Sub iterateOverWorkbook()\nFor Each i In ThisWorkbook.Worksheets\n Set rRng = i.UsedRange\n For Each j In rRng\n If ... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34493",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2230/"
] |
34,505 | <p>The MSDN documentation on <a href="http://msdn.microsoft.com/en-us/library/system.object.gethashcode.aspx" rel="noreferrer">Object.GetHashCode()</a> describes 3 contradicting rules for how the method should work. </p>
<ol>
<li>If two objects of the same type represent the same value, the hash function must return ... | [
{
"answer_id": 34541,
"author": "Konrad Rudolph",
"author_id": 1968,
"author_profile": "https://Stackoverflow.com/users/1968",
"pm_score": 6,
"selected": true,
"text": "struct Person {\n public readonly string FirstName;\n public readonly string Name;\n public readonly DateTime ... | 2008/08/29 | [
"https://Stackoverflow.com/questions/34505",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/392/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.