qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
209,086
<p>I've got a C++ Win32 application that has a number of threads that might be busy doing IO (HTTP calls, etc) when the user wants to shutdown the application. Currently, I play nicely and wait for all the threads to end before returning from <code>main</code>. Sometimes, this takes longer than I would like and indee...
[ { "answer_id": 210385, "author": "Roddy", "author_id": 1737, "author_profile": "https://Stackoverflow.com/users/1737", "pm_score": 3, "selected": false, "text": "QueueUserAPC() catch (...) catch(const Exception &e) sleepex(N, true) sleep(N) sleepex(0,true)" }, { "answer_id": 8440...
2008/10/16
[ "https://Stackoverflow.com/questions/209086", "https://Stackoverflow.com", "https://Stackoverflow.com/users/23524/" ]
209,095
<p>Requirement is to pass module name and function name from the command-line argument. I need to get the command-line argument in the program and I need to call that function from that module</p> <p>For example, calling a try.pl program with 2 arguments: MODULE1(Module name) Display(Function name)</p> <pre><code> pe...
[ { "answer_id": 209284, "author": "Yanick", "author_id": 10356, "author_profile": "https://Stackoverflow.com/users/10356", "pm_score": 3, "selected": false, "text": "#!/usr/bin/perl\nuse strict;\nuse warnings;\n\nmy ( $package, $function ) = @ARGV;\n\neval \"use $package; 1\" or die $@;\n...
2008/10/16
[ "https://Stackoverflow.com/questions/209095", "https://Stackoverflow.com", "https://Stackoverflow.com/users/28622/" ]
209,110
<p>In my application I have a number of panes from m_wndspliter classes. What I want to do is at run time show and hide one of these panes. Whilst with the following code I can show and hide the view associated with the pane, I can't temporarily remove the pane itself. </p> <pre><code>CWnd * pCurView = m_wndSplitter2....
[ { "answer_id": 66088935, "author": "thomiel", "author_id": 1284927, "author_profile": "https://Stackoverflow.com/users/1284927", "pm_score": 0, "selected": false, "text": "CExtSplitter" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/209110", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18664/" ]
209,127
<p>I'm looking for a plugin for jQuery that can validate as a key is pressed and after it loses focus (text boxes). </p> <p>I'm currently using <a href="http://www.overset.com/2008/07/31/jval-jquery-form-field-validation-plugin/" rel="nofollow noreferrer">jVal - jQuery Form Field Validation Plugin</a>. It works pretty...
[ { "answer_id": 209168, "author": "hasseg", "author_id": 4111, "author_profile": "https://Stackoverflow.com/users/4111", "pm_score": 5, "selected": true, "text": "// validate signup form on keyup and submit\n$(\"#signupForm\").validate({\n rules: {\n firstname: \"required\",\n ...
2008/10/16
[ "https://Stackoverflow.com/questions/209127", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7617/" ]
209,132
<p>How would I assign a variable within scriplet code in JSP &lt;%> and then use struts logic tags to do stuff based on the value of the variable assigned in the scriplet code block?</p> <p>I have tried using struts:logic equal and greaterthan to no avail....</p> <p>Many Thanks,</p>
[ { "answer_id": 209882, "author": "myplacedk", "author_id": 28683, "author_profile": "https://Stackoverflow.com/users/28683", "pm_score": 1, "selected": false, "text": "<% String foo = \"Test\"; %>\n<bean:write name=\"foo\" />\n <% pageContext.setAttribute(\"foo\", \"Test\"); %>\n<bean:wr...
2008/10/16
[ "https://Stackoverflow.com/questions/209132", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21004/" ]
209,133
<p>We are logging any exceptions that happen in our system by writing the Exception.Message to a file. However, they are written in the culture of the client. And Turkish errors don't mean a lot to me.</p> <p>So how can we log any error messages in English without changing the users culture?</p>
[ { "answer_id": 209222, "author": "morechilli", "author_id": 5427, "author_profile": "https://Stackoverflow.com/users/5427", "pm_score": 1, "selected": false, "text": "0x00000001" }, { "answer_id": 209259, "author": "mdb", "author_id": 8562, "author_profile": "https://...
2008/10/16
[ "https://Stackoverflow.com/questions/209133", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21679/" ]
209,135
<p>When working on some code, I add extra debug logging of some kind to make it easier for me to trace the state and values that I care about for this particular fix.</p> <p>But if I would check this in into the source code repository, my colleagues would get angry on me for polluting the Log output and polluting the ...
[ { "answer_id": 209179, "author": "Chris Marasti-Georg", "author_id": 96, "author_profile": "https://Stackoverflow.com/users/96", "pm_score": 2, "selected": false, "text": "#if DEBUG\n logger.debug(\"stuff I care about\");\n#endif\n if(logger.isTraceEnabled()) {\n logger.log(\"My ex...
2008/10/16
[ "https://Stackoverflow.com/questions/209135", "https://Stackoverflow.com", "https://Stackoverflow.com/users/28625/" ]
209,138
<p>I need to make a mouseover menu that opens diagonally (from top-left to bottom-right). </p>
[ { "answer_id": 212069, "author": "Pier Luigi", "author_id": 27789, "author_profile": "https://Stackoverflow.com/users/27789", "pm_score": 1, "selected": false, "text": "$('#mymenu').animate({width: '80px', height: '200px'})\n $('#mymenu').animate({width: '0px', height: '0px', opacity: 'h...
2008/10/16
[ "https://Stackoverflow.com/questions/209138", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
209,145
<p>When setting the export path in Unix, example:</p> <pre><code>export PATH=$PATH: $EC2_HOME/bin </code></pre> <p>If I quit terminal and open it back up to continue working, I have to go through all the steps again, setting up the paths each time. I'm wondering how I can set the path and have it "stick" so my system...
[ { "answer_id": 209165, "author": "Mo.", "author_id": 1870, "author_profile": "https://Stackoverflow.com/users/1870", "pm_score": 1, "selected": false, "text": ".bashrc" }, { "answer_id": 209166, "author": "JSBձոգչ", "author_id": 8078, "author_profile": "https://Stacko...
2008/10/16
[ "https://Stackoverflow.com/questions/209145", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2293/" ]
209,148
<p>What on earth is a caret in the context of a CSplitterWnd class? I can't find any documentation relating explicitly to CSplitterWnds...</p> <p>EDIT: Specifically, what do these functions <em>actually</em> do:</p> <pre><code>CWnd * pCurView = m_wndSplitter2.GetPane(2, 0); pCurView-&gt;ShowCaret() pCurView-&gt;HideC...
[ { "answer_id": 209321, "author": "SmacL", "author_id": 22564, "author_profile": "https://Stackoverflow.com/users/22564", "pm_score": 1, "selected": false, "text": "CWnd * pCurView = m_wndSplitter2.GetPane(2, 0);\n pCurView->ShowCaret()\n pCurView->HideCaret()\n" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/209148", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18664/" ]
209,160
<p>I want to do something like this :</p> <pre><code>myYear = record.GetValueOrNull&lt;int?&gt;("myYear"), </code></pre> <p>Notice the nullable type as the generic parameter. </p> <p>Since the <code>GetValueOrNull</code> function could return null my first attempt was this: </p> <pre><code>public static T GetValueO...
[ { "answer_id": 209219, "author": "Greg Dean", "author_id": 1200558, "author_profile": "https://Stackoverflow.com/users/1200558", "pm_score": 9, "selected": true, "text": "Nullable<T> static void Main(string[] args)\n{\n int? i = GetValueOrNull<int>(null, string.Empty);\n}\n\n\npublic ...
2008/10/16
[ "https://Stackoverflow.com/questions/209160", "https://Stackoverflow.com", "https://Stackoverflow.com/users/25145/" ]
209,192
<p>I would like to match the time (10.00) from a string with the date and time ("21.01.08 10.00"). I'm using the following regular expression:</p> <pre><code>new RegExp("\\b[0-9]{1,2}\\.[0-9]{1,2}\\b" "g"); </code></pre> <p>But this matches 21.01 from 21.01.08 and 10.00.</p> <p>I'm using PCRE as my regualar expressi...
[ { "answer_id": 209231, "author": "Pat", "author_id": 238, "author_profile": "https://Stackoverflow.com/users/238", "pm_score": 0, "selected": false, "text": "new RegExp(\"\\\\b[0-9]{1,2}\\\\.[0-9]{1,2}$\" \"g\");\n" }, { "answer_id": 209243, "author": "theraccoonbear", "a...
2008/10/16
[ "https://Stackoverflow.com/questions/209192", "https://Stackoverflow.com", "https://Stackoverflow.com/users/948/" ]
209,193
<p>I am creating a left navigation system utilizing xml and xsl. Everything was been going great until I tried to use a special character in my xml document. I am using <code>&amp;raquo;</code> and I get th error.</p> <blockquote> <p>reason: Reference to undefined entity 'raquo'.<br> error code: -1072898046</p> </...
[ { "answer_id": 209272, "author": "Pat", "author_id": 238, "author_profile": "https://Stackoverflow.com/users/238", "pm_score": 3, "selected": false, "text": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n &#187; &#171; ...
2008/10/16
[ "https://Stackoverflow.com/questions/209193", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27516/" ]
209,198
<p>I am using Borland Turbo C++ with some inlined assembler code, so presumably Turbo Assembler (TASM) style assembly code. I wish to do the following:</p> <pre><code>void foo::bar( void ) { __asm { mov eax, SomeLabel // ... } // ... SomeLabel: // ... } </code></pre> <p>So the address ...
[ { "answer_id": 209359, "author": "Sean", "author_id": 4919, "author_profile": "https://Stackoverflow.com/users/4919", "pm_score": 0, "selected": false, "text": "int result=0;\n\n__asm__ {\n mov result, 1\n}\n\nswitch (result){\n case 1: printf(\"You wanted case 1 to happen in your...
2008/10/16
[ "https://Stackoverflow.com/questions/209198", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14260/" ]
209,199
<p>The <a href="http://msdn.microsoft.com/en-us/library/bb384061.aspx" rel="noreferrer">var</a> keyword does away with the need for an explicit type declaration and I have read with interest the <a href="https://stackoverflow.com/questions/41479/use-of-var-keyword-in-c">SO discussion</a> of when it might be appropriate...
[ { "answer_id": 209225, "author": "Ferruccio", "author_id": 4086, "author_profile": "https://Stackoverflow.com/users/4086", "pm_score": 6, "selected": false, "text": "name = \"fred\";\n ...\nName = \"barney\"; // whoops! we meant to reuse name\n" }, { "answer_id": 209239, "a...
2008/10/16
[ "https://Stackoverflow.com/questions/209199", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4200/" ]
209,224
<p>I have to consume 2 different web services. Both contain a definition for a 'user' object. </p> <p>When I reference the services using "Add service reference" I give each service a unique namespace:</p> <pre><code>com.xyz.appname.ui.usbo.UserManagement com.xyz.appname.ui.usbo.AgencyManagement </code></pre> <...
[ { "answer_id": 209277, "author": "leppie", "author_id": 15541, "author_profile": "https://Stackoverflow.com/users/15541", "pm_score": 2, "selected": false, "text": "/sharetypes\n Turns on type sharing feature. This feature creates one code file with\n a single type definition for i...
2008/10/16
[ "https://Stackoverflow.com/questions/209224", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10589/" ]
209,237
<p>I know I should be using htmlentities for all my form text input fields but this doesn't work:</p> <pre><code>&lt;?php echo "&lt;tr&gt; &lt;td align=\"right\"&gt;".Telephone." :&lt;/td&gt; &lt;td&gt;&lt;input type=\"text\" name=\"telephone\" size=\"27\" value=\"htmlentities($row[tele...
[ { "answer_id": 209246, "author": "workmad3", "author_id": 16035, "author_profile": "https://Stackoverflow.com/users/16035", "pm_score": 3, "selected": false, "text": "value=\\\"\" . htmlentities($row[telephone]) . \"\\\"\n" }, { "answer_id": 209248, "author": "Quentin", "...
2008/10/16
[ "https://Stackoverflow.com/questions/209237", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
209,254
<p>I'm writing a web application that decodes Morse Code that is tapped in using mouse button.</p> <p>I originally did a proof of concept using conventional JavaScript, but now I'm redoing it using jQuery.</p> <p>Is there a clever way with jQuery to tell if a button has been pressed again within so many milliseconds,...
[ { "answer_id": 209358, "author": "Pseudo Masochist", "author_id": 8529, "author_profile": "https://Stackoverflow.com/users/8529", "pm_score": 1, "selected": false, "text": "setTimeout() clearTimeout()" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/209254", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5440/" ]
209,255
<p>I've got a unidirectional tree of objects, in which each objects points to its parent. Given an object, I need to obtain its entire subtree of descendants, as a collection of objects. The objects are not actually in any data structure, but I can easily get a collection of all the objects.</p> <p>The naive approach ...
[ { "answer_id": 209450, "author": "matt b", "author_id": 4249, "author_profile": "https://Stackoverflow.com/users/4249", "pm_score": 3, "selected": true, "text": "public static Set<Node> findDescendants(List<Node> allNodes, Node thisNode) {\n\n // keep a map of Nodes to a List of that ...
2008/10/16
[ "https://Stackoverflow.com/questions/209255", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2819/" ]
209,257
<p>I getting the following error when I try to connect to my server app using remoting:</p> <blockquote> <p><em>A problem seems to have occured whilst connecting to the remote server:<br> Server encountered an internal error. For more information, turn off customErrors in the server's .config file.</em></p> </bloc...
[ { "answer_id": 209278, "author": "Gulzar Nazim", "author_id": 4337, "author_profile": "https://Stackoverflow.com/users/4337", "pm_score": 6, "selected": true, "text": "<ServerEXE>.config <?xml version=\"1.0\" encoding=\"utf-8\" ?>\n<configuration>\n <system.runtime.remoting> \n ...
2008/10/16
[ "https://Stackoverflow.com/questions/209257", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11989/" ]
209,258
<p>I am trying to use a third party DLL that wants an int** as one of the parameters to the method. It describes the parameter as the address of the pointer that will point to the memory allocation.</p> <p>Sorry for any confusion. The parameter is two-way I think. The DLL is for talking to an FPGA board and the met...
[ { "answer_id": 209267, "author": "Mark Cidade", "author_id": 1659, "author_profile": "https://Stackoverflow.com/users/1659", "pm_score": 4, "selected": true, "text": "System.IntPtr [DllImport(\"thirdparty.dll\")]\n static extern long ThirdPartyFunction(ref IntPtr arg);\n\n long f(int[] ...
2008/10/16
[ "https://Stackoverflow.com/questions/209258", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1629/" ]
209,281
<p>I am aware that you can lock an object in c# using lock but can you give up the lock and wait for something else to notify you that it's changed like you can in java with wait and notify?</p> <p>It seems to me that synchronised and lock in java and c# respectively are synonomous.</p>
[ { "answer_id": 209319, "author": "Jon Skeet", "author_id": 22656, "author_profile": "https://Stackoverflow.com/users/22656", "pm_score": 8, "selected": true, "text": "foo.notify() => Monitor.Pulse(foo)\nfoo.notifyAll() => Monitor.PulseAll(foo)\nfoo.wait() => Monitor.Wait(foo)\n lock Mon...
2008/10/16
[ "https://Stackoverflow.com/questions/209281", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20400/" ]
209,301
<p>How do I post a form from an HTML page to and ASPX page (2.0) and be able to read the values?</p> <p>I currently have an ASP.NET site using the Membership provider and everything is working fine. Users can log in from the Login.aspx page.</p> <p>We now want to be able to have users log in directly from another we...
[ { "answer_id": 209455, "author": "Pseudo Masochist", "author_id": 8529, "author_profile": "https://Stackoverflow.com/users/8529", "pm_score": 5, "selected": false, "text": "<form id=\"form1\" runat=\"server\">\n <div>\n <asp:TextBox ID=\"TextBox1\" runat=\"server\"></asp:TextBo...
2008/10/16
[ "https://Stackoverflow.com/questions/209301", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
209,305
<p>I'm writing a C/C++ application under Linux that reads data from a raw socket (for ICMP packets). Question: is there a way to discard all data that is still queued on the socket?</p> <p>The problem is that after sleeping for a while, there is data queued up on the socket which I'm not interested in; so it would be ...
[ { "answer_id": 219923, "author": "Tim Howland", "author_id": 4276, "author_profile": "https://Stackoverflow.com/users/4276", "pm_score": 0, "selected": false, "text": "for(n=0;n<=MAX_BUFFER_SIZE;n++)\n{\nrecv_buffer[n] = 0;\n}\n" }, { "answer_id": 219946, "author": "Adam Rose...
2008/10/16
[ "https://Stackoverflow.com/questions/209305", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2148773/" ]
209,320
<p>I have an activex object I loaded into an html page. I then use that activex object to create another object, but I need to register an event with the new object created. The object is expecting an event listener of a certain type.</p> <p>I can load this same dll in c# and it will work fine. Code looks like this ...
[ { "answer_id": 219923, "author": "Tim Howland", "author_id": 4276, "author_profile": "https://Stackoverflow.com/users/4276", "pm_score": 0, "selected": false, "text": "for(n=0;n<=MAX_BUFFER_SIZE;n++)\n{\nrecv_buffer[n] = 0;\n}\n" }, { "answer_id": 219946, "author": "Adam Rose...
2008/10/16
[ "https://Stackoverflow.com/questions/209320", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21664/" ]
209,327
<p>How should I format URLs with special/international characters?</p> <p>Currently I try to make URLs "look good", so that: </p> <pre><code>www.myhost.com/this is a test, do you know how? </code></pre> <p>is converted to: </p> <pre><code>www.myhost.com/this_is_a_test_do_you_know_how </code></pre> <p>I know some i...
[ { "answer_id": 209776, "author": "balexandre", "author_id": 28004, "author_profile": "https://Stackoverflow.com/users/28004", "pm_score": 0, "selected": false, "text": "Server.URLEncode( myURL );\n" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/209327", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
209,335
<p>I have a chart in a Worksheet in Excel and I have a macro set up so that when I change the value in a certain cell the range of data in the chart is set to <code>A2</code> down as far as the row number corresponding in this certain cell.</p> <p>What I can't seem to be able to do is to modify the axis as the specifi...
[ { "answer_id": 209486, "author": "Dave DuPlantis", "author_id": 8174, "author_profile": "https://Stackoverflow.com/users/8174", "pm_score": 4, "selected": true, "text": "Charts(\"chartname\").SeriesCollection(1).XValues = \"=MYXAXIS\"\n" }, { "answer_id": 260933, "author": "C...
2008/10/16
[ "https://Stackoverflow.com/questions/209335", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4014/" ]
209,354
<p>I am currently developing an approval routing WCF service that will allow an user to create "rules" which determine how an request is routed. The route is determined by comparing the "ObjectToEvaluate" property of the Request class against the "ObjectToEvaluate" property of the "Rule" class. The "UnitOfMeasurement...
[ { "answer_id": 209442, "author": "JSBձոգչ", "author_id": 8078, "author_profile": "https://Stackoverflow.com/users/8078", "pm_score": 4, "selected": true, "text": "public class CastableObject {\n\n private UnitOfMeasurement eUnit; // Assign this somehow\n\n public static implicit op...
2008/10/16
[ "https://Stackoverflow.com/questions/209354", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26327/" ]
209,366
<p>Is there any way to take a Class and determine if it represents a primitive type (is there a solution that doesn't require specifically enumerating all the primitive types)?</p> <p>NOTE: I've seen <a href="https://stackoverflow.com/questions/180097/dynamically-find-the-class-that-represents-a-primitive-java-type">t...
[ { "answer_id": 10195276, "author": "kentcdodds", "author_id": 971592, "author_profile": "https://Stackoverflow.com/users/971592", "pm_score": 2, "selected": false, "text": "/**\n* Checks first whether it is primitive and then whether it's wrapper is a primitive wrapper. Returns true\n* i...
2008/10/16
[ "https://Stackoverflow.com/questions/209366", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16430/" ]
209,376
<p>Is it possible to use SQL Server 2008 CROSS APPLY with LINQ-2-SQL? </p> <p>Example SQL:</p> <pre><code>select d.dateCol, tvf.descr, tvf.value from dateTable d cross apply tvFunction(d.dt, 'anotherParam') tvf where d.category='someCat' </code></pre> <p>CROSS APPLY enables using values from a table (dateTable in th...
[ { "answer_id": 5579182, "author": "Djordje", "author_id": 1272040, "author_profile": "https://Stackoverflow.com/users/1272040", "pm_score": 2, "selected": false, "text": "from d in dateTable\nfrom tvf in tvFunction(d.dt, 'anotherProgram')\nwhere d.category = 'someCat'\n" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/209376", "https://Stackoverflow.com", "https://Stackoverflow.com/users/224/" ]
209,383
<p>I have a stored procedure that returns 80 columns, and 300 rows. I want to write a select that gets 2 of those columns. Something like </p> <pre><code>SELECT col1, col2 FROM EXEC MyStoredProc 'param1', 'param2' </code></pre> <p>When I used the above syntax I get the error: </p> <blockquote> <p>"Invalid Column...
[ { "answer_id": 209390, "author": "Gulzar Nazim", "author_id": 4337, "author_profile": "https://Stackoverflow.com/users/4337", "pm_score": 8, "selected": false, "text": "Declare @tablevar table(col1 col1Type,..\ninsert into @tablevar(col1,..) exec MyStoredProc 'param1', 'param2'\n\nSELECT...
2008/10/16
[ "https://Stackoverflow.com/questions/209383", "https://Stackoverflow.com", "https://Stackoverflow.com/users/28281/" ]
209,389
<p>If I have a string (010) and i want to add 1 to it (011) what value type should i use to convert this string into a number for adding and at the same time preserve the whole number and not 10 + 1 = 11. </p>
[ { "answer_id": 209392, "author": "Omer van Kloeten", "author_id": 4979, "author_profile": "https://Stackoverflow.com/users/4979", "pm_score": 3, "selected": false, "text": "if (int.TryParse(str, out i))\n str = (i + 1).ToString(\"000\");\n" }, { "answer_id": 209395, "autho...
2008/10/16
[ "https://Stackoverflow.com/questions/209389", "https://Stackoverflow.com", "https://Stackoverflow.com/users/28647/" ]
209,403
<p>i know this doesnt work but i dont know why, also how can i make it work?</p> <pre><code> &lt;% int result = referer.indexOf("smlMoverDetail.do"); %&gt; &lt;% if (result == -1){%&gt; &lt;%out.print("checking");%&gt; &lt;bean:define id="JOININGDATE" name="smlMoverDetailForm" property="empFDJoiningDate" type="j...
[ { "answer_id": 212272, "author": "Shivasubramanian A", "author_id": 9195, "author_profile": "https://Stackoverflow.com/users/9195", "pm_score": 1, "selected": false, "text": "<logic:Equal name=\"result\" value = \"-1\">\n <logic:equal name=\"result\" value = \"-1\">\n" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/209403", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
209,407
<p>I am developing a specialty application where the end-user needs to operate multiple controls simultaneously. The application is used to "tune" the control parameters of an electronic device to calibrate the unit to its best performance.</p> <p>Currently, there is a UI with multiple graphical sliders which the ope...
[ { "answer_id": 209424, "author": "theraccoonbear", "author_id": 7210, "author_profile": "https://Stackoverflow.com/users/7210", "pm_score": 3, "selected": true, "text": "A/Z are the up/down keys for slider 1\nS/X are the up/down keys for slider 2\nD/C are the up/down keys for slider 3\nF...
2008/10/16
[ "https://Stackoverflow.com/questions/209407", "https://Stackoverflow.com", "https://Stackoverflow.com/users/22329/" ]
209,415
<p>Some text before the code so that the question summary isn't mangled.</p> <pre><code>class Tree { public event EventHandler MadeSound; public void Fall() { MadeSound(this, new EventArgs()); } static void Main(string[] args) { Tree oaky = new Tree(); oaky.Fall(); } } </code></pr...
[ { "answer_id": 209437, "author": "James Curran", "author_id": 12725, "author_profile": "https://Stackoverflow.com/users/12725", "pm_score": 3, "selected": false, "text": "void OnMadeSound()\n{\n if (MadeSound != null)\n {\n MadeSound(this, new EventArgs());\n }\n}\n\npubl...
2008/10/16
[ "https://Stackoverflow.com/questions/209415", "https://Stackoverflow.com", "https://Stackoverflow.com/users/82/" ]
209,416
<p>I have a WPF ListView which currently scrolls everytime I click on an item which is only partially visible. How can I keep the control from scrolling that item into view (instead simply selecting the partially visible one)? This behavior is very annoying when doing a drag from this control. </p> <p>Thanks.</p> ...
[ { "answer_id": 218476, "author": "David Schmitt", "author_id": 4918, "author_profile": "https://Stackoverflow.com/users/4918", "pm_score": 1, "selected": false, "text": "ListView ItemsPanel RequestBringIntoView" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/209416", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26152/" ]
209,418
<p>My main JavaScript framework is <a href="http://jquery.com/" rel="nofollow noreferrer">jQuery</a>, so I would like my unit test and mocking frameworks to be compatible with that. I'd rather not have to introduce another JavaScript framework.</p> <p>I am currently using <a href="http://docs.jquery.com/QUnit" rel="nof...
[ { "answer_id": 209673, "author": "Chris MacDonald", "author_id": 18146, "author_profile": "https://Stackoverflow.com/users/18146", "pm_score": 0, "selected": false, "text": "setup() teardown()" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/209418", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4481/" ]
209,428
<p>HTML (or maybe just XHTML?) is relatively strict when it comes to non-standard attributes on tags. If they aren't part of the spec, then your code is considered non-compliant.</p> <p>Non-standard attributes can be fairly useful for passing along meta-data to Javascript however. For instance, if a link is suppose to...
[ { "answer_id": 209432, "author": "eyelidlessness", "author_id": 17964, "author_profile": "https://Stackoverflow.com/users/17964", "pm_score": 7, "selected": true, "text": "data-" }, { "answer_id": 881334, "author": "ibz", "author_id": 5475, "author_profile": "https://...
2008/10/16
[ "https://Stackoverflow.com/questions/209428", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10093/" ]
209,429
<p>I have installed CherryPy 3.1.0,. Here is what happens when I try to run tutorial 9:</p> <pre><code>$ cd /Library/Python/2.5/site-packages/cherrypy/tutorial/ $ python tut09_files.py Traceback (most recent call last): File "tut09_files.py", line 48, in &lt;module&gt; from cherrypy.lib import static ImportError...
[ { "answer_id": 209432, "author": "eyelidlessness", "author_id": 17964, "author_profile": "https://Stackoverflow.com/users/17964", "pm_score": 7, "selected": true, "text": "data-" }, { "answer_id": 881334, "author": "ibz", "author_id": 5475, "author_profile": "https://...
2008/10/16
[ "https://Stackoverflow.com/questions/209429", "https://Stackoverflow.com", "https://Stackoverflow.com/users/173/" ]
209,458
<p>How do you concatenate bits in VHDL? I'm trying to use the following code:</p> <p>Case b0 &amp; b1 &amp; b2 &amp; b3 is ...</p> <p>and it throws an error</p> <p>Thanks</p>
[ { "answer_id": 209504, "author": "user21246", "author_id": 21246, "author_profile": "https://Stackoverflow.com/users/21246", "pm_score": 4, "selected": false, "text": "architecture EXAMPLE of CONCATENATION is\n signal Z_BUS : bit_vector (3 downto 0);\n signal A_BIT, B_BIT, C_BIT, D_B...
2008/10/16
[ "https://Stackoverflow.com/questions/209458", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21539/" ]
209,465
<p>I could use some help trying to track down an intermittent error that I've been having with our ASP.Net project for quite some time.</p> <p>Intermittently when building the solution, the build will fail with the error "/: Build (web): Object reference not set to an instance of an object." The error has no associate...
[ { "answer_id": 4896338, "author": "bcolin", "author_id": 587536, "author_profile": "https://Stackoverflow.com/users/587536", "pm_score": 2, "selected": false, "text": "<buildProviders>\n <add extension=\".rdlc\" type=\"Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Commo...
2008/10/16
[ "https://Stackoverflow.com/questions/209465", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
209,470
<p>I currently do my textfile manipulation through a bunch of badly remembered AWK, sed, Bash and a tiny bit of Perl.</p> <p>I've seen mentioned a few places that python is good for this kind of thing. How can I use Python to replace shell scripting, AWK, sed and friends?</p>
[ { "answer_id": 209562, "author": "S.Lott", "author_id": 10661, "author_profile": "https://Stackoverflow.com/users/10661", "pm_score": 8, "selected": true, "text": "shutil os (a | b; c ) | something >result a b something result os.walk" }, { "answer_id": 209565, "author": "Dav...
2008/10/16
[ "https://Stackoverflow.com/questions/209470", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27074/" ]
209,478
<p>Hopefully I haven't misunderstood the meaning of "duck typing", but from what I've read, it means that I should write code based on how an object responds to methods rather than what type/class it is.</p> <p>Here's the code:</p> <pre><code>def convert_hash(hash) if hash.keys.all? { |k| k.is_a?(Integer) } ret...
[ { "answer_id": 209532, "author": "Eli Courtwright", "author_id": 1694, "author_profile": "https://Stackoverflow.com/users/1694", "pm_score": 5, "selected": true, "text": "def convert(hash)\n new_hash = {}\n hash.each_pair { |k,v| new_hash[ k.is_a?(Integer) ? k : k.id ] = v }\n r...
2008/10/16
[ "https://Stackoverflow.com/questions/209478", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24848/" ]
209,491
<p>I have a form using multiple <code>&lt;cfinput type="datefield" ...&gt;</code>. They are positioned in such a way that the pop-up CSS calendar should appear over the field for others. However, the text fields for the other dates end up in front of the calendar.</p> <p>This is only an IE issue as Firefox and Safari ...
[ { "answer_id": 209696, "author": "Ben Doom", "author_id": 12267, "author_profile": "https://Stackoverflow.com/users/12267", "pm_score": 0, "selected": false, "text": "<cfinput type=\"datefiled\" name=\"bob\" value=\"\" style=\"z-index: -1;\">\n" }, { "answer_id": 556879, "aut...
2008/10/16
[ "https://Stackoverflow.com/questions/209491", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21960/" ]
209,495
<p>I am looking for a concise way to check a value to see if it is nil or zero. Currently I am doing something like:</p> <pre><code>if (!val || val == 0) # Is nil or zero end </code></pre> <p>But this seems very clumsy.</p>
[ { "answer_id": 209522, "author": "unwind", "author_id": 28169, "author_profile": "https://Stackoverflow.com/users/28169", "pm_score": 2, "selected": false, "text": "nil false !val nil false if val == nil || val == 0\n # do stuff\nend\n" }, { "answer_id": 209575, "author": "A...
2008/10/16
[ "https://Stackoverflow.com/questions/209495", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19839/" ]
209,509
<p>Instead of using the <code>&lt;input type="file"&gt;</code> tag I'd like to have a button that launches a file browser dialog.</p> <p>My first thought was to have a hidden file input tag and a button. I'd use the button click on the button to fire the onclick of the hidden file input, but I haven't been able to ge...
[ { "answer_id": 21069776, "author": "Rolf", "author_id": 370786, "author_profile": "https://Stackoverflow.com/users/370786", "pm_score": 1, "selected": false, "text": "$(\"#upload-box\").change(function(){\n $(\"#upload-click-handler\").val($(this).val());\n});\n$(\"#upload-click-handl...
2008/10/16
[ "https://Stackoverflow.com/questions/209509", "https://Stackoverflow.com", "https://Stackoverflow.com/users/28655/" ]
209,513
<p>How do I convert a hex string to an integer?</p> <pre><code>&quot;0xffff&quot; ⟶ 65535 &quot;ffff&quot; ⟶ 65535 </code></pre>
[ { "answer_id": 209529, "author": "unwind", "author_id": 28169, "author_profile": "https://Stackoverflow.com/users/28169", "pm_score": 8, "selected": false, "text": "int(hexstring, 16) >>> int(\"a\", 16)\n10\n>>> int(\"0xa\", 16)\n10\n" }, { "answer_id": 209530, "author": "Jor...
2008/10/16
[ "https://Stackoverflow.com/questions/209513", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17693/" ]
209,516
<p>I inherited this gigantic legacy Java web app using Struts 1.2.4. I have a specific question regarding Actions. Most of the pages have exactly one Action, and the processExecute() methods are hideous monsters (very long and tons of nested if statements based on request parameters).</p> <p>Given that Actions are an ...
[ { "answer_id": 209730, "author": "extraneon", "author_id": 24582, "author_profile": "https://Stackoverflow.com/users/24582", "pm_score": 1, "selected": false, "text": "enum Operation {\n ADD, DELETE;\n}\n\n...\n\nOperation operation = determineOperation(form);\nif (operation == Operatio...
2008/10/16
[ "https://Stackoverflow.com/questions/209516", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13041/" ]
209,528
<p>How would I drag and drop something into a static control? It looks like I need to create a sub class of COleDropTarget and include that as a member variable in a custom CStatic. That doesn't appear to be working though. When I try and drag something onto the Static control I get the drop denied cursor.</p>
[ { "answer_id": 209870, "author": "ChrisN", "author_id": 3853, "author_profile": "https://Stackoverflow.com/users/3853", "pm_score": 3, "selected": true, "text": "m_hWnd COleDropTarget::Register CMyStatic CWnd::PreSubclassWindow CMyStatic class CMyStatic : public CStatic {\n ...\n v...
2008/10/16
[ "https://Stackoverflow.com/questions/209528", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6701/" ]
209,534
<p>Please don't reply I should use ddd, nemiver, emacs, vim, or any other front-end, I just prefer gdb as it is, but would like to see its output with some terminal colors.</p>
[ { "answer_id": 249750, "author": "John Carter", "author_id": 8331, "author_profile": "https://Stackoverflow.com/users/8331", "pm_score": 7, "selected": false, "text": "gdb -tui executable.out\n" }, { "answer_id": 1123400, "author": "RandomNickName42", "author_id": 67819, ...
2008/10/16
[ "https://Stackoverflow.com/questions/209534", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1277510/" ]
209,554
<p>I'm seeing this exception message coming from XslCompiledTransform.Transform(), but after handling the exception the XSL transform still appears to have been successful. The full exception message is:</p> <blockquote> <p>Token Text in state EndRootElement would result in an invalid XML document. Make sure tha...
[ { "answer_id": 209697, "author": "ddaa", "author_id": 11549, "author_profile": "https://Stackoverflow.com/users/11549", "pm_score": 0, "selected": false, "text": "conformanceLevel conformanceLevel" }, { "answer_id": 2451956, "author": "John Saunders", "author_id": 76337, ...
2008/10/16
[ "https://Stackoverflow.com/questions/209554", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5548/" ]
209,558
<p>I'm attempting to put together some basic report screens. I've got some fairly complicated SQL queries that I'm feeding into ActiveRecord's find_by_sql method. The problem I am having here is that I am losing the order of the columns as given in the original query. I'm assuming that this is because the Hash class...
[ { "answer_id": 209894, "author": "Mike Woodhouse", "author_id": 1060, "author_profile": "https://Stackoverflow.com/users/1060", "pm_score": 3, "selected": true, "text": "<% for row in @report.rows %>\n <tr>\n <% for col in [:a, :b, :c] %>\n <td><%= row[col] %></td>\n <% e...
2008/10/16
[ "https://Stackoverflow.com/questions/209558", "https://Stackoverflow.com", "https://Stackoverflow.com/users/23513/" ]
209,595
<p>I want to make a deep copy of a LINQ to XML XElement. The reason I want to do this is there are some nodes in the document that I want to create modified copies of (in the same document). I don't see a method to do this.</p> <p>I could convert the element to an XML string and then reparse it, but I'm wondering if...
[ { "answer_id": 209674, "author": "Daniel Plaisted", "author_id": 1509, "author_profile": "https://Stackoverflow.com/users/1509", "pm_score": 3, "selected": false, "text": "XElement copy = XElement.Parse(original.ToString());\n" }, { "answer_id": 212259, "author": "Wonko", ...
2008/10/16
[ "https://Stackoverflow.com/questions/209595", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1509/" ]
209,603
<p>What are the easiest steps to make a small circuit with an LED flash from a C/C++ program?</p> <p>I would prefer the least number of dependencies and packages needed. </p> <ul> <li>What port would I connect something into?</li> <li>Which compiler would I use?</li> <li>How do I send data to that port?</li> <li>Do I...
[ { "answer_id": 209658, "author": "mwilliams", "author_id": 23909, "author_profile": "https://Stackoverflow.com/users/23909", "pm_score": 5, "selected": true, "text": "/* Blinking LED\n * ------------\n *\n * turns on and off a light emitting diode(LED) connected to a digital \n * pin, i...
2008/10/16
[ "https://Stackoverflow.com/questions/209603", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3153/" ]
209,615
<p>Using the following query:</p> <pre><code> SELECT pe.prodtree_element_name_l, MAX(rs.resource_value) AS resource_value FROM prodtree_element pe LEFT JOIN resource_shortstrings rs ON pe.prodtree_element_name_l_rk = rs.resource_key WHERE rs.language_id = '5' AND pe.prodtree_element_name...
[ { "answer_id": 209623, "author": "Dave Markle", "author_id": 24995, "author_profile": "https://Stackoverflow.com/users/24995", "pm_score": 0, "selected": false, "text": " SELECT pe.prodtree_element_name_l, MAX(CAST(rs.resource_value AS NVARCHAR(MAX))) AS resource_value\n FROM prodtre...
2008/10/16
[ "https://Stackoverflow.com/questions/209615", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16631/" ]
209,657
<p>I have a footer that is a 1 x 70px, which is set as the background and tiles horizonally.</p> <p>In cases when the web page does not contain a lot of content on it, it will display the footer above where the footer should be. I want it to fill in with a solid color, so if they scroll down, it won't show the footer,...
[ { "answer_id": 209664, "author": "Mitchel Sellers", "author_id": 13279, "author_profile": "https://Stackoverflow.com/users/13279", "pm_score": 0, "selected": false, "text": "position:absolute;\nbottom: 0;\n" }, { "answer_id": 209668, "author": "JSBձոգչ", "author_id": 8078...
2008/10/16
[ "https://Stackoverflow.com/questions/209657", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26130/" ]
209,686
<p>I've often had to load multiple items to a particular record in the database. For example: a web page displays items to include for a single report, all of which are records in the database (Report is a record in the Report table, Items are records in Item table). A user is selecting items to include in a single rep...
[ { "answer_id": 209711, "author": "Jason Jackson", "author_id": 13103, "author_profile": "https://Stackoverflow.com/users/13103", "pm_score": 4, "selected": false, "text": "string items = \n string.Join(\"~\", itemList.Select(item=>item.ToString()).ToArray());\n" }, { "answer_i...
2008/10/16
[ "https://Stackoverflow.com/questions/209686", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27908/" ]
209,687
<p>I'm trying to order items based on an attribute value:</p> <pre><code>&lt;xsl:apply-templates select="Question"&gt; &lt;xsl:sort order="ascending" select="@Value"&gt;&lt;/xsl:sort&gt; &lt;/xsl:apply-templates&gt; </code></pre> <p>This does order them, but I could have values like 1,2,3, ... 10, 11, ... 20 and ...
[ { "answer_id": 209700, "author": "Greg Hewgill", "author_id": 893, "author_profile": "https://Stackoverflow.com/users/893", "pm_score": 2, "selected": false, "text": "data-type <xsl:sort order=\"ascending\" select=\"@Value\" data-type=\"number\"></xsl:sort>\n" }, { "answer_id": 2...
2008/10/16
[ "https://Stackoverflow.com/questions/209687", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9266/" ]
209,706
<p>I'm asking in generalities - why would any server not set and return headers and/or status codes? I can't think of a good reason for this. Perhaps I'm overlooking something.</p>
[ { "answer_id": 210183, "author": "Paul Dixon", "author_id": 6521, "author_profile": "https://Stackoverflow.com/users/6521", "pm_score": 2, "selected": false, "text": "GET /\n" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/209706", "https://Stackoverflow.com", "https://Stackoverflow.com/users/572/" ]
209,717
<p>I'm using a column of checkboxes in a YUI DataTable, I works fine. But I haven't found a way to put a name and value attribute so I can use when the form is submitted.</p> <p>Thanks in advance.</p>
[ { "answer_id": 342945, "author": "Ryan Doherty", "author_id": 956, "author_profile": "https://Stackoverflow.com/users/956", "pm_score": 0, "selected": false, "text": "<input type=\"checkbox\" name=\"the_name\" value=\"the_value\" />\n" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/209717", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24927/" ]
209,721
<p>I'm doing a personal organizer for learning purposes, and i've never worked with XML so i'm not sure if my solution is the best. Here's the basic structure for the XML file i came with:</p> <pre><code>&lt;calendar&gt; &lt;year value="2008"&gt; &lt;month value="october"&gt; &lt;day value="16"...
[ { "answer_id": 209733, "author": "Adam V", "author_id": 517, "author_profile": "https://Stackoverflow.com/users/517", "pm_score": 3, "selected": true, "text": "<activity>\n <name>Mike's Birthday</name>\n <time>2100</time>\n <address>Mike's Place</address>\n <urgency>10</urgency>\n <...
2008/10/16
[ "https://Stackoverflow.com/questions/209721", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27090/" ]
209,725
<p>We have an auto-complete list that's populated when an you send an email to someone, which is all well and good until the list gets really big you need to type more and more of an address to get to the one you want, which goes against the purpose of auto-complete</p> <p>I was thinking that some logic should be adde...
[ { "answer_id": 9336825, "author": "Umbrella", "author_id": 1125513, "author_profile": "https://Stackoverflow.com/users/1125513", "pm_score": 0, "selected": false, "text": "UPDATE `addresslist` SET `favor` = `favor` + 10 WHERE `address` = 'foo@bar.com'\n UPDATE `addresslist` SET `favor` =...
2008/10/16
[ "https://Stackoverflow.com/questions/209725", "https://Stackoverflow.com", "https://Stackoverflow.com/users/23822/" ]
209,731
<p>First of all, using gnome is not an option (but it is possible to install its libraries).</p> <p>I need to know what is necessary to display a Java Swing desktop application using the current installed KDE look and feel of KDE. Ideally, the solution should allow me to apply a look and feel that looks like the under...
[ { "answer_id": 211004, "author": "Marcus Tik", "author_id": 23450, "author_profile": "https://Stackoverflow.com/users/23450", "pm_score": 0, "selected": false, "text": "try {\n// sure look and feel\nUIManager.setLookAndFeel(\"com.sun.java.swing.plaf.gtk.GTKLookAndFeel\");\n// not-so-sure...
2008/10/16
[ "https://Stackoverflow.com/questions/209731", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24165/" ]
209,732
<p>I have code similar to this filtering entries in an Array of Objects:</p> <pre><code>var filterRegex = new RegExp(".*blah.*","ig"); if (filterRegex.test(events[i].thing) &amp;&amp; events[i].show) { console.log("SUCCESS: filtering thing " + i + " " + events[i].thing); events[i].show = false; numevents--...
[ { "answer_id": 209817, "author": "Tomalak", "author_id": 18771, "author_profile": "https://Stackoverflow.com/users/18771", "pm_score": 0, "selected": false, "text": "regex.test() event.show event[0].show event[i].show" }, { "answer_id": 210077, "author": "Shog9", "author_...
2008/10/16
[ "https://Stackoverflow.com/questions/209732", "https://Stackoverflow.com", "https://Stackoverflow.com/users/25066/" ]
209,738
<p>I need that my Apache require authentication only to external access but free in my local network. I have mod_user in my Apache.</p>
[ { "answer_id": 209821, "author": "James Schek", "author_id": 17871, "author_profile": "https://Stackoverflow.com/users/17871", "pm_score": 2, "selected": false, "text": "Require valid-user\nAllow from 192.168.1\nSatisfy Any \n" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/209738", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
209,753
<p>I have an error handling method in my ApplicationController:</p> <pre><code>rescue_from ActiveRecord::RecordNotFound, :with =&gt; :not_found def not_found(exception) @exception = exception render :template =&gt; '/errors/not_found', :status =&gt; 404 end </code></pre> <p>In <code>RAILS_ROOT/app/views/errors/n...
[ { "answer_id": 209792, "author": "Avdi", "author_id": 20487, "author_profile": "https://Stackoverflow.com/users/20487", "pm_score": 4, "selected": true, "text": "def not_found(exception)\n render :template => '/errors/not_found', \n :status => 404, \n :locals => {:ex...
2008/10/16
[ "https://Stackoverflow.com/questions/209753", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1190/" ]
209,754
<p>We have a sitemap for our site <a href="http://www.appsamuck.com/" rel="nofollow noreferrer">http://www.appsamuck.com/</a></p> <p>The sitemap is here <a href="http://www.appsamuck.com/sitemap.xml" rel="nofollow noreferrer">http://www.appsamuck.com/sitemap.xml</a></p> <p>But Google seems to hate it. My question is ...
[ { "answer_id": 209767, "author": "Diodeus - James MacFarlane", "author_id": 12579, "author_profile": "https://Stackoverflow.com/users/12579", "pm_score": -1, "selected": false, "text": "<lastmod></lastmod>, <changefreq></changefreq>, <priority></priority>" }, { "answer_id": 21153...
2008/10/16
[ "https://Stackoverflow.com/questions/209754", "https://Stackoverflow.com", "https://Stackoverflow.com/users/23294/" ]
209,774
<p>I found this <a href="http://pecl.php.net/package/threads" rel="noreferrer">PECL package called threads</a>, but there is not a release yet. And nothing is coming up on the PHP website.</p>
[ { "answer_id": 210919, "author": "Darryl Hein", "author_id": 5441, "author_profile": "https://Stackoverflow.com/users/5441", "pm_score": 6, "selected": false, "text": "$cmd = 'nohup nice -n 10 /usr/bin/php -c /path/to/php.ini -f /path/to/php/file.php action=generate var1_id=23 var2_id=35...
2008/10/16
[ "https://Stackoverflow.com/questions/209774", "https://Stackoverflow.com", "https://Stackoverflow.com/users/572/" ]
209,779
<p>I am developing a wizard for a machine that is to be used as a backup of other machines. When it replaces an existing machine, it needs to set its IP address, DNS, WINS, and host name to match the machine being replaced.</p> <p>Is there a library in .net (C#) which allows me to do this programatically?</p> <p>The...
[ { "answer_id": 209983, "author": "balexandre", "author_id": 28004, "author_profile": "https://Stackoverflow.com/users/28004", "pm_score": 7, "selected": true, "text": "using System;\nusing System.Management;\n\nnamespace WindowsFormsApplication_CS\n{\n class NetworkManagement\n {\n ...
2008/10/16
[ "https://Stackoverflow.com/questions/209779", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10119/" ]
209,787
<p>In the following one to many</p> <pre><code>CREATE TABLE source(id int, name varchar(10), PRIMARY KEY(id)); CREATE TABLE params(id int, source int, value int); </code></pre> <p>where params.source is a foreign key to source.id</p> <pre><code>INSERT INTO source values(1, 'yes'); INSERT INTO source values(2, 'no');...
[ { "answer_id": 209819, "author": "Lasse V. Karlsen", "author_id": 267, "author_profile": "https://Stackoverflow.com/users/267", "pm_score": 4, "selected": true, "text": "SELECT\n *\nFROM\n source\nWHERE\n (\n SELECT COUNT(DISTINCT value)\n FROM params\n WHER...
2008/10/16
[ "https://Stackoverflow.com/questions/209787", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
209,789
<p>Is there a way to start an instance of eclipse, passing it some sort of parameter telling it to use a specific workspace?</p> <p>The problem I'm trying to solve is that I have a workspace for work projects and one for personal projects. I'd like to be able to tie these to workspaces to separate shortcuts that I cou...
[ { "answer_id": 209794, "author": "Matt H", "author_id": 18049, "author_profile": "https://Stackoverflow.com/users/18049", "pm_score": 9, "selected": true, "text": "-data your_workspace_location\n -data c:\\users\\robert\\myworkspace\n -data ../workspace\n" }, { "answer_id": 10507...
2008/10/16
[ "https://Stackoverflow.com/questions/209789", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5291/" ]
209,790
<p>I would like to have the same editor available on all of the platforms I frequent.</p> <p>Emacs and Vi are not desired solutions.</p>
[ { "answer_id": 209794, "author": "Matt H", "author_id": 18049, "author_profile": "https://Stackoverflow.com/users/18049", "pm_score": 9, "selected": true, "text": "-data your_workspace_location\n -data c:\\users\\robert\\myworkspace\n -data ../workspace\n" }, { "answer_id": 10507...
2008/10/16
[ "https://Stackoverflow.com/questions/209790", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7734/" ]
209,793
<p>Kind of a random question...</p> <p>What I'm looking for is a way to express a cast operation which uses a defined operator of the class instance I'm casting from, and generates a compile-time error if there is not a defined cast operator for the type. So, for example, what I'm looking for is something like:</p> <...
[ { "answer_id": 210254, "author": "Evan Teran", "author_id": 13430, "author_profile": "https://Stackoverflow.com/users/13430", "pm_score": 0, "selected": false, "text": "/* general template */\ntemplate<typename T1, typename T2> T1 operator_cast(const T2 &x);\n\n/* do this for each valid ...
2008/10/16
[ "https://Stackoverflow.com/questions/209793", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26240/" ]
209,795
<p>All of this is pertaining to WebHttp binding, hosted in a custom Service Host (IIS is not an option at this time).</p> <p>I've implemented a custom UserNamePasswordValidator, and a custom IAuthorizationPolicy. When I configure the endpoint's binding to use Basic authentication, everything works just as I'd like (c...
[ { "answer_id": 234376, "author": "Ronald Wildenberg", "author_id": 23562, "author_profile": "https://Stackoverflow.com/users/23562", "pm_score": 2, "selected": true, "text": "System.Net.HttpListener System.ServiceModel.Channels.SharedHttpTransportManager.OnOpen HandleAuthentication" } ...
2008/10/16
[ "https://Stackoverflow.com/questions/209795", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18941/" ]
209,804
<p>What reason is there for C# or java having lambdas? Neither language is based around them, it appears to be another coding method to do the same thing that C# already did.<br> I'm not being confrontational, if there is a reason I would like to know the reason why. For the purpose of full disclosure I am a Java progr...
[ { "answer_id": 209829, "author": "Daniel Spiewak", "author_id": 9815, "author_profile": "https://Stackoverflow.com/users/9815", "pm_score": 6, "selected": true, "text": "JButton button = new JButton(\"Push me!\");\nbutton.addActionListener(new ActionListener() {\n public void actionPe...
2008/10/16
[ "https://Stackoverflow.com/questions/209804", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13491/" ]
209,806
<p>I have an instance of a general purpose class that will be executed both under ASP.NET and a stand alone program. This code is sensative to the process where it is being run - that is, there are certin methods that should not called if running under ASP.NET. How do you determine if the code is executing in an ASP.NE...
[ { "answer_id": 209807, "author": "jr.", "author_id": 2415, "author_profile": "https://Stackoverflow.com/users/2415", "pm_score": -1, "selected": false, "text": "public class SomeClass {\n\n public bool RunningUnderAspNet { get; private set; }\n\n\n public SomeClass()\n //\n /...
2008/10/16
[ "https://Stackoverflow.com/questions/209806", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2415/" ]
209,812
<p>I'm using NetBeans, trying to change the familiar Java coffee cup icon to a png file that I have saved in a resources directory in the jar file. I've found many different web pages that claim they have a solution, but so far none of them work.</p> <p>Here's what I have at the moment (leaving out the try-catch bloc...
[ { "answer_id": 209824, "author": "JeeBee", "author_id": 17832, "author_profile": "https://Stackoverflow.com/users/17832", "pm_score": 7, "selected": true, "text": "java.net.URL url = ClassLoader.getSystemResource(\"com/xyz/resources/camera.png\");\n" }, { "answer_id": 210197, ...
2008/10/16
[ "https://Stackoverflow.com/questions/209812", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1288/" ]
209,820
<p>I want to be able to introduce new 'tag lines' into a database that are shown 'randomly' to users. (These tag lines are shown as an introduction as animated text.)</p> <p>Based upon the number of sales that result from those taglines I'd like the good ones to trickle to the top, but still show the others less frequ...
[ { "answer_id": 212573, "author": "Tnilsson", "author_id": 4165, "author_profile": "https://Stackoverflow.com/users/4165", "pm_score": 1, "selected": false, "text": "START:\nx = random(1, 3); \nif x = 3 goto NEW else goto NORMAL\n\nNEW:\nTagVec = Taglines.filterYounger(5 days); // I'm tak...
2008/10/16
[ "https://Stackoverflow.com/questions/209820", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24727/" ]
209,840
<p>I want to combine these:</p> <pre class="lang-py prettyprint-override"><code>keys = ['name', 'age', 'food'] values = ['Monty', 42, 'spam'] </code></pre> <p>Into a single dictionary:</p> <pre class="lang-py prettyprint-override"><code>{'name': 'Monty', 'age': 42, 'food': 'spam'} </code></pre>
[ { "answer_id": 209854, "author": "Dan Lenski", "author_id": 20789, "author_profile": "https://Stackoverflow.com/users/20789", "pm_score": 12, "selected": true, "text": "keys = ['a', 'b', 'c']\nvalues = [1, 2, 3]\ndictionary = dict(zip(keys, values))\nprint(dictionary) # {'a': 1, 'b': 2, ...
2008/10/16
[ "https://Stackoverflow.com/questions/209840", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12388/" ]
209,861
<p>I have a HTML page that scrolls up and down (not a lot, but it does scroll). How can I set the scroll position in the page after executing some JavaScript?</p> <p>I'm using jQuery to inject some additional HTML at the bottom of the page and I'd like to programmatically scroll to the position of that new content aft...
[ { "answer_id": 209881, "author": "KernelM", "author_id": 22328, "author_profile": "https://Stackoverflow.com/users/22328", "pm_score": 3, "selected": false, "text": "window.scroll // put the 100th vertical pixel at the top of the window\n<button onClick=\"scroll(0, 100);\">click to scrol...
2008/10/16
[ "https://Stackoverflow.com/questions/209861", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2536/" ]
209,862
<p>This page displays beautifully in firefox but i get all kinds of problems when testing the site in opera or internet explorer, mostly with the menu. I would like to know what techniques have caused this and how to avoid them. </p> <p><a href="http://www.jkhbdesign.se/" rel="nofollow noreferrer">http://www.jkhbdesig...
[ { "answer_id": 209934, "author": "Geoff", "author_id": 1097, "author_profile": "https://Stackoverflow.com/users/1097", "pm_score": 3, "selected": true, "text": "ul.menu li:hover ul.submenu {\nbackground:white none repeat scroll 0 0;\nborder:1px solid #A6A6A6;\ndisplay:block;\nmargin-left...
2008/10/16
[ "https://Stackoverflow.com/questions/209862", "https://Stackoverflow.com", "https://Stackoverflow.com/users/28668/" ]
209,869
<p>Some of my data are 64-bit integers. I would like to send these to a JavaScript program running on a page.</p> <p>However, as far as I can tell, integers in most JavaScript implementations are 32-bit signed quantities.</p> <p>My two options seem to be:</p> <ol> <li>Send the values as strings</li> <li>Send the val...
[ { "answer_id": 209892, "author": "Simon Howard", "author_id": 24806, "author_profile": "https://Stackoverflow.com/users/24806", "pm_score": 6, "selected": true, "text": " [ 12345678, 12345678 ]\n output_values[0] = (input_value >> 32) & 0xffffffff;\n output_values[1] = input_value & ...
2008/10/16
[ "https://Stackoverflow.com/questions/209869", "https://Stackoverflow.com", "https://Stackoverflow.com/users/338/" ]
209,874
<p>New to javascript/jquery and having a hard time with using <code>this</code> or <code>$(this)</code> to get the current object.</p> <p>I have a table with a set of <code>radio buttons</code> on each row, each named <code>s_&lt;rowindex&gt;</code>. None of the radio buttons are checked by default:</p> <pre><code>&l...
[ { "answer_id": 209926, "author": "MDCore", "author_id": 1896, "author_profile": "https://Stackoverflow.com/users/1896", "pm_score": 0, "selected": false, "text": "$(\"#div_s_0 input[type='radio']\").onclick = function() {\n if ($(\"#div_s_0 input[type='radio']:last\").attr('checked') ...
2008/10/16
[ "https://Stackoverflow.com/questions/209874", "https://Stackoverflow.com", "https://Stackoverflow.com/users/23585/" ]
209,888
<p>Python 3.0 is in beta with a final release coming shortly. Obviously it will take some significant time for general adoption and for it to eventually replace 2.x.</p> <p>I am writing a tutorial about certain aspects of programming Python. I'm wondering if I should do it in Python 2.x or 3.0? (not that the differe...
[ { "answer_id": 209911, "author": "Dan Lenski", "author_id": 20789, "author_profile": "https://Stackoverflow.com/users/20789", "pm_score": 2, "selected": false, "text": "print print" }, { "answer_id": 214510, "author": "Glyph", "author_id": 13564, "author_profile": "ht...
2008/10/16
[ "https://Stackoverflow.com/questions/209888", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16148/" ]
209,890
<p>I'm looking for a regex that can pull out quoted sections in a string, both single and double quotes.</p> <p>IE:</p> <pre><code>"This is 'an example', \"of an input string\"" </code></pre> <p>Matches:</p> <ul> <li>an example</li> <li>of an input string</li> </ul> <p>I wrote up this:</p> <pre><code> [\"|'][A-Za...
[ { "answer_id": 209898, "author": "Chris Bunch", "author_id": 422, "author_profile": "https://Stackoverflow.com/users/422", "pm_score": 0, "selected": false, "text": "[\\\"']([^\\\"']*)[\\\"']\n" }, { "answer_id": 209899, "author": "Tomalak", "author_id": 18771, "autho...
2008/10/16
[ "https://Stackoverflow.com/questions/209890", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1965/" ]
209,905
<p>Can somebody explain what is <a href="https://stackoverflow.com/tags/rest/info">REST</a> and what is <a href="https://stackoverflow.com/tags/soap/info">SOAP</a> in plain english? And how Web Services work? </p>
[ { "answer_id": 22415123, "author": "cmd", "author_id": 2616755, "author_profile": "https://Stackoverflow.com/users/2616755", "pm_score": 5, "selected": false, "text": "SOAP REST SOAP HTTP SOAP REST HTTP HTTP REST HTTP" }, { "answer_id": 25706876, "author": "inf3rno", "aut...
2008/10/16
[ "https://Stackoverflow.com/questions/209905", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26927/" ]
209,906
<p>Is there a way in PHP to compile a regular expression, so that it can then be compared to multiple strings without repeating the compilation process? Other major languages can do this -- Java, C#, Python, Javascript, etc.</p>
[ { "answer_id": 7119245, "author": "Mike", "author_id": 902114, "author_profile": "https://Stackoverflow.com/users/902114", "pm_score": 4, "selected": false, "text": "<?php\n\nfunction microtime_float() {\n list($usec, $sec) = explode(\" \", microtime());\n return ((float)$usec + (f...
2008/10/16
[ "https://Stackoverflow.com/questions/209906", "https://Stackoverflow.com", "https://Stackoverflow.com/users/25213/" ]
209,924
<p>My code for sql connection using linq is:</p> <pre><code>var query1 = from u in dc.Usage_Computers where u.DomainUser == s3 select u; // selects all feilds from table GridView1.DataSource = query1; GridView1.DataBind(); </code></pre> <p>I have a field called "Operation" in the table "Domainuse...
[ { "answer_id": 209944, "author": "tvanfosson", "author_id": 12950, "author_profile": "https://Stackoverflow.com/users/12950", "pm_score": 0, "selected": false, "text": "protected void label_OnPreRender( object sender, EventArgs e )\n{\n Label l = (Label)sender;\n switch (l.Text) {\n ...
2008/10/16
[ "https://Stackoverflow.com/questions/209924", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
209,935
<p>I'm trying to set up a virtual host on a new VPS using apache 2.x on a Ubuntu server.</p> <p>When starting apache I get the error " xxx.241.214.xxx:80 has no VirtualHosts", and the url for the site still points to the default location which means my virtual host file isn't taking effect:</p> <pre><code>&lt;Virtual...
[ { "answer_id": 209954, "author": "Richard Harrison", "author_id": 19624, "author_profile": "https://Stackoverflow.com/users/19624", "pm_score": 0, "selected": false, "text": "<VirtualHost *>\n" }, { "answer_id": 212176, "author": "Rodent43", "author_id": 28869, "autho...
2008/10/16
[ "https://Stackoverflow.com/questions/209935", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
209,963
<p>I've got a table of hardware and a table of incidents. Each hardware has a unique tag, and the incidents are tied to the tag.</p> <p>How can I select all the hardware which has at least one incident listed as unresolved?</p> <p>I can't just do a join, because then if one piece of hardware had multiple unresolved i...
[ { "answer_id": 209967, "author": "Richard Harrison", "author_id": 19624, "author_profile": "https://Stackoverflow.com/users/19624", "pm_score": 4, "selected": true, "text": "select distinct(hardware_name) \nfrom hardware,incidents \nwhere hardware.id = incidents.hardware_id and incidents...
2008/10/16
[ "https://Stackoverflow.com/questions/209963", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18210/" ]
209,972
<p>How to Programmatically Inject JavaScript in PDF files?</p> <p>Can it be done without Adobe Professional?</p> <hr> <p>My goal is: I want to show up the print dialog immediately when I open the PDF. </p> <p>I know that this can be done with JavaScript code embedded in the document.</p>
[ { "answer_id": 3963918, "author": "Mark Storer", "author_id": 477771, "author_profile": "https://Stackoverflow.com/users/477771", "pm_score": 2, "selected": false, "text": "PdfReader myReader = new PdfReader( myFilePath ); // throws IOException\nPdfStamper myStamper = new PdfStamper( myR...
2008/10/16
[ "https://Stackoverflow.com/questions/209972", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1100/" ]
209,980
<p>I have tried</p> <pre><code>&lt;ul id="contact_list"&gt; &lt;li id="phone"&gt;Local 604-555-5555&lt;/li&gt; &lt;li id="i18l_phone"&gt;Toll-Free 1-800-555-5555&lt;/li&gt; &lt;/ul&gt; </code></pre> <p>with</p> <pre><code>#contact_list { list-style: disc none inside; } #contact_list #phone { list-st...
[ { "answer_id": 209997, "author": "Remy Sharp", "author_id": 22617, "author_profile": "https://Stackoverflow.com/users/22617", "pm_score": 2, "selected": false, "text": "#contact_list\n{\n list-style: none;\n}\n\n#contact_list li {\n padding-left: 20px; /* assumes the icons are 16px */\...
2008/10/16
[ "https://Stackoverflow.com/questions/209980", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16398/" ]
210,022
<p>I have a requirement on my current project (a Flex app which will be run in Flash player) to display an arbitrary subset of the components on a form while hiding all the other components based on certain aspects of the application state. There are about a dozen different text boxes and drop downs, but some become i...
[ { "answer_id": 210090, "author": "rmeador", "author_id": 10861, "author_profile": "https://Stackoverflow.com/users/10861", "pm_score": 3, "selected": true, "text": "visible = false includeInLayout = false" }, { "answer_id": 210105, "author": "David Arno", "author_id": 712...
2008/10/16
[ "https://Stackoverflow.com/questions/210022", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1247/" ]
210,026
<p>I have some C++ source code with templates maybe like this - doxygen runs without errors but none of the documentation is added to the output, what is going on?</p> <pre><code>/// /// A class /// class A { /// /// A typedef /// typedef B&lt;C&lt;D&gt;&gt; SomeTypedefOfTemplates; }; </code></pre>
[ { "answer_id": 210043, "author": "1800 INFORMATION", "author_id": 3146, "author_profile": "https://Stackoverflow.com/users/3146", "pm_score": 3, "selected": true, "text": "///\n/// A class\n///\nclass A\n{\n ///\n /// A typedef\n ///\n typedef B<C<D> > SomeTypedefOfTemplates;\n};\n" ...
2008/10/16
[ "https://Stackoverflow.com/questions/210026", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3146/" ]
210,068
<p>What's the shortest Perl one-liner that print out the first 9 powers of a hard-coded 2 digit decimal (say, for example, .37), each on its own line? </p> <p>The output would look something like:</p> <pre><code>1 0.37 0.1369 [etc.] </code></pre> <p>Official Perl golf rules:</p> <ol> <li>Smallest number of (key)st...
[ { "answer_id": 210107, "author": "willasaywhat", "author_id": 12234, "author_profile": "https://Stackoverflow.com/users/12234", "pm_score": 0, "selected": false, "text": "perl -e \"for(my $i = 1; $i < 10; $i++){ print((.37**$i). \\\"\\n\\\"); }\"\n" }, { "answer_id": 210132, ...
2008/10/16
[ "https://Stackoverflow.com/questions/210068", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2683/" ]
210,069
<p>In ASP.NET what's the best way to do the following:</p> <ol> <li>Show certain controls based on your rights?</li> <li>For a gridview control, how do you show certain columns based on your role?</li> </ol> <p>I'm thinking for number 2, have the data come from a role specific view on the database.</p>
[ { "answer_id": 210117, "author": "Elijah Manor", "author_id": 4481, "author_profile": "https://Stackoverflow.com/users/4481", "pm_score": 4, "selected": true, "text": "//Delete Icon Column\ngridViewContacts.Columns[0].Visible = user.IsInRole(\"DeleteAnyContact\"); \n" }, { "answe...
2008/10/16
[ "https://Stackoverflow.com/questions/210069", "https://Stackoverflow.com", "https://Stackoverflow.com/users/781/" ]
210,079
<p>I have a 10 second sound effect wave file. What I would like to do is take that file and repeat it n number of times and then save the longer WAV file to disk. This way I can create a much longer background effect rather than auto-repeat on the media player which is a bit stuttered between repeats. I am trying to do...
[ { "answer_id": 216932, "author": "Mark Heath", "author_id": 7532, "author_profile": "https://Stackoverflow.com/users/7532", "pm_score": 0, "selected": false, "text": "WaveFileReader WaveFileWriter WaveStream" } ]
2008/10/16
[ "https://Stackoverflow.com/questions/210079", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27294/" ]
210,080
<p>I'm sure this one is easy but I've tried a ton of variations and still cant match what I need. The thing is being too greedy and I cant get it to stop being greedy.</p> <p>Given the text:</p> <pre><code>test=this=that=more text follows </code></pre> <p>I want to just select:</p> <pre><code>test= </code></pre> ...
[ { "answer_id": 210102, "author": "Owen", "author_id": 4853, "author_profile": "https://Stackoverflow.com/users/4853", "pm_score": 5, "selected": true, "text": "// matches \"test=, test\"\n(\\S+?)=\n\nor\n\n// matches \"test=, test\" too\n(\\S[^=]+)=\n \"test=this=that=more text follows\"...
2008/10/16
[ "https://Stackoverflow.com/questions/210080", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14230/" ]
210,088
<p>I have a website that is deployed between 3 different environments - Dev, Stage, and Prod. For Stage and Prod, the site can resolve local paths to images with just the base url to the file, such as /SiteImages/banner.png. However, on the Dev server I have to hard code the full URL of the image path for the image to ...
[ { "answer_id": 210102, "author": "Owen", "author_id": 4853, "author_profile": "https://Stackoverflow.com/users/4853", "pm_score": 5, "selected": true, "text": "// matches \"test=, test\"\n(\\S+?)=\n\nor\n\n// matches \"test=, test\" too\n(\\S[^=]+)=\n \"test=this=that=more text follows\"...
2008/10/16
[ "https://Stackoverflow.com/questions/210088", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1284/" ]
210,094
<p>There is a store procedure that uses FREETEXTTABLE twice on two tables and then merges the results and returns the top 50. </p> <p>The problem is if I do a search on "Women of Brewster", the results returns "Confession of an ex doofus motha" with a rank of 143 from table A and second "Women of Brewster Place" with ...
[ { "answer_id": 67916046, "author": "pj2494", "author_id": 5018023, "author_profile": "https://Stackoverflow.com/users/5018023", "pm_score": 0, "selected": false, "text": "USE AdventureWorks2012; \nGO \n \nSELECT FT_TBL.Description \n ,KEY_TBL.RANK \nFROM Production.ProductDescrip...
2008/10/16
[ "https://Stackoverflow.com/questions/210094", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8737/" ]