qid int64 4 22.2M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
377,464 | <p>I have plsql procedure which accepts certain parameters e.g. v_name, v_country, v_type.</p>
<p>I wish to have a cursor with a select statement like this:</p>
<pre><code>select column from table1 t1, table2 t2
where t1.name = v_name
and t1.country = v_country
and t1.id = t2.id
and t2.type = v_type
</code></pre>
<p... | [
{
"answer_id": 377599,
"author": "WW.",
"author_id": 14663,
"author_profile": "https://Stackoverflow.com/users/14663",
"pm_score": 3,
"selected": false,
"text": "CREATE OR REPLACE FUNCTION find_country( v_name t1.country%TYPE,\n v_type t2.type%TY... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377464",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26108/"
] |
377,477 | <p>I'm trying to do some research on flash objects in browsers. For example memory usage etc.
With Adobe Flex Builder 3 im trying to do some profiling on swf files but the problem is that I can only do this on debug swfs. Almost all adds/games/video are release version. Is there a way to some testing on those?</p>
| [
{
"answer_id": 377599,
"author": "WW.",
"author_id": 14663,
"author_profile": "https://Stackoverflow.com/users/14663",
"pm_score": 3,
"selected": false,
"text": "CREATE OR REPLACE FUNCTION find_country( v_name t1.country%TYPE,\n v_type t2.type%TY... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377477",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47351/"
] |
377,486 | <p>I've got a simple class that inherits from Collection and adds a couple of properties. I need to serialize this class to XML, but the XMLSerializer ignores my additional properties.</p>
<p>I assume this is because of the special treatment that XMLSerializer gives ICollection and IEnumerable objects. What's the best... | [
{
"answer_id": 377494,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 5,
"selected": true,
"text": "IList"
},
{
"answer_id": 2518563,
"author": "Neil",
"author_id": 24315,
"author_profile": "https:/... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377486",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3464/"
] |
377,506 | <p>I have the following code sample :</p>
<pre><code>public class Base
{
public virtual void MyMethod(int param)
{
Console.WriteLine("Base:MyMethod - Int {0}", param);
}
}
public class Derived1 : Base
{
public override void MyMethod(int param)
{
Console.WriteLine("Deri... | [
{
"answer_id": 377533,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 3,
"selected": false,
"text": "new"
},
{
"answer_id": 377542,
"author": "Codex",
"author_id": 40981,
"author_profile": "https://... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377506",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40981/"
] |
377,513 | <p>I'm getting the following error when I try to use the JSTL XML taglib:</p>
<pre><code>/server-side-transform.jsp(51,0)
According to TLD or attribute directive in tag file,
attribute xml does not accept any expressions
</code></pre>
<p>I'm looking into the tlds etc, but if anyone knows what this is an can save me ... | [
{
"answer_id": 3418955,
"author": "Sandeep More",
"author_id": 412372,
"author_profile": "https://Stackoverflow.com/users/412372",
"pm_score": 2,
"selected": false,
"text": "<%@ taglib prefix=\"c\" uri=\"http://java.sun.com/jsp/jstl/core\"%>"
},
{
"answer_id": 5675976,
"autho... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377513",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2362/"
] |
377,523 | <p>How can I constrain a vertical WPF <code>StackPanel</code>'s width to the most narrow item it contains. The <code>StackPanel</code>'s width must not be greater than the width of any other child element.</p>
| [
{
"answer_id": 377767,
"author": "Kent Boogaart",
"author_id": 5380,
"author_profile": "https://Stackoverflow.com/users/5380",
"pm_score": 1,
"selected": false,
"text": "StackPanel"
},
{
"answer_id": 378370,
"author": "PaulJ",
"author_id": 11308,
"author_profile": "ht... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377523",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4227/"
] |
377,551 | <p>How can I get the (physical) installed path of a DLL that is (may be) registered in GAC? This DLL is a control that may be hosted in things other than a .Net app (including IDEs other than VS...).</p>
<p>When I use System.Reflection.Assembly.GetExecutingAssembly().Location, it gives path of GAC folder in winnt\syst... | [
{
"answer_id": 377715,
"author": "BFree",
"author_id": 15861,
"author_profile": "https://Stackoverflow.com/users/15861",
"pm_score": 2,
"selected": false,
"text": "Stream s = Assembly.GetExecutingAssembly().GetManifestResourceStream(\"MyProject.MyXmlFile.xml\");\nXmlDocument d = new XmlD... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377551",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41557/"
] |
377,556 | <p>I'm programming a simple network chat with a Python server and a Java client.
But one question came into my mind:</p>
<p>Which "network protocol" should I use for communication?
There are some possibilities for me:</p>
<ul>
<li>YAML: Nice to parse, problem: parsed objects contain language specific parts</li>
<li>X... | [
{
"answer_id": 377577,
"author": "Mapad",
"author_id": 28165,
"author_profile": "https://Stackoverflow.com/users/28165",
"pm_score": 4,
"selected": true,
"text": "import json"
},
{
"answer_id": 384085,
"author": "James Brady",
"author_id": 29903,
"author_profile": "ht... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377556",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32043/"
] |
377,561 | <p>In a HTML page references to Javascript files are rewritten with one additional subdirectory at the end:</p>
<p>/+sfgRmluamFuX1R5cGU9amF2YV9zY3JpcHQmRmluamFuX0xhbmc9dGV4dC9qYXZhc2NyaXB0+. </p>
<p>Why is that and can it be a source to potential problems?</p>
<p>In our source code we have Javascript includes like t... | [
{
"answer_id": 377571,
"author": "annakata",
"author_id": 13018,
"author_profile": "https://Stackoverflow.com/users/13018",
"pm_score": 1,
"selected": false,
"text": "alert('LOADED!')"
},
{
"answer_id": 377582,
"author": "Community",
"author_id": -1,
"author_profile":... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377561",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,570 | <p>I'm stuck with the following:</p>
<p>I have an Access2003 report "rptInvoices".
Group levels are on CustomerID and PackingListID. </p>
<p>What I like to achieve is that every 2nd (or 3rd etc.) page of an invoice starts with a blank section (of say 9cm) at the top of the page. For this I would use an empty PageHea... | [
{
"answer_id": 377759,
"author": "Fionnuala",
"author_id": 2548,
"author_profile": "https://Stackoverflow.com/users/2548",
"pm_score": 0,
"selected": false,
"text": "Private Sub GroupHeader0_Format(Cancel As Integer, FormatCount As Integer)\n Me.PageHeaderSection.Visible = False\nEnd ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377570",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,574 | <p>I have 1 table called urltracker that holds information about the number of times a specific url has been clicked. The table is structured into 4 columns id, urlclicked, referrer and timestamp. The urltracker creates another entry in the table every time a url has been clicked.</p>
<p>What i would like to do is dis... | [
{
"answer_id": 377596,
"author": "Rockcoder",
"author_id": 5290,
"author_profile": "https://Stackoverflow.com/users/5290",
"pm_score": 2,
"selected": false,
"text": "SELECT urlclicked, \n COUNT(*)\n FROM urltracker\nGROUP BY urlclicked\n"
},
{
"answer_id": 377597,
"aut... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377574",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47373/"
] |
377,585 | <p>I am newbie to <code>Spring Webflow</code>, I have am using Custom <code>FlowHandler</code> </p>
<p>I can reach the respective Controller, but if set an attribute in a request Object I don't get it in JSP that is <code>View state</code>.</p>
<p>How can I proceed in this?</p>
| [
{
"answer_id": 380456,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": -1,
"selected": false,
"text": "<on-start> \n <evaluate expression=\"XXXXControllerwsf.firstHit(flowRequestContext)\" result=\"flowScope.res\"/>\n</o... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377585",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,614 | <p>I'm trying to have text spans pop up on a hover pseudo-class for different lines in a menu (list items). I can have the pop-ups occupy the same space in the div if the menu/list is horizontal, but a vertical list places the popups at the same vertical height as the "parent" list/menu item.</p>
<p>Here is the relev... | [
{
"answer_id": 378065,
"author": "Steve Perks",
"author_id": 16124,
"author_profile": "https://Stackoverflow.com/users/16124",
"pm_score": 2,
"selected": true,
"text": "<ul>\n <li><a href=\"\">item 1<span>this is popup1.</span></a></li>\n <li><a href=\"\">item 2<span>This is popup 2's ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377614",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,628 | <p>I have a project in which I want to be able to call wp_list_pages() on a page that also uses the Zend Framework to power some complex interfaces manages custom data outside of wordpress.</p>
<p>This page should also redirect the user to the wordpress login screen if they're not already logged in with the appropriat... | [
{
"answer_id": 378329,
"author": "Fernando Briano",
"author_id": 1492,
"author_profile": "https://Stackoverflow.com/users/1492",
"pm_score": 1,
"selected": false,
"text": "wp_list_pages()"
},
{
"answer_id": 378674,
"author": "Community",
"author_id": -1,
"author_profi... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377628",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,631 | <pre><code>echo date('r',strtotime("16 Dec, 2010")); //Tue, 16 Dec 2008 20:10:00 +0530
echo date('r',strtotime("16 Dec 2010")); //Sat, 16 Jan 2010 00:00:00 +0530
</code></pre>
<p>That's just wrong... Either it should fail or it should parse correctly. Do you know any robust natural language date/time parser in php?... | [
{
"answer_id": 377735,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "strptime()"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/377631",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17674/"
] |
377,632 | <p>I have an xml file which I would like to create a form/table around to add, edit and delete records using PHP. Currently I use simpleXML to load the XML file, and display its content on various pages.</p>
<p>Is there any way I can create a table that shows all results, and allows me to either edit or delete that p... | [
{
"answer_id": 1795427,
"author": "Witman",
"author_id": 218120,
"author_profile": "https://Stackoverflow.com/users/218120",
"pm_score": 2,
"selected": false,
"text": "<?php\n//REQUIRED INPUTS:\n// - xml: path to xml document\n// - xsl: path to xsl style sheet\n// - pCount: number of par... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377632",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47378/"
] |
377,633 | <p>I have searched high and low and cannot find a Samsung Omnia SDK.</p>
<p>I know its possible to use the .net framework for development , but i want more , specifically being able to access the motion sensor and maybe the GPS as well.</p>
<p>Any idea or directions are welcome.</p>
| [
{
"answer_id": 1795427,
"author": "Witman",
"author_id": 218120,
"author_profile": "https://Stackoverflow.com/users/218120",
"pm_score": 2,
"selected": false,
"text": "<?php\n//REQUIRED INPUTS:\n// - xml: path to xml document\n// - xsl: path to xsl style sheet\n// - pCount: number of par... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377633",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42069/"
] |
377,636 | <p>ive got the problem that i dont know how to stop my function with mouseover and restart it with mouseout</p>
<p>first here is my test-code:</p>
<p>
</p>
<pre><code> <script type="text/javascript">
function fadeEngine(x) {
var total_divs=3; //setze hier die nummer der gewollten di... | [
{
"answer_id": 377679,
"author": "Adam Bellaire",
"author_id": 21632,
"author_profile": "https://Stackoverflow.com/users/21632",
"pm_score": 0,
"selected": false,
"text": "stop()"
},
{
"answer_id": 377764,
"author": "Community",
"author_id": -1,
"author_profile": "htt... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377636",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,640 | <p>Which MVC-framework is the best option (performance/ease of development) for a web application, that will have + 2 million visits per week.</p>
<p>Basically the site is a search engine,but also there will be large amounts of XML parsing, and high db traffic.</p>
<p>We are using Java, over Jboss 4.2.3x, with PG as ... | [
{
"answer_id": 377679,
"author": "Adam Bellaire",
"author_id": 21632,
"author_profile": "https://Stackoverflow.com/users/21632",
"pm_score": 0,
"selected": false,
"text": "stop()"
},
{
"answer_id": 377764,
"author": "Community",
"author_id": -1,
"author_profile": "htt... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377640",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/314728/"
] |
377,644 | <p>Is there some way I can show custom exception messages as an alert in my jQuery AJAX error message?</p>
<p>For example, if I want to throw an exception on the server side via <a href="http://en.wikipedia.org/wiki/Apache_Struts" rel="noreferrer">Struts</a> by <code>throw new ApplicationException("User name alrea... | [
{
"answer_id": 381056,
"author": "Vitor Silva",
"author_id": 1842864,
"author_profile": "https://Stackoverflow.com/users/1842864",
"pm_score": 3,
"selected": false,
"text": "Response.StatusCode"
},
{
"answer_id": 450540,
"author": "Sprintstar",
"author_id": 15233,
"au... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377644",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,654 | <p>I am adding a custom background image to my navigation bar by creating an image view and doing a <code>[navigationController.navigationBar addSubview:imageView]</code>.</p>
<p>The background comes in fine. But as soon as I do this, my other navigation items start behaving in a strange manner. Sometimes the <code>na... | [
{
"answer_id": 912242,
"author": "CIFilter",
"author_id": 89170,
"author_profile": "https://Stackoverflow.com/users/89170",
"pm_score": 2,
"selected": false,
"text": "drawRect:"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/377654",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46297/"
] |
377,667 | <p>I have been searching for several hours but i couldn't find anything about this... Basically I would like to create a template or plug-in for word 2007 that would allow someone to create new pages for a CMS. What I have in mind is something similar to blog post template. I know how to create a basic template but I c... | [
{
"answer_id": 378352,
"author": "Renaud Bompuis",
"author_id": 3811,
"author_profile": "https://Stackoverflow.com/users/3811",
"pm_score": 0,
"selected": false,
"text": ".dotm"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/377667",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,686 | <p>I have a client and a server both written in .net 3.5 so I've got no interoperability issues.</p>
<p>The server is fully accessible on port 443 (I'm hosting it so I can open other ports if needed)</p>
<p>The client is however less accessible. It's often behind a corporate firewall, or behind a NAT, or uses an http... | [
{
"answer_id": 378197,
"author": "Brann",
"author_id": 47341,
"author_profile": "https://Stackoverflow.com/users/47341",
"pm_score": 0,
"selected": false,
"text": "<system.net>\n <defaultProxy useDefaultCredentials=\"true\">\n <proxy bypassonlocal=\"False\" proxyaddress=\"http://g... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377686",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47341/"
] |
377,691 | <p>I have a button, I need to display a pop-up in javascript. So on its client click I call a javascript function which does that.</p>
<p>if user clicks "yes", I need to do a post back and call buttons server side click event, here is what I am doing inside the javascript function</p>
<pre><code>__doPostBack(deleteL... | [
{
"answer_id": 378197,
"author": "Brann",
"author_id": 47341,
"author_profile": "https://Stackoverflow.com/users/47341",
"pm_score": 0,
"selected": false,
"text": "<system.net>\n <defaultProxy useDefaultCredentials=\"true\">\n <proxy bypassonlocal=\"False\" proxyaddress=\"http://g... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377691",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38997/"
] |
377,695 | <p>I am trying to get the size of an array populated by stdin:</p>
<pre><code>char *myArray;
cin >> myArray
cout << sizeof(myArray);
</code></pre>
<p>This returns 4 when I enter a string greater with a length greater than 4 e.g. "40905898"</p>
<p>Where am i going wrong?</p>
| [
{
"answer_id": 377717,
"author": "mmx",
"author_id": 33708,
"author_profile": "https://Stackoverflow.com/users/33708",
"pm_score": 4,
"selected": false,
"text": "sizeof"
},
{
"answer_id": 377728,
"author": "quamrana",
"author_id": 4834,
"author_profile": "https://Stac... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377695",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,709 | <p>I am considering adding validation on some insert and update statements for MS SQL Server 2005.
I want to be able to check the values inserted before it is written into the table - in this particular case, it is an integer field where the data must conform to a rule.
So a simple schema could be:</p>
<pre><code>([id... | [
{
"answer_id": 377720,
"author": "Galwegian",
"author_id": 3201,
"author_profile": "https://Stackoverflow.com/users/3201",
"pm_score": 1,
"selected": false,
"text": "CREATE TABLE [dbo].[SalesHistory](\n [SaleID] [int] NOT NULL,\n [Product] [char](150) NULL,\n [SaleDate] [... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377709",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20941/"
] |
377,716 | <p>I'm reading "<a href="http://jspro.org/" rel="nofollow noreferrer">Pro JavaScript Techniques</a>" by <a href="https://en.wikipedia.org/wiki/John_Resig" rel="nofollow noreferrer">John Resig</a>, and I'm confused with an example. This is the code:</p>
<pre><code>// Create a new user object that accepts an ob... | [
{
"answer_id": 377754,
"author": "PEZ",
"author_id": 44639,
"author_profile": "https://Stackoverflow.com/users/44639",
"pm_score": 2,
"selected": false,
"text": "function bindAccessors(o, property, value) {\n var _value = value;\n o[\"get\" + property] = function() {\n return _value... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377716",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7595/"
] |
377,722 | <p>I have always been interested in algorithms, sort, crypto, binary trees, data compression, memory operations, etc.</p>
<p>I read Mark Nelson's article about permutations in C++ with the STL function next_perm(), very interesting and useful, after that I wrote one class method to get the next permutation in Delphi, ... | [
{
"answer_id": 379635,
"author": "krusty.ar",
"author_id": 43981,
"author_profile": "https://Stackoverflow.com/users/43981",
"pm_score": 1,
"selected": false,
"text": "funciton custom_perm(int max_rep)\n do\n p := next_perm()\n while count_max_rerps(p) < max_rep\n return p\n"
},
... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377722",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/449425/"
] |
377,763 | <p>Is there any performance penalty for the following code snippet?</p>
<pre><code>for (int i=0; i<someValue; i++)
{
Object o = someList.get(i);
o.doSomething;
}
</code></pre>
<p>Or does this code actually make more sense?</p>
<pre><code>Object o;
for (int i=0; i<someValue; i++)
{
o = someList.get(... | [
{
"answer_id": 377788,
"author": "mmx",
"author_id": 33708,
"author_profile": "https://Stackoverflow.com/users/33708",
"pm_score": 3,
"selected": false,
"text": "o"
},
{
"answer_id": 377996,
"author": "SamBeran",
"author_id": 43379,
"author_profile": "https://Stackove... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377763",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24545/"
] |
377,768 | <p>I am looking for a more elegant way of concatenating strings in Ruby.</p>
<p>I have the following line:</p>
<pre><code>source = "#{ROOT_DIR}/" << project << "/App.config"
</code></pre>
<p>Is there a nicer way of doing this?</p>
<p>And for that matter what is the difference between <code><<</cod... | [
{
"answer_id": 377787,
"author": "Keltia",
"author_id": 16143,
"author_profile": "https://Stackoverflow.com/users/16143",
"pm_score": 10,
"selected": true,
"text": "<<"
},
{
"answer_id": 377799,
"author": "Dejan Simic",
"author_id": 32720,
"author_profile": "https://S... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377768",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11755/"
] |
377,776 | <p>If i have a parameterized SQL statement like this: </p>
<pre><code>SELECT * FROM table WHERE my_field = :field_value
</code></pre>
<p>Does anyone know if PDO will recognize this(see below) as the same SQL statement and use the cache instead of assuming it's a completely different SQL statement:</p>
<pre><code>SEL... | [
{
"answer_id": 378670,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "PDO::ATTR_EMULATE_PREPARES"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/377776",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2494/"
] |
377,779 | <p>I am displaying Japanese characters in a VB6 application with the system locale set to Japan and the language for non Unicode programs as Japanese. A call to GetACP() correctly returns 932 for Japanese. When I insert the Japanese strings into my controls they display as “ƒAƒtƒŠƒJ‚Ì—‰¤” rather than “アフリカの女王”. If I... | [
{
"answer_id": 939842,
"author": "Ant",
"author_id": 11529,
"author_profile": "https://Stackoverflow.com/users/11529",
"pm_score": 3,
"selected": true,
"text": "Private Const LOCALE_SYSTEM_DEFAULT As Long = &H800\nPrivate Const LOCALE_IDEFAULTANSICODEPAGE As Long = &H1004\nPrivate Const ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377779",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5025/"
] |
377,785 | <p>I just don't get it.
I use cocos2d for development of a small game on the iPhone/Pod. The framework is just great, but I fail at touch detection. I read that you just need to overwrite the proper functions (e.g. "touchesBegan" ) in the implementation of a class which subclasses CocosNode. But it doesn't wo... | [
{
"answer_id": 379892,
"author": "Genericrich",
"author_id": 39932,
"author_profile": "https://Stackoverflow.com/users/39932",
"pm_score": 4,
"selected": false,
"text": "-(BOOL)ccTouchesEnded:(NSSet *)touches withEvent:(UIEvent *)event {\nUITouch *touch = [touches anyObject];\nCGPoint lo... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377785",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,794 | <p>I am trying a straightforward remote json call with jquery. I am trying to use the reddit api. <a href="http://api.reddit.com" rel="nofollow noreferrer">http://api.reddit.com</a>. This returns a valid json object.</p>
<p>If I call a local file (which is what is returned from the website saved to my local disk) thin... | [
{
"answer_id": 377832,
"author": "Jennifer",
"author_id": 22360,
"author_profile": "https://Stackoverflow.com/users/22360",
"pm_score": 2,
"selected": true,
"text": "$(document).ready(function() {\n $.getJSON(\"http://api.flickr.com/services/feeds/photos_public.gne?tags=cat&tagmode=any&... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377794",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3431280/"
] |
377,798 | <p>I'm using SQL Server 2005.</p>
<p>I have a field that must either contain a unique value or a NULL value. I think I should be enforcing this with either a <code>CHECK CONSTRAINT</code> or a <code>TRIGGER for INSERT, UPDATE</code>.</p>
<p>Is there an advantage to using a constraint here over a trigger (or vice-vers... | [
{
"answer_id": 377849,
"author": "tvanfosson",
"author_id": 12950,
"author_profile": "https://Stackoverflow.com/users/12950",
"pm_score": 3,
"selected": true,
"text": " field is null or dbo.fn_count_maximum_of_field(field) < 2\n"
},
{
"answer_id": 377879,
"author": "dotjoe"... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377798",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20377/"
] |
377,819 | <p>Let's say I have a class like this:</p>
<pre><code>class ApplicationDefs{
public static final String configOption1 = "some option";
public static final String configOption2 = "some other option";
public static final String configOption3 = "yet another option";
}
</code></pre>
<p>Many of the other classes in my app... | [
{
"answer_id": 377825,
"author": "Yuval Adam",
"author_id": 24545,
"author_profile": "https://Stackoverflow.com/users/24545",
"pm_score": 3,
"selected": false,
"text": "final"
},
{
"answer_id": 377828,
"author": "Bombe",
"author_id": 43582,
"author_profile": "https://... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377819",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27784/"
] |
377,840 | <p>How to truncate and shrink large log files in SQL Server 2005? How to apply truncation at regular intervals?</p>
<p>Is there any difference between truncation and shrinking?</p>
<p>Thanks in advance</p>
| [
{
"answer_id": 377844,
"author": "mmx",
"author_id": 33708,
"author_profile": "https://Stackoverflow.com/users/33708",
"pm_score": 0,
"selected": false,
"text": "DBCC SHRINKFILE"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/377840",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/29515/"
] |
377,841 | <p>I am trying to implement a wpf user control that binds a text box to a list of doubles using a converter. How can i set the instance of user control to be the converter parameter?</p>
<p>the code for the control is shown below</p>
<p>Thanks </p>
<pre><code><UserControl x:Class="BaySizeControl.BaySizeTextBox"
... | [
{
"answer_id": 377868,
"author": "Frederic",
"author_id": 42826,
"author_profile": "https://Stackoverflow.com/users/42826",
"pm_score": 4,
"selected": true,
"text": "<TextBox Name=\"Textbox_baysizes\">\n <TextBox.Text>\n <MultiBinding Converter=\"{StaticResource BaySizeConverte... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377841",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18966/"
] |
377,846 | <p>So I have this GIF file on my desktop (it's a 52 card deck of poker cards). I have been working on a program that cuts it up into little acm.graphics.GImages of each card. Now, however, I want to write those GImages or pixel arrays to a file so that I can use them later. I thought it would be as straight forward as ... | [
{
"answer_id": 377893,
"author": "Brendan Cashman",
"author_id": 5814,
"author_profile": "https://Stackoverflow.com/users/5814",
"pm_score": 4,
"selected": true,
"text": "BufferedImage image = new BufferedImage(width, height, BufferedImage.TYPE_INT_RGB);\n\nWritableRaster raster = image.... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377846",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/29182/"
] |
377,850 | <p>I have a MySQL query in which I want to include a list of ID's from another table. On the website, people are able to add certain items, and people can then add those items to their favourites. I basically want to get the list of ID's of people who have favourited that item (this is a bit simplified, but this is wha... | [
{
"answer_id": 377900,
"author": "soulmerge",
"author_id": 44562,
"author_profile": "https://Stackoverflow.com/users/44562",
"pm_score": 5,
"selected": true,
"text": "items.id"
},
{
"answer_id": 377926,
"author": "Turnkey",
"author_id": 13144,
"author_profile": "https... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377850",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37472/"
] |
377,854 | <p>jQuery return links are not working. I have Used jQuery and the basic Ajax feature. My jQuery returns the links from file <code>Links_ajax.php</code>.</p>
<p>I giving the code samples.</p>
<p>GetCustomerData.php has:</p>
<pre><code><html>
<script type="text/javascript">
<script src="ajax.js... | [
{
"answer_id": 405139,
"author": "Alec Smart",
"author_id": 426996,
"author_profile": "https://Stackoverflow.com/users/426996",
"pm_score": 1,
"selected": false,
"text": "success: function(data){\n //$(\"#response\").html(data);\n alert(data);\n }\n"
},
{
"answer_id": 4... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377854",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44984/"
] |
377,864 | <p>Is it possible is asp to detect from the MobileCapabilities object if the device support arabic or not</p>
| [
{
"answer_id": 500948,
"author": "Asaf R",
"author_id": 6827,
"author_profile": "https://Stackoverflow.com/users/6827",
"pm_score": 1,
"selected": false,
"text": "Accept-Language: he-IL\n"
},
{
"answer_id": 1292940,
"author": "David d C e Freitas",
"author_id": 40961,
... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377864",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,865 | <p>We are experiencing an exceedingly hard to track down issue where we are seeing ClassCastExceptions <em>sometimes</em> when trying to iterate over a list of unmarshalled objects. The important bit is <em>sometimes</em>, after a reboot the particular code works fine. This seems to point in the direction of concurrenc... | [
{
"answer_id": 670410,
"author": "ivan_ivanovich_ivanoff",
"author_id": 76393,
"author_profile": "https://Stackoverflow.com/users/76393",
"pm_score": 2,
"selected": false,
"text": "JAXBContext.newInstance(MyClass1.class,MyClass2.class, [...]);\n"
},
{
"answer_id": 1158738,
"a... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377865",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1996/"
] |
377,872 | <p>I dynamically create an element (div) in javascript, on which i register an event listener:</p>
<pre><code>var tooltip = document.createElement('div');
tooltip.onclick = function() { alert('hello'); }
</code></pre>
<p>Now, if I attach this element to the document body:</p>
<pre><code>document.body.appendChild(to... | [
{
"answer_id": 378061,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<html>\n<head>\n\n<script type=\"text/javascript\">\n\nfunction makeDiv() {\n var tooltip = document.createElement('div');\n\... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377872",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,883 | <p>I'm making a simple tool that will get a string of MySQL commands and run it (on several DB servers sequentially). I trust the users to be sensible, but mistakes happen, and I'm looking for a way to prevent basic typos:</p>
<p>Is there a way to validate, at runtime, (relatively simple) MySQL queries to see if they'... | [
{
"answer_id": 377905,
"author": "soulmerge",
"author_id": 44562,
"author_profile": "https://Stackoverflow.com/users/44562",
"pm_score": 2,
"selected": false,
"text": "CREATE TEMPORARY TABLE users SELECT * FROM users;\nINSERT INTO users(name) VALUES('UniqueName');\nDROP TABLE users;\nSEL... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377883",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19746/"
] |
377,901 | <p>I'm implementing a JAX-WS webservice that will be consumed by external Java and PHP clients.</p>
<p>The clients have to authenticate with a username and password stored in a database per client.</p>
<p>What authentication mechanism is best to use to make sure that misc clients can use it?</p>
| [
{
"answer_id": 9076363,
"author": "Philipp",
"author_id": 740514,
"author_profile": "https://Stackoverflow.com/users/740514",
"pm_score": 3,
"selected": false,
"text": "//First, try authenticating against two predefined parameters in the HTTP \n//Request Header: 'Username' and 'Password'... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377901",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/33468/"
] |
377,911 | <p>I'm writing an utility (<a href="http://reg2run.sf.net" rel="nofollow noreferrer">http://reg2run.sf.net</a>) which in case execution without arguments works as windows application (shows OpenFileDialog, etc), otherwise - as console application.</p>
<p>So, in first case I don't want to show a console window, that's ... | [
{
"answer_id": 378004,
"author": "Barry Kelly",
"author_id": 3712,
"author_profile": "https://Stackoverflow.com/users/3712",
"pm_score": 4,
"selected": true,
"text": "rxvt/W11/wrap/wrap.c"
},
{
"answer_id": 378609,
"author": "SaguiItay",
"author_id": 6980,
"author_pro... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377911",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41956/"
] |
377,912 | <p>I have the function</p>
<pre><code>sublist(_,[_],_) :-
!.
sublist(X,[Y|T],Z) :-
R is X - Y,
sublist(X,T,[R|Z]).
</code></pre>
<p>an example call is <code>sublist(2,[1,2,3],Z)</code>.
At the end of execution it just gives me 'yes', but i'd like to see the contents of Z.</p>
<p>I know it's something sim... | [
{
"answer_id": 379025,
"author": "Kaarel",
"author_id": 12547,
"author_profile": "https://Stackoverflow.com/users/12547",
"pm_score": 1,
"selected": false,
"text": "sublist/3"
},
{
"answer_id": 717007,
"author": "Tom Wright",
"author_id": 50151,
"author_profile": "htt... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377912",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42789/"
] |
377,916 | <p>I'm planning to use MS entity framework for new web apps (come on EF v2!).</p>
<p>So does it make sense to plan ahead by adding timestamp columns to all entity tables in existing and future databases, to support concurrency checks? Is there any reason why it would be a <em>bad</em> idea to have a timestamp column i... | [
{
"answer_id": 377934,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 4,
"selected": true,
"text": "varbinary(8)"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/377916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47346/"
] |
377,920 | <p>I'm creating a Q&A application in CakePHP, and I want to exclude my associations in some cases. Imagine the following:</p>
<p>I'm listing all questions on the first page using $this->Question->findAll();. Since I have the following association in my model:</p>
<pre><code>public $hasMany = array('Answer' =>
... | [
{
"answer_id": 377969,
"author": "duckyflip",
"author_id": 7370,
"author_profile": "https://Stackoverflow.com/users/7370",
"pm_score": 4,
"selected": true,
"text": "$this->Question->unBindModel(array('hasMany' => array(’Answer’)))\n"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/377920",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41596/"
] |
377,924 | <p>I got a table with a custom TableCellEditor (extending DefaultCellEditor) with a JFormattedTextField as the editor component.</p>
<p>Now I got problem: when I press a separate button while editing. When the button is pressed, the editor remains "open and active" while I'd want it to stop editing so that the changes... | [
{
"answer_id": 377937,
"author": "asalamon74",
"author_id": 21348,
"author_profile": "https://Stackoverflow.com/users/21348",
"pm_score": 5,
"selected": true,
"text": "jtable.putClientProperty(\"terminateEditOnFocusLost\", Boolean.TRUE);"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/377924",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28482/"
] |
377,927 | <p>I am writing a console program in C#.</p>
<p>Is there a way I can use a Console.Clear() to only clear certain things on the console screen?</p>
<p>Here's my issue:</p>
<p>I have a logo (I put it on screen using Console.WriteLine()) and a 2d array which I want to keep constant and clear everything below it. </p>
| [
{
"answer_id": 378036,
"author": "Diadistis",
"author_id": 47401,
"author_profile": "https://Stackoverflow.com/users/47401",
"pm_score": 6,
"selected": true,
"text": "static void Clear(int x, int y, int width, int height)\n{\n int curTop = Console.CursorTop;\n int curLeft = Console... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377927",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47415/"
] |
377,930 | <p>Given a string S, what is the best algorithm to find a substring which repeats maximum number of times.</p>
<p>For example, in "assdssfssd", it is "ss" which repeats maximum number of times.</p>
| [
{
"answer_id": 377947,
"author": "Can Berk Güder",
"author_id": 2119,
"author_profile": "https://Stackoverflow.com/users/2119",
"pm_score": 1,
"selected": false,
"text": ">>> str = 'Can Berk Güder'\n>>> letters = [l for l in str]\n>>> uniq_letters = set(letters)\n>>> counts = [(letters.c... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377930",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39615/"
] |
377,942 | <p>Similar to the XP login screen, in Flex 3, how can I display a warning to the user in a textbox that the CAPS LOCK key is enabled?</p>
| [
{
"answer_id": 377959,
"author": "mmattax",
"author_id": 1638,
"author_profile": "https://Stackoverflow.com/users/1638",
"pm_score": 1,
"selected": false,
"text": "\nif(flash.ui.Keyboard.capsLock){\n // caps lock is on...\n}\n"
},
{
"answer_id": 5402685,
"author": "genius"... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377942",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5592/"
] |
377,960 | <p>I want to set the font color of a cell to a specific RGB value.</p>
<p>If I use</p>
<pre><code>ActiveCell.Color = RGB(255,255,0)
</code></pre>
<p>I do get yellow, but if I use a more exotic RGB value like:</p>
<pre><code>ActiveCell.Color = RGB(178, 150, 109)
</code></pre>
<p>I just get a grey color back.</p>
<... | [
{
"answer_id": 378014,
"author": "LeppyR64",
"author_id": 16592,
"author_profile": "https://Stackoverflow.com/users/16592",
"pm_score": 4,
"selected": true,
"text": " Public Sub checkPalette()\n Dim i As Integer, iRed As Integer, iGreen As Integer, iBlue As Integer\n Dim lcolor... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377960",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45467/"
] |
377,961 | <p>Hey there, I've got a block of HTML that I'm going to be using repeatedly (at various times during a users visit, not at once). I think that the best way to accomplish this is to create an HTML div, hide it, and when needed take its innerHTML and do a replace() on several keywords. As an example HTML block...</p>
... | [
{
"answer_id": 377976,
"author": "annakata",
"author_id": 13018,
"author_profile": "https://Stackoverflow.com/users/13018",
"pm_score": 1,
"selected": false,
"text": "with(document.getElementById('sample'))\n{\n innerHTML = innerHTML.replace(a, A).replace(b, B).replace(c, C); //etc\n}\n... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377961",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
377,968 | <p>Like the question says, if I have a request for a page on my site like this</p>
<p><a href="http://somename.something.here/Dada.aspx" rel="nofollow noreferrer">http://somename.something.here/Dada.aspx</a></p>
<p>to something like this</p>
<p><a href="https://somename.something.here/Dada.aspx" rel="nofollow norefe... | [
{
"answer_id": 377980,
"author": "Bork Blatt",
"author_id": 5381,
"author_profile": "https://Stackoverflow.com/users/5381",
"pm_score": -1,
"selected": false,
"text": "Response.Redirect(\"WebForm2.aspx\")\n"
},
{
"answer_id": 377989,
"author": "BobbyShaftoe",
"author_id":... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377968",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17787/"
] |
377,990 | <p>I have a set of five boolean values. If more than one of these are true I want to excecute a particular function. What is the most elegant way you can think of that would allow me to check this condition in a single if() statement? Target language is C# but I'm interested in solutions in other languages as well (as ... | [
{
"answer_id": 378018,
"author": "faulty",
"author_id": 20007,
"author_profile": "https://Stackoverflow.com/users/20007",
"pm_score": 3,
"selected": false,
"text": "if (bool1 || bool2 || bool3 || bool4 || bool5)\n"
},
{
"answer_id": 378021,
"author": "Bork Blatt",
"author... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377990",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6903/"
] |
377,992 | <p>I've been playing around with Qt for a few hours now. I found that qmake produces Xcode project files on Mac OS X instead of good ol' makefiles. I don't want to launch Xcode every time I want to build "Hello, world".</p>
<p>How do I make qmake generate regular makefiles or, if that's something that cannot be done o... | [
{
"answer_id": 378102,
"author": "Olie",
"author_id": 34820,
"author_profile": "https://Stackoverflow.com/users/34820",
"pm_score": 6,
"selected": false,
"text": "$ man xcodebuild\n"
},
{
"answer_id": 378614,
"author": "user47488",
"author_id": 47488,
"author_profile"... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377992",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47135/"
] |
377,999 | <p>I find that what not to do is a harder lesson to learn than what should be done. </p>
<p>From my experience, what separates an expert from an intermediate is the ability to select from among various seemingly equivalent ways of doing the same thing.</p>
<p>So, when it comes to JavaScript <strong>what kinds of thin... | [
{
"answer_id": 378031,
"author": "annakata",
"author_id": 13018,
"author_profile": "https://Stackoverflow.com/users/13018",
"pm_score": 6,
"selected": false,
"text": "undefined"
},
{
"answer_id": 378049,
"author": "scunliffe",
"author_id": 6144,
"author_profile": "htt... | 2008/12/18 | [
"https://Stackoverflow.com/questions/377999",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2443/"
] |
378,030 | <p>I have a windows service that runs fine, but I have to have it run under a special user account.</p>
<p>Currently I go into services and change the logon as section, but for deployment this has to be done more professionally.</p>
<p>Is there a way for me to have it logon as a custom user account programatically, o... | [
{
"answer_id": 378042,
"author": "Charles Bretana",
"author_id": 32632,
"author_profile": "https://Stackoverflow.com/users/32632",
"pm_score": 3,
"selected": true,
"text": " public class MyServiceInstaller : Installer\n {\n private ServiceInstaller servInst;\n private Se... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378030",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39677/"
] |
378,040 | <p>I have a problem that I would like have solved via a SQL query. This is going to
be used as a PoC (proof of concept).</p>
<p>The problem:</p>
<p>Product offerings are made up of one or many product instances, a product
instance can belong to many product offerings.
This can be realised like this in a table:</p>
<... | [
{
"answer_id": 378074,
"author": "hamishmcn",
"author_id": 3590,
"author_profile": "https://Stackoverflow.com/users/3590",
"pm_score": 1,
"selected": false,
"text": "select distinct po \nfrom tbl \nwhere po not in ( select po from tbl where pi not in (10,11,13) )\n"
},
{
"answer_... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378040",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47431/"
] |
378,066 | <p>If I have a form-backing object that has a complicated object tree -- say a Person that has a Contact Info object that has an Address object that has a bunch of Strings -- it seems that the object needs to be fully populated with component objects before I can bind to it. So if I'm creating a new Person, I need to ... | [
{
"answer_id": 379304,
"author": "Olivier",
"author_id": 43585,
"author_profile": "https://Stackoverflow.com/users/43585",
"pm_score": 1,
"selected": false,
"text": " < form:input path=\"person.contactInfo.homeAddress.street\"/>"
},
{
"answer_id": 379425,
"author": "bpapa",
... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378066",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1237/"
] |
378,089 | <p>The most recent Crystal XI component for Delphi was released for Delphi 7. That VCL component compiles in D2007, but gives me errors at runtime. What is the best way to display a database-connected Crystal Report in a Delphi 2007 application?</p>
| [
{
"answer_id": 378099,
"author": "JosephStyons",
"author_id": 672,
"author_profile": "https://Stackoverflow.com/users/672",
"pm_score": 3,
"selected": true,
"text": "...\nuses\n CrystalActiveXReportViewerLib11_5_TLB, OleAuto;\n...\n\nprocedure TForm1.Button1Click(Sender: TObject);\nvar\... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378089",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/672/"
] |
378,092 | <p>I'm using HTTPService with a POST operation to submit a Base64 encoded file (taken from bitmap data within the app) but I could really do with getting some idea of the progress of the POST operation (e.g. like the FileReference.upload()).</p>
<p>I don't think this is possible, but it would be awesome if it is (via ... | [
{
"answer_id": 389926,
"author": "ForYourOwnGood",
"author_id": 48728,
"author_profile": "https://Stackoverflow.com/users/48728",
"pm_score": 4,
"selected": true,
"text": "\nprivate function forYou() : void{\n var req : URLRequest = new URLRequest(\"PUT YOUR URL HERE\")\n var loa... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378092",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6432/"
] |
378,096 | <p>In a stylesheet i have:</p>
<pre><code> * HTML BODY
{
padding-right: 0px;
padding-left: 0px;
padding-bottom: 25px;
padding-top: 190px;
}
* HTML #maincontent
{
width: 100%;
height: 100%;
}
</code></pre>
<p>i know that a . means class and a # mea... | [
{
"answer_id": 378113,
"author": "Greg",
"author_id": 24181,
"author_profile": "https://Stackoverflow.com/users/24181",
"pm_score": 2,
"selected": false,
"text": "*"
},
{
"answer_id": 378119,
"author": "Mark Pim",
"author_id": 38883,
"author_profile": "https://Stackov... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378096",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46716/"
] |
378,097 | <p>I have a TreeView control showing multiple TreeNodes in an organised heirarchy. I want to stop the user selecting the highest level Nodes (this was achieved by using the BeforeSelect Event). I also want to stop the TreeView from highlighting the top level nodes if the user selects them i.e. stop the TreeView from ch... | [
{
"answer_id": 972830,
"author": "OneSHOT",
"author_id": 1996973,
"author_profile": "https://Stackoverflow.com/users/1996973",
"pm_score": 3,
"selected": true,
"text": "private void treeView1_MouseDown(object sender, MouseEventArgs e)\n{\n TreeNode tn = treeView1.GetNodeAt(e.Location)... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378097",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1816/"
] |
378,101 | <p>I've created a simple HttpModule to log the uses of my existing webservice. There's a dll containing a single class </p>
<pre><code>public class TrackingModule : System.Web.IHttpModule
{
public TrackingModule(){}
public void Init(System.Web.HttpApplication context)
{
context.BeginRequest+=new E... | [
{
"answer_id": 378136,
"author": "Bullines",
"author_id": 27870,
"author_profile": "https://Stackoverflow.com/users/27870",
"pm_score": 0,
"selected": false,
"text": "<add name=\"TrackingModule\" type=\"WebserviceTrackingModule.TrackingModule\" />\n"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/378101",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34402/"
] |
378,105 | <p>We have a custom section in my app.config file related to our IoC container class. How can I get intellisense when editing the config file for this section, as well as getting rid of the compiler messages informing me of the missing schema.</p>
<p>I found this question here: <a href="https://stackoverflow.com/quest... | [
{
"answer_id": 378162,
"author": "Steven A. Lowe",
"author_id": 9345,
"author_profile": "https://Stackoverflow.com/users/9345",
"pm_score": 5,
"selected": true,
"text": "<xs:include schemaLocation=\"YOUR_DIRECTORY\\namespace.assemblyname.xsd\"/>\n"
},
{
"answer_id": 25770350,
... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378105",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/267/"
] |
378,106 | <p>I've downloaded the svntask for ant from tigris.org, so it is the "official" one.</p>
<p>I have a simple task to update my entire project</p>
<pre><code><target name="prepare">
<svn username="user" password="pass">
<update>
<fileset dir="."/>
... | [
{
"answer_id": 378358,
"author": "FoxyBOA",
"author_id": 19347,
"author_profile": "https://Stackoverflow.com/users/19347",
"pm_score": 1,
"selected": false,
"text": "<svn username=\"user\" password=\"pass\" svnkit=\"true\">\n"
},
{
"answer_id": 378372,
"author": "Stephane Gre... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378106",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
378,117 | <p>I've been tasked with rewriting the Javascript engine currently powering my customer's internal website. While reviewing the code I've come across this function <em>flvFPW1</em> which I do not recognize, nor can I decipher the code(my Javascript knowledge is modest at best). A Google search gives me a few hits, but ... | [
{
"answer_id": 378152,
"author": "scunliffe",
"author_id": 6144,
"author_profile": "https://Stackoverflow.com/users/6144",
"pm_score": 1,
"selected": false,
"text": "javascript:alert(flvFPW1);\n"
},
{
"answer_id": 378243,
"author": "Ates Goral",
"author_id": 23501,
"a... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378117",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3999/"
] |
378,118 | <p>Should I instantiate my worker variables inside or outside my for loop</p>
<p>E.g.</p>
<p>a)</p>
<pre><code>bool b = default(bool);
for (int i = 0; i < MyCollection.Length; i++)
{
b = false;
foreach(object myObject in myObjectCollection)
{
if (object.Property == MyCollection[i].Property)
{
... | [
{
"answer_id": 378140,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 2,
"selected": true,
"text": "using System;\n\nclass Test\n{\n static void Main() {}\n\n static void DeclareInside()\n {\n for (int i=0... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378118",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12918/"
] |
378,133 | <p>Given a DOM element how do I find its nearest parent with a given css class?</p>
<pre><code>$(".editButton").click(function() {
(magic container selector goes here).addClass("editing");
});
</code></pre>
<p>I don't want to use lots or $(...).parent().parent() since I don't want to be bound to a particular dom s... | [
{
"answer_id": 378148,
"author": "Bill Zeller",
"author_id": 19234,
"author_profile": "https://Stackoverflow.com/users/19234",
"pm_score": 6,
"selected": true,
"text": "$(this).parents('.classYouWant:first').addClass(\"editing\");\n"
},
{
"answer_id": 378160,
"author": "missa... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378133",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2443/"
] |
378,134 | <p>Here's the deal. </p>
<p>My WinApp is running, right? in let's say process 'A'.It creates a file and keeps the handle (keeps the file open for writing, this is a must).<br>
Then it starts other msbuild process, let's call it 'B'. This process is started with the <a href="http://msdn.microsoft.com/en-us/library/sys... | [
{
"answer_id": 378313,
"author": "Arnout",
"author_id": 3496,
"author_profile": "https://Stackoverflow.com/users/3496",
"pm_score": 3,
"selected": true,
"text": "System.Diagnostic.Process.Start"
},
{
"answer_id": 378359,
"author": "Codex",
"author_id": 40981,
"author_... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378134",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23893/"
] |
378,153 | <p>I am having some issues with using the OrderBy extension method on a LINQ query when it is operating on an enum type. I have created a regular DataContext using visual studio by simply dragging and dropping everything onto the designer. I have then created seperate entity models, which are simply POCO's, and I have ... | [
{
"answer_id": 378191,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 1,
"selected": false,
"text": "Campaign"
},
{
"answer_id": 378508,
"author": "bruno conde",
"author_id": 31136,
"author_profile"... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378153",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40240/"
] |
378,157 | <p>I am trying to use regular expressions to find a UK postcode within a string.</p>
<p>I have got the regular expression working inside RegexBuddy, see below:</p>
<pre><code>\b[A-Z]{1,2}[0-9][A-Z0-9]? [0-9][ABD-HJLNP-UW-Z]{2}\b
</code></pre>
<p>I have a bunch of addresses and want to grab the postcode from them, ex... | [
{
"answer_id": 378222,
"author": "kristina",
"author_id": 4243,
"author_profile": "https://Stackoverflow.com/users/4243",
"pm_score": 0,
"selected": false,
"text": "import re\nre.findall(\"[A-Z]{1,2}[0-9][A-Z0-9]? [0-9][ABD-HJLNP-UW-Z]{2}\", x)\n"
},
{
"answer_id": 378228,
"a... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378157",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30786/"
] |
378,158 | <p>I have an executable module created by third party. I would like to "inject" my code (kind of watchdog running in separate thread) into this process. </p>
<p>So far there are two possible ways - one is to run my code as executable and dynamically load a proess on top of it (seems to be very hard and tricky) or to m... | [
{
"answer_id": 7706456,
"author": "RushPL",
"author_id": 403571,
"author_profile": "https://Stackoverflow.com/users/403571",
"pm_score": 0,
"selected": false,
"text": "#include <stdio.h>\n#include <sys/types.h>\n#include <pwd.h>\nint main()\n{\n struct passwd* pswd = getpwuid(1000);\n... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378158",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18174/"
] |
378,161 | <p>I’m working on an in-house app that tracks a bunch of tasks. I wanted to have a simple task monitor that would list the task name and the task’s status. I need this to look just a little nice, I’m no designer so whatever I do is going to suck, but a basic text display won’t work for the project requirements.</p>
<p... | [
{
"answer_id": 378174,
"author": "Elie",
"author_id": 23249,
"author_profile": "https://Stackoverflow.com/users/23249",
"pm_score": 0,
"selected": false,
"text": "JTable"
},
{
"answer_id": 378211,
"author": "coobird",
"author_id": 17172,
"author_profile": "https://Sta... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378161",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47438/"
] |
378,167 | <p>Looking for advice (perhaps best practice).</p>
<p>We have a MS Word document (Office 2007) that we are extracting text from a cell.</p>
<p>We can use the following:</p>
<pre><code>string text = wordTable.cell(tablerow.index, 1).Range.Text;
</code></pre>
<p>The text is extracted; however we seem to get extra cha... | [
{
"answer_id": 378286,
"author": "Hans-Eric",
"author_id": 39348,
"author_profile": "https://Stackoverflow.com/users/39348",
"pm_score": 3,
"selected": true,
"text": "\\r\\a"
},
{
"answer_id": 379078,
"author": "shahkalpesh",
"author_id": 23574,
"author_profile": "htt... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378167",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44376/"
] |
378,204 | <p>I have two arrays containing the same elements, but in different orders, and I want to know the extent to which their orders differ.</p>
<p>The method I tried, didn't work. it was as follows:</p>
<p>For each list I built a matrix which recorded for each pair of elements whether they were above or below each other ... | [
{
"answer_id": 378221,
"author": "jamesh",
"author_id": 4737,
"author_profile": "https://Stackoverflow.com/users/4737",
"pm_score": 5,
"selected": true,
"text": "List 1: A B C D E\nList 2: A D C B E\n"
},
{
"answer_id": 378637,
"author": "Mike Dunlavey",
"author_id": 2377... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378204",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11522/"
] |
378,207 | <p>suppose I declare a dynamic array like</p>
<pre><code>int *dynArray = new int [1];
</code></pre>
<p>which is initialized with an unknown amount of int values at some point.</p>
<p>How would I iterate till the end of my array of unknown size?</p>
<p>Also, if it read a blank space would its corresponding position ... | [
{
"answer_id": 378235,
"author": "Nemanja Trifunovic",
"author_id": 8899,
"author_profile": "https://Stackoverflow.com/users/8899",
"pm_score": 4,
"selected": true,
"text": "std::vector"
},
{
"answer_id": 378238,
"author": "xtofl",
"author_id": 6610,
"author_profile":... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378207",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45963/"
] |
378,210 | <p>I have built a database in MS Access.
There I have a table called Customers which also has a cell called Employee type: integer.
I also built a program in C++ which controls all data.</p>
<p>Let's say I have a string like this:</p>
<pre><code>string sqlString = "SELECT * FROM Customers Where Customers.Employee = '... | [
{
"answer_id": 378251,
"author": "Bill Zeller",
"author_id": 19234,
"author_profile": "https://Stackoverflow.com/users/19234",
"pm_score": 2,
"selected": false,
"text": "std::ostringstream buf;\nbuf << \"SELECT * FROM Customers Where Customers.Employee = '\" << id << \"' \";\nstring str... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378210",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
378,217 | <p>Following on from <a href="https://stackoverflow.com/questions/367966/how-to-intercept-debugging-information-debugview-style-in-c">this question</a> I now have code that can attach to a process using the Mdbg API.</p>
<p>The problem is that I can't detach from the process if I need to. When I call
<strong>mgProces... | [
{
"answer_id": 378363,
"author": "glenatron",
"author_id": 15394,
"author_profile": "https://Stackoverflow.com/users/15394",
"pm_score": 3,
"selected": true,
"text": " MgProcess.CorProcess.Stop(0);\n MgProcess.Detach();\n"
},
{
"answer_id": 1733728,
"author": "Saurabh",
... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378217",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15394/"
] |
378,225 | <p>I have this:</p>
<pre><code>If String.IsNullOrEmpty(editTransactionRow.pay_id.ToString()) = False Then
stTransactionPaymentID = editTransactionRow.pay_id 'Check for null value
End If
</code></pre>
<p>Now, when <code>editTransactionRow.pay_id</code> is Null Visual Basic throws an exception. Is there something w... | [
{
"answer_id": 378233,
"author": "Patrick Desjardins",
"author_id": 13913,
"author_profile": "https://Stackoverflow.com/users/13913",
"pm_score": 4,
"selected": false,
"text": "If String.IsNullOrEmpty(editTransactionRow.pay_id) = False Then\n stTransactionPaymentID = editTransactionRo... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378225",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
378,247 | <p>I have a digital certificate that identifies an user. I need to use it to Digitally sign pdf files.</p>
<p>Does anyone have an example that does not uses a third party component? I need to get this done but it would be nice to fully understand how things are done.</p>
<p>C# Examples please :)</p>
| [
{
"answer_id": 2778679,
"author": "AffineMesh",
"author_id": 156810,
"author_profile": "https://Stackoverflow.com/users/156810",
"pm_score": 3,
"selected": false,
"text": "Doc theDoc = new Doc();\ntheDoc.Read(Server.MapPath(\"../Rez/Authorization.pdf\"));\nSignature theSig = (Signature)t... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378247",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32037/"
] |
378,259 | <p>How do you round a Double down to the nearest integer in VB .NET?</p>
| [
{
"answer_id": 10460151,
"author": "Chris Pitman",
"author_id": 213421,
"author_profile": "https://Stackoverflow.com/users/213421",
"pm_score": 5,
"selected": true,
"text": "Math.Truncate"
},
{
"answer_id": 51799820,
"author": "Rajaram1991",
"author_id": 3354514,
"aut... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378259",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4575/"
] |
378,265 | <p>i'm using the <a href="http://msdn.microsoft.com/en-us/library/bb775248(VS.85).aspx" rel="nofollow noreferrer">Win32 progress dialog</a>. The damnest thing is that when i call:</p>
<pre><code>progressDialog.StopProgressDialog();
</code></pre>
<p>it doesn't disappear. It stays on screen until the user moves her mou... | [
{
"answer_id": 378403,
"author": "Ian Boyd",
"author_id": 12597,
"author_profile": "https://Stackoverflow.com/users/12597",
"pm_score": 0,
"selected": false,
"text": "[ComImport]\n[Guid(\"EBBC7C04-315E-11d2-B62F-006097DF5BD4\")]\n[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]\npub... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378265",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12597/"
] |
378,284 | <p>I am developing a web-app using zend framework. I like how all the autoloading works however I don't really like the way Zend_Controller names the controllers by default. I am looking for a way to enable zend_controller to understand my controller class named Controller_User stored in {$app}/Controller/User.php . Is... | [
{
"answer_id": 696336,
"author": "Jeffrey04",
"author_id": 5742,
"author_profile": "https://Stackoverflow.com/users/5742",
"pm_score": 1,
"selected": true,
"text": "class Coolsilon_Controller_Dispatcher \n extends Zend_Controller_Dispatcher_Standard { \n public function __construct... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378284",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5742/"
] |
378,294 | <p>What is the best way to limit the amount of text that a user can enter into a 'textarea' field on a web page? The application in question is ASP .NET, but a platform agnostic answer is preferred.</p>
<p>I understand that some amount of javascript is likely needed to get this done as I do not wish to actually perfor... | [
{
"answer_id": 378321,
"author": "Logan Serman",
"author_id": 29595,
"author_profile": "https://Stackoverflow.com/users/29595",
"pm_score": 4,
"selected": false,
"text": "function limit(element, max_chars)\n{\n if(element.value.length > max_chars)\n element.value = element.valu... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378294",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1680/"
] |
378,296 | <p>I have an ATL control that I want to be Unicode-aware. I added a message handler for WM_UNICHAR:</p>
<pre><code>MESSAGE_HANDLER( WM_UNICHAR, OnUniChar )
</code></pre>
<p>But, for some reason, the OnUniChar handler is never called.</p>
<p>According to the documentation, the handler should first be called with "UNI... | [
{
"answer_id": 39879596,
"author": "KW Tu",
"author_id": 6927685,
"author_profile": "https://Stackoverflow.com/users/6927685",
"pm_score": -1,
"selected": false,
"text": "void CMFCProView::OnUniChar (UINT xChar, UINT nRepCnt, UINT nFlags)\nvoid CMFCProView::OnChar (UINT xChar, UINT nR... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378296",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9936/"
] |
378,299 | <p>I'm working in two different Oracle schemas on two different instances of Oracle. I've defined several types and type collections to transfer data between these schemas. The problem I'm running into is that even though the type have exactly the same definitions (same scripts used to create both sets in the schemas... | [
{
"answer_id": 380453,
"author": "tuinstoel",
"author_id": 43901,
"author_profile": "https://Stackoverflow.com/users/43901",
"pm_score": 4,
"selected": true,
"text": "SELECT SYS_OP_GUID() FROM DUAL; \n\nSYS_OP_GUID()\n--------------------------------\nAE34B912631948F0B274D778A29F6C8C\n"
... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378299",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24179/"
] |
378,303 | <p>I want to get a list of all Django auth user with a specific permission group, something like this:</p>
<pre><code>user_dict = {
'queryset': User.objects.filter(permisson='blogger')
}
</code></pre>
<p>I cannot find out how to do this. How are the permissions groups saved in the user model?</p>
| [
{
"answer_id": 378837,
"author": "Daniel Naab",
"author_id": 32638,
"author_profile": "https://Stackoverflow.com/users/32638",
"pm_score": 6,
"selected": false,
"text": "from django.contrib.auth import models\n\ngroup = models.Group.objects.get(name='blogger')\nusers = group.user_set.all... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378303",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42546/"
] |
378,319 | <p>I frequently find myself with a folder open in Windows, wishing to have a command prompt open with the same working directory.</p>
<p>I am aware of Power Toys "Command Prompt", but that only works as a context menu item on the folder, and not from inside the folder if you are already there. I know you can navigate... | [
{
"answer_id": 379804,
"author": "clawr",
"author_id": 46201,
"author_profile": "https://Stackoverflow.com/users/46201",
"pm_score": 9,
"selected": false,
"text": "Open Command Window Here"
},
{
"answer_id": 7560350,
"author": "ctype.h",
"author_id": 1224599,
"author_... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378319",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44743/"
] |
378,330 | <p>In my C# winforms app, I have a datagrid. When the datagrid reloads, I want to set the scrollbar back to where the user had it set. How can I do this?</p>
<p>EDIT: I'm using the old winforms DataGrid control, not the newer DataGridView</p>
| [
{
"answer_id": 378523,
"author": "BFree",
"author_id": 15861,
"author_profile": "https://Stackoverflow.com/users/15861",
"pm_score": 6,
"selected": true,
"text": "FirstDisplayedScrollingRowIndex"
},
{
"answer_id": 378621,
"author": "sfuqua",
"author_id": 30384,
"autho... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378330",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3047/"
] |
378,331 | <p>What is the advantage of doing a logical/soft delete of a record (i.e. setting a flag stating that the record is deleted) as opposed to actually or physically deleting the record?</p>
<p>Is this common practice?</p>
<p>Is this secure?</p>
| [
{
"answer_id": 26126502,
"author": "Max",
"author_id": 1891133,
"author_profile": "https://Stackoverflow.com/users/1891133",
"pm_score": 2,
"selected": false,
"text": "TableName,OldValues,NewValues,Date,User,[..]"
},
{
"answer_id": 28978134,
"author": "Mario S",
"author_i... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378331",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21826/"
] |
378,338 | <p>I want to exceute a simple command which works from the shell but doesn't work from Java.
This is the command I want to execute, which works fine:</p>
<pre><code>soffice -headless "-accept=socket,host=localhost,port=8100;urp;"
</code></pre>
<p>This is the code I am excecuting from Java trying to run this command:... | [
{
"answer_id": 559824,
"author": "Greg Ball",
"author_id": 64499,
"author_profile": "https://Stackoverflow.com/users/64499",
"pm_score": 0,
"selected": false,
"text": "String[] commands = new String[] {\"soffice\",\"-headless\",\"-accept=socket,host=localhost,port=8100;urp;\"};\nProcess ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378338",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37298/"
] |
378,346 | <p>I'm not a Notes programmer, however, for my sins, have been working on some Notes features for an in-house project recently. I need to enable/disable editing of a field depending on circumstances. It seems to me to be a fairly standard feature, I need, but I can't find any information on how to do this anywhere.</p>... | [
{
"answer_id": 559824,
"author": "Greg Ball",
"author_id": 64499,
"author_profile": "https://Stackoverflow.com/users/64499",
"pm_score": 0,
"selected": false,
"text": "String[] commands = new String[] {\"soffice\",\"-headless\",\"-accept=socket,host=localhost,port=8100;urp;\"};\nProcess ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378346",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18744/"
] |
378,365 | <p>I want find the index of a given DOM node. It's like the inverse of doing </p>
<pre><code>document.getElementById('id_of_element').childNodes[K]
</code></pre>
<p>I want to instead extract the value of <code>K</code> given that I already have the reference to the child node and the parent node. How do I do this? </... | [
{
"answer_id": 378386,
"author": "Greg",
"author_id": 24181,
"author_profile": "https://Stackoverflow.com/users/24181",
"pm_score": 0,
"selected": false,
"text": "var K = -1;\nfor (var i = myNode.parent.childNodes.length; i >= 0; i--)\n{\n if (myNode.parent.childNodes[i] === myNode)\n... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
378,376 | <p>I'm currently using the default cookies as my single sign on (SSO) but some users are getting strange errors after I push an update. I'm considering moving to active record to store sessions but was wondering how I tell rails that the sessions are in another database?</p>
<p>So if I store sessions via AR in App1DB ... | [
{
"answer_id": 378529,
"author": "Samuel",
"author_id": 32465,
"author_profile": "https://Stackoverflow.com/users/32465",
"pm_score": 4,
"selected": true,
"text": "# config.action_controller.session_store = :active_record_store\n"
},
{
"answer_id": 3895361,
"author": "John Ja... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378376",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9826/"
] |
378,380 | <p>I have a Windows application written in C++ that occasionally evaporates. I use the word evaporate because there is nothing left behind: no "we're sorry" message from Windows, no crash dump from the Dr. Watson facility...</p>
<p>On the one occasion the crash occurred under the debugger, the debugger did not break-... | [
{
"answer_id": 378399,
"author": "chills42",
"author_id": 23855,
"author_profile": "https://Stackoverflow.com/users/23855",
"pm_score": 4,
"selected": true,
"text": "adplus -crash -p yourprocessid\n"
},
{
"answer_id": 378472,
"author": "Martin York",
"author_id": 14065,
... | 2008/12/18 | [
"https://Stackoverflow.com/questions/378380",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4841/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.