qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
206,805 | <p>I'm trying to use <code>tasklist</code> to find out which process is consuming more than X percent of my CPU (to later kill it with <code>taskkill</code>.) </p>
<p>How do I know what percent a time format represents?</p>
<p>The documentations says:</p>
<pre><code>TASKLIST options
/FI filter
</c... | [
{
"answer_id": 206893,
"author": "FlySwat",
"author_id": 1965,
"author_profile": "https://Stackoverflow.com/users/1965",
"pm_score": -1,
"selected": true,
"text": " (TotalProcessRuntime / CpuTime) / 100\n"
},
{
"answer_id": 207439,
"author": "Jay",
"author_id": 20840,
... | 2008/10/15 | [
"https://Stackoverflow.com/questions/206805",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20654/"
] |
206,806 | <p>In vi[m] there is the <a href="http://www.softpanorama.org/Editors/Vimorama/vim_piping.shtml" rel="noreferrer"><code>!</code> command which lets me pipe text</a> through a shell command -- like sort or indent -- and get the filtered text back into the buffer. Is there an equivalent in emacs?</p>
| [
{
"answer_id": 206809,
"author": "dmckee --- ex-moderator kitten",
"author_id": 2509,
"author_profile": "https://Stackoverflow.com/users/2509",
"pm_score": 3,
"selected": false,
"text": "M-x shell-command-on-region M-| C-h f shell-command-on-region replace *scratch* M-x eval-buffer (defu... | 2008/10/15 | [
"https://Stackoverflow.com/questions/206806",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27928/"
] |
206,820 | <p>I would like to either prevent or handle a <code>StackOverflowException</code> that I am getting from a call to the <code>XslCompiledTransform.Transform</code> method within an <code>Xsl Editor</code> I am writing. The problem seems to be that the user can write an <code>Xsl script</code> that is infinitely recursiv... | [
{
"answer_id": 206842,
"author": "FlySwat",
"author_id": 1965,
"author_profile": "https://Stackoverflow.com/users/1965",
"pm_score": 7,
"selected": true,
"text": "// This is just an example, obviously you'll want to pass args to this.\nProcess p1 = new Process();\np1.StartInfo.FileName =... | 2008/10/15 | [
"https://Stackoverflow.com/questions/206820",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27109/"
] |
206,853 | <p>I'm running a console app (myApp.exe) which outputs a pseudo localized (unicode) string to the standard output.
If I run this in a regular command prompt(cmd.exe), the unicode data gets lost.
If I run this in a unicode command prompt(cmd.exe /u) or set the properties of the console to "Lucida Console" then the unico... | [
{
"answer_id": 207129,
"author": "Charlie",
"author_id": 18529,
"author_profile": "https://Stackoverflow.com/users/18529",
"pm_score": 2,
"selected": false,
"text": "process.StartInfo.StandardOutputEncoding = Encoding.Unicode;\n"
},
{
"answer_id": 2067280,
"author": "ziya",
... | 2008/10/15 | [
"https://Stackoverflow.com/questions/206853",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/165305/"
] |
206,857 | <p>I would like to implement a producer/consumer scenario that obeys interfaces that are roughly:</p>
<pre><code>class Consumer {
private:
vector<char> read(size_t n) {
// If the internal buffer has `n` elements, then dequeue them
// Otherwise wait for more data and try again
}
public:
... | [
{
"answer_id": 206868,
"author": "Paul Nathan",
"author_id": 26227,
"author_profile": "https://Stackoverflow.com/users/26227",
"pm_score": 1,
"selected": false,
"text": "class piper\n{\npthread_mutex queuemutex;\npthread_mutex readymutex;\nbool isReady; //init to false by constructor\n\n... | 2008/10/15 | [
"https://Stackoverflow.com/questions/206857",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/338/"
] |
206,867 | <p>I've done some research and I can't really find a preferred way to do updating of form controls from a worker thread in C#. I know about the BackgroundWorker component, but what is the best way to do it without using the BackgroundWorker component?</p>
| [
{
"answer_id": 206884,
"author": "AR.",
"author_id": 1354,
"author_profile": "https://Stackoverflow.com/users/1354",
"pm_score": 4,
"selected": true,
"text": "// Updates the textbox text.\nprivate void UpdateText(string text)\n{\n // Set the textbox text.\n m_TextBox.Text = text;\n}\n\... | 2008/10/15 | [
"https://Stackoverflow.com/questions/206867",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12172/"
] |
206,885 | <p>Let's say I've got some Perl code that increments a column in a specific row of a database each time it's hit, and I'm expecting it to be hit pretty frequently, so I'd like to optimize it with FCGI. Right now, I basically wrapped most of the code in something like this:</p>
<pre><code>while (FCGI::accept() >= 0... | [
{
"answer_id": 207160,
"author": "mpeters",
"author_id": 12094,
"author_profile": "https://Stackoverflow.com/users/12094",
"pm_score": 2,
"selected": false,
"text": "ping() Apache::DBI"
},
{
"answer_id": 214773,
"author": "Schwern",
"author_id": 14660,
"author_profile... | 2008/10/15 | [
"https://Stackoverflow.com/questions/206885",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
206,899 | <p>What is the best way to truncate a URL when displaying it within a web page? I don't mean a link but literally displaying the URL as a value to the user, assuming that the text might be in a container of fixed width and you don't want to wrap or run outside of the container?</p>
<p>Is it better to truncate from th... | [
{
"answer_id": 207708,
"author": "PHLAK",
"author_id": 27025,
"author_profile": "https://Stackoverflow.com/users/27025",
"pm_score": 2,
"selected": false,
"text": "http://www.domainname.com/folder/.../file.php\n"
}
] | 2008/10/15 | [
"https://Stackoverflow.com/questions/206899",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5303/"
] |
206,916 | <p>I'm writing some code in python and I'm having trouble when trying to retrieve content of an Entry widget.
The thing is: I want to limit the characters that can be typed, so I'm trying to clear the Entry widget when I reach the specific number of characters (2 in this case), but it looks like I always miss the last ... | [
{
"answer_id": 207018,
"author": "tzot",
"author_id": 6899,
"author_profile": "https://Stackoverflow.com/users/6899",
"pm_score": 3,
"selected": true,
"text": "if len(self.__value) > 2:\n widgetName.delete(2,4)\n return \"break\" # add this line\n self.__aEntry.bind('<Key>', se... | 2008/10/15 | [
"https://Stackoverflow.com/questions/206916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
206,924 | <p>I would like to program Java servlets using Eclipse and I plan on deploying them using Tomcat. I think I can build the projects using Ant which is bundled with Eclipse. I have the standard Eclipse IDE. What options do I have for doing Servlet development in Eclipse? What changes do I need to make to Eclipse? Do I ne... | [
{
"answer_id": 206940,
"author": "William",
"author_id": 9193,
"author_profile": "https://Stackoverflow.com/users/9193",
"pm_score": 7,
"selected": false,
"text": "doGet()"
}
] | 2008/10/15 | [
"https://Stackoverflow.com/questions/206924",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
206,950 | <p>I am having trouble in exporting to excel and it crashes out at the .set_Value function.</p>
<p>It seems to work if I change object[,] to string[,] but by doing this I lose the formatting.</p>
<p>Anyone Help?</p>
| [
{
"answer_id": 206960,
"author": "Mitch Wheat",
"author_id": 16076,
"author_profile": "https://Stackoverflow.com/users/16076",
"pm_score": 1,
"selected": false,
"text": "null System.Reflection.Missing.Value"
},
{
"answer_id": 210351,
"author": "Community",
"author_id": -1... | 2008/10/15 | [
"https://Stackoverflow.com/questions/206950",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
206,953 | <p>I've got a collection (List<Rectangle>) which I need to sort left-right. That part's easy. Then I want to iterate through the Rectangles in their <em>original</em> order, but easily find their index in the sorted collection. indexOf() won't work, since I may have a number of equal objects. I can't help feeling... | [
{
"answer_id": 207015,
"author": "Draemon",
"author_id": 26334,
"author_profile": "https://Stackoverflow.com/users/26334",
"pm_score": 3,
"selected": true,
"text": "List<Rectangle> originalRects = ...;\n\n/* record index of each rectangle object.\n * Using a hash map makes lookups effici... | 2008/10/16 | [
"https://Stackoverflow.com/questions/206953",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26334/"
] |
206,968 | <p>Scenario: I have a function that I need to tweak in some way (example; make it work slightly different in different places). For some reason I end up having to add something ugly to the code, either in the function or at existing call sites. Assume that the sum total "ugly" is the same in both cases.</p>
<p>The que... | [
{
"answer_id": 207231,
"author": "Geoff",
"author_id": 10427,
"author_profile": "https://Stackoverflow.com/users/10427",
"pm_score": 0,
"selected": false,
"text": "//old call\ncall_some_function_with_ugly(params, case)\n\n// new call\ncall_some_function(params)\n\nvoid call_some_function... | 2008/10/16 | [
"https://Stackoverflow.com/questions/206968",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1343/"
] |
206,970 | <p>I have a web-based application that notifies users of activity on the site via email. Users can choose which kinds of notifcations they want to receive. So far there are about 10 different options (each one is a true/false).</p>
<p>I'm currently storing this in one varchar field as a 0 or 1 separated by commas. For... | [
{
"answer_id": 206990,
"author": "tvanfosson",
"author_id": 12950,
"author_profile": "https://Stackoverflow.com/users/12950",
"pm_score": 6,
"selected": true,
"text": "create table notifications (\n user_id int,\n notification_type int\n);\n"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/206970",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18234/"
] |
206,983 | <p>How do I put a gridview row in edit mode programmatically?</p>
| [
{
"answer_id": 206999,
"author": "azamsharp",
"author_id": 3797,
"author_profile": "https://Stackoverflow.com/users/3797",
"pm_score": 2,
"selected": false,
"text": "protected void Row_Editing(object sender, GridViewEditArgs e) \n{\n myGridView.EditItemIndex = e.EditItemIndex; \n BindD... | 2008/10/16 | [
"https://Stackoverflow.com/questions/206983",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5232/"
] |
206,988 | <p>How do I remove the key 'bar' from an array foo so that 'bar' won't show up in</p>
<pre><code>for(key in foo){alert(key);}
</code></pre>
| [
{
"answer_id": 206994,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 6,
"selected": false,
"text": "delete foo[key];\n"
},
{
"answer_id": 1345122,
"author": "going",
"author_id": 139196,
"author_profile": "... | 2008/10/16 | [
"https://Stackoverflow.com/questions/206988",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10393/"
] |
206,997 | <p>I have this bit of script to widen a text box on mouseover and shorten it on mouseoff.</p>
<p>The problem I am having is that Internet Explorer doesn't seem to extend it's hover over the options of a select box.</p>
<p>This means in IE I can click the select, have the options drop down, but if I try to select one,... | [
{
"answer_id": 207168,
"author": "Dan",
"author_id": 17121,
"author_profile": "https://Stackoverflow.com/users/17121",
"pm_score": 4,
"selected": true,
"text": "$(function() {\n var expand = function(){ $(this).width(600) }\n var contract = function(){ if (!this.noHide) $(this).w... | 2008/10/16 | [
"https://Stackoverflow.com/questions/206997",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27580/"
] |
206,998 | <p>After some find and replace refactoring I ended up with this gem:</p>
<pre><code>const class A
{
};
</code></pre>
<p>What does "const class" mean? It seems to compile ok.</p>
| [
{
"answer_id": 207003,
"author": "Evan Teran",
"author_id": 13430,
"author_profile": "https://Stackoverflow.com/users/13430",
"pm_score": 5,
"selected": false,
"text": "const class A\n{\n} a;\n"
},
{
"answer_id": 207007,
"author": "Adam Rosenfield",
"author_id": 9530,
... | 2008/10/16 | [
"https://Stackoverflow.com/questions/206998",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3146/"
] |
207,000 | <p>Is there any meaningful distinction between:</p>
<pre><code>class A(object):
foo = 5 # some default value
</code></pre>
<p>vs.</p>
<pre><code>class B(object):
def __init__(self, foo=5):
self.foo = foo
</code></pre>
<p>If you're creating a lot of instances, is there any difference in performance... | [
{
"answer_id": 207128,
"author": "Alex Coventry",
"author_id": 1941213,
"author_profile": "https://Stackoverflow.com/users/1941213",
"pm_score": 8,
"selected": true,
"text": ">>> class A: foo = []\n>>> a, b = A(), A()\n>>> a.foo.append(5)\n>>> b.foo\n[5]\n>>> class A:\n... def __init__(... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207000",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22897/"
] |
207,002 | <p>Is there a way of using an 'OR' operator or equivalent in a PHP switch?</p>
<p>For example, something like this:</p>
<pre><code>switch ($value) {
case 1 || 2:
echo 'the value is either 1 or 2';
break;
}
</code></pre>
| [
{
"answer_id": 207006,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 9,
"selected": false,
"text": "switch ($value)\n{\n case 1:\n case 2:\n echo \"the value is either 1 or 2.\";\n break;\n}\n"
},
{
"an... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207002",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
207,022 | <p>My problem is that I can't seem to get the image from my bundle to display properly. This method is in the view controller that controls the tableview. <em>headerView</em> is loaded with the tableview in the .nib file and contains a few UILabels (not shown) that load just fine. Any ideas?</p>
<pre><code>- (void)vie... | [
{
"answer_id": 207227,
"author": "Ben Gottlieb",
"author_id": 6694,
"author_profile": "https://Stackoverflow.com/users/6694",
"pm_score": 2,
"selected": false,
"text": "\n //this assumes that headerView is an already created UIView, perhaps an IBOutlet\n\n UIImage *image = [UIIma... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207022",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28422/"
] |
207,025 | <p>I want to enforce CHECK constraint on a date range such that all dates in column BIRTH_DATE are less than tomorrow and greater than or equal to 100 years ago. I tried this expression in a CHECK constraint:</p>
<pre><code>BIRTH_DATE >= (sysdate - numtoyminterval(100, 'YEAR')) AND BIRTH_DATE < sysdate + 1
</co... | [
{
"answer_id": 207087,
"author": "Justin Cave",
"author_id": 10397,
"author_profile": "https://Stackoverflow.com/users/10397",
"pm_score": 3,
"selected": true,
"text": "* Subqueries and scalar subquery expressions\n* Calls to the functions that are not deterministic (CURRENT_DATE,\n"
}... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207025",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3401/"
] |
207,038 | <p>What is the best way to approach removing items from a collection in C#, once the item is known, but not it's index. This is one way to do it, but it seems inelegant at best.</p>
<pre><code>//Remove the existing role assignment for the user.
int cnt = 0;
int assToDelete = 0;
foreach (SPRoleAssignment spAssignment ... | [
{
"answer_id": 207048,
"author": "Jon B",
"author_id": 27414,
"author_profile": "https://Stackoverflow.com/users/27414",
"pm_score": 6,
"selected": true,
"text": "Dictionary<T> KeyedCollection<T> foreach (SPRoleAssignment spAssignment in workspace.RoleAssignments)\n{\n if (spAssignmen... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207038",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18449/"
] |
207,045 | <p>Can an ArrayList of Node contain a non-Node type? </p>
<p>Is there a very dirty method of doing this with type casting?</p>
| [
{
"answer_id": 207052,
"author": "Draemon",
"author_id": 26334,
"author_profile": "https://Stackoverflow.com/users/26334",
"pm_score": 4,
"selected": true,
"text": "import java.util.*;\nimport java.awt.Rectangle;\n\npublic class test {\n public static void main(String args[]) {\n ... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207045",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27570/"
] |
207,069 | <p>I have a shared library that I wish to link an executable against using GCC. The shared library has a nonstandard name not of the form libNAME.so, so I can not use the usual -l option. (It happens to also be a Python extension, and so has no 'lib' prefix.)</p>
<p>I am able to pass the path to the library file direc... | [
{
"answer_id": 207149,
"author": "Robert Gamble",
"author_id": 25222,
"author_profile": "https://Stackoverflow.com/users/25222",
"pm_score": 2,
"selected": false,
"text": "g++ -o build/bin/myapp _mylib.so other_source_files\n"
},
{
"answer_id": 207152,
"author": "Chris Roland... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207069",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13402/"
] |
207,150 | <p>I have a view using a master page that contains some javascript that needs to be executed using the OnLoad of the Body. What is the best way to set the OnLoad on my MasterPage only for certain views?</p>
<p>On idea I tried was to pass the name of the javascript function as ViewData. But I dont really want my Contro... | [
{
"answer_id": 238589,
"author": "David P",
"author_id": 13145,
"author_profile": "https://Stackoverflow.com/users/13145",
"pm_score": 3,
"selected": false,
"text": "<script language=\"javascript\" type=\"text/javascript\" src=\"../../Scripts/jquery-1.2.6-intellisense.js\"></script> \n $... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207150",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10941/"
] |
207,157 | <p>I have this XML in a column in my table:</p>
<pre><code><keywords>
<keyword name="First Name" value="|FIRSTNAME|" display="Jack" />
<keyword name="Last Name" value="|LASTNAME|" display="Jones" />
<keyword name="City" value="|CITY|" display="Anytown" />
<keyword name="State" value=... | [
{
"answer_id": 207196,
"author": "ckramer",
"author_id": 20504,
"author_profile": "https://Stackoverflow.com/users/20504",
"pm_score": 0,
"selected": false,
"text": "var keywordData = from k in ga.ArticleKeywords.Elements(\"Keywords\")\n select new { Value = k.Attributes... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207157",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1989/"
] |
207,190 | <p>I want to convert a string like this:</p>
<pre><code>'10/15/2008 10:06:32 PM'
</code></pre>
<p>into the equivalent DATETIME value in Sql Server.</p>
<p>In Oracle, I would say this:</p>
<pre><code>TO_DATE('10/15/2008 10:06:32 PM','MM/DD/YYYY HH:MI:SS AM')
</code></pre>
<p><a href="https://stackoverflow.com/quest... | [
{
"answer_id": 207232,
"author": "Taptronic",
"author_id": 14728,
"author_profile": "https://Stackoverflow.com/users/14728",
"pm_score": 6,
"selected": false,
"text": "Declare @d datetime\nselect @d = getdate()\n\nselect @d as OriginalDate,\nconvert(varchar,@d,100) as ConvertedDate,\n100... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207190",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/672/"
] |
207,195 | <p>Without using Javascript, is there a way to make a CSS property toggle on and off through nested elements.</p>
<p>The problem I'm trying to solve is that I have a number of tags and classes which make some text italic (<code><em></code>, <code><blockquote></code>, <code><cite></code>, <code><q&... | [
{
"answer_id": 207447,
"author": "Eric Wendelin",
"author_id": 25066,
"author_profile": "https://Stackoverflow.com/users/25066",
"pm_score": 3,
"selected": true,
"text": ":not"
},
{
"answer_id": 20359229,
"author": "Thorsten Kück",
"author_id": 2284809,
"author_profil... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207195",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9021/"
] |
207,212 | <p>I'm writing an application in Delphi which uses an SQLite3 database. I'd like to be able to start the application while holding some modifier keys, such as CTRL + SHIFT, to signal reinitialization of the database.</p>
<p>How can I capture that the application was started while these keys were held?</p>
| [
{
"answer_id": 207369,
"author": "Tim Knipe",
"author_id": 10493,
"author_profile": "https://Stackoverflow.com/users/10493",
"pm_score": 3,
"selected": false,
"text": "if (GetKeyState(VK_SHIFT) < 0) and (GetKeyState(VK_CONTROL) < 0) then\n ReinitializeDatabase;\n"
},
{
"answer_i... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207212",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10519/"
] |
207,223 | <p>I've got a script that dynamically calls and displays images from a directory, what would be the best way to paginate this? I'd like to be able to control the number of images that are displayed per page through a variable within the script. I'm thinking of using URL varriables (ie - <a href="http://domain.com/pag... | [
{
"answer_id": 207287,
"author": "Owen",
"author_id": 4853,
"author_profile": "https://Stackoverflow.com/users/4853",
"pm_score": 4,
"selected": true,
"text": "$itemsPerPage = 5;\n\n$currentPage = isset($_GET['page']) ? $_GET['page'] : 1;\n$totalItems = getTotalItems();\n$totalPages = ce... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207223",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27025/"
] |
207,234 | <p>How can I get a list of the IP addresses or host names from a local network easily in Python?</p>
<p>It would be best if it was multi-platform, but it needs to work on Mac OS X first, then others follow.</p>
<p><strong>Edit:</strong> By local I mean all <strong>active</strong> addresses within a local network, suc... | [
{
"answer_id": 207775,
"author": "Mapad",
"author_id": 28165,
"author_profile": "https://Stackoverflow.com/users/28165",
"pm_score": 4,
"selected": false,
"text": "import socket\nIP1 = socket.gethostbyname(socket.gethostname()) # local IP adress of your computer\nIP2 = socket.gethostbyna... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207234",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2592/"
] |
207,237 | <p>What is the best way to allow a team of programmers to use Netbeans, Eclipse and IntelliJ on the same project, thus eliminating the "which IDE is better" question.</p>
<p>Which files should or should not be checked into source code control?</p>
| [
{
"answer_id": 207241,
"author": "MetroidFan2002",
"author_id": 8026,
"author_profile": "https://Stackoverflow.com/users/8026",
"pm_score": 3,
"selected": false,
"text": ".project .classpath Java Project"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207237",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
207,256 | <p>I've created the following regex pattern in an attempt to match a string 6 characters in length ending in either "PRI" or "SEC", unless the string = "SIGSEC". For example, I want to match ABCPRI, XYZPRI, ABCSEC and XYZSEC, but not SIGSEC.</p>
<pre><code>(\w{3}PRI$|[^SIG].*SEC$)
</code></pre>
<p>It is very close an... | [
{
"answer_id": 207262,
"author": "Dan",
"author_id": 17121,
"author_profile": "https://Stackoverflow.com/users/17121",
"pm_score": 4,
"selected": true,
"text": "((?!SIGSEC)\\w{3}(?:SEC|PRI))\n"
},
{
"answer_id": 207266,
"author": "warren",
"author_id": 4418,
"author_p... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207256",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28442/"
] |
207,260 | <p>i noticed that paypal displays a very different favicon,
one that's not just a simple 16x16 icon and is lengthy?
anyone can teach me?</p>
| [
{
"answer_id": 58583952,
"author": "Abhinav Pundi",
"author_id": 12283143,
"author_profile": "https://Stackoverflow.com/users/12283143",
"pm_score": 0,
"selected": false,
"text": "<link rel=\"shortcut icon\" type=\"image/png\" href=\"images/favicon.png\">"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207260",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24744/"
] |
207,267 | <p>I have recently started working on a very large C++ project that, after completing 90% of the implementation, has determined that they need to demonstrate 100% branch coverage during testing. The project is hosted on an embedded platform (Green Hills Integrity). I'm looking for suggestions and experiences from oth... | [
{
"answer_id": 207672,
"author": "SmacL",
"author_id": 22564,
"author_profile": "https://Stackoverflow.com/users/22564",
"pm_score": 2,
"selected": false,
"text": "int div(int a, int b)\n{\nreturn (a/b);\n}\n"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207267",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19853/"
] |
207,276 | <p>I am just getting started with Silverlight and have recently added a Silverlight project to an established solution. In this particular scenario my solution included an existing ASP.NET web site (not application) which Visual Studio kindly offered to integrated my Silverlight application into, which I accepted.</p>
... | [
{
"answer_id": 3218716,
"author": "Amit",
"author_id": 147613,
"author_profile": "https://Stackoverflow.com/users/147613",
"pm_score": 2,
"selected": false,
"text": "copy $(TargetDir)*.xap $(SolutionDir)<youar web solution folder name such as app.web>\\ClientBin\n"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207276",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27860/"
] |
207,283 | <p>OS: Vista enterprise</p>
<p>When i switch between my home and office network, i always face issues with getting connected to the network. Almost always I have to use the diagnostic service in 'Network and sharing center' and the problem gets solved when i use the reset network adapter option.</p>
<p>This takes a l... | [
{
"answer_id": 207402,
"author": "Mike L",
"author_id": 12085,
"author_profile": "https://Stackoverflow.com/users/12085",
"pm_score": 3,
"selected": false,
"text": "Restart-NetAdapter -Name \"Your Name Here\"\n Get-NetAdapter\n"
},
{
"answer_id": 207418,
"author": "JFV",
... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207283",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26090/"
] |
207,290 | <p>I've been wondering about how hard it would be to write some Python code to search a string for the index of a substring of the form <code>${</code><em>expr</em><code>}</code>, for example, where <em>expr</em> is meant to be a Python expression or something resembling one. Given such a thing, one could easily imagi... | [
{
"answer_id": 207502,
"author": "Jay",
"author_id": 20840,
"author_profile": "https://Stackoverflow.com/users/20840",
"pm_score": 2,
"selected": false,
"text": "#!/usr/bin/env python\n\nimport sys\nimport re\n\nFILE = sys.argv[1]\n\nhandle = open(FILE)\nfcontent = handle.read()\nhandle.... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207290",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13871/"
] |
207,306 | <p>I'm using the MonthCalendar control and want to programmatically select a date range. When I do so the control doesn't paint properly if <code>Application.EnableVisualStyles()</code> has been called. This is a known issue according to MSDN. </p>
<blockquote>
<p>Using the MonthCalendar with visual
styles enabled... | [
{
"answer_id": 1410399,
"author": "Treb",
"author_id": 22114,
"author_profile": "https://Stackoverflow.com/users/22114",
"pm_score": 2,
"selected": false,
"text": "public class MonthCalendarEx : System.Windows.Forms.MonthCalendar\n{\n private int _offsetX;\n private int _offsetY;\n... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207306",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6255/"
] |
207,309 | <p>I have db table with parent child relationship as:</p>
<pre><code>NodeId NodeName ParentId
------------------------------
1 Node1 0
2 Node2 0
3 Node3 1
4 Node4 1
5 Node5 3
6 Node6 5
7 Node7 2
</code></pre>
<p>He... | [
{
"answer_id": 207324,
"author": "yfeldblum",
"author_id": 12349,
"author_profile": "https://Stackoverflow.com/users/12349",
"pm_score": 4,
"selected": true,
"text": "with [CTE] as (\n select * from [TheTable] c where c.[ParentId] = 1\n union all\n select * from [CTE] p, [TheTab... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207309",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28243/"
] |
207,337 | <p>The Oracle view V$OSSTAT holds a few operating statistics, including:</p>
<ul>
<li>IDLE_TICKS Number of hundredths of a second that a processor has been idle, totalled over all processors</li>
<li>BUSY_TICKS Number of hundredths of a second that a processor has been busy executing user or kernel code, totalled ov... | [
{
"answer_id": 208455,
"author": "Leigh Riffel",
"author_id": 27010,
"author_profile": "https://Stackoverflow.com/users/27010",
"pm_score": 3,
"selected": true,
"text": "SELECT (select value from v$osstat where stat_name = 'BUSY_TICKS') /\n(\n NVL((select value from v$osstat where stat... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207337",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27308/"
] |
207,343 | <p>I'm writing a data structure in C# (a priority queue using a <a href="http://en.wikipedia.org/wiki/Fibonacci_heap" rel="nofollow noreferrer">fibonacci heap</a>) and I'm trying to use it as a learning experience for TDD which I'm quite new to. </p>
<p>I understand that each test should only test one piece of the cl... | [
{
"answer_id": 207350,
"author": "tvanfosson",
"author_id": 12950,
"author_profile": "https://Stackoverflow.com/users/12950",
"pm_score": 4,
"selected": true,
"text": "SetUp TearDown"
},
{
"answer_id": 207366,
"author": "Jason Kealey",
"author_id": 20893,
"author_prof... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207343",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9617/"
] |
207,404 | <p>In Groovy, how do I grab a web page and remove HTML tags, etc., leaving only the document's text? I'd like the results dumped into a collection so I can build a word frequency counter.</p>
<p>Finally, let me mention again that I'd like to do this in Groovy.</p>
| [
{
"answer_id": 209245,
"author": "mbrevoort",
"author_id": 18228,
"author_profile": "https://Stackoverflow.com/users/18228",
"pm_score": 1,
"selected": false,
"text": "def records = new XmlSlurper().parseText(YOURHTMLSTRING)\ndef allNodes = records.depthFirst().collect{ it }\ndef list = ... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207404",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
207,454 | <p>I've been trying to programatically feed the paper on a pos printer (Epson TM-U220D). The problem I have is that the last line of the document don't get printed, instead, it is printed as the first line of the next document printed. I tried POS for .NET sending the "ESC|flF" command, also tried to send the raw esc/p... | [
{
"answer_id": 207527,
"author": "bugmagnet",
"author_id": 426,
"author_profile": "https://Stackoverflow.com/users/426",
"pm_score": 0,
"selected": false,
"text": "\"ECHO \" & Chr(12) & \">LPT1\"\n"
},
{
"answer_id": 207586,
"author": "alexandrul",
"author_id": 19756,
... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207454",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26727/"
] |
207,464 | <p>I'm refactoring a number of classes in an application to use interfaces instead of base classes. Here's the interfaces I created so far:</p>
<ul>
<li>ICarryable implemented by all Item objects </li>
<li>IActable implemented by all Actor objects</li>
<li>IUseable implemented by some Item sub-classes</li>
<li>IWie... | [
{
"answer_id": 207489,
"author": "Matt Cruikshank",
"author_id": 8643,
"author_profile": "https://Stackoverflow.com/users/8643",
"pm_score": 1,
"selected": false,
"text": "ICanHasLocation IHasLocation ImInYourProgramHavingALocation"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207464",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1103052/"
] |
207,477 | <p>I'm looking for a reasonable way to represent searches as a RESTful URLs.</p>
<p>The setup: I have two models, Cars and Garages, where Cars can be in Garages. So my urls look like:</p>
<pre><code>/car/xxxx
xxx == car id
returns car with given id
/garage/yyy
yyy = garage id
returns garage with given id
</c... | [
{
"answer_id": 207493,
"author": "Justin Bozonier",
"author_id": 9401,
"author_profile": "https://Stackoverflow.com/users/9401",
"pm_score": -1,
"selected": false,
"text": "/garages\n Returns list of garages (think JSON array here)\n/garages/yyy\n Returns specific garage\n/garage/yyy/c... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207477",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13055/"
] |
207,485 | <p>When you plot things in Matlab, the most recently plotted data series is placed on top of whatever's already there. For example:</p>
<pre><code>figure; hold on
plot(sin(linspace(0,pi)),'linewidth',4,'color',[0 0 1])
plot(cos(linspace(0,pi)),'linewidth',4,'color',[1 0 0])
</code></pre>
<p>Here, the red line is show... | [
{
"answer_id": 207603,
"author": "b3.",
"author_id": 14946,
"author_profile": "https://Stackoverflow.com/users/14946",
"pm_score": 5,
"selected": true,
"text": "h1 = plot(1:10, 'b');\nhold on;\nh2 = plot(1:10, 'r');\n uistack(h1);\n"
},
{
"answer_id": 207828,
"author": "b3.",... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207485",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4161/"
] |
207,490 | <p>I am working on a new version of a firefox extension, but after releasing it, and incrementing the em:version in install.rdf and update.rdf, when I click "Find updates" Firefox reports that "No updates were found." When I run it with debugging on, the output in the console is actually identical to what I see when I... | [
{
"answer_id": 2410957,
"author": "Jason",
"author_id": 7745,
"author_profile": "https://Stackoverflow.com/users/7745",
"pm_score": 0,
"selected": false,
"text": "minVersion=\"3.0.*\" minVersion=\"3.0\""
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207490",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26624/"
] |
207,494 | <p>Its a little tricky to search for 'var:*' because most search engines wont find it.</p>
<p>I'm not clear exactly what var:* means, compared to say var:Object</p>
<p>I thought it would let me set arbitrary properties on an object like :</p>
<pre><code>var x:* = myObject;
x.nonExistantProperty = "123";
</code></pr... | [
{
"answer_id": 207505,
"author": "Gerald",
"author_id": 19404,
"author_profile": "https://Stackoverflow.com/users/19404",
"pm_score": 1,
"selected": false,
"text": "var x = myObject;\n"
},
{
"answer_id": 207508,
"author": "AdamC",
"author_id": 16476,
"author_profile":... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207494",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24727/"
] |
207,496 | <p>So my code is below. I'm not getting any errors and it places everything in the node just fine. But based on my debug statements Everytime anything is inserted it's finding the root. I'm not sure if that is right. But according to output file for the assignment, my answers are different when it comes to the heig... | [
{
"answer_id": 207503,
"author": "Martin York",
"author_id": 14065,
"author_profile": "https://Stackoverflow.com/users/14065",
"pm_score": 4,
"selected": true,
"text": " cout << \"Leaf Node Found\" << newNode->data << endl;\n template <class T>\nint BT<T>::height(Node<T>* root) const\n{\... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207496",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28392/"
] |
207,497 | <p>I am looking to set full trust for a single web part, is this possible? manifest.xml maybe?</p>
| [
{
"answer_id": 207515,
"author": "Ed Altorfer",
"author_id": 26552,
"author_profile": "https://Stackoverflow.com/users/26552",
"pm_score": 2,
"selected": true,
"text": "gacutil.exe \\i C:\\Path\\To\\Dll.dll\n"
},
{
"answer_id": 207641,
"author": "Ryan",
"author_id": 20198... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207497",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14777/"
] |
207,498 | <p>I am running both maven inside the m2eclipse plugin, windows command line and my cygwin command line.</p>
<p>cygwin's bash shell dumps artifacts into the cygwin /home/me/.m2 directory</p>
<p>but m2eclipse & windows shell (on vista) uses /Users/me/Documents/.m2</p>
<p>Is it possible to tell the mvn command to ... | [
{
"answer_id": 207559,
"author": "Alex Miller",
"author_id": 7671,
"author_profile": "https://Stackoverflow.com/users/7671",
"pm_score": 4,
"selected": false,
"text": "<settings xmlns=\"http://maven.apache.org/POM/4.0.0\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n xsi:... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207498",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24457/"
] |
207,504 | <p>I have a UserControl with some predefined controls (groupbox,button,datagridview) on it, these controls are marked as protected and the components variable is also marked as protected.</p>
<p>I then want to inherit from this base UserControl to another UserControl, however the DataGridView is always locked in the d... | [
{
"answer_id": 207511,
"author": "Matt Hamilton",
"author_id": 615,
"author_profile": "https://Stackoverflow.com/users/615",
"pm_score": 1,
"selected": false,
"text": "// in base UserControl\npublic BaseGridDetail()\n{\n InitializeComponent();\n\n InitGridColumns(dataGridView1.Colu... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207504",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4490/"
] |
207,510 | <p>If I click on File -> Close, it closes the buffer like I want, but doesn't list a key mapping. What is the key mapping?</p>
| [
{
"answer_id": 207610,
"author": "Miserable Variable",
"author_id": 18573,
"author_profile": "https://Stackoverflow.com/users/18573",
"pm_score": 5,
"selected": false,
"text": "C-h b"
},
{
"answer_id": 12098186,
"author": "Anish",
"author_id": 1389198,
"author_profile... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207510",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4960/"
] |
207,513 | <p>Is there any tool that enables you to "hot swap" JavaScript contents while executing a webpage? </p>
<p>I am looking for something similar to what HotSpot does for Java, a way to "hot deploy" new JS code without having to reload the whole page.</p>
<p>Is there anything like that out there?</p>
<p><strong>Clarifyi... | [
{
"answer_id": 207769,
"author": "Erlend Halvorsen",
"author_id": 1920,
"author_profile": "https://Stackoverflow.com/users/1920",
"pm_score": 3,
"selected": true,
"text": "function reload(){var scripts=document.getElementsByTagName(\"script\");var head=document.getElementsByTagName(\"hea... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207513",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14540/"
] |
207,542 | <p>I would like to programatically shutdown a Windows Mobile device using Compact framework 2.0, Windows mobile 5.0 SDK.</p>
<p>Regards,</p>
| [
{
"answer_id": 208331,
"author": "ctacke",
"author_id": 13154,
"author_profile": "https://Stackoverflow.com/users/13154",
"pm_score": 3,
"selected": true,
"text": "[Flags]\npublic enum ExitFlags\n{\n Reboot = 0x02,\n PowerOff = 0x08\n}\n\n[DllImport(\"coredll\")]\npublic static extern ... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207542",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/254/"
] |
207,554 | <p>I'm working on an intranet with several subdomains. I have control over each subdomain, so security of cross-site requests is not a concern. I have PHP scripts with JSON responses I'd like to call from multiple subdomains without duplication. For GET requests, I can do this with AJAX and JSONP, but that doesn't work... | [
{
"answer_id": 207668,
"author": "Rik Heywood",
"author_id": 4012,
"author_profile": "https://Stackoverflow.com/users/4012",
"pm_score": 2,
"selected": false,
"text": "<?php\n// Set header so our output looks like a PNG\nheader(\"Content-Type: image/png\");\n\n// Reflect the image from g... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207554",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10837/"
] |
207,592 | <p>I have a class, and I want to inspect its fields and report eventually how many bytes each field takes. I assume all fields are of type Int32, byte, etc.</p>
<p>How can I find out easily how many bytes does the field take?</p>
<p>I need something like:</p>
<pre><code>Int32 a;
// int a_size = a.GetSizeInBytes;
//... | [
{
"answer_id": 207601,
"author": "Lasse V. Karlsen",
"author_id": 267,
"author_profile": "https://Stackoverflow.com/users/267",
"pm_score": 4,
"selected": false,
"text": "using System;\nusing System.Runtime.InteropServices;\n\npublic class MyClass\n{\n public static void Main()\n {... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207592",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
207,599 | <p>I just wrote a new web part and now I am getting this error when I try to deploy them on my non-dev servers:</p>
<blockquote>
<p>the default namespace
'<a href="http://schemas.microsoft.com/WebPart/v2" rel="nofollow noreferrer">http://schemas.microsoft.com/WebPart/v2</a>'
is a reserved namespace for base Web
... | [
{
"answer_id": 207686,
"author": "Ryan",
"author_id": 20198,
"author_profile": "https://Stackoverflow.com/users/20198",
"pm_score": 0,
"selected": false,
"text": "[XmlRoot(Namespace = \"Your.Namespace\")]\npublic class YourWebPart: WebPart\n{\n...\n [DefaultValue(0)]\n [WebPartSto... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207599",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14777/"
] |
207,608 | <p>There is this style of exception system where a component throws component-specific exception. For example, all data access classes throw <code>DataAccessException</code>.</p>
<p>In this style, I often find myself having to catch and rethrow the component specific exception, because called methods are delcared as <... | [
{
"answer_id": 207634,
"author": "Vinko Vrsalovic",
"author_id": 5190,
"author_profile": "https://Stackoverflow.com/users/5190",
"pm_score": 2,
"selected": false,
"text": "try {\n componentCall();\n} catch (ComponentException e) {\n Throwable t = e.getCause();\n //Handle each possible... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207608",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18573/"
] |
207,613 | <p>Please one library per answer so that people can vote for the individually.</p>
| [
{
"answer_id": 207808,
"author": "aemkei",
"author_id": 28150,
"author_profile": "https://Stackoverflow.com/users/28150",
"pm_score": 2,
"selected": false,
"text": "var cal = new scal('samplecal', updateelement, {\n oncalchange: function(d) {\n alert('Calendar Change: ' + d.format('y... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207613",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3547/"
] |
207,631 | <p>Does some article or proof exist that .NET applications are immune to low level errors? </p>
<p>I'm talking about the classic pointer errors we can see in a C++ application, memory overflow, problems from the Intel <a href="http://en.wikipedia.org/wiki/NX_bit" rel="nofollow noreferrer">DEP</a> and so on.</p>
<p>I'... | [
{
"answer_id": 18925326,
"author": "supercat",
"author_id": 363751,
"author_profile": "https://Stackoverflow.com/users/363751",
"pm_score": 0,
"selected": false,
"text": "new delete new delete"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207631",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11673/"
] |
207,633 | <p>Can we somehow extend the RuleSetDialog class and host in our windows application?</p>
| [
{
"answer_id": 682151,
"author": "Mel",
"author_id": 1763,
"author_profile": "https://Stackoverflow.com/users/1763",
"pm_score": 0,
"selected": false,
"text": "var dialog = new RuleSetDialog(activityType, null, ruleset);\ndialog.Controls[\"headerTextLabel\"].Visible = false;\ndialog.Cont... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207633",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11039/"
] |
207,636 | <p>I have a Java method which starts up a Process with ProcessBuilder, and pipes its output into a byte array, and then returns its byte array when the process is finished.</p>
<p>Pseudo-code:</p>
<pre><code>ProcessBuilder b = new ProcessBuilder("my.exe")
Process p = b.start();
... // get output from process, close p... | [
{
"answer_id": 1024931,
"author": "Rogério",
"author_id": 2326914,
"author_profile": "https://Stackoverflow.com/users/2326914",
"pm_score": 2,
"selected": false,
"text": "public class MyProcessTest\n{\n public static class MyProcess {\n public byte[] run() throws IOException, I... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207636",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6583/"
] |
207,642 | <p>There are so many options when it comes to PHP development environments and you have to piece it all together yourself.</p>
<p>I'm wondering if someone has come up with what they think is the ideal setup that gets out of your way and lets you develop.</p>
<p>Right now I use vim and svn from the command-line. I wr... | [
{
"answer_id": 207685,
"author": "Richard Turner",
"author_id": 12559,
"author_profile": "https://Stackoverflow.com/users/12559",
"pm_score": 1,
"selected": false,
"text": "var_dump();exit;"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207642",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
207,646 | <p>I am having an VB Script. I need to log the error information in a file. I need to log every information like error number error description and in which sub routine does the error occured.</p>
<p>Please provide some code</p>
| [
{
"answer_id": 207697,
"author": "TcKs",
"author_id": 20382,
"author_profile": "https://Stackoverflow.com/users/20382",
"pm_score": -1,
"selected": true,
"text": "On Error Resume Next '' ignore errors\nSomeIgnorableFunction()\n\nOn Error GoTo 0 '' removes error ignoring\nSomeImportantFun... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207646",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22162/"
] |
207,662 | <p>I'm trying to write a wstring to file with ofstream in binary mode, but I think I'm doing something wrong. This is what I've tried:</p>
<pre><code>ofstream outFile("test.txt", std::ios::out | std::ios::binary);
wstring hello = L"hello";
outFile.write((char *) hello.c_str(), hello.length() * sizeof(wchar_t));
outFil... | [
{
"answer_id": 208431,
"author": "Martin York",
"author_id": 14065,
"author_profile": "https://Stackoverflow.com/users/14065",
"pm_score": 4,
"selected": false,
"text": "#include <locale>\n#include <fstream>\n#include <iostream>\n// See Below for the facet\n#include \"UTF16Facet.h\"\n\ni... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207662",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22283/"
] |
207,693 | <p>The following code returns data from a spreadsheet into a grid perfectly</p>
<pre><code>[
string excelConnectString = "Provider = Microsoft.Jet.OLEDB.4.0;" +
"Data Source = " + excelFileName + ";" +
"Extended Properties = Excel 8.0;";
OleDbConnection objConn = new OleDbConne... | [
{
"answer_id": 281829,
"author": "Jason Anderson",
"author_id": 1530166,
"author_profile": "https://Stackoverflow.com/users/1530166",
"pm_score": 0,
"selected": false,
"text": "SUM Column A, B, C, D, etc... ColumnA, ColumnB, ColumnC, ColumnD, etc... query Select ColumnA, ColumnB, ColumnC... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207693",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
207,703 | <p>I have a touch screen kiosk that displays a webpage and a pdf document. Can I remove the menu bar? Users must not have "save", "print" and other such features.</p>
<p>Update</p>
<p><a href="http://flickr.com/photos/23021917@N05/2209106577/" rel="nofollow noreferrer">random screenshot on flickr</a> - I am refering ... | [
{
"answer_id": 208160,
"author": "charlesbridge",
"author_id": 22738,
"author_profile": "https://Stackoverflow.com/users/22738",
"pm_score": 2,
"selected": false,
"text": "File->Export as PDF->User Interface"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207703",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3718/"
] |
207,720 | <p>One of the most difficult problems in my javascript experience has been the correct (that is "cross-browser") computing of a <strong>iframe height</strong>.
In my applications I have a lot of dynamically generated iframe and I want them all do a sort of autoresize at the end of the load event to adjust their height ... | [
{
"answer_id": 749417,
"author": "Brian Grinstead",
"author_id": 76137,
"author_profile": "https://Stackoverflow.com/users/76137",
"pm_score": 0,
"selected": false,
"text": "function getDocumentHeight(doc) {\n var mdoc = doc || document; \n var docHeight = mdoc.body.scrollHeight;\n\n ... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207720",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27789/"
] |
207,721 | <p>As I mention in an earlier question, I'm refactoring a project I'm working on. Right now, everything depends on everything else. Everything is separated into namespaces I created early on, but I don't think my method of separtion was very good. I'm trying to eliminate cases where an object depends on another object ... | [
{
"answer_id": 207753,
"author": "Sklivvz",
"author_id": 7028,
"author_profile": "https://Stackoverflow.com/users/7028",
"pm_score": 3,
"selected": true,
"text": "public void Whatever(IRenderable renderable)\n{\n if (renderable is ILocateable)\n {\n ((ILocateable) renderable).Lo... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207721",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1103052/"
] |
207,730 | <p>I'm trying to create a C++ class, with a templated superclass. The idea being, I can easily create lots of similar subclasses from a number of superclasses which have similar characteristics.</p>
<p>I have distilled the problematic code as follows:</p>
<p><code>template_test.h</code>:</p>
<pre><code>template<c... | [
{
"answer_id": 207743,
"author": "C. K. Young",
"author_id": 13,
"author_profile": "https://Stackoverflow.com/users/13",
"pm_score": 3,
"selected": true,
"text": ".inl .tcc #include #include template_test.cpp template_test.inl template_test.tcc #include \"template_test.inl\" template_tes... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207730",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17938/"
] |
207,734 | <p>we can use <code>time</code> in a unix environment to see how long something took...</p>
<pre><code>shell> time some_random_command
real 0m0.709s
user 0m0.008s
sys 0m0.012s
</code></pre>
<p>is there an equivalent for recording memory usage of the process(es)?</p>
<p>in particular i'm interested in pe... | [
{
"answer_id": 208346,
"author": "Andy Whitfield",
"author_id": 4805,
"author_profile": "https://Stackoverflow.com/users/4805",
"pm_score": 0,
"selected": false,
"text": "ps v <pid>"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207734",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26094/"
] |
207,744 | <p>I'm looking for a good algorithm that can give me the unique edges from a set of polygon data. In this case, the polygons are defined by two arrays. One array is the number of points per polygon, and the other array is a list of vertex indices.</p>
<p>I have a version that is working, but performance gets slow when... | [
{
"answer_id": 207757,
"author": "Lasse V. Karlsen",
"author_id": 267,
"author_profile": "https://Stackoverflow.com/users/267",
"pm_score": 3,
"selected": false,
"text": "A +-----+ B\n \\ |\\\n \\ 1 | \\\n \\ | \\\n \\ | 2 \\\n \\| \\\n C +-----+ D\n A - ... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207744",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17209/"
] |
207,763 | <p>I recently saw an announcement and <a href="http://www.linux.com/feature/150399" rel="nofollow noreferrer">article</a> outlining the release of the first <a href="http://www.python.org/download/releases/3.0/" rel="nofollow noreferrer">Python 3.0</a> release candidate. I was wondering whether there were any commercia... | [
{
"answer_id": 209303,
"author": "Dan Lenski",
"author_id": 20789,
"author_profile": "https://Stackoverflow.com/users/20789",
"pm_score": 4,
"selected": true,
"text": "print print"
},
{
"answer_id": 800310,
"author": "Zxaos",
"author_id": 4924,
"author_profile": "http... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207763",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/416/"
] |
207,768 | <p>I know how to fill an std::vector with non-trivial initial values, e.g. sequence numbers:</p>
<pre><code>void IndexArray( unsigned int length, std::vector<unsigned int>& v )
{
v.resize(length);
for ( unsigned int i = 0; i < length; ++i )
{
v[i] = i;
}
}
</code></pre>
<p>But thi... | [
{
"answer_id": 207777,
"author": "moogs",
"author_id": 26374,
"author_profile": "https://Stackoverflow.com/users/26374",
"pm_score": 5,
"selected": true,
"text": "#include <iostream>\n#include <algorithm>\n#include <vector>\n\nstruct c_unique {\n int current;\n c_unique() {current=0;... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207768",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19863/"
] |
207,786 | <p>I develop using MAMP pro on my Mac. When I start MAMP it prompts me for a password if I use port 80. If I use a higher port it doesn't prompt me, but I have to append the port number in the URL ( eg dev.local:8888 ).
Does anyone know how to make it not prompt for password when using standard ports?
Thank you.</p>
| [
{
"answer_id": 15050843,
"author": "Anonymous",
"author_id": 945722,
"author_profile": "https://Stackoverflow.com/users/945722",
"pm_score": 2,
"selected": false,
"text": "YOURPASSWORD YOURUSERNAME run-only do shell script \"/Applications/MAMP/bin/startApache.sh &\" password \"YOURPASSWO... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207786",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26107/"
] |
207,789 | <p>I am using sql express 2008 and vs2008, writing in c#.</p>
<p>I have a db table with a Geography column in it, into which I need to put gps data I collected. When I tried creating an Entity-Framework mapping for this table, it just ignored the column with some warning about not being able to map such column types.
... | [
{
"answer_id": 214159,
"author": "kͩeͣmͮpͥ ͩ",
"author_id": 26479,
"author_profile": "https://Stackoverflow.com/users/26479",
"pm_score": 2,
"selected": true,
"text": "IUserType"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207789",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28505/"
] |
207,791 | <p>It doesn't look like basic javascript but nor can I use JQuery commands like <code>$('myId')</code>. Is this or similar functions documented anywhere?</p>
<p>For reason I don't want to go into, I am not able to use 3rd party libraries like JQuery but if some powerful javascript extensions come with asp then I would... | [
{
"answer_id": 207846,
"author": "Filini",
"author_id": 21162,
"author_profile": "https://Stackoverflow.com/users/21162",
"pm_score": 1,
"selected": false,
"text": "\nfunction $()\n{\n alert('foo');\n} \n\n$();\n"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207791",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18107/"
] |
207,793 | <p>Is it possible to pass a path such as subject/name to a template then to use that path which is passed in the template as a path and not as a textual string. I am finding that the path is treated as text rather than a path.</p>
| [
{
"answer_id": 208838,
"author": "ChuckB",
"author_id": 28605,
"author_profile": "https://Stackoverflow.com/users/28605",
"pm_score": 1,
"selected": false,
"text": "dyn:evaluate()"
},
{
"answer_id": 217438,
"author": "Richard A",
"author_id": 24355,
"author_profile": ... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207793",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
207,800 | <p>I am new to C and i have this question. why does the following code crash:</p>
<pre><code>int *a = 10;
*a = 100;
</code></pre>
| [
{
"answer_id": 207807,
"author": "gimel",
"author_id": 6491,
"author_profile": "https://Stackoverflow.com/users/6491",
"pm_score": 4,
"selected": false,
"text": "int cell = 10;\nint *a = &cell; // a points to address of cell\n*a = 100; // content of cell changed\n"
},
{
"an... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207800",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
207,824 | <p><a href="http://wiki.eclipse.org/index.php/ATF/JSDT" rel="nofollow noreferrer">Javascript Developer Tools</a> (JSDT) for Eclipse provides a nice outline view of Javascript classes, with a little symbol next to them to indicate visibility. </p>
<p>Looking at <em>Preferences->Javascript->Appearance->Members Sort Orde... | [
{
"answer_id": 609438,
"author": "levik",
"author_id": 4465,
"author_profile": "https://Stackoverflow.com/users/4465",
"pm_score": 0,
"selected": false,
"text": "@private"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207824",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6521/"
] |
207,829 | <p>I have a List object being accessed by multiple threads. There is mostly one thread, and in some conditions two threads, that updates the list. There are one to five threads that can read from this list, depending on the number of user requests being processed.
The list is not a queue of tasks to perform, it is a li... | [
{
"answer_id": 207937,
"author": "C. K. Young",
"author_id": 13,
"author_profile": "https://Stackoverflow.com/users/13",
"pm_score": 3,
"selected": true,
"text": "ConcurrentHashMap ReadWriteLock ConcurrentSkipListMap"
},
{
"answer_id": 208953,
"author": "Marcus Downing",
... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207829",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27602/"
] |
207,837 | <p>In a <a href="https://stackoverflow.com/questions/190524/mapping-computed-properties-in-linq-to-sql-to-actuall-sql-statements">previous question</a> I asked how to make "Computed properties" in a linq to sql object. The answer supplied there was sufficient for that specific case but now I've hit a similar snag in an... | [
{
"answer_id": 216733,
"author": "MichaelGG",
"author_id": 27012,
"author_profile": "https://Stackoverflow.com/users/27012",
"pm_score": 2,
"selected": true,
"text": "using System;\nusing System.Linq;\nusing System.Linq.Expressions;\n\nclass Program {\n static void Main(string[] args)... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207837",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26746/"
] |
207,838 | <p>There has been a lot of press about IPv6 and the impending switch over to IPv6 from IPv4. I have some understanding of IPv6, but I've often wondered how much impact IPv6 has on application development & design (specifically)?</p>
<p>Are there some tangible/well known benefits IPv6 provides which we don't alrea... | [
{
"answer_id": 378212,
"author": "Alnitak",
"author_id": 6782,
"author_profile": "https://Stackoverflow.com/users/6782",
"pm_score": 3,
"selected": false,
"text": "AF_INET struct sockaddr_in getaddrinfo() AF_INET6 getaddrinfo memset(&hints, 0, sizeof(struct addrinfo));\n ... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207838",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18471/"
] |
207,843 | <p>I am using Eclipse 3.3 ("Europa"). Periodically, Eclipse takes an inordinately long time (perhaps forever) to start up. The only thing I can see in the Eclipse log is:</p>
<pre>
!ENTRY org.eclipse.core.resources 2 10035 2008-10-16 09:47:34.801
!MESSAGE The workspace exited with unsaved changes in the previo... | [
{
"answer_id": 208148,
"author": "Ruben",
"author_id": 26919,
"author_profile": "https://Stackoverflow.com/users/26919",
"pm_score": 5,
"selected": false,
"text": "Eclipse -clean -clean Linux Eclipse"
},
{
"answer_id": 209834,
"author": "matt b",
"author_id": 4249,
"a... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207843",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4728/"
] |
207,848 | <p>How do I get the full width result for the *nix command "<strong>ps</strong>"?<br />
I know we can specify something like <code>--cols 1000</code> but is there anyway I can
the columns and just print out everything?</p>
| [
{
"answer_id": 207864,
"author": "unwind",
"author_id": 28169,
"author_profile": "https://Stackoverflow.com/users/28169",
"pm_score": 4,
"selected": true,
"text": "ps -w -w aux"
},
{
"answer_id": 207893,
"author": "C. K. Young",
"author_id": 13,
"author_profile": "htt... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207848",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4037/"
] |
207,851 | <p>I want to create a Silverlight 2 control that has two content areas. A Title and a MainContent. So the control would be:</p>
<pre><code><StackPanel>
<TextBlock Text=" CONTENT1 "/>
<Content with CONTENT2 "/>
</StackPanel>
</code></pre>
<p>When I use the control I should just be able to use... | [
{
"answer_id": 207897,
"author": "Mark Ingram",
"author_id": 986,
"author_profile": "https://Stackoverflow.com/users/986",
"pm_score": 4,
"selected": true,
"text": "[ContentProperty(\"Child\")]\npublic partial class MyControl: UserControl\n{\n public static readonly DependencyProperty... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207851",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5189/"
] |
207,867 | <p>Is it less efficient to use TEXT than varchar in an SQL database?</p>
<p>If so why?</p>
<p>If not why would you not just always use TEXT?</p>
<p>I'm not targetting a specific database here but oracle is probably the most relevant, although I'm testing on MySQL for the time being as part of a proof of concept.</p>... | [
{
"answer_id": 207874,
"author": "Galwegian",
"author_id": 3201,
"author_profile": "https://Stackoverflow.com/users/3201",
"pm_score": 3,
"selected": true,
"text": "varchar(max) WHERE varchar,nvarchar and varbinary"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207867",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20400/"
] |
207,871 | <p>I need to use utf-8 characters in my perl-documentation.
If I use:</p>
<pre><code>perldoc MyMod.pm
</code></pre>
<p>I see strange characters. If I use:</p>
<pre><code>pod2text MyMod.pm
</code></pre>
<p>everything is fine.</p>
<p>I use Ubuntu/Debian.</p>
<pre><code>$ locale
LANG=de_DE.UTF-8
LC_CTYPE="de_DE.UTF-... | [
{
"answer_id": 208699,
"author": "moritz",
"author_id": 14132,
"author_profile": "https://Stackoverflow.com/users/14132",
"pm_score": 5,
"selected": true,
"text": "=encoding utf-8 perldoc"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207871",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27239/"
] |
207,878 | <p>I have the following code that sets a cookie:</p>
<pre><code> string locale = ((DropDownList)this.LoginUser.FindControl("locale")).SelectedValue;
HttpCookie cookie = new HttpCookie("localization",locale);
cookie.Expires= DateTime.Now.AddYears(1);
Response.Cookies.Set(cookie);
</code></pre>
<p>However, when... | [
{
"answer_id": 208159,
"author": "aunlead",
"author_id": 28321,
"author_profile": "https://Stackoverflow.com/users/28321",
"pm_score": 0,
"selected": false,
"text": "string locale = ((DropDownList)this.LoginUser.FindControl(\"locale\"))\n ... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207878",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1090/"
] |
207,881 | <p>I've a dialog which contains a Qt TabWidget with a number of tabs added. </p>
<p>I'd like to hide one of the tabs. </p>
<pre><code>_mytab->hide()
</code></pre>
<p>doesn't work. I don't want to just delete the tab and all its widgets from the .ui file because other code relies on the widgets within the tab. ... | [
{
"answer_id": 208425,
"author": "Jérôme",
"author_id": 2796,
"author_profile": "https://Stackoverflow.com/users/2796",
"pm_score": 4,
"selected": true,
"text": "_myTabDlg->removePage(_mytab);\n"
},
{
"answer_id": 208441,
"author": "AMM",
"author_id": 11212,
"author_p... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207881",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23434/"
] |
207,889 | <p>I want this method to work for any given number of arguments, i can do that with code generation(with a lot of ugly code), can it be done with recursion? if so how? I understand recursion, but i dont know how to write this.</p>
<pre><code>private static void allCombinations(List<String>... lists) {
if (li... | [
{
"answer_id": 207912,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 1,
"selected": false,
"text": "public static void allCombinations(List<String>... lists) {\n int[] indexes = new int[lists.length];\n\n while (in... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207889",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
207,896 | <p>I have a C#/.NET program that can run both as a console application and as a service.
Currently I give it a command-line option to start as a console application, but I would like to avoid that.</p>
<p>Is it possible to programmatically detect whether my program is being started as a service? </p>
<p>If it was pur... | [
{
"answer_id": 6202990,
"author": "Chin Siang",
"author_id": 779622,
"author_profile": "https://Stackoverflow.com/users/779622",
"pm_score": 2,
"selected": false,
"text": "[DllImport(\"kernel32.dll\", SetLastError = true)]\nstatic extern IntPtr GetStdHandle(int nStdHandle);\nconst int ST... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207896",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5542/"
] |
207,899 | <p>I have a database that contains a table that looks a bit like this:</p>
<p>PropertyId, EntityId, Value</p>
<p>PropertyId and EntityId are a combined primary key. Every Entity is spread over a couple of rows where every row contains a single property of the entity. I have no control over this database so I'll have ... | [
{
"answer_id": 212838,
"author": "kͩeͣmͮpͥ ͩ",
"author_id": 26479,
"author_profile": "https://Stackoverflow.com/users/26479",
"pm_score": 1,
"selected": false,
"text": "map <map name='Values' table='EntityPropertyValue'>\n <key column='EntityId' />\n <index-many-to-many class='Person'... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207899",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3320/"
] |
207,901 | <p>I have a databound <code>DataGridView</code>. When a new row is added and the user presses <kbd>Esc</kbd> I want to delete the entire row. How can I do this?</p>
| [
{
"answer_id": 207970,
"author": "balexandre",
"author_id": 28004,
"author_profile": "https://Stackoverflow.com/users/28004",
"pm_score": 3,
"selected": false,
"text": "private void dataGridView1_KeyPress(object sender, KeyPressEventArgs e)\n{\n if (e.KeyChar == (char)27)\n {\n ... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207901",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
207,938 | <p>I'm not sure what the best api for simple 2d graphics with Java is. I know <code>java.awt.Graphics2D</code> was the standard but has it been replaced? Swing is the new API for Java GUI apps but it seems a bit heavy for what I want. What I really want is something like the C <a href="http://libsdl.org/" rel="noreferr... | [
{
"answer_id": 207982,
"author": "C. K. Young",
"author_id": 13,
"author_profile": "https://Stackoverflow.com/users/13",
"pm_score": 5,
"selected": true,
"text": "Graphics2D"
}
] | 2008/10/16 | [
"https://Stackoverflow.com/questions/207938",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3165/"
] |
207,939 | <p>I was wondering if anybody could point me towards a free ftps module for python.</p>
<p>I am a complete newbie to python, but this is something I need for a work project. I need an ftps client to connect to a 3rd party ftps server.</p>
<p>thanks,</p>
<p>David.</p>
| [
{
"answer_id": 208256,
"author": "Glyph",
"author_id": 13564,
"author_profile": "https://Stackoverflow.com/users/13564",
"pm_score": 3,
"selected": false,
"text": "FTPClient.connectFactory connectSSL connectTCP"
},
{
"answer_id": 215529,
"author": "Tony Meyer",
"author_id... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207939",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10171/"
] |
207,947 | <p>How do I get a platform-dependent newline in Java? I can’t use <code>"\n"</code> everywhere.</p>
| [
{
"answer_id": 207950,
"author": "abahgat",
"author_id": 27565,
"author_profile": "https://Stackoverflow.com/users/27565",
"pm_score": 9,
"selected": false,
"text": "System.getProperty(\"line.separator\");\n"
},
{
"answer_id": 209771,
"author": "Alex B",
"author_id": 6180... | 2008/10/16 | [
"https://Stackoverflow.com/questions/207947",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3713/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.