qid int64 4 22.2M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
340,943 | <p>How would I go about dynamically allocating a multi-dimensional array?</p>
| [
{
"answer_id": 340970,
"author": "eplawless",
"author_id": 1370,
"author_profile": "https://Stackoverflow.com/users/1370",
"pm_score": 2,
"selected": false,
"text": "int"
},
{
"answer_id": 340990,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile... | 2008/12/04 | [
"https://Stackoverflow.com/questions/340943",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1370/"
] |
340,959 | <p>I am using ubuntu 8.04 and windows xp. I mount the fat32 disk which contains eclipse workspace to ubuntu. but I find I could not use the workspace, maybe I have no right to use it.</p>
<p>the fat32 disk I mounted has the 755 right,I try to use chmod to change it to 777 but failed. I try to mount it to 777 mode, but... | [
{
"answer_id": 341763,
"author": "jamesh",
"author_id": 4737,
"author_profile": "https://Stackoverflow.com/users/4737",
"pm_score": 1,
"selected": false,
"text": "rw"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/340959",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41940/"
] |
340,972 | <p>Py3k <a href="http://mail.python.org/pipermail/python-list/2008-December/518408.html" rel="nofollow noreferrer">just came out</a> and has gobs of <a href="http://docs.python.org/3.0/whatsnew/3.0.html" rel="nofollow noreferrer">neat new stuff</a>! I'm curious, what are SO pythonistas most excited about? What featur... | [
{
"answer_id": 342448,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 2,
"selected": false,
"text": "<sniff>"
},
{
"answer_id": 348832,
"author": "shsmurfy",
"author_id": 2188962,
"author_profile": "https... | 2008/12/04 | [
"https://Stackoverflow.com/questions/340972",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41457/"
] |
340,981 | <p>Is it possible to just send a JPanel or any other component to the printer? Or do I have to implement all the drawing to the graphics object by hand?</p>
<p>I have tried to use the Print* functions of the JPanel to print to the graphics object but the page that gets printed is blank.</p>
| [
{
"answer_id": 341070,
"author": "Michael Myers",
"author_id": 13531,
"author_profile": "https://Stackoverflow.com/users/13531",
"pm_score": 1,
"selected": false,
"text": "Graphics"
},
{
"answer_id": 342821,
"author": "Lawrence Dol",
"author_id": 8946,
"author_profile... | 2008/12/04 | [
"https://Stackoverflow.com/questions/340981",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34145/"
] |
340,983 | <p>Is there a better, more jQuery-ish way of handling this image substitution?</p>
<pre><code>var image = $(obj).children("img");
if ($(image).attr("src") == "Images/TreeCollapse.gif")
$(image).attr("src", "Images/TreeExpand.gif");
else
$(image).attr("src", "Images/TreeCollapse.gif");
</code></pre>
| [
{
"answer_id": 341052,
"author": "BigJump",
"author_id": 8542,
"author_profile": "https://Stackoverflow.com/users/8542",
"pm_score": 2,
"selected": false,
"text": "var image = $(obj).children(\"img\");\n$(image).toggle(\n function () { $(image).attr(\"src\", \"Images/TreeExpand.gif\");}... | 2008/12/04 | [
"https://Stackoverflow.com/questions/340983",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/343/"
] |
340,984 | <p>Here is a simple overview of my directory layout for my views:</p>
<p>Project</p>
<ul>
<li>Page 1</li>
<li>Page 2</li>
<li>RSS</li>
</ul>
<p>Issues</p>
<ul>
<li>Page 1</li>
<li>Page 2</li>
<li>RSS</li>
</ul>
<p>I am using forms authentication to deny access to all unauthenticated users, that works fine. However... | [
{
"answer_id": 341023,
"author": "Chris James",
"author_id": 3193,
"author_profile": "https://Stackoverflow.com/users/3193",
"pm_score": 2,
"selected": false,
"text": " <location path=\"Issues/RSS\">\n<system.web>\n <authorization>\n <allow users=\"*\" />\n <allow users=\"?\" />\... | 2008/12/04 | [
"https://Stackoverflow.com/questions/340984",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3193/"
] |
340,998 | <p>I need to update a group of cells by inserting the same two characters into all of them, but I'm just drawing a blank on how to do this. Could someone point me in the right direction?</p>
<p><b>Old Cells</b><br>
HI.1 <br>
HI.2<br>
HII.1</p>
<p><b>New Cells</b><br>
H08I.1<br>
H08I.2<br>
H08II.1</p>
| [
{
"answer_id": 341013,
"author": "Tony Andrews",
"author_id": 18747,
"author_profile": "https://Stackoverflow.com/users/18747",
"pm_score": 2,
"selected": false,
"text": "update cells\nset cell = Replace(cell,'H','H08');\n"
},
{
"answer_id": 341016,
"author": "Michael Haren",... | 2008/12/04 | [
"https://Stackoverflow.com/questions/340998",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21717/"
] |
341,005 | <p>Suppose you're maintaining an API that was originally released years ago (before java gained <code>enum</code> support) and it defines a class with enumeration values as ints:</p>
<pre><code>public class VitaminType {
public static final int RETINOL = 0;
public static final int THIAMIN = 1;
public static final i... | [
{
"answer_id": 341066,
"author": "Steve B.",
"author_id": 19479,
"author_profile": "https://Stackoverflow.com/users/19479",
"pm_score": 3,
"selected": true,
"text": "class A\n {\n public static final int MY_CONSTANT=1\n }\n\n class B\n {\n ....\n i+=A.MY... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341005",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24173/"
] |
341,018 | <p>Is there a way to make a DataGridView have no cell selected? I notice even when it loses focus() it has a at least one active cell. Is there another mode that allows this? or some other trick? </p>
| [
{
"answer_id": 380161,
"author": "David Hall",
"author_id": 2660,
"author_profile": "https://Stackoverflow.com/users/2660",
"pm_score": 3,
"selected": false,
"text": "DataGridView.CurrentCell = null"
},
{
"answer_id": 431529,
"author": "Community",
"author_id": -1,
"a... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341018",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36590/"
] |
341,039 | <p>In <a href="http://msdn.microsoft.com/en-us/library/ms462365.aspx" rel="nofollow noreferrer">CAML</a> I can query SharePoint Listitems using the "Contains"-element, but there is no "does not contain"-element I could use.</p>
<p>So what is the best way to get the items that do not contain a string? Is there a better... | [
{
"answer_id": 2382575,
"author": "Alex Nolasco",
"author_id": 65694,
"author_profile": "https://Stackoverflow.com/users/65694",
"pm_score": 2,
"selected": false,
"text": "=ISNUMBER(FIND(\"Critical\"), [Title])\n"
},
{
"answer_id": 32076800,
"author": "Daniel",
"author_id... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341039",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4531/"
] |
341,059 | <p>We have a process that needs to run every two hours. It's a process that needs to run on it's own thread so as to not interrupt normal processing.</p>
<p>When it runs, it will download 100k records and verify them against a database. The framework to run this has a lot of objects managing this process. These obj... | [
{
"answer_id": 341135,
"author": "Pierre",
"author_id": 24449,
"author_profile": "https://Stackoverflow.com/users/24449",
"pm_score": 4,
"selected": true,
"text": "thread_join"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341059",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34183/"
] |
341,067 | <p>I have an existing database that has some testing data into and I'm interested in turning it into a set of DDL, DML, and DCL files so that I could run it against other database systems and create the same schema and such. The database is MS Access 2003.</p>
<p>Thoughts?</p>
| [
{
"answer_id": 12285392,
"author": "Eric G",
"author_id": 268977,
"author_profile": "https://Stackoverflow.com/users/268977",
"pm_score": 2,
"selected": false,
"text": "```cscript\n\n' ddl.vbs\n' Usage:\n' CScript //Nologo ddl.vbs <input mdb file> > <output>\n'\n' Outputs DDL statements... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341067",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16562/"
] |
341,074 | <p>Without using plpgsql, I'm trying to urlencode a given text within a pgsql SELECT statement.</p>
<p>The problem with this approach:</p>
<pre><code>select regexp_replace('héllo there','([^A-Za-z0-9])','%' || encode(E'\\1','hex'),'g')
</code></pre>
<p>...is that the encode function is not passed the regexp paramete... | [
{
"answer_id": 341240,
"author": "Kev",
"author_id": 16777,
"author_profile": "https://Stackoverflow.com/users/16777",
"pm_score": 4,
"selected": true,
"text": "select regexp_replace(encode('héllo there','hex'),'(..)',E'%\\\\1','g');\n"
},
{
"answer_id": 33616365,
"author": "... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341074",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16777/"
] |
341,080 | <p>I am attempting to get a DropDownList to AutoPostBack via an UpdatePanel when the selected item is changed. I'm going a little stir-crazy as to why this isn't working.</p>
<p>Does anyone have any quick ideas?</p>
<p>ASPX page:</p>
<pre><code><asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Always"... | [
{
"answer_id": 341147,
"author": "Programmin Tool",
"author_id": 21691,
"author_profile": "https://Stackoverflow.com/users/21691",
"pm_score": 4,
"selected": true,
"text": " <asp:ScriptManager ID=\"smMain\" runat=\"server\" />\n\n <asp:UpdatePanel ID=\"UpdatePanel1\" runat=\"server\... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341080",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38522/"
] |
341,086 | <p>I need advice regarding subselect performance in MySQL. For a reason that I can't change, I am not able to use JOIN to create quesry filter, I can only add another AND clause in WHERE.</p>
<p>What is the peformance of:</p>
<pre><code>select tasks.*
from tasks
where
some criteria
and task.project_id not in (se... | [
{
"answer_id": 341124,
"author": "Rob Prouse",
"author_id": 30827,
"author_profile": "https://Stackoverflow.com/users/30827",
"pm_score": 4,
"selected": true,
"text": "EXPLAIN select tasks.*\nfrom tasks\nwhere \n some criteria\n and task.project_id not in (select id from project where ... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341086",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31141/"
] |
341,103 | <p>I have this C# extension method that will extend any dictionary where the <em>Value</em> type is an <em>IList</em>. When I write the equivalent code in VB.Net I get the following compile error:</p>
<blockquote>
<p><em>"Extension method 'Add' has some type constraints that can never be satisfied".</em></p>
</bloc... | [
{
"answer_id": 341565,
"author": "configurator",
"author_id": 9536,
"author_profile": "https://Stackoverflow.com/users/9536",
"pm_score": 4,
"selected": true,
"text": "<System.Runtime.CompilerServices.Extension()>"
},
{
"answer_id": 5090485,
"author": "Mark Hurd",
"author... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341103",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39277/"
] |
341,109 | <p>I'm using reflection to get the Authorize Attributes from controllers and methods.</p>
<p>Since I will need to get this information over and over I'm wondering if it is faster to cache it or to simply continue to use reflection to get it.</p>
<p>Any thoughts?</p>
| [
{
"answer_id": 341565,
"author": "configurator",
"author_id": 9536,
"author_profile": "https://Stackoverflow.com/users/9536",
"pm_score": 4,
"selected": true,
"text": "<System.Runtime.CompilerServices.Extension()>"
},
{
"answer_id": 5090485,
"author": "Mark Hurd",
"author... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341109",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3396/"
] |
341,112 | <p>How to call a javascript file (.js) via Excel VBA?</p>
<hr>
<p>So as i am opposed to the same kind of problem i'll try to submit you guys my case.</p>
<p>I am trying to automate datas extraction from valeo's catalogue using excel vba macro.</p>
<p>I have a list of références attached to valeo's automotive produc... | [
{
"answer_id": 341160,
"author": "Dirk Vollmar",
"author_id": 40347,
"author_profile": "https://Stackoverflow.com/users/40347",
"pm_score": 0,
"selected": false,
"text": "oIE.Document.frmMain.param1.Value = 5\noIE.Document.frmMain.param2.Value = \"6\"\noIE.Document.frmMain.submit.click '... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341112",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
341,118 | <p>In order to reference a member of a class in XML comments/documentation, you have to use the following tag:</p>
<pre><code><see cref="member"/>
</code></pre>
<p>It is better explained <a href="http://msdn.microsoft.com/en-us/library/acd0tfbe.aspx" rel="noreferrer">here</a>.</p>
<p><strong>How do you referen... | [
{
"answer_id": 341149,
"author": "leppie",
"author_id": 15541,
"author_profile": "https://Stackoverflow.com/users/15541",
"pm_score": 5,
"selected": true,
"text": "<see cref=\"P:System.Collections.ArrayList.Item(System.Int32)\" />\n"
},
{
"answer_id": 341242,
"author": "jyoun... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341118",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1679/"
] |
341,143 | <p>Say I have a Rails Model called Thing. Thing has a url attribute that can <strong>optionally</strong> be set to a URL somewhere on the Internet. In view code, I need logic that does the following:</p>
<pre><code><% if thing.url.blank? %>
<%= link_to('Text', thing_path(thing)) %>
<% else %>
<%= ... | [
{
"answer_id": 341166,
"author": "Josh Delsman",
"author_id": 40644,
"author_profile": "https://Stackoverflow.com/users/40644",
"pm_score": 4,
"selected": false,
"text": "# In the helper...\n\ndef link_to_thing(text, thing)\n (thing.url?) ? link_to(text, thing_path(thing)) : link_to(tex... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341143",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32137/"
] |
341,156 | <p>Is there an EF equivalent to LINQ to SQL's OnCreated partial? </p>
<p>Several of my objects have XML fields that I would like to parse whenever the object is loaded from the db - I'd like to put the XML data into more friendly strongly-typed collections. I've already marked the XML field as private and hooked the S... | [
{
"answer_id": 341301,
"author": "David Schmitt",
"author_id": 4918,
"author_profile": "https://Stackoverflow.com/users/4918",
"pm_score": 3,
"selected": true,
"text": "OnLoaded"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341156",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/521/"
] |
341,168 | <p>My installer build "signs" a DLL using a Code Signing certificate during the build process. </p>
<p>I've noticed that if I try to build twice in succession, the second build fails because the DLL is already signed so signcode chokes. Obviously I can fix this by signing a copy of the DLL in the build, but the proble... | [
{
"answer_id": 40173109,
"author": "vine'th",
"author_id": 478028,
"author_profile": "https://Stackoverflow.com/users/478028",
"pm_score": 6,
"selected": true,
"text": "signtool remove /s C:\\path\\to.exe.or.dll\n"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341168",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1737/"
] |
341,175 | <p>I have a datetime coming back from an XML file in the format:</p>
<blockquote>
<p>20080916 11:02</p>
</blockquote>
<p>as in </p>
<blockquote>
<p>yyyymm hh:ss</p>
</blockquote>
<p>How can i get the datetime.parse function to pick up on this? Ie parse it without erroring?
Cheers</p>
| [
{
"answer_id": 341200,
"author": "Blair Conrad",
"author_id": 1199,
"author_profile": "https://Stackoverflow.com/users/1199",
"pm_score": 9,
"selected": true,
"text": "DateTime.ParseExact(input,\"yyyyMMdd HH:mm\",null);\n"
},
{
"answer_id": 23805955,
"author": "bert",
"au... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341175",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/35441/"
] |
341,184 | <p>I'm running Windows and the shell/OS automatically runs Python based on the registry settings when you run a program on the command line. Will this break if I install a 2.x and 3.x version of Python on the same machine?</p>
<p>I want to play with Python 3 while still being able to run 2.x scripts on the same machin... | [
{
"answer_id": 341218,
"author": "Patrick Desjardins",
"author_id": 13913,
"author_profile": "https://Stackoverflow.com/users/13913",
"pm_score": 5,
"selected": false,
"text": "#!/bin/env python2.7\n"
},
{
"answer_id": 436455,
"author": "Community",
"author_id": -1,
"... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341184",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4491/"
] |
341,192 | <p>OK - I have an interesting one here. I'm working on a tetris clone (basically to "level-up" my skills). I was trying to refactor my code to get it abstracted the way I wanted it. While it was working just fine before, now I get a segmentation fault before any images can be blitted. I've tried debugging it to no ... | [
{
"answer_id": 341302,
"author": "UberJumper",
"author_id": 34395,
"author_profile": "https://Stackoverflow.com/users/34395",
"pm_score": 0,
"selected": false,
"text": "display = new Surface();\n"
},
{
"answer_id": 341833,
"author": "Community",
"author_id": -1,
"auth... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341192",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3831/"
] |
341,208 | <p>The catch is this is a .NET 1.0 project and there is no hidden field control...</p>
<p>So this is out of the question:</p>
<pre>
<code>
<asp HiddenField Runat="server" ID="hdn" />
</code>
</pre>
<p>I vaguely remember some type of HtmlHiddenInput class that allowed similar functionality...does anybody know how ... | [
{
"answer_id": 341222,
"author": "Cristian Libardo",
"author_id": 16526,
"author_profile": "https://Stackoverflow.com/users/16526",
"pm_score": 3,
"selected": false,
"text": "<input type=\"hidden\" runat=\"server\" />\n"
},
{
"answer_id": 15241207,
"author": "Nitin Khachane",... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341208",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1638/"
] |
341,221 | <p>Here is some sample VBA code:</p>
<pre><code>Sub Macro1()
Dim pt As PivotTable
Set pt = ActiveSheet.PivotTables("SomePivotTable")
'Set colOfFields = pt.PivotFields
End Sub
</code></pre>
<p>The third line is incomplete/broken. What is the correct way to get access to collection of all the fields in a ... | [
{
"answer_id": 341495,
"author": "Patrick Cuff",
"author_id": 7903,
"author_profile": "https://Stackoverflow.com/users/7903",
"pm_score": 3,
"selected": true,
"text": "Sub Macro1()\n Dim pt As PivotTable\n Dim col As PivotFields\n Dim c As PivotField\n\n ' Name of the pivot t... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341221",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36590/"
] |
341,232 | <p>In postgres you can do a comparison against multiple items like so:</p>
<pre><code> SELECT 'test' IN ('not','in','here');
</code></pre>
<p>Which is the same as doing:</p>
<pre><code> SELECT ('test' = 'not' OR 'test' = 'in' OR 'test' = 'here');
</code></pre>
<p>Is there a functional equivalent for SQL Server ?</... | [
{
"answer_id": 341278,
"author": "Scott Ivey",
"author_id": 36297,
"author_profile": "https://Stackoverflow.com/users/36297",
"pm_score": 0,
"selected": false,
"text": "select case \n when 'test' IN ('not', 'in', 'here') then 1\n else 0\n end;\n"
},
{
... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341232",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43278/"
] |
341,233 | <p>I am trying to implement Autocomplete in a text area (similar to <a href="http://www.pengoworks.com/workshop/jquery/autocomplete.htm" rel="nofollow noreferrer">http://www.pengoworks.com/workshop/jquery/autocomplete.htm</a>).</p>
<p>What I am trying to do is when a user enters a specific set of characters (say inser... | [
{
"answer_id": 1028003,
"author": "Popara",
"author_id": 83910,
"author_profile": "https://Stackoverflow.com/users/83910",
"pm_score": 1,
"selected": false,
"text": " function getCursor(nBox){\n var cursorPos = 0;\n if (document.selection){ \n nBox.focus();\n var t... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341233",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
341,237 | <p>There's a lot of great information on MSDN dealing with creating Visual Studio templates. I've been specifically working through a Multi-Project Solution (<a href="http://msdn.microsoft.com/en-us/library/ms185308(VS.80,printer).aspx" rel="noreferrer">http://msdn.microsoft.com/en-us/library/ms185308(VS.80,printer).as... | [
{
"answer_id": 44795874,
"author": "ajawad987",
"author_id": 106397,
"author_profile": "https://Stackoverflow.com/users/106397",
"pm_score": 0,
"selected": false,
"text": "<Link Include=\"..\\_SharedFiles\\GlobalAssemblyInfo.cs\" />\n"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341237",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13199/"
] |
341,239 | <p>I'm a newbie in the great world of NHibernate. I'm using version 2.0.1.GA. Here's my question. I have a table <code>Cars</code> with column <code>Manufacturer(nvarchar(50))</code> and a primary key <code>ID(int)</code>. My .NET class is:</p>
<pre><code>public class Car
{
public virtual int ID { get; set; }
... | [
{
"answer_id": 341771,
"author": "Bruno Lopes",
"author_id": 42926,
"author_profile": "https://Stackoverflow.com/users/42926",
"pm_score": 4,
"selected": true,
"text": "session.Linq<Car>.Where(c => c.Manufacturer == \"Mercedes\").ToList()"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341239",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42377/"
] |
341,243 | <p>Does anyone know how to get the Video Ram of a PC from a WMI call?</p>
<p>I've seen calls to the Win32_VideoController management object's AdapterRAM property, but that only gives the system memory, and is not representative of the video RAM at all.</p>
| [
{
"answer_id": 341270,
"author": "Dan Esparza",
"author_id": 19020,
"author_profile": "https://Stackoverflow.com/users/19020",
"pm_score": 2,
"selected": false,
"text": "On Error Resume Next\n\nstrComputer = \".\"\nSet objWMIService = GetObject(\"winmgmts:\\\\\" & strComputer & \"\\root\... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341243",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12497/"
] |
341,256 | <p>I'm having trouble resizing a tableHeaderView. It simple doesn't work.</p>
<p>1) Create a UITableView and UIView (100 x 320 px);</p>
<p>2) Set the UIView as tableHeaderView of the UITableView;</p>
<p>3) Build and Go. Everything is ok.</p>
<p>Now, I want to resizing the tableHeaderView, so I add this code in view... | [
{
"answer_id": 342605,
"author": "codelogic",
"author_id": 43427,
"author_profile": "https://Stackoverflow.com/users/43427",
"pm_score": -1,
"selected": false,
"text": "[self.tableView reloadData]"
},
{
"answer_id": 419115,
"author": "Greg Martin",
"author_id": 50808,
... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341256",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43282/"
] |
341,258 | <p>I'm trying to use VBA to write a formula into a cell in Excel.
My problem is that when I use a semicolon (<code>;</code>) in my formula, I get an error:</p>
<blockquote>
<p><strong><code>Run-time error 1004</code></strong></p>
</blockquote>
<p>My macro is the following : </p>
<pre><code>Sub Jours_ouvres()
D... | [
{
"answer_id": 341276,
"author": "e.James",
"author_id": 33686,
"author_profile": "https://Stackoverflow.com/users/33686",
"pm_score": 3,
"selected": false,
"text": ":"
},
{
"answer_id": 341286,
"author": "Treb",
"author_id": 22114,
"author_profile": "https://Stackove... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341258",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43277/"
] |
341,264 | <p>What is the best way to get the Max value from a LINQ query that may return no rows? If I just do</p>
<pre><code>Dim x = (From y In context.MyTable _
Where y.MyField = value _
Select y.MyCounter).Max
</code></pre>
<p>I get an error when the query returns no rows. I could do</p>
<pre><code>Dim x ... | [
{
"answer_id": 341313,
"author": "David Schmitt",
"author_id": 4918,
"author_profile": "https://Stackoverflow.com/users/4918",
"pm_score": 5,
"selected": false,
"text": "Double.MinValue"
},
{
"answer_id": 341560,
"author": "Jacob Proffitt",
"author_id": 1336,
"author_... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341264",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23935/"
] |
341,271 | <p>My previous job involved maintenance and programming for a very large database with massive amounts of data. Users viewed this data primarily through an intranet web interface. Instead of having a table of user accounts, each user account was a real first-class account in the RDBMS, which permitted them to connect... | [
{
"answer_id": 33647108,
"author": "H S Raju",
"author_id": 2963452,
"author_profile": "https://Stackoverflow.com/users/2963452",
"pm_score": 1,
"selected": false,
"text": "Manager_Role_Account"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341271",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18103/"
] |
341,273 | <p>I can read the <em>MySQL</em> documentation and it's pretty clear. But, how does one decide which character set to use? On what data does collation have an effect?</p>
<p>I'm asking for an explanation of the two and how to choose them.</p>
| [
{
"answer_id": 341352,
"author": "mat",
"author_id": 42083,
"author_profile": "https://Stackoverflow.com/users/42083",
"pm_score": 8,
"selected": false,
"text": "e é è ê f"
},
{
"answer_id": 42625088,
"author": "simhumileco",
"author_id": 4217744,
"author_profile": "h... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341273",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2172/"
] |
341,274 | <p>We are upgrading our servers to SQL Server 2005 from SQL Server 2000. We currently use the jtds drivers.</p>
<p>I'm interested to know what peoples opinions are of the different jdbc drivers available (in particular the latest Microsoft driver), how they perform with SQL Server 2005 and any other lessons from your ... | [
{
"answer_id": 927623,
"author": "Rohit Agarwal",
"author_id": 108955,
"author_profile": "https://Stackoverflow.com/users/108955",
"pm_score": 0,
"selected": false,
"text": "declare @P1 int\nset @P1=1\nexec sp_prepexec @P1 output, N'@P0 int', N'EXEC getEmployeeManagers @P0', 50\nselect @... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341274",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42491/"
] |
341,282 | <p>I'm trying to create a function which takes an array as an argument, adds values to it (increasing its size if necessary) and returns the count of items.
So far I have:</p>
<pre><code>int main(int argc, char** argv) {
int mSize = 10;
ent a[mSize];
int n;
n = addValues(a,mSize);
for(i=0;i<n;i... | [
{
"answer_id": 341293,
"author": "xahtep",
"author_id": 42184,
"author_profile": "https://Stackoverflow.com/users/42184",
"pm_score": 3,
"selected": false,
"text": "ent **a"
},
{
"answer_id": 341294,
"author": "Todd Gamblin",
"author_id": 9122,
"author_profile": "http... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341282",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23746/"
] |
341,303 | <p>All this originated from me poking at a compiler warning message (C4267) when attempting the following line:</p>
<pre><code>const unsigned int nSize = m_vecSomeVec.size();
</code></pre>
<p><code>size()</code> returns a size_t which although typedef'd to unsigned int, is not actually a unsigned int. This I believe ... | [
{
"answer_id": 341341,
"author": "unwind",
"author_id": 28169,
"author_profile": "https://Stackoverflow.com/users/28169",
"pm_score": 2,
"selected": false,
"text": "size_t"
},
{
"answer_id": 341344,
"author": "James Hopkin",
"author_id": 11828,
"author_profile": "http... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341303",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18664/"
] |
341,310 | <p>Is it possible to get a list of all files modified/added/deleted by a particular user?</p>
<p>The goal is to get an idea of what a user did for the day (or date range).</p>
| [
{
"answer_id": 341457,
"author": "shek",
"author_id": 40618,
"author_profile": "https://Stackoverflow.com/users/40618",
"pm_score": 7,
"selected": true,
"text": "svn log | sed -n '/blankman/,/-----$/ p'\n"
},
{
"answer_id": 4439780,
"author": "l0b0",
"author_id": 96588,
... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341310",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39677/"
] |
341,315 | <p>I tried to make the title as clear as possible... here is my scenario:</p>
<p>I have 2 tables (let's call them table A and table B) that have a similar schema. I would like write a stored procedure that would select specific columns of data out of table A, and insert this data as a new record in table B.</p>
<p>Ca... | [
{
"answer_id": 341323,
"author": "John Stauffer",
"author_id": 5874,
"author_profile": "https://Stackoverflow.com/users/5874",
"pm_score": 2,
"selected": false,
"text": "Insert into tableB (col1, col2, col3) select col1, col2, col3 from tableA where ...\n"
},
{
"answer_id": 34132... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341315",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1638/"
] |
341,338 | <p>How do you make a field in a sql select statement all upper or lower case?</p>
<p>Example:</p>
<p>select firstname from Person</p>
<p>How do I make firstname always return upper case and likewise always return lower case?</p>
| [
{
"answer_id": 341342,
"author": "Stephen Wrighton",
"author_id": 7516,
"author_profile": "https://Stackoverflow.com/users/7516",
"pm_score": 4,
"selected": false,
"text": "SELECT UCASE(MyColumn) AS Upper, LCASE(MyColumn) AS Lower\nFROM MyTable\n"
},
{
"answer_id": 341346,
"a... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341338",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6232/"
] |
341,347 | <p>How do I grab the controls inside of a UserControl tag?</p>
<p>So if this is on a Page:</p>
<pre><code><ME:NewControl ID="tblCustomList" runat="server">
// ... these controls will be used in my UserControl.aspx
</ME:NewControl>
</code></pre>
<p>How do I access those controls in my UserControl?</p>
<p... | [
{
"answer_id": 344815,
"author": "Gavin Miller",
"author_id": 33226,
"author_profile": "https://Stackoverflow.com/users/33226",
"pm_score": 0,
"selected": false,
"text": "using System.Web;\nusing System.Web.UI;\nusing System.Web.UI.WebControls;\nusing System.Security.Permissions;\n\nname... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341347",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25538/"
] |
341,348 | <p>I have a DSL Tools solution.</p>
<p>I need to add a weak-named reference to this project.
Because the DSL Tools project DLL is strong-named i cannot used the weak-named DLL.</p>
<p>I cannot make the DLL strong-named because i cannot recompile it.</p>
<p>I tried to make my DSL Tools project DLL weak-named by going... | [
{
"answer_id": 344815,
"author": "Gavin Miller",
"author_id": 33226,
"author_profile": "https://Stackoverflow.com/users/33226",
"pm_score": 0,
"selected": false,
"text": "using System.Web;\nusing System.Web.UI;\nusing System.Web.UI.WebControls;\nusing System.Security.Permissions;\n\nname... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341348",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20335/"
] |
341,370 | <p>It seems it is general accepted that exception specifications are not helping as much as one thinks. But I wonder if a specification which only uses std::exception might be a good compromise:</p>
<pre><code>void someFunction()
throw ( std::exception );
</code></pre>
<ul>
<li><p>It documents the fact that this ... | [
{
"answer_id": 341388,
"author": "James Hopkin",
"author_id": 11828,
"author_profile": "https://Stackoverflow.com/users/11828",
"pm_score": 2,
"selected": false,
"text": "someFunction"
},
{
"answer_id": 343223,
"author": "Paolo Tedesco",
"author_id": 15622,
"author_pr... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341370",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
341,372 | <p>I've heard powershell 2.0 CTP has modules, but I can't find much example code or instructions. I've read what little help there seems to be online...</p>
<p>But I just keep getting "The term 'Add-Module' is not recognized as a cmdlet..." when I try and load a module.</p>
<p>Any help would be gratefully received!</... | [
{
"answer_id": 3264564,
"author": "Samuel Jack",
"author_id": 1727,
"author_profile": "https://Stackoverflow.com/users/1727",
"pm_score": 2,
"selected": false,
"text": "Export-ModuleMember -Function * -Alias *"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341372",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32055/"
] |
341,373 | <p>I need to prompt an alert message when a user selects a particular option in a select menu. Is there a way to do this using jQuery?</p>
| [
{
"answer_id": 341398,
"author": "Neil Aitken",
"author_id": 13803,
"author_profile": "https://Stackoverflow.com/users/13803",
"pm_score": 3,
"selected": true,
"text": "$(\"#myselect\").change(function() {\n if($(this).val() == \"myval\")\n {\n alert('message');\n }\n});\n"... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341373",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6050/"
] |
341,377 | <p>Did you know that :</p>
<pre><code>Map<Object,Object> m1 = new HashMap<Object, Object>();
Map<Object,Object> m2 = new HashMap<Object, Object>();
System.out.println("m1.equals(m2) = "+m1.equals(m2));
System.out.println("m1.keySet().equals(m2.keySet()) = "
+m1.keySet().equals(m2.ke... | [
{
"answer_id": 341436,
"author": "Greg Case",
"author_id": 462,
"author_profile": "https://Stackoverflow.com/users/462",
"pm_score": 4,
"selected": true,
"text": "Collection#equals()"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341377",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7198/"
] |
341,379 | <p>As an example:</p>
<pre><code>def get_booking(f=None):
print "Calling get_booking Decorator"
def wrapper(request, **kwargs):
booking = _get_booking_from_session(request)
if booking == None:
# we don't have a booking in our session.
return HttpRedirect('/')
... | [
{
"answer_id": 341389,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 6,
"selected": true,
"text": "@foo\ndef bar ():\n pass\n"
},
{
"answer_id": 341391,
"author": "David Schmitt",
"author_id": 4918,
"aut... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341379",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22306/"
] |
341,384 | <p>I need to add some intervals and use the result in Excel. </p>
<p>Since </p>
<pre><code>sum(time.endtime-time.starttime)
</code></pre>
<p>returns the interval as "1 day 01:30:00" and this format breaks my Excel sheet, I thought it'd be nice to have the output like "25:30:00" but found no way to do it in the Pos... | [
{
"answer_id": 341439,
"author": "mat",
"author_id": 42083,
"author_profile": "https://Stackoverflow.com/users/42083",
"pm_score": 4,
"selected": false,
"text": "mat=> select date_part('epoch', '01 day 1:30:00'::interval);\n date_part \n-----------\n 91800\n(1 row)\n"
},
{
"a... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341384",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43289/"
] |
341,387 | <p>Hello I would like to ask you, If someone knows how can I add a directory for the header files in the Makefile to avoid the error *.h not found, I have tried this option but does not work:</p>
<pre><code>INC_PATH := -I /directory/to/add
</code></pre>
| [
{
"answer_id": 341396,
"author": "unwind",
"author_id": 28169,
"author_profile": "https://Stackoverflow.com/users/28169",
"pm_score": 5,
"selected": false,
"text": "CFLAGS"
},
{
"answer_id": 341486,
"author": "Jonathan Leffler",
"author_id": 15168,
"author_profile": "... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341387",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39160/"
] |
341,393 | <p>This is an extension of a question I had yesterday.</p>
<p>I am trying to make a little php calculator that will show how much people can save on their phone bills if they switch to VoIP, and how much they can save with each service.</p>
<p>I have a form that will spit out the right amount for a monthly bill here:... | [
{
"answer_id": 341396,
"author": "unwind",
"author_id": 28169,
"author_profile": "https://Stackoverflow.com/users/28169",
"pm_score": 5,
"selected": false,
"text": "CFLAGS"
},
{
"answer_id": 341486,
"author": "Jonathan Leffler",
"author_id": 15168,
"author_profile": "... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341393",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43035/"
] |
341,397 | <p>My computer often produces a "ding" sound, and I can't associate it with anything. Is it possible to programmatically determine the source of the beeps? For example can I hook the sound driver? If so, can you point out some examples or references?</p>
| [
{
"answer_id": 375218,
"author": "Adam Rosenfield",
"author_id": 9530,
"author_profile": "https://Stackoverflow.com/users/9530",
"pm_score": 0,
"selected": false,
"text": "lsof(8)"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341397",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
341,417 | <p>How do you handle the Web User Control event? I notice my custom web user control have a event call OnError but it never fire when i tweak the control to fail. The control is basically a custom gridview control. I search for web user control event handling over the net but i haven't find a article that address what ... | [
{
"answer_id": 342921,
"author": "BenAlabaster",
"author_id": 40650,
"author_profile": "https://Stackoverflow.com/users/40650",
"pm_score": 1,
"selected": false,
"text": "Public Event MyEvent(ByVal Sender As Object, ByVal e As EventArgs)\n\nPrivate Sub SomeMethodThatRaisesMyEvent()\n Ra... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341417",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28647/"
] |
341,422 | <p>I'm writing a Linux module and getting:</p>
<pre><code>Unable to handle kernel NULL pointer dereference
</code></pre>
<p>What does it mean?</p>
| [
{
"answer_id": 341432,
"author": "Nathan",
"author_id": 41158,
"author_profile": "https://Stackoverflow.com/users/41158",
"pm_score": 4,
"selected": true,
"text": "int x = 5;\nint * x_ptr = NULL;\n\nx_ptr = &x; // this line may be missing in your code\n\n*x_ptr += 5; //can't dereference ... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341422",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1100/"
] |
341,423 | <p>The setTimeout function always seems to give me trouble. Right now I have a function that is recursive (calls itself through setTimeout) and changes the elements height.</p>
<p>The function is sent two arguments: the element to be altered and that elements maximum height. The purpose of the function is to unfold th... | [
{
"answer_id": 341452,
"author": "matt b",
"author_id": 4249,
"author_profile": "https://Stackoverflow.com/users/4249",
"pm_score": 0,
"selected": false,
"text": "setTimeout()"
},
{
"answer_id": 341460,
"author": "Greg",
"author_id": 24181,
"author_profile": "https://... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341423",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/29595/"
] |
341,429 | <p>I am trying to use the SGI STL implementation I have downloaded from their site. I want to use a hashmap, because I have to store around 5.000.000 records, but it should be good: I need to be able to access it very quickly. I've tried <code>stedext::hash_map</code>, but it was very slow because I couldn't set the in... | [
{
"answer_id": 341459,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "void resize(size_type n)\n"
},
{
"answer_id": 341984,
"author": "Community",
"author_id": -1,
"author_prof... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341429",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
341,438 | <p>I have built a simple WCF Service and deployed it to IIS6, and I'm noticing that it works in my Dev and Staging environments, but not Production. Every time I try to hit the service metadata link, I get a 404 page.</p>
<p>I've checked IIS config everywhere I can think of and they're identical, so the only differen... | [
{
"answer_id": 31576142,
"author": "Jeremy Thompson",
"author_id": 495455,
"author_profile": "https://Stackoverflow.com/users/495455",
"pm_score": 0,
"selected": false,
"text": "aspnet_regiis -i -enable"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341438",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43250/"
] |
341,462 | <p>Can anyone explain the difference between the types mentioned above and some sample usage to clearly explain the difference between the two?</p>
<p>Any help would be highly appreciated!
Note: this question is a spin-off from <a href="https://stackoverflow.com/questions/324168/msxml2ixmldomdocument2ptr-getxml-messin... | [
{
"answer_id": 341545,
"author": "efotinis",
"author_id": 12320,
"author_profile": "https://Stackoverflow.com/users/12320",
"pm_score": 4,
"selected": false,
"text": "_bstr_t"
},
{
"answer_id": 343590,
"author": "Khalid Salomão",
"author_id": 40248,
"author_profile": ... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341462",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1311500/"
] |
341,470 | <p>I'm using Office Automation in .NET. It is leaving behind the excel.exe program. I know the fix - it is all about explicitely defining the variables. Once defined, I can properly de-allocate the ram and the GC will clean them up.</p>
<p>The problem is, I have literally thousands of lines of code to go through. So I... | [
{
"answer_id": 341765,
"author": "Jason Jackson",
"author_id": 13103,
"author_profile": "https://Stackoverflow.com/users/13103",
"pm_score": 0,
"selected": false,
"text": "Excel.ApplicationClass excel = new Excel.ApplicationClass();\n//do some work with Excel\nexcel.Quit();\n"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341470",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36620/"
] |
341,471 | <p>I'm attempting to eliminate leading any leading zeroes in my date when I run the get-date cmdlet by trying: </p>
<pre><code>$filedate = get-date -uformat "%m-%d-%Y"
$filedate = $filedate.ToString().Replace("0", "")
</code></pre>
<p>this returns "01-04-2008"</p>
<p>I want to the output to be "1-4-2008"</p>
<p>an... | [
{
"answer_id": 341524,
"author": "Gordon Bell",
"author_id": 16473,
"author_profile": "https://Stackoverflow.com/users/16473",
"pm_score": 5,
"selected": true,
"text": "$filedate = get-date -format \"M-d-yyyy\"\n"
},
{
"answer_id": 40612221,
"author": "Community",
"author... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341471",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18853/"
] |
341,474 | <p>Although I know how to build a DOM the long, arduous way using the DOM API, I'd like to do something a bit better than that. Is there a nice, tidy way to build hierarchical documents with, say, an API that works something like Hibernate's Criteria API? So that I can chain calls together like this, for example:</p>... | [
{
"answer_id": 341509,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile": "https://Stackoverflow.com/users/34509",
"pm_score": 3,
"selected": true,
"text": "JDom"
},
{
"answer_id": 341573,
"author": "Joe Liversedge",
"author_id": 4552,
"author_p... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341474",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23309/"
] |
341,477 | <p>I want to create a <strong>List</strong> of <strong>KeyValuePair</strong>s in a managed C++ project. Here is the syntax I'm using</p>
<pre><code>List<KeyValuePair<String^, String^>^>^ thing;
</code></pre>
<p>but I'm getting the following error:</p>
<blockquote>
<p>error C3225: generic type argument ... | [
{
"answer_id": 341679,
"author": "Brian",
"author_id": 2831,
"author_profile": "https://Stackoverflow.com/users/2831",
"pm_score": 2,
"selected": false,
"text": "List<KeyValuePair<String^, String^>>^ thing;\n"
},
{
"answer_id": 341694,
"author": "Konrad Rudolph",
"author_... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341477",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2831/"
] |
341,484 | <p>in Perl, when I do <code>use <module name> <ver>;</code>, the system finds the <code>.pm</code> file for the library somewhere in the <code>@INC</code> path.</p>
<p>Is there a reliable way to which file was actually loaded?</p>
| [
{
"answer_id": 341529,
"author": "John",
"author_id": 13895,
"author_profile": "https://Stackoverflow.com/users/13895",
"pm_score": 2,
"selected": false,
"text": "perl -le 'print foreach @INC'\n"
},
{
"answer_id": 341572,
"author": "mikegrb",
"author_id": 13462,
"auth... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341484",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23630/"
] |
341,512 | <p>I have the following code in WCF service to throw a custom fault based on certain situations. I am getting a "The creator of this fault did not specify a Reason" exception. What am I doing wrong?</p>
<pre><code>//source code
if(!DidItPass)
{
InvalidRoutingCodeFault fault = new InvalidRoutingCodeFault("Invalid... | [
{
"answer_id": 341580,
"author": "Chris Porter",
"author_id": 13495,
"author_profile": "https://Stackoverflow.com/users/13495",
"pm_score": 0,
"selected": false,
"text": "<serviceDebug includeExceptionDetailInFaults=\"true\" />\n"
},
{
"answer_id": 341702,
"author": "Michael ... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341512",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26327/"
] |
341,516 | <p>I've always wondered about when and where is the best time to cache a property value... Some of them seem pretty simple, like the one below...</p>
<pre><code>public DateTime FirstRequest {
get {
if (this.m_FirstRequest == null) {
this.m_FirstRequest = DateTime.Now;
}
return (... | [
{
"answer_id": 341640,
"author": "Jeff Yates",
"author_id": 23234,
"author_profile": "https://Stackoverflow.com/users/23234",
"pm_score": 1,
"selected": false,
"text": "ISupportInitialize"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341516",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17091/"
] |
341,520 | <p>Somebody used libapt or libept to list packages and get informations about package in a debian-like system?</p>
<p>Libapt is not well-documented at all, and i've found few examples and tutorials about libept. Can someone explain me best methods to</p>
<ol>
<li>get a list of every packages in the apt-system</li>
<l... | [
{
"answer_id": 341588,
"author": "joveha",
"author_id": 40668,
"author_profile": "https://Stackoverflow.com/users/40668",
"pm_score": 3,
"selected": false,
"text": "# apt-get source apt\n"
},
{
"answer_id": 23970130,
"author": "eyelash",
"author_id": 799849,
"author_p... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341520",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39796/"
] |
341,531 | <p>I have the following snippet where I would like to extract code between the <code>{foreach}</code> and <code>{/foreach}</code> using a regular expression:</p>
<pre><code>{foreach (...)}
Some random HTML content <div class="">aklakdls</div> and some {$/r/template} markup inside.
{/foreach}
</code></pre>
... | [
{
"answer_id": 341582,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 2,
"selected": false,
"text": "\\{foreach [^}]*\\}((?:.(?!\\{/foreach\\}))*[^{]?)\n"
},
{
"answer_id": 341603,
"author": "Peter Bailey",
... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341531",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1508/"
] |
341,550 | <p>I came across a c library for opening files given a Unicode filename. Before opening the file, it first converts the filename to a path by prepending "\\?\". Is there any reason to do this other than to increase the maximum number of characters allowed in the path, per <a href="http://msdn.microsoft.com/en-us/librar... | [
{
"answer_id": 341575,
"author": "Head Geek",
"author_id": 12193,
"author_profile": "https://Stackoverflow.com/users/12193",
"pm_score": 1,
"selected": false,
"text": "MAX_PATH"
},
{
"answer_id": 352205,
"author": "itsadok",
"author_id": 7581,
"author_profile": "https... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341550",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21784/"
] |
341,571 | <p>How can I render after executing an action in a restful controller instead of redirecting.</p>
<p>I have a controller with standard actions, and I added a special action that adds data to the resource in question, via a form on the #show page (Think comments on a post). I am validating the input from the form and w... | [
{
"answer_id": 341631,
"author": "dsimard",
"author_id": 42866,
"author_profile": "https://Stackoverflow.com/users/42866",
"pm_score": 3,
"selected": true,
"text": "def create\n @obj = TheObject.new(params[:object])\n render :action => :new unless @obj.save\nend\n"
},
{
"answer... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341571",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24559/"
] |
341,578 | <p>Our solution has a lot of todo comments, but unfortunately it seems the only way to sort them is by file. Sorting by project would give me a much better overview of what I'm actually responsible for. Just wondering if there's any way to do this or any add-ins that provide better functionality.</p>
| [
{
"answer_id": 421344,
"author": "Luke",
"author_id": 327,
"author_profile": "https://Stackoverflow.com/users/327",
"pm_score": 1,
"selected": false,
"text": "todo:"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341578",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/327/"
] |
341,594 | <p>I'm trying to get information like OS version, hard disk space, disk space available, and installed RAM on a Linux system in C++. I know I can use <code>system()</code> to run different Linux commands and capture their output (which is what I'm currently doing) but I was wondering if there's a better way? Is there... | [
{
"answer_id": 341610,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile": "https://Stackoverflow.com/users/34509",
"pm_score": 3,
"selected": false,
"text": "libhal"
},
{
"answer_id": 341613,
"author": "Martin York",
"author_id": 14065,
"author_... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341594",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1288/"
] |
341,602 | <p>How do you implement a last-modified column in SQL?</p>
<p>I know for a date-created column you can just set the default value to <code>getdate()</code>. For last-modified I have always used triggers, but it seems like there must be a better way.</p>
<p>Thanks.</p>
| [
{
"answer_id": 341657,
"author": "gbn",
"author_id": 27535,
"author_profile": "https://Stackoverflow.com/users/27535",
"pm_score": 2,
"selected": false,
"text": "UPDATE\n table\nSET\n blah,\n LastUpdatedDateTime = DEFAULT\nWHERE\n foo = bar\n"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341602",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26/"
] |
341,608 | <p>What is the default location for the MySQL configuration file on a redhat linux box?</p>
| [
{
"answer_id": 8635575,
"author": "Nugatu",
"author_id": 1116282,
"author_profile": "https://Stackoverflow.com/users/1116282",
"pm_score": 4,
"selected": false,
"text": "/etc/mysql/my.cnf"
},
{
"answer_id": 10001648,
"author": "ThinkingMonkey",
"author_id": 858515,
"a... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341608",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42931/"
] |
341,619 | <p>I'm using MS Sql 2005.</p>
<p>Why does this give me the correct results (returns 169 rows)...</p>
<pre><code>select
*
from
[import_Data]
where
[import_Data].name not in
(
select
[import_Data].name
from
[import_Data]
inner join [resource] on [import_Data].name = [resource]... | [
{
"answer_id": 341659,
"author": "xahtep",
"author_id": 42184,
"author_profile": "https://Stackoverflow.com/users/42184",
"pm_score": 2,
"selected": false,
"text": "null"
},
{
"answer_id": 341667,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Sta... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341619",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24908/"
] |
341,624 | <p>I have a Spring web application which is configured to use JDK proxying for AOP. The AOP annotations (such as @Transactional) are declared on the interfaces, rather than the implementation classes.</p>
<p>The application itself works fine, but when I run the unit tests, it seems to be attempting to use CGLIB for th... | [
{
"answer_id": 345984,
"author": "jonathan.cone",
"author_id": 42344,
"author_profile": "https://Stackoverflow.com/users/42344",
"pm_score": 2,
"selected": false,
"text": "Caused by: java.lang.IllegalArgumentException: Cannot subclass final class class $Proxy25"
},
{
"answer_id":... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341624",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
341,649 | <p>is there anyway to have an image act as an ajax actionlink? I can only get it to work using text. Thanks for your help!</p>
| [
{
"answer_id": 451091,
"author": "frantisek",
"author_id": 53332,
"author_profile": "https://Stackoverflow.com/users/53332",
"pm_score": 0,
"selected": false,
"text": "DecodeLinkContent(Html.ActionLink<Home>(c => c.Delete(item.ID), \"<span class=\\\"redC\\\">X</span>\",new { Class = \"no... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341649",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
341,668 | <p>All objects in my program inherit from a Container class. The Container class has a <code>virtual BaseNode* getParent() const;</code> method and a <code>virtual void setParent(BaseNode *p);</code> method. </p>
<p>I have a <code>Set</code> class (Set in a tennis match, not a data structure) which has the <code>Match... | [
{
"answer_id": 341686,
"author": "Adam Rosenfield",
"author_id": 9530,
"author_profile": "https://Stackoverflow.com/users/9530",
"pm_score": 3,
"selected": true,
"text": "getParent()"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341668",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16204/"
] |
341,682 | <p>My hosting provider (pairNetworks) has certain rules for scripts run on the server. I'm trying to compress a file for backup purposes, and would ideally like to use bzip2 to take advantage of its AWESOME compression rate. However, when trying to compress this 90 MB file, the process sometimes runs upwards of 1.5 min... | [
{
"answer_id": 341688,
"author": "bzlm",
"author_id": 7724,
"author_profile": "https://Stackoverflow.com/users/7724",
"pm_score": 3,
"selected": false,
"text": "nice"
},
{
"answer_id": 341690,
"author": "Rich",
"author_id": 42897,
"author_profile": "https://Stackoverf... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341682",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42135/"
] |
341,691 | <p>I'm trying to pick a perforamnce analyzer to use. I'm a beginner developer and not sure what to look for in a performance analyzer. What are the most important features?</p>
| [
{
"answer_id": 341768,
"author": "Konrad Rudolph",
"author_id": 1968,
"author_profile": "https://Stackoverflow.com/users/1968",
"pm_score": 2,
"selected": false,
"text": "valgrind"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341691",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
341,695 | <p>I need to write some code to analyze whether or not a given user on our site is a bot. If it's a bot, we'll take some specific action. Looking at the User Agent is not something that is successful for anything but friendly bots, as you can specify any user agent you want in a bot. I'm after behaviors of unfriendl... | [
{
"answer_id": 341710,
"author": "Greg",
"author_id": 24181,
"author_profile": "https://Stackoverflow.com/users/24181",
"pm_score": 2,
"selected": false,
"text": "<script type=\"text/javascript\">\ndocument.write('<img src=\"/not-a-bot.' + 'php\" style=\"display: none;\">');\n</script>\n... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341695",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
341,696 | <p>I work with a number of new tech support folks. Sometimes, they like to fix small issues which may not be a high priority for our developers. This requires teaching SVN basics to non-programmers, which I've found can get a little tricky.</p>
<p>What resources have you found useful? Are there diagrams you typica... | [
{
"answer_id": 341772,
"author": "Piotr Lesnicki",
"author_id": 38796,
"author_profile": "https://Stackoverflow.com/users/38796",
"pm_score": 1,
"selected": false,
"text": ".bak"
},
{
"answer_id": 342113,
"author": "NewCom",
"author_id": 33154,
"author_profile": "http... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341696",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13348/"
] |
341,708 | <p>I'm an email n00b but I am working on an application that sends HTML email with Unicode characters (as my friend noted "enjoy encoding hell").</p>
<p>The <code>Subject:</code> header comes from user input and therefore may contain Unicode characters. Some mail clients (like GMail and Outlook 2007) are OK with this,... | [
{
"answer_id": 341849,
"author": "Tomalak",
"author_id": 18771,
"author_profile": "https://Stackoverflow.com/users/18771",
"pm_score": 3,
"selected": false,
"text": "require \"base64\"\n\nvalue = Base64.encode64(\"Your UTF-8 string\")\nheader = \"=?UTF-8?B?\" + value + \"?=\"\n"
},
... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341708",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17965/"
] |
341,723 | <p>I'm working with a bit of html and Javascript code that I've taken over from someone else. The page reloads a table of data (via an asynchronous request) every ten seconds, and then re-builds the table using some DOM code. The code in question looks something like this:</p>
<pre><code>var blah = xmlres.getElementsB... | [
{
"answer_id": 341759,
"author": "Peter Bailey",
"author_id": 8815,
"author_profile": "https://Stackoverflow.com/users/8815",
"pm_score": 7,
"selected": true,
"text": "var blah = xmlres.getElementsByTagName('blah');\nfor(var i = 0; i < blah.length; i++) {\n var td = document.createEle... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341723",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4249/"
] |
341,734 | <p>I've got no experience with this, so i suspect my logic is overly complicated, or perhaps not complete enough to do what I want. </p>
<p>I have a basic tile based system, but want to move units over the terrain in a coninuous fashion. Right now they are "teleporting" from one tile to another.</p>
<p>I already h... | [
{
"answer_id": 341803,
"author": "Markus Jarderot",
"author_id": 22364,
"author_profile": "https://Stackoverflow.com/users/22364",
"pm_score": 1,
"selected": false,
"text": "(3.141592, 2.718282) -> (3, 3)\n"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341734",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42082/"
] |
341,737 | <p>I have the following query which works except that I would like it to behave differently. Now it looks for all the duplicate rows on <code>url</code> and returns it in the order of number of duplicate urls. I use GROUP_ CONCAT to seperate all the different screen_name's. </p>
<p>However there can be multiple rows w... | [
{
"answer_id": 341793,
"author": "derobert",
"author_id": 27727,
"author_profile": "https://Stackoverflow.com/users/27727",
"pm_score": 2,
"selected": false,
"text": "t_uid url title screen_name\n1 http://google.com/ Google bob\n2 ... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341737",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
341,743 | <p>I'm used to passing around string like this in my C++ applications:</p>
<pre><code>void foo(const std::string& input)
{
std::cout << input.size() << std::endl;
}
void bar()
{
foo("stackoverflow");
}
</code></pre>
<p>Now I have a case where I want the string to be NULL:</p>
<pre><code>void baz... | [
{
"answer_id": 341751,
"author": "Greg Hewgill",
"author_id": 893,
"author_profile": "https://Stackoverflow.com/users/893",
"pm_score": 1,
"selected": false,
"text": "void foo(const char *xinput)\n{\n if (xinput == NULL) {\n // do something exceptional with this\n return... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341743",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20444/"
] |
341,781 | <p>Does anybody know how I can close all modal dialogs created by Dojo ? Apparently there used to be a dojo.popup.closeAll function, but this is no longer available in the latest version of the Dojo API that comes with Spring JS.</p>
| [
{
"answer_id": 394987,
"author": "user49360",
"author_id": 49360,
"author_profile": "https://Stackoverflow.com/users/49360",
"pm_score": 2,
"selected": false,
"text": "dijit.registry.filter(function(w){ \n return w && w.declaredClass == \"dijit.Dialog\" \n}).forEach(function(w){ \n ... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341781",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32232/"
] |
341,792 | <p>If my domain objects implement IDataErrorInfo, and I am using M-V-VM, how do I propagate errors through the ViewModel into the View? If i was binding directly to the model, I would set the "ValidateOnExceptons" and "ValidateOnErrors" properties to true on my binding. But my ViewModel doesn't implement IDataErrorInfo... | [
{
"answer_id": 1591410,
"author": "artur02",
"author_id": 13937,
"author_profile": "https://Stackoverflow.com/users/13937",
"pm_score": 2,
"selected": false,
"text": "<TextBox x:Name=\"title\" VerticalAlignment=\"Top\" TextWrapping=\"Wrap\" Grid.Column=\"1\" MinWidth=\"20\">\n <TextBox.... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341792",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17744/"
] |
341,807 | <p>How do I bind a CheckBoxField in my GridView to an underlying db field that is a string. The string is either "1" or "0" but all the same the GridView won't willingly bind to it. What do I do. What is the best way to have a checkbox in the GridView and have it get and set the string in the database (or the underlyin... | [
{
"answer_id": 341819,
"author": "BenAlabaster",
"author_id": 40650,
"author_profile": "https://Stackoverflow.com/users/40650",
"pm_score": 3,
"selected": false,
"text": "Checked='<%# DataBinder.Eval(Container.DataItem, \"MyStringField\") = \"1\" %>'\n"
},
{
"answer_id": 7343120,... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341807",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4491/"
] |
341,810 | <p>Suppose you have output like this:</p>
<pre><code>Word1 Word2 Word3 Word4
</code></pre>
<p>Where the number of spaces between words is arbitrary. I want to break it into an array of words.</p>
<p>I used the following code:</p>
<pre><code>string[] tokens =
new List<String>(input.Sp... | [
{
"answer_id": 341828,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 5,
"selected": true,
"text": "string[] tokens = input.Split(new char[] { ' ' },\n StringSplitOptions.RemoveEmptyEntries); \n"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341810",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1965/"
] |
341,817 | <p>I'm porting a relatively simple console program written for Unix to the Windows platform (<a href="http://en.wikipedia.org/wiki/Visual_C++#32-bit_versions" rel="noreferrer">Visual C++ 8.0</a>). All the source files include "unistd.h", which doesn't exist. Removing it, I get complaints about misssing prototypes for ... | [
{
"answer_id": 341941,
"author": "e.James",
"author_id": 33686,
"author_profile": "https://Stackoverflow.com/users/33686",
"pm_score": 5,
"selected": false,
"text": "unistd.h"
},
{
"answer_id": 826027,
"author": "AShelly",
"author_id": 10396,
"author_profile": "https:... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341817",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10396/"
] |
341,831 | <p>I need a tool to automatically convert simple HTML into an image. I will be controlling the HTML input which will consist of simple text formatting tags and possibly image links--I don't need to be able to render arbitrary HTML. Is there a simple way to do this? </p>
<p>I've looked at the HTML layout engines like G... | [
{
"answer_id": 29313585,
"author": "Brandon Rhodes",
"author_id": 85360,
"author_profile": "https://Stackoverflow.com/users/85360",
"pm_score": 1,
"selected": false,
"text": "wkhtmltoimage"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341831",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27478/"
] |
341,844 | <p>Our company has for many years had multiple domain names to protect our product name. When our webiste was first set up we had all these domain names resolving to on IP address which worked fine until now. We rewrote the site with ASP.NET MVC and now use Recaptcha. The Recaptcha keys are registered to "www.example.c... | [
{
"answer_id": 341901,
"author": "Adam",
"author_id": 13320,
"author_profile": "https://Stackoverflow.com/users/13320",
"pm_score": 1,
"selected": true,
"text": "127.0.0.1 A example.com\nwww.exmaple.com CNAME example.com\nexamples.com CNAME example.com\nwww.examples... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341844",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36383/"
] |
341,847 | <p>I am working on a course leaflet system for the college I work at, leaflets are stored in a database with primary key course_code. I would like the leaflets ideally to get indexed by google how would I achieve this assuming i develop the system in asp.net 2.0. </p>
<p>I understand part of getting it indexed is to p... | [
{
"answer_id": 343348,
"author": "Liam",
"author_id": 18333,
"author_profile": "https://Stackoverflow.com/users/18333",
"pm_score": 0,
"selected": false,
"text": "wget -r www.example.com\n"
}
] | 2008/12/04 | [
"https://Stackoverflow.com/questions/341847",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16989/"
] |
341,848 | <p>Given that Decimal.MaxValue = 79228162514264337593543950335m</p>
<p>Why does the next line give me 7922816251426433759354395034M in the Local window instead of 7922816251426433759354395033.5m as expected?</p>
<p>Decimal target = Decimal.MaxValue / 10m;</p>
| [
{
"answer_id": 341865,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 4,
"selected": true,
"text": "using System;\n\nclass Test\n{\n static void Main()\n {\n decimal constant = decimal.MaxValue / 10m;\n ... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341848",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13266/"
] |
341,852 | <p>By default when viewing an account in edit mode you have access to Opportunities, Invoices, and Quotes which contain the products being shopped by the account and/or the sales department.</p>
<p>I'm trying to determine where to store, display, and use the products that an account has a subscription too. </p>
<p>I ... | [
{
"answer_id": 341865,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 4,
"selected": true,
"text": "using System;\n\nclass Test\n{\n static void Main()\n {\n decimal constant = decimal.MaxValue / 10m;\n ... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341852",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
341,872 | <p>I'm starting a project that will be public facing using asp.net mvc. I know there are about a billion php, python, and ruby html sanitizers out there, but does anyone have some pointers to anything good in .net? What are your experiences with what is out there? I know stackoverflow is a site done in asp.net that all... | [
{
"answer_id": 8470031,
"author": "Brandon Joyce",
"author_id": 54050,
"author_profile": "https://Stackoverflow.com/users/54050",
"pm_score": 2,
"selected": false,
"text": "var cleanHtml = Sanitizer.GetSafeHtml(unsafeHtml);\n"
},
{
"answer_id": 50871492,
"author": "Sheo Dayal... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341872",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10771/"
] |
341,891 | <p>I am designing a system which will at some point require to send email notifications. So I am looking for a simple way to do this. Some background: the system will be running on Linux platform, there will be a working SMTP server somewhere on the network, the operator will configure its address, server credentials i... | [
{
"answer_id": 342081,
"author": "Hudson",
"author_id": 14105,
"author_profile": "https://Stackoverflow.com/users/14105",
"pm_score": 0,
"selected": false,
"text": "use Mail::Mailer;\n\nmy $mailer = Mail::Mailer->new();\n$mailer->open({\n From => $from_address,\n To => $to_... | 2008/12/04 | [
"https://Stackoverflow.com/questions/341891",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40548/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.