qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
299,723
<p>I need to do transactions (begin, commit or rollback), locks (select for update). How can I do it in a document model db?</p> <p>Edit:</p> <p>The case is this:</p> <ul> <li>I want to run an auctions site.</li> <li>And I think how to direct purchase as well.</li> <li>In a direct purchase I have to decrement the qu...
[ { "answer_id": 299744, "author": "MrKurt", "author_id": 35296, "author_profile": "https://Stackoverflow.com/users/35296", "pm_score": 8, "selected": true, "text": "_rev _rev _rev _rev product_key claimed_by hammer-1 hammer-2 function(doc) \n{ \n if (doc.type == 'inventory_ticket' && d...
2008/11/18
[ "https://Stackoverflow.com/questions/299723", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1356709/" ]
299,728
<p>I am running a script on a solaris Box. specifically SunOS 5.7. I am not root. I am trying to execute a script similar to the following:</p> <blockquote> <blockquote> <p>newgrp thegroup &lt;&lt; FOO<br> source .login_stuff<br> echo "hello world"<br> FOO</p> </blockquote> </blockquote> <p>Th...
[ { "answer_id": 299767, "author": "nobody", "author_id": 19405, "author_profile": "https://Stackoverflow.com/users/19405", "pm_score": 0, "selected": false, "text": "exec $SHELL\n" }, { "answer_id": 299896, "author": "Jonathan Leffler", "author_id": 15168, "author_prof...
2008/11/18
[ "https://Stackoverflow.com/questions/299728", "https://Stackoverflow.com", "https://Stackoverflow.com/users/34531/" ]
299,729
<p>I am trying to call a Actionscript function from javascript but I am having problems in Internet Explorer. I am using Swiff.remote in mootools 1.2.1 to call the actionscript function ie:</p> <pre><code>Swiff.remote(playSwf.toElement(), 'sendResult', result, plays, name); </code></pre> <p>This all works fine in Fir...
[ { "answer_id": 299882, "author": "picardo", "author_id": 32816, "author_profile": "https://Stackoverflow.com/users/32816", "pm_score": 3, "selected": false, "text": "//1. calling javascript function from Flash.\nExternalInterface.call(\"sendData\",tempStr);\n// argument 1: javascript fun...
2008/11/18
[ "https://Stackoverflow.com/questions/299729", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
299,754
<p>I recently started facelets development, and a couple of days ago made my first useful custom tag. Now I would like to have auto-completion support in eclipse, like I have for standard taglibs like h, c and ui.</p> <p>Is there any easy way (less than 30 min work) to enable tool support for custom tags?</p> <p>I'm ...
[ { "answer_id": 299783, "author": "matt b", "author_id": 4249, "author_profile": "https://Stackoverflow.com/users/4249", "pm_score": 0, "selected": false, "text": "<%@ include file=\"...\" %> <form:blah> <%@ taglib prefix=\"form\" uri=\"http://www.springframework.org/tags/form\" %>\n" }...
2008/11/18
[ "https://Stackoverflow.com/questions/299754", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9987/" ]
299,755
<p>I am working on a small team of web application developers. We edit JSPs in Eclipse on our own machines and then move them over to a shared application server to test the changes. I have an Ant script that will take ALL the JSPs on my machine and move them over to the application server, but will only overwrite JS...
[ { "answer_id": 299773, "author": "matt b", "author_id": 4249, "author_profile": "https://Stackoverflow.com/users/4249", "pm_score": 0, "selected": false, "text": "-D <copy file=${myfile} todir=\"blah\"/>\n" }, { "answer_id": 299862, "author": "Ken Gentle", "author_id": 87...
2008/11/18
[ "https://Stackoverflow.com/questions/299755", "https://Stackoverflow.com", "https://Stackoverflow.com/users/37036/" ]
299,770
<p>I am trying to convert a working MS Access query to run on an Oracle database being accessed via VB Script (.asp). This is the last section of the WHERE clause:</p> <pre><code>sql = sql &amp; "WHERE (UAT.HB.MB_MODE = 'A' AND UAT.HB.PRINT_DATE &gt;= '" &amp; SD &amp; "' AND UAT.HB.PRINT_DATE &lt;= '" &amp; ED &a...
[ { "answer_id": 299788, "author": "Bill Karwin", "author_id": 20860, "author_profile": "https://Stackoverflow.com/users/20860", "pm_score": 4, "selected": false, "text": "DATE '2008-11-11'\n TO_DATE('11/11/2008', 'MM/DD/YYYY')\n" }, { "answer_id": 299791, "author": "Vincent Ra...
2008/11/18
[ "https://Stackoverflow.com/questions/299770", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26883/" ]
299,778
<p>I have done this on Websphere (re: title of this topic) using wsdl2java for generating wsdl to java mapping xml file. My endpoint is a generic stateless EJB. The code in EJB is generated by traversing the each wsdl and getting the wsdl operation and stuck it in the generated remote EJB interface. Each EJB method imp...
[ { "answer_id": 436060, "author": "Fabian Steeg", "author_id": 18154, "author_profile": "https://Stackoverflow.com/users/18154", "pm_score": 0, "selected": false, "text": "wsdlLocation() WebService" } ]
2008/11/18
[ "https://Stackoverflow.com/questions/299778", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
299,797
<p>I'm executing several discrete queries in a single batch against SQL Server. For example:</p> <pre> update tableX set colA = 'freedom'; select lastName from customers; insert into tableY (a,b,c) values (x,y,z); </pre> <p>Now, I want to capture the result in a DataSet (from select statement) which is easy enough ...
[ { "answer_id": 299925, "author": "Nick DeVore", "author_id": 1380, "author_profile": "https://Stackoverflow.com/users/1380", "pm_score": 2, "selected": false, "text": "declare @rowsAffected int, @error int\n\nselect * from sometable\n select @rowsAffected = @@rowcount, @error = @@err...
2008/11/18
[ "https://Stackoverflow.com/questions/299797", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4398/" ]
299,802
<p>In Mootools, I'd just run <code>if ($('target')) { ... }</code>. Does <code>if ($('#target')) { ... }</code> in jQuery work the same way?</p>
[ { "answer_id": 299812, "author": "redsquare", "author_id": 6440, "author_profile": "https://Stackoverflow.com/users/6440", "pm_score": 7, "selected": false, "text": "if ( $('#someDiv').length ){\n\n}\n" }, { "answer_id": 299821, "author": "Pat", "author_id": 238, "aut...
2008/11/18
[ "https://Stackoverflow.com/questions/299802", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38666/" ]
299,806
<p>I'd like to have my Eclipse plugin cause a URL to be opened by the users' default browser. This seems like pretty standard behavior, but I haven't been able to find any docs on how to do this.</p> <p>Can anyone help?</p>
[ { "answer_id": 300143, "author": "John Stoneham", "author_id": 2040146, "author_profile": "https://Stackoverflow.com/users/2040146", "pm_score": 4, "selected": true, "text": "final IWebBrowser browser = PlatformUI.getWorkbench().getBrowserSupport().createBrowser( ... );\nbrowser.openURL(...
2008/11/18
[ "https://Stackoverflow.com/questions/299806", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4465/" ]
299,811
<p>I'm reloading a web page that has the following code:</p> <pre><code>&lt;label for="showimage"&gt;Show Image&lt;/label&gt; &lt;input id="showimage" name="showimage" type="checkbox" value="1" /&gt; </code></pre> <p>Even though the HTML stays sent to the browser is the same for each reload of the page, the checkbox ...
[ { "answer_id": 299849, "author": "Owen", "author_id": 4853, "author_profile": "https://Stackoverflow.com/users/4853", "pm_score": 6, "selected": true, "text": "Cache-Control: no-store\n" }, { "answer_id": 301943, "author": "Aleksandar", "author_id": 29511, "author_pro...
2008/11/18
[ "https://Stackoverflow.com/questions/299811", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4883/" ]
299,814
<p>I'm trying to setup an alert to let me know via email (SMTP) when free disk space on one of my servers is less than a specified value. To do this I'm using PerfMon alerts, as described at <a href="http://support.microsoft.com/kb/324796" rel="nofollow noreferrer">MSFT Technet</a>. I have the alert working and writing...
[ { "answer_id": 299849, "author": "Owen", "author_id": 4853, "author_profile": "https://Stackoverflow.com/users/4853", "pm_score": 6, "selected": true, "text": "Cache-Control: no-store\n" }, { "answer_id": 301943, "author": "Aleksandar", "author_id": 29511, "author_pro...
2008/11/18
[ "https://Stackoverflow.com/questions/299814", "https://Stackoverflow.com", "https://Stackoverflow.com/users/32474/" ]
299,851
<p>CodeIgniter allows access to POSTed data via:</p> <pre><code>$this-&gt;input-&gt;post('input_name'); </code></pre> <p>where 'input_name' is the name of a form field. This works well for a static form where each input name in known ahead of time.</p> <p>In my case, I am loading a collection of key/value pairs from...
[ { "answer_id": 299865, "author": "Paige Ruten", "author_id": 813, "author_profile": "https://Stackoverflow.com/users/813", "pm_score": 4, "selected": true, "text": "array_keys($_POST)" }, { "answer_id": 299873, "author": "Tom Haigh", "author_id": 22224, "author_profil...
2008/11/18
[ "https://Stackoverflow.com/questions/299851", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3238/" ]
299,869
<p>I am using a ResourceDictionary, but I would like to be able to look up the value or the key with the other item. Each is always unique, so that is not a problem. Is there a type that has this double sided lookup feature?</p>
[ { "answer_id": 299878, "author": "Craig Wilson", "author_id": 25333, "author_profile": "https://Stackoverflow.com/users/25333", "pm_score": 4, "selected": true, "text": "public class DoubleLookup<TKey, TValue>\n{\n private IDictionary<TKey, TValue> keys;\n private IDictionary<TValue, T...
2008/11/18
[ "https://Stackoverflow.com/questions/299869", "https://Stackoverflow.com", "https://Stackoverflow.com/users/30838/" ]
299,870
<p>How can I center an image horizontally and aligned to the bottom of the container at the same time? </p> <p>I have been able to center the image horizontally by its self. I have also been able to align the bottom of the container by its self. But I have not been able to do both at the same time. </p> <p>Here is wh...
[ { "answer_id": 299884, "author": "Paige Ruten", "author_id": 813, "author_profile": "https://Stackoverflow.com/users/813", "pm_score": 0, "selected": false, "text": "position: relative;" }, { "answer_id": 299889, "author": "Pim Jager", "author_id": 35197, "author_prof...
2008/11/18
[ "https://Stackoverflow.com/questions/299870", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13778/" ]
299,876
<p>In some editors there exist plugins implementing a feature called "hungry backspace" or "hungry delete".</p> <p>If this mode is active in a text editor then one hit to the backspace key will automatically delete all whitespace chars backwards from the current cursor position up to the first non-whitespace character...
[ { "answer_id": 299944, "author": "VonC", "author_id": 6309, "author_profile": "https://Stackoverflow.com/users/6309", "pm_score": 2, "selected": false, "text": "function(); (4 spaces)\n function\n" } ]
2008/11/18
[ "https://Stackoverflow.com/questions/299876", "https://Stackoverflow.com", "https://Stackoverflow.com/users/33433/" ]
299,895
<p>When I call this function, everything works, as long as I don't try to recursively call the function again. In other words if I uncomment the line:</p> <pre><code>GetChilds rsData("AcctID"), intLevel + 1 </code></pre> <p>Then the function breaks. </p> <pre><code>&lt;% Function GetChilds(ParentID, intLevel) ...
[ { "answer_id": 299908, "author": "devio", "author_id": 21336, "author_profile": "https://Stackoverflow.com/users/21336", "pm_score": 0, "selected": false, "text": "Function GetChilds(ParentID, intLevel)\nDim rsData, sSQL\nSet ...\n" }, { "answer_id": 299918, "author": "Joel C...
2008/11/18
[ "https://Stackoverflow.com/questions/299895", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38678/" ]
299,931
<p>I have been tasked with developing a solution that tracks changes to a database.</p> <p>For updates I need to capture:</p> <ul> <li>date of update</li> <li>old value</li> <li>new value</li> <li>field affected</li> <li>person doing change</li> <li>record id</li> <li>table record is in</li> </ul> <p>For deletes:</p...
[ { "answer_id": 11559583, "author": "Nisarg Shah", "author_id": 1071338, "author_profile": "https://Stackoverflow.com/users/1071338", "pm_score": 2, "selected": false, "text": " CREATE TABLE te_Page([Id] [int] IDENTITY(1,1) NOT NULL, [Name] [varchar](200) NOT NULL, [Description] [varch...
2008/11/18
[ "https://Stackoverflow.com/questions/299931", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38613/" ]
299,940
<p>The following code works for me:</p> <pre><code>var webProxy = WebProxy.GetDefaultProxy(); webProxy.UseDefaultCredentials = true; WebRequest.DefaultWebProxy = webProxy; </code></pre> <p>Unfortunately, <code>WebProxy.GetDefaultProxy()</code> is deprecated. What else should I be doing?</p> <p>(using app.config to ...
[ { "answer_id": 300738, "author": "Martin Hollingsworth", "author_id": 29491, "author_profile": "https://Stackoverflow.com/users/29491", "pm_score": 7, "selected": true, "text": "WebRequest webRequest = WebRequest.Create(\"http://stackoverflow.com/\");\nwebRequest.Proxy = new WebProxy(\"h...
2008/11/18
[ "https://Stackoverflow.com/questions/299940", "https://Stackoverflow.com", "https://Stackoverflow.com/users/36687/" ]
299,942
<p>I have a string of test like this:</p> <pre><code>&lt;customtag&gt;hey&lt;/customtag&gt; </code></pre> <p>I want to use a RegEx to modify the text between the "customtag" tags so that it might look like this:</p> <pre><code>&lt;customtag&gt;hey, this is changed!&lt;/customtag&gt; </code></pre> <p>I know that I c...
[ { "answer_id": 299951, "author": "Bill Karwin", "author_id": 20860, "author_profile": "https://Stackoverflow.com/users/20860", "pm_score": 3, "selected": false, "text": "<customtag> <" }, { "answer_id": 299966, "author": "Tjofras", "author_id": 37486, "author_profile"...
2008/11/18
[ "https://Stackoverflow.com/questions/299942", "https://Stackoverflow.com", "https://Stackoverflow.com/users/343/" ]
299,949
<p>Does SQL Server's (2000) <strong>Soundex function work on Asian character sets</strong>? I used it in a query and it appears to have not worked properly but I realize that it could be because I don't know how to read Chinese...</p> <p>Furthermore, are there any other languages where the function might have trouble ...
[ { "answer_id": 68911994, "author": "HGF", "author_id": 1901545, "author_profile": "https://Stackoverflow.com/users/1901545", "pm_score": 0, "selected": false, "text": "SELECT" } ]
2008/11/18
[ "https://Stackoverflow.com/questions/299949", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18196/" ]
299,950
<p>I am trying to use a Generic Linked List to hold some WorkFlow steps in my application. Here is how I'm persisting it to my database.</p> <p>OrderID&nbsp;&nbsp;WorkFlowStepID&nbsp;&nbsp;ParentWorkFlowStepID<br/> 178373&nbsp;&nbsp;&nbsp;&nbsp;1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;...
[ { "answer_id": 299979, "author": "Jon Skeet", "author_id": 22656, "author_profile": "https://Stackoverflow.com/users/22656", "pm_score": 3, "selected": true, "text": "Find LinkedListNode<T> public static IEnumerable<LinkedListNode<T>> GetNodes<T>(this LinkedList<T> list)\n{\n LinkedLi...
2008/11/18
[ "https://Stackoverflow.com/questions/299950", "https://Stackoverflow.com", "https://Stackoverflow.com/users/37347/" ]
299,956
<p>I have a CompositeDataBoundControl and im trying to add a ItemCommand to it, ala the System.Web.UI.WebControls.Repeater - so like a numpty, I just thought if I reflector'ed and added the code like so, it should work:</p> <pre><code>private static readonly object EventItemCommand = new object(); protected override ...
[ { "answer_id": 300345, "author": "Atanas Korchev", "author_id": 10141, "author_profile": "https://Stackoverflow.com/users/10141", "pm_score": 3, "selected": true, "text": "protected override bool OnBubbleEvent(object source, EventArgs e)\n{\n if (e is CommandEventArgs)\n {\n ...
2008/11/18
[ "https://Stackoverflow.com/questions/299956", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1276/" ]
299,969
<p>I have form with 2 DDL named</p> <p>State and City</p> <p>State:</p> <pre><code>&lt;asp:UpdatePanel ID="States" runat="server" UpdateMode="Conditional"&gt; &lt;Triggers&gt; &lt;asp:AsyncPostBackTrigger ControlID="States"EventName="SelectedIndexChanged" /&gt; &lt;/Triggers&gt; &...
[ { "answer_id": 300452, "author": "Chris Marisic", "author_id": 37055, "author_profile": "https://Stackoverflow.com/users/37055", "pm_score": 2, "selected": false, "text": "<asp:DropDownList runat=\"server\" ID=\"ddlCity\" DataValueField=\"Key\" DataTextField=\"Value\">\n</asp:DropDownLis...
2008/11/18
[ "https://Stackoverflow.com/questions/299969", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38230/" ]
299,978
<p>I am in the process of creating an XML Schema and one of my values is a year. As such, I'd like to ensure that all values have exactly 4 characters. To do so, I am using the following syntax:</p> <pre><code>&lt;xs:element name="publish_year" maxOccurs="1"&gt; &lt;xs:simpleType&gt; &lt;xs:restriction base="x...
[ { "answer_id": 299988, "author": "VonC", "author_id": 6309, "author_profile": "https://Stackoverflow.com/users/6309", "pm_score": 4, "selected": true, "text": "<xs:minInclusive value=\"1900\"/> et <xs:maxInclusive value=\"2008\"/>\n fixed <xs:totalDigits value=\"4\" fixed=\"true\" />\n" ...
2008/11/18
[ "https://Stackoverflow.com/questions/299978", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10040/" ]
299,986
<p>I'm working with PHP &amp; mySQL. I've finally got my head around source control and am quite happy with the whole development (testing) v production v repository thing for the PHP part.</p> <p>My new quandary is what to do with the database. Do I create one for the test environment and one for the production env...
[ { "answer_id": 300004, "author": "John MacIntyre", "author_id": 29043, "author_profile": "https://Stackoverflow.com/users/29043", "pm_score": 0, "selected": false, "text": "deploy.001.description.sql\ndeploy.002.description.sql\ndeploy.003.description.sql\n... etc..\n \\deploy.YYMMDD\\\n...
2008/11/18
[ "https://Stackoverflow.com/questions/299986", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1444/" ]
299,987
<p>How can I select the good method (I have in the example below show 2 differents way that doesn't work). I was using instead of a variable of type Object with a IF and IS to do the job but I am trying to avoid using Object and boxing/unboxing. So I thought that Generic could do the job but I am stuck here.</p> <p>H...
[ { "answer_id": 300008, "author": "Jon Skeet", "author_id": 22656, "author_profile": "https://Stackoverflow.com/users/22656", "pm_score": 3, "selected": true, "text": "using System;\n\nclass Test\n{ \n static void Main()\n {\n string x = \"hello\";\n string y = stri...
2008/11/18
[ "https://Stackoverflow.com/questions/299987", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13913/" ]
299,992
<p>I'm working on some Silverlight controls and I would like to explicitly handle the way they appear in Blend. Specifically, these controls have dependencies that are initialized at runtime, and thus throw exceptions in the designer. But even in the absence of the exception, I would like to make them appear a certain ...
[ { "answer_id": 399557, "author": "Michael S. Scherotter", "author_id": 27306, "author_profile": "https://Stackoverflow.com/users/27306", "pm_score": 2, "selected": false, "text": "DesignerProperties using System.ComponentModel.DesignerProperties\n\nif (DesignerProperties.GetIsInDesignMod...
2008/11/18
[ "https://Stackoverflow.com/questions/299992", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6855/" ]
299,998
<p>I have got a template class as follows:</p> <pre><code>class MyClass&lt;T&gt; { T field; public void myMethod() { field = new T(); // gives compiler error } } </code></pre> <p>How do I create a new instance of T in my class?</p>
[ { "answer_id": 300013, "author": "erickson", "author_id": 3474, "author_profile": "https://Stackoverflow.com/users/3474", "pm_score": 8, "selected": true, "text": "T Object T Supplier<T> class MyClass<T> {\n\n private final Supplier<? extends T> ctor;\n\n private T field;\n\n MyClass(...
2008/11/18
[ "https://Stackoverflow.com/questions/299998", "https://Stackoverflow.com", "https://Stackoverflow.com/users/36858/" ]
299,999
<p>Here's the code:</p> <pre><code>render :file =&gt; @somedir + "/blah.xml" </code></pre> <p>...but the resulting MIME type is text/html when I check in FireBug. How do I specify a MIME type in this case?</p>
[ { "answer_id": 300257, "author": "blindgaenger", "author_id": 38045, "author_profile": "https://Stackoverflow.com/users/38045", "pm_score": 5, "selected": false, "text": "class FileController < ApplicationController\n\n def index\n filename = 'some.xml'\n\n extname = File.extname(...
2008/11/18
[ "https://Stackoverflow.com/questions/299999", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38684/" ]
300,055
<p>In C# if I want to convert a double (1.71472) to an int then I get the answer 2. If I do this in Java using intValue() method, I get 1 as the answer.</p> <p>Does Java round down on conversions?</p> <p>Why do the Java API docs have such scant information about their classes i.e. </p> <blockquote> <p>Returns the...
[ { "answer_id": 300067, "author": "erickson", "author_id": 3474, "author_profile": "https://Stackoverflow.com/users/3474", "pm_score": 3, "selected": false, "text": "Number" }, { "answer_id": 300074, "author": "Jon Skeet", "author_id": 22656, "author_profile": "https:/...
2008/11/18
[ "https://Stackoverflow.com/questions/300055", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5175/" ]
300,078
<p>I know this specific question has been <a href="https://stackoverflow.com/questions/185235/jquery-tabs-getting-newly-selected-index">asked before</a>, but I am not getting any results using the <code>bind()</code> event on the <code>jQuery UI Tabs</code> plugin. </p> <p>I just need the <code>index</code> of the new...
[ { "answer_id": 300221, "author": "redsquare", "author_id": 6440, "author_profile": "https://Stackoverflow.com/users/6440", "pm_score": 7, "selected": true, "text": "ui.index event" }, { "answer_id": 300846, "author": "Ben Koehler", "author_id": 11996, "author_profile"...
2008/11/18
[ "https://Stackoverflow.com/questions/300078", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1284/" ]
300,086
<p>I am writing a text editor for Mac OS X. I need to display hidden characters in an NSTextView (such as spaces, tabs, and special characters). I have spent a lot of time searching for how to do this but so far I have not found an answer. If anyone could point me in the right direction I would be grateful.</p>
[ { "answer_id": 300148, "author": "e.James", "author_id": 33686, "author_profile": "https://Stackoverflow.com/users/33686", "pm_score": 4, "selected": true, "text": "replaceGlyphAtIndex:withGlyph:" }, { "answer_id": 301169, "author": "titaniumdecoy", "author_id": 18091, ...
2008/11/18
[ "https://Stackoverflow.com/questions/300086", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18091/" ]
300,089
<p>Does anyone know a way to find out programatically which physical disk holds a given partition? Manually, I can find this info using Start->Run->diskmgmt.msc , where I can see that (on my computer) that partitions C: and D: are on disk 1, E: &amp; F: on disk 0.</p> <p>This is for optimizing some file crunching oper...
[ { "answer_id": 300249, "author": "Cristian Diaconescu", "author_id": 11545, "author_profile": "https://Stackoverflow.com/users/11545", "pm_score": 1, "selected": false, "text": "\\\\\\\\.\\\\PHYSICALDRIVE0 C:" }, { "answer_id": 14113018, "author": "STTR", "author_id": 193...
2008/11/18
[ "https://Stackoverflow.com/questions/300089", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11545/" ]
300,091
<p>Assuming a class called <code>Bar</code> in a namespace called <code>foo</code>, which syntax do you prefer for your source (.cpp/.cc) file?</p> <pre><code>namespace foo { ... void Bar::SomeMethod() { ... } } // foo </code></pre> <p>or</p> <pre><code>void foo::Bar::SomeMethod() { ... } </code></pre> <p>...
[ { "answer_id": 300108, "author": "Johannes Schaub - litb", "author_id": 34509, "author_profile": "https://Stackoverflow.com/users/34509", "pm_score": 4, "selected": true, "text": "namespace bar { \n struct foo { void f(); };\n}\n\nnamespace baz { \n struct foo { void f(); };\n}\n\...
2008/11/18
[ "https://Stackoverflow.com/questions/300091", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9236/" ]
300,093
<p>In the Application_Error method in Global.asax I am trying to retrieve a value from session state.</p> <p>I am able to access session state as long as I throw the exception. EG: </p> <pre><code>thow new Exception("Test exception"); </code></pre> <p>However if it is an unhandled exception, i get the following erro...
[ { "answer_id": 302959, "author": "Ryan Sampson", "author_id": 1375, "author_profile": "https://Stackoverflow.com/users/1375", "pm_score": 2, "selected": false, "text": "Response.Redirect(\"thispagedoesnotexist.aspx\", false); \n throw new Exception(\"test\");\n" } ]
2008/11/18
[ "https://Stackoverflow.com/questions/300093", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1375/" ]
300,095
<p>Where is the best documentation of ffmpeg and libavcodec?</p> <p>It appears that ffmpeg supports many undocumented options that it is very hard to find a good reference.</p>
[ { "answer_id": 305859, "author": "teeks99", "author_id": 17949, "author_profile": "https://Stackoverflow.com/users/17949", "pm_score": 3, "selected": false, "text": "ffmpeg -formats\n" }, { "answer_id": 18641580, "author": "wyatt8740", "author_id": 2751276, "author_pr...
2008/11/18
[ "https://Stackoverflow.com/questions/300095", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4697/" ]
300,118
<p>I have 2 tables, an active table and an inactive table. I want to <em>move</em> rows from the active to the inactive table. My first thought was</p> <pre><code>insert into inactive select * from active where ... delete from active active where ... </code></pre> <p>However about .42 seconds later I noticed this wil...
[ { "answer_id": 300126, "author": "S.Lott", "author_id": 10661, "author_profile": "https://Stackoverflow.com/users/10661", "pm_score": 4, "selected": true, "text": "UPDATE old_data SET move=\"MARKED\";\nINSERT INTO somewhere... SELECT where move=\"MARKED\";\nDELETE FROM old_data WHERE mov...
2008/11/18
[ "https://Stackoverflow.com/questions/300118", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1343/" ]
300,160
<p>We were working on a design, and for that we created the skeleton of the classes in our main branch. Now, we are starting to code, and for that we got a new branch. So, it would be nice if I can move all the new files in the main branch into the new branch. However, I cannot check them in yet. So, is it possible...
[ { "answer_id": 16940796, "author": "Gareth Rees", "author_id": 68063, "author_profile": "https://Stackoverflow.com/users/68063", "pm_score": 3, "selected": false, "text": "shelve unshelve $ p4 shelve ...\nChange 182535 created with 10 open file(s).\nShelving files for change 182535.\nedi...
2008/11/18
[ "https://Stackoverflow.com/questions/300160", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38703/" ]
300,175
<p>I've got a css menu like this:</p> <pre><code>&lt;ul&gt; &lt;li&gt;&lt;a&gt;Item1&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a&gt;Item Two&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a&gt;Item C&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a&gt;A Rather Long Menu Item Down Here&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; </code></pre> <p>I want ...
[ { "answer_id": 300329, "author": "eimaj", "author_id": 38371, "author_profile": "https://Stackoverflow.com/users/38371", "pm_score": 1, "selected": false, "text": "ul,li {float:left;}\nul {overflow:hidden;}\nli {clear:left;}\n ul,li {float:left;}\nul {overflow:hidden;}\nli {clear:left;wi...
2008/11/18
[ "https://Stackoverflow.com/questions/300175", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24197/" ]
300,181
<p>In a C# program, I have an abstract base class with a static "Create" method. The Create method is used to create an instance of the class and store it locally for later use. Since the base class is abstract, implementation objects will always derive from it.</p> <p>I want to be able to derive an object from the ...
[ { "answer_id": 300207, "author": "chilltemp", "author_id": 28736, "author_profile": "https://Stackoverflow.com/users/28736", "pm_score": 5, "selected": true, "text": "public static BaseClass Create<T>() where T : BaseClass, new()\n{\n T newVar = new T();\n // Do something with newV...
2008/11/18
[ "https://Stackoverflow.com/questions/300181", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19853/" ]
300,185
<p>Which version of JavaScript does Google Chrome support in relation to Mozilla Firefox? In other words, does Chrome support JavaScript 1.6, 1.7, or 1.8 which Firefox also supports or some combination of them?</p>
[ { "answer_id": 300231, "author": "Greg", "author_id": 24181, "author_profile": "https://Stackoverflow.com/users/24181", "pm_score": 3, "selected": false, "text": "<script language=\"javascript1.7\">alert(1.7);</script> - Alerts\n<script language=\"javascript1.8\">alert(1.8);</script> - D...
2008/11/18
[ "https://Stackoverflow.com/questions/300185", "https://Stackoverflow.com", "https://Stackoverflow.com/users/208/" ]
300,187
<p>We have 2 flowdocuments that we'd like to compare similar to when using a diff viewer (winmerge, beyond compare, etc). Has anybody done this or know how to get the text out of a flowdocument to do a compare?</p>
[ { "answer_id": 300231, "author": "Greg", "author_id": 24181, "author_profile": "https://Stackoverflow.com/users/24181", "pm_score": 3, "selected": false, "text": "<script language=\"javascript1.7\">alert(1.7);</script> - Alerts\n<script language=\"javascript1.8\">alert(1.8);</script> - D...
2008/11/18
[ "https://Stackoverflow.com/questions/300187", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3047/" ]
300,196
<p>I work on a W3C XML Schema (not written by me). One tool, xmllint, refuses to use the schema:</p> <pre><code>traceroute.xsd:658: element element: Schemas parser error : Element '{http://www.w3.org/2001/XMLSchema}element', attribute 'maxOccurs': The value '4294967295' is not valid. Expected is '(xs:nonNegativeInte...
[ { "answer_id": 300256, "author": "David Hall", "author_id": 2660, "author_profile": "https://Stackoverflow.com/users/2660", "pm_score": 2, "selected": false, "text": "maxOccurs maxOccurs unbounded 4294967295 int32 unbounded" }, { "answer_id": 360794, "author": "bortzmeyer", ...
2008/11/18
[ "https://Stackoverflow.com/questions/300196", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15625/" ]
300,200
<p>I want to embed a swf over a html page, like a floating video watching panel. I already have a swf file which will automatically adjust its size according to the browser size, and the swf file is partially transparent. I thought I can just add a div tag, make the position absolute and change z-index bigger, but that...
[ { "answer_id": 300338, "author": "Adam", "author_id": 36324, "author_profile": "https://Stackoverflow.com/users/36324", "pm_score": 0, "selected": false, "text": "<object /> swfobject.embedSWF <div id=\"header\"></div> <object /> <script>\n swfobject.embedSWF(\"swf/float.swf\", \"head...
2008/11/18
[ "https://Stackoverflow.com/questions/300200", "https://Stackoverflow.com", "https://Stackoverflow.com/users/34797/" ]
300,208
<p>for the following:</p> <pre><code>( a != b ) ? cout&lt;&lt;"not equal" : cout&lt;&lt;"equal"; </code></pre> <p>suppose I don't care if it's equal, how can I use the above statement by substituting <code>cout&lt;&lt;"equal"</code> with a no-op.</p>
[ { "answer_id": 300223, "author": "Konrad Rudolph", "author_id": 1968, "author_profile": "https://Stackoverflow.com/users/1968", "pm_score": 1, "selected": false, "text": "cond ? cout << \"equal\" : cout;\n if" }, { "answer_id": 300225, "author": "Vinko Vrsalovic", "author...
2008/11/18
[ "https://Stackoverflow.com/questions/300208", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8661/" ]
300,210
<p>I am designing a web app and I intent to embed data on an xml island so that I can dynamically render it on an HTML table on the client-side based on options the users will select.</p> <p>I have the broad concepts, but I need pointers on how to use DOM in navigating my xml. And how to update my xml island possibly ...
[ { "answer_id": 300290, "author": "Kornel", "author_id": 27009, "author_profile": "https://Stackoverflow.com/users/27009", "pm_score": 4, "selected": true, "text": "class title data-* element.childNodes .nextSibling .getAttribute()" } ]
2008/11/18
[ "https://Stackoverflow.com/questions/300210", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13370/" ]
300,217
<p>In javascript how do I get a handle on the frame that I'm in based on an element in that frame?</p> <pre><code>function myFunction(elementInFrame){ // here I want to get a handle on the frame that elementInFrame lives in } </code></pre>
[ { "answer_id": 300279, "author": "Greg", "author_id": 24181, "author_profile": "https://Stackoverflow.com/users/24181", "pm_score": 2, "selected": false, "text": "elementInFrame.document.parentWindow" } ]
2008/11/18
[ "https://Stackoverflow.com/questions/300217", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24908/" ]
300,220
<p>Does anyone know how I can prevent the text in a table cell from wrapping? This is for the header of a table, and the heading is a lot longer than the data under it, but I need it to display on only one line. It is okay if the column is very wide.</p> <p>The HTML of my (simplified) table looks like this:</p> <pr...
[ { "answer_id": 300235, "author": "Sergey Golovchenko", "author_id": 26592, "author_profile": "https://Stackoverflow.com/users/26592", "pm_score": 5, "selected": false, "text": "<th nowrap=\"nowrap\">Really long column heading</th>\n <th>Really&nbsp;long&nbsp;column&nbsp;heading</th>\n" ...
2008/11/18
[ "https://Stackoverflow.com/questions/300220", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4257/" ]
300,252
<p>I've saved an entire webpage's html to a string, and now <b>I want to grab the "href" values</b> from the links, preferably with the ability to save them to different strings later. What's the best way to do this?</p> <p>I've tried saving the string as an .xml doc and parsing it using an XPathDocument navigator, bu...
[ { "answer_id": 300280, "author": "Joel Coehoorn", "author_id": 3043, "author_profile": "https://Stackoverflow.com/users/3043", "pm_score": 0, "selected": false, "text": "href= href=" }, { "answer_id": 300297, "author": "Tim Jarvis", "author_id": 10387, "author_profile...
2008/11/18
[ "https://Stackoverflow.com/questions/300252", "https://Stackoverflow.com", "https://Stackoverflow.com/users/557/" ]
300,259
<p>I am sending the echo to mail function via PHP from variable that includes HTML code. The strange thing is, that this </p> <pre><code>&lt;����}im� </code></pre> <p>shows up AFTER the string.. but I do not manipulate with it anymore. The charset of mail function (the attachment) is same as charset of HTML code.</p>...
[ { "answer_id": 306086, "author": "Skuta", "author_id": 21209, "author_profile": "https://Stackoverflow.com/users/21209", "pm_score": 0, "selected": false, "text": "$to = 'email@email.com';\n$subject = 'Invoice';\n$random_hash = md5(date('r', time()));\n$headers = \"From: mymail@mymail.co...
2008/11/18
[ "https://Stackoverflow.com/questions/300259", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21209/" ]
300,286
<p>Let's say we have</p> <pre><code>public interface ITimestampProvider { DateTime GetTimestamp(); } </code></pre> <p>and a class which consumes it</p> <pre><code>public class Timestamped { private ITimestampProvider _timestampProvider public Timestamped(ITimestampProvider timestampProvider) { ...
[ { "answer_id": 300305, "author": "Charles Bretana", "author_id": 32632, "author_profile": "https://Stackoverflow.com/users/32632", "pm_score": 2, "selected": false, "text": " public class EventsLogic\n { \n private readonly IEventDAL ievtDal;\n public IEventDAL IEventDAL ...
2008/11/18
[ "https://Stackoverflow.com/questions/300286", "https://Stackoverflow.com", "https://Stackoverflow.com/users/37815/" ]
300,298
<p>If I have an embedded browser in a windows form, is it possible to initiate a javascript method from the container application? </p>
[ { "answer_id": 300311, "author": "Quintin Robinson", "author_id": 12707, "author_profile": "https://Stackoverflow.com/users/12707", "pm_score": 1, "selected": false, "text": "webBrowser.Document.InvokeScript(\"doSomething()\");\n" } ]
2008/11/18
[ "https://Stackoverflow.com/questions/300298", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9266/" ]
300,303
<p>I have an html like this:</p> <pre><code>&lt;div id="container1"&gt; &lt;div class="dragme"&gt;drag me&lt;/div&gt; &lt;/div&gt; &lt;div id="container2"&gt; &lt;div class="dragme"&gt;drag me&lt;/div&gt; &lt;/div&gt; &lt;div id="droponme"&gt;&lt;/div&gt; $(".dragme").draggable(); $("#droponme").droppable({ ...
[ { "answer_id": 300364, "author": "Owen", "author_id": 4853, "author_profile": "https://Stackoverflow.com/users/4853", "pm_score": 3, "selected": true, "text": "$(\".dragme\").draggable();\n$(\"#droponme\").droppable({\n accept: \".dragme\",\n drop: function(e, u) {\n alert(u...
2008/11/18
[ "https://Stackoverflow.com/questions/300303", "https://Stackoverflow.com", "https://Stackoverflow.com/users/31505/" ]
300,306
<p>What I'm looking for looks like this in jQuery:</p> <pre><code>jQuery.ajaxSetup({ 'beforeSend': function(xhr) { xhr.setRequestHeader("Accept", "text/javascript"); } }); ... $("#my_form").submit({ $.post($(this).attr("action", $(this).serialize(), null, "script"); return false; }); </code></pre> <p>Then...
[ { "answer_id": 300478, "author": "James A. Rosen", "author_id": 1190, "author_profile": "https://Stackoverflow.com/users/1190", "pm_score": 2, "selected": false, "text": "form = dojo.byId(\"my_form\")\n form.onsubmit = function() {\n dojo.xhrGet({\n url: form.action,\n form: form...
2008/11/18
[ "https://Stackoverflow.com/questions/300306", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1190/" ]
300,315
<p>Is there a way to force IE or FF into a handheld mode for testing "@media handheld" stylesheets?</p> <p>Or, do I have to publish the pages and test with my Blackberry?</p> <p>I'd prefer to test this without pushing the application to the live server as the application is already in use.</p> <p>Any ideas for me?</...
[ { "answer_id": 300502, "author": "Kornel", "author_id": 27009, "author_profile": "https://Stackoverflow.com/users/27009", "pm_score": 0, "selected": false, "text": "html {max-width:240px} media=screen handheld" }, { "answer_id": 996796, "author": "ilya n.", "author_id": 1...
2008/11/18
[ "https://Stackoverflow.com/questions/300315", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20848/" ]
300,316
<p>Here's the deal. I have a hash map containing data I call "program codes", it lives in an object, like so:</p> <pre><code>Class Metadata { private HashMap validProgramCodes; public HashMap getValidProgramCodes() { return validProgramCodes; } public void setValidProgramCodes(HashMap h) { validProgramCod...
[ { "answer_id": 300330, "author": "sblundy", "author_id": 4893, "author_profile": "https://Stackoverflow.com/users/4893", "pm_score": -1, "selected": false, "text": "FastHashMap validProgramCodes volatile" }, { "answer_id": 300341, "author": "erickson", "author_id": 3474, ...
2008/11/18
[ "https://Stackoverflow.com/questions/300316", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38716/" ]
300,321
<p>Do you localize your javascript to the page, or have a master "application.js" or similar?</p> <p>If it's the latter, what is the best practice to make sure your .js isn't executing on the wrong pages?</p> <p>EDIT: by javascript I mean custom javascript you write as a developer, not js libraries. I can't imagine a...
[ { "answer_id": 300375, "author": "Orion Edwards", "author_id": 234, "author_profile": "https://Stackoverflow.com/users/234", "pm_score": 3, "selected": false, "text": "SITE/javascripts script script script onload" }, { "answer_id": 300438, "author": "Karim", "author_id": ...
2008/11/18
[ "https://Stackoverflow.com/questions/300321", "https://Stackoverflow.com", "https://Stackoverflow.com/users/34133/" ]
300,327
<p>I'm jealous of the rails guys. They can do this:</p> <pre><code>&lt;%= javascript_include_tag "all_min" %&gt; </code></pre> <p>... and I'm stuck doing this:</p> <pre><code>&lt;script src="/public/javascript/jquery/jquery.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/public/javascript/jquery/jquer...
[ { "answer_id": 300371, "author": "bdukes", "author_id": 2688, "author_profile": "https://Stackoverflow.com/users/2688", "pm_score": 3, "selected": false, "text": "<asp:ScriptManager runat=\"server\">\n <CompositeScript>\n <Scripts>\n <asp:ScriptReference Path=\"~/pub...
2008/11/18
[ "https://Stackoverflow.com/questions/300327", "https://Stackoverflow.com", "https://Stackoverflow.com/users/34133/" ]
300,328
<p>I have a third-party library in my SVN repository and I'd like to associate source/javadoc with it locally in Eclipse. I.e., there should be some local setting (for example, an entry in the <code>local.properties</code> file) that associates the source/javadoc with the JAR file, but which doesn't introduce local dep...
[ { "answer_id": 300346, "author": "VonC", "author_id": 6309, "author_profile": "https://Stackoverflow.com/users/6309", "pm_score": 5, "selected": true, "text": "/my/path/to/lib/src Linked Resources classpathentry source [myPrefs.epf] pathvariable /instance/org.eclipse.core.resources/pathv...
2008/11/18
[ "https://Stackoverflow.com/questions/300328", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1412/" ]
300,334
<p>I have a process that runs on a UNIX (Solaris) server that runs nightly and needs to be able to send out encrypted emails.</p> <p>I only need the "encryption" portion, NOT the digital signature / self-repudiation part of PKI.</p> <p>I use MS Outlook in a corporate setting and I am assuming that when a user clicks ...
[ { "answer_id": 401914, "author": "bethlakshmi", "author_id": 49962, "author_profile": "https://Stackoverflow.com/users/49962", "pm_score": 3, "selected": false, "text": "cryptoAlgorithm(plaintext, public key) = ciphertext\n\ncryptoAlgorithm(ciphertext, private key) = plaintext\n" } ]
2008/11/18
[ "https://Stackoverflow.com/questions/300334", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
300,339
<p>Can anyone tell me how to display all the selected value of my multi value parameter in SSRS report. When giving <code>parameter.value</code> option it gives error.</p>
[ { "answer_id": 300362, "author": "Matt Hamilton", "author_id": 615, "author_profile": "https://Stackoverflow.com/users/615", "pm_score": 7, "selected": false, "text": "=Join(Parameters!Product.Label, \",\")\n" }, { "answer_id": 627853, "author": "Booji Boy", "author_id": ...
2008/11/18
[ "https://Stackoverflow.com/questions/300339", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
300,344
<p>I have a class which has a private member <code>$content</code>. This is wrapped by a get-method:</p> <pre><code>class ContentHolder { private $content; public function __construct() { $this-&gt;content = ""; } public function getContent() { return $this-&gt;content; } }...
[ { "answer_id": 300358, "author": "Bill Karwin", "author_id": 20860, "author_profile": "https://Stackoverflow.com/users/20860", "pm_score": 1, "selected": false, "text": "$foo = new array(); $foo = array(); var_dump($foo);\n array(1) {\n [\"c\"]=>\n string(0) \"\"\n}\n echo echo \"foo[c...
2008/11/18
[ "https://Stackoverflow.com/questions/300344", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
300,360
<p>I want to create buttons with icons in Flex dynamically using Actionscript.</p> <p>I tried this, with no success:</p> <pre><code>var closeButton = new Button(); closeButton.setStyle("icon", "@Embed(source='images/closeWindowUp.png"); </code></pre>
[ { "answer_id": 300431, "author": "HanClinto", "author_id": 26933, "author_profile": "https://Stackoverflow.com/users/26933", "pm_score": 0, "selected": false, "text": "closeButton.setStyle(\"icon\", \"@Embed(source='images/closeWindowUp.png\");\n closeButton.setStyle(\"icon\", \"@Embed(s...
2008/11/18
[ "https://Stackoverflow.com/questions/300360", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24734/" ]
300,376
<p>I'm trying to select the "name" field from the author node in an ATOM feed using LINQ. I can get all the fields I need like so:</p> <pre><code>XDocument stories = XDocument.Parse(xmlContent); XNamespace xmlns = "http://www.w3.org/2005/Atom"; var story = from entry in stories.Descendants(xmlns + "entry") ...
[ { "answer_id": 300418, "author": "Jon Skeet", "author_id": 22656, "author_profile": "https://Stackoverflow.com/users/22656", "pm_score": 4, "selected": true, "text": "entry.Element(xmlns + \"author\").Element(xmlns + \"name\").Value\n" }, { "answer_id": 300501, "author": "bru...
2008/11/18
[ "https://Stackoverflow.com/questions/300376", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2913/" ]
300,380
<p>Something's slowing down my Javascript code in IE6 to where there's a noticeable lag on hover. It's fine in FF, so using firebug isn't that helpful. What tools are out there to help debug this in IE?</p> <p><strong>A little more info:</strong> I don't think there's actually any JS running on the objects that I'm mo...
[ { "answer_id": 300934, "author": "some", "author_id": 36866, "author_profile": "https://Stackoverflow.com/users/36866", "pm_score": 3, "selected": false, "text": "for (var i=0, i < 200; i++) { s = s + \"something\";}\n var s=[];\nfor (var i=0; i < 200; i++) s.push(\"something\");\ns=s.jo...
2008/11/18
[ "https://Stackoverflow.com/questions/300380", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24197/" ]
300,383
<p>I have some Jasper reports which are displayed in HTML format. I would like the width of the columns in the HTML tables to automatically resize to fit the content of the widest cell (in that column), such that all the data is displayed.</p> <p>Currently this does not happen because the HTML generated by Jasper spec...
[ { "answer_id": 306816, "author": "Jamie Love", "author_id": 27308, "author_profile": "https://Stackoverflow.com/users/27308", "pm_score": 3, "selected": false, "text": "<textField isStretchWithOverflow=\"true\" hyperlinkType=\"None\">\n <reportElement style=\"Report Sub-Title\" x=\"0\...
2008/11/18
[ "https://Stackoverflow.com/questions/300383", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2648/" ]
300,389
<p>i am programatically adding Webcontrols in to a User Control i am also adding a javascript event passing the controlID as a parameter but the clientID is the one i assigned a it does not contain the one that asp.net generates</p> <pre><code> var txt = new TextBox(); txt.ID = "MyID"+Number; chkBox.Attribute...
[ { "answer_id": 300466, "author": "baretta", "author_id": 30052, "author_profile": "https://Stackoverflow.com/users/30052", "pm_score": 4, "selected": true, "text": " var txt = new TextBox();\n txt.ID = \"MyID\"+Number;\n Controls.Add ( txt );\n chkBox.Attributes.Add(\"onClick\", ...
2008/11/18
[ "https://Stackoverflow.com/questions/300389", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14440/" ]
300,402
<p>When I make the same query twice, the second time it does not return new rows form the database (I guess it just uses the cache).</p> <p>This is a Windows Form application, where I create the dataContext when the application starts.</p> <p>How can I force Linq to SQL not to use the cache?</p> <p>Here is a sample ...
[ { "answer_id": 300409, "author": "Jon Skeet", "author_id": 22656, "author_profile": "https://Stackoverflow.com/users/22656", "pm_score": 4, "selected": true, "text": "public IEnumerable<Orders> NewOrders()\n{\n return dataContext.Orders.Where(order => order.Status == 1);\n}\n" }, ...
2008/11/18
[ "https://Stackoverflow.com/questions/300402", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8547/" ]
300,416
<p>For my IIS website, I'd like to redirect ALL requests to ONE page. The purpose of this is that I want to do some maintenance on the database (take it off-line) that all my web applications use. I have about 50 web apps running under this website, so I'd like to avoid visiting each of them to change something. I'm t...
[ { "answer_id": 2659831, "author": "se_pavel", "author_id": 80917, "author_profile": "https://Stackoverflow.com/users/80917", "pm_score": 6, "selected": false, "text": " <rewrite>\n <rules>\n <rule name=\"redirect all requests\" stopProcessing=\"true\">\n ...
2008/11/18
[ "https://Stackoverflow.com/questions/300416", "https://Stackoverflow.com", "https://Stackoverflow.com/users/415491/" ]
300,417
<p>Say I have the following route:</p> <pre><code>routes.MapRoute("Default", "{controller}/{action}/{id}", new { controller = "Home", action = "Index", id = "" }); </code></pre> <p>Lets also say that my controller has the following methods: <code>Index(Int32 id)</code> and <code>Edit(Int32 id)</code>.</p> <p>So...
[ { "answer_id": 300729, "author": "Haacked", "author_id": 598, "author_profile": "https://Stackoverflow.com/users/598", "pm_score": 5, "selected": true, "text": "protected override void HandleUnknownAction(string actionName) {\n //your code here.\n}\n routes.MapRoute(\"default-action\", ...
2008/11/18
[ "https://Stackoverflow.com/questions/300417", "https://Stackoverflow.com", "https://Stackoverflow.com/users/32588/" ]
300,424
<p>I have HTML code edited by FCKEditor stored in a database and would like to display (well render) it onto a view. So, for instance, something stored as:</p> <pre><code>&amp;lt;&amp;gt;pre&amp;lt;&amp;gt;This is some sample text&amp;lt;&amp;gt;pre&amp;lt;/&amp;gt </code></pre> <p>Will be displayed to the user as:</p>...
[ { "answer_id": 300464, "author": "Pure.Krome", "author_id": 30674, "author_profile": "https://Stackoverflow.com/users/30674", "pm_score": 7, "selected": true, "text": "<%= System.Web.HttpUtility.HtmlDecode(yourEncodedHtmlFromYouDatabase) %>\n" }, { "answer_id": 11877792, "aut...
2008/11/18
[ "https://Stackoverflow.com/questions/300424", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9913/" ]
300,427
<p>Is it possible to create a parameterized SQL statement that will taken an arbitrary number of parameters? I'm trying to allow users to filter a list based on multiple keywords, each separated by a semicolon. So the input would be something like "Oakland;City;Planning" and the WHERE clause would come out something ...
[ { "answer_id": 300483, "author": "Ken Gentle", "author_id": 8709, "author_profile": "https://Stackoverflow.com/users/8709", "pm_score": 2, "selected": false, "text": "CONTAINS CONTAINSTABLE" }, { "answer_id": 303079, "author": "Kevin Fairchild", "author_id": 3743, "au...
2008/11/18
[ "https://Stackoverflow.com/questions/300427", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21979/" ]
300,445
<p>I have a unicode string like "Tanım" which is encoded as "Tan%u0131m" somehow. How can i convert this encoded string back to original unicode. Apparently urllib.unquote does not support unicode.</p>
[ { "answer_id": 300531, "author": "Markus Jarderot", "author_id": 22364, "author_profile": "https://Stackoverflow.com/users/22364", "pm_score": 4, "selected": false, "text": "def unquote(text):\n def unicode_unquoter(match):\n return unichr(int(match.group(1),16))\n return re...
2008/11/18
[ "https://Stackoverflow.com/questions/300445", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12785/" ]
300,448
<p>On the user pages of Stack Overflow where the tabs are (Stats, Recent, Responses, etc.) you get the illusion that the tabs are extensions of the line they're sitting on. Stack Overflow creates this effect by defining pure CSS borders. I want to achieve the same effect but I have images both for the tabs and for the ...
[ { "answer_id": 300628, "author": "Ola Tuvesson", "author_id": 6903, "author_profile": "https://Stackoverflow.com/users/6903", "pm_score": 2, "selected": true, "text": "<style>\nul.tabs {\nborder-bottom: 1px solid blue;\nheight: 20px;\nmargin: 0;\npadding: 0;\nlist-style-type: none;\n}\n ...
2008/11/18
[ "https://Stackoverflow.com/questions/300448", "https://Stackoverflow.com", "https://Stackoverflow.com/users/356/" ]
300,449
<p>I'm trying to get a list of processes currently owned by the current user (<code>Environment.UserName</code>). Unfortunately, the <code>Process</code> class doesn't have any way of getting the UserName of the user owning a process.</p> <p>How do you get the UserName of the user which is the owner of a process using...
[ { "answer_id": 300535, "author": "Andrew Moore", "author_id": 26210, "author_profile": "https://Stackoverflow.com/users/26210", "pm_score": 4, "selected": false, "text": "public class App\n{\n public static void Main(string[] Args)\n {\n Management.ManagementObjectSearcher P...
2008/11/18
[ "https://Stackoverflow.com/questions/300449", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26210/" ]
300,472
<p>Looking in the gnuwin32/bin directory, there is an odd-looking program file named <code>[.exe</code></p> <p>I couldn't find it in the documentation, gnuwin32.sourceforge.net or in a google search, so I ran it and got:</p> <pre><code>$ [ [: missing `]' $ </code></pre> <p>so I gave it ] as a parameter and got</p> ...
[ { "answer_id": 300477, "author": "tusho", "author_id": 22331, "author_profile": "https://Stackoverflow.com/users/22331", "pm_score": 3, "selected": false, "text": "test a\n [ a ]\n" }, { "answer_id": 300508, "author": "Cristian Diaconescu", "author_id": 11545, "author...
2008/11/18
[ "https://Stackoverflow.com/questions/300472", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4086/" ]
300,491
<p>I'm trying to implement paging using row-based limiting (for example: <code>setFirstResult(5)</code> and <code>setMaxResults(10)</code>) on a Hibernate Criteria query that has joins to other tables.</p> <p>Understandably, data is getting cut off randomly; and the reason for that is explained <a href="https://develo...
[ { "answer_id": 300708, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 8, "selected": true, "text": "criteria.setProjection(Projections.distinct(Projections.property(\"id\")));\n" }, { "answer_id": 2652385, "author":...
2008/11/18
[ "https://Stackoverflow.com/questions/300491", "https://Stackoverflow.com", "https://Stackoverflow.com/users/34553/" ]
300,498
<p>I have a FooController that responds to HTML and JS (AJAX) queries:</p> <pre><code># app/controllers/foo_controller.rb: class FooController &lt; ApplicationController layout 'foo' def bar respond_to do |format| format.html # foo/bar.html.erb format.js # foo/bar.js.erb end end end </code>...
[ { "answer_id": 301899, "author": "mwilliams", "author_id": 23909, "author_profile": "https://Stackoverflow.com/users/23909", "pm_score": 3, "selected": false, "text": "// views/reviews/create.js.erb\n$(\"#new_review\").before('<div id=\"flash_notice\"><%= escape_javascript(flash.delete(:...
2008/11/18
[ "https://Stackoverflow.com/questions/300498", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1190/" ]
300,499
<p>When we talk about the .NET world the CLR is what everything we do depends on. What is the minimum knowledge of CLR a .NET programmer must have to be a good programmer? Can you give me one/many you think is/are the most important subjects: GC?, AppDomain?, Threads?, Processes?, Assemblies/Fusion? </p> <p>I will ver...
[ { "answer_id": 300511, "author": "Jon Skeet", "author_id": 22656, "author_profile": "https://Stackoverflow.com/users/22656", "pm_score": 6, "selected": true, "text": "string x = \"hello\";\n x x x" } ]
2008/11/18
[ "https://Stackoverflow.com/questions/300499", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2921654/" ]
300,509
<p>From a Java program, I need to launch the default browser on a local HTML file, pointed to an anchor inside the file. In Java SE 6, the java.awt.Desktop.browse method will open the file, but will not honor the anchor, so something like the following opens the file at the top, but does not page the browser to the an...
[ { "answer_id": 323170, "author": "Lawrence Dol", "author_id": 8946, "author_profile": "https://Stackoverflow.com/users/8946", "pm_score": 0, "selected": false, "text": "System.exec(\"cmd.exe start file:///C:/foo/bar.html#anchor\")\n" }, { "answer_id": 9199838, "author": "Adam...
2008/11/18
[ "https://Stackoverflow.com/questions/300509", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15988/" ]
300,519
<p>Is there really that much of a difference between the performance of <code>Vector</code> and <code>ArrayList</code>? Is it good practice to use ArrayLists at all times when thread safety isn't an issue?</p>
[ { "answer_id": 300539, "author": "Aaron", "author_id": 19130, "author_profile": "https://Stackoverflow.com/users/19130", "pm_score": 4, "selected": false, "text": "ArrayList List if (!myList.isEmpty()) { \n myList.get(0);\n}\n synchronized (myList) {\n if (!myList.isEmpty()) { \n ...
2008/11/18
[ "https://Stackoverflow.com/questions/300519", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1459442/" ]
300,521
<p>I am looking for a LaTeX package that does syntax highlighting on code. For example, right now I use the verbatim block to write code:</p> <pre><code>\begin{verbatim} &lt;html&gt; &lt;head&gt; &lt;title&gt;Hello&lt;/title&gt; &lt;/head&gt; &lt;body&gt;Hello&lt;/body&gt; &lt;/...
[ { "answer_id": 300573, "author": "ChrisN", "author_id": 3853, "author_profile": "https://Stackoverflow.com/users/3853", "pm_score": 8, "selected": true, "text": "\\documentclass{article}\n\\usepackage{listings}\n\n\\begin{document}\n\\begin{lstlisting}[language=html]\n<html>\n <head>\...
2008/11/18
[ "https://Stackoverflow.com/questions/300521", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27439/" ]
300,522
<p>From using a number of programming languages and libraries I have noticed various terms used for the total number of elements in a collection.</p> <p>The most common seem to be <code>length</code>, <code>count</code>, and <code>size</code>.</p> <p>eg.</p> <pre><code>array.length vector.size() collection.count </c...
[ { "answer_id": 300540, "author": "gbjbaanb", "author_id": 13744, "author_profile": "https://Stackoverflow.com/users/13744", "pm_score": 9, "selected": true, "text": "Length() Count() Size() Capacity()" }, { "answer_id": 300550, "author": "Ken Gentle", "author_id": 8709, ...
2008/11/18
[ "https://Stackoverflow.com/questions/300522", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11293/" ]
300,551
<pre><code> (define a 42) (set! 'a 10) (define a 42) (define (symbol) 'a) (set! (symbol) 10) (define a (cons 1 2)) (set! (car a) 10) </code></pre> <p>I tried running them in DrScheme and they don't work. Why?</p>
[ { "answer_id": 300597, "author": "mweiss", "author_id": 33254, "author_profile": "https://Stackoverflow.com/users/33254", "pm_score": 3, "selected": true, "text": ">(define pair (cons 1 2))\n>pair\n(1 . 2)\n>(set-car! pair 3)\n(3 . 2)\n" } ]
2008/11/18
[ "https://Stackoverflow.com/questions/300551", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
300,559
<p>Is there a standard Java library that handles common file operations such as moving/copying files/folders?</p>
[ { "answer_id": 909376, "author": "Rigo Vides", "author_id": 100408, "author_profile": "https://Stackoverflow.com/users/100408", "pm_score": 7, "selected": true, "text": "java.nio public static void copyFile(File sourceFile, File destFile) throws IOException {\n if(!destFile.exists()) ...
2008/11/18
[ "https://Stackoverflow.com/questions/300559", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19026/" ]
300,578
<p>How do get the startup path ( system.windows.forms.application.StartupPath ) of my exe without adding a reference to system.windows.forms?</p>
[ { "answer_id": 300591, "author": "Mitch Wheat", "author_id": 16076, "author_profile": "https://Stackoverflow.com/users/16076", "pm_score": 2, "selected": false, "text": "System.AppDomain.CurrentDomain.BaseDirectory\n System.Reflection Assembly.GetExecutingAssembly().Location\n Assembly.G...
2008/11/18
[ "https://Stackoverflow.com/questions/300578", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1632/" ]
300,581
<p>I have an application with my object types that inherit from a base class that contains the majority of properties for the application objects. All the object types are stored in one table in the database. The "ClassType" column determines what object type I cast the SqlDataReader row to. </p> <p>Here is my curr...
[ { "answer_id": 300604, "author": "FlySwat", "author_id": 1965, "author_profile": "https://Stackoverflow.com/users/1965", "pm_score": 3, "selected": false, "text": " private Dictionary<String, Type> _objectTypes = new Dictionary<String, Type>();\n\n public ObjectFactory()\n {\n ...
2008/11/18
[ "https://Stackoverflow.com/questions/300581", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26327/" ]
300,582
<p>Has anyone been able to use the SSCrypto Framework for Cocoa to encrypt text and then decrypt it in C#/.NET ? Or can someone offer some guidance?</p> <p>I'm pretty sure my issue has to do with getting the crypto settings correct but I am far from fluent in Cocoa so I can't really tell what settings are being used i...
[ { "answer_id": 475322, "author": "Codingday", "author_id": 38242, "author_profile": "https://Stackoverflow.com/users/38242", "pm_score": 0, "selected": false, "text": "var reversedArr = Array.Reverse(toEncrytArray)\nbyte[] resultArray = cTransform.TransformFinalBlock( reversedArr, 0, rev...
2008/11/18
[ "https://Stackoverflow.com/questions/300582", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
300,592
<p>At one point I had looked at implementing a class/template in C++ that would support an Enum that would behave like it does in Ada. It has been some time since I thought about this problem and I was wondering if anyone has ever solved this problem?</p> <p>EDIT:</p> <p>My apologies, I should clarify what functional...
[ { "answer_id": 303811, "author": "Mecki", "author_id": 15809, "author_profile": "https://Stackoverflow.com/users/15809", "pm_score": 2, "selected": false, "text": "enum fruit { apple, banana, cherry, peach, grape };\n enum fruit { apple = 0, banana, cherry = 20, peach, grape };\n enum f...
2008/11/18
[ "https://Stackoverflow.com/questions/300592", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1265473/" ]
300,595
<p>What would be a clever way to make a 'please wait' control for a Flex application for long running operations like calling a webservice.</p> <p>I am not asking about the graphical portion of it - just the 'controller' part. How should I trigger it and hide it. I am planning to make just a simple canvas with text in...
[ { "answer_id": 302118, "author": "mmattax", "author_id": 1638, "author_profile": "https://Stackoverflow.com/users/1638", "pm_score": 2, "selected": true, "text": "\n<mx:Application>\n <mx:Script>\n [Bindable]public var ws_count:int = 0;\n </mx:Script>\n <mx:Label text = \...
2008/11/18
[ "https://Stackoverflow.com/questions/300595", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16940/" ]
300,606
<p>I need to convert strings with optional trailing signs into actual numbers using Powershell.</p> <p>Possible strings are:</p> <ul> <li>1000-</li> <li>323+</li> <li>456</li> </ul> <p>I'm trying to use System.Int.TryParse with a NumberStyles of AllowTrailingSign, but I can't work out how to make System.Globalizatio...
[ { "answer_id": 300649, "author": "Peter Seale", "author_id": 25911, "author_profile": "https://Stackoverflow.com/users/25911", "pm_score": 2, "selected": false, "text": "[System.Globalization.NumberStyles]::AllowTrailingSign\n \"AllowTrailingSign\"\n [System.Globalization.NumberStyles] |...
2008/11/18
[ "https://Stackoverflow.com/questions/300606", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11571/" ]
300,607
<p>In Windows Mobile, when you open Internet Explorer and type in a URL that your device can't connect to, you are notified of this and prompted to (manually) navigate to the screen where you can actually do something about this as a user (Network Management), like so:</p> <p><a href="http://www.freeimagehosting.net/u...
[ { "answer_id": 2421523, "author": "Matt", "author_id": 124006, "author_profile": "https://Stackoverflow.com/users/124006", "pm_score": 3, "selected": true, "text": "Process.Start(@\"\\windows\\ctlpnl.exe\", \"cplmain.cpl,19\");\n <wap-provisioningdoc>\n <characteristic type=\"CM_ProxyEn...
2008/11/18
[ "https://Stackoverflow.com/questions/300607", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14606/" ]
300,618
<p>My application is a viewer for a custom format, a zip file with a well defined XML manifest and resources, such as images and movies. I use zlib to open up the zip file in memory and then proceed to display said resources. </p> <p>One problem I've ran into is that I'm unable to properly display videos, apparently b...
[ { "answer_id": 303709, "author": "Jason Coco", "author_id": 34218, "author_profile": "https://Stackoverflow.com/users/34218", "pm_score": 4, "selected": true, "text": "-(NSString*)mimeTypeForExtension:(NSString*)ext\n{\n NSAssert( ext, @\"Extension cannot be nil\" );\n NSString* mi...
2008/11/19
[ "https://Stackoverflow.com/questions/300618", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38753/" ]
300,629
<p>I'm writing a direct3d application and after noticing strange bugs such as anti-aliasing occurring even when it was turned off and the mouse pointer not lining up to things with the same coordinates as itself I discovered that when creating a window the width and height parameters include the border. The program wa...
[ { "answer_id": 300638, "author": "DocMax", "author_id": 6234, "author_profile": "https://Stackoverflow.com/users/6234", "pm_score": 3, "selected": true, "text": "GetSystemMetrics(SM_CXBORDER)\n" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/300629", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2222/" ]
300,639
<p>I have seen many apps that take instrument classes and take <code>-javaagent</code> as a param when loading also put a <code>-noverify</code> to the command line.</p> <p>The Java doc says that <code>-noverify</code> turns off class verification.</p> <p>However why would anyone want to turn off verification even if...
[ { "answer_id": 6872885, "author": "Esko Luontola", "author_id": 62130, "author_profile": "https://Stackoverflow.com/users/62130", "pm_score": 3, "selected": false, "text": "-noverify -noverify" }, { "answer_id": 13710970, "author": "Cephalopod", "author_id": 340556, "...
2008/11/19
[ "https://Stackoverflow.com/questions/300639", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14316/" ]
300,656
<p>I'm using a WPF RichTextBox control to input some text with user formatting capability, including font size adjustment. The built-in commands for IncreaseFontSize and DecreaseFontSize will adjust the font size by 0.75pt each time the command is executed. I would like to increase the granularity to 2pt.</p> <p>Can...
[ { "answer_id": 321798, "author": "ligaz", "author_id": 6409, "author_profile": "https://Stackoverflow.com/users/6409", "pm_score": 1, "selected": false, "text": "var range = new TextRange( rtb.Document.ContentStart, rtb.Document.ContentEnd );\nrange.ApplyPropertyValue( TextElement.FontSi...
2008/11/19
[ "https://Stackoverflow.com/questions/300656", "https://Stackoverflow.com", "https://Stackoverflow.com/users/25879/" ]
300,658
<p>How would you use set! in a simple procedure f such that evaluating (+ (f 0) (f 1)) will return 0 if the arguments to + are evaluated from left to right but will return 1 if the arguments are evaluated from right to left?</p>
[ { "answer_id": 300678, "author": "Andrew Beyer", "author_id": 38691, "author_profile": "https://Stackoverflow.com/users/38691", "pm_score": 3, "selected": false, "text": "(define x 0)\n(define (f n) (let ((tmp x)) (set! x n) tmp))\n" }, { "answer_id": 776156, "author": "finnw...
2008/11/19
[ "https://Stackoverflow.com/questions/300658", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
300,660
<p>I know I can loop over the string or build a regex or invert the set (ASCII isn't that big after all) and search for the first instance of that, but Yuck.</p> <p>What I'm looking for is a nice one liner.</p> <p>fewer features is better, LINQ is out (for me, don't ask, it's a <em>long</em> story)</p> <hr> <p>The ...
[ { "answer_id": 300666, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 1, "selected": false, "text": "char f(string str, IEnumerable<char> list)\n{\n return str.ToCharArray().First(c => !list.Contains(c))\n}\n" }, { "an...
2008/11/19
[ "https://Stackoverflow.com/questions/300660", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1343/" ]
300,662
<p>I want to insert something into a STL list in C++, but I only have a reverse iterator. What is the usual way to accomplish this?</p> <p>This works: (of course it does)</p> <pre><code>std::list&lt;int&gt; l; std::list&lt;int&gt;::iterator forward = l.begin(); l.insert(forward, 5); </code></pre> <p>This doesn't wor...
[ { "answer_id": 300693, "author": "Johannes Schaub - litb", "author_id": 34509, "author_profile": "https://Stackoverflow.com/users/34509", "pm_score": 6, "selected": true, "text": "l.insert(reverse.base(), 10); l.rbegin().base() == l.end()" }, { "answer_id": 300709, "author": ...
2008/11/19
[ "https://Stackoverflow.com/questions/300662", "https://Stackoverflow.com", "https://Stackoverflow.com/users/25164/" ]