qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
298,782 | <p>I have the following Python code: </p>
<pre><code>import xml.dom.minidom
import xml.parsers.expat
try:
domTree = ml.dom.minidom.parse(myXMLFileName)
except xml.parsers.expat.ExpatError, e:
return e.args[0]
</code></pre>
<p>which I am using to parse an XML file. Although it quite happily spots simple XML ... | [
{
"answer_id": 299278,
"author": "Charles Anderson",
"author_id": 11677,
"author_profile": "https://Stackoverflow.com/users/11677",
"pm_score": 2,
"selected": false,
"text": "from lxml import etree\n\ntry:\n parser = etree.XMLParser(dtd_validation=True)\n domTree = etree.parse(myXM... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298782",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11677/"
] |
298,786 | <p>I have a header </p>
<pre><code><h1>My Header</h1>
</code></pre>
<p>It has a height of <code>150px</code> and a <code>font-size</code> of say <code>1.3em;</code>
How can I make the header text vertically centered with CSS.
I would rather not wrap it in a container DIV (wrapping divs really defeat the w... | [
{
"answer_id": 299278,
"author": "Charles Anderson",
"author_id": 11677,
"author_profile": "https://Stackoverflow.com/users/11677",
"pm_score": 2,
"selected": false,
"text": "from lxml import etree\n\ntry:\n parser = etree.XMLParser(dtd_validation=True)\n domTree = etree.parse(myXM... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298786",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11333/"
] |
298,788 | <p>Since Terminal appeared I've saved as ~/mySrvr.term a modified stock .term file
which opens to execute an ssh to a remote server and to modify the appearance.
I have NOT been able to save "use option key as meta" for emacs-ery; there's no slot for it
in the term file and I'm reluctant to wrestle with a keyboard dict... | [
{
"answer_id": 298891,
"author": "Kyle Cronin",
"author_id": 658,
"author_profile": "https://Stackoverflow.com/users/658",
"pm_score": 0,
"selected": false,
"text": "<key>useOptionAsMetaKey</key>\n<true/>\n"
}
] | 2008/11/18 | [
"https://Stackoverflow.com/questions/298788",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
298,791 | <p>I have an IIS located on serverA</p>
<p>I have userA at locationA who has opened a content management system site, hosted on serverA.</p>
<p>One of the features of the system is that it allows the user to move a file to LocationB, all within the same network. Now when this move occurs and due to bandwidth restrict... | [
{
"answer_id": 298822,
"author": "warren",
"author_id": 4418,
"author_profile": "https://Stackoverflow.com/users/4418",
"pm_score": 0,
"selected": false,
"text": "scp"
},
{
"answer_id": 299297,
"author": "Ian Oxley",
"author_id": 1904,
"author_profile": "https://Stack... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298791",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38230/"
] |
298,799 | <p>Somebody <strong>please</strong> tell me it is possible to recover Visual Studio source after VS crashes!</p>
<p>I have just spent 5 hours writing a new utility app, and running it with the "Save before Build" option turned on, as well as AutoRecover every 5-mins. But after VS crashed I am unabled to find anything ... | [
{
"answer_id": 298817,
"author": "Rob Prouse",
"author_id": 30827,
"author_profile": "https://Stackoverflow.com/users/30827",
"pm_score": 2,
"selected": false,
"text": "C:\\Users\\{Username}\\AppData\\Local\\Temporary Projects\n"
},
{
"answer_id": 677265,
"author": "Klas Mell... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298799",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1885/"
] |
298,812 | <p>I have two Tables.</p>
<p>Order - With Columns OrderID, OrderStatusID<br />
OrderStatus - With Columns OrderStatusID, Description</p>
<p>I have an Order Object which calls to the database and fills its properties for use in my code. Right now I have access to Order.OrderStatusID, but in my application I really ne... | [
{
"answer_id": 298845,
"author": "Charles Bretana",
"author_id": 32632,
"author_profile": "https://Stackoverflow.com/users/32632",
"pm_score": 0,
"selected": false,
"text": "Select O.OrderId, O.OrderStatusId, S.Descriptiuon\nFrom Order O\n Join OrderStatus S \n On S.OrderStatus... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298812",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37347/"
] |
298,830 | <p>I have a single string that contains the command-line parameters to be passed to another executable and I need to extract the string[] containing the individual parameters in the same way that C# would if the commands had been specified on the command-line. The string[] will be used when executing another assemblies... | [
{
"answer_id": 298838,
"author": "Charles Bretana",
"author_id": 32632,
"author_profile": "https://Stackoverflow.com/users/32632",
"pm_score": -1,
"selected": false,
"text": "Split()"
},
{
"answer_id": 298852,
"author": "Israr Khan",
"author_id": 37280,
"author_profil... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298830",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/341413/"
] |
298,840 | <p>I have a .NET Web app which consumes a Java-based Web service. One of the objects, named Optional, contains search criteria fields. The schema is the following:</p>
<pre><code><xsd:complexType name="Optional">
<xsd:sequence>
<xsd:element name="FromAmount" nillable="true" type="xsd:float" minOccurs... | [
{
"answer_id": 300992,
"author": "Dimitre Novatchev",
"author_id": 36305,
"author_profile": "https://Stackoverflow.com/users/36305",
"pm_score": 0,
"selected": false,
"text": "<Optional/>"
},
{
"answer_id": 324517,
"author": "superfell",
"author_id": 41455,
"author_pr... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298840",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15883/"
] |
298,841 | <p>Is there a way to read the properties inside an <a href="https://en.wikipedia.org/wiki/Windows_Installer" rel="nofollow noreferrer">MSI</a> file?</p>
<p>For example, given a MSI file named <em>Testpackage.msi</em>, I need to find</p>
<pre><code>productName
PackageCode
version
</code></pre>
<p>This I am going to use ... | [
{
"answer_id": 328710,
"author": "Arnout",
"author_id": 3496,
"author_profile": "https://Stackoverflow.com/users/3496",
"pm_score": 4,
"selected": true,
"text": "Function GetVersion(ByVal msiName)\n\n Const msiOpenDatabaseModeReadOnly = 0\n Dim msi, db, view\n\n Set msi = Create... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298841",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32670/"
] |
298,850 | <p>I have a 5 ASPX page <code>wizard</code>.
Each one contains a <code>SaveAndExit</code> button that executes a C# function on a common static class. After saving, the C# code redirects to another page.</p>
<p>Is there a way for running <code>javascript: alert('Data Saved');</code> after the saving, and before new pa... | [
{
"answer_id": 299456,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "if exist"
}
] | 2008/11/18 | [
"https://Stackoverflow.com/questions/298850",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
298,867 | <p>How do I export all of the names and email addresses from a distribution list in Outlook using code? I have access to an Outlook 2000 or Outlook 2007 client. Ideally I would like the code to be in C#.</p>
| [
{
"answer_id": 299034,
"author": "Fionnuala",
"author_id": 2548,
"author_profile": "https://Stackoverflow.com/users/2548",
"pm_score": 1,
"selected": false,
"text": "Const olFolderContacts = 10\n\nSet objOutlook = CreateObject(\"Outlook.Application\")\nSet objNamespace = objOutlook.GetNa... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298867",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/636/"
] |
298,873 | <p>I'm wondering what good ways there would be make assertions about synchronization or something so that I could detect synchronization violations (while testing).</p>
<p>That would be used for example for the case that I'd have a class that is not thread-safe and that isn't going to be thread-safe. With some way I w... | [
{
"answer_id": 299197,
"author": "erickson",
"author_id": 3474,
"author_profile": "https://Stackoverflow.com/users/3474",
"pm_score": 1,
"selected": false,
"text": "class Foo {\n\n private final Thread owner = Thread.currentThread();\n\n void x() {\n assert Thread.currentThread() ==... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298873",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28482/"
] |
298,886 | <p>Does .NET have a way to pull email from a POP3 server out of the box or you have to code/buy a 3rd party component?</p>
| [
{
"answer_id": 669697,
"author": "Pawel Lesnikowski",
"author_id": 80894,
"author_profile": "https://Stackoverflow.com/users/80894",
"pm_score": 2,
"selected": false,
"text": "using(Pop3 pop3 = new Pop3())\n{\n pop3.Connect(\"mail.host.com\"); // Connect to server\n pop3.Login... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298886",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
298,897 | <p>I've been putting together a small web form for our technicians to use from their phones out in the field. However I'm having a lot of trouble getting things working using ASP.NET Mobile, and there seems to be few resources out there to help learn this stuff. I'm also having trouble <a href="https://stackoverflow.... | [
{
"answer_id": 299244,
"author": "fravelgue",
"author_id": 22055,
"author_profile": "https://Stackoverflow.com/users/22055",
"pm_score": 0,
"selected": false,
"text": "<a ref=\"wtai://wp/mc;34123456789\">Call</a>"
}
] | 2008/11/18 | [
"https://Stackoverflow.com/questions/298897",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17145/"
] |
298,909 | <p>I'm wondering why the <code>assert</code> keyword is so underused in Java? I've almost never seen them used, but I think they're a great idea. I certainly much prefer the brevity of:</p>
<pre><code>assert param != null : "Param cannot be null";
</code></pre>
<p>to the verbosity of:</p>
<pre><code>if (param == nul... | [
{
"answer_id": 298929,
"author": "Denis R.",
"author_id": 32015,
"author_profile": "https://Stackoverflow.com/users/32015",
"pm_score": 0,
"selected": false,
"text": "if"
},
{
"answer_id": 298973,
"author": "Adam Jaskiewicz",
"author_id": 35322,
"author_profile": "htt... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298909",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2648/"
] |
298,926 | <p>In vb.net / winforms, how can a hashtable be bound to a drop down list or any other datasource-driven control?</p>
| [
{
"answer_id": 298935,
"author": "Charles Bretana",
"author_id": 32632,
"author_profile": "https://Stackoverflow.com/users/32632",
"pm_score": 2,
"selected": false,
"text": " DropDownList dd = new DropDownList();\n Hashtable mycountries = New Hashtable();\n mycountries.Add(\"N\",\"... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298926",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3259/"
] |
298,962 | <p>Clearly separation of concerns is a desirable trait in our code and the first obvious step most people take is to separate data access from presentation. In my situation, LINQ To SQL is being used within data access objects for the data access.</p>
<p>My question is, where should the use of the entity object stop? ... | [
{
"answer_id": 299008,
"author": "Codewerks",
"author_id": 17729,
"author_profile": "https://Stackoverflow.com/users/17729",
"pm_score": 3,
"selected": false,
"text": " IQueryable<MyObjects.Product> products = from p in linqDataContext.Products \n ... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298962",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
298,972 | <p>I am using a query like this on my postgres database:</p>
<pre><code>SELECT TableA.id FROM TableA , TableB WHERE TableA.id = 100;
</code></pre>
<p>Each TableA.id is unique (it's an autoincrement), I am getting more than 1 result. Am I missing something in here?</p>
| [
{
"answer_id": 298983,
"author": "Ben McEvoy",
"author_id": 15234,
"author_profile": "https://Stackoverflow.com/users/15234",
"pm_score": 3,
"selected": false,
"text": "SELECT TableA.ID from TableA\nINNER JOIN TableB \nON TableB.TableAID = TableA.ID \nWHERE TableA.ID = 100\n"
},
{
... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298972",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2220518/"
] |
298,976 | <p>Seeing as C# can't <code>switch</code> on a Type (which I gather wasn't added as a special case because <code>is</code> relationships mean that more than one distinct <code>case</code> might apply), is there a better way to simulate switching on type other than this?</p>
<pre><code>void Foo(object o)
{
if (o is... | [
{
"answer_id": 298994,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 7,
"selected": false,
"text": "Type Action"
},
{
"answer_id": 299001,
"author": "Zachary Yates",
"author_id": 8360,
"author_profile... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298976",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/82/"
] |
298,981 | <p>I'm trying to have an XSLT that copies most of the tags but removes empty "<code><b/></code>" tags. That is, it should copy as-is "<code><b> </b></code>" or "<code><b>toto</b></code>" but completely remove "<code><b/></code>".</p>
<p>I think the template would look like :</p>
<p... | [
{
"answer_id": 298997,
"author": "Darren Steinweg",
"author_id": 418,
"author_profile": "https://Stackoverflow.com/users/418",
"pm_score": 3,
"selected": true,
"text": "<xsl:template match=\"b\">\n <xsl:if test=\"b/text()\">\n ...\n"
},
{
"answer_id": 299031,
"author": "G... | 2008/11/18 | [
"https://Stackoverflow.com/questions/298981",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23704/"
] |
299,002 | <p>Is there anybody who has successfully accessed a Web service from an Oracle stored procedure? If so, was it a Java stored procedure? A PL/SQL stored procedure?</p>
<p>Is there any reason why I should not be trying to access a WS from a stored proc?</p>
<p>Here are a couple refs that I found so far</p>
<ul>
<li>... | [
{
"answer_id": 430042,
"author": "kurosch",
"author_id": 30153,
"author_profile": "https://Stackoverflow.com/users/30153",
"pm_score": 3,
"selected": false,
"text": "FUNCTION post\n(\n p_url IN VARCHAR2,\n p_data IN CLOB,\n p_timeout IN BINARY_INTEGER DEFAULT 60\n) \n ... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299002",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25502/"
] |
299,011 | <p>I am getting a lot of errors when starting RAD7. The server doesn't respond to class changes. Sometimes the server won't start. Sometimes RAD will not acknowledge modules that I added to the server. It is kind of buggy.</p>
<p>I know there is metadata in the workspace, are there safe ways to clean the metadata ... | [
{
"answer_id": 324672,
"author": "Daniel Spiewak",
"author_id": 9815,
"author_profile": "https://Stackoverflow.com/users/9815",
"pm_score": 1,
"selected": false,
"text": ".metadata"
}
] | 2008/11/18 | [
"https://Stackoverflow.com/questions/299011",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10522/"
] |
299,027 | <p>I'm not sure what this practice is actually called, so perhaps someone can edit the title to more accurately reflect my question.</p>
<p>Let's say we have a site that stores objects of different types. Each type of object has its own database (a database of books and assorted information with its tables, a database... | [
{
"answer_id": 299069,
"author": "Elie",
"author_id": 23249,
"author_profile": "https://Stackoverflow.com/users/23249",
"pm_score": 4,
"selected": true,
"text": "GENERIC_OBJECT BOOK_OBJECT BOOK_OBJECT.ID = GENERIC_OBJECT.ID CD_OBJECT CD_OBJECT.ID = GENERIC_OBJECT.ID GENERIC_OBJECT"
},
... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299027",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/572/"
] |
299,068 | <p>Question: Is exception handling in Java actually slow?</p>
<p>Conventional wisdom, as well as a lot of Google results, says that exceptional logic shouldn't be used for normal program flow in Java. Two reasons are usually given,</p>
<ol>
<li>it is really slow - even an order of magnitude slower than regular code... | [
{
"answer_id": 299214,
"author": "Tom Hawtin - tackline",
"author_id": 4725,
"author_profile": "https://Stackoverflow.com/users/4725",
"pm_score": 2,
"selected": false,
"text": "fillInStackTrace"
},
{
"answer_id": 299315,
"author": "Mecki",
"author_id": 15809,
"author... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299068",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/69572/"
] |
299,080 | <p>I want to create a trace on a database server from my C# app, like what you do in SQL Server Profiler. I have found stored procedures (sys.sp_trace_create etc...) that dont seem to work for my SQL management studio. I was wondering if anyone could help with the coding, or where i would start to do this?!</p>
| [
{
"answer_id": 13794798,
"author": "brian beuning",
"author_id": 1862101,
"author_profile": "https://Stackoverflow.com/users/1862101",
"pm_score": 2,
"selected": false,
"text": "public void FileToTable()\n{\n TraceServer reader = new TraceServer();\n\n ConnectionInfoBase ci = new S... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299080",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36243/"
] |
299,086 | <p>I'm working with a WinForm app in C#, after I type something in a textbox I want to hit the Enter key but the textbox still has focus (flashing cursor is still in textbox), how can I achieve this?</p>
| [
{
"answer_id": 299093,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 6,
"selected": false,
"text": " TextBox tb = new TextBox();\n Button btn = new Button { Dock = DockStyle.Bottom };\n btn.Click += delegate ... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299086",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
299,094 | <p>i want the result of an equation rounded to the nearest integer.
e.g. </p>
<pre><code>137 * (3/4) = 103
</code></pre>
<p>Consider the following incorrect code. </p>
<pre><code>int width1 = 4;
int height1 = 3;
int width2 = 137;
int height2 = width2 * (height1 / width1);
</code></pre>
<p>What is the proper way to... | [
{
"answer_id": 299102,
"author": "Jeffrey L Whitledge",
"author_id": 10174,
"author_profile": "https://Stackoverflow.com/users/10174",
"pm_score": 2,
"selected": false,
"text": "int height2 = (width2 * height1) / width1;\n"
},
{
"answer_id": 299143,
"author": "Aaron",
"au... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299094",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12597/"
] |
299,095 | <p>Is there a way to turn off the automatic selection of the first row in the built-in DataGrid in Silverlight?</p>
<p>We build a lot of functionality based off the user selecting a row in a data grid. The automatic firing of SelectionChanged when databinding or sorting is really causing us issues. We have tried to ... | [
{
"answer_id": 413410,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": " int LastSelectedIndex = -1;\n bool JustRefreshed = false;\n\n private void dataGrid_SelectionChanged(object sender, Se... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299095",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4231/"
] |
299,097 | <p>I'm currently monitoring a large network with Hobbit and have been tasked with lowering the amount of false (or at least irrelevant) alarms. At the top of my list are the tests "http" and "conn", initiated by bbtest-net. This command checks ping, ssh, etc, and if for instance a ping times out, it immediately sets th... | [
{
"answer_id": 438436,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<ip> <hostname> # noconn \n"
}
] | 2008/11/18 | [
"https://Stackoverflow.com/questions/299097",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18673/"
] |
299,106 | <p>I have a following xslt code :</p>
<pre><code><xsl:template match="table_terms_and_abbr">
<informaltable frame='none' colsep='none' rowsep='none'>
<tgroup cols='2' align='left'>
<colspec colnum="1" colwidth='1*'/>
<colspec colnum="2" colwidth='1*'/>
... | [
{
"answer_id": 299145,
"author": "ddaa",
"author_id": 11549,
"author_profile": "https://Stackoverflow.com/users/11549",
"pm_score": 2,
"selected": false,
"text": "<xsl:with-param name=\"is_make_first_bold\" select = \"1\" as=\"xs:integer\"/>\n xsl:with-param <xsl:with-param\n name = qna... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299106",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6807/"
] |
299,117 | <p>Everything I can find in linq for aggregation has a "group by" clause. How would I write this query in LINQ? I have a list of date-value pairs, and I want to take the average of the values:</p>
<pre><code>SELECT AVG(MySuff.Value) AS AvgValue FROM MyStuff
</code></pre>
| [
{
"answer_id": 299123,
"author": "Alan",
"author_id": 37843,
"author_profile": "https://Stackoverflow.com/users/37843",
"pm_score": 2,
"selected": false,
"text": "int count = (from a in myContext.MyStuff\n select a).Count();\n var allResults = from a in myContext.MyStuff\n ... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299117",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7311/"
] |
299,128 | <p>Is there an easy way to chase down table/stored procedure/function dependencies in SQL Server 2005+? I've inherited a giant application with lots of tables and even more stored procedures and functions that are long and interlinked. </p>
<p>At the end of the day is there a way to build a dependency tree? Ideally... | [
{
"answer_id": 299137,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 2,
"selected": false,
"text": "View Dependencies"
},
{
"answer_id": 538287,
"author": "Jeremy S",
"author_id": 65228,
"author_pro... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299128",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8207/"
] |
299,129 | <p>im trying to kick off a Runnable classes run method however i keep getting a NullPointerException, Im using WebSpheres commonj.workmanager to get an instance of executorService.this is the code im using.</p>
<pre><code>executorService.execute(new Runnable() {
public void run() {
System.out.println("Ins... | [
{
"answer_id": 299177,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 3,
"selected": true,
"text": "executorService execute()"
},
{
"answer_id": 299218,
"author": "cdugga",
"author_id": 24481,
"author_... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299129",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24481/"
] |
299,135 | <p>Let's say I have <strong>a <code>List</code> object</strong> and <strong>an iterator</strong> for that list.</p>
<p>Now I sort the list with <code>java.util.Collections.sort()</code></p>
<ul>
<li>What happens to the iterator? </li>
<li>Is its behavior still defined and can it still be used? </li>
<li>If not, can I... | [
{
"answer_id": 299151,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 4,
"selected": false,
"text": "ListIterator"
},
{
"answer_id": 299169,
"author": "Tom Hawtin - tackline",
"author_id": 4725,
"autho... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299135",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23368/"
] |
299,142 | <p>I've been reading up on branching/merging with Subversion 1.5 using the excellent and free <a href="http://svnbook.red-bean.com/" rel="noreferrer">Version Control with Subversion</a> book. I think that I understand how to use the Subversion command line client to perform the actions that I need most often, which ar... | [
{
"answer_id": 15658849,
"author": "icc97",
"author_id": 327074,
"author_profile": "https://Stackoverflow.com/users/327074",
"pm_score": 8,
"selected": false,
"text": "trunk -> branch branch -> trunk trunk -> branch branch -> trunk"
}
] | 2008/11/18 | [
"https://Stackoverflow.com/questions/299142",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19977/"
] |
299,148 | <p>I'm playing with <a href="http://www.dncompute.com/blog/2007/03/19/seed-based-pseudorandom-number-generator-in-actionscript.html" rel="nofollow noreferrer">this ActionScript</a> which generates a random 'squiggle'.</p>
<p>Each time a 'squiggle' is placed, it appears within a sprite with a white background.</p>
<p>... | [
{
"answer_id": 299544,
"author": "defmeta",
"author_id": 10875,
"author_profile": "https://Stackoverflow.com/users/10875",
"pm_score": 0,
"selected": false,
"text": "bitmapData.draw(paintSurface);\n sprite.attachBitmap(bitmapData, 3);\n"
},
{
"answer_id": 299552,
"author": "I... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299148",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25773/"
] |
299,158 | <p>What does the SQL Action keyword do? Can I use this keyword in a trigger and determine if the trigger was called by an Insert, Delete or Update?</p>
| [
{
"answer_id": 299187,
"author": "Kevin Fairchild",
"author_id": 3743,
"author_profile": "https://Stackoverflow.com/users/3743",
"pm_score": 1,
"selected": false,
"text": "If exists (select * from inserted) and exists (select * from deleted)\n --Update happened\nIf exists (select * fr... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299158",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38613/"
] |
299,160 | <p>Just started getting into jQuery and have an issue with a jQuery Post call working perfectly on my local dev box (VS 2008 built-in web server), but failing when I deploy to a windows 2003 server (IIS 6) box.</p>
<p>The post works and the page being posted to process things correctly, but a response is never receive... | [
{
"answer_id": 299204,
"author": "Eduardo Molteni",
"author_id": 2385,
"author_profile": "https://Stackoverflow.com/users/2385",
"pm_score": 1,
"selected": false,
"text": "$.post('CustomPostHandler.aspx?step=criteria&random=' + Math.random().toString(), { \n selected: idString... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299160",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38615/"
] |
299,168 | <p>I need to style links for a Blackberry browser that has disabled CSS.</p>
<p>The following is what I try to achieve: </p>
<pre><code><style type="text/css">
a.hover {
border:0;
}
a {
text-decoration: none;
}
</style>
</code></pre>
<p>Is it even possible, just using html?</p>
| [
{
"answer_id": 299202,
"author": "Mecki",
"author_id": 15809,
"author_profile": "https://Stackoverflow.com/users/15809",
"pm_score": 4,
"selected": true,
"text": "<body link=\"XXX\" alink=\"YYY\" vlink=\"ZZZ\"> \n #AABBCC\n"
},
{
"answer_id": 838807,
"author": "Community",
... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299168",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1532/"
] |
299,176 | <p>I've been running into some problems duplicating some old ASP files into some newer .NET 2.0 code. One of the tasks is to merge the 4-5 SQL statements into one. While I have done this and had some success in performance boosts, Oracle is a new bag for me. This problem however surpasses my own SQL skills as I haven't... | [
{
"answer_id": 299220,
"author": "Dheer",
"author_id": 17266,
"author_profile": "https://Stackoverflow.com/users/17266",
"pm_score": 0,
"selected": false,
"text": "SELECT rth.CODE, rth.NUMBER, rth.QUANTITY, rth.sale_code, rth.quantity * cf.conversion\nFROM salesdetails rth, salesheader r... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299176",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
299,198 | <p>I am looking for good ideas for implementing a generic way to have a single line (or anonymous delegate) of code execute with a timeout.</p>
<pre><code>TemperamentalClass tc = new TemperamentalClass();
tc.DoSomething(); // normally runs in 30 sec. Want to error at 1 min
</code></pre>
<p>I'm looking for a solutio... | [
{
"answer_id": 299212,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 4,
"selected": false,
"text": " static void Main()\n {\n DoWork(OK, 5000);\n DoWork(Nasty, 5000);\n }\n static void OK()\n... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299198",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28736/"
] |
299,200 | <p>Topic: Programmatically manipulate web browser in OS X 10.4.x+ Tiger/Leopard.
Subjects: Webkit, Safari, Firefox, APIs, Applescript, Automator, Javascript, Ruby, Ruby on Rails, OS X, Tiger
Goal: Collect/Read/Extract URLs from Safari into text (Ruby on Rails code) file.
Note: A solution that uses FF would be very appr... | [
{
"answer_id": 1369382,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "function getGetDocData(){\nvar wm = Components.classes[\"@mozilla.org/appshell/window-mediator;1\"]\n .getServi... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299200",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23306/"
] |
299,209 | <p>i'm a long-time newbie to c#, and this question may be too obvious, so please forgive if i'm "doing it wrong."</p>
<p>Using Visual Studio 2005 Pro, C#, SQL Server 2000 EE SP3.</p>
<p>I have a stored proc that takes one input param and returns several output params pertaining to that input. I am also calling it suc... | [
{
"answer_id": 299228,
"author": "Steven A. Lowe",
"author_id": 9345,
"author_profile": "https://Stackoverflow.com/users/9345",
"pm_score": 2,
"selected": true,
"text": "//set up the datatable\nDataTable dt = new DataTable(\"parms\");\ndt.Columns.Add(\"ParmName\",typeof(string));\ndt.Col... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299209",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4126/"
] |
299,217 | <p>I am trying to monitor my outlook inbox so whenever new emails come in with attachments I save the attachment to some other location. Can anyone help me out?</p>
| [
{
"answer_id": 299234,
"author": "Adam Davis",
"author_id": 2915,
"author_profile": "https://Stackoverflow.com/users/2915",
"pm_score": 1,
"selected": false,
"text": "using Outlook;\n\n Outlook.Application oOutlook;\n Outlook.NameSpace oNs;\n Outlook.MAPIFolder oFldr;\n long iAttachCnt;\... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299217",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
299,249 | <p>I am familiar with using the <em>os.system</em> to run from the command line. However, I would like to be able to run a jar file from inside of a specific folder, eg. my 'test' folder. This is because my jar (located in my 'test' folder) requires a file inside of my 'test' folder. So, how would I write a function in... | [
{
"answer_id": 299377,
"author": "grieve",
"author_id": 34329,
"author_profile": "https://Stackoverflow.com/users/34329",
"pm_score": 4,
"selected": true,
"text": "import os\n\nif __name__ == \"__main__\":\n startingDir = os.getcwd() # save our current directory\n testDir = \"\\\\tes... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299249",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37804/"
] |
299,251 | <p>I am attempting to write a component in C# to be consumed by classic ASP that allows me to access the indexer of the component (aka default property).</p>
<p>For example:<br>
C# component:</p>
<pre><code>public class MyCollection {
public string this[string key] {
get { /* return the value associated w... | [
{
"answer_id": 301260,
"author": "Mike Henry",
"author_id": 14934,
"author_profile": "https://Stackoverflow.com/users/14934",
"pm_score": 0,
"selected": false,
"text": "[DispId(0)]\npublic string Item(string key) {\n return this[key];\n}\n"
},
{
"answer_id": 311946,
"autho... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299251",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14934/"
] |
299,254 | <p>In essence I'd like to store some rows in a temporary variable for the life of a procedure in MySQL.</p>
<p>My procedure will grab a column of foreign keys at the beginning of the procedure. Once I'm done working with them I want to update the table to indicate that they have been processed. There may be inserts in... | [
{
"answer_id": 301260,
"author": "Mike Henry",
"author_id": 14934,
"author_profile": "https://Stackoverflow.com/users/14934",
"pm_score": 0,
"selected": false,
"text": "[DispId(0)]\npublic string Item(string key) {\n return this[key];\n}\n"
},
{
"answer_id": 311946,
"autho... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299254",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21906/"
] |
299,255 | <p>I'm starting to try and test my Doctrine objects with PHPUnit, and would like to reload the DB from my model objects afresh each time.</p>
<p>My first attempt looks something like this:</p>
<pre><code>class Tests_User extends PHPUnit_Framework_TestCase
{
public function setUp()
{
Doctrine_Manager... | [
{
"answer_id": 301260,
"author": "Mike Henry",
"author_id": 14934,
"author_profile": "https://Stackoverflow.com/users/14934",
"pm_score": 0,
"selected": false,
"text": "[DispId(0)]\npublic string Item(string key) {\n return this[key];\n}\n"
},
{
"answer_id": 311946,
"autho... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299255",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34024/"
] |
299,267 | <p>What is the best way to scale a 2D image array? For instance, suppose I have an image of 1024 x 2048 bytes, with each byte being a pixel. Each pixel is a grayscale level from 0 to 255. I would like to be able to scale this image by an arbitrary factor and get a new image. So, if I scale the image by a factor of 0.68... | [
{
"answer_id": 299305,
"author": "Skizz",
"author_id": 1898,
"author_profile": "https://Stackoverflow.com/users/1898",
"pm_score": 4,
"selected": false,
"text": "dest[dx,dy] = src[dx*src_width/dest_width,dy*src_height/dest_height]\n sx,sy = M(dx,dy)\n"
},
{
"answer_id": 299383,
... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299267",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22371/"
] |
299,272 | <p>Assuming I have a tree structure</p>
<pre><code>UL
--LI
---INPUT (checkbox)
</code></pre>
<p>And I want to grab the checked inputs, I would select </p>
<pre><code>$('ul li input:checked')
</code></pre>
<p>However, I want to select the checked inputs of a specific object $myUL that doesn't have an ID.</p>
<pre><... | [
{
"answer_id": 299302,
"author": "redsquare",
"author_id": 6440,
"author_profile": "https://Stackoverflow.com/users/6440",
"pm_score": 2,
"selected": true,
"text": "$myUL.find('li>input:checked')"
},
{
"answer_id": 3108313,
"author": "Thach Lockevn",
"author_id": 161471,
... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299272",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37731/"
] |
299,291 | <p>Does anyone know if its possible to create a new property on an existing Entity Type which is based on 2 other properties concatenated together?</p>
<p>E.g. My Person Entity Type has these fields "ID", "Forename", "Surname", "DOB"</p>
<p>I want to create a new field called "Fullname" which is </p>
<pre><code>Fore... | [
{
"answer_id": 301894,
"author": "CraftyFella",
"author_id": 30317,
"author_profile": "https://Stackoverflow.com/users/30317",
"pm_score": 0,
"selected": false,
"text": "SELECT \n1 AS [C1], \n[Extent1].[PeopleID] AS [PeopleID], \n[Extent1].[Forenames] AS [Forenames], \n[Extent1].[Surname... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299291",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30317/"
] |
299,296 | <p>Since yesterday, I am analyzing one of our project with <a href="http://www.ndepend.com/" rel="nofollow noreferrer">Ndepend</a> (free for most of its features) and more I am using it, and more I have doubt about the real value of this type of software (code-analysis software).</p>
<p>Let me explain, The system buil... | [
{
"answer_id": 301894,
"author": "CraftyFella",
"author_id": 30317,
"author_profile": "https://Stackoverflow.com/users/30317",
"pm_score": 0,
"selected": false,
"text": "SELECT \n1 AS [C1], \n[Extent1].[PeopleID] AS [PeopleID], \n[Extent1].[Forenames] AS [Forenames], \n[Extent1].[Surname... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299296",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13913/"
] |
299,304 | <p>Per the Java documentation, the <a href="http://java.sun.com/javase/6/docs/api/java/lang/String.html#hashCode()" rel="noreferrer">hash code</a> for a <code>String</code> object is computed as:</p>
<blockquote>
<pre><code>s[0]*31^(n-1) + s[1]*31^(n-2) + ... + s[n-1]
</code></pre>
<p>using <code>int</code> arith... | [
{
"answer_id": 299385,
"author": "Tom Hawtin - tackline",
"author_id": 4725,
"author_profile": "https://Stackoverflow.com/users/4725",
"pm_score": 6,
"selected": false,
"text": "RSB r1, r0, r0, ASL #5 ; r1 := - r0 + (r0<<5)\n"
},
{
"answer_id": 299748,
"author": "mat... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299304",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1318/"
] |
299,326 | <p>I'm looking for an implementation of the <a href="http://en.wikipedia.org/wiki/Logo_programming_language" rel="nofollow noreferrer">LOGO</a> programming language that supports 'dynaturtles' - animated turtles that can programmatically change shape, speed and direction as well as detect collisions with each other or ... | [
{
"answer_id": 831097,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "PR test\n ;* ##### Startdatei ######\n SETZE \"sprung.x\" 0\n SETZE \"sprung.y\" 0\n flug\nENDE\n\nPR flug\n sprun... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299326",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32514/"
] |
299,332 | <p>I'm doing a basic homework assignment which looks like this:</p>
<pre><code> While input <> -1
input = CDbl(InputBox("Enter numbers to add, enter -1 to stop"))
values = values + input
End While
</code></pre>
<p>It works fine until I press 'cancel' on the input box. Then the string inp... | [
{
"answer_id": 299353,
"author": "Bob",
"author_id": 45,
"author_profile": "https://Stackoverflow.com/users/45",
"pm_score": 3,
"selected": true,
"text": "Dim value as Double = Nothing\nIf Double.TryParse(InputBox(\"Enter numbers...\"), value) Then\n values = values + value\nEnd If\n"... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299332",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28658/"
] |
299,342 | <p>I have a web service which has a generic function that returns a dataset from results of stored procedures... Some of the stored procedures have optional parameters where the value can be null but not all the time.</p>
<p>Anyhow I am trying to pass in a parameter which has a value of DBNull.Value</p>
<p>and I get ... | [
{
"answer_id": 7518178,
"author": "markhazleton",
"author_id": 479571,
"author_profile": "https://Stackoverflow.com/users/479571",
"pm_score": 0,
"selected": false,
"text": "Using dtResult as New DataTable \n Using cn as SqlConnection = New SqlConnection (\"ConnectionString\") \n Usi... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299342",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22093/"
] |
299,370 | <p>I'm trying to use <code>SetWindowsHookEx</code> to set up a <code>WH_SHELL</code> hook to get notified of system-wide <code>HSHELL_WINDOWCREATED</code> and <code>HSHELL_WINDOWDESTROYED</code> events. I pass 0 for the final <code>dwThreadId</code> argument which, according to <a href="http://msdn.microsoft.com/en-us/... | [
{
"answer_id": 308328,
"author": "Toon Krijthe",
"author_id": 18061,
"author_profile": "https://Stackoverflow.com/users/18061",
"pm_score": 0,
"selected": false,
"text": "procedure THooktest_FO.UnInitClick(Sender: TObject);\nbegin\n UninitHook;\nend;\n\nprocedure THooktest_FO.InitClick(... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299370",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9784/"
] |
299,382 | <p>I am looking for example code that provides a unit test to serialize and deserialize an object from a memory stream. I have found <a href="https://stackoverflow.com/questions/236599/how-to-unit-test-if-my-object-is-really-serializablable">examples using C# 2.0</a>, however my current project uses VB.NET 1.1 (don't ... | [
{
"answer_id": 299470,
"author": "TheCodeJunkie",
"author_id": 25319,
"author_profile": "https://Stackoverflow.com/users/25319",
"pm_score": 1,
"selected": false,
"text": "[Test]\npublic void ClassIsXmlSerializable()\n{\n bool exceptionWasThrown = false;\n\n try\n {\n // .. se... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299382",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19063/"
] |
299,387 | <p>I'm serializing class which contains DateTime property.</p>
<pre><code>public DateTime? Delivered { get; set; }
</code></pre>
<p>After serializing Delivered node contains DateTime formatted like this:</p>
<pre><code>2008-11-20T00:00:00
</code></pre>
<p>How can I change this property to make it look like this:</p... | [
{
"answer_id": 299508,
"author": "Adam Tegen",
"author_id": 4066,
"author_profile": "https://Stackoverflow.com/users/4066",
"pm_score": 5,
"selected": true,
"text": "//normal DateTime accessor\n[XmlIgnore]\npublic DateTime Delivered { get; set; }\n\n//special XmlSerialization accessor\n[... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299387",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23280/"
] |
299,390 | <p>Say I have the following Objective-C class:</p>
<pre><code>@interface Foo {
int someNumber;
NSString *someString;
}
</code></pre>
<p>and for reasons I won't get into here, I want to use KVC to update, in a generic fashion, the values for those variables:</p>
<pre><code>[f setValue:object forKey:@"someNu... | [
{
"answer_id": 299496,
"author": "wisequark",
"author_id": 33159,
"author_profile": "https://Stackoverflow.com/users/33159",
"pm_score": 2,
"selected": true,
"text": "id object_getClassName"
},
{
"answer_id": 299533,
"author": "e.James",
"author_id": 33686,
"author_pr... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299390",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1967/"
] |
299,392 | <p>How do I create a batch file timer to execute / call another batch through out the day Maybe on given times to run but not to run on weekends ? Must run on system times can also be .cmd to run on xp server 2003 </p>
| [
{
"answer_id": 493156,
"author": "aphoria",
"author_id": 2441,
"author_profile": "https://Stackoverflow.com/users/2441",
"pm_score": 2,
"selected": false,
"text": "@ECHO OFF\n\n:LOOP\nECHO Waiting for 1 minute...\n PING -n 60 127.0.0.1>nul\n IF %DATE:~0,3%==Mon CALL SomeOtherFile.cmd\n... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299392",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
299,405 | <p>I'm just learning Perl.</p>
<p>When is it advisable to use OO Perl instead of non-OO Perl?</p>
<p>My tendency would be to always prefer OO unless the project is just a code snippet of < 10 lines.</p>
<p>TIA</p>
| [
{
"answer_id": 300117,
"author": "Aristotle Pagaltzis",
"author_id": 9410,
"author_profile": "https://Stackoverflow.com/users/9410",
"pm_score": 5,
"selected": true,
"text": "DB::check ISBN::check Shape::check"
}
] | 2008/11/18 | [
"https://Stackoverflow.com/questions/299405",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16609/"
] |
299,412 | <p>I love <a href="https://en.wikipedia.org/wiki/WinSCP" rel="noreferrer">WinSCP</a> for Windows. What is the best equivalent software for Linux?</p>
<p>I tried to use sshfs to mount the remote file system on my local machine, but it is not as user friendly as simply launching a GUI, plus it seems to require root acce... | [
{
"answer_id": 299516,
"author": "William Brendel",
"author_id": 2405,
"author_profile": "https://Stackoverflow.com/users/2405",
"pm_score": 6,
"selected": false,
"text": "sudo apt-get install filezilla\n"
},
{
"answer_id": 14485912,
"author": "Alois Mahdal",
"author_id":... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299412",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38626/"
] |
299,414 | <p>I have several aspx pages that can be opened either normally (full screen in browser), or called from another page as a popup (I am using Greybox, fwiw)</p>
<p>If the page is opened as a popup in Greybox, I would like to NOT display the master page content (which displays common top and left menus, etc).</p>
<p>As... | [
{
"answer_id": 299601,
"author": "HectorMac",
"author_id": 1400,
"author_profile": "https://Stackoverflow.com/users/1400",
"pm_score": 4,
"selected": true,
"text": "protected override void OnPreInit(EventArgs e)\n{\n base.OnPreInit(e);\n\n if(Request[\"PopUp\"] == \"Y\")\n ... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299414",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8678/"
] |
299,416 | <p>I'm working with a existing database and trying to write a sql query to get out all the account information including permission levels. This is for a security audit. We want to dump all of this information out in a readible fashion to make it easy to compare. My problem is that there is a bridge/link table for the ... | [
{
"answer_id": 299505,
"author": "Tony Andrews",
"author_id": 18747,
"author_profile": "https://Stackoverflow.com/users/18747",
"pm_score": 2,
"selected": false,
"text": "select userid, username\n, max(case when permissionid=10 then rights end) as permission10_rights\n, max(cas... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299416",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8664/"
] |
299,433 | <p>Is there a way to programatically access the DragHandleTemplate of a ReorderList (ASP.NET AJAX Control Toolkit) ... Specifically during ItemDataBound for the ReorderList, in order to change its appearance at the per item level?</p>
| [
{
"answer_id": 502744,
"author": "Pavel Chuchuva",
"author_id": 14131,
"author_profile": "https://Stackoverflow.com/users/14131",
"pm_score": 1,
"selected": false,
"text": "<DragHandleTemplate>\n <div class=\"dragHandle\">\n <asp:Label ID=\"lblDragHandle\" runat=\"server\" />\n </di... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299433",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36263/"
] |
299,439 | <p>I'm looking for a library or source code that provides guard methods such as checking for null arguments. Obviously this is rather simple to build, but I'm wondering if there are any out there for .NET already. A basic Google search didn't reveal much.</p>
| [
{
"answer_id": 1277101,
"author": "Alexey Romanov",
"author_id": 9204,
"author_profile": "https://Stackoverflow.com/users/9204",
"pm_score": 5,
"selected": true,
"text": "public ICollection GetData(Nullable<int> id, string xml, ICollection col)\n{\n // Check all preconditions:\n id... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299439",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2656/"
] |
299,441 | <p>I have a simple class in my WCF service that doesn't seem to be showing up properly for the client that accesses my WCF.</p>
<p>My class has 4 public properties that are of type string.</p>
<p>I marked the class with [DataContract()] and each member with [DataMember].</p>
<p>Why is my constructor not visible? Is... | [
{
"answer_id": 299455,
"author": "Brian Genisio",
"author_id": 36687,
"author_profile": "https://Stackoverflow.com/users/36687",
"pm_score": 3,
"selected": false,
"text": "public partial class SomeDataItem\n{\n public SomeDataItem(int a, int b)\n {\n A = a;\n B = b;\n... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299441",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
299,446 | <p>I have a function that resembles the one below. I'm not sure how to use the os module to get back to my original working directory at the conclusion of the jar's execution. </p>
<pre><code>def run():
owd = os.getcwd()
#first change dir to build_dir path
os.chdir(testDir)
#run jar from test director... | [
{
"answer_id": 299462,
"author": "grieve",
"author_id": 34329,
"author_profile": "https://Stackoverflow.com/users/34329",
"pm_score": 6,
"selected": true,
"text": "os.chdir(owd)\n"
},
{
"answer_id": 300204,
"author": "Alex Coventry",
"author_id": 1941213,
"author_prof... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299446",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37804/"
] |
299,490 | <p>I need to query Active Directory for a list of users whose password is about to expire. The obvious (and easy) way to do this is with:</p>
<pre><code>dsquery user -stalepwd n
</code></pre>
<p>The problem is that I need to add additional filters to only look for users who are in certain security groups. This is ... | [
{
"answer_id": 300169,
"author": "benPearce",
"author_id": 4490,
"author_profile": "https://Stackoverflow.com/users/4490",
"pm_score": 2,
"selected": false,
"text": "&(objectCategory=user)(memberof=CN=User Group,OU=Test,DC=foo,dc=com)\n"
},
{
"answer_id": 300227,
"author": "A... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299490",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
299,495 | <p>I have a <a href="http://download.oracle.com/javase/1.4.2/docs/api/javax/swing/JPanel.html" rel="noreferrer">JPanel</a> to which I'd like to add JPEG and PNG images that I generate on the fly.</p>
<p>All the examples I've seen so far in the <a href="http://java.sun.com/docs/books/tutorial/uiswing/" rel="noreferrer"... | [
{
"answer_id": 299545,
"author": "Lawrence Dol",
"author_id": 8946,
"author_profile": "https://Stackoverflow.com/users/8946",
"pm_score": 3,
"selected": false,
"text": "protected void paintComponent(Graphics gc) {\n super.paintComponent(gc);\n\n Dimension ... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299495",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15649/"
] |
299,497 | <p>I've created a windows form control which works successfully hosted in Internet Explorer. I'd like to give it an event and be able to respond to the event through javascript. I found a link that talks about it <a href="http://msdn.microsoft.com/en-ca/magazine/cc301932.aspx" rel="nofollow noreferrer">here</a>. It ... | [
{
"answer_id": 299551,
"author": "Brian Genisio",
"author_id": 36687,
"author_profile": "https://Stackoverflow.com/users/36687",
"pm_score": 1,
"selected": false,
"text": "public event Error;\npublic event Success;\n\nprotected void OnError()\n{\n if(Error != null)\n Error();\n... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299497",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9266/"
] |
299,504 | <p>I'm trying to use cygwin sqlplus to connect to a remote oracle installation located at myserver.mycompany.com port 1530. When I try</p>
<pre><code>sqlplus username@myserver.mycompany.com:1530/orcl
</code></pre>
<p>I get the error:</p>
<pre><code>ORA-12154: TNS:could not resolve the connect identifier specified
<... | [
{
"answer_id": 299709,
"author": "MCS",
"author_id": 1094969,
"author_profile": "https://Stackoverflow.com/users/1094969",
"pm_score": 0,
"selected": false,
"text": "ORACLE_HOME ORACLE_SID net_service_name"
},
{
"answer_id": 29122954,
"author": "Sina",
"author_id": 468538... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299504",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1094969/"
] |
299,512 | <p>What steps do I take? Any gotchas to be aware of or tips to enhance the IDE experience that are specific to SQL Server when using Emacs?</p>
| [
{
"answer_id": 299816,
"author": "Ray",
"author_id": 4872,
"author_profile": "https://Stackoverflow.com/users/4872",
"pm_score": 6,
"selected": true,
"text": "M-x sql-ms RET\nM-x sql-mode \n select 'foo' as bar\n select 'foo' as bar\ngo\n bar \n ----- \n foo\n\n(1 row affected)\n ... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299512",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4872/"
] |
299,515 | <p>In C# is there a technique using reflection to determine if a method has been added to a class as an extension method?</p>
<p>Given an extension method such as the one shown below is it possible to determine that Reverse() has been added to the string class?</p>
<pre><code>public static class StringExtensions
{
... | [
{
"answer_id": 299526,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 8,
"selected": true,
"text": "ExtensionAttribute ExtensionAttribute using System;\nusing System.Runtime.CompilerServices;\nusing System.Reflection;\nus... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299515",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27887/"
] |
299,529 | <p>I'm using Apache JMeter 2.3, which now supports "attempt HTTPS spoofing" under the Proxy Server element. </p>
<p>I've tried this on several different servers, and have had no success.
Has anyone been able to successfully record from an HTTPS source with this setting?</p>
<p>Or barring successfully recording, can ... | [
{
"answer_id": 49614949,
"author": "UBIK LOAD PACK",
"author_id": 460802,
"author_profile": "https://Stackoverflow.com/users/460802",
"pm_score": 3,
"selected": false,
"text": "8888 File -> Templates -> Recording -> Create\n Root CA Certificate"
}
] | 2008/11/18 | [
"https://Stackoverflow.com/questions/299529",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
299,536 | <p>Is it possible to create an integer (or DataTime, etc) column in ListView? It is quite important, because I would like to properly sort the list according to this column.</p>
<p>The only way to add subItems to a ListViewItem I found are:</p>
<pre><code>listviewitem.SubItems.Add("1");
</code></pre>
<p>I would like... | [
{
"answer_id": 299572,
"author": "Mariusz",
"author_id": 13541,
"author_profile": "https://Stackoverflow.com/users/13541",
"pm_score": 1,
"selected": false,
"text": ".Text int a = 0;\nlistView1.Items.Add(a.ToString());\n int a = Convert.ToInt32(listView1.Items[0].SubItems[0].Text);\n Dat... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299536",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5363/"
] |
299,546 | <p>I can query the AD and find all the IIS sites and their virtual directories, now I need to be able to update those home directories and save the changes.</p>
<p>After I fetch the directory entry I can display the site path using <code>$site.Path</code>, however setting it doesn't seem to have any effect. It never ... | [
{
"answer_id": 299561,
"author": "vfilby",
"author_id": 24279,
"author_profile": "https://Stackoverflow.com/users/24279",
"pm_score": 1,
"selected": true,
"text": " $s.psbase.properties.path[0] = $siteConfig.path\n $s.psbase.CommitChanges()\n"
},
{
"answer_id": 5463780,
... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299546",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24279/"
] |
299,548 | <p>In the helpfile entry for TDBComboBox, it says that the text of the selected option becomes the new value for the field. Is there any similar control that goes by ItemIndex instead of text? (To represent an enumerated type, for example.)</p>
| [
{
"answer_id": 300011,
"author": "vrad",
"author_id": 12891,
"author_profile": "https://Stackoverflow.com/users/12891",
"pm_score": 2,
"selected": false,
"text": "procedure TForm1.DBComboBox1DrawItem(Control: TWinControl; Index: Integer;\n Rect: TRect; State: TOwnerDrawState);\nbegin\n ... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299548",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32914/"
] |
299,553 | <p>I'm using .NET 2.0, and a recent code change has invalidated my previous Assert.AreEqual call (which compared two strings of XML). Only one element of the XML is actually different in the new codebase, so my hope is that a comparison of all the other elements will give me the result I want. The comparison needs to... | [
{
"answer_id": 299607,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "xml <MyElement></MyElmennt> <MyElment/> xml xml .Net"
},
{
"answer_id": 299725,
"author": "jlew",
"author_id":... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299553",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3475/"
] |
299,554 | <p>I am using a JSP bean and when I do an assignment to a new object, it gets over-written on a submit to the previous object.</p>
<pre><code><jsp:useBean id="base" class="com.example.StandardBase" scope="session" />
...
//base object id = 396
base = new Base()
//base object id = 1000
</code></pre>
<p>and on a... | [
{
"answer_id": 299573,
"author": "sblundy",
"author_id": 4893,
"author_profile": "https://Stackoverflow.com/users/4893",
"pm_score": 3,
"selected": true,
"text": "base = new Base() <jsp:useBean/> base = new Base() HttpSession.setAttribute() session.setAttribute(\"bean\", bean);\n session... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299554",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17712/"
] |
299,563 | <p>I don't understand why one method would work and the other would throw a NoMethodError if they come from the same lib file.</p>
<pre><code># app/views/bunnies/show.html.erb
<% if logged_in? %>
<%= current_user.login %> |
<%= link_to 'Logout', logout_path %> |
<% if authorized? %>
&... | [
{
"answer_id": 299764,
"author": "neezer",
"author_id": 32154,
"author_profile": "https://Stackoverflow.com/users/32154",
"pm_score": 1,
"selected": true,
"text": "helper_method :is_admin?\ndef is_admin?\n if logged_in? && current_user.login == \"admin\"\n true\n else\n false\n ... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299563",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32154/"
] |
299,565 | <p>I am compiling a legacy C code here and there is a lot of variables and struct members named "interface", but VC2008 express is complaining about these, do you know how to disable this?</p>
<p>I already changed settings to compile the code only as a C code, but no effect on this.</p>
| [
{
"answer_id": 299593,
"author": "wimh",
"author_id": 33499,
"author_profile": "https://Stackoverflow.com/users/33499",
"pm_score": 3,
"selected": true,
"text": "#define interface QQInterface\n"
},
{
"answer_id": 5432241,
"author": "Sebastian Brandt",
"author_id": 676662,... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299565",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/440867/"
] |
299,574 | <p>If I have the following setting in my app.config file. It is a setting I need to make sure my WCF client can negotiate the default proxy server.</p>
<pre><code><system.net>
<defaultProxy enabled="true" useDefaultCredentials="true"></defaultProxy>
</system.net>
</code></pre>
<p>Unfortun... | [
{
"answer_id": 299632,
"author": "Zachary Yates",
"author_id": 8360,
"author_profile": "https://Stackoverflow.com/users/8360",
"pm_score": 1,
"selected": true,
"text": "System.Net.WebProxy System.Net.WebRequest.DefaultWebProxy System.Net.WebProxy proxy = new WebProxy();\nproxy.UseDefault... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299574",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36687/"
] |
299,582 | <p>I want to use JavaScript to control an embedded Windows Media Player, as well as access any properties that the player exposes. I've found a few hacky examples online, but nothing concrete. </p>
<p>I really need access to play, pause, stop, seek, fullscreen, etc. I'd also like to have access to any events the playe... | [
{
"answer_id": 728100,
"author": "Mister Lucky",
"author_id": 81589,
"author_profile": "https://Stackoverflow.com/users/81589",
"pm_score": 4,
"selected": false,
"text": "<html>\n<head>\n <title>so-wmp</title>\n <script>\n\n onload=function() {\n player = document.getElementByI... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299582",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4106/"
] |
299,585 | <p>The net is overflowing with explanations of the <a href="http://en.wikipedia.org/wiki/Diamond_problem" rel="nofollow noreferrer">"dreaded diamond problem"</a>.
So is StackOverflow. I think I understand that bit, but I fail to translate that knowledge into comprehending something similar yet different.</p>
<p>My qu... | [
{
"answer_id": 299961,
"author": "deft_code",
"author_id": 28817,
"author_profile": "https://Stackoverflow.com/users/28817",
"pm_score": 2,
"selected": false,
"text": "Der1 Der2 Base auto p = new Join2;\nstatic_cast<Base*>(static_cast<Der1*>(p)) !=\n static_cast<Base*>(static_cast<D... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299585",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38656/"
] |
299,588 | <p>I have an XML file and an XML schema in another file and I'd like to validate that my XML file adheres to the schema. How do I do this in Python?</p>
<p>I'd prefer something using the standard library, but I can install a third-party package if necessary.</p>
| [
{
"answer_id": 299611,
"author": "altunyurt",
"author_id": 37491,
"author_profile": "https://Stackoverflow.com/users/37491",
"pm_score": 3,
"selected": false,
"text": "...\nroot = etree.XML(_bytes(\"<b/>\")) \ndtd = etree.DTD(BytesIO(\"<!ELEMENT b EMPTY>\")) \nself.assert_(dtd.validate(r... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299588",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1694/"
] |
299,597 | <p>To implement data access code in our application we need some framework to wrap around jdbc (ORM is not our choice, because of scalability).</p>
<p>The coolest framework I used to work with is <a href="http://static.springframework.org/spring/docs/2.5.x/reference/jdbc.html" rel="noreferrer">Spring-Jdbc</a>. However... | [
{
"answer_id": 10635155,
"author": "yegor256",
"author_id": 187141,
"author_profile": "https://Stackoverflow.com/users/187141",
"pm_score": 1,
"selected": false,
"text": "JdbcSession String name = new JdbcSession(source)\n .sql(\"SELECT name FROM foo WHERE id = ?\")\n .set(123)\n .sel... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299597",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15894/"
] |
299,604 | <p>My current project involves deploying an upgraded .exe file that runs as a Windows Service. In order to overwrite the existing .exe with the new version, I currently need to:</p>
<ol>
<li>Stop the service</li>
<li>Uninstall the service</li>
<li>Reboot the system (so Windows releases it's hold on the file)</li>
<li... | [
{
"answer_id": 299614,
"author": "Jonathan S.",
"author_id": 2034,
"author_profile": "https://Stackoverflow.com/users/2034",
"pm_score": 4,
"selected": false,
"text": "net stop <service name>\nnet start <service name>\n"
},
{
"answer_id": 301930,
"author": "StingyJack",
"... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299604",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38657/"
] |
299,606 | <p>What is the most direct and/or efficient way to convert a <code>char[]</code> into a <code>CharSequence</code>? </p>
| [
{
"answer_id": 299609,
"author": "jjnguy",
"author_id": 2598,
"author_profile": "https://Stackoverflow.com/users/2598",
"pm_score": 3,
"selected": false,
"text": "String CharSequence String char[] CharSequence seq = new String(arr);\n"
},
{
"answer_id": 299624,
"author": "Tom... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299606",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1412/"
] |
299,608 | <p>In addition to informing the user, we want to collect information for our debugging purposes. Our system is a niche system for only about 1400 customers, and therefore we are not as well-financed as we would hope, so bugs are more common than we would like. We currently have a window that shows the first line of t... | [
{
"answer_id": 299609,
"author": "jjnguy",
"author_id": 2598,
"author_profile": "https://Stackoverflow.com/users/2598",
"pm_score": 3,
"selected": false,
"text": "String CharSequence String char[] CharSequence seq = new String(arr);\n"
},
{
"answer_id": 299624,
"author": "Tom... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299608",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12897/"
] |
299,610 | <p>I want to send an array constructed in javascript with the selected values of a multiple select. Is there a way to send this array to a php script using ajax?</p>
| [
{
"answer_id": 299751,
"author": "rmeador",
"author_id": 10861,
"author_profile": "https://Stackoverflow.com/users/10861",
"pm_score": 2,
"selected": false,
"text": "http://blah.com/test.php?var[]=foo&var[]=bar&var[]=baz $var"
},
{
"answer_id": 424060,
"author": "Community",
... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299610",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17600/"
] |
299,619 | <p>I'd like to write a plugin that does something with the currently edited file in Eclipse. But I'm not sure how to properly get the file's full path.</p>
<p>This is what I do now:</p>
<pre><code>IFile file = (IFile) window.getActivePage().getActiveEditor.getEditorInput().
getAdapter(IFile.class);
</code></pre>
... | [
{
"answer_id": 299633,
"author": "Chris Marasti-Georg",
"author_id": 96,
"author_profile": "https://Stackoverflow.com/users/96",
"pm_score": 6,
"selected": true,
"text": "IResource.getRawLocation() IPath makeAbsolute()"
},
{
"answer_id": 302689,
"author": "Community",
"au... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299619",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4465/"
] |
299,628 | <p>When issuing an HTTP DELETE request, the request URI should completely identify the resource to delete. However, is it allowable to add extra meta-data as part of the entity body of the request?</p>
| [
{
"answer_id": 299696,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 11,
"selected": true,
"text": "Content-Length Transfer-Encoding"
},
{
"answer_id": 18141127,
"author": "Neil McGuigan",
"author_id": 2234... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299628",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/598/"
] |
299,659 | <p>What's the difference between <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/ref/WeakReference.html" rel="noreferrer"><code>java.lang.ref.WeakReference</code></a> and <a href="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/ref/SoftReference.html" rel="noreferr... | [
{
"answer_id": 299665,
"author": "Tom Hawtin - tackline",
"author_id": 4725,
"author_profile": "https://Stackoverflow.com/users/4725",
"pm_score": 5,
"selected": false,
"text": "SoftReference WeakReference SoftReference -Xmx SoftReference OutOfMemoryError"
},
{
"answer_id": 29970... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299659",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24982/"
] |
299,679 | <p>In my web app, when a user logs in, I add his Id to a vector of valid Ids in the servlet, when he logs out, I remove his Id from the vector, so I can see how many current users are active, if a user forgets to log out, my servelt generated html has : </p>
<pre><code><meta http-equiv="Refresh" content="30; url=My... | [
{
"answer_id": 299697,
"author": "Diodeus - James MacFarlane",
"author_id": 12579,
"author_profile": "https://Stackoverflow.com/users/12579",
"pm_score": 2,
"selected": false,
"text": "onbeforeclose"
},
{
"answer_id": 299700,
"author": "sblundy",
"author_id": 4893,
"a... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299679",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32834/"
] |
299,695 | <p>I'm trying to put in an exception in my web.config so that one page does not require authentication. However, it still redirects to the login page.</p>
<p><strong>The question isn't how to setup the web.config</strong>. Why? Our system (for better or worse) has a bunch of instrumentation besides the web.config. ... | [
{
"answer_id": 299713,
"author": "Gordon Bell",
"author_id": 16473,
"author_profile": "https://Stackoverflow.com/users/16473",
"pm_score": 0,
"selected": false,
"text": "<system.web>\n...\n</system.web>\n\n<location path=\"NoAuthNeeded.aspx\">\n <system.web>\n <authorization>\n... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299695",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/337/"
] |
299,703 | <p>Once it is compiled, is there a difference between:</p>
<pre><code>delegate { x = 0; }
</code></pre>
<p>and</p>
<pre><code>() => { x = 0 }
</code></pre>
<p>?</p>
| [
{
"answer_id": 299712,
"author": "Amy B",
"author_id": 8155,
"author_profile": "https://Stackoverflow.com/users/8155",
"pm_score": 8,
"selected": true,
"text": "Func Action"
},
{
"answer_id": 299752,
"author": "Olmo",
"author_id": 38670,
"author_profile": "https://Sta... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299703",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/93/"
] |
299,704 | <p>I'm getting quite a few errors in my code. Consequently, I would like to be able to minimize them at the outset or see as many errors as possible before code execution. Is this possible and if so, how can I do this?</p>
| [
{
"answer_id": 300173,
"author": "jfs",
"author_id": 4279,
"author_profile": "https://Stackoverflow.com/users/4279",
"pm_score": 5,
"selected": false,
"text": "doctest.testmod() if __name__==\"__main__\" assert print()"
},
{
"answer_id": 300361,
"author": "Michael Kuhn",
... | 2008/11/18 | [
"https://Stackoverflow.com/questions/299704",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37804/"
] |
299,719 | <p>In the Linux kernel, given the <code>task_struct</code>'s <code>mm</code> I can access the process's list of <code>vm_area_struct</code>s. Given these <code>vm_area_struct</code>s, how do I get the <code>struct page</code>s which actually correspond to this vma? </p>
<p>I tried looking for functions in mm/memory.c ... | [
{
"answer_id": 299875,
"author": "CesarB",
"author_id": 28258,
"author_profile": "https://Stackoverflow.com/users/28258",
"pm_score": 1,
"selected": false,
"text": "get_user_pages() copy_from_user copy_to_user"
}
] | 2008/11/18 | [
"https://Stackoverflow.com/questions/299719",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2132/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.