qid int64 4 22.2M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
349,366 | <p>I've notice an issue - it feels like a bug but I suspect a 'feature' - in SSMS in SQL Server 2008.</p>
<p>I have various tabs open, for example an alter table script in one table and a SProc that queries that table in another tab, and when I execute my Alter Table script the changes are not reflected in Intellisens... | [
{
"answer_id": 1840118,
"author": "Gabriel Guimarães",
"author_id": 181969,
"author_profile": "https://Stackoverflow.com/users/181969",
"pm_score": 6,
"selected": false,
"text": "CTRL"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349366",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6898/"
] |
349,369 | <p>I want to send some strings in a list in a POST call. eg:</p>
<pre><code> www.example.com/?post_data = A list of strings
</code></pre>
<p>The python code receives the data as a single string (Instead of a list of strings). How do I post it as a list of strings?</p>
| [
{
"answer_id": 349389,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 2,
"selected": false,
"text": "post_data= \",\".join( list_of_strings )\n"
},
{
"answer_id": 349776,
"author": "Philippe F",
"author_id": ... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349369",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2220518/"
] |
349,375 | <p>When it comes to putting the <strong>submit and reset buttons</strong> on your forms, <strong>what order do you use?</strong></p>
<pre><code>[SUBMIT] [RESET]
</code></pre>
<p>or</p>
<pre><code>[RESET] [SUBMIT]
</code></pre>
<p>This issue has come up countless times at work...</p>
<p>So, in your opinion, which i... | [
{
"answer_id": 349423,
"author": "Andreas Grech",
"author_id": 44084,
"author_profile": "https://Stackoverflow.com/users/44084",
"pm_score": 0,
"selected": false,
"text": "confirm"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349375",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44084/"
] |
349,383 | <p>How is it possible to check if MOSS Standard or MOSS Enterprise is installed?</p>
| [
{
"answer_id": 456821,
"author": "dahlbyk",
"author_id": 54249,
"author_profile": "https://Stackoverflow.com/users/54249",
"pm_score": 2,
"selected": false,
"text": "SPFarm.Local.FeatureDefinitions"
},
{
"answer_id": 12693374,
"author": "Still Learning",
"author_id": 1694... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349383",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41291/"
] |
349,387 | <p>I am testing a couple of workflows for their workflow history cleanup time intervals. The workflow History needs to be retained for a specific number of days. I have implemented the solutions recommended <a href="http://mdablog.spaces.live.com/Blog/cns!B0C40902E1212960!796.entry" rel="nofollow noreferrer">here</a> <... | [
{
"answer_id": 456821,
"author": "dahlbyk",
"author_id": 54249,
"author_profile": "https://Stackoverflow.com/users/54249",
"pm_score": 2,
"selected": false,
"text": "SPFarm.Local.FeatureDefinitions"
},
{
"answer_id": 12693374,
"author": "Still Learning",
"author_id": 1694... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349387",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1909/"
] |
349,398 | <p>Where can you get information on the ASP.NET State Service e.g. how it works, performance, behaviour characteristics etc.
Have looked on internet but cant find in depth information or an article dedicated to the subject.
Thanks</p>
| [
{
"answer_id": 349578,
"author": "JSC",
"author_id": 37311,
"author_profile": "https://Stackoverflow.com/users/37311",
"pm_score": 0,
"selected": false,
"text": "Session[\"Key\"]"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349398",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,410 | <p>I have a registry value which is stored as a binary value (REG_BINARY) holding information about a filepath. The value is read out into an byte array. But how can I transform it into a readable string?</p>
<p>I have read about system.text.encoding.ASCII.GetString(value) but this does not work. As far as I got to kn... | [
{
"answer_id": 349428,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 3,
"selected": true,
"text": "Encoding.Unicode.GetString(value)"
},
{
"answer_id": 349486,
"author": "abatishchev",
"author_id": 41956,... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349410",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25428/"
] |
349,442 | <p>I have a class with two methods defined in it.</p>
<pre><code>public class Routines {
public static method1() {
/* set of statements */
}
public static method2() {
/* another set of statements.*/
}
}
</code></pre>
<p>Now I need to call method1() from method2()</p>
<p>Which one th... | [
{
"answer_id": 349484,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 1,
"selected": false,
"text": "Routines.method1()"
},
{
"answer_id": 349511,
"author": "Yuval Adam",
"author_id": 24545,
"author_pr... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349442",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40614/"
] |
349,446 | <p>I am given a problem where I have been given N nodes in a graph that are interconnected to each other then given a matrix which lists down a node being connected to another (1 if it is, 0 if not). I am wondering how to best approach this problem. I think these are adjacency matrix? But how would I implement that .... | [
{
"answer_id": 349493,
"author": "Piotr Lesnicki",
"author_id": 38796,
"author_profile": "https://Stackoverflow.com/users/38796",
"pm_score": 2,
"selected": false,
"text": "M"
},
{
"answer_id": 349646,
"author": "James",
"author_id": 41039,
"author_profile": "https://... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349446",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44286/"
] |
349,459 | <p>Say I have a table called "xml" that stores XML files in a single column "data". How would I write a MySQL query that run an XPath and return only rows matching that XPath?</p>
| [
{
"answer_id": 350180,
"author": "Bill Karwin",
"author_id": 20860,
"author_profile": "https://Stackoverflow.com/users/20860",
"pm_score": 4,
"selected": true,
"text": "SELECT * FROM xml\nWHERE EXTRACTVALUE(data, '<xpath-expr>') != '';\n"
},
{
"answer_id": 350226,
"author": "... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349459",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11236/"
] |
349,460 | <p>I have this code:</p>
<pre><code>SELECT idcallhistory3, callid, starttime, answertime, endtime, duration,
is_answ, is_fail, is_compl, is_fromoutside, mediatype, from_no,
to_no, callerid, dialednumber, lastcallerid, lastdialednumber,
group_no, line_no
FROM "public".callhistory3
... | [
{
"answer_id": 349473,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 1,
"selected": false,
"text": "WHERE (? IS NULL OR starttime >= ?)\n"
},
{
"answer_id": 349481,
"author": "Community",
"author_id": -1,... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349460",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,513 | <p>I'm looking for a way to easily load test and benchmark some of our SQL (using ADO.NET, nothing fancy using LINQ or PLINQ) that has to be performant when running under high parallel load.</p>
<p>I've thought of using the new parallel extensions CTP and specifically <code>Parallel.For</code> / <code>Parallel.ForEach... | [
{
"answer_id": 349617,
"author": "Mauricio Scheffer",
"author_id": 21239,
"author_profile": "https://Stackoverflow.com/users/21239",
"pm_score": 0,
"selected": false,
"text": "PLINQ_DOP\nDOP stands for degree of parallelism. Setting this environment variable defines the number of threads... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349513",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5777/"
] |
349,520 | <p>Is there any built-in utility or helper to parse <code>HttpContext.Current.User.Identity.Name</code>, e.g. <code>domain\user</code> to get separately domain name if exists and user?</p>
<p>Or is there any other class to do so?</p>
<p>I understand that it's very easy to call <code>String.Split("\")</code> but just ... | [
{
"answer_id": 349654,
"author": "Ian G",
"author_id": 31765,
"author_profile": "https://Stackoverflow.com/users/31765",
"pm_score": 2,
"selected": false,
"text": "public static string GetDomain(string s)\n{\n int stop = s.IndexOf(\"\\\\\");\n return (stop > -1) ? s.Substring(0, st... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349520",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41956/"
] |
349,524 | <p>In my SQL Server backend for my app, I want to create history tables for a bunch of my key tables, which will track a history of changes to the rows.</p>
<p>My entire application uses Stored Procedures, there is no embedded SQL.
The only connection to the database to modify these tables will be through the applicat... | [
{
"answer_id": 363757,
"author": "Ian Boyd",
"author_id": 12597,
"author_profile": "https://Stackoverflow.com/users/12597",
"pm_score": 6,
"selected": true,
"text": "CREATE TABLE [AuditLog] (\n [AuditLogID] [int] IDENTITY (1, 1) NOT NULL ,\n [ChangeDate] [datetime] NOT NULL CONSTRA... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349524",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24126/"
] |
349,536 | <p>I've got a potentially rather large list of objects I'd like to bind to a ListBox in WPF. However, I'd like to have the List load itself incrementally. How can I bind a ListBox to an IEnumerable that loads itself on-demand in such a way that the listbox only tries to enumerate as much as it needs for the display?... | [
{
"answer_id": 349947,
"author": "Cameron MacFarland",
"author_id": 3820,
"author_profile": "https://Stackoverflow.com/users/3820",
"pm_score": 3,
"selected": true,
"text": "<ListBox \n VirtualizingStackPanel.IsVirtualizing=\"True\"\n ItemSource=\"...\"\n />\n"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349536",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3279/"
] |
349,540 | <p>Is there a way to sniff SQL queries sent to a SQL Server db on any level (above transport level)? Perhaps there's some kind of a tracer in ASP.NET or built-in log in SQL Server ? </p>
| [
{
"answer_id": 349585,
"author": "Dave Harding",
"author_id": 42697,
"author_profile": "https://Stackoverflow.com/users/42697",
"pm_score": 2,
"selected": false,
"text": "select db_id()\n"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349540",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,544 | <p>There is <code>ConnectionManager</code> which waits for incoming connections. For each incoming connection it creates a <code>Connection</code> instance which handles the inbound and outbound traffic on this connection. Each <code>Connection</code> has a <code>Watchdog</code> which handles "bad connection" condition... | [
{
"answer_id": 349567,
"author": "Skizz",
"author_id": 1898,
"author_profile": "https://Stackoverflow.com/users/1898",
"pm_score": 2,
"selected": false,
"text": "ConnectionManager"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349544",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8976/"
] |
349,559 | <p>I have a database with two main tables <code>notes</code> and <code>labels</code>. They have a many-to-many relationship (similar to how stackoverflow.com has questions with labels). What I am wondering is how can I search for a note using multiple labels using SQL? </p>
<p>For example if I have a note "test" wi... | [
{
"answer_id": 349570,
"author": "Kev",
"author_id": 16777,
"author_profile": "https://Stackoverflow.com/users/16777",
"pm_score": 1,
"selected": false,
"text": "select * from notes a\ninner join notes_labels mm on (mm.note = a.id and mm.labeltext in ('one', 'two') )\n"
},
{
"ans... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349559",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5004/"
] |
349,576 | <p>On Linux, how can I (programmatically) retrieve the following counters <em>on a per-interface basis</em>:</p>
<ul>
<li>Sent/received ethernet frames,</li>
<li>Sent/received IPv4 packets,</li>
<li>Sent/received IPv6 packets.</li>
</ul>
| [
{
"answer_id": 349623,
"author": "xahtep",
"author_id": 42184,
"author_profile": "https://Stackoverflow.com/users/42184",
"pm_score": 4,
"selected": true,
"text": "iptables"
},
{
"answer_id": 349629,
"author": "unwind",
"author_id": 28169,
"author_profile": "https://S... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349576",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21435/"
] |
349,597 | <p>Is anyone aware of a good resource <strong><em>online</em></strong> for detailed information on the use of ole excel objects(embeded workbooks, worksheets, etc...) in VB6? I'm maintaining an application that makes heavy use of these conrols and I'm having a lot of trouble getting them to work properly for the user's... | [
{
"answer_id": 381896,
"author": "JeffK",
"author_id": 5420,
"author_profile": "https://Stackoverflow.com/users/5420",
"pm_score": 3,
"selected": true,
"text": "' Start a new workbook in Excel '\n\nDim oExcel As Excel.Application\nDim oBook As Excel.Workbook\n\n' Launch an instance of Mi... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349597",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10007/"
] |
349,603 | <p>I wanted to start with the use of Remoting under C# in a testdriven way, but I got stuck.</p>
<p>One thing I found on the topic is this <a href="http://www.codeproject.com/KB/architecture/TddRemoting.aspx" rel="nofollow noreferrer">article by Marc Clifton</a>, but he seems to have the server running by starting it ... | [
{
"answer_id": 656400,
"author": "Bas Bossink",
"author_id": 74198,
"author_profile": "https://Stackoverflow.com/users/74198",
"pm_score": 1,
"selected": false,
"text": "ChannelServices.RegisterChannel"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349603",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32679/"
] |
349,612 | <pre><code>$(document).ready(function() {
$("span.link").mouseover(function(e){
$(this.children).css("display","inline");
});
});
</code></pre>
<p>I'm not a javascript expert, but I've cobbled together a few functions using jQuery. </p>
<p>In this case, the stylesheet hides some cont... | [
{
"answer_id": 349627,
"author": "Andreas Grech",
"author_id": 44084,
"author_profile": "https://Stackoverflow.com/users/44084",
"pm_score": 4,
"selected": true,
"text": "$(function() {\n $(\"span.link\").mouseover(function(e){\n $(this).children().css(\"display\",\"inline\"); ... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349612",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10461/"
] |
349,613 | <p>Hopefully an easy question, but I'd quite like a technical answer to this!</p>
<p>What's the difference between:</p>
<pre><code>i = 4
</code></pre>
<p>and</p>
<pre><code>Set i = 4
</code></pre>
<p>in VBA? I know that the latter will throw an error, but I don't fully understand why.</p>
| [
{
"answer_id": 349624,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 6,
"selected": false,
"text": "Set"
},
{
"answer_id": 349636,
"author": "Treb",
"author_id": 22114,
"author_profile": "https://Stacko... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349613",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4019/"
] |
349,614 | <p>i have the following javascript code:</p>
<p><a href="http://www.nomorepasting.com/getpaste.php?pasteid=22561" rel="nofollow noreferrer">http://www.nomorepasting.com/getpaste.php?pasteid=22561</a></p>
<p>Which works fine(the makewindows function has been changed to show it is a php variable), however the html cont... | [
{
"answer_id": 350797,
"author": "troelskn",
"author_id": 18180,
"author_profile": "https://Stackoverflow.com/users/18180",
"pm_score": 2,
"selected": false,
"text": "json_encode"
},
{
"answer_id": 459118,
"author": "Community",
"author_id": -1,
"author_profile": "htt... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349614",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1246613/"
] |
349,626 | <p>I want to get virtual path of a web page from a web service. Is there any way to do this?.
suppose i have an aspx page like aa, i want to get full path as a url for that page from my web service.</p>
<p>Regards,
Harsh Suman</p>
| [
{
"answer_id": 349662,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 1,
"selected": false,
"text": "HttpContext.Current"
},
{
"answer_id": 349871,
"author": "Ron Todosichuk",
"author_id": 43294,
"a... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349626",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,652 | <p>I'm getting a strange effect in Jena 2.5.5 (on Linux) where I am playing around with the inference API. The following code is a stripped down version. I am creating an initially empty Model and a generic rule reasoner. I add a reflexivity rule for a certain statement. I attach the reasoner to the model to get an Inf... | [
{
"answer_id": 18987508,
"author": "Joshua Taylor",
"author_id": 1281433,
"author_profile": "https://Stackoverflow.com/users/1281433",
"pm_score": 0,
"selected": false,
"text": "original model : <ModelCom {} | >\n-----\n=====\noriginal model : <ModelCom {subject @predicate object} | ... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349652",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,653 | <p>The following doesn't work, because it doesn't wait until the process is finished:</p>
<pre><code>import subprocess
p = subprocess.Popen('start /WAIT /B MOZILL~1.LNK', shell=True)
p.wait()
</code></pre>
<p>Any idea how to run a shortcut and wait that the subprocess returns ?</p>
<p><strong>Edit:</strong> original... | [
{
"answer_id": 349697,
"author": "JimB",
"author_id": 32880,
"author_profile": "https://Stackoverflow.com/users/32880",
"pm_score": 3,
"selected": true,
"text": "p = subprocess.Popen('start /B MOZILL~1.LNK', shell=True)\np.wait()\n"
},
{
"answer_id": 349793,
"author": "rob",
... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349653",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28165/"
] |
349,655 | <p>I've created a database in Visual Studio 2008 in an App_Data folder of a MVC Web Application project. This results in an mdf file for the database that can be explored in the Server Explorer tab. You can create a SQL script for changes you do to the database.</p>
<p>So I'm wondering how you run these sql change scr... | [
{
"answer_id": 349670,
"author": "Neil Barnwell",
"author_id": 26414,
"author_profile": "https://Stackoverflow.com/users/26414",
"pm_score": 3,
"selected": true,
"text": "CREATE DATABASE [databaseName]\n"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349655",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3713/"
] |
349,657 | <p>I have a problem. </p>
<p>I'm working on another guy's code and there is a JFrame with lots of JSeparators(he used them as borders for 'panels') now I'm replacing them for a JBorderedPanel class that follows the same border style of the whole application.</p>
<p>The problem is that some of his separators are not c... | [
{
"answer_id": 349690,
"author": "Bombe",
"author_id": 43582,
"author_profile": "https://Stackoverflow.com/users/43582",
"pm_score": 1,
"selected": false,
"text": "MouseListener"
},
{
"answer_id": 349735,
"author": "Diones",
"author_id": 2605,
"author_profile": "https... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349657",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,659 | <h1>Duplicate from : <a href="https://stackoverflow.com/questions/16432/c-string-output-format-or-concat">String output: format or concat in C#?</a></h1>
<p>Especially in C# world using String.Format for everything is really common, normally as VB.NET developer unless I have to* I don't String.Format, </p>
<p>I prefe... | [
{
"answer_id": 349688,
"author": "Neil Barnwell",
"author_id": 26414,
"author_profile": "https://Stackoverflow.com/users/26414",
"pm_score": 1,
"selected": false,
"text": "StringBuilder.AppendLine(string.Format(\"Some text {0}.\", \"here\"));\n"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349659",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40322/"
] |
349,668 | <p>I've recently used our company's spare laptop (that has a general user set up) while mine was being repaired. I've checked the "Remember password" option in SQL Server Management Studio when logging in to the database. </p>
<p>I need to clear the login and password information that I have used to prevent the next p... | [
{
"answer_id": 1220687,
"author": "Robin Luiten",
"author_id": 103491,
"author_profile": "https://Stackoverflow.com/users/103491",
"pm_score": 9,
"selected": false,
"text": "C:\\Users\\%username%\\AppData\\Roaming\\Microsoft\\SQL Server Management Studio\\14.0\\SqlStudio.bin"
},
{
... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349668",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,702 | <p>I'm trying to learn bash string handling.
How do I create a bash script which is equivalent to this Java code snippet?</p>
<pre><code>String symbols = "abcdefg12345_";
for (char i : symbols.toCharArray()) {
for (char j : symbols.toCharArray()) {
System.out.println(new StringBuffer().append(i).append(j))... | [
{
"answer_id": 349712,
"author": "unwind",
"author_id": 28169,
"author_profile": "https://Stackoverflow.com/users/28169",
"pm_score": 4,
"selected": true,
"text": "echo {a,b,c,d,e,f,g,1,2,3,4,5,_}{a,b,c,d,e,f,g,1,2,3,4,5,_}\n"
},
{
"answer_id": 349716,
"author": "Bombe",
... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349702",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,705 | <p>As in the subject, how can one get the total width of an element, including its border and padding, using jQuery? I've got the jQuery dimensions plugin, and running <code>.width()</code> on my <code>760px-wide</code>, <code>10px padding</code> DIV returns <code>760</code>.</p>
<p>Perhaps I'm doing something wrong,... | [
{
"answer_id": 349719,
"author": "Andreas Grech",
"author_id": 44084,
"author_profile": "https://Stackoverflow.com/users/44084",
"pm_score": 9,
"selected": true,
"text": "border"
},
{
"answer_id": 673622,
"author": "James",
"author_id": 21677,
"author_profile": "https... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349705",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/192/"
] |
349,724 | <p>A recent <a href="https://stackoverflow.com/questions/349659/stringformat-or-not">question came up</a> about using String.Format(). Part of my answer included a suggestion to use StringBuilder.AppendLine(string.Format(...)). Jon Skeet suggested this was a bad example and proposed using a combination of AppendLine a... | [
{
"answer_id": 349736,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 7,
"selected": true,
"text": "AppendFormat"
},
{
"answer_id": 349762,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349724",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26414/"
] |
349,729 | <p>I am using <a href="http://msdn.microsoft.com/en-us/library/system.net.networkinformation.networkinterface.getallnetworkinterfaces.aspx" rel="nofollow noreferrer">NetworkInterface.GetAllNetworkInterfaces()</a> to get all the interfaces on a PC. However, this appears to only return "active" interfaces. How can I find... | [
{
"answer_id": 349766,
"author": "Paul Nearney",
"author_id": 24071,
"author_profile": "https://Stackoverflow.com/users/24071",
"pm_score": 1,
"selected": false,
"text": "using System.Management;\n\nstring query = \"SELECT * FROM Win32_NetworkAdapterConfiguration\";\nManagementObjectSear... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349729",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15393/"
] |
349,742 | <p>I frequently make use of <code>Request.QueryString[]</code> variables.</p>
<p>In my <code>Page_load</code> I often do things like:</p>
<pre><code> int id = -1;
if (Request.QueryString["id"] != null) {
try
{
id = int.Parse(Request.QueryString["id"]);
... | [
{
"answer_id": 349748,
"author": "VVS",
"author_id": 21038,
"author_profile": "https://Stackoverflow.com/users/21038",
"pm_score": 5,
"selected": false,
"text": "if (!int.TryParse(Request.QueryString[\"id\"], out id))\n{\n // error case\n}\n"
},
{
"answer_id": 349749,
"autho... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349742",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31765/"
] |
349,743 | <p>My homepage (or welcome page) will consist of data from two models (lets call them authors and posts). I am new to rails and not sure what is the best way to accomplish this.</p>
<p>Should I create a new controller called welcome which gathers data from the authors and posts and then display them in the welcome ind... | [
{
"answer_id": 349800,
"author": "Robert K",
"author_id": 24950,
"author_profile": "https://Stackoverflow.com/users/24950",
"pm_score": 7,
"selected": true,
"text": "Static"
},
{
"answer_id": 6486205,
"author": "irakli",
"author_id": 784635,
"author_profile": "https:/... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349743",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/50718/"
] |
349,769 | <p>Is it possible to return an XElement from a webservice (in C#/asp.net)?</p>
<p>Try a simple web service that returns an XElement:</p>
<pre><code>[WebMethod]
public XElement DoItXElement()
{
XElement xe = new XElement("hello",
new XElement("message", "Hello World")
);
return xe;
}
</code></pre>
<p>T... | [
{
"answer_id": 40387725,
"author": "Abacus",
"author_id": 1078031,
"author_profile": "https://Stackoverflow.com/users/1078031",
"pm_score": 0,
"selected": false,
"text": "[System.Runtime.CompilerServices.Extension()]\npublic XmlElement ToXmlElement(XElement value)\n{\n var xmlDoc = ne... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349769",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3099/"
] |
349,779 | <p>I am writing an application which opens USB devices and transfer some data. I am following the UsbSimpleNotificationExample from the Developer Examples. The example adds notifications and assigns callbacks for a unique Vendor ID and Product ID. But for my application I have multiple PIDs and a single VIDs. How can I... | [
{
"answer_id": 22538012,
"author": "Chris Marshall",
"author_id": 879365,
"author_profile": "https://Stackoverflow.com/users/879365",
"pm_score": 0,
"selected": false,
"text": "CFMutableDictionaryRef matchingDict = IOServiceMatching ( kIOUSBDeviceClassName );\nif ( matchingDict )\n{\n ... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349779",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,787 | <p>In a software-project written in java you often have resources, that are part of the project and should be included on the classpath. For instance some templates or images, that should be accessible through the classpath (getResource). These files should be included into a produced JAR-file.</p>
<p>It's clear that ... | [
{
"answer_id": 349897,
"author": "OscarRyz",
"author_id": 20654,
"author_profile": "https://Stackoverflow.com/users/20654",
"pm_score": 2,
"selected": false,
"text": "project/src\nproject/resources\nproject/classes\nproject/lib\nproject/dist\n"
},
{
"answer_id": 6644514,
"aut... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349787",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21005/"
] |
349,802 | <p>Is it possible for me to create and destroy a TXMLDocument by myself in Borland C++ Builder? I've tried but borland keeps telling me that TXMLDocument is (and must be) an IDE managed component. </p>
<p>Also, the only reason that I want to do this is that TXMLDocument sort of crashes: I get the TXMLDocument and 'Get... | [
{
"answer_id": 349857,
"author": "Roddy",
"author_id": 1737,
"author_profile": "https://Stackoverflow.com/users/1737",
"pm_score": 3,
"selected": true,
"text": "_di_IXMLDocument Doc = NewXMLDocument(); \n"
},
{
"answer_id": 1427403,
"author": "enzo1959",
"author_id": 1737... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349802",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2079/"
] |
349,811 | <p>How to arrange a Makefile to compile a kernel module with multiple .c files?</p>
<p>Here is my current Makefile. It was auto generated by <a href="http://www.kdevelop.org/" rel="noreferrer">KDevelop</a></p>
<pre><code>TARGET = nlb-driver
OBJS = nlb-driver.o
MDIR = drivers/misc
EXTRA_CFLAGS = -DEXPORT_SYMTAB
CURRE... | [
{
"answer_id": 349973,
"author": "ctuffli",
"author_id": 26683,
"author_profile": "https://Stackoverflow.com/users/26683",
"pm_score": 2,
"selected": false,
"text": "OBJS = nlb-driver.o\nOBJS += file1.o\nOBJS += file2.o\n...\n"
},
{
"answer_id": 43600027,
"author": "Mateusz P... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349811",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1100/"
] |
349,822 | <p>When using the following function (compare 2 user's group membership), I get results that do not make sense.</p>
<pre><code>function Compare-ADUserGroups <br>
{ #requires -pssnapin Quest.ActiveRoles.ADManagement
param (
[string] $FirstUser = $(Throw "logonname required."),
[string] $Sec... | [
{
"answer_id": 34658760,
"author": "Alban",
"author_id": 1911082,
"author_profile": "https://Stackoverflow.com/users/1911082",
"pm_score": 1,
"selected": false,
"text": "#requires -version 2\n<#\n .SYNOPSIS\n Compare les groupe entre 2 users\n .DESCRIPTION\n Affiche s... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349822",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,842 | <p>I want to do some functional testing on a (restful) webservice. The testsuite contains a bunch of test cases, each of which performs a couple of HTTP requests on the webservice.</p>
<p>Naturally, the webservice has to run or the tests will fail. :-)</p>
<p>Starting the webservice takes a couple of minutes (it does... | [
{
"answer_id": 349863,
"author": "sblundy",
"author_id": 4893,
"author_profile": "https://Stackoverflow.com/users/4893",
"pm_score": 1,
"selected": false,
"text": "@BeforeSuite"
},
{
"answer_id": 352576,
"author": "Dan Vinton",
"author_id": 21849,
"author_profile": "h... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349842",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,845 | <p>Environment: Rails 2.2.2, Oracle 10g</p>
<p>Most of the columns declared "date" in my ActiveRecord models are exactly that: dates: they don't care about time at all.</p>
<p>So with a model declared thus:#</p>
<pre><code>class MyDateOnlyModel < ActiveRecord::Migration
def self.up
create_table :my_date_onl... | [
{
"answer_id": 349863,
"author": "sblundy",
"author_id": 4893,
"author_profile": "https://Stackoverflow.com/users/4893",
"pm_score": 1,
"selected": false,
"text": "@BeforeSuite"
},
{
"answer_id": 352576,
"author": "Dan Vinton",
"author_id": 21849,
"author_profile": "h... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349845",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1060/"
] |
349,852 | <p>I'm extracting an interface that I would like to retain the original name. The actual class will get a "Impl" suffix, in accordance with our naming conventions. I want to know how to best reflect that in subversion so that the history "AppPropertiesImpl.java" covers its life as "AppProperties.java". As for the new "... | [
{
"answer_id": 349863,
"author": "sblundy",
"author_id": 4893,
"author_profile": "https://Stackoverflow.com/users/4893",
"pm_score": 1,
"selected": false,
"text": "@BeforeSuite"
},
{
"answer_id": 352576,
"author": "Dan Vinton",
"author_id": 21849,
"author_profile": "h... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349852",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4893/"
] |
349,855 | <p>I want to automate the process of gathering code metrics on a .NET solution. Is there any way of getting msbuild to run the Code Metrics feature included in VS2008 Development Edition? </p>
<p>I may end up using <a href="http://www.campwoodsw.com/sourcemonitor.html" rel="noreferrer">SourceMonitor</a>, but I would l... | [
{
"answer_id": 422171,
"author": "shackett",
"author_id": 52194,
"author_profile": "https://Stackoverflow.com/users/52194",
"pm_score": 3,
"selected": false,
"text": ""
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349855",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7532/"
] |
349,858 | <p>I'm trying to get a UIDatePicker with a UIButton to show up in a UIActionSheet. Unfortunately it gets cropped off and the entire Date Picker is not visible. I have not even attempted to add the UIButton yet. Can anyone suggest on getting the entire view to fit properly? I'm not sure how to add the proper dimensions ... | [
{
"answer_id": 353779,
"author": "thbonk",
"author_id": 44123,
"author_profile": "https://Stackoverflow.com/users/44123",
"pm_score": 6,
"selected": true,
"text": " UIActionSheet *menu = [[UIActionSheet alloc] initWithTitle:@\"Date Picker\" \n ... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349858",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40882/"
] |
349,861 | <p>I have a script that animates a small DIV popping up on the page. It all works fine in IE, and in FF if I remove the DOCTYPE, but when the DOCTYPE is XHTML/Transitional, in Firefox, the width does not change. </p>
<pre><code>this.container.style.visibility = "visible";
alert("this.container.style.width before = " +... | [
{
"answer_id": 349900,
"author": "scunliffe",
"author_id": 6144,
"author_profile": "https://Stackoverflow.com/users/6144",
"pm_score": 5,
"selected": true,
"text": "this.container.style.visibility = \"visible\";\nalert(\"this.container.style.width before = \" + this.container.style.width... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349861",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8349/"
] |
349,875 | <p>Is it possible to display the text in a TextBlock vertically so that all letters are stacked upon each other (not rotated with LayoutTransform)?</p>
| [
{
"answer_id": 349954,
"author": "Micah",
"author_id": 17744,
"author_profile": "https://Stackoverflow.com/users/17744",
"pm_score": 4,
"selected": false,
"text": "<TextBlock TextAlignment=\"Center\" FontSize=\"14\" FontWeight=\"Bold\" Width=\"10\" TextWrapping=\"Wrap\">THIS IS A TEST</T... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349875",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11499/"
] |
349,878 | <p>OK since I am in a holding pattern on this issue perhaps someone has seen these symptoms and can provide some sage advice. (Note: I have learned only enough Active Directory information to build this feature and I only have read access to the Active Directory.)</p>
<p>I updated the company intranet to allow the au... | [
{
"answer_id": 349954,
"author": "Micah",
"author_id": 17744,
"author_profile": "https://Stackoverflow.com/users/17744",
"pm_score": 4,
"selected": false,
"text": "<TextBlock TextAlignment=\"Center\" FontSize=\"14\" FontWeight=\"Bold\" Width=\"10\" TextWrapping=\"Wrap\">THIS IS A TEST</T... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349878",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30934/"
] |
349,884 | <p>I need to simple way to allow an end user to restart tomcat from a web page served from apache on the same box.</p>
<p>We're trying to make it easy for our QC department to deploy a new version of our webapp to apache. We're using samba, but we need an easy way for them to stop / start the tomcat server before/afte... | [
{
"answer_id": 351676,
"author": "derobert",
"author_id": 27727,
"author_profile": "https://Stackoverflow.com/users/27727",
"pm_score": 4,
"selected": true,
"text": "/etc/init.d/tomcat restart"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349884",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1310/"
] |
349,886 | <p>So I have an Oracle instance, and I know it's running on this system, I've su'd to the oracle user, and I'm trying to connect using "/ as sysdba". However, when I do connect, it says the instance is idle. I know the database is up and opened, because my application's talking to it. My paths (ORACLE_HOME, etc.) mi... | [
{
"answer_id": 350432,
"author": "Leigh Riffel",
"author_id": 27010,
"author_profile": "https://Stackoverflow.com/users/27010",
"pm_score": 2,
"selected": false,
"text": "sqlplus \"/@ConnectIdentifier as sysdba\"\n"
},
{
"answer_id": 351521,
"author": "Matthew Watson",
"a... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349886",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,889 | <p>I just wrote the following C++ function to programmatically determine how much RAM a system has installed. It works, but it seems to me that there should be a simpler way to do this. Am I missing something?</p>
<pre><code>getRAM()
{
FILE* stream = popen("head -n1 /proc/meminfo", "r");
st... | [
{
"answer_id": 349970,
"author": "Bombe",
"author_id": 43582,
"author_profile": "https://Stackoverflow.com/users/43582",
"pm_score": 1,
"selected": false,
"text": "top"
},
{
"answer_id": 350039,
"author": "Adam Rosenfield",
"author_id": 9530,
"author_profile": "https:... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349889",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1288/"
] |
349,892 | <p>I have a logging table which has three columns. One column is a unique identifier, One Column is called "Name" and the other is "Status".<br>
Values in the Name column can repeat so that you might see Name "Joe" in multiple rows. Name "Joe" might have a row with a status "open", another row with a status "closed",... | [
{
"answer_id": 349903,
"author": "matt b",
"author_id": 4249,
"author_profile": "https://Stackoverflow.com/users/4249",
"pm_score": 3,
"selected": true,
"text": "Status | Order\n---------------\nClosed | 1\nHold | 2\nWaiting | 3\nOpen | 4\n"
},
{
"answer_id": 349926,
... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349892",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13954/"
] |
349,896 | <p>I'm trying to make a function that has a list of lists, it multiplies the sum of the inner list with the outer list.
So far i can sum a list, i've made a function sumlist([1..n],X) that will return X = (result). But i cannot get another function to usefully work with that function, i've tried both is and = to no ava... | [
{
"answer_id": 351501,
"author": "mweerden",
"author_id": 4285,
"author_profile": "https://Stackoverflow.com/users/4285",
"pm_score": 1,
"selected": false,
"text": "[L1,...,Ln]"
},
{
"answer_id": 353572,
"author": "Kaarel",
"author_id": 12547,
"author_profile": "https... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349896",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42789/"
] |
349,904 | <p>Recently I used a class that inherits from a collection instead of having the collection instantiated within the class, is this acceptable or does it create unseen problems further down the road? Examples below for the sake of clarity:</p>
<pre><code>public class Cars : List<aCar>
</code></pre>
<p>instead of... | [
{
"answer_id": 349950,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 2,
"selected": false,
"text": "IEnumerable<T>"
},
{
"answer_id": 350257,
"author": "TcKs",
"author_id": 20382,
"author_profile": "h... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349904",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4098/"
] |
349,918 | <p>I am using a third-party DLL. For some particular cases, a function in the DLL is throwing an exception. Is it possible to debug the DLL in the Visual Studio?</p>
<p>After <a href="https://stackoverflow.com/questions/349918/debugging-a-third-party-dll-in-visual-studio/349925#349925">the answer from Andrew Rollings<... | [
{
"answer_id": 350332,
"author": "Robert Gowland",
"author_id": 20570,
"author_profile": "https://Stackoverflow.com/users/20570",
"pm_score": 2,
"selected": false,
"text": "Trace.WriteLine"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349918",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41968/"
] |
349,927 | <p>According to <em>Cocoa Programming for Mac OS X, 3rd Edition</em>, on page 245 (chapter 17), you will usually create views in Interface Builder. However, it is possible to create them in code, a la:</p>
<pre><code>NSView *superview = [window contentView];
NSRect frame = NSMakeRect(10, 10, 200, 100);
NSButton *but... | [
{
"answer_id": 350104,
"author": "Ben Gottlieb",
"author_id": 6694,
"author_profile": "https://Stackoverflow.com/users/6694",
"pm_score": 6,
"selected": true,
"text": "[button setTarget: self];\n[button setAction: @selector(myButtonWasHit:)];\n"
},
{
"answer_id": 350910,
"aut... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349927",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14048/"
] |
349,931 | <p>Please tell me how do I print a bit, like <code>printf("%d",bit);</code>.</p>
| [
{
"answer_id": 349937,
"author": "Herms",
"author_id": 1409,
"author_profile": "https://Stackoverflow.com/users/1409",
"pm_score": 4,
"selected": false,
"text": "printf(\"%d\", bit & 0x1);\n"
},
{
"answer_id": 349960,
"author": "Keltia",
"author_id": 16143,
"author_pr... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349931",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
349,933 | <p>I have a user table like this</p>
<pre><code>user_id | community_id | registration_date
--------------------------------------------
1 | 1 | 2008-01-01
2 | 1 | 2008-05-01
3 | 2 | 2008-01-28
4 | 2 | 2008-07-22
5 | 3 | 2008-01-11
</c... | [
{
"answer_id": 350001,
"author": "Adam Bellaire",
"author_id": 21632,
"author_profile": "https://Stackoverflow.com/users/21632",
"pm_score": 2,
"selected": false,
"text": "select \n registration_date, community_id \nfrom \n user outer \nwhere \n user_id IN (\n select \n user_i... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349933",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2648/"
] |
349,938 | <p>Is there a programmatic way to extract equations (and possibly images) from an MS Word document? I've googled all over, but have yet to find anything that I can sink my teeth into and work from. If possible, I'd like to be able to do this with VB.NET or C#, but I can pick up enough of any language to hack out a DL... | [
{
"answer_id": 350030,
"author": "Dirk Vollmar",
"author_id": 40347,
"author_profile": "https://Stackoverflow.com/users/40347",
"pm_score": 3,
"selected": false,
"text": "\"C:\\Program Files\\Microsoft Office\\Office12\\wordconv.exe\" -oice -nme input\\_file output_file"
},
{
"an... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349938",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4252/"
] |
349,948 | <p>I had a class with some common error handling code, and I wanted to pass in the method and arguments to call, but I couldn't quite come up with the syntax. What I want to do is roughly this:</p>
<pre><code>private void InvokeHelper(Delegate method, params object[] args)
{
bool retry = false;
do
{
try
... | [
{
"answer_id": 350043,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "private void InvokeHelper(Delegate method, params object[] args)\n"
},
{
"answer_id": 350062,
"author": "Amy B",
... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349948",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9323/"
] |
349,951 | <p>We have a stored procedure that runs nightly that in turn kicks off a number of other procedures. Some of those procedures could logically be run in parallel with some of the others. </p>
<ul>
<li>How can I indicate to SQL Server whether a procedure should be run in parallel or serial — ie: kicked off of as... | [
{
"answer_id": 4648502,
"author": "BradC",
"author_id": 21398,
"author_profile": "https://Stackoverflow.com/users/21398",
"pm_score": 5,
"selected": true,
"text": "sp_start_job"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/349951",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3043/"
] |
349,953 | <p>I am converting a linux script from <a href="http://www.perlmonks.org/index.pl?node_id=217166" rel="nofollow noreferrer">http://www.perlmonks.org/index.pl?node_id=217166</a> specifically this:</p>
<pre><code>#!/usr/bin/perl -w
use strict;
use Getopt::Std;
use File::Find;
@ARGV > 0 and getopts('a:', \my %opt) or... | [
{
"answer_id": 349998,
"author": "dsm",
"author_id": 7780,
"author_profile": "https://Stackoverflow.com/users/7780",
"pm_score": 5,
"selected": true,
"text": "no_chdir"
},
{
"answer_id": 359798,
"author": "Mark Allison",
"author_id": 38211,
"author_profile": "https://... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349953",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38211/"
] |
349,957 | <p>I'm having an issue with an ObservableCollection getting new items but not reflecting those changes in a ListView. I have enough quirks in the way I'm implementing this that I'm having a hard time determining what the problem is.</p>
<p>My ObservableCollection is implemented thusly:</p>
<pre><code>public class Me... | [
{
"answer_id": 352879,
"author": "Sailing Judo",
"author_id": 42620,
"author_profile": "https://Stackoverflow.com/users/42620",
"pm_score": 3,
"selected": true,
"text": "ListBoxChatMessages.ItemsSource = ChatHelper.LobbyMessages.Messages;\n"
},
{
"answer_id": 22963753,
"autho... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349957",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42620/"
] |
349,978 | <p>I have just imported a WAR file from an external site, which is basically a servlet into Eclipse IDE (the project runs on Apache-Tomcat). </p>
<p>When I import it it has a folder called <strong>Web App Libraries</strong>. So here are a few of my newbie questions:</p>
<ol>
<li><p>I am unsure about what the exact p... | [
{
"answer_id": 350076,
"author": "JeeBee",
"author_id": 17832,
"author_profile": "https://Stackoverflow.com/users/17832",
"pm_score": 1,
"selected": false,
"text": "Project Name/\n JavaSource/ or src/ // holds all the Java Source Files, Servlets, Struts Actions\n WebContent/ ... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349978",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5175/"
] |
349,980 | <p>I need to format an integer representation of bytes into something friendly, and I'm hoping that there's a utility function in Ruby or in Rails that will do that formatting for me (to perpetuate my laziness, of course.)</p>
<p>I'm looking for something that would look like:</p>
<pre><code>format_bytes(1024) -&... | [
{
"answer_id": 350083,
"author": "mwilliams",
"author_id": 23909,
"author_profile": "https://Stackoverflow.com/users/23909",
"pm_score": 6,
"selected": true,
"text": "require 'action_view'\ninclude ActionView::Helpers::NumberHelper\nnumber_to_human_size(123) ... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349980",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/650/"
] |
349,997 | <pre><code>$pee = preg_replace( '|<p>|', "$1<p>", $pee );
</code></pre>
<p>This regular expression is from the Wordpress source code (formatting.php, wpautop function); I'm not sure what it does, can anyone help?</p>
<p>Actually I'm trying to port this function to Python...if anyone knows of an existing p... | [
{
"answer_id": 350026,
"author": "Powerlord",
"author_id": 15880,
"author_profile": "https://Stackoverflow.com/users/15880",
"pm_score": 2,
"selected": false,
"text": "<p>"
},
{
"answer_id": 350033,
"author": "Patrick Desjardins",
"author_id": 13913,
"author_profile":... | 2008/12/08 | [
"https://Stackoverflow.com/questions/349997",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18494/"
] |
350,018 | <p>What is the best way to combine both hashes into %hash1? I always know that %hash2 and %hash1 always have unique keys. I would also prefer a single line of code if possible. </p>
<pre><code>$hash1{'1'} = 'red';
$hash1{'2'} = 'blue';
$hash2{'3'} = 'green';
$hash2{'4'} = 'yellow';
</code></pre>
| [
{
"answer_id": 350038,
"author": "dreftymac",
"author_id": 42223,
"author_profile": "https://Stackoverflow.com/users/42223",
"pm_score": 9,
"selected": true,
"text": "undef"
},
{
"answer_id": 350190,
"author": "brian d foy",
"author_id": 2766176,
"author_profile": "ht... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350018",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2356/"
] |
350,027 | <p>I'm trying to set a WPF image's source in code. The image is embedded as a resource in the project. By looking at examples I've come up with the below code. For some reason it doesn't work - the image does not show up. </p>
<p>By debugging I can see that the stream contains the image data. So what's wrong?</p>
<pr... | [
{
"answer_id": 350059,
"author": "Arcturus",
"author_id": 900,
"author_profile": "https://Stackoverflow.com/users/900",
"pm_score": 3,
"selected": false,
"text": "VisualBrush brush = new VisualBrush { TileMode = TileMode.None };\n\nbrush.Visual = frame;\n\nbrush.AlignmentX = AlignmentX.C... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350027",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22621/"
] |
350,047 | <p>I would like to run a job through cron that will be executed every second Tuesday at given time of day. For every Tuesday is easy:</p>
<pre><code>0 6 * * Tue
</code></pre>
<p>But how to make it on "every second Tuesday" (or if you prefer - every second week)?
I would not like to implement any logic in the script i... | [
{
"answer_id": 350061,
"author": "xahtep",
"author_id": 42184,
"author_profile": "https://Stackoverflow.com/users/42184",
"pm_score": 7,
"selected": true,
"text": "crontab"
},
{
"answer_id": 15022838,
"author": "jimmyb",
"author_id": 1279587,
"author_profile": "https:... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350047",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42201/"
] |
350,081 | <p>In the application I'm working on porting to the web, we currently dynamically access different tables at runtime from run to run, based on a "template" string that is specified. I would like to move the burden of doing that back to the database now that we are moving to SQL server, so I don't have to mess with a dy... | [
{
"answer_id": 350107,
"author": "Harper Shelby",
"author_id": 21196,
"author_profile": "https://Stackoverflow.com/users/21196",
"pm_score": 3,
"selected": true,
"text": "CREATE PROCEDURE TemplateSelector \n( \n @template varchar(40),\n @code varchar(80)\n)\n\nAS\nEXEC('SELECT * ... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350081",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26140/"
] |
350,095 | <p>Is there a way to programmatically, through a batch file (or powershell script), put all folders in <code>c:\Program Files</code> into the system variable <code>PATH</code>? I'm dependent on the command line and really want to just start a program from the command line.</p>
<p>Yes, I'm jealous of Linux shells.</p>
| [
{
"answer_id": 350121,
"author": "Greg Hurlman",
"author_id": 35,
"author_profile": "https://Stackoverflow.com/users/35",
"pm_score": 3,
"selected": false,
"text": "@echo off\n\nFOR /D %%G IN (%1\\*) DO PATH \"%%G\";%path%\n"
},
{
"answer_id": 350273,
"author": "Rob Williams"... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350095",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
350,101 | <p>Ok time to show my complete lack of knowladge for all things web forms but here goes. I am extending the Panel control and OnPreRender sticking some additional controls inside of it (lets just say 1 textbox for simplicity). From here I am just letting the Panels Render method do its thing. </p>
<p>The issue I am ha... | [
{
"answer_id": 350197,
"author": "Programmin Tool",
"author_id": 21691,
"author_profile": "https://Stackoverflow.com/users/21691",
"pm_score": 1,
"selected": false,
"text": "public class SomeControl : WebControl, INamingContainer\n{\n private TextBox someTextBox;\n\n protected override... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350101",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/425/"
] |
350,120 | <p>Does someone knows if it's possible to dynamically create a call chain and invoke it?</p>
<p>Lets say I have two classes A & B:</p>
<pre><code>public class A
public function Func() as B
return new B()
end function
end class
public class B
public function Name() as string
return "a str... | [
{
"answer_id": 350178,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 3,
"selected": true,
"text": "// I assume you've already got fMethodInfo and nameMethodInfo.\nExpression fCall = Expression.Call(null, fMethodInfo);\nE... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350120",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11361/"
] |
350,124 | <p>I'm looking to write an automated monitor script to programmatically retrieve information from another user's Exchange 2003 inbox. I have working C++ code to log into MAPI and connect to my own inbox. I can also use the Control Panel->Mail applet to configure another user's mailbox into my profile, and my code can... | [
{
"answer_id": 350581,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "CreateStoreEntryID"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/350124",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3347/"
] |
350,126 | <p>I am trying to write a textbox that will search on 5 DB columns and will return every result of a given search, ex. "Red" would return: red ball, Red Williams, etc. Any examples or similar things people have tried. My example code for the search.</p>
<p>Thanks.</p>
<pre><code> ItemMasterDataContext db = new... | [
{
"answer_id": 350189,
"author": "James Curran",
"author_id": 12725,
"author_profile": "https://Stackoverflow.com/users/12725",
"pm_score": 1,
"selected": false,
"text": "IQueryable<ITMST>"
},
{
"answer_id": 357340,
"author": "Perpetualcoder",
"author_id": 37494,
"aut... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350126",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37126/"
] |
350,129 | <p>How do I check to see if a particular value has already been assigned to Smarty and if not assign a (default) value?</p>
<p>Answer:</p>
<pre><code>if ($this->cismarty->get_template_vars('test') === null) {
$this->cismarty->assign('test', 'Default value');
}
</code></pre>
| [
{
"answer_id": 350162,
"author": "Andy",
"author_id": 26693,
"author_profile": "https://Stackoverflow.com/users/26693",
"pm_score": 5,
"selected": true,
"text": "if ($smarty->get_template_vars('foo') === null) \n{\n $smarty->assign('foo', 'some value');\n}\n"
},
{
"answer_id": ... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350129",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3238/"
] |
350,131 | <p>Are there any performance benefits to me not using the gridview in asp.net for simple tables querying from a stored procedure and instead writing the html in server code myself. I'm sure my code would certainly be more concise in output.</p>
| [
{
"answer_id": 350206,
"author": "Stephen Wrighton",
"author_id": 7516,
"author_profile": "https://Stackoverflow.com/users/7516",
"pm_score": 0,
"selected": false,
"text": "Dim tab As New Table\nFor Each row In DataTable.Rows\n Dim tabRow as New TableRow\n For Each col In row.Columns\n... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350131",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16989/"
] |
350,140 | <p>So I'm basically a beginner when it comes to Vim, nonetheless I do know the basic things (open files, edit, move around, basic grep, .vimrc, etc)</p>
<p>I would submit this link first</p>
<p><a href="http://weblog.jamisbuck.org/2008/11/17/vim-follow-up" rel="nofollow noreferrer">http://weblog.jamisbuck.org/2008/11... | [
{
"answer_id": 350159,
"author": "mat",
"author_id": 42083,
"author_profile": "https://Stackoverflow.com/users/42083",
"pm_score": 4,
"selected": true,
"text": ":help leader"
},
{
"answer_id": 350171,
"author": "Jay",
"author_id": 20840,
"author_profile": "https://Sta... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350140",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44346/"
] |
350,141 | <p>In Unix/Linux, how do you find out what group a given user is in via command line?</p>
| [
{
"answer_id": 350144,
"author": "Bombe",
"author_id": 43582,
"author_profile": "https://Stackoverflow.com/users/43582",
"pm_score": 10,
"selected": true,
"text": "groups\n"
},
{
"answer_id": 350145,
"author": "Paul Tomblin",
"author_id": 3333,
"author_profile": "http... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350141",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5885/"
] |
350,150 | <p>I am trying to run some Perl CGI scripts under IIS. I get the following message :</p>
<pre>
<code>
CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale se... | [
{
"answer_id": 350165,
"author": "Leon Timmermans",
"author_id": 4727,
"author_profile": "https://Stackoverflow.com/users/4727",
"pm_score": 0,
"selected": false,
"text": "use CGI::CARP qw(fatalsToBrowser)"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/350150",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/35273/"
] |
350,181 | <p>What is the best was to evaluate an expression like the following:
<br />
(A And B) Or (A And C) Or (Not B And C)<br />
or<br />
(A && B) || (A && C) || (!B && C)<br /></p>
<p>At runtime, I was planning on converting the above expressions to the following:<br />
(True And False) Or (True An... | [
{
"answer_id": 350211,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 3,
"selected": false,
"text": "And"
},
{
"answer_id": 350784,
"author": "hughdbrown",
"author_id": 10293,
"author_profile": "http... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350181",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25843/"
] |
350,202 | <p>The following VBA code works great in Excel 2003, but results in a <em>Stack Overflow Error</em> in Excel 2007. The code is required to either unlock or lock certain cells based on a drop-down menu selection. I need to be able to run the code in both Excel 2003 and 2007. Please help.</p>
<pre><code>Private Sub Wor... | [
{
"answer_id": 350246,
"author": "Joe",
"author_id": 13087,
"author_profile": "https://Stackoverflow.com/users/13087",
"pm_score": 2,
"selected": false,
"text": "Private m_bInChange As Boolean\n\nPrivate Sub Worksheet_Change(ByVal Target As Range)\nIf m_bInChange Then Exit Sub\nOn Error ... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350202",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
350,207 | <p>I have an ASP.NET page that uses a menu based on <code>asp:LinkButton</code> control in a Master page. When a user selects a menu item, an <code>onclick</code> handler calls a method in my C# code. The method it calls just does a <code>Server.Transfer()</code> to a new page. From what I have read, this is not sup... | [
{
"answer_id": 350216,
"author": "JoshBerke",
"author_id": 26160,
"author_profile": "https://Stackoverflow.com/users/26160",
"pm_score": 0,
"selected": false,
"text": "Server.Execute(\"Help.aspx\")"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/350207",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16148/"
] |
350,214 | <p>I have a ListBox whose ItemSource is an ObjectDataProvider that is an instance of an ObservableCollection. The ObservableCollection is a collection of ObservableCollections. The ItemTemplate of the ListBox is a DataTemplate that creates a ListBox for each item of the listbox. To illustrate this better I'm trying to ... | [
{
"answer_id": 351392,
"author": "Donnelle",
"author_id": 28074,
"author_profile": "https://Stackoverflow.com/users/28074",
"pm_score": 3,
"selected": true,
"text": " public class Card\n{\n\n private string _name;\n\n public Card(string name)\n {\n _name = name;\n }\n\... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350214",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42858/"
] |
350,227 | <p>I've encountered a very strange bug in VBA and wondered if anyone could shed some light?</p>
<p>I'm calling a worksheet function like this: </p>
<pre><code>Dim lMyRow As Long
lMyRow = WorksheetFunction.Match(vItemID, rngMyRange.Columns(1), 0)
</code></pre>
<p>This is intended to get the row of the item I pass in... | [
{
"answer_id": 350351,
"author": "Dirk Vollmar",
"author_id": 40347,
"author_profile": "https://Stackoverflow.com/users/40347",
"pm_score": 0,
"selected": false,
"text": "Sub test()\n\nDim vItemID As Variant\nDim lMyRow As Long\nDim rngMyRange As Range\n\n Set rngMyRange = ActiveWorkb... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350227",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4019/"
] |
350,240 | <p>I am doing some float manipulation and end up with the following numbers:</p>
<pre><code>-0.5
-0.4
-0.3000000000000000004
-0.2000000000000000004
-0.1000000000000000003
1.10E-16
0.1
0.2
0.30000000000000000004
0.4
0.5
</code></pre>
<p>The algorithm is the following:</p>
<pre><code>var inc:Number = nextMultiple(min,... | [
{
"answer_id": 350258,
"author": "Jon B",
"author_id": 27414,
"author_profile": "https://Stackoverflow.com/users/27414",
"pm_score": 1,
"selected": false,
"text": "float value = 1.0F;\n\nfor (int i = 0; i < 20; i++)\n{\n value -= 0.1F;\n Console.WriteLine(Math.Round(value, 1).ToStr... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350240",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32032/"
] |
350,250 | <p>I need a RegEx pattern for extracting all the properties of an image tag.</p>
<p>As we all know, there are lots of malformed HTML out there, so the pattern has to cover those possibilities.</p>
<p>I was looking at this solution <a href="https://stackoverflow.com/questions/138313/how-to-extract-img-src-title-and-al... | [
{
"answer_id": 350274,
"author": "sblundy",
"author_id": 4893,
"author_profile": "https://Stackoverflow.com/users/4893",
"pm_score": 0,
"selected": false,
"text": "element.attributes"
},
{
"answer_id": 1994371,
"author": "Tor Valamo",
"author_id": 228936,
"author_prof... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350250",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41385/"
] |
350,255 | <p>Heres my link:</p>
<p><a href="http://tinyurl.com/6j727e" rel="noreferrer">http://tinyurl.com/6j727e</a></p>
<p>If you click on the link in test.php, it opens in a modal box which is using the jquery 'facebox' script.</p>
<p>I'm trying to act upon a click event in this box, and if you view source of test.php you'... | [
{
"answer_id": 350289,
"author": "Ryan McGeary",
"author_id": 8985,
"author_profile": "https://Stackoverflow.com/users/8985",
"pm_score": 4,
"selected": true,
"text": "#click"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/350255",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26107/"
] |
350,264 | <p>I have an Excel spreadsheet containing a list of strings. Each string is made up of several words, but the number of words in each string is different.</p>
<p>Using built in Excel functions (no VBA), is there a way to isolate the last word in each string?</p>
<p>Examples:</p>
<pre>
Are you classified as human? ... | [
{
"answer_id": 350296,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "=RIGHT(A1,LEN(A1)-FIND(\"`*`\",SUBSTITUTE(A1,\" \",\"`*`\",LEN(A1)-LEN(SUBSTITUTE(A1,\" \",\"\"))))) \n"
},
{
"answer_... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350264",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/33686/"
] |
350,278 | <p>I have problem with starting processes in impersonated context in ASP.NET 2.0.</p>
<p>I am starting new Process in my web service code. IIS 5.1, .NET 2.0</p>
<pre><code>[WebMethod]
public string HelloWorld()
{
string path = @"C:\KB\GetWindowUser.exe";
ProcessStartInfo startInfo = new ProcessStartInfo();
... | [
{
"answer_id": 850913,
"author": "Jeow Li Huan",
"author_id": 263003,
"author_profile": "https://Stackoverflow.com/users/263003",
"pm_score": 1,
"selected": false,
"text": "using (Impersonator person = new Impersonator(\"domainName\", \"userName\",\n\"password\")\n{\n // do something ... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350278",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43178/"
] |
350,292 | <p>Given the following classes and controller action method:</p>
<pre><code>public School
{
public Int32 ID { get; set; }
publig String Name { get; set; }
public Address Address { get; set; }
}
public class Address
{
public string Street1 { get; set; }
public string City { get; set; }
public String ZipCod... | [
{
"answer_id": 350300,
"author": "bdukes",
"author_id": 2688,
"author_profile": "https://Stackoverflow.com/users/2688",
"pm_score": 9,
"selected": true,
"text": "$(function() {\n $.getJSON(\"/Location/GetCountryList\", null, function(data) {\n $(\"#Address\\\\.Country\").fillSelect(d... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350292",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32588/"
] |
350,298 | <p>I have found the before_dispatch and after_dispatch in dispatcher.rb but I need to access something earlier. Like around when Rails.public_path is defined.</p>
| [
{
"answer_id": 445124,
"author": "eelco",
"author_id": 8293,
"author_profile": "https://Stackoverflow.com/users/8293",
"pm_score": 1,
"selected": false,
"text": "config/boot.rb"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/350298",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
350,308 | <p>I'm making a webpage with dynamic content that enters the view with AJAX polling. The page JS occasionally downloads updated information and renders it on the page while the user is reading other information. This sort of thing is costly to bandwidth and processing time. I would like to have the polling pause whe... | [
{
"answer_id": 350343,
"author": "Pim Jager",
"author_id": 35197,
"author_profile": "https://Stackoverflow.com/users/35197",
"pm_score": 3,
"selected": true,
"text": " var inactiveTimer;\n var active = true;\n function setTimer(){\n inactiveTimer = setTimeOut(\"stopAjaxUpdateFunction()\... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350308",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36093/"
] |
350,314 | <p>I have some XML in an XmlDocument, and I want to display it on an ASP.NET page. (The XML should be in a control; the page will have other content.) Right now, we're using the Xml control for that. Trouble is, the XML displays with no indentation. Ugly.</p>
<p>It appears that I'm supposed to create an XSLT for i... | [
{
"answer_id": 350324,
"author": "Stephen Wrighton",
"author_id": 7516,
"author_profile": "https://Stackoverflow.com/users/7516",
"pm_score": 2,
"selected": false,
"text": "< iframe runat=\"server\" id=\"myXMLFrame\" src=\"~/MyXmlFile.xml\" /></pre>\n"
}
] | 2008/12/08 | [
"https://Stackoverflow.com/questions/350314",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5486/"
] |
350,318 | <p>I have a single large table which I would like to optimize.
I'm using MS-SQL 2005 server. I'll try to describe how it is used and if anyone has any suggestions I would appreciate it very much.</p>
<p>The table is about 400GB, has 100 million rows and 1 million rows are inserted each day.
The table has 8 columns, 1 ... | [
{
"answer_id": 350358,
"author": "nicodemus13",
"author_id": 26463,
"author_profile": "https://Stackoverflow.com/users/26463",
"pm_score": 2,
"selected": false,
"text": "SELECT TOP(g) d1 \nFROM table WITH(NOLOCK) \nWHERE k1 = a WHERE k2 = b WHERE k3 = c WHERE k4 = d WHERE k5 = e WH... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350318",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34632/"
] |
350,323 | <p>I have a utility (grep) that gives me a list of filenames and a line numbers. After I have determined that devenv is the correct program to open a file, I would like to ensure that it is opened at the indicated line number. In emacs, this would be:</p>
<pre><code>emacs +140 filename.c
</code></pre>
<p>I have found... | [
{
"answer_id": 350401,
"author": "EndangeredMassa",
"author_id": 106,
"author_profile": "https://Stackoverflow.com/users/106",
"pm_score": 1,
"selected": true,
"text": "devenv /command \"Macros.MyMacros.Module1.OpenFavoriteFiles\"\n"
},
{
"answer_id": 3678070,
"author": "Four... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350323",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10574/"
] |
350,345 | <p>Is there a way run Emacs from a USB drive? I am a Windows user and I would like to be able use it on any PC without an Emacs install.</p>
| [
{
"answer_id": 350369,
"author": "ShreevatsaR",
"author_id": 4958,
"author_profile": "https://Stackoverflow.com/users/4958",
"pm_score": 6,
"selected": true,
"text": " (info \"(emacs) Windows HOME\")\n"
},
{
"answer_id": 6692788,
"author": "sayth",
"author_id": 461887,
... | 2008/12/08 | [
"https://Stackoverflow.com/questions/350345",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4872/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.