qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
250,289 | <p>Obviously (methinks), creating an index on a <code>BIT</code> column is unnecessary. However, if you had a column that you need to search in which every value is likely unique, like <code>BlogPost</code> or <code>StreetAddress</code> or something, then an index seems appropriate (again, methinks).</p>
<p>But what's... | [
{
"answer_id": 250338,
"author": "kͩeͣmͮpͥ ͩ",
"author_id": 26479,
"author_profile": "https://Stackoverflow.com/users/26479",
"pm_score": 1,
"selected": false,
"text": "BIT SELECT foo.Name FROM foo WHERE foo.Active = 1\n"
},
{
"answer_id": 18809883,
"author": "Ardalan Shahgho... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250289",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32382/"
] |
250,304 | <p>A VBScript cannot edit the registry by default on Vista. How do I get elevation (even if the user has to do something when they run the script) so that the script can edit the registry?</p>
<p>The error is:</p>
<pre><code>---------------------------
Windows Script Host
---------------------------
Script: blah bla... | [
{
"answer_id": 250343,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 0,
"selected": false,
"text": "regedit.exe"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250304",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1490/"
] |
250,324 | <p>I am wondering what the best way is using php to obtain a list of all the rows in the database, and when clicking on a row show the information in more detail, such as a related image etc.</p>
<p>Should I use frames to do this? Are there good examples of this somewhere?</p>
<p>Edit:</p>
<p>I need much simpler ins... | [
{
"answer_id": 250331,
"author": "changelog",
"author_id": 5646,
"author_profile": "https://Stackoverflow.com/users/5646",
"pm_score": 0,
"selected": false,
"text": "$_GET['id']"
},
{
"answer_id": 251880,
"author": "kevtrout",
"author_id": 1149,
"author_profile": "htt... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250324",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1246613/"
] |
250,357 | <p>I am looking for a way to truncate a string in Python that will not cut off the string in the middle of a word.</p>
<p>For example:</p>
<pre>
Original: "This is really awesome."
"Dumb" truncate: "This is real..."
"Smart" truncate: "This is really..."
</pre>
<p>I'm looking for a way to accomplish the "... | [
{
"answer_id": 250373,
"author": "Adam",
"author_id": 30084,
"author_profile": "https://Stackoverflow.com/users/30084",
"pm_score": 7,
"selected": true,
"text": "def smart_truncate(content, length=100, suffix='...'):\n if len(content) <= length:\n return content\n else:\n ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250357",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24998/"
] |
250,369 | <p>We are ready to start a brand new project at work, no legacy code. We did use Subsonic in the past and we pretty happy with it. But that was before Linq.</p>
<p>Has anyone had to face this same issue (Linq x Subsonic)? </p>
<p>What was your decision? What were the reasons?</p>
<p>Any insight appreciated.</p>
| [
{
"answer_id": 250416,
"author": "James Curran",
"author_id": 12725,
"author_profile": "https://Stackoverflow.com/users/12725",
"pm_score": 2,
"selected": false,
"text": "FROM a in db.Orders\nwhere a.Total > 100\nSELECT new {a.Item.Desc, a.Customer.Name};\n select i.DESC, c.NAME \nfrom ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250369",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3440/"
] |
250,374 | <p>With the Ajax Control Toolkit, one can easily drag and drop all types of great extender onto controls, but they register a boatload of JavaScript to do it. </p>
<ol>
<li>How do I control this? </li>
<li>If the <code>ScriptManager</code> is in the <code>MasterPage</code>, is there anyway to control the loading of a... | [
{
"answer_id": 250416,
"author": "James Curran",
"author_id": 12725,
"author_profile": "https://Stackoverflow.com/users/12725",
"pm_score": 2,
"selected": false,
"text": "FROM a in db.Orders\nwhere a.Total > 100\nSELECT new {a.Item.Desc, a.Customer.Name};\n select i.DESC, c.NAME \nfrom ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250374",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7952/"
] |
250,375 | <p>for some reason, templatetags do not render in templates for django admin.</p>
<p>with this snippet from:
<a href="http://docs.djangoproject.com/en/dev/ref/templates/api/?from=olddocs#shortcut-for-simple-tags" rel="nofollow noreferrer">http://docs.djangoproject.com/en/dev/ref/templates/api/?from=olddocs#shortcut-fo... | [
{
"answer_id": 250479,
"author": "Brett",
"author_id": 11958,
"author_profile": "https://Stackoverflow.com/users/11958",
"pm_score": 3,
"selected": false,
"text": "is_logged_in Please log in. if else if {% if not request.user.is_anonymous %} ..."
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250375",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
250,377 | <p>As they are in .Net 3.5. I know they are in 4.0, as that's what the DLR works with, but I'm interested in the version we have now.</p>
| [
{
"answer_id": 250896,
"author": "Tim Robinson",
"author_id": 32133,
"author_profile": "https://Stackoverflow.com/users/32133",
"pm_score": 2,
"selected": false,
"text": "while for Enumerable"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250377",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18658/"
] |
250,378 | <p>Can source code examples be kept in a SQL database <strong>while retaining all formatting</strong> (tabs, newlines, etc.)? If so what data type would be used?</p>
| [
{
"answer_id": 250384,
"author": "Greg",
"author_id": 24181,
"author_profile": "https://Stackoverflow.com/users/24181",
"pm_score": 2,
"selected": true,
"text": "TEXT MEDIUMTEXT LONGTEXT"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250378",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13227/"
] |
250,398 | <p>I can't find any proper documentation on how to specify relations
using the declarative syntax of SQLAlchemy.. Is it unsupported? That is, should I use the "traditional" syntax?<br>
I am looking for a way to specify relations at a higher level, avoiding having to mess with foreign keys etc.. I'd like to just declare... | [
{
"answer_id": 251077,
"author": "Ali Afshar",
"author_id": 28380,
"author_profile": "https://Stackoverflow.com/users/28380",
"pm_score": 3,
"selected": true,
"text": "class User(Base):\n __tablename__ = 'users'\n\n id = Column('id', Integer, primary_key=True)\n addresses = rela... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250398",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3497/"
] |
250,403 | <p>I'm auditing a project that uses what is called a <a href="http://en.wikipedia.org/wiki/Business_rules_engine" rel="noreferrer">Rules Engine</a>. In short, it's a way to externalize business logic from application code. </p>
<p>This concept is entirely new to me and I'm pretty skeptical about it. After hearing peop... | [
{
"answer_id": 250641,
"author": "brian d foy",
"author_id": 2766176,
"author_profile": "https://Stackoverflow.com/users/2766176",
"pm_score": 4,
"selected": false,
"text": "if"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250403",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/543/"
] |
250,404 | <p>I found <a href="https://stackoverflow.com/questions/122778/capture-console-output-for-debugging-in-vs">this question</a>, but what I want to know is different - does the output from Console.WriteLine go anywhere when debugging? I know that for it to go to the output window I should should Debug.WriteLine() or other... | [
{
"answer_id": 2075892,
"author": "AMissico",
"author_id": 163921,
"author_profile": "https://Stackoverflow.com/users/163921",
"pm_score": 3,
"selected": false,
"text": "NullStream Stream Console GetStdHandle NullStream Console.SetOut(New System.IO.StreamWriter(\"C:\\ConsoleOutput.txt\")... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250404",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11236/"
] |
250,408 | <p>I tried the example from Rails Cookbook and managed to get it to work. However the <code>text_field_with_auto_complete</code> works only for one value.</p>
<pre><code>class Expense < ActiveRecord::Base
has_and_belongs_to_many :categories
end
</code></pre>
<p>In the New Expense View rhtml</p>
<pre><code><%... | [
{
"answer_id": 9945411,
"author": "Rustam A. Gasanov",
"author_id": 644810,
"author_profile": "https://Stackoverflow.com/users/644810",
"pm_score": 0,
"selected": false,
"text": "<%= f.autocomplete_field :brand_name, welcome_autocomplete_brand_name_path, \"data-delimiter\" => ', ' %>"
... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250408",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1695/"
] |
250,410 | <p>If I write <code>Session["asdf"] = 234;</code></p>
<p>In my asp.net web app, does this mean the client will have a cookie stored on their browser?</p>
| [
{
"answer_id": 250414,
"author": "ine",
"author_id": 4965,
"author_profile": "https://Stackoverflow.com/users/4965",
"pm_score": 4,
"selected": false,
"text": "lit3py55t21z5v55vlm25s55"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250410",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
250,415 | <p>I need to write some registration data (unique computer number, and corresponding activation code).</p>
<p>The Computer Number needs to be visible from <i>other</i> programs and <em>all</em> accounts ({Admin|Non Admin} with User Access Control turned {On|Off} )</p>
<p>It's acceptable to write the Computer Number a... | [
{
"answer_id": 250414,
"author": "ine",
"author_id": 4965,
"author_profile": "https://Stackoverflow.com/users/4965",
"pm_score": 4,
"selected": false,
"text": "lit3py55t21z5v55vlm25s55"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250415",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4906/"
] |
250,421 | <p>I am writing a macro for Visual studio that will generate some code.</p>
<p>I would like for the macro to generate for both C# and VB, is there a way to determine what language is being used in the active (current) document?</p>
| [
{
"answer_id": 250532,
"author": "Brian Schmitt",
"author_id": 30492,
"author_profile": "https://Stackoverflow.com/users/30492",
"pm_score": 3,
"selected": true,
"text": "DTE.ActiveDocument.Language = \"CSharp\"\n"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250421",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30492/"
] |
250,423 | <p>I'm a web developer with no formal computing background behind me, I've been writing code now some years now, but every time I need to create a new class / function / variable, I spend about two minutes just deciding on a name and then how to type it.</p>
<p>For instance, if I write a function to sum up a bunch of ... | [
{
"answer_id": 250440,
"author": "James Curran",
"author_id": 12725,
"author_profile": "https://Stackoverflow.com/users/12725",
"pm_score": 0,
"selected": false,
"text": "Sum() GetSum() XXX GetXXX"
},
{
"answer_id": 250442,
"author": "Nicholas Mancuso",
"author_id": 8945,... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250423",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31765/"
] |
250,451 | <p>It's rare that I hear someone using <a href="http://martinfowler.com/articles/injection.html" rel="nofollow noreferrer">Inversion of Control (Ioc)</a> principle with .Net. I have some friends that work with Java that use a lot more Ioc with Spring and PicoContainer.</p>
<p>I understand the principle of removing dep... | [
{
"answer_id": 250483,
"author": "cfeduke",
"author_id": 5645,
"author_profile": "https://Stackoverflow.com/users/5645",
"pm_score": 2,
"selected": false,
"text": "IPersonMapper"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250451",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13913/"
] |
250,468 | <p>Is the SqlClient.SqlDataReader a .NET managed object or not?
Why do we have to call the Close() method explicitly close an open connection?
Shouldn't running out of scope for such an object automatically close this?
Shouldn't garbage collector clean it up anyway?</p>
<p>Please help me understand what is the best pr... | [
{
"answer_id": 250535,
"author": "FlySwat",
"author_id": 1965,
"author_profile": "https://Stackoverflow.com/users/1965",
"pm_score": 4,
"selected": false,
"text": "using (SqlConnection conn = new SqlConnection(conStr))\n{\n using (SqlCommand command = new SqlCommand())\n {\n ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250468",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13370/"
] |
250,494 | <p>I have a class that downloads, examines and saves some large XML files. Sometimes I want the UI to tell me what's going on, but sometimes I will use the class and ignore the events. So I have placed lines of code like this in a dozen places:</p>
<pre><code>RaiseEvent Report("Sending request: " & queryString)
R... | [
{
"answer_id": 250830,
"author": "Binary Worrier",
"author_id": 18797,
"author_profile": "https://Stackoverflow.com/users/18797",
"pm_score": 4,
"selected": true,
"text": "GetMystring() if (MyEvent != null)\n MyEvent(GetMyString())\n"
},
{
"answer_id": 250897,
"author": "S... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250494",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16415/"
] |
250,506 | <p>I made a class that derives from Component:</p>
<pre><code>public class MyComponent: System.ComponentModel.Component
{
}
</code></pre>
<p>I saw that Visual Studio put this code in for me:</p>
<pre><code>protected override void Dispose(bool disposing)
{
try
{
if (disposing && (components ... | [
{
"answer_id": 250541,
"author": "Nicholas Mancuso",
"author_id": 8945,
"author_profile": "https://Stackoverflow.com/users/8945",
"pm_score": 3,
"selected": true,
"text": "if (disposing && (components != null))\n{\n components.Dispose();\n}\n if (disposing && (components != null))\n{... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250506",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
250,508 | <p>I am trying to pull data from an ACD call data system, <code>Nortel Contact Center 6.0</code> to be exact, and if you use that particular system what I am trying to capture is the daily call by call data. However when I use this code</p>
<p>(sCW is a common word string that equals <code>eCallByCallStat</code> and ... | [
{
"answer_id": 250929,
"author": "Loopo",
"author_id": 32763,
"author_profile": "https://Stackoverflow.com/users/32763",
"pm_score": 1,
"selected": false,
"text": "sConn = \"ODBC;DSN=Aus1S002;UID=\"\"somevaliduser\"\";PWD=\"\"avalidpassword\"\";SRVR=\"\"Thecorrectserver\"\";DB=blue\"\n"
... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250508",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32790/"
] |
250,509 | <p>Is there a way that you can have SERVEROUTPUT set to ON in sqlplus but somehow repress the message "PL/SQL procedure successfully completed" that is automatically generated upon completed execution of a plsql procedure?</p>
| [
{
"answer_id": 250540,
"author": "Tony Andrews",
"author_id": 18747,
"author_profile": "https://Stackoverflow.com/users/18747",
"pm_score": 7,
"selected": true,
"text": "SET FEEDBACK OFF\n SET FEEDBACK ON\n"
},
{
"answer_id": 58718276,
"author": "MikeA",
"author_id": 1080... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250509",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5658/"
] |
250,517 | <p>I see many different Java terms floating around. I need to install the JDK 1.6. It was my understanding that Java 6 == Java 1.6. However, when I install Java SE 6, I get a JVM that reports as version 11.0! Who can solve the madness?</p>
| [
{
"answer_id": 250534,
"author": "Jonathan Leffler",
"author_id": 15168,
"author_profile": "https://Stackoverflow.com/users/15168",
"pm_score": 8,
"selected": false,
"text": "sun.com"
},
{
"answer_id": 250559,
"author": "Paul Tomblin",
"author_id": 3333,
"author_profi... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250517",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1541/"
] |
250,545 | <p>Does anyone know of any specific DSL implementations used to import legacy Oracle database schemas. I have tried to just run db:schema:dump on my existing db I want to port to a new ruby app. However, the rake dies about halfway through with out any error. It kinda just locks up. I started looking for the best way t... | [
{
"answer_id": 250725,
"author": "Gene T",
"author_id": 413049,
"author_profile": "https://Stackoverflow.com/users/413049",
"pm_score": 3,
"selected": true,
"text": "rake --trace"
},
{
"answer_id": 252864,
"author": "Raimonds Simanovskis",
"author_id": 16829,
"author_... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250545",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30807/"
] |
250,550 | <p>this is probably a newbie ruby question. I have several libraries and apps that I need to deploy to several different hosts. All of the apps and libs will share some common settings for those hosts-- e.g. host name, database server/user/pass, etc.</p>
<p>My goal is to do something like:</p>
<pre><code>cap host1 st... | [
{
"answer_id": 250747,
"author": "Jon Wood",
"author_id": 25258,
"author_profile": "https://Stackoverflow.com/users/25258",
"pm_score": 2,
"selected": false,
"text": "require 'my_extension'\n"
},
{
"answer_id": 250985,
"author": "Daniel Beardsley",
"author_id": 13216,
... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250550",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8243/"
] |
250,553 | <p>I'd like something like</p>
<pre><code>int minIndex = list.FindMin(delegate (MyClass a, MyClass b) {returns a.CompareTo(b);});
</code></pre>
<p>Is there a builtin way to do this in .NET?</p>
| [
{
"answer_id": 250567,
"author": "Nicholas Mancuso",
"author_id": 8945,
"author_profile": "https://Stackoverflow.com/users/8945",
"pm_score": 6,
"selected": true,
"text": "List<MyClass> list = new List();\n//add whatever you need to add\n\nMyClass min = list.Min();\nMyClass max = list.Ma... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250553",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11236/"
] |
250,560 | <p>I am working in Java on a fairly large project. My question is about how to best structure the set of Properties for my application.</p>
<p>Approach 1: Have some static Properties object that's accessible by every class. (Disadvantages: then, some classes lose their generality should they be taken out of the con... | [
{
"answer_id": 250585,
"author": "sblundy",
"author_id": 4893,
"author_profile": "https://Stackoverflow.com/users/4893",
"pm_score": 1,
"selected": false,
"text": "ConfigurationManagerClass.instance()"
},
{
"answer_id": 250593,
"author": "S.Lott",
"author_id": 10661,
... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250560",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10675/"
] |
250,564 | <p>How to check, from C#, are files for complex script and rtl languages (Regional and Language settings) installed?</p>
<p>Edit:
Or is there another way of checking whether right to left text will display correctly in my form?</p>
<p>Edit for better explanation (I hope :))
I'm creating an application that will use A... | [
{
"answer_id": 261187,
"author": "Afree",
"author_id": 11317,
"author_profile": "https://Stackoverflow.com/users/11317",
"pm_score": 0,
"selected": false,
"text": "...\n uint32 MaxNumberOfProcesses;\n uint64 MaxProcessMemorySize;\n string MUILanguages[]; //I don't see this field, and ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250564",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11317/"
] |
250,566 | <p>What is the best plugin for Rails that <strong>gzips</strong> my webpage output?</p>
<p><strong>Edit:</strong>
The company I am hosting with has stated they will not install <code>mod_deflate</code>.</p>
| [
{
"answer_id": 251012,
"author": "Otto",
"author_id": 9594,
"author_profile": "https://Stackoverflow.com/users/9594",
"pm_score": 4,
"selected": false,
"text": "Content-Encoding: gzip $ curl --head -H \"Accept-Encoding: gzip\" http://example.com\n"
},
{
"answer_id": 13877091,
... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250566",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1632/"
] |
250,576 | <p>In Visual Studio, is there any way to make the debugger break whenever a certain file (or class) is entered? Please don't answer "just set a breakpoint at the beginning of every method" :)</p>
<p>I am using C#.</p>
| [
{
"answer_id": 250594,
"author": "JC.",
"author_id": 3615,
"author_profile": "https://Stackoverflow.com/users/3615",
"pm_score": 2,
"selected": false,
"text": "System.Diagnostics.Debugger.Break();\n"
},
{
"answer_id": 539655,
"author": "devdimi",
"author_id": 54983,
"... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250576",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16012/"
] |
250,577 | <p>I have an Ant script with a junit target where I want it to start up the VM with a different working directory than the basedir. How would I do this?</p>
<p>Here's a pseudo version of my target.</p>
<pre><code><target name="buildWithClassFiles">
<mkdir dir="${basedir}/UnitTest/junit-reports"/>
... | [
{
"answer_id": 250651,
"author": "James Van Huis",
"author_id": 31828,
"author_profile": "https://Stackoverflow.com/users/31828",
"pm_score": 3,
"selected": false,
"text": " <junit fork=\"true\" printsummary=\"yes\" dir=\"workingdir\">\n"
},
{
"answer_id": 250927,
"author": "... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250577",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6583/"
] |
250,582 | <p>Which language for quick GUI app + sqlite database CRUD (2-4 tables). Java, Python? (Please no jokes like VBasic), some reference, source code to look on?</p>
<p>added:</p>
<p>First idea:
1 database SQLite (Win) + client GUI app (Win)
clients table + orders table + others
import, export database
add, del, edit, et... | [
{
"answer_id": 250967,
"author": "robintw",
"author_id": 1912,
"author_profile": "https://Stackoverflow.com/users/1912",
"pm_score": 3,
"selected": true,
"text": "scaffold"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250582",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9099/"
] |
250,583 | <p>I'm trying to get all property names / values from an Outlook item. I have custom properties in addition to the default outlook item properties. I'm using redemption to get around the Outlook warnings but I'm having some problems with the GetNamesFromIDs method on a Redemption.RDOMail Item....</p>
<p>I'm using my r... | [
{
"answer_id": 250967,
"author": "robintw",
"author_id": 1912,
"author_profile": "https://Stackoverflow.com/users/1912",
"pm_score": 3,
"selected": true,
"text": "scaffold"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250583",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1385358/"
] |
250,597 | <p>I have a WPF TreeView with just 1 level of items. The TreeView is data bound to an ObservableCollection of strings. How can I ensure that the same icon appears to the left of each node in the TreeView?</p>
| [
{
"answer_id": 253243,
"author": "James Osborn",
"author_id": 6686,
"author_profile": "https://Stackoverflow.com/users/6686",
"pm_score": 4,
"selected": false,
"text": "<Style TargetType=\"{x:Type TreeViewItem}\">\n <Setter Property=\"HeaderTemplate\">\n <Setter.Value>\n ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250597",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/132931/"
] |
250,599 | <p>In the following code, used to get a list of products in a particular line, the command only returns results when I hard code (concatenate) <code>productLine</code> into the SQL. The parameter substitution never happens.</p>
<pre><code> + "lineName = '@productLine' "
+... | [
{
"answer_id": 250640,
"author": "Ian G",
"author_id": 31765,
"author_profile": "https://Stackoverflow.com/users/31765",
"pm_score": 0,
"selected": false,
"text": "+ \"lineName = '@productLine' \" \n + \"lineName = @productLine \" \n"
},
{
"answer_id": 250659,
"author": "Omer... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250599",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8741/"
] |
250,603 | <p>I'm sure I'm going to have to write supporting javascript code to do this. I have an autocomplete extender set up that selects values from a database table, when a selection is made, i would like it to set the ID of the value selected to a hidden control. I can do that by handling a value change on the text box an... | [
{
"answer_id": 265532,
"author": "stephenbayer",
"author_id": 18893,
"author_profile": "https://Stackoverflow.com/users/18893",
"pm_score": 3,
"selected": true,
"text": "<%@ Control Language=\"C#\" AutoEventWireup=\"true\" CodeFile=\"SelectCompany.ascx.cs\" Inherits=\"Controls_SelectComp... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250603",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18893/"
] |
250,616 | <p>A <a href="https://stackoverflow.com/questions/217618/construct-vs-sameasclassname-for-constructor-in-php">similar question discusses <code>__construct</code></a>, but I left it in my title for people searching who find this one.</p>
<p>Apparently, __get and __set take a parameter that is the variable being gotten ... | [
{
"answer_id": 250637,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 4,
"selected": true,
"text": "__set() __get() __get() __set() $user = ORM::factory('user', 1);\n$email = $user->email_address;\n __get() __set() __call()"
... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250616",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/572/"
] |
250,622 | <p>I'd trying to style my ComboBoxes to match the rest of the UI but I'm having problems with the IsMouseOver highlighting. It highlights with the color I specify for a second and then fades back to the default color, kind of a cool effect but not what I'm going for. Here is my style:</p>
<pre><code><Style TargetTy... | [
{
"answer_id": 252450,
"author": "Todd White",
"author_id": 30833,
"author_profile": "https://Stackoverflow.com/users/30833",
"pm_score": 3,
"selected": true,
"text": "<Style TargetType=\"{x:Type ComboBox}\">\n <Setter Property=\"Template\">\n <Setter.Value>\n <Contr... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250622",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21186/"
] |
250,643 | <p>I want to attach a 'click' event handler to the first child of an element with ID 'foo' using <a href="http://en.wikipedia.org/wiki/JQuery" rel="nofollow noreferrer">jQuery</a>. I understand that the syntax for doing this is:</p>
<pre><code>$('#foo:first-child').bind('click', function(event) {
// I want to acce... | [
{
"answer_id": 250656,
"author": "Owen",
"author_id": 4853,
"author_profile": "https://Stackoverflow.com/users/4853",
"pm_score": 2,
"selected": false,
"text": "$(this).doStuff()\n"
},
{
"answer_id": 250661,
"author": "Greg",
"author_id": 24181,
"author_profile": "htt... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250643",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2648/"
] |
250,652 | <p>I use <code>_vimrc</code> to configure my vim 7.2 (windows) default settings. One setting "set number" will display line numbers on the left side. My vim background color is white (I cannot find setting for this. Maybe the default is white. Anyway I accept this setting).</p>
<p>I would like the background color for... | [
{
"answer_id": 250686,
"author": "robert",
"author_id": 32805,
"author_profile": "https://Stackoverflow.com/users/32805",
"pm_score": 7,
"selected": true,
"text": "highlight LineNr ctermfg=grey ctermbg=white\n"
},
{
"answer_id": 250964,
"author": "David.Chu.ca",
"author_i... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250652",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/62776/"
] |
250,679 | <p>I'm currently using <a href="http://magpierss.sourceforge.net/" rel="noreferrer">Magpie RSS</a> but it sometimes falls over when the RSS or Atom feed isn't well formed. Are there any other options for parsing RSS and Atom feeds with PHP?</p>
| [
{
"answer_id": 251102,
"author": "Brian Cline",
"author_id": 32536,
"author_profile": "https://Stackoverflow.com/users/32536",
"pm_score": 7,
"selected": false,
"text": "class BlogPost\n{\n var $date;\n var $ts;\n var $link;\n\n var $title;\n var $text;\n}\n\nclass BlogFee... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250679",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25343/"
] |
250,687 | <p>I'm having trouble getting a rails app on Dreamhost's Passenger to see compiled libraries in my ~/opt/lib directory. I have to put them here because I don't have root access. </p>
<p>I can boot up my app in ./script/console and it sees them libraries just fine because I updated my .bash_profile's <code>LD_LIBRARY... | [
{
"answer_id": 423767,
"author": "aussiegeek",
"author_id": 51567,
"author_profile": "https://Stackoverflow.com/users/51567",
"pm_score": 1,
"selected": false,
"text": ".bashrc"
},
{
"answer_id": 431735,
"author": "sammich",
"author_id": 50276,
"author_profile": "http... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1766771/"
] |
250,688 | <p>I have the following HTML node structure:</p>
<pre><code><div id="foo">
<div id="bar"></div>
<div id="baz">
<div id="biz"></div>
</div>
<span></span>
</div>
</code></pre>
<p>How do I count the number of immediate children of <code>foo</code>, ... | [
{
"answer_id": 250694,
"author": "Garry Shutler",
"author_id": 6369,
"author_profile": "https://Stackoverflow.com/users/6369",
"pm_score": 9,
"selected": true,
"text": "$(\"#foo > div\").length\n"
},
{
"answer_id": 250702,
"author": "gizmo",
"author_id": 9396,
"author... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250688",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2648/"
] |
250,690 | <p>I'm looking for a good JavaScript RegEx to convert names to proper cases. For example:</p>
<pre><code>John SMITH = John Smith
Mary O'SMITH = Mary O'Smith
E.t MCHYPHEN-SMITH = E.T McHyphen-Smith
John Middlename SMITH = John Middlename SMITH
</code></pre>
<p>Well you get the idea.</p>
<p>Anyone come up with a... | [
{
"answer_id": 250772,
"author": "James Curran",
"author_id": 12725,
"author_profile": "https://Stackoverflow.com/users/12725",
"pm_score": 1,
"selected": false,
"text": "Regex fixnames = new Regex(\"(Ma?C)?(\\w)(\\w*)(\\W*)\");\nstring newName = fixnames.Replace(badName, NameFixer);\n\n... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250690",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/262775/"
] |
250,692 | <p>I'm building a class library that will have some public & private methods. I want to be able to unit test the private methods (mostly while developing, but also it could be useful for future refactoring).</p>
<p>What is the correct way to do this?</p>
| [
{
"answer_id": 250703,
"author": "James Curran",
"author_id": 12725,
"author_profile": "https://Stackoverflow.com/users/12725",
"pm_score": 2,
"selected": false,
"text": "internal InternalsVisibleToAttribute"
},
{
"answer_id": 250748,
"author": "Jason Jackson",
"author_id... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250692",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6522/"
] |
250,700 | <p>I'm trying to write a python script that packages our software. This script needs to build our product, and package it. Currently we have other scripts that do each piece individually which include csh, and perl scripts. One such script is run like:</p>
<pre><code>sudo mod args
</code></pre>
<p>where mod is a perl... | [
{
"answer_id": 250804,
"author": "mipadi",
"author_id": 28804,
"author_profile": "https://Stackoverflow.com/users/28804",
"pm_score": 1,
"selected": false,
"text": "sudo"
},
{
"answer_id": 250819,
"author": "Rômulo Ceccon",
"author_id": 23193,
"author_profile": "https... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250700",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7949/"
] |
250,713 | <p>Why would a stored procedure that returns a table with 9 columns, 89 rows using this code take 60 seconds to execute (.NET 1.1) when it takes < 1 second to run in SQL Server Management Studio? It's being run on the local machine so little/no network latency, fast dev machine</p>
<pre><code>Dim command As SqlCom... | [
{
"answer_id": 250961,
"author": "HTTP 410",
"author_id": 13118,
"author_profile": "https://Stackoverflow.com/users/13118",
"pm_score": 7,
"selected": true,
"text": "SET ARITHABORT OFF SET ARITHABORT OFF ARITHABORT sys.dm_exec_cached_plans DBCC DROPCLEANBUFFERS\nDBCC FREEPROCCACHE\n"
}... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250713",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3256/"
] |
250,717 | <p>I'm trying to write a log parsing script to extract failed events. I can pull these with grep:</p>
<pre><code>$ grep -A5 "FAILED" log.txt
2008-08-19 17:50:07 [7052] [14] DEBUG: data: 3a 46 41 49 4c 45 44 20 20 65 72 72 3a 30 32 33 :FAILED err:023
2008-08-19 17:50:07 [7052] [14] DEBUG: data: 20 74 65 7... | [
{
"answer_id": 250761,
"author": "Michael Gundlach",
"author_id": 4105,
"author_profile": "https://Stackoverflow.com/users/4105",
"pm_score": 3,
"selected": true,
"text": "grep -A 5 FAILED log.txt | \\ # Get FAILED and dst and other lines\n egrep '(FAILED|dst=)' | \\ ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250717",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
250,718 | <p>If I grant execute permissions to a role via</p>
<pre><code>GRANT EXECUTE ON [DBO].[MYPROC] TO MY_ROLE
</code></pre>
<p>what's the equivalent syntax to remove them?</p>
| [
{
"answer_id": 250724,
"author": "Godeke",
"author_id": 28006,
"author_profile": "https://Stackoverflow.com/users/28006",
"pm_score": 4,
"selected": false,
"text": "DENY EXECUTE ON [DBO].[MYPROC] TO MY_ROLE\n REVOKE EXECUTE ON [DBO].[MYPROC] TO MY_ROLE\n"
},
{
"answer_id": 250726... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250718",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4540/"
] |
250,755 | <p>I'm trying to export a Crystal Report to an HTML file, but when I call the Export method, I immediately get this error:</p>
<blockquote>
<p><strong>Source</strong>: Crystal Reports ActiveX Designer </p>
<p><strong>Description</strong>: Failed to export the report.</p>
</blockquote>
<p>I have tried both crEF... | [
{
"answer_id": 269715,
"author": "user35193",
"author_id": 35193,
"author_profile": "https://Stackoverflow.com/users/35193",
"pm_score": 2,
"selected": true,
"text": "[...] Dim objCRReport As CRAXDRT.Report\n\n'***********************************\nDim objCRApp As New CRAXDRT.Application\... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250755",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21263/"
] |
250,757 | <p>I'm writing an application using Qt4.</p>
<p>I need to download a very short text file from a given http address.</p>
<p>The file is short and is needed for my app to be able to continue, so I would like to make sure the download is blocking (or will timeout after a few seconds if the file in not found/not availab... | [
{
"answer_id": 250950,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "QThread::quit() exit()"
},
{
"answer_id": 251631,
"author": "Dusty Campbell",
"author_id": 2174,
"author_p... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250757",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2796/"
] |
250,766 | <p>I am using a Windows XP Home Edition. I need to install a few extensions to PHP -- memcache, APC, .etc. And I would very much like to use PECL to make this happen. The problem is PECL takes it for granted that I will have certain programs on my computer. On another post, I read, for instance, that you need to have M... | [
{
"answer_id": 250806,
"author": "Robert K",
"author_id": 24950,
"author_profile": "https://Stackoverflow.com/users/24950",
"pm_score": 2,
"selected": false,
"text": "C:\\xampp\\php\\ext ; Dynamic Extensions ; extension=my_lib.dll"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250766",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32816/"
] |
250,774 | <p>I want to make some passages of a standard tooltip bold in a WinForms application. Is this possible?</p>
<p>If not, is there a (free) tooltip component that allows me to style them (preferably also border and background)?</p>
<p>Thanks!</p>
| [
{
"answer_id": 20812702,
"author": "user3141530",
"author_id": 3141530,
"author_profile": "https://Stackoverflow.com/users/3141530",
"pm_score": -1,
"selected": false,
"text": "_toolTip.SetToolTip(button, String.Format(\"<font face=\\\"Microsoft Yahei\\\" color=\\\"blue\\\">{0}</font>\",... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250774",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
250,779 | <p>I was taught that a regression test was a small (only enough to prove you didn't break anything with the introduction of a change or new modules) sample of the overall tests. However, <a href="http://www.iceincusa.com/16csp/content/16_smoke/smkrgt.htm" rel="noreferrer">this article</a> by Ron Morrison and Grady Booc... | [
{
"answer_id": 250783,
"author": "Bill the Lizard",
"author_id": 1288,
"author_profile": "https://Stackoverflow.com/users/1288",
"pm_score": 4,
"selected": true,
"text": "Foo Bar"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250779",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/572/"
] |
250,789 | <p>I have a CSV data file with rows that may have lots of columns 500+ and some with a lot less. I need to transpose it so that each row becomes a column in the output file. The problem is that the rows in the original file may not all have the same number of columns so when I try the transpose method of array I get:... | [
{
"answer_id": 250926,
"author": "bltxd",
"author_id": 11892,
"author_profile": "https://Stackoverflow.com/users/11892",
"pm_score": 4,
"selected": true,
"text": "a = [[1, 2, 3], [3, 4]]\n\n# This would throw the error you're talking about\n# a.transpose\n\n# Largest row\nsize = a.max { ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250789",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6805/"
] |
250,790 | <p>So I'm creating some HTML using javascript based on where the user clicks on the page. On page load the script replaces an empty div with a ul and some data. The user clicks on that data to receive more and so on. Now when the user navigates off the page and then hits the back button to go back to the page, IE displ... | [
{
"answer_id": 250926,
"author": "bltxd",
"author_id": 11892,
"author_profile": "https://Stackoverflow.com/users/11892",
"pm_score": 4,
"selected": true,
"text": "a = [[1, 2, 3], [3, 4]]\n\n# This would throw the error you're talking about\n# a.transpose\n\n# Largest row\nsize = a.max { ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250790",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
250,792 | <p>We're looking for a way to log any call to stored procedures in Oracle, and see what parameter values were used for the call.</p>
<p>We're using Oracle 10.2.0.1</p>
<p>We can log SQL statements and see the bound variables, but when we track stored procedures we see bind variables B1, B2, etc. but no values.</p>
<... | [
{
"answer_id": 251665,
"author": "Clyde",
"author_id": 945,
"author_profile": "https://Stackoverflow.com/users/945",
"pm_score": 0,
"selected": false,
"text": "Begin dbo.UPKG_PACKAGENAME.PROC(:v0, :v1, :v2 ...); End;\n/\nBegin dbo.UPKG_PACKAGENAME.PROC2(:v0, :v1, :v2 ...); End;\n/\n...\n... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250792",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/945/"
] |
250,794 | <p>I realize this would violate convention, but I'm curious to know if you can do this through configuration.</p>
<p><strong>Edit: I understand why I wouldn't want to do this. BUT, I do want to understand the internals of this time of project.</strong></p>
| [
{
"answer_id": 250825,
"author": "Larsenal",
"author_id": 337,
"author_profile": "https://Stackoverflow.com/users/337",
"pm_score": 1,
"selected": false,
"text": "internal const string CodeDirectoryName = \"App_Code\";\n"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250794",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/337/"
] |
250,801 | <p>Hi does anybody know how to initialize two list at the same time with ajax?</p>
<p>This is my code</p>
<pre><code><html>
<body onload="iniciaListas()">
<script type="text/javascript">
var xmlHttp
function iniciaListas()
{
muestraListaPaises();
muestraListaProfesiones();
}
functio... | [
{
"answer_id": 250820,
"author": "Chris Marasti-Georg",
"author_id": 96,
"author_profile": "https://Stackoverflow.com/users/96",
"pm_score": 2,
"selected": false,
"text": "//Se obtine el id de la lista\nvar obCon = document.getElementById(\"pais\");\nvar obOcupation = document.getElement... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250801",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
250,818 | <p>How do I find a stored procedure in a Sybase database given a text string that appears somewhere in the proc? I want to see if any other proc in the db has similar logic to the one I'm looking at, and I think I have a pretty unique search string (literal)</p>
<p>Edit:</p>
<p>I'm using Sybase version 11.2</p>
| [
{
"answer_id": 250862,
"author": "Graeme Perrow",
"author_id": 1821,
"author_profile": "https://Stackoverflow.com/users/1821",
"pm_score": 3,
"selected": false,
"text": "select * from SYS.SYSPROCEDURE where proc_defn like '%whatever%'\n select * from syscomments where texttype = 0 and te... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250818",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5472/"
] |
250,840 | <p>The TextWrapping property of the TextBox has three possible values:</p>
<ul>
<li>Wrap</li>
<li>NoWrap</li>
<li>WrapWithOverflow</li>
</ul>
<p>I would like to bind to the IsChecked property of a MenuItem. If the MenuItem is checked, I want to set the TextWrapping property of a TextBox to Wrap. If the MenuItem is ... | [
{
"answer_id": 252284,
"author": "Todd White",
"author_id": 30833,
"author_profile": "https://Stackoverflow.com/users/30833",
"pm_score": 4,
"selected": true,
"text": "<StackPanel>\n <CheckBox x:Name=\"WordWrap\">Word Wrap</CheckBox>\n <TextBlock Width=\"50\">\n Lorem ipsum ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250840",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12919/"
] |
250,845 | <blockquote>
<p>Clarification: this is not about <em>user agent</em> calls to pages, but Classic ASP calling ASP.NET!</p>
</blockquote>
<p>I have applications that are midway through a transition from Classic ASP to ASP.NET. There are a half million lines of code, so a complete rewrite of everything at once was simp... | [
{
"answer_id": 1749591,
"author": "wwilkins",
"author_id": 4098,
"author_profile": "https://Stackoverflow.com/users/4098",
"pm_score": 1,
"selected": false,
"text": "Set xmlhttp = CreateObject(\"MSXML2.ServerXMLHTTP\") \nxmlhttp.open \"POST\", soapServer, False\n... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250845",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28006/"
] |
250,846 | <p>I am loading some data from an XML document, modifying it, and writing back out to XML. The reading is done using a SAX parser library and the writing is done with a piece of custom code. Sometimes, the file is modified externally, and extra elements are added (such as references to stylesheets). Rather than losi... | [
{
"answer_id": 251295,
"author": "ChuckB",
"author_id": 28605,
"author_profile": "https://Stackoverflow.com/users/28605",
"pm_score": 1,
"selected": false,
"text": "startElement() endElement()"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250846",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32817/"
] |
250,849 | <p>Similar to the one here on StackOverFlow, I would be needing to implement a way for people to vote up and vote down comments in a forum like site.</p>
<p>However instead of having a generic overall score, we will display the total amount of "thumbs up" and "thumbs down". The overall score will be needed for filteri... | [
{
"answer_id": 250861,
"author": "Oli",
"author_id": 12870,
"author_profile": "https://Stackoverflow.com/users/12870",
"pm_score": 3,
"selected": true,
"text": "SUM-WHERE"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250849",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32372/"
] |
250,867 | <p>Assuming a table of tags like the stackoverflow question tags:</p>
<blockquote>
<p>TagID (bigint), QuestionID (bigint), Tag (varchar)</p>
</blockquote>
<p>What is the most efficient way to get the 25 most used tags using LINQ? In SQL, a simple GROUP BY will do:</p>
<pre><code>SELECT Tag, COUNT(Tag) FROM Tags G... | [
{
"answer_id": 250910,
"author": "GalacticCowboy",
"author_id": 29638,
"author_profile": "https://Stackoverflow.com/users/29638",
"pm_score": 5,
"selected": false,
"text": "var groups = from t in DataContext.Tags\n group t by t.Tag into g\n select new Tag() { Tag ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250867",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/192/"
] |
250,868 | <p>I've heard that there are some things one cannot do as a computer programmer, but I don't know what they are. One thing that occurred to me recently was: wouldn't it be nice to have a class that could make a copy of the source of the program it runs, modify that program and add a method to the class that it is, and ... | [
{
"answer_id": 250893,
"author": "dlamblin",
"author_id": 459,
"author_profile": "https://Stackoverflow.com/users/459",
"pm_score": 5,
"selected": true,
"text": "#include<stdio.h>\n\nmain()\n{\n char *a = \"main(){char *a = %c%s%c; int b = '%c'; printf(a,b,a,b,b);}\";\n int b = '\"';\n... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250868",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/29182/"
] |
250,874 | <p>How do implement the iterator pattern in <a href="http://en.wikipedia.org/wiki/Visual_Basic_.NET" rel="nofollow noreferrer">VB.NET</a>, which does not have the <code>yield</code> keyword?</p>
| [
{
"answer_id": 5712861,
"author": "Sam Saffron",
"author_id": 17174,
"author_profile": "https://Stackoverflow.com/users/17174",
"pm_score": 5,
"selected": true,
"text": "Private Iterator Function SomeNumbers() As IEnumerable\n ' Use multiple yield statements.\n Yield 3\n Yield 5... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250874",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31766/"
] |
250,890 | <p>I have a <code>QDirModel</code> whose current directory is set. Then I have a <code>QListView</code> which is supposed to show the files in that directory. This works fine.</p>
<p>Now I want to limit the files shown, so it only shows <em>png</em> files (the filename ends with .png). The problem is that using a <cod... | [
{
"answer_id": 253949,
"author": "Caleb Huitt - cjhuitt",
"author_id": 9876,
"author_profile": "https://Stackoverflow.com/users/9876",
"pm_score": 3,
"selected": false,
"text": "filterAcceptsRow"
},
{
"answer_id": 4106006,
"author": "RoLi",
"author_id": 498317,
"autho... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250890",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1585/"
] |
250,901 | <p>I was wondering what would be the best approach you guys would take to relocate an entire Eclipse workspace? Assuming it's either versioned and exported, what would you do? Import the file? Checkout the whole thing from the repo? Thanks much in advance!</p>
| [
{
"answer_id": 250908,
"author": "matt b",
"author_id": 4249,
"author_profile": "https://Stackoverflow.com/users/4249",
"pm_score": 0,
"selected": false,
"text": "Switch workspace File"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250901",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6992/"
] |
250,911 | <p>An application I am working on reads information from files to populate a database. Some of the characters in the files are non-English, for example accented French characters.</p>
<p>The application is working fine in Windows but on our Solaris machine it is failing to recognise the special characters and is throw... | [
{
"answer_id": 250944,
"author": "sakana",
"author_id": 28921,
"author_profile": "https://Stackoverflow.com/users/28921",
"pm_score": 2,
"selected": false,
"text": "java -Dfile.encoding=UTF-8 ...\n"
},
{
"answer_id": 250947,
"author": "sblundy",
"author_id": 4893,
"au... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250911",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22061/"
] |
250,931 | <p>I have some HTML that displays fine on FireFox3/Opera/Safari but not with IE7. The snippet is as follows:</p>
<pre><code><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head></... | [
{
"answer_id": 251315,
"author": "Eli",
"author_id": 27580,
"author_profile": "https://Stackoverflow.com/users/27580",
"pm_score": 3,
"selected": true,
"text": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250931",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14260/"
] |
250,932 | <p>I have a hyper link like this :</p>
<pre><code><A Href=My_Java_Servlet?User_Action=Admin_Download_Records&User_Id=Admin onClick=\"Check_Password();\" target=_blank>Download Records</A>
</code></pre>
<p>When a user clicks on it, a password window will open, the user can try 3 times for the right pas... | [
{
"answer_id": 250943,
"author": "kͩeͣmͮpͥ ͩ",
"author_id": 26479,
"author_profile": "https://Stackoverflow.com/users/26479",
"pm_score": 1,
"selected": false,
"text": "false \"false\""
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250932",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32834/"
] |
250,937 | <p>I have a very simple ASP.Net page that acts as a front end for a stored procedure. It just runs the procedure and shows the output using a gridview control: less than 40 lines of total code, including aspx markup. The stored procedure itself is very... volatile. It's used for a number of purposes and the output f... | [
{
"answer_id": 250963,
"author": "Eoin Campbell",
"author_id": 30155,
"author_profile": "https://Stackoverflow.com/users/30155",
"pm_score": 2,
"selected": false,
"text": "<asp:BoundField DataField=\"Whatever\" ... DataFormatString=\"{0:dd/MM/yyyy}\" HtmlEncode=\"False\"/ > \n"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250937",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3043/"
] |
250,940 | <p>I have an SQLite table that contains a BLOB I need to do a size/length check on. How do I do that?</p>
<p>According to documentation <code>length(blob)</code> only works on texts and will stop counting after the first NULL. My tests confirmed this. I'm using SQLite 3.4.2.</p>
| [
{
"answer_id": 251134,
"author": "Javier",
"author_id": 11649,
"author_profile": "https://Stackoverflow.com/users/11649",
"pm_score": 7,
"selected": true,
"text": "length(hex(glob))/2 length(blob_column)"
},
{
"answer_id": 3780193,
"author": "Chris",
"author_id": 456378,
... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250940",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2815/"
] |
250,969 | <p>I believe that quantifying the productivity increase (extra working hours) is the most effective way to do this.</p>
<p>My case in point: I have a fast machine at home and a slow one at work. My estimate is that I would gain about 30 minutes a day of extra productivity at work if I had my home machine at work. This... | [
{
"answer_id": 251047,
"author": "warren",
"author_id": 4418,
"author_profile": "https://Stackoverflow.com/users/4418",
"pm_score": 0,
"selected": false,
"text": "time"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/250969",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1463/"
] |
250,970 | <p>The object I’m working on is instantiated in JavaScript, but used in VBScript. In one code path, the variable <code>M.DOM.IPt</code> is defined and has a value, in the other however it is not. I need to detect if it has been defined or not. I checked that <code>M.DOM</code> is defined and accessable in both code pat... | [
{
"answer_id": 251107,
"author": "Arvo",
"author_id": 35777,
"author_profile": "https://Stackoverflow.com/users/35777",
"pm_score": 1,
"selected": false,
"text": "On Error Resume Next\nErr.Clear\nMyVariable=M.DOM.Ipt\nIf Err.Number<> 0 Then\n 'error occured - Ipt not defined\n 'do ... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250970",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/80/"
] |
250,973 | <p>I wanted to write a Visual Studio Macro or something similar which can fetch function name and insert into preset location in the error report part. It's clearer if you look at the example</p>
<pre><code>Class SampleClass
{
public void FunctionA()
{
try
{
//Do some work here
... | [
{
"answer_id": 251042,
"author": "cfeduke",
"author_id": 5645,
"author_profile": "https://Stackoverflow.com/users/5645",
"pm_score": 1,
"selected": false,
"text": "__FILE__ __LINE__ public class SimplestTraceAttribute : OnMethodBoundaryAspect\n{\n public override void OnEntry( MethodEx... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250973",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20007/"
] |
250,980 | <p>How can one open a PNG formatted image file with VB6? Ideally, I (that is my customer) would like to have the PNG file open and placed into seperate R(ed), G(reen) and B(lue) arrays.</p>
<p>VB6 is not my tool of choice (for lack of knowledge) and I be thrilled if some one could point me in the right direction for ... | [
{
"answer_id": 251042,
"author": "cfeduke",
"author_id": 5645,
"author_profile": "https://Stackoverflow.com/users/5645",
"pm_score": 1,
"selected": false,
"text": "__FILE__ __LINE__ public class SimplestTraceAttribute : OnMethodBoundaryAspect\n{\n public override void OnEntry( MethodEx... | 2008/10/30 | [
"https://Stackoverflow.com/questions/250980",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32836/"
] |
251,030 | <p>In <a href="https://stackoverflow.com/questions/226206/alternating-item-style">this question</a>, I was given a really cool answer to alternating an image and its description between left and right, respectively. Now I want to apply styling to both, e.g. padding-top, padding-bottom etc. How do I apply a style to bo... | [
{
"answer_id": 251037,
"author": "changelog",
"author_id": 5646,
"author_profile": "https://Stackoverflow.com/users/5646",
"pm_score": 5,
"selected": false,
"text": ".ProductAltItemStyle, .ProductItemStyle {\n // CSS Rules that apply to both go here\n}"
},
{
"answer_id": 25116... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251030",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8741/"
] |
251,033 | <p>How can I convert a varchar field of the form YYYYMMDD to a datetime in T-SQL?</p>
<p>Thank you.</p>
| [
{
"answer_id": 251045,
"author": "bobwienholt",
"author_id": 24257,
"author_profile": "https://Stackoverflow.com/users/24257",
"pm_score": 5,
"selected": true,
"text": "select convert(datetime, '20081030')\n"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/251033",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2443/"
] |
251,035 | <p>I have a simple app which is writing to an xml file on every button click. Once this is done, I read the Xml file soon after (as in, a couple of lines below with no methods to be stepped in to in between).</p>
<p>When the app runs for the first time, the xml file is written to/read from fine, but if I press the but... | [
{
"answer_id": 251174,
"author": "John",
"author_id": 30006,
"author_profile": "https://Stackoverflow.com/users/30006",
"pm_score": 0,
"selected": false,
"text": "object locker = new Object();\n\n....\n\nlock (locker)\n{\n //write xml file\n}\n"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/251035",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32484/"
] |
251,068 | <p>Does a comparison sort have to compare the A[i] largest and A[i+1] largest values? I think any comparison sort must, but I'm not sure. I've checked out mergesort, insertion sort, and quicksort and in each of them the A[i] largest and A[i+1] largest values have to be compared.</p>
| [
{
"answer_id": 251127,
"author": "David Nehme",
"author_id": 14167,
"author_profile": "https://Stackoverflow.com/users/14167",
"pm_score": 1,
"selected": false,
"text": "A[i] > A[j] and A[j] > A[k] implies A[i] > A[k].\n"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/251068",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27884/"
] |
251,069 | <p>I having to downgrade my Oracle instance from 10g (10.1.0.2.0) to 9i (9.2.x.x.x).
Not having planned on ever doing this, I didn't document 10g dependencies.</p>
<p>What are some of the dependencies on 10g that I will have to address?</p>
<p>Is there any type of query that I could perform to detect dependencies?</p... | [
{
"answer_id": 251127,
"author": "David Nehme",
"author_id": 14167,
"author_profile": "https://Stackoverflow.com/users/14167",
"pm_score": 1,
"selected": false,
"text": "A[i] > A[j] and A[j] > A[k] implies A[i] > A[k].\n"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/251069",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13930/"
] |
251,090 | <p>I like Vim's visual mode. <kbd>v</kbd> for highlight/select chars or lines, <kbd>Ctrl</kbd><kbd>v</kbd> for rectangle highlighting, as far as I know (I am a beginner). Is there any way to use visual mode to highlight last two chars, for example, on each line for some selected lines? The selected lines are in differe... | [
{
"answer_id": 251132,
"author": "ryan_s",
"author_id": 13728,
"author_profile": "https://Stackoverflow.com/users/13728",
"pm_score": 2,
"selected": false,
"text": ":10,20 normal $xx\n"
},
{
"answer_id": 251137,
"author": "reedstrm",
"author_id": 5430,
"author_profile... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251090",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/62776/"
] |
251,104 | <p>Windows Vista has "Presentation Mode", which you can turn on with the Mobility Center.</p>
<p>How can I turn it on programmatically?</p>
| [
{
"answer_id": 10632946,
"author": "fmuecke",
"author_id": 105643,
"author_profile": "https://Stackoverflow.com/users/105643",
"pm_score": 3,
"selected": true,
"text": "presentationsettings.exe /start /stop"
},
{
"answer_id": 37039715,
"author": "Bewc",
"author_id": 13704... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251104",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8446/"
] |
251,110 | <p>I tried this:</p>
<pre><code>ALTER TABLE My.Table DROP MyField
</code></pre>
<p>and got this error:</p>
<p>-MyField is not a constraint.</p>
<p>-Could not drop constraint. See previous errors.</p>
<p>There is just one row of data in the table and the field was just added.</p>
<p><strong>EDIT:</strong>
Just to ... | [
{
"answer_id": 251114,
"author": "Brian R. Bondy",
"author_id": 3153,
"author_profile": "https://Stackoverflow.com/users/3153",
"pm_score": 3,
"selected": false,
"text": "ALTER TABLE TableName DROP COLUMN ColumnName\n ALTER TABLE TableName DROP ConstraintName\n DROP INDEX TableName.Index... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251110",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2631856/"
] |
251,115 | <p>I am working on a project where I search through a large text file (large is relative, file size is about 1 Gig) for a piece of data. I am looking for a token and I want a dollar value immediately after that token. For example,</p>
<p>this is the token 9,999,999.99</p>
<p>So here's is how I am approaching th... | [
{
"answer_id": 9757796,
"author": "Yes Man",
"author_id": 1231202,
"author_profile": "https://Stackoverflow.com/users/1231202",
"pm_score": 0,
"selected": false,
"text": "Dim stream As New FileStream(\"something.txt\")\nDim findBytes As [Byte]() = BitConverter.GetBytes(\"whatever\")\nDim... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251115",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
251,116 | <p>I use Eclipse with "external" projects - i.e. projects created from existing source.</p>
<p>Poking around in the workspace files, I cannot find any reference to these projects. My question is: how does Eclipse keep track of these projects?</p>
<p>I'd like to be able to add such a project to the workspace automatic... | [
{
"answer_id": 251129,
"author": "VonC",
"author_id": 6309,
"author_profile": "https://Stackoverflow.com/users/6309",
"pm_score": 8,
"selected": true,
"text": "<workspace>\\.metadata\\.plugins\\org.eclipse.core.resources\\.projects\\\n <workspace>/.metadata/.plugins/org.eclipse.core.reso... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251116",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16977/"
] |
251,117 | <p>So yeah, I'm a Java guy in this crazy iPhone world. When it comes to memory management I stiill don't have a very good idea of what I'm doing. </p>
<p>I have an app that uses a navigation controller, and when it's time to go on to the next view I have code that looks like this:</p>
<pre><code>UIViewController *myC... | [
{
"answer_id": 251233,
"author": "Ben Gottlieb",
"author_id": 6694,
"author_profile": "https://Stackoverflow.com/users/6694",
"pm_score": 3,
"selected": false,
"text": "-release -autorelease"
},
{
"answer_id": 251847,
"author": "dnolen",
"author_id": 32797,
"author_pr... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251117",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/543/"
] |
251,155 | <p>I am developing an iPhone application that persists data to a SQLite3 database. </p>
<p>For each row I persist I wish to include a 'created date' and a 'last modified date'</p>
<p>My question is what is the recommend approach for storing this information in a table? </p>
<p>The properties are represented as NSDat... | [
{
"answer_id": 251197,
"author": "drewh",
"author_id": 1967,
"author_profile": "https://Stackoverflow.com/users/1967",
"pm_score": 5,
"selected": true,
"text": "sqlite3_bind_double(statement, index, [dateObject timeIntervalSince1970]);\n [NSDate dateWithTimeIntervalSince1970:doubleValueF... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251155",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3596/"
] |
251,159 | <p>In C++, a function's signature depends partly on whether or not it's const. This means that a class can have two member functions with identical signatures except that one is const and the other is not. If you have a class like this, then the compiler will decide which function to call based on the object you call... | [
{
"answer_id": 59016421,
"author": "user265906",
"author_id": 9528554,
"author_profile": "https://Stackoverflow.com/users/9528554",
"pm_score": -1,
"selected": false,
"text": "#include <iostream>\nusing namespace std;\nclass base\n{\n\npublic:\nvoid fun() const\n{\n cout<<\"have fun\"... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251159",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11575/"
] |
251,181 | <p>I have a DTS package that drops a table then creates it and populates it but sometimes something happens and the package fails after the drop table. If it's rerun it fails cuz the table hasn't been created yet. </p>
<p>Is there something like "if exists" for SQLServer 2000 like in MySQL?</p>
<p>thanks.</p>
| [
{
"answer_id": 251190,
"author": "Brian R. Bondy",
"author_id": 3153,
"author_profile": "https://Stackoverflow.com/users/3153",
"pm_score": 3,
"selected": false,
"text": "IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[dbo].[TableName]') AND type in (N'U'))\nDROP TABL... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251181",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/730/"
] |
251,198 | <p>I am developing a C# program, and i have one function that consumes too much CPU. I would like to know a way to control this by code (not with any external application) and restrict the percentage of CPU usage.
For example, if it uses 90% of the CPU usage, to make my app consume only a 20%, even if it becomes slowe... | [
{
"answer_id": 251220,
"author": "dpurrington",
"author_id": 5573,
"author_profile": "https://Stackoverflow.com/users/5573",
"pm_score": 5,
"selected": true,
"text": "Thread.CurrentThread.Priority = ThreadPriority.Lowest;\n"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/251198",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31791/"
] |
251,204 | <p>I want to fade out an element and all its child elements after a delay of a few seconds. but I haven't found a way to specify that an effect should start after a specified time delay.</p>
| [
{
"answer_id": 251214,
"author": "swilliams",
"author_id": 736,
"author_profile": "https://Stackoverflow.com/users/736",
"pm_score": 7,
"selected": true,
"text": "setTimeout(function() { $('#foo').fadeOut(); }, 5000);\n"
},
{
"answer_id": 454387,
"author": "Sampson",
"aut... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251204",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2648/"
] |
251,218 | <p>I'm using Wise Package Studio 7.0 SP2 on Windows XP.</p>
<p>I've got an MSI Wrapped EXE installation that goes about happily installing some files and then running one of the files from the installation which we can refer to as app.exe.</p>
<p>So on the "Execute Deferred" tab of the MSI Editor, I had to add the li... | [
{
"answer_id": 252627,
"author": "Froosh",
"author_id": 26000,
"author_profile": "https://Stackoverflow.com/users/26000",
"pm_score": 0,
"selected": false,
"text": "strMachine = \"localhost\"\nstrAppName = \"notepad.exe\"\n\nSet objProcesses = GetObject(\"winmgmts://\" & strMachine).Exec... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251218",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26853/"
] |
251,225 | <p>We have a large application in Ruby on Rails with many filters. Some of these filters can be complex. I am looking for a way to individually test these filters with a unit test. Right now I test them by testing them through an action that uses them with a functional test. This just doesn't feel like the right wa... | [
{
"answer_id": 251616,
"author": "Orion Edwards",
"author_id": 234,
"author_profile": "https://Stackoverflow.com/users/234",
"pm_score": 2,
"selected": false,
"text": "class SomeController\n before_filter :ensure_awesomeness\n\n ...\nend\n SomeController.new.ensure_awesomeness\n"
},
... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251225",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5935/"
] |
251,243 | <p>I'm trying to figure out why my app's TCP/IP connection keeps hiccuping every 10 minutes (exactly, within 1-2 seconds). I ran Wireshark and discovered that after 10 minutes of inactivity the other end is sending a packet with the reset (RST) flag set. A google search tells me "the RESET flag signifies that the rece... | [
{
"answer_id": 1172103,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 3,
"selected": false,
"text": "RST"
}
] | 2008/10/30 | [
"https://Stackoverflow.com/questions/251243",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/327/"
] |
251,246 | <p>Ok I have an <code>apache IBM HTTP Server WAS 6.1</code> setup </p>
<p>I have my <code>certs</code> correctly installed and can successfully load <code>http</code> and <code>https</code> pages.</p>
<p>After a successful <code>j_security_check</code> authentication via <code>https</code>, I want the now authorized ... | [
{
"answer_id": 251871,
"author": "Maglob",
"author_id": 27520,
"author_profile": "https://Stackoverflow.com/users/27520",
"pm_score": -1,
"selected": false,
"text": "RewriteCond %{THE_REQUEST} !login\\.jsp.*action=init\nRewriteCond %{THE_REQUEST} !login\\.jsp.*action=submit\n"
},
{
... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251246",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30807/"
] |
251,248 | <p>I am looking for an easy way to get the SID for the current Windows user account. I know I can do it through WMI, but I don't want to go that route.</p>
<p>Apologies to everybody that answered in C# for not specifying it's C++. :-)</p>
| [
{
"answer_id": 251267,
"author": "Roger Lipscombe",
"author_id": 8446,
"author_profile": "https://Stackoverflow.com/users/8446",
"pm_score": 7,
"selected": true,
"text": "TokenUser IPrincipal principal = Thread.CurrentPrincipal;\nWindowsIdentity identity = principal.Identity as WindowsId... | 2008/10/30 | [
"https://Stackoverflow.com/questions/251248",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17028/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.