qid int64 4 22.2M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
334,770 | <p>I am trying to make a Kiosk application more accessible by increasing the size of fonts.<br>
No problem on the main Form.<br>
I'm having a problem replacing MessageBoxes (for which I believe there is no way to increase the font size) with small forms with the same message.</p>
<p>This is where I'm running into the ... | [
{
"answer_id": 334785,
"author": "Rob Prouse",
"author_id": 30827,
"author_profile": "https://Stackoverflow.com/users/30827",
"pm_score": 2,
"selected": false,
"text": "ErrorForm errorFrm = new ErrorForm();\nerrorFrm.Show();\n"
},
{
"answer_id": 334792,
"author": "Patrick Des... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334770",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42524/"
] |
334,774 | <p>I'm not sure, will the visual c ++ compiler express edition work for compiling c and if not can someone link me to an easy c compiler to use. Thanks in advance.</p>
| [
{
"answer_id": 334789,
"author": "Michael Burr",
"author_id": 12711,
"author_profile": "https://Stackoverflow.com/users/12711",
"pm_score": 3,
"selected": false,
"text": ".c"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/334774",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/33061/"
] |
334,776 | <p>I am writing a set of database-driven applications in PHP. These applications will run on a Linux server as its own user. Other users will likely be on the system at times, but have very controlled access. Other servers they will not have access to at all. I will also expose a limit stored procedure API to devel... | [
{
"answer_id": 334929,
"author": "Bill Karwin",
"author_id": 20860,
"author_profile": "https://Stackoverflow.com/users/20860",
"pm_score": 2,
"selected": false,
"text": "sudo"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/334776",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28714/"
] |
334,786 | <p>Velocity DisplayTool has a useful method:</p>
<pre><code>$display.list($list)
</code></pre>
<p>That will format a collection or array into the form "A, B and C". </p>
<p>The problem is lets say I have an ArrayList of objects, how do I output a specific object field instead of the whole object?
For example the reg... | [
{
"answer_id": 347004,
"author": "Dov Wasserman",
"author_id": 26010,
"author_profile": "https://Stackoverflow.com/users/26010",
"pm_score": 2,
"selected": false,
"text": "#set($titles = [])\n#foreach($obj in $list)\n $titles.add($obj.title)\n#end\n$display.list($titles)\n"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/334786",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20128/"
] |
334,813 | <p>If I have the code:</p>
<pre><code>int f(int a) { return a; }
double f(double g) { return g; }
int main()
{
int which = f(1.0f);
}
</code></pre>
<p>Which overload of <em>f</em> is called, and why?</p>
| [
{
"answer_id": 337232,
"author": "MSalters",
"author_id": 15416,
"author_profile": "https://Stackoverflow.com/users/15416",
"pm_score": 2,
"selected": false,
"text": "int bar = f(g(h(foo)));\n"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/334813",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42543/"
] |
334,816 | <p>I need to put an LDAP contextSource into my Java EE container's JNDI tree so it can be used by applications inside the container.</p>
<p>I'm using Spring-LDAP to perform queries against ORACLE OVD. For development, I simply set up the contextSource in the Spring xml configuration file. For production, however, I ne... | [
{
"answer_id": 415270,
"author": "Nicholas",
"author_id": 43786,
"author_profile": "https://Stackoverflow.com/users/43786",
"pm_score": 4,
"selected": true,
"text": "DirContext"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/334816",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/765/"
] |
334,827 | <p>I would like to do the equivalent off <a href="http://www.bigdumbdev.com/2007/08/build-better-skimmer-part-2.html" rel="nofollow noreferrer">this</a> (ruby code) in python for a Django project I am working on. I want to make a <a href="http://designvigilante.com/files/photoSkim/filmStrip.jpg" rel="nofollow noreferre... | [
{
"answer_id": 335323,
"author": "muhuk",
"author_id": 42188,
"author_profile": "https://Stackoverflow.com/users/42188",
"pm_score": 2,
"selected": true,
"text": "#!/usr/bin/env python\n\nimport os, os.path\nfrom contactsheet import make_contact_sheet\n\ndef make_film_strip(fnames,\n ... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334827",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42546/"
] |
334,836 | <p>I have a request that returns a JSON object with a single property which is an array. How can I test if the array is empty?</p>
<p>With jQuery code like:</p>
<pre><code> $.getJSON(
jsonUrl,
function(data) {
if (data.RoleOwners == [ ]) {
$('<tr><... | [
{
"answer_id": 334864,
"author": "Svante Svenson",
"author_id": 19707,
"author_profile": "https://Stackoverflow.com/users/19707",
"pm_score": 6,
"selected": true,
"text": "(data.RoleOwners.length === 0)\n"
},
{
"answer_id": 6911328,
"author": "Sadiksha Gautam",
"author_id... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334836",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12459/"
] |
334,842 | <p>I wrote a program using AutoIT to fetch information from a number of websites using Internet Explorer. AutoIT is capable of hiding the window so that it is not visible, however when I navigate to a new website on that hidden window I still get the IE navigation sounds (button click sound, etc.).</p>
<p>How can I di... | [
{
"answer_id": 334864,
"author": "Svante Svenson",
"author_id": 19707,
"author_profile": "https://Stackoverflow.com/users/19707",
"pm_score": 6,
"selected": true,
"text": "(data.RoleOwners.length === 0)\n"
},
{
"answer_id": 6911328,
"author": "Sadiksha Gautam",
"author_id... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334842",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
334,846 | <p>I have a mx:Canvas element that contains several mx:Panel elements. I want to be able to draw a line connecting two such mx:Panel's in such a way that the line continues to connect the two mx:Panels when one or both get dragged around. It seems like something that should be trivial to do, but I haven't been able to ... | [
{
"answer_id": 335905,
"author": "hasseg",
"author_id": 4111,
"author_profile": "https://Stackoverflow.com/users/4111",
"pm_score": 3,
"selected": true,
"text": "MoveEvent.MOVE"
},
{
"answer_id": 2093861,
"author": "Ben",
"author_id": 254034,
"author_profile": "https:... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334846",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/280/"
] |
334,850 | <p>My post below asked what the curly quotation marks were and why my app wouldn't work with them, my question now is how can I replace them when my program comes across them, how can I do this in C#? Are they special characters?</p>
<p><a href="https://stackoverflow.com/questions/334119/curly-quotation-marks-vs-squar... | [
{
"answer_id": 334894,
"author": "Mark Ransom",
"author_id": 5987,
"author_profile": "https://Stackoverflow.com/users/5987",
"pm_score": 2,
"selected": false,
"text": "String.Replace(0x201c, '\"');\nString.Replace(0x201d, '\"');\n"
},
{
"answer_id": 335091,
"author": "Matthew... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334850",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
334,851 | <p>I'd like to be able to print the definition code of a lambda function.</p>
<p>Example if I define this function through the lambda syntax:</p>
<pre><code>>>>myfunction = lambda x: x==2
>>>print_code(myfunction)
</code></pre>
<p>I'd like to get this output:</p>
<pre><code>x==2
</code></pre>
| [
{
"answer_id": 335081,
"author": "Moe",
"author_id": 3051,
"author_profile": "https://Stackoverflow.com/users/3051",
"pm_score": 3,
"selected": false,
"text": ">>> lambda_func = lambda x: x==2\n>>> def def_func(x): return x == 2\n...\n"
},
{
"answer_id": 335089,
"author": "S.... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334851",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28165/"
] |
334,852 | <p>I'm trying to write a simple query involving two tables. The "person" table has a unique <code>person_id</code> and a <code>name</code>, and the "friends" table has a <code>person_id</code> and a <code>friend_id</code> which is a FK to a <code>person_id</code> in the person table.</p>
<pre><code>person:
<PK>... | [
{
"answer_id": 334869,
"author": "Greg",
"author_id": 24181,
"author_profile": "https://Stackoverflow.com/users/24181",
"pm_score": 3,
"selected": false,
"text": "SELECT p.name, f.friend_id\nFROM person AS p\nINNER JOIN friends AS f ON p.person_id = f.person_id\nWHERE p.person_id = 1\n"
... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334852",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
334,856 | <p>What are the benefits of passing by pointer over passing by reference in C++?</p>
<p>Lately, I have seen a number of examples that chose passing function arguments by pointers instead of passing by reference. Are there benefits to doing this?</p>
<p>Example:</p>
<pre><code>func(SPRITE *x);
</code></pre>
<p>with... | [
{
"answer_id": 334866,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile": "https://Stackoverflow.com/users/34509",
"pm_score": 8,
"selected": false,
"text": "nothing"
},
{
"answer_id": 334873,
"author": "Adam Rosenfield",
"author_id": 9530,
"aut... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334856",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20229/"
] |
334,860 | <p>I have my main GUI thread, and a second thread running inside it's own ApplicationContext (to keep it alive, even when there is no work to be done). I want to call a method on my 2nd thread from my GUI thread, but if I just call thread.Method(); it seems to be running on my main GUI thread and causes my GUI to becom... | [
{
"answer_id": 334920,
"author": "Dour High Arch",
"author_id": 22437,
"author_profile": "https://Stackoverflow.com/users/22437",
"pm_score": 5,
"selected": true,
"text": "System.ComponentModel.BackgroundWorker"
},
{
"answer_id": 335357,
"author": "Lee",
"author_id": 4260... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334860",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/343/"
] |
334,879 | <p>I am running a program and want to see what its return code is (since it returns different codes based on different errors).</p>
<p>I know in Bash I can do this by running</p>
<blockquote>
<p>echo $?</p>
</blockquote>
<p>What do I do when using cmd.exe on Windows?</p>
| [
{
"answer_id": 334890,
"author": "DrFloyd5",
"author_id": 1736623,
"author_profile": "https://Stackoverflow.com/users/1736623",
"pm_score": 11,
"selected": true,
"text": "errorlevel"
},
{
"answer_id": 334893,
"author": "Adam Rosenfield",
"author_id": 9530,
"author_pro... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334879",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3218/"
] |
334,882 | <pre><code>void some_func(int param = get_default_param_value());
</code></pre>
| [
{
"answer_id": 335289,
"author": "David Rodríguez - dribeas",
"author_id": 36565,
"author_profile": "https://Stackoverflow.com/users/36565",
"pm_score": 7,
"selected": true,
"text": "// Code 1: Valid and invalid default parameters\nint global = 0;\nint free_function( int x );\n\nclass Te... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334882",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12151/"
] |
334,896 | <p>I am using a makefile system with the pvcs compiler (using Microsoft Visual C++, 2008 compiler) and I am getting several link errors of the form:</p>
<blockquote>
<p><code>error LNK2019: unresolved external symbol __imp__RegisterFilter@8 referenced in function _main</code></p>
</blockquote>
<p>This is happening ... | [
{
"answer_id": 335478,
"author": "ChrisN",
"author_id": 3853,
"author_profile": "https://Stackoverflow.com/users/3853",
"pm_score": 4,
"selected": false,
"text": "__imp_"
},
{
"answer_id": 2552230,
"author": "antonymken",
"author_id": 305927,
"author_profile": "https:... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334896",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42552/"
] |
334,907 | <p>I want to match any line that does not end with 'CA' or 'CA[any number]'. How can I do that using rlike in MySQL? (Note it doesn't support ?! etc).</p>
<p>Here's the regex for a positive match, I just need a way to negate it: <code>'^.*[C][A][0-9]?$'</code></p>
<p>(Due to an embarrassing architecture limitation... | [
{
"answer_id": 336339,
"author": "ysth",
"author_id": 17389,
"author_profile": "https://Stackoverflow.com/users/17389",
"pm_score": 4,
"selected": true,
"text": "rlike '[^A0-9]$|[^A][0-9]$|[^C]A[0-9]$|[^C]A$|^A[0-9]$|^[A0-9]$|^$'\n"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/334907",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13009/"
] |
334,916 | <p>We have an application where our clients are connecting to a SQL Server 2005 database - via a SQL Native Client ODBC data source. We are having some difficulties with the ODBC connection getting severed during program execution. After questioning a tech support person, he said that he had seen this type of error bef... | [
{
"answer_id": 7018768,
"author": "Matt Neerincx",
"author_id": 888883,
"author_profile": "https://Stackoverflow.com/users/888883",
"pm_score": 3,
"selected": false,
"text": "Server=tcp:myserver"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/334916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14947/"
] |
334,919 | <p>I am attempting to insert a mass of records into SQL Server 2005 from Vb.Net. Although the insertion is working fine, I am doing my best to try to make it as fast as possible. Currently, it takes ~ 11 mins for 100,000 records. What would be the suggested approach to inserting a large number of records into SQL Se... | [
{
"answer_id": 334926,
"author": "Lasse V. Karlsen",
"author_id": 267,
"author_profile": "https://Stackoverflow.com/users/267",
"pm_score": 5,
"selected": true,
"text": "IEnumerable<T>"
},
{
"answer_id": 335112,
"author": "Nathan",
"author_id": 5800,
"author_profile":... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334919",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5800/"
] |
334,928 | <p>I have been up and down this site and found a lot of info on the Screen class and how to count the number of monitors and such but how do I determine which montitor a form is currently in?</p>
| [
{
"answer_id": 335055,
"author": "jvberg",
"author_id": 34514,
"author_profile": "https://Stackoverflow.com/users/34514",
"pm_score": 1,
"selected": false,
"text": " foreach (Screen screen in System.Windows.Forms.Screen.AllScreens)\n {\n if (screen.Bounds.Contains(this.Locat... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334928",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34514/"
] |
334,933 | <p>I am inside the IDE and I can run all the unit tests in a file but is there any way to run all test in a project or solution at once?</p>
| [
{
"answer_id": 1056115,
"author": "Alconja",
"author_id": 68727,
"author_profile": "https://Stackoverflow.com/users/68727",
"pm_score": 4,
"selected": false,
"text": "Tools --> Options --> Keyboard"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/334933",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4653/"
] |
334,939 | <p>I'm working on a legacy application that has a C++ extended stored procedure. This xsproc uses ODBC to connect to the database, which means it requires a DSN to be configured.</p>
<p>I'm updating the installer (created using Visual Studio 2008 setup project), and want to have a custom action that can create the O... | [
{
"answer_id": 334958,
"author": "Rob Prouse",
"author_id": 30827,
"author_profile": "https://Stackoverflow.com/users/30827",
"pm_score": 2,
"selected": false,
"text": " private const string ODBC_LOC_IN_REGISTRY = \"SOFTWARE\\\\ODBC\\\\\";\n private const string ODBC_INI_LOC_IN_REGISTR... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334939",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26414/"
] |
334,948 | <p>I am using slideDown animation to show some divs in a newly added table row:</p>
<pre><code>$("div", newRow).slideDown(10000, UpdateHours(response.d.Hours));
</code></pre>
<p>however the UpdateHours() function is called long before the divs are finished animating. This is causing me a problem because the Updated H... | [
{
"answer_id": 334982,
"author": "Tracy Hurley",
"author_id": 31240,
"author_profile": "https://Stackoverflow.com/users/31240",
"pm_score": 6,
"selected": true,
"text": "$(\"div\", newRow).slideDown(10000, function () { UpdateHours(response.d.Hours) });\n"
},
{
"answer_id": 33498... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334948",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18349/"
] |
334,951 | <p>I'm writing a unit test for a method that packs boolean values into a byte. The various bit locations are determined by the value of an enum, which only has 5 values right now, but it's conceivable (though extremely unlikely) that this number could go to 9.</p>
<p>I'd like a simple test along the lines of:</p>
<p... | [
{
"answer_id": 335000,
"author": "Michael Myers",
"author_id": 13531,
"author_profile": "https://Stackoverflow.com/users/13531",
"pm_score": 0,
"selected": false,
"text": "Integer.highestOneBit(m_myNum & 0xFF)"
},
{
"answer_id": 335093,
"author": "Justin Standard",
"autho... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334951",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42562/"
] |
334,952 | <p>I have a class that inherits QTreeWidget. How can I find the currently selected row?
Usually I connect signals to slots this way:</p>
<pre><code>connect(myButton, SIGNAL(triggered(bool)), this, SLOT(myClick()));
</code></pre>
<p>However, I can't find anything similar for <code>QTreeWidget->QTreeWidgetItem</code... | [
{
"answer_id": 335187,
"author": "Thomas Watnedal",
"author_id": 4059,
"author_profile": "https://Stackoverflow.com/users/4059",
"pm_score": 4,
"selected": false,
"text": "QList<QTreeWidgetItem *> QTreeWidget::selectedItems() const\n"
},
{
"answer_id": 335219,
"author": "Juan... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334952",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39339/"
] |
334,992 | <p>I'm trying to make some types in Django that map to standard Django types. The <a href="http://docs.djangoproject.com/en/dev/howto/custom-model-fields/#howto-custom-model-fields" rel="nofollow noreferrer">custom model field documentation</a> goes into complicated cases; I just want to store a basic Django type from... | [
{
"answer_id": 335215,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 1,
"selected": false,
"text": "class Card(models.Model):\n \"\"\" A playing card. \"\"\"\n self.suit = models.PositiveIntegerField()\n self.rank... | 2008/12/02 | [
"https://Stackoverflow.com/questions/334992",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1320510/"
] |
335,008 | <p>At my current job, we're looking to implement our own odbc driver to allow many different applications to be able to connect to our own app as a datasource. Right now we are trying to weigh the options of developing our own driver to the implementation spec, which is massive, <em>or</em> using an SDK that allows for... | [
{
"answer_id": 13685364,
"author": "codeape",
"author_id": 3571,
"author_profile": "https://Stackoverflow.com/users/3571",
"pm_score": 5,
"selected": false,
"text": "psql -h localhost -p 9876"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335008",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8945/"
] |
335,019 | <p>I'd like to be able to detect Vista IE7 Protected Mode within a page using javascript, preferably. My thinking is to perform an action that would violate protected mode, thus exposing it. The goal is to give appropriate site help messaging to IE7 Vista users. </p>
| [
{
"answer_id": 338066,
"author": "jdev",
"author_id": 40867,
"author_profile": "https://Stackoverflow.com/users/40867",
"pm_score": 0,
"selected": false,
"text": "var axo = new ActiveXObject(\"ieframe.dll\");\n"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335019",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40867/"
] |
335,030 | <p>I've seen some variable declare in VB.net in several way like:</p>
<pre><code>print("dim _Foo as string");
</code></pre>
<p>and
print("dim m_Foo as string");
and
print("dim foo as string");</p>
<p>I will like to know what's the standard for VB.net coding.</p>
| [
{
"answer_id": 335053,
"author": "Bullines",
"author_id": 27870,
"author_profile": "https://Stackoverflow.com/users/27870",
"pm_score": 3,
"selected": true,
"text": "Private Dim m_Foo As String\n"
},
{
"answer_id": 525802,
"author": "Simon Hartcher",
"author_id": 459159,
... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335030",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28647/"
] |
335,061 | <p>I wanted to add dynamic charts in the webpage. It goes like this...</p>
<p>I get the start and end date from user and draw separate charts for each date bewteen the start and end date.</p>
<p>I get the data from sql database and bind it with the chart like this:</p>
<pre><code> SqlConnection UsageLogConn = new ... | [
{
"answer_id": 335362,
"author": "Programmin Tool",
"author_id": 21691,
"author_profile": "https://Stackoverflow.com/users/21691",
"pm_score": 2,
"selected": false,
"text": " protected void Page_Load(object sender, EventArgs e)\n {\n Bench[] benchList;\n FoodIntake[] foodIntakeList;\... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335061",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
335,073 | <p>I have an Array Collection with any number of Objects. I know each Object has a given property. Is there an easy (aka "built-in") way to get an Array of all the values of that property in the Collection?</p>
<p>For instance, let's say I have the following Collection:</p>
<pre><code>var myArrayCollection:ArrayColle... | [
{
"answer_id": 335362,
"author": "Programmin Tool",
"author_id": 21691,
"author_profile": "https://Stackoverflow.com/users/21691",
"pm_score": 2,
"selected": false,
"text": " protected void Page_Load(object sender, EventArgs e)\n {\n Bench[] benchList;\n FoodIntake[] foodIntakeList;\... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335073",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31298/"
] |
335,078 | <p>If there will be a small number of files it should be easy with a recursive function to pass through all the files and add the size but what if there are lots of files, and by lots i really mean lots of files.</p>
| [
{
"answer_id": 335105,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 4,
"selected": true,
"text": "import os\nfor path, dirs, files in os.walk( root ):\n for f in files:\n print path, f, os.path.getsize( os.path.j... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335078",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9789/"
] |
335,095 | <p>Is it possible to access JSTL's forEach variable via code from within the loop?</p>
<pre><code><c:forEach items="${elements}" var="element">
<% element.someMethod(); %>
</c:forEach>
</code></pre>
| [
{
"answer_id": 335140,
"author": "Ken Gentle",
"author_id": 8709,
"author_profile": "https://Stackoverflow.com/users/8709",
"pm_score": -1,
"selected": false,
"text": "var"
},
{
"answer_id": 335145,
"author": "sblundy",
"author_id": 4893,
"author_profile": "https://St... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335095",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24396/"
] |
335,096 | <p>As a newbie I'm trying to implement a sorting function in C++, using the list-class.
However, running the code I get the error that the list iterator is not incrementable... However it seems very unlikely as it should be incrementable!</p>
<p>code: </p>
<pre><code>void shuffle (list<int> &list1)
{
l... | [
{
"answer_id": 335136,
"author": "Dusty Campbell",
"author_id": 2174,
"author_profile": "https://Stackoverflow.com/users/2174",
"pm_score": 0,
"selected": false,
"text": "#include <list>\nusing namespace std;\n"
},
{
"answer_id": 335148,
"author": "Community",
"author_id"... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335096",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
335,100 | <p>I have a table with 7M records I want to trim down to 10k for dev. I tried a delete, but the whole world was nearly overpowered by the transaction log size, so I truncated the table.</p>
<p>Now I wish to insert 10k records from the original table, into my dev table, but it has a identity column, and many, many oth... | [
{
"answer_id": 404888,
"author": "Coolcoder",
"author_id": 42434,
"author_profile": "https://Stackoverflow.com/users/42434",
"pm_score": 1,
"selected": false,
"text": "SET IDENTITY_INSERT dbo.dev_table ON\nINSERT INTO dev_table (Id, Col1,Col2,Col3,Col4)\nSELECT TOP 10000 Id, Col1, Col2, ... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335100",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8741/"
] |
335,108 | <p>I have two third-party libraries occasionally having the same symbol name exported. When the executable is loaded, <em>ld</em> usually picks the wrong one and I getting crash as a result. I cannot do too much about the content of these libraries, so may be there is a way to instruct <em>ld</em> how to find the prope... | [
{
"answer_id": 335171,
"author": "Martin v. Löwis",
"author_id": 33006,
"author_profile": "https://Stackoverflow.com/users/33006",
"pm_score": 4,
"selected": true,
"text": "-Bdirect"
},
{
"answer_id": 335253,
"author": "Josh Kelley",
"author_id": 25507,
"author_profil... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335108",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18174/"
] |
335,129 | <p>I'm in the process of learning WPF coming from WinForms development.</p>
<p>I have a TextChanged event assigned to one of my TextBox's in my WPF application. If the user enters invalid data, I want to be able to revert to the previous text value.</p>
<p>In the old forms day, I would replace NewValue with OldValue... | [
{
"answer_id": 335740,
"author": "Dennis",
"author_id": 73025,
"author_profile": "https://Stackoverflow.com/users/73025",
"pm_score": 6,
"selected": true,
"text": "PreviewTextInput"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335129",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1226/"
] |
335,133 | <p>Here's a short test program:</p>
<pre><code>sub foo($;@) {
my $sql = shift;
my @params = @_;
print "sql: $sql\n";
print "params: " . join(",", @params);
}
sub bar($;@) {
foo(@_);
}
bar("select * from blah where x = ? and y = ?",2,3);
print "\n";
</code></pre>
<p>Why is the output this:</p>
<pre><code... | [
{
"answer_id": 335152,
"author": "Tarski",
"author_id": 27653,
"author_profile": "https://Stackoverflow.com/users/27653",
"pm_score": 3,
"selected": false,
"text": "($;@)"
},
{
"answer_id": 335154,
"author": "Alnitak",
"author_id": 6782,
"author_profile": "https://Sta... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335133",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/91385/"
] |
335,135 | <p>A longwinded question - please bear with me!</p>
<p>I want to programatically create an XML document with namespaces and schemas. Something like</p>
<pre><code><myroot
xmlns="http://www.someurl.com/ns/myroot"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.so... | [
{
"answer_id": 335152,
"author": "Tarski",
"author_id": 27653,
"author_profile": "https://Stackoverflow.com/users/27653",
"pm_score": 3,
"selected": false,
"text": "($;@)"
},
{
"answer_id": 335154,
"author": "Alnitak",
"author_id": 6782,
"author_profile": "https://Sta... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335135",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3099/"
] |
335,158 | <p>Is there a sort of php script which will run a series of URLs and then direct the user to the final destination? the use of this is:
creating a checkout cart on a site that doesn't have a robust "wishlist" feature. </p>
<p>The script runs a series of "add item to cart" urls, and then the final destination takes the... | [
{
"answer_id": 335180,
"author": "Jay",
"author_id": 41690,
"author_profile": "https://Stackoverflow.com/users/41690",
"pm_score": 3,
"selected": false,
"text": "$.get(\"http://mywebsite.com/json/cart_add.php?pid=25\");\n$.get(\"http://mywebsite.com/json/cart_add.php?pid=27\");\n"
},
... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335158",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42589/"
] |
335,192 | <p>I have this code</p>
<pre><code> protected void btnUpdateAddress_Click(object sender, EventArgs e)
{
sdsAddressComparison.Update();
}
</code></pre>
<p>that I'm using to update an oracle database. When I run the update sql code in SQL Navigator I have to type "Commit" or hit the commit button.<... | [
{
"answer_id": 335202,
"author": "Brian Schmitt",
"author_id": 30492,
"author_profile": "https://Stackoverflow.com/users/30492",
"pm_score": 2,
"selected": false,
"text": "try {\n // Open connection\n dbConn.Open();\n //DB Update Code Here\n }\n catch (Exceptio... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335192",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
335,205 | <p>In PHP you can access characters of strings in a few different ways, one of which is substr(). You can also access the Nth character in a string with curly or square braces, like so:</p>
<pre><code>$string = 'hello';
echo $string{0}; // h
echo $string[0]; // h
</code></pre>
<p>My question is, is there a benefit ... | [
{
"answer_id": 335213,
"author": "Owen",
"author_id": 4853,
"author_profile": "https://Stackoverflow.com/users/4853",
"pm_score": 7,
"selected": true,
"text": "$string[0]"
},
{
"answer_id": 26808011,
"author": "Pacerier",
"author_id": 632951,
"author_profile": "https:... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335205",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
335,229 | <p>I have a search program that will be looking at a database from a database. If the date range is more than 3 weeks I want to alert them that it might take a while with all the data in the database. I have a confirm message box in a JavaScript function. I want to check the date range in the aspx.cs page. how do I... | [
{
"answer_id": 335296,
"author": "dragonjujo",
"author_id": 37344,
"author_profile": "https://Stackoverflow.com/users/37344",
"pm_score": 2,
"selected": false,
"text": "SearchButton.Attributes.Add(\"onclick\", \"javascript:return \" + \"confirm('\" + \n\"The date range you have selected ... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335229",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
335,231 | <p>I am writing a custom tag in Django that should output a value stored in a user session, but I cannot find a way to access the session object from within a custom tag function. Is there any way to do this, without manually assigning the session object to a context variable?</p>
| [
{
"answer_id": 335334,
"author": "Matthew Christensen",
"author_id": 2123,
"author_profile": "https://Stackoverflow.com/users/2123",
"pm_score": 2,
"selected": false,
"text": "def add_session(request):\n return {'session': request.session}\n"
},
{
"answer_id": 335825,
"aut... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335231",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34171/"
] |
335,232 | <p>I essentially want to spider my local site and create a list of all the titles and URLs as in:</p>
<pre>
http://localhost/mySite/Default.aspx My Home Page
http://localhost/mySite/Preferences.aspx My Preferences
http://localhost/mySite/Messages.aspx Messages
</pre>
<p>I'm running Windows. I'm open to any... | [
{
"answer_id": 335324,
"author": "Adam Rosenfield",
"author_id": 9530,
"author_profile": "https://Stackoverflow.com/users/9530",
"pm_score": 4,
"selected": true,
"text": "#!/bin/bash\nfor file in $(find $WWWROOT -iname \\*.aspx); do\n echo -en $file '\\t'\n cat $file | tr '\\n' ' ' | s... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335232",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/337/"
] |
335,244 | <p>I am using the jQuery Cookie plugin (<a href="http://plugins.jquery.com/project/cookie" rel="noreferrer">download</a> and <a href="http://stilbuero.de/jquery/cookie/" rel="noreferrer">demo</a> and <a href="http://plugins.jquery.com/files/jquery.cookie.js.txt" rel="noreferrer">source code with comments</a>) to set an... | [
{
"answer_id": 335254,
"author": "Greg",
"author_id": 24181,
"author_profile": "https://Stackoverflow.com/users/24181",
"pm_score": 2,
"selected": false,
"text": "path: \"/\""
},
{
"answer_id": 7494483,
"author": "chaoxfu",
"author_id": 956088,
"author_profile": "http... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335244",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4376/"
] |
335,250 | <p>Given the below XML snippet I need to get a list of name/value pairs for each child under DataElements. XPath or an XML parser cannot be used for reasons beyond my control so I am using regex.</p>
<pre><code><?xml version="1.0"?>
<StandardDataObject xmlns="myns">
<DataElements>
<EmpStatus... | [
{
"answer_id": 335262,
"author": "Greg",
"author_id": 24181,
"author_profile": "https://Stackoverflow.com/users/24181",
"pm_score": 2,
"selected": false,
"text": "DataElements>.*?</DataElements"
},
{
"answer_id": 335589,
"author": "James Van Huis",
"author_id": 31828,
... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335250",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3211/"
] |
335,256 | <p>What is, or should I ask, is there, an equivalent to DllMain when creating a DLL using C++/CLI?</p>
<p>Are there any restrictions on what cannot be called from this initialization code?</p>
| [
{
"answer_id": 362016,
"author": "shash",
"author_id": 11684,
"author_profile": "https://Stackoverflow.com/users/11684",
"pm_score": 1,
"selected": false,
"text": "ref"
},
{
"answer_id": 884677,
"author": "RandomNickName42",
"author_id": 67819,
"author_profile": "http... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335256",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4697/"
] |
335,267 | <p>I have a custom DataGridView column that uses an embedded control that pops up a search window for the value of that column. The important thing is that the databound column is a numeric ID, but the custom column cells display a text description. </p>
<p>How do I get the column to sort on the text description rat... | [
{
"answer_id": 335366,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 1,
"selected": false,
"text": "DataTable"
},
{
"answer_id": 335453,
"author": "Agies",
"author_id": 333860,
"author_profile": "h... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335267",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/945/"
] |
335,273 | <p>When I create a new Gdiplus::Bitmap using the Bitmap::FromHBITMAP function,
the resulting Bitmap is opaque - none of the partial transparency from the original HBITMAP is preserved.</p>
<p>Is there a way to create a Gdiplus::Bitmap from an HBITMAP which brings across the alpha channel data?</p>
| [
{
"answer_id": 5860094,
"author": "Geoffrey Elliott",
"author_id": 732523,
"author_profile": "https://Stackoverflow.com/users/732523",
"pm_score": 4,
"selected": false,
"text": "#include <GdiPlus.h>\n#include <memory>\n\nGdiplus::Status HBitmapToBitmap( HBITMAP source, Gdiplus::PixelForm... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335273",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25457/"
] |
335,276 | <p><br />I have an application where I need the user to upload a photo. After the photo is uploaded to the server, which shouldn't take very long, the user should get back a response that's a regular HTML page saying "thanks...bla bla bla..."<br />
Now, after the the response is sent back to the client and he goes on h... | [
{
"answer_id": 335431,
"author": "Robert Paulson",
"author_id": 14033,
"author_profile": "https://Stackoverflow.com/users/14033",
"pm_score": 4,
"selected": true,
"text": "Action<object> d = delegate(object val)\n{\n // in this anonymous delegate, write code that you want to run\n ... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335276",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30725/"
] |
335,286 | <p>I have two classes, Foo and Bar, that have constructors like this:</p>
<pre><code>class Foo
{
Foo()
{
// do some stuff
}
Foo(int arg)
{
// do some other stuff
}
}
class Bar : Foo
{
Bar() : base()
{
// some third thing
}
}
</code></pre>
<p>Now I want to introd... | [
{
"answer_id": 335321,
"author": "g .",
"author_id": 6944,
"author_profile": "https://Stackoverflow.com/users/6944",
"pm_score": 1,
"selected": false,
"text": "class Bar : Foo\n{\n Bar() : this(0)\n {\n }\n\n Bar(int arg) : base(arg)\n {\n }\n}\n"
},
{
"answer_i... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335286",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28771/"
] |
335,291 | <p>I just tried (for the first time, I might add) a </p>
<blockquote>
<p>port upgrade installed</p>
</blockquote>
<p>in Macports, and I'm afraid I might come to regret it: A lot of errors -- specially regarding X11 and Python.</p>
<p>Here's a typical error message regarding python:</p>
<blockquote>
<p>---> Act... | [
{
"answer_id": 2360320,
"author": "dman",
"author_id": 213577,
"author_profile": "https://Stackoverflow.com/users/213577",
"pm_score": 3,
"selected": false,
"text": "[...] already exists and does not belong to a registered port\n"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335291",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2282296/"
] |
335,311 | <p>My question is about one particular usage of static keyword. It is possible to use <code>static</code> keyword to cover a code block within a class which does not belong to any function. For example following code compiles:</p>
<pre><code>public class Test {
private static final int a;
static {
... | [
{
"answer_id": 335339,
"author": "Alnitak",
"author_id": 6782,
"author_profile": "https://Stackoverflow.com/users/6782",
"pm_score": 6,
"selected": false,
"text": "static"
},
{
"answer_id": 335349,
"author": "Lawrence Dol",
"author_id": 8946,
"author_profile": "https:... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335311",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/33885/"
] |
335,330 | <p>We have a C++ library that we provide to several different clients. Recently we made the switch from using raw pointers in the public interface to using boost::sharedptr instead. This has provided an enormous benefit, as you might guess, in that now the clients no longer have to worry about who needs to delete what ... | [
{
"answer_id": 335449,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile": "https://Stackoverflow.com/users/34509",
"pm_score": 4,
"selected": false,
"text": "boost::shared_ptr"
},
{
"answer_id": 3305394,
"author": "Matt Joiner",
"author_id": 149482,... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335330",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3114/"
] |
335,337 | <p>This could be a little off the ballpark, but a friend asked me about it and it's kind of bothering me. How do you figure out the current path in your address bar if the server redirects all requests to a default file, say, index.html.</p>
<p>Let's say you entered:</p>
<pre><code>www.example.com/
</code></pre>
<p>... | [
{
"answer_id": 335373,
"author": "Paul Fisher",
"author_id": 39808,
"author_profile": "https://Stackoverflow.com/users/39808",
"pm_score": 1,
"selected": false,
"text": "index.html"
},
{
"answer_id": 335376,
"author": "Adam Rosenfield",
"author_id": 9530,
"author_prof... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335337",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32816/"
] |
335,342 | <p>Is SQL Server 2008 a good option to use as an image store for an e-commerce website? It would be used to store product images of various sizes and angles. A web server would output those images, reading the table by a clustered ID. The total image size would be around 10 GB, but will need to scale. I see a lot of be... | [
{
"answer_id": 335394,
"author": "Bill Karwin",
"author_id": 20860,
"author_profile": "https://Stackoverflow.com/users/20860",
"pm_score": 1,
"selected": false,
"text": "O(log n)"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335342",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13855/"
] |
335,369 | <p>We've run into some problems with the <a href="http://www.parashift.com/c++-faq-lite/static-init-order.html" rel="noreferrer">static initialization order fiasco</a>, and I'm looking for ways to comb through a whole lot of code to find possible occurrences. Any suggestions on how to do this efficiently?</p>
<p>Edit:... | [
{
"answer_id": 335414,
"author": "Evan Teran",
"author_id": 13430,
"author_profile": "https://Stackoverflow.com/users/13430",
"pm_score": 3,
"selected": false,
"text": "class A {\npublic:\n static X &getStatic() { static X my_static; return my_static; }\n};\n"
},
{
"answer_id"... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335369",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10077/"
] |
335,374 | <p>I need to be able to serialize a string and then have it save in a .txt or .xml file. I've never used the implementation to read/write files, just remember I am a relative beginner. Also, I need to know how to deserialize the string to be printed out in terminal as a normal string. </p>
| [
{
"answer_id": 335416,
"author": "jsight",
"author_id": 1432,
"author_profile": "https://Stackoverflow.com/users/1432",
"pm_score": 0,
"selected": false,
"text": "Element rootEl = new Element(\"root\");\nrootEl.setText(\"my string\");\ndoc.appendChild(rootEl);\nXMLOutputter outputter = n... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335374",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36268/"
] |
335,378 | <p>In C# I use the <code>#warning</code> and <code>#error</code> directives,</p>
<pre><code>#warning This is dirty code...
#error Fix this before everything explodes!
</code></pre>
<p>This way, the compiler will let me know that I still have work to do. What technique do you use to mark code so you won't forget about... | [
{
"answer_id": 335385,
"author": "Guge",
"author_id": 37771,
"author_profile": "https://Stackoverflow.com/users/37771",
"pm_score": 8,
"selected": true,
"text": "// TODO"
},
{
"answer_id": 335402,
"author": "John MacIntyre",
"author_id": 29043,
"author_profile": "http... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335378",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/343/"
] |
335,387 | <p>What's a nice way to merge two sorted arrays in ActionScript (specifically ActionScript 3.0)? The resulting array should be sorted and without duplicates.</p>
| [
{
"answer_id": 335942,
"author": "hasseg",
"author_id": 4111,
"author_profile": "https://Stackoverflow.com/users/4111",
"pm_score": 5,
"selected": false,
"text": ".concat()"
},
{
"answer_id": 357272,
"author": "Tmdean",
"author_id": 45084,
"author_profile": "https://S... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335387",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4127/"
] |
335,399 | <p>What I want to do is patch an existing Python module that uses urllib2 to run on App Engine, but I don't want to break it so it can be used elsewhere. So I'm looking for a quick solution to test if the module is imported in the App Engine environment or not. Catching ImportError on urllib2 might not be the best solu... | [
{
"answer_id": 335464,
"author": "chryss",
"author_id": 5169,
"author_profile": "https://Stackoverflow.com/users/5169",
"pm_score": 4,
"selected": false,
"text": ">>> import sys\n>>> 'unicodedata' in sys.modules\nFalse\n>>> import unicodedata\n>>> 'unicodedata' in sys.modules\nTrue\n"
... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335399",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7883/"
] |
335,407 | <p>I have a web app with a web-based configuration UI. If the user accesses via HTTP, I want to alert the user that they should really use HTTPS and give them a link to click on to get to the HTTPS-prefixed URL.</p>
<p>Now, this is pretty straightforward if we're on the default ports, but often, we're not - for exampl... | [
{
"answer_id": 336016,
"author": "Loki",
"author_id": 39057,
"author_profile": "https://Stackoverflow.com/users/39057",
"pm_score": 1,
"selected": false,
"text": "<user-data-constraint>\n <transport-guarantee>\n CONFIDENTIAL\n </transport-guarantee>\n</user-data-constraint>\n"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335407",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/33905/"
] |
335,408 | <p>I checked out a copy of a C++ application from SourceForge (HoboCopy, if you're curious) and tried to compile it.</p>
<p>Visual Studio tells me that it can't find a particular header file. I found the file in the source tree, but where do I need to put it, so that it will be found when compiling? </p>
<p>Are ther... | [
{
"answer_id": 52629808,
"author": "linrongbin",
"author_id": 4438921,
"author_profile": "https://Stackoverflow.com/users/4438921",
"pm_score": 5,
"selected": false,
"text": "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.15.26726\\include"
},
... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335408",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/767/"
] |
335,409 | <p>I'm getting a syntax error (undefined line 1 test.js) in Firefox 3 when I run this code. The alert works properly (it displays 'work') but I have no idea why I am receiving the syntax error.</p>
<p>jQuery code:</p>
<pre><code>$.getJSON("json/test.js", function(data) {
alert(data[0].test);
});
</code></pre>
<... | [
{
"answer_id": 624700,
"author": "vava",
"author_id": 6258,
"author_profile": "https://Stackoverflow.com/users/6258",
"pm_score": 0,
"selected": false,
"text": ";"
},
{
"answer_id": 633031,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverfl... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335409",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8320/"
] |
335,427 | <p>I've found what seems to be the C# equivalent of a <a href="http://thedailywtf.com/Articles/The_FOR-CASE_paradigm.aspx" rel="nofollow noreferrer">FOR-CASE</a> structure in a project I'm working on:</p>
<pre><code>foreach (string param in params.Split(';'))
{
string[] parts = param.Split('=');
string key = p... | [
{
"answer_id": 335463,
"author": "Haoest",
"author_id": 10088,
"author_profile": "https://Stackoverflow.com/users/10088",
"pm_score": 2,
"selected": false,
"text": "foreach (string param in params.Split(';'))\n{\n string[] parts = param.Split('=');\n string key = parts[0].Trim().To... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335427",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
335,448 | <p>I have written a console application that sets the size of the console and output buffer. My problem is that after the program ends I cannot resize my cmd.exe window the way I did before. After the program sets the size of the window it retains that size no matter what I do afterwards. </p>
| [
{
"answer_id": 335580,
"author": "David Norman",
"author_id": 34502,
"author_profile": "https://Stackoverflow.com/users/34502",
"pm_score": 1,
"selected": false,
"text": "namespace CSharpTest\n{\n class Program\n {\n static void Main(string[] args)\n {\n Sy... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335448",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4491/"
] |
335,451 | <p>I want to run a standalone ruby script in which I need my RoR environment to be used. Specifically, I need my models extending ActionMailer and ActiveRecord. I also need to read the database configuration from my database.yml.
How do I go about it?</p>
| [
{
"answer_id": 335489,
"author": "mat",
"author_id": 42083,
"author_profile": "https://Stackoverflow.com/users/42083",
"pm_score": 4,
"selected": true,
"text": "#!/usr/bin/ruby\n"
},
{
"answer_id": 336377,
"author": "salt.racer",
"author_id": 757,
"author_profile": "h... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335451",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17494/"
] |
335,466 | <p>The HTTP/1.1 specification (<a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html" rel="noreferrer">RFC2616</a>) defines a number of status codes that can be returned by HTTP server to signal certain conditions. Some of those codes can be utilized by web applications (and frameworks). Which of those codes ... | [
{
"answer_id": 335596,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 5,
"selected": true,
"text": "grep 'Status:'"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335466",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36656/"
] |
335,481 | <p>I have a form that has a public property</p>
<pre><code>public bool cancelSearch = false;
</code></pre>
<p>I also have a class which is sitting in my bll (business logic layer), in this class I have a method, and in this method I have a loop. I would like to know how can I get the method to recognise the form (thi... | [
{
"answer_id": 335501,
"author": "Patrick Desjardins",
"author_id": 13913,
"author_profile": "https://Stackoverflow.com/users/13913",
"pm_score": 1,
"selected": false,
"text": "public class YourClass\n{\n private Form1 youFormRef;\n\n public YourClass(Form1 youFormRef)\n {\n ... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335481",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41291/"
] |
335,487 | <p>My emacs (on Windows) always launches with a set size, which is rather small, and if I resize it, it's not "remembered" at next start-up. </p>
<p>I've been playing with the following:</p>
<pre><code>(set-frame-position (selected-frame) 200 2) ; pixels x y from upper left
(set-frame-size (selected-frame) 110 58) ;... | [
{
"answer_id": 335529,
"author": "Bill White",
"author_id": 202280,
"author_profile": "https://Stackoverflow.com/users/202280",
"pm_score": 6,
"selected": true,
"text": "~/.emacs"
},
{
"answer_id": 335561,
"author": "Alastair",
"author_id": 31038,
"author_profile": "h... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335487",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38803/"
] |
335,516 | <p>I'm making a simple remove link with an onClick event that brings up a confirm dialog. I want to confirm that the user wants to delete an entry. However, it seems that when Cancel is clicked in the dialog, the default action (i.e. the href link) is still taking place, so the entry still gets deleted. Not sure what I... | [
{
"answer_id": 335549,
"author": "Stepan Mazurov",
"author_id": 40786,
"author_profile": "https://Stackoverflow.com/users/40786",
"pm_score": 4,
"selected": false,
"text": "onclick=\"javascript:return confirm('Are you sure you want to delete this comment?')\"\n"
},
{
"answer_id":... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335516",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22371/"
] |
335,517 | <p>Does anyone know a good .NET dictionary API? I'm not interested in meanings, rather I need to be able to query words in a number of different ways - return words of x length, return partial matches and so on...</p>
| [
{
"answer_id": 335563,
"author": "James Orr",
"author_id": 41457,
"author_profile": "https://Stackoverflow.com/users/41457",
"pm_score": 5,
"selected": true,
"text": "List<string> words = System.IO.File.ReadAllText(\"MyWords.txt\").Split(new string[]{Environment.NewLine}).ToList();\n\n//... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335517",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27805/"
] |
335,524 | <p>I have an SQL Server 2005 server, and I'd like to run a .Net CLR stored procedure on it. However, I'd like to use .NET Framework 3.5.</p>
<p>If I try this right now, I get this error:</p>
<pre><code>Error: Assembly 'system.core, version=3.5.0.0, culture=neutral, publickeytoken=b77a5c561934e089.' was not found in t... | [
{
"answer_id": 1324006,
"author": "Scott Weinstein",
"author_id": 25201,
"author_profile": "https://Stackoverflow.com/users/25201",
"pm_score": 2,
"selected": false,
"text": "EXEC dbo.sp_changedbowner @loginame = N'sa', @map = true\nGO\nsp_configure 'clr enabled', 1\nGO\nRECONFIGURE\nGO\... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335524",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2273/"
] |
335,526 | <p>I have a DBGrid on a form. The DBGrid has many columns, so an horizontal scroller is displayed. I scroll the DBGrid view to the right to see more columns. If I select a row, the DBGrid view is automatically reset to view the first column (As if I scroll back to the left most position). </p>
<p>Is there a way t... | [
{
"answer_id": 335997,
"author": "X-Ray",
"author_id": 14031,
"author_profile": "https://Stackoverflow.com/users/14031",
"pm_score": 2,
"selected": false,
"text": "GetScrollInfo(Self.Handle, SB_VERT, SIOld);\n"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335526",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6636/"
] |
335,530 | <p>How do you check that monkey patching has been done to a specific class in Ruby? If that is possible, is it also possible to get the previous implementation(s) of the attribute that's been patched?</p>
| [
{
"answer_id": 335787,
"author": "user37011",
"author_id": 37011,
"author_profile": "https://Stackoverflow.com/users/37011",
"pm_score": 3,
"selected": false,
"text": "method_added"
},
{
"answer_id": 336308,
"author": "readonly",
"author_id": 4883,
"author_profile": "... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335530",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4883/"
] |
335,531 | <p>I am building a conditional navigation menu that has 3 levels (the 3rd level added today by business, no worries its not like I launch next week. Oh wait I do:)). I have a javascript var that contains the html for my first conditional level. I am now trying to insert another level inside of the first. </p>
<pre><co... | [
{
"answer_id": 335542,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile": "https://Stackoverflow.com/users/34509",
"pm_score": 3,
"selected": false,
"text": "var myVar = '<ul class=\"linksUnit\">';\nmyVar += '<li>Link 1';\nif (myVar2) { // note != false means ... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335531",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27516/"
] |
335,540 | <p>I need to optimize code to get room for some new code. I do not have the space for all the changes. I can not use code bank switching (80c31 with 64k). </p>
| [
{
"answer_id": 335593,
"author": "Adam Pierce",
"author_id": 5324,
"author_profile": "https://Stackoverflow.com/users/5324",
"pm_score": 3,
"selected": false,
"text": "CALL otherfunc\nRET\n"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335540",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34531/"
] |
335,546 | <p>Is there a way to have two columns, that match each other in height, without using table cells, fixed heights or Javascript?</p>
<p><strong>Using a TABLE</strong></p>
<pre><code><table>
<tr>
<td style="background:#F00;">
This is a column
</td>
<td ... | [
{
"answer_id": 335603,
"author": "asleep",
"author_id": 29445,
"author_profile": "https://Stackoverflow.com/users/29445",
"pm_score": 2,
"selected": false,
"text": "<html>\n<head>\n <style>\n html, body\n {\n margin: 0;\n padding: 0;\n he... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335546",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17091/"
] |
335,558 | <p>I need a way to determine from Wise Install Script if SQL Server Management Studio Express 2005 is installed on computer. Does someone know a Registry entry or something that will be present when SSMSE is installed?</p>
| [
{
"answer_id": 336393,
"author": "Sachin Gaur",
"author_id": 2572740,
"author_profile": "https://Stackoverflow.com/users/2572740",
"pm_score": -1,
"selected": false,
"text": "HKEY_LOCAL_MACHINE\\Software\\MSSQLServer\\MSSQLServer\\CurrentVersion\n"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335558",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5904/"
] |
335,585 | <p>How can I access a site configured in IIS 7 on the host machine from a guest OS in VMWare (Fedora 10). I have configured the VM to use "NAT"</p>
| [
{
"answer_id": 335623,
"author": "Sunny Milenov",
"author_id": 8220,
"author_profile": "https://Stackoverflow.com/users/8220",
"pm_score": 2,
"selected": false,
"text": "# /sbin/route\nDestination Gateway Genmask Flags Metric Ref Use Iface\n\ndefault 10.x.y... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335585",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1443363/"
] |
335,597 | <p>I have a many-to-one relationship where the child table can have hundreds of thousands of records. In this case, calling Parent.ChildCollection.Count forces a lazy initialization of the child collection which is extremely expensive.</p>
<p>In Hibernate 3.0 there is a feature lazy="extra" which allows you to check ... | [
{
"answer_id": 335623,
"author": "Sunny Milenov",
"author_id": 8220,
"author_profile": "https://Stackoverflow.com/users/8220",
"pm_score": 2,
"selected": false,
"text": "# /sbin/route\nDestination Gateway Genmask Flags Metric Ref Use Iface\n\ndefault 10.x.y... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335597",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30957/"
] |
335,598 | <p>I'm experiencing this weird problem which my scrollbar jumps by itself to somewhere that I don't want it to. </p>
<p>I have a table with scrollbar inside this page, if the user have a smaller screen, the page automatically adds a scrollbar. If I scroll down to the bottom of the table and click on it, the scrollbar ... | [
{
"answer_id": 335615,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 2,
"selected": true,
"text": ":focus"
},
{
"answer_id": 681178,
"author": "mike nvck",
"author_id": 36531,
"author_profile": "https://Sta... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335598",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34797/"
] |
335,600 | <p>I have two characters displayed in a game I am writing, the player and the enemy. defined as such:</p>
<pre><code>public void player(Graphics g) {
g.drawImage(plimg, x, y, this);
}
public void enemy(Graphics g) {
g.drawImage(enemy, 200, 200, this);
}
</code></pre>
<p>Then called with:</p>
<pre><code>play... | [
{
"answer_id": 335632,
"author": "asleep",
"author_id": 29445,
"author_profile": "https://Stackoverflow.com/users/29445",
"pm_score": 1,
"selected": false,
"text": "Rectangle rect1 = new Rectangle(player.x, player.y, player.width, player.height);\n\nRectangle rect2 = new Rectangle(enemy.... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335600",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3609/"
] |
335,601 | <p>I have added uc in contentplace holder of master page but how do you instantiate the user control in master page .cs file to make it visible when the master page loads</p>
| [
{
"answer_id": 336030,
"author": "Pat Hermens",
"author_id": 1677,
"author_profile": "https://Stackoverflow.com/users/1677",
"pm_score": 0,
"selected": false,
"text": "<%@ Reference Control=\"~/path/to/my/customControl.ascx\" %>\n"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335601",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21918/"
] |
335,607 | <p>I have a server with two different network interfaces, each with a different IP address. How can I create a socket so it'll go out a specific IP address?</p>
<p>I'd prefer a python example, but the question is language agnostic, so shoot away.</p>
<p>EDIT: Please don't give me "You can't" as an answer. I mean, it ... | [
{
"answer_id": 335662,
"author": "Andrew Edgecombe",
"author_id": 11694,
"author_profile": "https://Stackoverflow.com/users/11694",
"pm_score": 5,
"selected": true,
"text": "setsockopt()"
},
{
"answer_id": 665588,
"author": "Mikle",
"author_id": 23942,
"author_profile... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335607",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23942/"
] |
335,621 | <p>I have a class that after it does some stuff, sends a JMS message.
I'd like to unit test the "stuff", but not necessarily the sending of the message.
<br><br>When I run my test, the "stuff" green bars, but then fails when sending the message (it should, the app server is not running).
What is the best way to do this... | [
{
"answer_id": 335644,
"author": "tunaranch",
"author_id": 27708,
"author_profile": "https://Stackoverflow.com/users/27708",
"pm_score": 3,
"selected": false,
"text": "JmsTemplate mockTemplate = createMock(JmsTemplate.class)\n"
},
{
"answer_id": 335647,
"author": "Alex B",
... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335621",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13143/"
] |
335,624 | <p>Any idea how to <strong>return multiple variables</strong> from a function in ActionScript 3? </p>
<p>Anything like VB.NET where you can have the <strong>input argument's variable</strong> modified (ByRef arguments)?</p>
<pre><code>Sub do (ByRef inout As Integer)
inout *= 5;
End Sub
Dim num As Integer = 10
Debug... | [
{
"answer_id": 335693,
"author": "LiraNuna",
"author_id": 41983,
"author_profile": "https://Stackoverflow.com/users/41983",
"pm_score": 3,
"selected": true,
"text": "Object"
},
{
"answer_id": 336690,
"author": "Robin Rodricks",
"author_id": 41021,
"author_profile": "h... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335624",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41021/"
] |
335,659 | <p>For example, how can I run me.test below?</p>
<pre><code>myvar = 'test'
me.myvar
</code></pre>
<p>ASP looks for the method "myvar" and doesn't find it. In PHP I could simply say $me->$myvar but ASP's syntax doesn't distinguish between variables and methods. Suggestions?</p>
<p>Closely related to this, is there a ... | [
{
"answer_id": 335675,
"author": "John MacIntyre",
"author_id": 29043,
"author_profile": "https://Stackoverflow.com/users/29043",
"pm_score": 2,
"selected": false,
"text": "Select myvar\n case \"test\":\n test\n\n case \"anotherSub\":\n anotherSub\n\n else\n defaultS... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335659",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26180/"
] |
335,660 | <p>Finding a good way to do this has stumped me for a while now: assume I have a selection box with a set of points in it. By dragging the corners you can scale the (distance between) points in the box. Now for an axis aligned box this is easy. Take a corner as an anchor point (subtract this corner from each point, sca... | [
{
"answer_id": 335692,
"author": "Markus Jarderot",
"author_id": 22364,
"author_profile": "https://Stackoverflow.com/users/22364",
"pm_score": 1,
"selected": true,
"text": "u"
},
{
"answer_id": 335866,
"author": "e.James",
"author_id": 33686,
"author_profile": "https:... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335660",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42635/"
] |
335,695 | <p>The typical ConfigParser generated file looks like:</p>
<pre><code>[Section]
bar=foo
[Section 2]
bar2= baz
</code></pre>
<p>Now, is there a way to index lists like, for instance:</p>
<pre><code>[Section 3]
barList={
item1,
item2
}
</code></pre>
<p>Related question: <a href="https://stackoverflow.com/ques... | [
{
"answer_id": 335754,
"author": "David Locke",
"author_id": 1447,
"author_profile": "https://Stackoverflow.com/users/1447",
"pm_score": 8,
"selected": true,
"text": "[Section 3]\nbarList=item1,item2\n"
},
{
"answer_id": 336545,
"author": "Mapad",
"author_id": 28165,
... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335695",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42636/"
] |
335,719 | <p>I need to use an x509 certificate to get secure message level authentication from a rich client via the internet to a secure WCF Web Service.</p>
<p>Specifically, I am looking for a working step-by-step guide to setup, configuration, coding, and deployment, including creating a 'dev' certificate, installing it, and... | [
{
"answer_id": 342916,
"author": "Nigel Spencer",
"author_id": 28904,
"author_profile": "https://Stackoverflow.com/users/28904",
"pm_score": 7,
"selected": true,
"text": "makecert -n \"CN=MyRootCA\" -r -sv RootCA.pvk RootCA.cer\n"
}
] | 2008/12/02 | [
"https://Stackoverflow.com/questions/335719",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2918/"
] |
335,732 | <p>I want to allow users to embed badges on their personal site or blogs with a snippet of javascript. The badge is customized on our site based on information in their profiles that at some point is "approved". </p>
<p>Is there a best practice to check what website the javascript is embedded on and if it does not mat... | [
{
"answer_id": 335763,
"author": "Pim Jager",
"author_id": 35197,
"author_profile": "https://Stackoverflow.com/users/35197",
"pm_score": 0,
"selected": false,
"text": "var topUrl = top.location.href;\n"
},
{
"answer_id": 342495,
"author": "Már Örlygsson",
"author_id": 162... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335732",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42648/"
] |
335,736 | <p>I was writing some try-catch blocks for various methods today, and thought to myself it would be good to have utility method which would automatically call the method again for a number of times specified in a parameter, at a certain time.</p>
<p>However, I thought to myself, the method/property etc which will cau... | [
{
"answer_id": 335795,
"author": "Mark Brackett",
"author_id": 2199,
"author_profile": "https://Stackoverflow.com/users/2199",
"pm_score": 1,
"selected": false,
"text": "public static class Extensions {\n public static void Try(this Action a, int maxTries) {\n new (Func<bool>(()... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335736",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32484/"
] |
335,742 | <p>I have this quiz rails app linked to an IRC bot who asks questions (yes, on IRC), where I have this <code>Question</code> model which contains, well, questions, answers, hints, and a few more things.</p>
<p>I started with <code>Quiz</code> model (like, say, the special Halloween or Christmas quiz) with a <code>qui... | [
{
"answer_id": 335795,
"author": "Mark Brackett",
"author_id": 2199,
"author_profile": "https://Stackoverflow.com/users/2199",
"pm_score": 1,
"selected": false,
"text": "public static class Extensions {\n public static void Try(this Action a, int maxTries) {\n new (Func<bool>(()... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335742",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42083/"
] |
335,753 | <p>I need to know how to iterate through records in CR2008 and when it reaches a record that is NOT NULL, record that in a variable.</p>
<p>I have a formula called "frmAccum" that I drop in the details section and suppress it. I use this to gather information for each record that's processed. I also have a formula c... | [
{
"answer_id": 335795,
"author": "Mark Brackett",
"author_id": 2199,
"author_profile": "https://Stackoverflow.com/users/2199",
"pm_score": 1,
"selected": false,
"text": "public static class Extensions {\n public static void Try(this Action a, int maxTries) {\n new (Func<bool>(()... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335753",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38317/"
] |
335,770 | <p>Example: </p>
<pre><code>$ svn copy foo.txt bar.txt
A bar.txt
</code></pre>
<ul>
<li>When would you use this technique, and why? </li>
<li>Will this command (taken from svn's "red book") creates a copy of <code><foo.txt></code> while preserving the history of it to be shared with <code><bar.txt><... | [
{
"answer_id": 335785,
"author": "Steve Jessop",
"author_id": 13005,
"author_profile": "https://Stackoverflow.com/users/13005",
"pm_score": 5,
"selected": false,
"text": "foo.txt"
},
{
"answer_id": 335862,
"author": "Kornel",
"author_id": 27009,
"author_profile": "htt... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335770",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10312/"
] |
335,774 | <p>I had some site templates designed for me recently. I got the final HTML code, which validates, but the structure of the document is laid out using DL-DD pairs:</p>
<pre><code><dl>
<dd class="some-class">
Some text.
</dd>
</dl>
</code></pre>
<p>I'm not especially familiar with those... | [
{
"answer_id": 335789,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 2,
"selected": true,
"text": "<dd>"
},
{
"answer_id": 335794,
"author": "mat",
"author_id": 42083,
"author_profile": "https://Stackoverfl... | 2008/12/02 | [
"https://Stackoverflow.com/questions/335774",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39539/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.