qid int64 4 22.2M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
369,007 | <p>I've been using NetBeans as the XDebug interactive debugging client. But seems like it only supports attaching debuggers to scripts that are invoked via Firefox. I want to step through the request parse script when it's invoked via cURL.</p>
| [
{
"answer_id": 369185,
"author": "lewen7er9",
"author_id": 46413,
"author_profile": "https://Stackoverflow.com/users/46413",
"pm_score": 2,
"selected": false,
"text": ">curl \"http://localhost/wordpress/wp-app.php/posts\" -X POST -H \"Content-type: application/atom+xml\" -v -L -k -u admi... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369007",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46413/"
] |
369,011 | <p>Is it possible to avoid the automatic collapse of a Silverlight ComboBox after LostFocus?</p>
| [
{
"answer_id": 371033,
"author": "Sorskoot",
"author_id": 31722,
"author_profile": "https://Stackoverflow.com/users/31722",
"pm_score": 2,
"selected": true,
"text": "private void FocusChanged(bool hasFocus)\n{\n this.UpdateSelectionBoxHighlighted();\n base.SetValueInternal(IsSelect... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369011",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3714/"
] |
369,023 | <p>I have a directory on a linux box that I want to make publicly readable using Tomcat (5.5). I think this is easy to set up but can't find the appropriate documentation. Is there a simple way to accomplish this?</p>
| [
{
"answer_id": 369033,
"author": "Joachim Sauer",
"author_id": 40342,
"author_profile": "https://Stackoverflow.com/users/40342",
"pm_score": 2,
"selected": false,
"text": "$TOMCAT_HOME/webapps"
},
{
"answer_id": 369038,
"author": "Yoni Roit",
"author_id": 34161,
"auth... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369023",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8207/"
] |
369,024 | <p>How do I achieve the equivalent of the LVIS_CUT style for a listview item? It looks like it's not exposed by the framework? Should I P/Invoke?</p>
<p>Edit: LVIS_CUT is a Win32 style that affects the look of the item: It grays the item image. You can see it in action in Windows Explorer: Select a file and type Ctrl+... | [
{
"answer_id": 533611,
"author": "Daniel LeCheminant",
"author_id": 62055,
"author_profile": "https://Stackoverflow.com/users/62055",
"pm_score": 1,
"selected": false,
"text": "private void MakeCutList(ImageList sourceList, Color background)\n{\n Brush overlay = new SolidBrush(Color.Fr... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369024",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12379/"
] |
369,026 | <p>I have a page with a <code>document.onkeydown</code> event handler, and I'm loading it inside an iframe in another page. I have to click inside the iframe to get the content page to start "listening". </p>
<p>Is there some way I can use JavaScript in the outer page to set the focus to the inner page so I don't have... | [
{
"answer_id": 369034,
"author": "Jaime Febres",
"author_id": 33205,
"author_profile": "https://Stackoverflow.com/users/33205",
"pm_score": 4,
"selected": false,
"text": "document.getElementsByName(\"iframe_name\")[0].contentWindow.document.body.focus();\n"
},
{
"answer_id": 3765... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369026",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4435/"
] |
369,042 | <p>I have a table with doctor offices and doctors in those offices that I'm populating to a repeater control. The data coming back is not aggregated. So, if there are 2 doctors in 1 office, there are 2 rows, same office, different doctor. </p>
<p>Is there a way to aggregate the data so the repeater shows 1 office with... | [
{
"answer_id": 369118,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 2,
"selected": true,
"text": "<table><tr><th>Office</th><th>Doctors</th></tr>\n<asp:repeater id=\"Repeater\" runat=\"server\" OnItemDataBound=\"NextI... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369042",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45043/"
] |
369,046 | <p>I want to debug my project in Zend Framework in Eclipse. Zend Debugger is already running bud now I have problem with Debug tool in Eclipse. It give an extra GET parametrs and the project in Zend don't like it.</p>
<p>I tried to google it and found <a href="http://framework.zend.com/wiki/display/ZFDEV/Configuring+Y... | [
{
"answer_id": 371713,
"author": "Akeem",
"author_id": 35505,
"author_profile": "https://Stackoverflow.com/users/35505",
"pm_score": 1,
"selected": false,
"text": "<IfModule mod_rewrite.c>\nRewriteEngine On\nRewriteCond %{REQUEST_FILENAME} !-d\nRewriteCond %{REQUEST_FILENAME} !-f\nRewrit... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369046",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45846/"
] |
369,065 | <p>I'm about to start a project where programmers will be contributing from their homes (much like stackoverflow was built)</p>
<p>I want to use some centralized source control, but I don't want it to require the programmers to be online, and the server may come offline from time to time (as at first it'll probably be... | [
{
"answer_id": 369075,
"author": "Joachim Sauer",
"author_id": 40342,
"author_profile": "https://Stackoverflow.com/users/40342",
"pm_score": 4,
"selected": false,
"text": "git"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369065",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1782/"
] |
369,090 | <p>When I drag a link that is inside a draggable div over an iframe in IE7, I get very strange results. Try the code below and let me know if you have any suggestions about how to fix this.</p>
<pre><code><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transit... | [
{
"answer_id": 369238,
"author": "Tony",
"author_id": 45849,
"author_profile": "https://Stackoverflow.com/users/45849",
"pm_score": 0,
"selected": false,
"text": "<div style=\"filter:alpha(opacity=1); opacity: 0.01; -moz-opacity:0.01;\">\n <iframe> \n </iframe>\n</div>\n"
},
... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369090",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45849/"
] |
369,102 | <p>Does anyone know how I could go about doing something like :</p>
<p>Html.ActionLink(c => c.SomeAction(new MessageObject { Id = 1 } ))</p>
<p>This should output a link with the url of "/Controller/SomeAction/1", pointing at an ActionMethod along the lines of:</p>
<pre><code>public Controller : Controller
{
publi... | [
{
"answer_id": 370375,
"author": "tvanfosson",
"author_id": 12950,
"author_profile": "https://Stackoverflow.com/users/12950",
"pm_score": 0,
"selected": false,
"text": "public ActionResult SomeMethod()\n{\n int messageObjectID;\n if (RouteData.Values.TryGetValue(\"id\",out messageO... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369102",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12459/"
] |
369,104 | <p>I'm looking to automate the backup of a Windows XP file structure (a wiki) into CVS.<br>
Through repeated calls to <em>cvs commit</em> and <em>cvs add</em> I can identify and commit changed files and newly added files, but I can't see a cvs command that would let me know a local file has been deleted. </p>
<p>One ... | [
{
"answer_id": 369131,
"author": "David Norman",
"author_id": 34502,
"author_profile": "https://Stackoverflow.com/users/34502",
"pm_score": 2,
"selected": false,
"text": "cvs -nq update\n"
},
{
"answer_id": 4959315,
"author": "Adam Nofsinger",
"author_id": 18524,
"aut... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369104",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43168/"
] |
369,116 | <p>When I hit /// in Visual Studio, is it possible to change the resulting snippet from this:</p>
<pre><code>/// <summary>
///
/// </summary>
</code></pre>
<p>to this?:</p>
<pre><code>/// <summary></summary>
</code></pre>
| [
{
"answer_id": 5574557,
"author": "Valamas",
"author_id": 511438,
"author_profile": "https://Stackoverflow.com/users/511438",
"pm_score": 5,
"selected": true,
"text": "/// <summary> </summary>\n"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369116",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2596/"
] |
369,120 | <p>Every now and then I get an error when I set up states in an MXML file. The error I get says that mx:states could not be resolved to a component implementation.</p>
<p>I read, at the following url, that this issue is caused by extending components - that somehow throws off the compiler's ability to resolve mx:stat... | [
{
"answer_id": 369605,
"author": "Josh Tynjala",
"author_id": 10768,
"author_profile": "https://Stackoverflow.com/users/10768",
"pm_score": 5,
"selected": true,
"text": "<example:MyComponent xmlns:mx=\"http://www.adobe.com/2006/mxml\"\n xmlns:example=\"com.example.*\">\n</example:MyCo... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369120",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37446/"
] |
369,122 | <p>I have the following Clojure code and I'm not sure why it's not working:</p>
<pre><code>(defn match (x y &optional binds)
(cond
((eql x y) (values binds t))
((assoc x binds) (match (binding x binds) y binds))
((assoc y binds) (match x (binding y binds) binds))
((var? x) (values (cons (cons x y) bi... | [
{
"answer_id": 369332,
"author": "Paul Reiners",
"author_id": 7648,
"author_profile": "https://Stackoverflow.com/users/7648",
"pm_score": 6,
"selected": true,
"text": "(defn match [x y &optional binds]\n"
},
{
"answer_id": 370027,
"author": "drewr",
"author_id": 3227,
... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369122",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7648/"
] |
369,128 | <p>I have a simple iPhone app that has a tab bar and 3 tabs. Each tab loads as a separate nib with a corresponding controller. Each nib contains a tableview with some other controls for searching/filtering etc.</p>
<p>What I would like (and cant seem to find an example of) is adding a navigation controller to the app ... | [
{
"answer_id": 9290046,
"author": "Max B.",
"author_id": 578852,
"author_profile": "https://Stackoverflow.com/users/578852",
"pm_score": 5,
"selected": false,
"text": " UIViewController *viewController1, *viewController2;\n\n viewController1 = [[[UIViewController alloc] initWithNibN... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369128",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
369,132 | <p>I have two services and am sending pretty chunky messages between them (~100kb). Though the previously mentioned value is typical of the size of the message, it is possible for it to fluctuate greatly (in both positive and negative directions).</p>
<p>Thus, to deal with such situations where i have to transport a sw... | [
{
"answer_id": 374169,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "<services>\n <service name=\"DataFeederService.FeederService\" behaviorConfiguration=\"DataFeederService.FeederServiceBehavio... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369132",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
369,145 | <p>When the following two lines of code are executed in a bash script, "ls" complains that the files don't exist:</p>
<pre><code>dirs=/content/{dev01,dev02}
ls -l $dirs
</code></pre>
<p>When I run the script with the -x option, it appears to be passing the variable within single quotes (which would prevent globbing):... | [
{
"answer_id": 369165,
"author": "Zsolt Botykai",
"author_id": 11621,
"author_profile": "https://Stackoverflow.com/users/11621",
"pm_score": -1,
"selected": false,
"text": "ls `echo $dirs` \n"
},
{
"answer_id": 369181,
"author": "Johannes Schaub - litb",
"author_id": 3450... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369145",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42126/"
] |
369,147 | <p>I have a paragraph of text in a javascript variable called 'input_content' and that text contains multiple anchor tags/links. I would like to match all of the anchor tags and extract anchor text and URL, and put it into an array like (or similar to) this:</p>
<pre>Array
(
[0] => Array
(
[0] ... | [
{
"answer_id": 369174,
"author": "Ates Goral",
"author_id": 23501,
"author_profile": "https://Stackoverflow.com/users/23501",
"pm_score": 7,
"selected": true,
"text": "var matches = [];\n\ninput_content.replace(/[^<]*(<a href=\"([^\"]+)\">([^<]+)<\\/a>)/g, function () {\n matches.push... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369147",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/74552/"
] |
369,150 | <p>I know with python and a couple other languages there is a way to safely make install a newer generational version of a language onto a machine, but after digging through PHP5's configure & makefile the only thing I've seen is the prefix dir option and the ini scan path.</p>
<p>Ideally I'd like php5 to have its... | [
{
"answer_id": 369310,
"author": "Bob Fanger",
"author_id": 19165,
"author_profile": "https://Stackoverflow.com/users/19165",
"pm_score": 1,
"selected": false,
"text": "configure --prefix=/usr/local/php5\nmake install-cli \n"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369150",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9908/"
] |
369,151 | <p>Everytime i retrieve data from a mysql stored procedure with a concat function an error will occur after binding the datagridview to the datatable that holds the returned rows.</p>
| [
{
"answer_id": 369239,
"author": "maxnk",
"author_id": 45862,
"author_profile": "https://Stackoverflow.com/users/45862",
"pm_score": 1,
"selected": true,
"text": "select concat(column1, column2) as concatenated from table1\n"
},
{
"answer_id": 5732075,
"author": "CARLOS",
... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369151",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26087/"
] |
369,177 | <p>When I try to connect to WMI from Powershell, ConfigMgr, or WMI explorer, I can talk to the majority of my computers, but some (maybe 30%?) return an 0x800706ba (RPC server is unavailable).</p>
<p>If I turn the firewall off on the remote machine, the queries start working. I have tried a bunch of different configu... | [
{
"answer_id": 369239,
"author": "maxnk",
"author_id": 45862,
"author_profile": "https://Stackoverflow.com/users/45862",
"pm_score": 1,
"selected": true,
"text": "select concat(column1, column2) as concatenated from table1\n"
},
{
"answer_id": 5732075,
"author": "CARLOS",
... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369177",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44831/"
] |
369,187 | <p><strong>Please note the Edit below for a lot more information, and a possible solution</strong></p>
<p>We recently modified a large Delphi application to use ADO connections and queries instead of BDE connections and queries. Since that change, performance has become terrible.</p>
<p>I've profiled the application... | [
{
"answer_id": 6646406,
"author": "Arnaud Bouchez",
"author_id": 458259,
"author_profile": "https://Stackoverflow.com/users/458259",
"pm_score": 0,
"selected": false,
"text": " Q := TQuery.Create(aSQLDBConnection);\n try\n Q.SQL.Clear; // optional\n Q.SQL.Add('select * from DOMAIN.TA... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369187",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/672/"
] |
369,198 | <p>I have the following problem. If I query values with a keyfigure which is a function I can't specify multiple values of the same dimension restriction, but if it is not a function it works.</p>
<p>So this works:</p>
<pre><code>SELECT {[Measures].[Netto]} on columns FROM TDC where
({NonEmpty([Time].[Month].[Month].... | [
{
"answer_id": 371866,
"author": "Anders Rune Jensen",
"author_id": 13995,
"author_profile": "https://Stackoverflow.com/users/13995",
"pm_score": 2,
"selected": true,
"text": "WITH MEMBER [Time].[Month].a AGGREGATE \n({[Time].[Month].[Month].&[2008-03-01T00:00:00], \n [Time].[Month].[Mo... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369198",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13995/"
] |
369,209 | <p>I'm writing a programmer's text editor (yes another one) in Perl called <a href="http://kephra.sourceforge.net/" rel="nofollow noreferrer">Kephra</a>, which is also a CPAN module of course and bundled with <a href="http://cpanratings.perl.org/dist/Module-Install" rel="nofollow noreferrer">Module::Install</a>. Recent... | [
{
"answer_id": 369229,
"author": "mat",
"author_id": 42083,
"author_profile": "https://Stackoverflow.com/users/42083",
"pm_score": 3,
"selected": false,
"text": "Module::Build"
},
{
"answer_id": 561392,
"author": "Adam Bellaire",
"author_id": 21632,
"author_profile": ... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369209",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/29269/"
] |
369,211 | <p>I've got a node struct</p>
<pre><code>struct Node{CString text, int id;};
</code></pre>
<p>in a sorted vector. </p>
<p>I'm wondering if there's a function in algorithm that will do a binary search of the vector and find an element. </p>
| [
{
"answer_id": 369276,
"author": "Ferruccio",
"author_id": 4086,
"author_profile": "https://Stackoverflow.com/users/4086",
"pm_score": 5,
"selected": true,
"text": "std::binary_search()"
},
{
"answer_id": 20390430,
"author": "razeh",
"author_id": 139781,
"author_profi... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369211",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31325/"
] |
369,213 | <p>I am writing a addressbook module for my software right now. I have the database set up so far that it supports a very flexible address-book configuration.</p>
<p>I can create n-entries for every type I want. Type means here data like 'email', 'address', 'telephone' etc.</p>
<p>I have a table named 'contact_profil... | [
{
"answer_id": 369253,
"author": "Michael Haren",
"author_id": 29,
"author_profile": "https://Stackoverflow.com/users/29",
"pm_score": 1,
"selected": false,
"text": "SELECT cp.ID profile\n ,cp.Name\n ,(SELECT value FROM contact_attributes WHERE type = 'email' and profile = cp.id) email... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369213",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9535/"
] |
369,220 | <p>I entered this statement in JSLint:</p>
<pre><code>var number = new Number(3);
</code></pre>
<p>And received the following message:</p>
<blockquote>
<p>Do not use Number as a constructor.</p>
</blockquote>
<p>Why is that? The statement is creating a number object, not a primitive value, so I don't see why usin... | [
{
"answer_id": 369257,
"author": "Ates Goral",
"author_id": 23501,
"author_profile": "https://Stackoverflow.com/users/23501",
"pm_score": 4,
"selected": false,
"text": "var number = new Number(3);\nalert(typeof number); // gives \"object\"\n"
},
{
"answer_id": 369258,
"author... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369220",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
369,230 | <p>I am using Django and the Google Web Toolkit (GWT) for my current project. I would like to pass a ModelForm instance to GWT via an Http response so that I can "chop" it up and render it as I please. My goal is to keep the form in sync with changes to my models.py file, yet increase control I have over the look of th... | [
{
"answer_id": 372985,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "{% for field in form.fields %}\n <div class=\"form-field\">{{ field }}</div>\n{% endfor %}\n"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369230",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44440/"
] |
369,242 | <p>In my code segment, when I script the file name, it gives me a permission denied
on the following line: </p>
<pre><code>Set objTextFile = objFSO.OpenTextFile(strDirectory & strFile, ForAppending, True)
</code></pre>
<p>Here is the script </p>
<pre><code>'output log info
Function OutputToLog (strToAdd)
... | [
{
"answer_id": 369287,
"author": "BenAlabaster",
"author_id": 40650,
"author_profile": "https://Stackoverflow.com/users/40650",
"pm_score": 5,
"selected": true,
"text": "Set objFile = objFSO.CreateTextFile(strDirectory & strFile)\n"
},
{
"answer_id": 1826162,
"author": "Chris... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369242",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18853/"
] |
369,246 | <p><strong>Background</strong></p>
<p>I have made a Web Service in Visual Studio, and I'm trying to consume it using the automatically generated proxy class. The Web Service returns a class that I have implemented, containing a List.</p>
<p><strong>Question</strong></p>
<p>The proxy class has automatically generated... | [
{
"answer_id": 369308,
"author": "Andrew Hare",
"author_id": 34211,
"author_profile": "https://Stackoverflow.com/users/34211",
"pm_score": 0,
"selected": false,
"text": "UpdateList"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369246",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37481/"
] |
369,248 | <p>I have been reading the proper article in MSDN, <em><a href="http://msdn.microsoft.com/en-us/library/wd40t7ad.aspx" rel="noreferrer">Strong-Named Assemblies</a></em> and a related Stack Overflow question, <em><a href="https://stackoverflow.com/questions/308756">Checking an assembly for a strong name</a></em>.</... | [
{
"answer_id": 369477,
"author": "HTTP 410",
"author_id": 13118,
"author_profile": "https://Stackoverflow.com/users/13118",
"pm_score": 6,
"selected": true,
"text": "// Check that public key token matches what's expected.\nprivate static bool IsPublicTokenOkay_Check(byte [] tokenExpected... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369248",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18552/"
] |
369,277 | <p>We've got a page in our asp.net web system that uses response.redirect to redirect the user directly to an excel file so it will download "automatically" without the user having to to a right click / save as.</p>
<p>This works great - except for files over about 100k in IE7. Other browsers just download the large ... | [
{
"answer_id": 369324,
"author": "EndangeredMassa",
"author_id": 106,
"author_profile": "https://Stackoverflow.com/users/106",
"pm_score": 2,
"selected": true,
"text": "Public Shared Sub SendFileToBrowser(ByRef response As HttpResponse, ByVal filepath As String, Optional ByVal filename A... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369277",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19074/"
] |
369,288 | <p>I'm using interface builder's tag feature to access some UILabels I'm instantiating in a xib file. Since this a UITextViewCell I want to avoid superfluous method calls, but I want to do it right too. Thus when I do:</p>
<pre><code>UILabel *label = (UILabel *)[cell viewWithTag:1];
</code></pre>
<p>I'm wondering if ... | [
{
"answer_id": 369988,
"author": "Ashley Clark",
"author_id": 4556,
"author_profile": "https://Stackoverflow.com/users/4556",
"pm_score": 3,
"selected": false,
"text": "enum"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369288",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46436/"
] |
369,289 | <p>Why would IE 7 display HTTP Error "Bad request" 400 on the same page that Firefox loads without complaining?</p>
| [
{
"answer_id": 393424,
"author": "Piskvor left the building",
"author_id": 19746,
"author_profile": "https://Stackoverflow.com/users/19746",
"pm_score": 0,
"selected": false,
"text": "\\"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369289",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46440/"
] |
369,291 | <p>In a multi-server environment, users will be able to use a page to put, update or delete files on the servers. I was considering using a webservice (on each server) called by the IIS thread to do that work (with an aspx management page).</p>
<p>However, for obvious reasons, I don't really want anyone to be able to ... | [
{
"answer_id": 369490,
"author": "Rex Morgan",
"author_id": 46429,
"author_profile": "https://Stackoverflow.com/users/46429",
"pm_score": 1,
"selected": true,
"text": "IPrinciple _currentUser = HttpContext.Current.User;\n"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369291",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5789/"
] |
369,297 | <p><strong><em>Skunk Works Project</em></strong>: A project carried out by one part of a company without the knowledge of the remainder of the company.</p>
<p>Looking for stories about any skunk works projects you've worked on or initiated:</p>
<ul>
<li>Was it successful? </li>
<li>Were you found out? </li>
<li>Were ... | [
{
"answer_id": 369503,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "git svn clone"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369297",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7903/"
] |
369,301 | <p>Anticipating the day when multi-touch interfaces become more pervasive, are there libraries in Java that can be used for developing touch applications? I'm looking for interfaces similar to MouseListener / MouseMotionListener / MouseWheelListener.</p>
| [
{
"answer_id": 369387,
"author": "James Van Huis",
"author_id": 31828,
"author_profile": "https://Stackoverflow.com/users/31828",
"pm_score": 3,
"selected": false,
"text": "sparshui.client.Client"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369301",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2197/"
] |
369,312 | <p>I'm currently working on desktop application which calls third party API. After authorizing against their "web service", a kind of user token is returned which should be stored locally (even if user closes application). </p>
<p>So I'm looking for solution to encrypt this token with user specific key. Does Windows ... | [
{
"answer_id": 369330,
"author": "mmx",
"author_id": 33708,
"author_profile": "https://Stackoverflow.com/users/33708",
"pm_score": 4,
"selected": true,
"text": "System.Security.Cryptography.ProtectedData"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369312",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25718/"
] |
369,334 | <p>Is is possible to have a local variable in an anonymous c# methods, i.e. in the following code I would like to perform the count only once.</p>
<pre><code>IQueryable<Enquiry> linq = db.Enquiries;
if(...) linq = linq.Where(...);
if(...) linq = linq.Where(e =>
(x <= (from p in db.Orders where p.Enq... | [
{
"answer_id": 369341,
"author": "mmx",
"author_id": 33708,
"author_profile": "https://Stackoverflow.com/users/33708",
"pm_score": 5,
"selected": false,
"text": " x => { int y = x + 1; return x + y; }\n"
},
{
"answer_id": 369388,
"author": "Daniel Earwicker",
"author_id":... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369334",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40939/"
] |
369,348 | <p>I have a number of icons used throughout an application - let's take ok/cancel icons as an example. At the moment they might be a tick and a cross (tick.png, cross.png) but I may want to replace them in future. Also, I would like to keep the resource path in one place.</p>
<p>Is this ok:</p>
<pre><code>public clas... | [
{
"answer_id": 369378,
"author": "Bent André Solheim",
"author_id": 44380,
"author_profile": "https://Stackoverflow.com/users/44380",
"pm_score": 2,
"selected": true,
"text": "public static final Icon ok = icon(\"ok.png\");\n\n\nprivate static Icon icon(String path) {\n\n URL resource... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369348",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26334/"
] |
369,356 | <p>WinXP Pro
Oracle 10g Instant Client 10.2.0.1
MS Access 2003</p>
<p>When I link a table in MS Access, the pick list that appears shows me every table and view in the system I have access to. This list is quite large. Normally, I really only want to look at the tables that I own. Is there a way to filter the items di... | [
{
"answer_id": 369378,
"author": "Bent André Solheim",
"author_id": 44380,
"author_profile": "https://Stackoverflow.com/users/44380",
"pm_score": 2,
"selected": true,
"text": "public static final Icon ok = icon(\"ok.png\");\n\n\nprivate static Icon icon(String path) {\n\n URL resource... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369356",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8670/"
] |
369,362 | <p>I have a table named categories, which contains ID(long), Name(varchar(50)), parentID(long), and shownByDefault(boolean) columns. </p>
<p>This table contains 554 records. All the shownByDefaultValues are 'false'.<br>
When I execute 'select id, name from categories', pg returns me all the categories,
orderer by its... | [
{
"answer_id": 369371,
"author": "Joachim Sauer",
"author_id": 40342,
"author_profile": "https://Stackoverflow.com/users/40342",
"pm_score": 5,
"selected": true,
"text": "ORDER BY"
},
{
"answer_id": 369410,
"author": "Community",
"author_id": -1,
"author_profile": "ht... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369362",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/314728/"
] |
369,364 | <p>I'd like to know if it's possible to compile an .swf file at runtime via C# (would be called via a Flex Application). I've read some articles about using fsch.exe, but nothing that gave any concrete examples.</p>
<p>I'm fairly certain this is possible, so a secondary question is whether it's feasible on a medium sc... | [
{
"answer_id": 369371,
"author": "Joachim Sauer",
"author_id": 40342,
"author_profile": "https://Stackoverflow.com/users/40342",
"pm_score": 5,
"selected": true,
"text": "ORDER BY"
},
{
"answer_id": 369410,
"author": "Community",
"author_id": -1,
"author_profile": "ht... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369364",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46445/"
] |
369,367 | <p>I thought this was pretty straight forward but I don't get the same results as the tutorials I read. I have a button on an html page that calls a function in script tags. I also have a reference to the prototype.js file which I haven't even begun to implement yet. If I leave that reference in the page, my function c... | [
{
"answer_id": 369401,
"author": "Ben Scheirman",
"author_id": 3381,
"author_profile": "https://Stackoverflow.com/users/3381",
"pm_score": 3,
"selected": true,
"text": "<script type=\"text/javascript\" src=\"prototype.js\"></script>\n"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369367",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2636656/"
] |
369,383 | <p>I am thinking about something like this:</p>
<pre><code>public static <T extends Comparable<T>> T minOf(T...ts){
SortedSet<T> set = new TreeSet<T>(Arrays.asList(ts));
return set.first();
}
public static <T extends Comparable<T>> T maxOf(T...ts){
SortedSet<... | [
{
"answer_id": 369413,
"author": "Marc Novakowski",
"author_id": 27020,
"author_profile": "https://Stackoverflow.com/users/27020",
"pm_score": 3,
"selected": false,
"text": "public static <T extends Comparable<T>> T minOf(T...ts){\n T min = null;\n for (T t : ts) {\n if (t !... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369383",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1356709/"
] |
369,417 | <p>I'm puzzling over how to map a set of sequences to consecutive integers.</p>
<p>All the sequences follow this rule:</p>
<pre><code>A_0 = 1
A_n >= 1
A_n <= max(A_0 .. A_n-1) + 1
</code></pre>
<p>I'm looking for a solution that will be able to, given such a sequence, compute a integer for doing a lookup into ... | [
{
"answer_id": 369453,
"author": "Tzury Bar Yochay",
"author_id": 9296,
"author_profile": "https://Stackoverflow.com/users/9296",
"pm_score": 0,
"selected": false,
"text": "def valid_lines(lines):\n for line in lines:\n line = line.split(\",\")\n if line[0] == 1 and line... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369417",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1343/"
] |
369,424 | <p>This is a follow-up question to <a href="https://stackoverflow.com/questions/369220/why-should-you-not-use-number-as-a-constructor">this one</a>.</p>
<p>Take a look at these two examples: </p>
<pre><code>var number1 = new Number(3.123);
number1 = number1.toFixed(2);
alert(number1);
var number2 = 3.123;
number2 =... | [
{
"answer_id": 369479,
"author": "Matthew Crumley",
"author_id": 2214,
"author_profile": "https://Stackoverflow.com/users/2214",
"pm_score": 3,
"selected": false,
"text": "Number"
},
{
"answer_id": 369480,
"author": "Steven Huwig",
"author_id": 28604,
"author_profile"... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369424",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
369,438 | <p>I'm currently writing a program to generate really enormous (65536x65536 pixels and above) Mandelbrot images, and I'd like to devise a spectrum and coloring scheme that does them justice. The <a href="http://en.wikipedia.org/wiki/File:Mandel_zoom_00_mandelbrot_set.jpg" rel="noreferrer">wikipedia featured mandelbrot ... | [
{
"answer_id": 369520,
"author": "Paul Brinkley",
"author_id": 18160,
"author_profile": "https://Stackoverflow.com/users/18160",
"pm_score": 2,
"selected": false,
"text": "(H2 - H1) * P + H1 = HP\n(S2 - S1) * P + S1 = SP\n(V2 - V1) * P + V1 = VP\n"
},
{
"answer_id": 1243788,
... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369438",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12030/"
] |
369,448 | <p>I'm having this problem, same as ever, but never try to find the <em>right</em> solution</p>
<p>code:</p>
<pre><code> <div id="ListOfTextAndPhotos">
<div style="border-bottom: solid 1px silver;">
<img src="photo.jpg" style="float: left">
Some text about the photo
&... | [
{
"answer_id": 369465,
"author": "cLFlaVA",
"author_id": 45109,
"author_profile": "https://Stackoverflow.com/users/45109",
"pm_score": 2,
"selected": false,
"text": " <div id=\"ListOfTextAndPhotos\">\n <div style=\"border-bottom: solid 1px silver;\">\n <img src=\"photo.jpg\... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369448",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2385/"
] |
369,452 | <p>I am being powerfully tempted to use an unchecked exception as a short-circuit control-flow construct in a Java program. I hope somebody here can advise me on a better, cleaner way to handle this problem.</p>
<p>The idea is that I want to cut short the recursive exploration of sub-trees by a visitor without having ... | [
{
"answer_id": 369494,
"author": "Paul Brinkley",
"author_id": 18160,
"author_profile": "https://Stackoverflow.com/users/18160",
"pm_score": 0,
"selected": false,
"text": "RuntimeException"
},
{
"answer_id": 369860,
"author": "Dan Vinton",
"author_id": 21849,
"author_... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369452",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1412/"
] |
369,460 | <p>I am using Hibernate 3.x, MySQL 4.1.20 with Java 1.6. I am mapping a Hibernate Timestamp to a MySQL TIMESTAMP. So far so good. The problem is that MySQL stores the TIMESTAMP in seconds and discards the milliseconds and I now need millisecond precision. I figure I can use a BIGINT instead of TIMESTAMP in my table a... | [
{
"answer_id": 371326,
"author": "bangroot",
"author_id": 45693,
"author_profile": "https://Stackoverflow.com/users/45693",
"pm_score": 3,
"selected": true,
"text": "public class CalendarBigIntType extends org.hibernate.type.CalendarType {\n public Object get(ResultSet rs, String name... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369460",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4476/"
] |
369,495 | <p>Are C-style macro names subject to the same naming rules as identifiers? After a compiler upgrade, it is now emitting this warning for a legacy application:</p>
<pre><code>warning #3649-D: white space is required between the macro name "CHAR_" and its replacement text
#define CHAR_& 38
</code>... | [
{
"answer_id": 369524,
"author": "Adam Rosenfield",
"author_id": 9530,
"author_profile": "https://Stackoverflow.com/users/9530",
"pm_score": 6,
"selected": true,
"text": "'a-z'"
},
{
"answer_id": 369544,
"author": "Robert Gamble",
"author_id": 25222,
"author_profile":... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369495",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17035/"
] |
369,498 | <p>Some websites have code to "break out" of <code>IFRAME</code> enclosures, meaning that if a page <code>A</code> is loaded as an <code>IFRAME</code> inside an parent page <code>P</code> some Javascript in <code>A</code> redirects the outer window to <code>A</code>.</p>
<p>Typically this Javascript looks something li... | [
{
"answer_id": 2139246,
"author": "radu",
"author_id": 259198,
"author_profile": "https://Stackoverflow.com/users/259198",
"pm_score": 2,
"selected": false,
"text": "<script type=\"text/javascript\">\n window.onbeforeunload = function () { \n return \"Thi... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369498",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4926/"
] |
369,504 | <p>We are considering Microsoft DSL toolkit for creating some abstract designers. I already did some POCs, but would like to get some opinions on the same.</p>
<p>Any one here to share their experiences working with Microsoft DSL Toolkit and T4? Also, any pointers to open source DSL projects will help - Eg. Microsoft ... | [
{
"answer_id": 661989,
"author": "Glenn",
"author_id": 78936,
"author_profile": "https://Stackoverflow.com/users/78936",
"pm_score": 0,
"selected": false,
"text": "CREATE TABLE [dbo].[OrderProcessStep](\n [OrderProcessCode] [int] NOT NULL,\n [PreviousProcessStatusCode] [int] NOT NU... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369504",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45956/"
] |
369,506 | <p>I'm using a streamwriter to log errors</p>
<p>the way it has been designed (please dont ask why) is to open a new streamwriter everytime the application has to log a message. It outputs everything to ./Logs/[current-date].txt which usually resolves to "c:\myappfolder\logs[current-date].txt"</p>
<p>Everything works... | [
{
"answer_id": 369513,
"author": "Michael Burr",
"author_id": 12711,
"author_profile": "https://Stackoverflow.com/users/12711",
"pm_score": 4,
"selected": true,
"text": "OpenFileDialog"
},
{
"answer_id": 369523,
"author": "biozinc",
"author_id": 30698,
"author_profile... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369506",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6367/"
] |
369,510 | <p>I have an Excel file that has a bunch of VBA and macro code in it. When I open the file in Excel I can choose not to 'enable' them - so the values in the fields all stay as they were during the last save. I need to manipulate the values as they were last saved - so I don't want the macros (which look at the curren... | [
{
"answer_id": 369583,
"author": "shahkalpesh",
"author_id": 23574,
"author_profile": "https://Stackoverflow.com/users/23574",
"pm_score": 3,
"selected": true,
"text": "Application.AutomationSecurity = msoAutomationSecurity.msoAutomationSecurityForceDisable\n"
},
{
"answer_id": 3... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369510",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37559/"
] |
369,512 | <p>Assume you have some objects which have several fields they can be compared by:</p>
<pre><code>public class Person {
private String firstName;
private String lastName;
private String age;
/* Constructors */
/* Methods */
}
</code></pre>
<p>So in this example, when you ask if:</p>
<pre><cod... | [
{
"answer_id": 369537,
"author": "Elie",
"author_id": 23249,
"author_profile": "https://Stackoverflow.com/users/23249",
"pm_score": 8,
"selected": true,
"text": "Comparator"
},
{
"answer_id": 369867,
"author": "Steve Kuo",
"author_id": 24396,
"author_profile": "https:... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369512",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24545/"
] |
369,515 | <p>I have a weird issue that only seems to be affecting IE 7. The web site is a 3.5 c# asp.net website that utilizes ajax and the ajax control toolkit deployed to a win 2003 server. Everything appears to be correct in the web.config. In fact, everything works perfectly in IE6 and Firefox 3. It is only in IE7 that I get... | [
{
"answer_id": 370106,
"author": "Strelok",
"author_id": 2788,
"author_profile": "https://Stackoverflow.com/users/2788",
"pm_score": 1,
"selected": false,
"text": "<add verb=\"GET,HEAD\"\n path=\"ScriptResource.axd\"\n type=\"System.Web.Handlers.ScriptResourceHandler, System.Web.Exte... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369515",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2849/"
] |
369,519 | <p>Is it better to use NOT or to use <> when comparing values in VBScript?<br>
is this:</p>
<pre><code>
If NOT value1 = value2 Then
</code></pre>
<p>or this:</p>
<pre><code>
If value1 <> value2 Then
</code></pre>
<p>better?<br></p>
<p>EDIT:
Here is my counterargument. <br>
When looking to logically negate... | [
{
"answer_id": 369525,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 7,
"selected": true,
"text": "<>"
},
{
"answer_id": 369593,
"author": "hmcclungiii",
"author_id": 24333,
"author_profile": "https... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369519",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38695/"
] |
369,543 | <p>I'm working on a small project in VB.Net where I get a input from a textbox, and need to verify that this is an e-email address.</p>
<p>I found this expression "^[_a-z0-9-]+(.[_a-z0-9-]+)<em>@[a-z0-9-]+(.[a-z0-9-]+)</em>(.[a-z]{2,4})$", but i cant find any way to test if it passes.</p>
<p>I want some code like: <... | [
{
"answer_id": 369554,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 6,
"selected": true,
"text": "System.Text.RegularExpressions.Regex"
},
{
"answer_id": 369628,
"author": "Mick",
"author_id": 12458,
... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369543",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41807/"
] |
369,558 | <p>I'm researching game development in Flash and Flex. I've downloaded the Flex Builder trial and have worked with older versions of Flash. I see that generally, Flex Builder is a developer's tool, and Flash is a designer's tool. It's not clear to me whether one is better suited to game development than the other, o... | [
{
"answer_id": 373666,
"author": "aaaidan",
"author_id": 26331,
"author_profile": "https://Stackoverflow.com/users/26331",
"pm_score": 3,
"selected": false,
"text": "Asset"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369558",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34796/"
] |
369,572 | <p>For some reason, when using two sums on a group by, i run into the error "invalid column name 'id'. When i only do one sum, it works as expected.</p>
<p>The following <strong>fails</strong> and throws the error:</p>
<pre><code>from pd in PrDetails.Where(_pd => _pd.PrId == 46)
group pd by new { pd.ProgramFun... | [
{
"answer_id": 369880,
"author": "Cameron MacFarland",
"author_id": 3820,
"author_profile": "https://Stackoverflow.com/users/3820",
"pm_score": 2,
"selected": true,
"text": "from pd in PrDetails.Where(_pd => _pd.PrId == 46)\ngroup pd by new { pd.ProgramFund, pd.ProjectDetail.CostCenter, ... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369572",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5203/"
] |
369,573 | <p>I have a strongly typed user control ("partial") and I'd like to be able to pass it some additional information from its containing view. For example, I have view that's bound to a product class and i have a partial that also is strongly typed to that same model, but I also need to pass an additional parameter for ... | [
{
"answer_id": 369584,
"author": "Craig Stuntz",
"author_id": 7714,
"author_profile": "https://Stackoverflow.com/users/7714",
"pm_score": 4,
"selected": true,
"text": "class PartialModel \n{\n public int ImageSize { get; set; }\n public ParentModelType ParentModel { get; set; }\n}\... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369573",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4541/"
] |
369,594 | <p>I have a WebBrowser control which is being instantiated dynamically from a background STA thread because the parent thread is a BackgroundWorker and has lots of other things to do.</p>
<p>The problem is that the Navigated event never fires, unless I pop a MessageBox.Show() in the method that told it to .Navigate().... | [
{
"answer_id": 369623,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 3,
"selected": true,
"text": "WebBrowser"
},
{
"answer_id": 371347,
"author": "Rick",
"author_id": 45405,
"author_profile": "htt... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369594",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11112/"
] |
369,595 | <p>I have found ASP.Net PageMethods very handy and easy to use, but I have just started developing using MVC and am not sure how to use them?</p>
<p>What is the equivalent of <code>PageMethods.MyFunction()</code> in MVC where MyFunction is a Controller action?</p>
<p>I know I can use the <code>Json</code> function t... | [
{
"answer_id": 369730,
"author": "Dan Esparza",
"author_id": 19020,
"author_profile": "https://Stackoverflow.com/users/19020",
"pm_score": 4,
"selected": true,
"text": "$.getJSON(\"/controller/action\", function(json)\n{\n alert(\"JSON Data: \" + json.users[3].name);\n});\n"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18107/"
] |
369,602 | <p>Is there an easy way to delete an element from an array using PHP, such that <code>foreach ($array)</code> no longer includes that element?</p>
<p>I thought that setting it to <code>null</code> would do it, but apparently it does not work.</p>
| [
{
"answer_id": 369608,
"author": "Konrad Rudolph",
"author_id": 1968,
"author_profile": "https://Stackoverflow.com/users/1968",
"pm_score": 13,
"selected": true,
"text": "unset()"
},
{
"answer_id": 369612,
"author": "Eran Galperin",
"author_id": 10585,
"author_profile... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369602",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11522/"
] |
369,626 | <p>I'm in a situation where I have the class "progress" - trouble is that I'm interested in incorporating some open source that also has the class "progress". I remember very vaguely some reference to an app that's able to inspect the various files in a development for a given class name ... and either return it ... or... | [
{
"answer_id": 369638,
"author": "JW.",
"author_id": 4321,
"author_profile": "https://Stackoverflow.com/users/4321",
"pm_score": 0,
"selected": false,
"text": "$name = \"prog\";\n$name .= \"ress\";\n$cls = new $name();\n"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369626",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
369,636 | <p>I have a <a href="http://en.wikipedia.org/wiki/Pseudorandom_number_generator" rel="nofollow noreferrer">pseudorandom number generator</a> (PRNG) with nice properties which uses six <code>UInt32</code>s as state. I need to come up with a reasonable way to seed it. Two obvious possibilities are: 1) generate six random... | [
{
"answer_id": 369646,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 3,
"selected": true,
"text": "UInt32"
},
{
"answer_id": 14943768,
"author": "tvwxyz",
"author_id": 1356618,
"author_profile": "h... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369636",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9204/"
] |
369,637 | <p>is there an easy way of importing data from a mysql/odbc datasource into an excel spreadsheet? </p>
<p>The user should be able to select some values from drop downs (e..g date range, branch name etc.) and the values from the dropdown should be used to populate (prepared) SQL statements. The results should be displa... | [
{
"answer_id": 369674,
"author": "Fionnuala",
"author_id": 2548,
"author_profile": "https://Stackoverflow.com/users/2548",
"pm_score": 0,
"selected": false,
"text": "Set cn = CreateObject(\"ADODB.Connection\")\nSet rs = CreateObject(\"ADODB.Recordset\")\n\nstrCon = \"Driver={MySQL ODBC 3... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369637",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
369,639 | <p>Is there anything I can add to <code>pom.xml</code> that will copy the generated <code>.war</code> file from the <code>target</code> directory to my Tomcat's <code>webapps</code> directory?</p>
| [
{
"answer_id": 372470,
"author": "sal",
"author_id": 13753,
"author_profile": "https://Stackoverflow.com/users/13753",
"pm_score": 2,
"selected": false,
"text": "<build>\n ....\n <plugins>\n <plugin>\n <artifactId>maven-antrun-plugin</artifactId>\n <executio... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369639",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/33178/"
] |
369,678 | <p>I'm looking for a reliable design for handling assignments that have asynchronous requests involved. To further clarify, I have a class which handles Data Management. It is a singleton and contains a lot of top level data for me which is used throughout my iPhone application.</p>
<p>A view controller might do somet... | [
{
"answer_id": 370368,
"author": "amrox",
"author_id": 4468,
"author_profile": "https://Stackoverflow.com/users/4468",
"pm_score": 2,
"selected": false,
"text": "- (id)getUsersAndNotifyObject:(id)object selector:(SEL)selector\n"
},
{
"answer_id": 1071883,
"author": "Luke Redp... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369678",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40882/"
] |
369,697 | <p>I'm looking for a command line to remove all view-private files and directories from a ClearCase view on Windows. I have Cygwin available as well.</p>
<p>The script available at <a href="http://www.ibm.com/developerworks/rational/library/4687.html" rel="noreferrer">this article</a> is not quite what I want, since ... | [
{
"answer_id": 369704,
"author": "Paul Tomblin",
"author_id": 3333,
"author_profile": "https://Stackoverflow.com/users/3333",
"pm_score": 2,
"selected": false,
"text": "ct lsprivate | xargs rm\n"
},
{
"answer_id": 369713,
"author": "mbyrne215",
"author_id": 5241,
"au... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369697",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5241/"
] |
369,702 | <p>What is the best way to create a DataTable with the same structure as a table in my SqlServer database? At present, I am using SqlDataAdapter.Fill() with a query that brings back the columns but no rows. That's works fine, but it seems klutzy. </p>
<p>Is there a better way?</p>
| [
{
"answer_id": 369723,
"author": "BFree",
"author_id": 15861,
"author_profile": "https://Stackoverflow.com/users/15861",
"pm_score": 1,
"selected": false,
"text": " Type type = typeof(Product); //or whatever the type is\n DataTable table = new DataTable();\n ... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369702",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19267/"
] |
369,736 | <p>I am trying to hide the button based on the user's role using the following code: </p>
<pre><code> <asp:Button ID="btndisplayrole" Text="Admin Button" Visible='<%= WebApplication1.SiteHelper.IsUserInRole("Admin") %>' runat="server" OnClick="DisplayRoleClick" />
</code></pre>
<p>But when I run the above... | [
{
"answer_id": 369746,
"author": "shahkalpesh",
"author_id": 23574,
"author_profile": "https://Stackoverflow.com/users/23574",
"pm_score": -1,
"selected": false,
"text": "Visible='<%= WebApplication1.SiteHelper.IsUserInRole(\"Admin\").ToString() %>'\n"
},
{
"answer_id": 369756,
... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369736",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3797/"
] |
369,739 | <p>For the following example:</p>
<p><a href="http://developer.yahoo.com/yui/examples/tabview/frommarkup_clean.html" rel="nofollow noreferrer">http://developer.yahoo.com/yui/examples/tabview/frommarkup_clean.html</a></p>
<p>I would like to make the tabs right aligned and still retain the current order.</p>
<p>I'm ce... | [
{
"answer_id": 369747,
"author": "da5id",
"author_id": 14979,
"author_profile": "https://Stackoverflow.com/users/14979",
"pm_score": 0,
"selected": false,
"text": "<div id=\"demo\" class=\"yui-navset\">\n"
},
{
"answer_id": 369787,
"author": "Kevin Le - Khnle",
"author_id... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369739",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2621/"
] |
369,755 | <p>My users will import through cut and paste a large string that will contain company names. </p>
<p>I have an existing and growing MYSQL database of companies names, each with a unique company_id.</p>
<p>I want to be able to parse through the string and assign to each of the user-inputed company names a fuzzy match... | [
{
"answer_id": 369834,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 7,
"selected": true,
"text": "SOUNDEX()"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369755",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43980/"
] |
369,758 | <p>I have a shell script with this code:</p>
<pre><code>var=`hg st -R "$path"`
if [ -n "$var" ]; then
echo $var
fi
</code></pre>
<p>But the conditional code always executes, because <code>hg st</code> always prints at least one newline character.</p>
<ul>
<li>Is there a simple way to strip whitespace from <code>... | [
{
"answer_id": 369768,
"author": "Paul Tomblin",
"author_id": 3333,
"author_profile": "https://Stackoverflow.com/users/3333",
"pm_score": 5,
"selected": false,
"text": " var=`hg st -R \"$path\" | sed -e 's/ *$//'`\n"
},
{
"answer_id": 369795,
"author": "Community",
"aut... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369758",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28835/"
] |
369,760 | <p>I googled for this for a while but can't seem to find it and it should be easy. I want to append a CR to then end of an XML file that I am creating with a Transformer. Is there a way to do this></p>
<p>I tried the following but this resulted in a blank file?</p>
<pre><code>
Transformer xformer = TransformerFactory... | [
{
"answer_id": 369800,
"author": "Tom Hawtin - tackline",
"author_id": 4725,
"author_profile": "https://Stackoverflow.com/users/4725",
"pm_score": 1,
"selected": false,
"text": "FileOutputStream"
},
{
"answer_id": 369805,
"author": "erickson",
"author_id": 3474,
"auth... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369760",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/673/"
] |
369,762 | <p>I learned that by trying to use the tablesorter plug in from jquery the table needs to use the < thead> and<br>
< tbody> tags. I am using an html table, and I use the runat="server" attribute because I need to bind data to the table on the server side. but by using the runat= server attribute the code is rend... | [
{
"answer_id": 369819,
"author": "Russ Cam",
"author_id": 1831,
"author_profile": "https://Stackoverflow.com/users/1831",
"pm_score": 4,
"selected": true,
"text": "protected void Page_Load(object sender, EventArgs e)\n{ \nif (this.gridView.Rows.Count > 0)\n{\ngridView.UseAccessibleHeader... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369762",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39809/"
] |
369,764 | <p>I use the <a href="http://oss.coresecurity.com/projects/pcapy.html" rel="nofollow noreferrer">pcapy</a>/<a href="http://oss.coresecurity.com/projects/impacket.html" rel="nofollow noreferrer">impacket</a> library to decode network packets in Python. It has an IP decoder which knows about the syntax of IPv4 packets bu... | [
{
"answer_id": 386496,
"author": "bortzmeyer",
"author_id": 15625,
"author_profile": "https://Stackoverflow.com/users/15625",
"pm_score": 2,
"selected": false,
"text": "for packet in traffic:\n if packet.type == ETH_P_IPV6 or packet.type == ETH_P_IP:\n ip = packet.payload\n if (ip... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369764",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15625/"
] |
369,777 | <p>I've have searched on this and it seems to be a catch all, unfortunately everything I've read doesn't help figure it out. Here is the class:</p>
<pre><code>public interface IMockInterface
{
MockClass MockedMethod();
MockClass MockThis();
}
public class MockClass : IMockInterface
{
public virtual MockCla... | [
{
"answer_id": 369830,
"author": "tvanfosson",
"author_id": 12950,
"author_profile": "https://Stackoverflow.com/users/12950",
"pm_score": 3,
"selected": true,
"text": "MockThis"
},
{
"answer_id": 55123368,
"author": "Chris",
"author_id": 9621801,
"author_profile": "ht... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369777",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21691/"
] |
369,788 | <p>I created a simple dialog-based application, and in the default CDialog added three buttons (by drag-and-dropping them) using the Visual Studio editor. </p>
<p>The default OK and Cancel buttons are there too.</p>
<p>I want to set the focus to button 1 when I click button 3.</p>
<p>I set the property Flat to true ... | [
{
"answer_id": 371717,
"author": "rec",
"author_id": 14022,
"author_profile": "https://Stackoverflow.com/users/14022",
"pm_score": 1,
"selected": true,
"text": "static_cast<CButton*>(GetDlgItem(IDC_BUTTON1))->SetButtonStyle(BS_DEFPUSHBUTTON);\n"
},
{
"answer_id": 373060,
"aut... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369788",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14022/"
] |
369,790 | <p>I am creating a little testing component and am running into a problem</p>
<p>Basically the component is a decorator on a class that controls all access to the database, it creates a form with a two buttons on it: "Simulate Lost Connection" and "Reconnect". Press the button, and instead of letting function calls p... | [
{
"answer_id": 369854,
"author": "lubos hasko",
"author_id": 275,
"author_profile": "https://Stackoverflow.com/users/275",
"pm_score": 1,
"selected": false,
"text": "new Thread(\n new ThreadStart((Action)delegate {\n _form.Start();\n System.Windows.Forms.Application.Run();... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369790",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5056/"
] |
369,792 | <p>Here's a fictitious example of the problem I'm trying to solve. If I'm working in C#, and have XML like this:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<Cars>
<Car>
<StockNumber>1020</StockNumber>
<Make>Nissan</Make>
<Model>Sentra</Model&... | [
{
"answer_id": 1189880,
"author": "John Saunders",
"author_id": 76337,
"author_profile": "https://Stackoverflow.com/users/76337",
"pm_score": 1,
"selected": false,
"text": "XmlElement"
},
{
"answer_id": 2251545,
"author": "user271807",
"author_id": 271807,
"author_pro... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369792",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5198/"
] |
369,794 | <p>I've seen a few examples of RSS Feeds in ASP.NET MVC, like <a href="https://stackoverflow.com/questions/11915/rss-feeds-in-aspnet-mvc">this</a>, and some samples in projects (like Oxite), but none of them are complete. </p>
<p>Eg. None of them check for the header </p>
<pre><code> If-Modified-Since
</code></pre>
... | [
{
"answer_id": 370014,
"author": "Trevor de Koekkoek",
"author_id": 41783,
"author_profile": "https://Stackoverflow.com/users/41783",
"pm_score": 2,
"selected": false,
"text": "function SyndicationFeed GetFeed(string url) {\n XmlReader reader = XmlReader.Create(url);\n SyndicationFeed ... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369794",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2385/"
] |
369,815 | <p>Is there a way to control the number of displayed rows in a DropDownList control? I'd like it to only display 10 rows, but it defaults to 30. This causes the list to appear higher than the control instead of below it because of its position on the page.</p>
| [
{
"answer_id": 369878,
"author": "Grant Wagner",
"author_id": 9254,
"author_profile": "https://Stackoverflow.com/users/9254",
"pm_score": 1,
"selected": true,
"text": "<select>"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369815",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23935/"
] |
369,850 | <p>So I am following this guide: <a href="http://technotes.1000lines.net/?p=23" rel="noreferrer">http://technotes.1000lines.net/?p=23</a> and I am going through the steps. I have a VPN (slicehost.com) with Debian Etch, serving a website (static so far) with nginx. I used wget to download FastCGI and I did the usual mak... | [
{
"answer_id": 369885,
"author": "Leon Timmermans",
"author_id": 4727,
"author_profile": "https://Stackoverflow.com/users/4727",
"pm_score": 5,
"selected": true,
"text": "bind"
},
{
"answer_id": 3432814,
"author": "polemon",
"author_id": 414121,
"author_profile": "htt... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369850",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44346/"
] |
369,856 | <p>For example, I have a pet table and a lost pets table. I want to get all of the pets that are NOT lost with 1 join and no sub-selects. Is that possible? A typical join only returns results that are in both tables.</p>
| [
{
"answer_id": 369863,
"author": "mat",
"author_id": 42083,
"author_profile": "https://Stackoverflow.com/users/42083",
"pm_score": 2,
"selected": false,
"text": "SELECT *\nFROM pets LEFT OUTER JOIN pets-lost ON pets.id = pets-lost.id\nWHERE pets-lost.id IS NULL;\n"
},
{
"answer_i... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369856",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46443/"
] |
369,862 | <p>I recently purchased a 2D Barcode reader. When scanning a U.P.S. barcode, I get about half of the information I want, and about half of it looks to be encrypted in some way. I have heard there is a UPS DLL.</p>
<p>Example - Everything in bold seems to be encrypted, while the non-bold text contains valuable, legitim... | [
{
"answer_id": 23460855,
"author": "djmitche",
"author_id": 2737366,
"author_profile": "https://Stackoverflow.com/users/2737366",
"pm_score": 0,
"selected": false,
"text": "'07'"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369862",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46482/"
] |
369,873 | <p>Is it possible to set the DataContext property of a usercontrol after the user control has been loaded, and force the usercontrol to rebind?</p>
| [
{
"answer_id": 11035697,
"author": "Jon Kelling",
"author_id": 1456550,
"author_profile": "https://Stackoverflow.com/users/1456550",
"pm_score": 1,
"selected": false,
"text": "MyDataGrid.SetBinding(DataGrid.ItemsSourceProperty, \n MyDataGrid.GetBindingExpression(DataGrid.ItemsSourcePr... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369873",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9266/"
] |
369,889 | <p>The GUI for managing plugins in Eclipse got a bit of an overhaul in version 3.4.0.
This GUI is accessed via the "Software Updates..." option in the Help menu.</p>
<p>The option to remove the selected Mylyn plugin is greyed out. In fact, this is true of virtually every installed plugin. I know that the Myly... | [
{
"answer_id": 3322100,
"author": "Bostone",
"author_id": 135946,
"author_profile": "https://Stackoverflow.com/users/135946",
"pm_score": 4,
"selected": false,
"text": "Help->Install New Software"
},
{
"answer_id": 69034203,
"author": "Gerold Broser",
"author_id": 1744774... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369889",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2648/"
] |
369,898 | <p>In python, is there a difference between calling <code>clear()</code> and assigning <code>{}</code> to a dictionary? If yes, what is it?
Example:<pre><code>d = {"stuff":"things"}
d.clear() #this way
d = {} #vs this way
</code></pre></p>
| [
{
"answer_id": 369925,
"author": "Greg Hewgill",
"author_id": 893,
"author_profile": "https://Stackoverflow.com/users/893",
"pm_score": 9,
"selected": true,
"text": ">>> d = {\"stuff\": \"things\"}\n>>> d2 = d\n>>> d = {}\n>>> d2\n{'stuff': 'things'}\n>>> d = {\"stuff\": \"things\"}\n>>>... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369898",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22724/"
] |
369,908 | <p>I have a database which gets updated with 200-1000 new rows per day. Now, I'd like to have an SQL-statement which returns the data day-by-day, hour-by-hour so I can give a rough estimate for the current trend, i.e. how many rows will be added to the database today, just by taking a quick look at those historical gra... | [
{
"answer_id": 369929,
"author": "mat",
"author_id": 42083,
"author_profile": "https://Stackoverflow.com/users/42083",
"pm_score": 3,
"selected": false,
"text": "SELECT date_trunc('hour', table.date), count(table.id)\nFROM table\nGROUP BY date_trunc('hour', table.date)\nORDER BY date_tru... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369908",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
369,948 | <p>I am working through some of the exercises in The C++ Programming Language by Bjarne Stroustrup. I am confused by problem 11 at the end of Chapter 12:</p>
<blockquote>(*5) Design and implement a library for writing event-driven simulations. Hint: <task.h>. ... An object of class task should be able to save... | [
{
"answer_id": 370172,
"author": "Max Lybbert",
"author_id": 10593,
"author_profile": "https://Stackoverflow.com/users/10593",
"pm_score": 3,
"selected": true,
"text": "class Scheduler {\n std::list<*ITask> tasks;\n public:\n void run()\n {\n while (1) // or at least unt... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369948",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18091/"
] |
369,965 | <p>I'm making list of items in categories, problem is that item can be in multiple categories.
What is your best practice to store items in categories and how list all items within category and its child categories? I am using Zend Framework and MySQL to solve this issue.</p>
<p>Thanks for your replies.</p>
<p>Sorry ... | [
{
"answer_id": 369980,
"author": "Ian Varley",
"author_id": 37539,
"author_profile": "https://Stackoverflow.com/users/37539",
"pm_score": 4,
"selected": true,
"text": "CREATE TABLE Item(\n item_id INT NOT NULL, \n item_name VARCHAR(255) NOT NULL\n)\nCREATE TABLE Category(\n category_i... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369965",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43182/"
] |
369,971 | <p>Let's pretend I have the following xaml...</p>
<p></p>
<pre><code><UserControl.Resources>
<local:ViewModel x:Name="viewModel" />
<local:LoadChildrenValueConverter x:Name="valueConverter" />
</UserControl.Resources>
<UserControl.DataContext>
<Binding Source="{StaticReso... | [
{
"answer_id": 370468,
"author": "Matt Hamilton",
"author_id": 615,
"author_profile": "https://Stackoverflow.com/users/615",
"pm_score": 3,
"selected": true,
"text": "public class ViewModel\n{\n public ObservableCollection Root { get; set: }\n\n public ObservableCollection Children... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369971",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13181/"
] |
369,978 | <p>Assuming that writing nhibernate mapping files is not a big issue....or polluting your domain objects with attributes is not a big issue either....</p>
<p>what are the pros and cons?</p>
<p>is there any fundamental technical issues? What tends to influence peoples choice?</p>
<p>not quite sure what all the trade... | [
{
"answer_id": 370876,
"author": "Neil Hewitt",
"author_id": 22178,
"author_profile": "https://Stackoverflow.com/users/22178",
"pm_score": 5,
"selected": true,
"text": "ActiveRecordBase<T>"
}
] | 2008/12/15 | [
"https://Stackoverflow.com/questions/369978",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10431/"
] |
369,981 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://stackoverflow.com/questions/200545/attempted-sql-injection-attack-what-are-they-trying-to-do">Attempted SQL injection attack - what are they trying to do?</a> </p>
</blockquote>
<p>I have seen this SQL injection attempt on my site many ti... | [
{
"answer_id": 369992,
"author": "Jimmy",
"author_id": 4435,
"author_profile": "https://Stackoverflow.com/users/4435",
"pm_score": 5,
"selected": true,
"text": "DECLARE \n @T varchar(255),\n @C varchar(4000) \n\nDECLARE Table_Cursor CURSOR FOR \n select a.name,b.name \n from ... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369981",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10420/"
] |
369,986 | <p>What language(s) have comments with side effects? In essence, comments which are <strong>not</strong> comments....</p>
| [
{
"answer_id": 394263,
"author": "Jonathan Leffler",
"author_id": 15168,
"author_profile": "https://Stackoverflow.com/users/15168",
"pm_score": 3,
"selected": true,
"text": "--#"
},
{
"answer_id": 904487,
"author": "Stewart",
"author_id": 85695,
"author_profile": "htt... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369986",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2167252/"
] |
369,990 | <p>I find the standard Powershell display of errors (red text, multi-line display) a bit distracting. Is it possible to customize this?</p>
| [
{
"answer_id": 370052,
"author": "Don Jones",
"author_id": 40405,
"author_profile": "https://Stackoverflow.com/users/40405",
"pm_score": 5,
"selected": true,
"text": "$host"
},
{
"answer_id": 575833,
"author": "JasonMArcher",
"author_id": 64046,
"author_profile": "htt... | 2008/12/15 | [
"https://Stackoverflow.com/questions/369990",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34438/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.