qid int64 4 22.2M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
405,480 | <p>I have a Repeater contol bound to a custom object (an EntitySpaces query) and have noticed there are a couple of ways to conditionally format the values being displayed. </p>
<p>1) From my aspx I can call a method in my code-behind and pass through the bound value and use that to drive any conditional logic:</p>
<... | [
{
"answer_id": 405755,
"author": "Salamander2007",
"author_id": 10629,
"author_profile": "https://Stackoverflow.com/users/10629",
"pm_score": 3,
"selected": true,
"text": "RowDataBound"
},
{
"answer_id": 1631038,
"author": "Don Cote",
"author_id": 13354,
"author_profi... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405480",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50623/"
] |
405,489 | <p>Is there a built-in function/operator I could use to unpack values from a dictionary and assign it into instance variables?</p>
<p>This is what I intend to do:</p>
<pre><code>c = MyClass()
c.foo = 123
c.bar = 123
# c.foo == 123 and c.bar == 123
d = {'bar': 456}
c.update(d)
# c.foo == 123 and c.bar == 456
</cod... | [
{
"answer_id": 405492,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 5,
"selected": false,
"text": "f.__dict__.update( b )\n"
},
{
"answer_id": 405498,
"author": "hyperboreean",
"author_id": 49032,
"auth... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405489",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3055/"
] |
405,508 | <p>Kind of related to my <a href="https://stackoverflow.com/questions/405480/best-practices-when-applying-conditional-formatting-in-data-bound-controls">other question</a> - I've only ever used HTMLControls with runat="server" and WebControls grudgingly, preferring to have control over the markup that gets generated (i... | [
{
"answer_id": 405538,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 2,
"selected": true,
"text": " <asp:Literal ID=\"ltrResults\" runat=\"server\" />\n"
},
{
"answer_id": 405584,
"author": "Brownie",
"author_i... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405508",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50623/"
] |
405,509 | <p>I am writing an application where one of the features is to allow the user to write an email template using Markdown syntax.</p>
<p>Besides formatting, the user must be able to use placeholders for a couple of variables that would get replaced at runtime. </p>
<p>The way this is currently working is very simple: t... | [
{
"answer_id": 406786,
"author": "bobince",
"author_id": 18936,
"author_profile": "https://Stackoverflow.com/users/18936",
"pm_score": 0,
"selected": false,
"text": "'fish{chips}'.format(chips= 'x')\n"
}
] | 2009/01/01 | [
"https://Stackoverflow.com/questions/405509",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14540/"
] |
405,516 | <p>Using Python 2.6, is there a way to check if all the items of a sequence equals a given value, in one statement?</p>
<pre><code>[pseudocode]
my_sequence = (2,5,7,82,35)
if all the values in (type(i) for i in my_sequence) == int:
do()
</code></pre>
<p>Instead of, say:</p>
<pre><code>my_sequence = (2,5,7,82,3... | [
{
"answer_id": 405519,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 4,
"selected": false,
"text": "all( type(i) is int for i in my_list )\n"
},
{
"answer_id": 405520,
"author": "Autoplectic",
"author_id": 4... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405516",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44563/"
] |
405,518 | <p>I am writing unit tests for my presentation class in MVP pattern.But I am having trouble to write mock setup code. </p>
<p>I have a presenter and when presenter's Load method called I want to test view should load class properties, table fields, data types,set presenter.... So When I have a different thing to do wh... | [
{
"answer_id": 406737,
"author": "caltuntas",
"author_id": 36474,
"author_profile": "https://Stackoverflow.com/users/36474",
"pm_score": 2,
"selected": true,
"text": "[TestFixture]\npublic class When_Presenter_Loads\n{\n private MockRepository mockRepository;\n private ITableReposi... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405518",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36474/"
] |
405,526 | <p>Does anybody know of a tool that allow me to inspect what files an installer just added to a system after it ran? </p>
<p>Its sounds like this should be something that should exist.</p>
| [
{
"answer_id": 406737,
"author": "caltuntas",
"author_id": 36474,
"author_profile": "https://Stackoverflow.com/users/36474",
"pm_score": 2,
"selected": true,
"text": "[TestFixture]\npublic class When_Presenter_Loads\n{\n private MockRepository mockRepository;\n private ITableReposi... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405526",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9611/"
] |
405,537 | <p>I'm new to C, and am confused by results I'm getting when referencing a member of a struct via a pointer. See the following code for an example. What's happening when I reference tst->number the first time? What fundamental thing am I missing here?</p>
<pre><code>#include <stdio.h>
#include <stdlib.h>... | [
{
"answer_id": 405561,
"author": "jason",
"author_id": 45914,
"author_profile": "https://Stackoverflow.com/users/45914",
"pm_score": 1,
"selected": false,
"text": "t"
},
{
"answer_id": 405567,
"author": "Ron Warholic",
"author_id": 22780,
"author_profile": "https://St... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405537",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50758/"
] |
405,540 | <p>I was just reading through <a href="http://books.google.com/books?id=1HxWGezDZcgC&lpg=PP1&dq=learning%20python&pg=PA254#v=onepage&q=cyclic&f=false" rel="nofollow noreferrer">"Learning Python" by Mark Lutz and came across this code sample</a>:</p>
<pre><code>
>>> L = ['grail']
>>> L.append(L)
>>>... | [
{
"answer_id": 405564,
"author": "Charlie Martin",
"author_id": 35092,
"author_profile": "https://Stackoverflow.com/users/35092",
"pm_score": 5,
"selected": true,
"text": "V=[\"Boulder\", \"Denver\", \"Colorado Springs\", \"Pueblo\", \"Limon\"]\n"
},
{
"answer_id": 405565,
"a... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405540",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2908/"
] |
405,560 | <p>When I build my c# solution the .tt files will not create the .cs file outputs. But if I right click the .tt files one at a time in solution explorer and select "Run Custom Tool" the .cs is generated, so the build tool setting is correct. What do I do to get the overall solution build to force the custom tool to run... | [
{
"answer_id": 33027217,
"author": "Gyromite",
"author_id": 2832598,
"author_profile": "https://Stackoverflow.com/users/2832598",
"pm_score": 0,
"selected": false,
"text": "<PropertyGroup>\n <!-- Get the Visual Studio version – defaults to 10: -->\n <VisualStudioVersion Condition=\"'$(... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405560",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28343/"
] |
405,583 | <p>I'm trying to write a query that updates rows in a table if a certain column has a value in a list I'm providing:</p>
<pre><code>UPDATE MY_TABLE SET COL1 = 'xyz' WHERE COL2 IN ('x', 'y', 'z');
</code></pre>
<p>I'm getting a syntax error, but I know that this should be possible. It's essentially a single command to... | [
{
"answer_id": 405655,
"author": "Toby Hede",
"author_id": 14971,
"author_profile": "https://Stackoverflow.com/users/14971",
"pm_score": -1,
"selected": false,
"text": "UPDATE MY_TABLE SET COL1 = 'xyz' WHERE COL2 IN ('x, y, z');\n"
},
{
"answer_id": 405683,
"author": "Bill Ka... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405583",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23249/"
] |
405,588 | <p>How would you model a turn-based game server as a RESTful API? For example, a chess server, where you could play a game of chess against another client of the same API. You would need some way of requesting and negotiating a game with the other client, and some way of playing the individual moves of the game.</p>
<... | [
{
"answer_id": 405605,
"author": "Charlie Martin",
"author_id": 35092,
"author_profile": "https://Stackoverflow.com/users/35092",
"pm_score": 3,
"selected": true,
"text": "/game\n/game/gameID/gamer/gamerID\n/game/gameID/board\n"
},
{
"answer_id": 405637,
"author": "Charlie Ma... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405588",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/29173/"
] |
405,612 | <p>I'm going to start of by noting that I have next to no python experience.</p>
<p><a href="http://www.aquate.us/u/9986423875612301299.jpg" rel="nofollow noreferrer">alt text http://www.aquate.us/u/9986423875612301299.jpg</a></p>
<p>As you may know, by simply dropping a shortcut in the Send To folder on your Windows... | [
{
"answer_id": 405625,
"author": "Loïc Wolff",
"author_id": 12008,
"author_profile": "https://Stackoverflow.com/users/12008",
"pm_score": 2,
"selected": false,
"text": "import sys\n\nfor arg in sys.argv:\n print arg\n"
}
] | 2009/01/01 | [
"https://Stackoverflow.com/questions/405612",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50548/"
] |
405,617 | <p>I'm having a small problem with a Python program (below) that I'm writing. </p>
<p>I want to insert two values from a MySQL table into another table from a Python program.</p>
<p>The two fields are priority and product and I have selected them from the shop table and I want to insert them into the products table. ... | [
{
"answer_id": 405625,
"author": "Loïc Wolff",
"author_id": 12008,
"author_profile": "https://Stackoverflow.com/users/12008",
"pm_score": 2,
"selected": false,
"text": "import sys\n\nfor arg in sys.argv:\n print arg\n"
}
] | 2009/01/01 | [
"https://Stackoverflow.com/questions/405617",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47204/"
] |
405,619 | <p>How can you check whether a <strong>string</strong> is <strong>convertible</strong> to an <strong>int?</strong></p>
<p>Let's say we have data like "House", "50", "Dog", "45.99", I want to know whether I should just use the <strong>string</strong> or use the parsed <strong>int</strong> value instead.</p>
<p><em>In ... | [
{
"answer_id": 405633,
"author": "Johnno Nolan",
"author_id": 1116,
"author_profile": "https://Stackoverflow.com/users/1116",
"pm_score": 7,
"selected": true,
"text": "Int32.TryParse(String, Int32)"
},
{
"answer_id": 405939,
"author": "BenAlabaster",
"author_id": 40650,
... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405619",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41021/"
] |
405,652 | <p>I want to do something like this:</p>
<pre><code>c:\data\> python myscript.py *.csv
</code></pre>
<p>and pass all of the .csv files in the directory to my python script (such that <code>sys.argv</code> contains <code>["file1.csv", "file2.csv"]</code>, etc.) </p>
<p>But <code>sys.argv</code> just receives <code... | [
{
"answer_id": 405662,
"author": "Vinko Vrsalovic",
"author_id": 5190,
"author_profile": "https://Stackoverflow.com/users/5190",
"pm_score": 6,
"selected": true,
"text": "from glob import glob\nfilelist = glob('*.csv') #You can pass the sys.argv argument\n"
},
{
"answer_id": 4056... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405652",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/49559/"
] |
405,684 | <p>I am having trouble with PHP regarding encoding.</p>
<p>I have a JavaScript/jQuery HTML5 page interact with my PHP script using $.post.
However, PHP is facing a weird problem, probably related to encoding.</p>
<p>When I write</p>
<pre><code>htmlentities("í")
</code></pre>
<p>I expect PHP to output <code>&ia... | [
{
"answer_id": 405691,
"author": "Eran Galperin",
"author_id": 10585,
"author_profile": "https://Stackoverflow.com/users/10585",
"pm_score": 4,
"selected": false,
"text": "htmlentities($text,ENT_COMPAT,'utf-8');\n"
},
{
"answer_id": 7164911,
"author": "Anthony Accioly",
"... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405684",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32775/"
] |
405,690 | <p>I'd like to know how to get <code>Subversion</code> to change the name that my changes appear under.</p>
<p>I'm just starting to use <code>Subversion</code>. I'm currently using it to version control code on an XP laptop where I'm always logged in under my wife's name. I'd like the subversion DB to show the changes... | [
{
"answer_id": 405694,
"author": "Michael Ratanapintha",
"author_id": 1879,
"author_profile": "https://Stackoverflow.com/users/1879",
"pm_score": 9,
"selected": true,
"text": "--username"
},
{
"answer_id": 405748,
"author": "Don Wakefield",
"author_id": 3778,
"author_... | 2009/01/01 | [
"https://Stackoverflow.com/questions/405690",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4662/"
] |
405,749 | <p>Can anyone recommend a C or Objective-C library for HTML parsing? It needs to handle messy HTML code that won't quite validate.</p>
<p>Does such a library exist, or am I better off just trying to use regular expressions?</p>
| [
{
"answer_id": 406111,
"author": "Sophie Alpert",
"author_id": 49485,
"author_profile": "https://Stackoverflow.com/users/49485",
"pm_score": 7,
"selected": true,
"text": "libxml2.2"
},
{
"answer_id": 1618272,
"author": "Albaregar",
"author_id": 152793,
"author_profile... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405749",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/49485/"
] |
405,761 | <p>In statically typed functional programming languages, like Standard ML, F#, OCaml and Haskell, a function will usually be written with the parameters separated from each other and from the function name simply by whitespace:</p>
<pre><code>let add a b =
a + b
</code></pre>
<p>The type here being "<code>int -&g... | [
{
"answer_id": 405765,
"author": "ShreevatsaR",
"author_id": 4958,
"author_profile": "https://Stackoverflow.com/users/4958",
"pm_score": 2,
"selected": false,
"text": "Prelude> let add1 a b = a+b\nPrelude> let add2 (a,b) = a+b\nPrelude> :t (uncurry add1)\n(uncurry add1) :: (Num a) => (a,... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405761",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41489/"
] |
405,770 | <p>I always wonder why compilers can't figure out simple things that are obvious to the human eye. They do lots of simple optimizations, but never something even a little bit complex. For example, this code takes about 6 seconds on my computer to print the value zero (using java 1.6):</p>
<pre class="lang-java prettypr... | [
{
"answer_id": 405784,
"author": "Chris Bunch",
"author_id": 422,
"author_profile": "https://Stackoverflow.com/users/422",
"pm_score": 3,
"selected": false,
"text": "if"
},
{
"answer_id": 405820,
"author": "paxdiablo",
"author_id": 14860,
"author_profile": "https://St... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405770",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48181/"
] |
405,782 | <p>I am updating some code from the old mysql_* functions to PDO. It connects without a problem, runs the query without a problem, but the resultset is empty. PDO::query() is supposed to return a PDOStatement object, yet I am getting true in return. No errors are reported.</p>
<p>Here is my code:</p>
<pre><code>
t... | [
{
"answer_id": 405801,
"author": "Bill Karwin",
"author_id": 20860,
"author_profile": "https://Stackoverflow.com/users/20860",
"pm_score": 4,
"selected": true,
"text": "object \ntrue \nERROR: getClientInfo query failed.\n"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/405782",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47858/"
] |
405,786 | <p>I have a Joomla site which uses <code>mod_rewrite</code> to create pretty urls.</p>
<pre><code>http://www.example.com/resources/newsletter
</code></pre>
<p>However this created a problem. Including images like this: <code>src="images/pic.jpg"</code>, it would then look for a file at:</p>
<pre><code>http://www.exa... | [
{
"answer_id": 405818,
"author": "Sophie Alpert",
"author_id": 49485,
"author_profile": "https://Stackoverflow.com/users/49485",
"pm_score": 2,
"selected": false,
"text": "src"
},
{
"answer_id": 37669128,
"author": "Onur Yıldırım",
"author_id": 112731,
"author_profile... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405786",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9021/"
] |
405,795 | <p>I have a somewhat complex query with roughly 100K rows.</p>
<p>The query runs in 13 seconds in SQL Server Express (run on my dev box)</p>
<p>The same query with the same indexing and tables takes over 15+ minutes to run on MySQL 5.1 (run on my production box - much more powerful and tested with 100% resources) An... | [
{
"answer_id": 406854,
"author": "Cade Roux",
"author_id": 18255,
"author_profile": "https://Stackoverflow.com/users/18255",
"pm_score": 3,
"selected": true,
"text": "WITH e3 AS (\nselect min(e1.rank) as rank,\ne1.entity,\ne1.provider_id,\ne1.service_date\nfrom table_a e1\nwhere e1.site_... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405795",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36902/"
] |
405,810 | <p>Basically you have two ways for doing this:</p>
<pre><code>for (int x = 0; x < UPPER_X; x++)
for (int y = 0; y < UPPER_Y; y++)
{
arr1[x, y] = get_value();
arr2[y, x] = get_value();
}
</code></pre>
<p>The only difference is what variable to change in the inner loop: first o... | [
{
"answer_id": 405825,
"author": "Mitch Wheat",
"author_id": 16076,
"author_profile": "https://Stackoverflow.com/users/16076",
"pm_score": 2,
"selected": false,
"text": "double[] myArray = new double[ROW_DIM * COLUMN_DIM];\n"
},
{
"answer_id": 405956,
"author": "Daniel Plaist... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405810",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50727/"
] |
405,812 | <p>I am trying to use a hyperlinkbutton in silverlight to enable the user to download a word document. I don't care if a file save as box appears or if the word doc opens in a new browser. I get the error "cannot navigate to locations relative to a page." I've seen it posted that you can do this with the absolute pa... | [
{
"answer_id": 407626,
"author": "Michael S. Scherotter",
"author_id": 27306,
"author_profile": "https://Stackoverflow.com/users/27306",
"pm_score": 3,
"selected": true,
"text": "uriCurrent = System.Windows.Browser.HtmlPage.Document.DocumentUri;\nstring current = uriCurrent.OriginalStrin... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405812",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5115/"
] |
405,826 | <p>My problem is thus: I need a way to ensure only one given class can instantiate another. I don't want to have to make the other a nested inner class or something dumb like that. How do I do this? I forget offhand.</p>
| [
{
"answer_id": 405838,
"author": "tcurdt",
"author_id": 33165,
"author_profile": "https://Stackoverflow.com/users/33165",
"pm_score": 3,
"selected": false,
"text": "public class Creator {\n private static class Created {\n }\n}\n"
},
{
"answer_id": 405840,
"author": "tvanfo... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405826",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19825/"
] |
405,842 | <p>I am wondering if you use unset variables, empty strings (or 0's), or "None" to determine if a variable is "None"?</p>
<p>The case I'm thinking of is, I'm retrieving something from the database, but find that the value is not set for the record, usually determined by the fact that there are no records or a null val... | [
{
"answer_id": 405992,
"author": "Bill Zeller",
"author_id": 19234,
"author_profile": "https://Stackoverflow.com/users/19234",
"pm_score": 0,
"selected": false,
"text": "if($var === FALSE)\n ...\n"
},
{
"answer_id": 406017,
"author": "strager",
"author_id": 39992,
... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405842",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5441/"
] |
405,897 | <p>Using Zend_Form, how would I create form elements like this:</p>
<pre><code><input type="text" name="element[1]" value="" />
<input type="text" name="element[2]" value="" />
// etc...
</code></pre>
| [
{
"answer_id": 406268,
"author": "Stefan Gehrig",
"author_id": 11354,
"author_profile": "https://Stackoverflow.com/users/11354",
"pm_score": 6,
"selected": true,
"text": "$form = new Zend_Form();\n\n$subForm = new Zend_Form_SubForm();\n$subForm->addElement('Text', '1')\n ->addElem... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405897",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3765/"
] |
405,901 | <p>I've created an ASP.Net user control that will get placed more than once inside of web page. In this control I've defined a javascript object such as:</p>
<pre><code>function MyObject( options )
{
this.x = options.x;
}
MyObject.prototype.someFunction=function someFunctionF()
{
return this.x + 1;
}
</code></pre... | [
{
"answer_id": 406005,
"author": "Luca Matteis",
"author_id": 50394,
"author_profile": "https://Stackoverflow.com/users/50394",
"pm_score": 0,
"selected": false,
"text": "function MyObject( options ) { MyObject.x = options.x; }\nMyObject.x = 99; // static\nMyObject.prototype.someFunction... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405901",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20651/"
] |
405,909 | <p>Yes, another NULL vs empty string question.</p>
<p>I agree with the idea that NULL means not set, while empty string means "a value that is empty". Here's my problem: If the default value for a column is NULL, how do I allow the user to enter that NULL.</p>
<p>Let's say a new user is created on a system. There is ... | [
{
"answer_id": 405921,
"author": "tvanfosson",
"author_id": 12950,
"author_profile": "https://Stackoverflow.com/users/12950",
"pm_score": 3,
"selected": false,
"text": "name is null"
},
{
"answer_id": 48976803,
"author": "Titanium Creative",
"author_id": 3151515,
"aut... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405909",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5441/"
] |
405,910 | <p>I have a query to insert a row into a table, which has a field called ID, which is populated using an AUTO_INCREMENT on the column. I need to get this value for the next bit of functionality, but when I run the following, it always returns 0 even though the actual value is not 0:</p>
<pre><code>MySqlCommand comm = ... | [
{
"answer_id": 405922,
"author": "Michael Haren",
"author_id": 29,
"author_profile": "https://Stackoverflow.com/users/29",
"pm_score": 6,
"selected": true,
"text": "select last_insert_id();"
},
{
"answer_id": 14727533,
"author": "petra",
"author_id": 2021518,
"author_... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405910",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23249/"
] |
405,935 | <p>Why doesn't a textbox stretch to fill space in a stackpanel? Is this by design? In a grid, the textbox stretches as expected. </p>
| [
{
"answer_id": 406287,
"author": "Kent Boogaart",
"author_id": 5380,
"author_profile": "https://Stackoverflow.com/users/5380",
"pm_score": 4,
"selected": false,
"text": "StackPanel"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/405935",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40568/"
] |
405,944 | <p>With CPUs being increasingly faster, hard disks spinning, bits flying around so quickly, network speeds increasing as well, it's not that simple to tell bad code from good code like it used to be.</p>
<p>I remember a time when you could optimize a piece of code and undeniably perceive an improvement in performance.... | [
{
"answer_id": 406013,
"author": "Norman Ramsey",
"author_id": 41661,
"author_profile": "https://Stackoverflow.com/users/41661",
"pm_score": 0,
"selected": false,
"text": "gprof"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/405944",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10644/"
] |
405,950 | <p>If there is a REST resource that I want to monitor for changes or modifications from other clients, what is the best (and most RESTful) way of doing so?</p>
<p>One idea I've had for doing so is by providing specific resources that will keep the connection open rather than returning immediately if the resource does ... | [
{
"answer_id": 406037,
"author": "dbr",
"author_id": 745,
"author_profile": "https://Stackoverflow.com/users/745",
"pm_score": 6,
"selected": true,
"text": "/game/17/move/5"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/405950",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/29173/"
] |
405,967 | <p>The WPF <code>TextBox</code> natively makes use of the System Highlight color for painting the background of selected text. I would like to override this and make it consistent since it varies by OS/user theme.</p>
<p>For <code>ListBoxItem</code>s, there is a <a href="http://blogs.msdn.com/wpfsdk/archive/2007/08/31... | [
{
"answer_id": 406328,
"author": "Jobi Joy",
"author_id": 8091,
"author_profile": "https://Stackoverflow.com/users/8091",
"pm_score": -1,
"selected": false,
"text": "<Style x:Key=\"{x:Type TextBox}\" TargetType=\"{x:Type TextBox}\">\n"
},
{
"answer_id": 19119533,
"author": "C... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405967",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41693/"
] |
405,995 | <p>Could you, please, give a code snippet showing how to use Lua embedded in OCaml?</p>
<p>A simple example could be a "Hello, World" variant. Have OCaml prompt the user for a name. Then pass that name to a Lua function. Have Lua print a greeting and return the length of the name. Then have OCaml print a ... | [
{
"answer_id": 406036,
"author": "Norman Ramsey",
"author_id": 41661,
"author_profile": "https://Stackoverflow.com/users/41661",
"pm_score": 4,
"selected": true,
"text": "let lua = Lua.new() (* create Lua interpreter *)\nlet chunk = LuaL.loadfile lua \"hello.lua\" (* load and compile th... | 2009/01/02 | [
"https://Stackoverflow.com/questions/405995",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50797/"
] |
406,010 | <p>There is a pointer-to-an-Array of Arrays i.e. NameList in the code. I want the contents of each of the Arrays in the Pointer(NameList) to get printed one by one. The below code is not able do the task. Pls. help.</p>
<pre><code>int Data1[] = {10,10};
int Data2[] = {20,20};
int Data3[] = {30,30};
int *NameList[... | [
{
"answer_id": 406032,
"author": "strager",
"author_id": 39992,
"author_profile": "https://Stackoverflow.com/users/39992",
"pm_score": 0,
"selected": false,
"text": "int Data1[]\n"
},
{
"answer_id": 406110,
"author": "strager",
"author_id": 39992,
"author_profile": "h... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406010",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
406,016 | <p>I am crafting an application and cannot decide whether to use the terms <strong>Login/out</strong> or <strong>Logon/off</strong>. Is there a <em>more correct</em> option between these two? Should I use something else entirely (like "Sign on/off").</p>
<p>In terms of usability, as long as I am consistent it probably... | [
{
"answer_id": 406035,
"author": "Adam Liss",
"author_id": 29157,
"author_profile": "https://Stackoverflow.com/users/29157",
"pm_score": 9,
"selected": true,
"text": "\"Please enter your login credentials.\"\n\"I see three logons but only two logoffs from this user.\"\n"
},
{
"an... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406016",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/708/"
] |
406,020 | <p>I use the following code to create countdowns in Javascript. n is the number of times to repeat, freq is the number of milliseconds to wait before executing, funN is a function to call on each iteration (typically a function that updates part of the DOM) and funDone is the function to call when the countdown is comp... | [
{
"answer_id": 406056,
"author": "BenAlabaster",
"author_id": 40650,
"author_profile": "https://Stackoverflow.com/users/40650",
"pm_score": 3,
"selected": true,
"text": "TimedIteration = function(interval, iterations, methodToRun, completedMethod){\n\n var counter = iterations;\n var t... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406020",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19234/"
] |
406,030 | <p>I am working on a web project where I need to use WebDataGrid of Infragistics controls and customise the header layout. I did not find event like InitializeLayout in UltraWebGrid. My problem is that i want to row in header. What do I do?</p>
| [
{
"answer_id": 406042,
"author": "deadbug",
"author_id": 4646,
"author_profile": "https://Stackoverflow.com/users/4646",
"pm_score": 0,
"selected": false,
"text": "e.Layout.Bands[0].Columns.FromKey(<data field>).Header...\n"
},
{
"answer_id": 10107383,
"author": "Radoslav Min... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406030",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
406,038 | <p>I am just starting to use "Subversion" with "Tortoise SVN client" for one of my opensource project which is hosted on "Google Code". I would like to get some best practices on using it. I am following the default folder structure(trunk,branch,tag). Following are the questions</p>
<ol>
<li>When will you do the initi... | [
{
"answer_id": 406153,
"author": "Todd Smith",
"author_id": 31624,
"author_profile": "https://Stackoverflow.com/users/31624",
"pm_score": 0,
"selected": false,
"text": "/svn/users/me/project1\n"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406038",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50419/"
] |
406,043 | <p>What does it mean by POD type?cv-qualified?</p>
| [
{
"answer_id": 406050,
"author": "Christian C. Salvadó",
"author_id": 5445,
"author_profile": "https://Stackoverflow.com/users/5445",
"pm_score": 3,
"selected": false,
"text": "// non cv_qualified\nint one; \nchar *two; \n\n// cv-qualified \nconst int three; \nvolatile char * four; \n"
... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406043",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22076/"
] |
406,045 | <p>If you are doing something like the following:</p>
<pre><code>var i = $('input[@name=some_field]');
if (i.val() != '' && !(i.val() >=1 && i.val() <= 36) || i.val() == 'OT')) {
i.focus();
}
</code></pre>
<p>is <code>i.val()</code> fast enough to use it multiple times or should you do:</p>... | [
{
"answer_id": 406051,
"author": "jb.",
"author_id": 37522,
"author_profile": "https://Stackoverflow.com/users/37522",
"pm_score": 1,
"selected": false,
"text": "val"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406045",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5441/"
] |
406,053 | <p>When referencing class variables, why do people prepend it with <code>this</code>? I'm not talking about the case when <code>this</code> is used to disambiguate from method parameters, but rather when it seems unnecessary.</p>
<p>Example:</p>
<pre><code>public class Person {
private String name;
p... | [
{
"answer_id": 406064,
"author": "Daniel Spiewak",
"author_id": 9815,
"author_profile": "https://Stackoverflow.com/users/9815",
"pm_score": 5,
"selected": false,
"text": "public void setFoo(Bar foo) {\n this.foo = foo;\n}\n"
},
{
"answer_id": 406066,
"author": "Gishu",
... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406053",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24396/"
] |
406,076 | <p>Is there any way to have a 'Resizable' panel in GWT.</p>
<p>By resizable I mean that if you you drag on the edge of Panel it can be resized accordingly.</p>
| [
{
"answer_id": 409099,
"author": "Ratn Deo--Dev",
"author_id": 15476,
"author_profile": "https://Stackoverflow.com/users/15476",
"pm_score": 4,
"selected": true,
"text": "public class DraggablePanel extends VerticalPanel {\n private boolean isBeingDragged = false;\n private boolean... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406076",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15476/"
] |
406,081 | <p>Is it a good concept to use multiple inheritance or can I do other things instead?</p>
| [
{
"answer_id": 406095,
"author": "billybob",
"author_id": 49464,
"author_profile": "https://Stackoverflow.com/users/49464",
"pm_score": 5,
"selected": false,
"text": "class GrandParent;\nclass Parent1 : public GrandParent;\nclass Parent2 : public GrandParent;\nclass Child : public Parent... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406081",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50754/"
] |
406,097 | <p>There's a lot of capital C, capital S computer science going into Javascript via the Tracemonkey, Squirrelfish, and V8 projects. Do any of these projects (or others) address the performance of DOM operations, or are they purely Javascript computation related?</p>
| [
{
"answer_id": 406323,
"author": "olliej",
"author_id": 784,
"author_profile": "https://Stackoverflow.com/users/784",
"pm_score": 5,
"selected": true,
"text": "a*b"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406097",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4668/"
] |
406,121 | <p>Is there a simple way to flatten a list of iterables with a list comprehension, or failing that, what would you all consider to be the best way to flatten a shallow list like this, balancing performance and readability?</p>
<p>I tried to flatten such a list with a nested list comprehension, like this:</p>
<pre><co... | [
{
"answer_id": 406141,
"author": "recursive",
"author_id": 44743,
"author_profile": "https://Stackoverflow.com/users/44743",
"pm_score": 3,
"selected": false,
"text": "reduce(list.__add__, map(list, [mi.image_set.all() for mi in list_of_menuitems]))\n"
},
{
"answer_id": 406177,
... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406121",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27462/"
] |
406,133 | <p>I'm trying to configure an installer for some software we use within the company.</p>
<p>The installer is pushed out to target machines via SMS, and it performs the following steps:</p>
<ol>
<li>Terminate any currently running instances of the app (the app is a utility, so this isn't an impact on the user).</li>
<... | [
{
"answer_id": 406141,
"author": "recursive",
"author_id": 44743,
"author_profile": "https://Stackoverflow.com/users/44743",
"pm_score": 3,
"selected": false,
"text": "reduce(list.__add__, map(list, [mi.image_set.all() for mi in list_of_menuitems]))\n"
},
{
"answer_id": 406177,
... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406133",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18434/"
] |
406,155 | <p>I am using SVN for development tasks, but still have many files managed with RCS, because it does not seem reasonable to edit them in my private SVN repository working copy (since they're often just configuration files that are also best tested in-place). It also doesn't seem reasonable to have a working copy of the... | [
{
"answer_id": 409034,
"author": "Adam Byrtek",
"author_id": 36656,
"author_profile": "https://Stackoverflow.com/users/36656",
"pm_score": 2,
"selected": false,
"text": "cd ~/directory\nhg init\n"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406155",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2128202/"
] |
406,161 | <p>Am working on web based Job search application using Lucene.User on my site can search for jobs which are within a radius of 100 miles from say "Boston,MA" or any other location.
Also, I need to show the search results sorted by "relevance"(ie. Score returned by lucene) in descending order.</p>
<p>I'm using a 3rd... | [
{
"answer_id": 406846,
"author": "James Brady",
"author_id": 29903,
"author_profile": "https://Stackoverflow.com/users/29903",
"pm_score": 0,
"selected": false,
"text": "tempFinalQuery"
},
{
"answer_id": 1050513,
"author": "Anirvan",
"author_id": 31100,
"author_profil... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406161",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40907/"
] |
406,179 | <p>I need to write a small program that can detect that it has been changed. Please give me a suggestion!</p>
<p>Thank you.</p>
| [
{
"answer_id": 406271,
"author": "wilhelmtell",
"author_id": 456,
"author_profile": "https://Stackoverflow.com/users/456",
"pm_score": 0,
"selected": false,
"text": "#!/bin/bash\ncat $0\n"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406179",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50819/"
] |
406,192 | <p>I am using jQuery. How do I get the path of the current URL and assign it to a variable?</p>
<p>Example URL:</p>
<pre><code>http://localhost/menuname.de?foo=bar&amp;number=0
</code></pre>
| [
{
"answer_id": 406200,
"author": "clawr",
"author_id": 46201,
"author_profile": "https://Stackoverflow.com/users/46201",
"pm_score": 6,
"selected": false,
"text": "window.location"
},
{
"answer_id": 406208,
"author": "Ryan Doherty",
"author_id": 956,
"author_profile":... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406192",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44984/"
] |
406,207 | <p>I am developing a web application. When I build the application I can see the statement "Build Succeeded" in status bar even the syntax of object declaration is wrong in a aspx.cs file. I cleaned the solution again I tried to rebuild the application. But I did not get any error. If I am adding any block of code in t... | [
{
"answer_id": 406217,
"author": "icelava",
"author_id": 2663,
"author_profile": "https://Stackoverflow.com/users/2663",
"pm_score": 0,
"selected": false,
"text": "<%@ Page Language=\"C#\" AutoEventWireup=\"true\" CodeFile=\"I_AM_MODIFYING_THIS_PAGE.aspx.cs\" Inherits=\"I_AM_MODIFYING_T... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406207",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
406,210 | <p>A long time ago I had the following directory structure in my SVN repository</p>
<pre><code>trunk/
data/
levels/
1.level
2.level
...
...
...
</code></pre>
<p>But I deleted the 'levels' directory long ago. Now I want to add a single text file called 'level... | [
{
"answer_id": 406214,
"author": "Lily Ballard",
"author_id": 582,
"author_profile": "https://Stackoverflow.com/users/582",
"pm_score": 4,
"selected": true,
"text": "svn update"
},
{
"answer_id": 413869,
"author": "matpie",
"author_id": 51021,
"author_profile": "https... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406210",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/813/"
] |
406,212 | <p>How would one modify the following snippet (in a tableView:cellForRowAtIndexPath: UITableViewController method) from the "09a - PrefsTable" recipe from Chapter 6 of The iPhone Developer's Cookbook:</p>
<pre><code>if (row == 1) {
// Create a big word-wrapped UILabel
cell = [tableView dequeueReusableCellWit... | [
{
"answer_id": 406216,
"author": "Lily Ballard",
"author_id": 582,
"author_profile": "https://Stackoverflow.com/users/582",
"pm_score": 4,
"selected": false,
"text": "-sizeWithFont:forWidth:lineBreakMode:"
},
{
"answer_id": 406219,
"author": "Sophie Alpert",
"author_id": ... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406212",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4766/"
] |
406,226 | <p>I can't find the documentation for the NSString sizeWithFont:forWidth:lineBreakMode: method (see <a href="https://stackoverflow.com/users/582/kevin-ballard">Kevin Ballard</a>'s answer to "<a href="https://stackoverflow.com/questions/406212/sizing-a-uilabel-in-the-iphone-sdk-to-fit">Sizing a UILabel (in the iPhone SD... | [
{
"answer_id": 406231,
"author": "Athena",
"author_id": 17846,
"author_profile": "https://Stackoverflow.com/users/17846",
"pm_score": 4,
"selected": true,
"text": "sizeWithFont:forWidth:lineBreakMode:"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406226",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4766/"
] |
406,230 | <p>I know it's possible to match a word and then reverse the matches using other tools (e.g. <code>grep -v</code>). However, is it possible to match lines that do not contain a specific word, e.g. <code>hede</code>, using a regular expression?</p>
<h5>Input:</h5>
<pre><code>hoho
hihi
haha
hede
</code></pre>
<h5>Code:</... | [
{
"answer_id": 406243,
"author": "Athena",
"author_id": 17846,
"author_profile": "https://Stackoverflow.com/users/17846",
"pm_score": 8,
"selected": false,
"text": "grep -v hede"
},
{
"answer_id": 406408,
"author": "Bart Kiers",
"author_id": 50476,
"author_profile": "... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406230",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36830/"
] |
406,247 | <p>OSGi has a problem with split packages, i.e. same package but hosted in multiple bundles.</p>
<p>Are there any edge cases that split packages might pose problems in plain java (without OSGi) ?</p>
<p>Just curious.</p>
| [
{
"answer_id": 406617,
"author": "Tom Hawtin - tackline",
"author_id": 4725,
"author_profile": "https://Stackoverflow.com/users/4725",
"pm_score": 2,
"selected": false,
"text": "\"Sealed: true\""
},
{
"answer_id": 882319,
"author": "Steve Powell",
"author_id": 57171,
... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406247",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24457/"
] |
406,249 | <p>I'm working on an IPhone application that works with a Google App Engine application. I manage to get logged by using a google account and I get the authentication token. I'm also able to GET data from the GAE service (I did it after reading another question written here) but now I need to POST data so I need to sen... | [
{
"answer_id": 406733,
"author": "Ben Gottlieb",
"author_id": 6694,
"author_profile": "https://Stackoverflow.com/users/6694",
"pm_score": 2,
"selected": false,
"text": "[request setHTTPMethod: @\"POST\"]"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406249",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
406,252 | <p>A workmate floated the idea of using rake as a build system for a non-ruby project. Is it possible to extend rake to compliment other languages where the autoconf toolset would usually be used?</p>
| [
{
"answer_id": 422071,
"author": "rkj",
"author_id": 37086,
"author_profile": "https://Stackoverflow.com/users/37086",
"pm_score": 1,
"selected": false,
"text": "<target name=\"custom_task\">\n <exec executable=\"/usr/bin/env\">\n <arg value=\"rake\"/>\n <arg value=\"som... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406252",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9532/"
] |
406,253 | <p>I have tried one where clause in Linq to get details about <code>User</code>s those who are <code>Active</code> and <code>AllowLogin</code> is also true.</p>
<p>So how can I compare the table values (both are boolean values) with true or false?</p>
| [
{
"answer_id": 406261,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 4,
"selected": false,
"text": "var query = from user in context.Users\n where user.Active && user.AllowLogin\n select user;\n"
... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406253",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
406,258 | <p>According to the Perl source code page on CPAN, 5.8.9 is now 14 days old, and will be the last 5.8 release. 5.10.0 is over a year old and presumably ready for use in Production.</p>
<p>Leaving aside discussion of Perl 6 for now, can I ask what versions of Perl folks are testing, rolling out and using in production?... | [
{
"answer_id": 408617,
"author": "Brad Gilbert",
"author_id": 1337,
"author_profile": "https://Stackoverflow.com/users/1337",
"pm_score": 1,
"selected": false,
"text": "Perl 5.10"
},
{
"answer_id": 409837,
"author": "Schwern",
"author_id": 14660,
"author_profile": "ht... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406258",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45284/"
] |
406,288 | <p>I recently started working in Java and was introduced to the wild and crazy world of getters and setters for everything. I hated it at first, but quickly got used to it. Too used to it.</p>
<p>I have been spending a lot of time lately thinking more about class design. One of the things I am trying to do is avoid th... | [
{
"answer_id": 406303,
"author": "cletus",
"author_id": 18393,
"author_profile": "https://Stackoverflow.com/users/18393",
"pm_score": 3,
"selected": false,
"text": "public class Space {\n private final String name;\n private final String description;\n\n public Space(final Strin... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406288",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50453/"
] |
406,293 | <p>C# 2.0 gives me access to nullable types. This seems very convenient when I want the DateTime variable in the database to be null. Is there anything I should worry about when using nullable types or can I go overboard and make every type I have nullable?</p>
| [
{
"answer_id": 406304,
"author": "Mitch Wheat",
"author_id": 16076,
"author_profile": "https://Stackoverflow.com/users/16076",
"pm_score": 2,
"selected": false,
"text": "DBNull"
},
{
"answer_id": 406319,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "ht... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406293",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10352/"
] |
406,294 | <p>What is the difference between <code>LEFT JOIN</code> and <code>LEFT OUTER JOIN</code>?</p>
| [
{
"answer_id": 406299,
"author": "Mitch Wheat",
"author_id": 16076,
"author_profile": "https://Stackoverflow.com/users/16076",
"pm_score": 9,
"selected": false,
"text": "LEFT JOIN"
},
{
"answer_id": 406333,
"author": "Lasse V. Karlsen",
"author_id": 267,
"author_profi... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406294",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48581/"
] |
406,298 | <p>I am trying to join tableA with some data to an empty set of another tableB. The main purpose is to get all the columns of tableB. I do not need any data of tableB.</p>
<p>I have constucted the following SQL:</p>
<pre><code>SELECT uar.*, s.screen_id, s.screen_name
FROM crs_screens
LEFT JOIN crs\_user\_access\_ri... | [
{
"answer_id": 406299,
"author": "Mitch Wheat",
"author_id": 16076,
"author_profile": "https://Stackoverflow.com/users/16076",
"pm_score": 9,
"selected": false,
"text": "LEFT JOIN"
},
{
"answer_id": 406333,
"author": "Lasse V. Karlsen",
"author_id": 267,
"author_profi... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406298",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46971/"
] |
406,312 | <p>Here is my class:</p>
<pre><code>public class User
{
public int Id { get; set; }
public string Name { get; set; }
public ISet<User> Friends { get; set; }
}
</code></pre>
<p>Here is my mapping:</p>
<pre><code><?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-map... | [
{
"answer_id": 406348,
"author": "Darin Dimitrov",
"author_id": 29407,
"author_profile": "https://Stackoverflow.com/users/29407",
"pm_score": 0,
"selected": false,
"text": "User user = session\n .CreateCriteria(typeof(User))\n .SetFetchMode(\"Friends\", FetchMode.Eager)\n .Add(E... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406312",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50275/"
] |
406,315 | <p>This problem involved me not knowing enough of C++. I am trying to access a specific value that I had placed in the Heap, but I'm unsure of how to access it. In my problem, I had placed a value in a heap from a data member function in an object, and I am trying to access it in another data member function. Problem i... | [
{
"answer_id": 406326,
"author": "abelenky",
"author_id": 34824,
"author_profile": "https://Stackoverflow.com/users/34824",
"pm_score": 5,
"selected": true,
"text": "class Grid\n{\n private: int* pValue;\n public: void HeapValues();\n void AccessHeap();\n};\n"
},
{
"an... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406315",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
406,316 | <p>How do I pass have a Javascript script request a PHP page and pass data to it? How do I then have the PHP script pass data back to the Javascript script?</p>
<p>client.js:</p>
<pre><code>data = {tohex: 4919, sum: [1, 3, 5]};
// how would this script pass data to server.php and access the response?
</code></pre>
<... | [
{
"answer_id": 406324,
"author": "Kezzer",
"author_id": 39693,
"author_profile": "https://Stackoverflow.com/users/39693",
"pm_score": 2,
"selected": false,
"text": "<script language=\"javascript\" type=\"text/javascript\">\n function _vals(target, value){\n form1.all(\"target\").value=... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406316",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/49318/"
] |
406,351 | <p>Is there any good way convert a binary (base 2) strings to integers in T-SQL (if not I guess I can write a function...)</p>
<p>'0110' => 6 etc.</p>
| [
{
"answer_id": 406359,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 2,
"selected": true,
"text": "SELECT (8 * CONVERT(int, SUBSTRING(@x, 1, 1)))\n + (4 * CONVERT(int, SUBSTRING(@x, 2, 1)))\n + (2 * CONVERT(int, ... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406351",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40939/"
] |
406,352 | <p>I'm experiencing some issues regarding my javabuilder-compiled matlab-code. My application is basically split up like this:</p>
<ul>
<li>GUI: Java</li>
<li>Calculations: Matlab</li>
</ul>
<p>The main problem is that when compiling my matlab-code with the javabuilder in Matlab (R17, 2007a), I have less memory avail... | [
{
"answer_id": 406690,
"author": "atsjoo",
"author_id": 37257,
"author_profile": "https://Stackoverflow.com/users/37257",
"pm_score": 0,
"selected": false,
"text": "Physical Memory (RAM):\n In Use: 1568 MB (62059000)\n Free: ... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406352",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37257/"
] |
406,358 | <p>How to protect a SQL Server database from viewing others?</p>
| [
{
"answer_id": 406690,
"author": "atsjoo",
"author_id": 37257,
"author_profile": "https://Stackoverflow.com/users/37257",
"pm_score": 0,
"selected": false,
"text": "Physical Memory (RAM):\n In Use: 1568 MB (62059000)\n Free: ... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406358",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
406,361 | <p>My code:</p>
<pre><code>a = '2.3'
</code></pre>
<p>I wanted to display <code>a</code> as a floating point value.</p>
<p>Since <code>a</code> is a string, I tried:</p>
<pre><code>float(a)
</code></pre>
<p>The result I got was :</p>
<pre><code>2.2999999999999998
</code></pre>
<p>I want a solution for this probl... | [
{
"answer_id": 407366,
"author": "Ali Afshar",
"author_id": 28380,
"author_profile": "https://Stackoverflow.com/users/28380",
"pm_score": 3,
"selected": false,
"text": ">>> from decimal import Decimal\n>>> a = Decimal('2.3')\n>>> print a\n2.3\n"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406361",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46646/"
] |
406,380 | <p>I am using Infragistics wingrid in my application. I have assigned a datasource to my wingrid. Now i want to add a new column at a specific location.</p>
<p>Can any one please tell me how can this be performed?</p>
<p>Regards, Savan.</p>
| [
{
"answer_id": 407366,
"author": "Ali Afshar",
"author_id": 28380,
"author_profile": "https://Stackoverflow.com/users/28380",
"pm_score": 3,
"selected": false,
"text": ">>> from decimal import Decimal\n>>> a = Decimal('2.3')\n>>> print a\n2.3\n"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406380",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40293/"
] |
406,385 | <p>I wanted to set some handler for all the unexpected exceptions that I might not have caught inside my code. In <code>Program.Main()</code> I used the following code:</p>
<pre><code>AppDomain.CurrentDomain.UnhandledException
+= new UnhandledExceptionEventHandler(ErrorHandler.HandleException);
</code></pre>
<p>B... | [
{
"answer_id": 406394,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 3,
"selected": false,
"text": "Application.ThreadException"
},
{
"answer_id": 406473,
"author": "peSHIr",
"author_id": 50846,
"a... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406385",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40872/"
] |
406,386 | <p>Where can I find a Visual Studio plug-in that automatically generates documentation header for methods and properties?</p>
<p>Example the comment to a property could look like this:</p>
<pre><code>/// <summary>
/// Gets or sets the value of message
/// </summary>
public static string Message
{
... | [
{
"answer_id": 409708,
"author": "Matthew",
"author_id": 20162,
"author_profile": "https://Stackoverflow.com/users/20162",
"pm_score": 2,
"selected": false,
"text": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\nusing System.Web;\n\nnamespace MvcWidgets.Models\n{\... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406386",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18631/"
] |
406,396 | <p>I am trying to prefix a string (<code>reference_</code>) to the names of all the *.bmp files in all the directories as well sub-directories. The first time we run the silk script, it will create directories as well subdirectories, and under each subdirectory it will store each mobile application's sceenshot with <co... | [
{
"answer_id": 406441,
"author": "Jonathan Leffler",
"author_id": 15168,
"author_profile": "https://Stackoverflow.com/users/15168",
"pm_score": 2,
"selected": false,
"text": "reference_"
},
{
"answer_id": 406530,
"author": "jfs",
"author_id": 4279,
"author_profile": "... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406396",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45284/"
] |
406,400 | <p>I have a div that contains other floating divs:</p>
<p><div id="parent"><br />
<div style="float:left;">text</div><br />
<div style="float:left;">text</div><br />
<div style="float:right;">text</div><br />
</div></p>
<p>How can I a... | [
{
"answer_id": 406451,
"author": "bochgoch",
"author_id": 50450,
"author_profile": "https://Stackoverflow.com/users/50450",
"pm_score": 1,
"selected": false,
"text": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n \"http://www.w3.org/TR/html4/strict.dtd\">\n\n<html>\n<head>\n<titl... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406400",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/676066/"
] |
406,402 | <p>I wrote this code </p>
<h2>I have these errors</h2>
<p>Cannot implicitly convert type x.Program.TreeNode' to 'int' // on findmin</p>
<p>Cannot implicitly convert type x.Program.TreeNode' to 'int' // on findmax</p>
<p>and is my main correct or missing somethin?</p>
<p>and how i can count the nodes,leaves and get... | [
{
"answer_id": 406409,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 3,
"selected": true,
"text": "FindMin"
},
{
"answer_id": 406410,
"author": "Giraffe",
"author_id": 50136,
"author_profile": "htt... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406402",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
406,433 | <p>Which one is better when performance is taken into consideration an
<strong>if else if</strong> or <strong>switch case</strong></p>
<p>Duplicate: <a href="https://stackoverflow.com/questions/395618/ifelse-vs-switch">Is there any significant difference between using if/else and switch-case in C#?</a></p>
| [
{
"answer_id": 406438,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 0,
"selected": false,
"text": "switch"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406433",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47738/"
] |
406,446 | <p>I haven't used a statically typed language in many years and have set myself the task of getting up to speed with C#. I'm using my usual trick of following the fifteen exercises here <a href="http://www.jobsnake.com/seek/articles/index.cgi?openarticle&8533" rel="noreferrer">http://www.jobsnake.com/seek/articles/... | [
{
"answer_id": 406448,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 7,
"selected": true,
"text": "using System;\nusing System.Collections.Generic;\nusing System.Linq;\n\nstatic class Program {\n static IEnumerable... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406446",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37196/"
] |
406,463 | <p>I want all the Method-ClassName from namespace</p>
<p>like i have system.windows.Forms</p>
<p>wehen in visual studio we rigt system.windows.Forms. it will suggest box of all the related method,class,enum extra</p>
<p>i need to fetch the same ,how can i do that in C#</p>
| [
{
"answer_id": 406467,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 3,
"selected": false,
"text": "var types = assembly.GetTypes().Where(type => type.Namespace == desiredNamespace);\n"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406463",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
406,485 | <p>How do you do it? Given a byte array:</p>
<pre><code>byte[] foo = new byte[4096];
</code></pre>
<p>How would I get the first x bytes of the array as a separate array? (Specifically, I need it as an <code>IEnumerable<byte></code>)</p>
<p>This is for working with <code>Socket</code>s. I figure the easiest way... | [
{
"answer_id": 406489,
"author": "Arjan Einbu",
"author_id": 19594,
"author_profile": "https://Stackoverflow.com/users/19594",
"pm_score": 7,
"selected": false,
"text": "CopyTo()"
},
{
"answer_id": 406496,
"author": "bleevo",
"author_id": 45909,
"author_profile": "htt... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406485",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15537/"
] |
406,487 | <p>I have a DateTime class and wish to display it according to some format... in this case, I specifically want to format it as YYYYMMDD format.</p>
<p>What's the best C#/.NET API function for doing this?</p>
| [
{
"answer_id": 406490,
"author": "Will Dean",
"author_id": 987,
"author_profile": "https://Stackoverflow.com/users/987",
"pm_score": 0,
"selected": false,
"text": "DateTime.ToString(<format string>)\n"
},
{
"answer_id": 406491,
"author": "Marc Gravell",
"author_id": 23354... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406487",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34685/"
] |
406,504 | <p>Say I have textboxes, dropdownlists and submit buttons. They are all inline-elements. Which means that "officially" margin, padding, width and height properties should be ignored (in practice not really). If I were to go the right way to set the height to a button I would write something like display:block and then ... | [
{
"answer_id": 406588,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 2,
"selected": true,
"text": "<li>"
},
{
"answer_id": 406783,
"author": "Ionuț Staicu",
"author_id": 23810,
"author_profile": "https://St... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406504",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50855/"
] |
406,514 | <p>I got this ajax form in a ASP.NET MVC beta application :</p>
<pre><code> <%using (this.Ajax.BeginForm("Edit", "Subscriber",
new AjaxOptions { OnSuccess = "onEditResult", HttpMethod = "GET" }))
{%>
<%=Html.Hidden("idSub", p.Id.ToString())%>
<inp... | [
{
"answer_id": 406588,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 2,
"selected": true,
"text": "<li>"
},
{
"answer_id": 406783,
"author": "Ionuț Staicu",
"author_id": 23810,
"author_profile": "https://St... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406514",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3109/"
] |
406,520 | <p>Hi i executed the following stored procedure in .net web application. Then run the application. I got this error</p>
<p>" Divide By zero error "</p>
<p>Stored procedure:</p>
<pre><code>CREATE procedure Details(@Stringtext varchar(8000),@SearchStringtext varchar(100))
as begin
SELECT ({fn LENGTH(@Stringtext)}-
{fn... | [
{
"answer_id": 406521,
"author": "slim",
"author_id": 7512,
"author_profile": "https://Stackoverflow.com/users/7512",
"pm_score": 2,
"selected": false,
"text": "{ fn LENGTH(@SearchStringtext)}\n"
},
{
"answer_id": 406525,
"author": "Spoike",
"author_id": 3713,
"author... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406520",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
406,526 | <p>I need to define new UI Elements as well as data binding in code because they will be implemented after run-time. Here is a simplified version of what I am trying to do.</p>
<p>Data Model:</p>
<pre><code>public class AddressBook : INotifyPropertyChanged
{
private int _houseNumber;
public int HouseNumber
... | [
{
"answer_id": 406546,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 0,
"selected": false,
"text": "_houseNumber"
},
{
"answer_id": 406555,
"author": "Cameron MacFarland",
"author_id": 3820,
"autho... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406526",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50859/"
] |
406,533 | <p>Which dependency should be added in pom file to import <code>org.apache.tiles.controller</code>?</p>
| [
{
"answer_id": 406562,
"author": "Andrew Newdigate",
"author_id": 50131,
"author_profile": "https://Stackoverflow.com/users/50131",
"pm_score": 1,
"selected": false,
"text": "<dependency>\n <groupId>org.apache.struts</groupId>\n <artifactId>struts-tiles</artifactId>\n <version>1... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406533",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40933/"
] |
406,550 | <p>I am trying to find the best way to design the database in order to allow the following scenario:</p>
<ol>
<li>The user is presented with a dropdown list of Universities (for example)</li>
<li>The user selects his/her university from the list if it exists</li>
<li>If the university does not exist, he should enter h... | [
{
"answer_id": 406560,
"author": "Kezzer",
"author_id": 39693,
"author_profile": "https://Stackoverflow.com/users/39693",
"pm_score": -1,
"selected": false,
"text": "INSERT INTO MyTable Name VALUES ('myval'); SELECT @@SCOPE_IDENTITY()\n"
},
{
"answer_id": 406563,
"author": "S... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406550",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47582/"
] |
406,552 | <p>I cannot seem to access the context object using a loop context is set: <code>var context = [id1, id2, id3];</code></p>
<p>This callback function works:</p>
<pre><code>function OnChangeSucceeded(result, context, methodName) {
document.getElementById(context[0]).disabled = result;
document.getElementById(co... | [
{
"answer_id": 406560,
"author": "Kezzer",
"author_id": 39693,
"author_profile": "https://Stackoverflow.com/users/39693",
"pm_score": -1,
"selected": false,
"text": "INSERT INTO MyTable Name VALUES ('myval'); SELECT @@SCOPE_IDENTITY()\n"
},
{
"answer_id": 406563,
"author": "S... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406552",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3416/"
] |
406,558 | <p>I usually get so confused with UML and this situation is no different.
Let's say I have an interface IAnimal, class Food and Cat:</p>
<pre><code>interface IAnimal {
void Feed(Food food);
}
class Cat : IAnimal {
void Feed(Food food) {
//code
}
}
</code></pre>
<p>I've got 3 questions about drawi... | [
{
"answer_id": 406581,
"author": "Arne Burmeister",
"author_id": 12890,
"author_profile": "https://Stackoverflow.com/users/12890",
"pm_score": 0,
"selected": false,
"text": " IAnimal ----> Food\n ^ ^\n // \\\\\n // \\\\\n Cat Dog\n"
},
{
"answer_id": 4065... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406558",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40872/"
] |
406,561 | <p>I have a file "atest.txt" that have some text..</p>
<p>I want to print this text at files "asdasd.txt asgfaya.txt asdjfusfdgh.txt asyeiuyhavujh.txt"</p>
<p>This files is not exist on my server..</p>
<p>I'm running Debian.. What can i do?</p>
| [
{
"answer_id": 406571,
"author": "Eineki",
"author_id": 29125,
"author_profile": "https://Stackoverflow.com/users/29125",
"pm_score": 1,
"selected": false,
"text": "#!/bin/bash\n$TEXT=\"hello\\nthis is a test\\nthank you\"\nfor i in `seq 1 $1`; do echo -e $TEXT >text$i.txt; done\n"
},
... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406561",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
406,587 | <p>I'm working on an 'advanced search' page on a site where you would enter a keyword such as 'I like apples' and it can search the database using the following options:</p>
<blockquote>
<p>Find : With all the words, With the
exact phrase , With at least one of
the words, Without the words</p>
</blockquote>
<p>... | [
{
"answer_id": 406596,
"author": "Re0sless",
"author_id": 2098,
"author_profile": "https://Stackoverflow.com/users/2098",
"pm_score": 2,
"selected": false,
"text": "SELECT * FROM myTable WHERE field LIKE '%$keyword%' \nor field LIKE '%$keyword2%' \nor field LIKE '%$keyword3%';\n"
},
... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406587",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/49153/"
] |
406,613 | <p>I recently wrote a piece of code which did</p>
<pre><code>SomeClass someObject;
mysqlpp::StoreQueryResult result = someObject.getResult();
</code></pre>
<p>where SomeClass::getResult() looks like:</p>
<pre><code>mysqlpp::StoreQueryResult SomeClass::getResult()
{
mysqlpp::StoreQueryResult res = ...<something>... | [
{
"answer_id": 406633,
"author": "erikkallen",
"author_id": 47161,
"author_profile": "https://Stackoverflow.com/users/47161",
"pm_score": 0,
"selected": false,
"text": "SomeClass someObject;\nmysqlpp::StoreQueryResult result;\nresult = someObject.getResult();\n"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406613",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42387/"
] |
406,616 | <p>I want to display an image gallery, and on the view page, one should be able to have a look at a bunch of thumbnails: the current picture, wrapped with the two previous entries and the two next ones.</p>
<p>The problem of fetching two next/prev is that I can't (unless I'm mistaken) select something like MAX(id) WHE... | [
{
"answer_id": 406652,
"author": "Garry Shutler",
"author_id": 6369,
"author_profile": "https://Stackoverflow.com/users/6369",
"pm_score": 2,
"selected": false,
"text": "where id >= @id-2 and id <= @id+2\n"
},
{
"answer_id": 406661,
"author": "Jeremiah Peschka",
"author_i... | 2009/01/02 | [
"https://Stackoverflow.com/questions/406616",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50871/"
] |
406,637 | <p>See code below, for some reason it only works when I put a breakpoint on line 2 (*) is there some delay? Is it starting the next line before it finishes the 2nd one?</p>
<pre><code>dp.SSLCertStoreType = nsoftware.IBizPayPal.DirectpaymentSSLCertStoreTypes.sstPEMKey
*dp.SSLCertStore = My.Computer.FileSystem.ReadAllT... | [
{
"answer_id": 406650,
"author": "annakata",
"author_id": 13018,
"author_profile": "https://Stackoverflow.com/users/13018",
"pm_score": 3,
"selected": true,
"text": "nsoftware.IBizPayPal"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406637",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18309/"
] |
406,640 | <p>I am trying to vertically center an anchor within a fieldset using CSS but it always appears to align to bottom. Is there any tricks to this?</p>
| [
{
"answer_id": 407064,
"author": "bochgoch",
"author_id": 50450,
"author_profile": "https://Stackoverflow.com/users/50450",
"pm_score": 0,
"selected": false,
"text": "<a href=\"www.google.com\" style=\"vertical-align:middle;\">google</a>\n"
}
] | 2009/01/02 | [
"https://Stackoverflow.com/questions/406640",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27294/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.