qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
106,472 | <p>What are good methodologies for creating sprocs that reduce the pain of debugging? And what tools are out there for debugging stored procedures?</p>
<p>Perhaps most importantly, what are indications to look out for that errors are happening in a sproc and not in the code? I hope I'm not all over the board too terri... | [
{
"answer_id": 106648,
"author": "Seibar",
"author_id": 357,
"author_profile": "https://Stackoverflow.com/users/357",
"pm_score": 1,
"selected": false,
"text": "LEFT JOIN\n /************************************\n MyProcName\n\n Test:\n -----\n exec MyProcName @myParam\n**************... | 2008/09/19 | [
"https://Stackoverflow.com/questions/106472",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13578/"
] |
106,473 | <p>We make heavy use of Velocity in our web application. While it is easy to debug the Java side of things and ensure the Velocity Context is populated correctly, it would be extremely valuable to be able to step through the parsing of the VTL on the merge step, set breakpoints, etc. Are there any tools or IDEs/IDE p... | [
{
"answer_id": 7972815,
"author": "DJ.",
"author_id": 10638,
"author_profile": "https://Stackoverflow.com/users/10638",
"pm_score": 3,
"selected": false,
"text": "#if($logger.log($data)) #end"
}
] | 2008/09/19 | [
"https://Stackoverflow.com/questions/106473",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17123/"
] |
106,476 | <p>I have a setup executable that I need to install. When I run it, it launches a msi to do the actual install and then dies immediately. The side effect of this is it will return control back to any console you call it from before the install finishes. Depending on what machine I run it on, it can take from three to t... | [
{
"answer_id": 106601,
"author": "Jim Olsen",
"author_id": 15603,
"author_profile": "https://Stackoverflow.com/users/15603",
"pm_score": 2,
"selected": true,
"text": "c:\\>wmic PROCESS WHERE ParentProcessId=4000 GET CommandLine, ProcessId \nCommandLine ... | 2008/09/19 | [
"https://Stackoverflow.com/questions/106476",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
106,481 | <p>I have this line in a javascript block in a page:</p>
<pre><code>res = foo('<%= @ruby_var %>');
</code></pre>
<p>What is the best way to handle the case where <code>@ruby_var</code> has a single-quote in it? Else it will break the JavaScript code.</p>
| [
{
"answer_id": 106518,
"author": "Max Cantor",
"author_id": 16034,
"author_profile": "https://Stackoverflow.com/users/16034",
"pm_score": 2,
"selected": false,
"text": "@ruby_var.gsub(/[']/, '\\\\\\\\\\'')\n"
},
{
"answer_id": 106557,
"author": "TFKyle",
"author_id": 1920... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106481",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19409/"
] |
106,508 | <p>What is a smart pointer and when should I use one?</p>
| [
{
"answer_id": 106523,
"author": "C. K. Young",
"author_id": 13,
"author_profile": "https://Stackoverflow.com/users/13",
"pm_score": 4,
"selected": false,
"text": "std::tr1::shared_ptr boost::shared_ptr std::auto_ptr shared_ptr shared_ptr libc"
},
{
"answer_id": 106568,
"auth... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106508",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19410/"
] |
106,509 | <p>I have a button that I would like to disable when the form submits to prevent the user submitting multiple times.</p>
<p>I have tried naively disabling the button with javascript onclick but then if a client side validation that fails the button remains disabled.</p>
<p>How do I disable the button when the form su... | [
{
"answer_id": 106840,
"author": "Turnkey",
"author_id": 13144,
"author_profile": "https://Stackoverflow.com/users/13144",
"pm_score": 3,
"selected": false,
"text": "<input type=\"hidden\" name=\"form_submitted\" value=\"0\">\n\nfunction check_submit (){\n if (document.Form1.f... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106509",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6600/"
] |
106,534 | <p>The default rails XML builder escapes all HTML, so something like:</p>
<pre class="lang-ruby prettyprint-override"><code>atom_feed do |feed|
@stories.each do |story|
feed.entry story do |entry|
entry.title story.title
entry.content "<b>foo</b>"
end
end
end
</code></pre... | [
{
"answer_id": 106616,
"author": "Shalmanese",
"author_id": 14559,
"author_profile": "https://Stackoverflow.com/users/14559",
"pm_score": 4,
"selected": true,
"text": "entry.content \"<b>foo</b>\", :type => \"html\"\n"
},
{
"answer_id": 5706949,
"author": "Rodrigo",
"auth... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106534",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14559/"
] |
106,544 | <p>I get the following error when trying to run the latest Cygwin version of rsync in Windows XP SP2. The error occurs for attempts at both local syncs (that is: source and destination on the local harddisk only) and remote syncs (using "-e ssh" from the openssh package). Any advice on how to fix/workaround it?</p>
<p... | [
{
"answer_id": 2507539,
"author": "DH4",
"author_id": 267429,
"author_profile": "https://Stackoverflow.com/users/267429",
"pm_score": 2,
"selected": false,
"text": "$ gdb --args /usr/bin/rsync -a somedir/ anotherdir\nGNU gdb 6.8.0.20080328-cvs (cygwin-special)\n.....\n(no debugging symbo... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106544",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19417/"
] |
106,554 | <p>I use this code in my Windows Service to be notified of USB disk drives being inserted and removed:</p>
<pre><code>WqlEventQuery query = new WqlEventQuery("__InstanceOperationEvent",
"TargetInstance ISA 'Win32_LogicalDisk' AND TargetInstance.DriveType=2");
query.WithinInterval = TimeSpan.FromSeconds(1);
_devic... | [
{
"answer_id": 52615754,
"author": "Mujtaba",
"author_id": 6880486,
"author_profile": "https://Stackoverflow.com/users/6880486",
"pm_score": 1,
"selected": false,
"text": "using System;\nusing System.Management;\n\nnamespace MonitorDrives\n{\nclass Program\n{\n public enum EventType\n... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106554",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14842/"
] |
106,555 | <p>I have a Perl script where I maintain a very simple cache using a hash table. I would like to clear the hash once it occupies more than n bytes, to avoid Perl (32-bit) running out of memory and crashing. </p>
<p>I can do a check on the number of keys-value pairs:</p>
<pre><code>if (scalar keys %cache > $maxSize... | [
{
"answer_id": 106565,
"author": "mbac32768",
"author_id": 18446,
"author_profile": "https://Stackoverflow.com/users/18446",
"pm_score": 4,
"selected": false,
"text": "use Devel::Size qw(size total_size);\n\nmy $size = size(\"A string\");\nmy @foo = (1, 2, 3, 4, 5);\nmy $other_size = siz... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106555",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5734/"
] |
106,563 | <p>I'd like to log the output of a command to <code>stdout</code> as well as to a log file. I've got Cygwin installed and I'm trying to use the <code>tee</code> command to accomplish this.</p>
<pre><code>devenv mysolution.sln /build myproject "Release|Win32" | tee build.log
</code></pre>
<p>Trouble is that <code>tee<... | [
{
"answer_id": 106579,
"author": "C. K. Young",
"author_id": 13,
"author_profile": "https://Stackoverflow.com/users/13",
"pm_score": 2,
"selected": false,
"text": "$| tee #!/usr/bin/perl -w\nuse strict;\nuse IO::File;\n$| = 1;\nmy @fhs = map IO::File->new(\">$_\"), @ARGV;\nwhile (my $lin... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106563",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4790/"
] |
106,586 | <p><strong>There is a lot of relativity involved in working with exceptions.</strong> Beyond low level APIs where exceptions cover errors raised from hardware and the OS there is a shady area where the programmer decides what constitutes an exception and what is a normal condition.</p>
<p>How do you decide when to use... | [
{
"answer_id": 107098,
"author": "Harold Ekstrom",
"author_id": 8429,
"author_profile": "https://Stackoverflow.com/users/8429",
"pm_score": 0,
"selected": false,
"text": "HRESULT Foo()\n{\n HRESULT hr = S_OK;\n try {\n // Avoid a whole lot of nested ifs and return code\n ... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106586",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13615/"
] |
106,591 | <p>At work today, I came across the <code>volatile</code> keyword in Java. Not being very familiar with it, I found <a href="http://web.archive.org/web/20210221170926/https://www.ibm.com/developerworks/java/library/j-jtp06197/" rel="noreferrer">this explanation</a>.</p>
<p>Given the detail in which that article explain... | [
{
"answer_id": 106641,
"author": "Ande Turner",
"author_id": 4857,
"author_profile": "https://Stackoverflow.com/users/4857",
"pm_score": 8,
"selected": false,
"text": "volatile java.util.concurrent"
},
{
"answer_id": 106787,
"author": "Greg Mattes",
"author_id": 13940,
... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106591",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16759/"
] |
106,599 | <p>I would like to serialize and deserialize objects without having to worry about the entire class graph.</p>
<p>Flexibility is key. I would like to be able to serialize any object passed to me without complete attributes needed throughout the entire object graph.</p>
<blockquote>
<p>That means that Binary Serial... | [
{
"answer_id": 106697,
"author": "Ian Suttle",
"author_id": 19421,
"author_profile": "https://Stackoverflow.com/users/19421",
"pm_score": 2,
"selected": false,
"text": "[XmlArray(\"Foo\")]\n[XmlArrayItem(\"Bar\")]\npublic List<BarClass> FooBars\n{ get; set; }\n <Foo>\n <Bar />\n <B... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106599",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2744/"
] |
106,623 | <p>I have a Java program that loads thirdparty class files (classes I did not write) and executes them. These classes often use <code>java.util.Random</code>, which by default generates random starting seed values every time it gets instantiated. For reasons of reproducability, I want to give these classes the same sta... | [
{
"answer_id": 106693,
"author": "OscarRyz",
"author_id": 20654,
"author_profile": "https://Stackoverflow.com/users/20654",
"pm_score": 2,
"selected": false,
"text": "java -X\n"
},
{
"answer_id": 2972293,
"author": "mahaveer",
"author_id": 358208,
"author_profile": "h... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106623",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9871/"
] |
106,627 | <blockquote>
<p><strong>Possible Duplicates:</strong><br>
<a href="https://stackoverflow.com/questions/370427/learn-obj-c-memory-management">Learn Obj-C Memory Management</a><br>
<a href="https://stackoverflow.com/questions/710288/where-are-the-best-explanations-of-memory-management-for-iphone">Where are the best... | [
{
"answer_id": 126149,
"author": "benzado",
"author_id": 10947,
"author_profile": "https://Stackoverflow.com/users/10947",
"pm_score": 2,
"selected": false,
"text": "alloc copy release retain release autorelease NSObject *threeObjects[3];\n\nthreeObjects[0] = @\"a string\";\nthreeObjects... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106627",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
106,630 | <p>I start by creating a string variable with some <strong>non-ascii</strong> <em>utf-8</em> encoded data on it:</p>
<pre><code>>>> text = 'á'
>>> text
'\xc3\xa1'
>>> text.decode('utf-8')
u'\xe1'
</code></pre>
<p>Using <code>unicode()</code> on it raises errors...</p>
<pre><code>>>&g... | [
{
"answer_id": 106640,
"author": "John Millikin",
"author_id": 3560,
"author_profile": "https://Stackoverflow.com/users/3560",
"pm_score": 3,
"selected": false,
"text": "unicode unicode __unicode__() unicode(r) __str__() __unicode__() __unicode__() __str__() ascii unicode() basestring te... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106630",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17160/"
] |
106,632 | <p>Strange question, but: Sharepoint 2007 greets you with the Administrator Tasks on the Central Administration after installation.</p>
<p>I just wonder if this list is "safe" to be used for my own Administration Tasks? The reason why i'm asking is because I found that Sharepoint uses a lot of "black magic" and unlogi... | [
{
"answer_id": 106640,
"author": "John Millikin",
"author_id": 3560,
"author_profile": "https://Stackoverflow.com/users/3560",
"pm_score": 3,
"selected": false,
"text": "unicode unicode __unicode__() unicode(r) __str__() __unicode__() __unicode__() __str__() ascii unicode() basestring te... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106632",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/91/"
] |
106,668 | <p>I've used poderosa(a .NET terminal app) to monitor logs on multiple linux/solaris servers. This application is NOT getting currently maintained and I've had several problems with it.</p>
<p>I'm wondering what other users do to simultaneously monitor several logs in real-time(as in tail -f logfile). I would like to b... | [
{
"answer_id": 106690,
"author": "zigdon",
"author_id": 4913,
"author_profile": "https://Stackoverflow.com/users/4913",
"pm_score": 1,
"selected": false,
"text": "ssh serverX tail -f /path/to/log/file\n"
},
{
"answer_id": 126083,
"author": "dsm",
"author_id": 7780,
"a... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106668",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11142/"
] |
106,684 | <p>What I'm trying to do with MRS is to teach myself some basic AI; what I want to do is to make a rocket entity, with things such as vectored exhaust, and staging. Anyone have an idea on how to make an entity that can fly? Or do I just need to constantly apply a force upwards?</p>
| [
{
"answer_id": 514016,
"author": "AShelly",
"author_id": 10396,
"author_profile": "https://Stackoverflow.com/users/10396",
"pm_score": 2,
"selected": false,
"text": "Simulation.Physics.PhysicsEntity.ApplyForce() Update()"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/106684",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18658/"
] |
106,685 | <p>I use <code>PHPMyAdmi</code>n for convenience in updating a remote database.</p>
<p>But it doesn't show warnings, by default, which recently got me into some embarrassing trouble where I was updating a SET field with string not on its list and not noticing the problem. </p>
<p>I'm using <code>2.11.9.1 (Dreamhost's... | [
{
"answer_id": 9611839,
"author": "Simon East",
"author_id": 195835,
"author_profile": "https://Stackoverflow.com/users/195835",
"pm_score": 1,
"selected": false,
"text": "INSERTs SHOW WARNINGS INSERT INTO test2 SELECT * FROM test1;\nSHOW WARNINGS;\n Level Code Message\nWarning 126... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106685",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/242241/"
] |
106,711 | <p>Here's a simplified version of what I'm trying to do :</p>
<ol>
<li>Before any other actions are performed, present the user with a form to retrieve a string.</li>
<li>Input the string, and then redirect to the default controller action (e.g. index). The string only needs to exist, no other validations are necessa... | [
{
"answer_id": 106757,
"author": "Toby Hede",
"author_id": 14971,
"author_profile": "https://Stackoverflow.com/users/14971",
"pm_score": 3,
"selected": true,
"text": "def get_string\n @string = params[:string] || session[:string] \n respond_to do |format|\n if @string \n forma... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106711",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17046/"
] |
106,712 | <p>I have a VB.NET Windows Forms project that at one point paints text directly to onto the form at runtime. Before I paint with the font though, I want to make sure that the font and font-size exists on the user's machine. If they don't, I'll try a few other similar fonts, eventually defaulting with Arial or something... | [
{
"answer_id": 106724,
"author": "Charlie",
"author_id": 18529,
"author_profile": "https://Stackoverflow.com/users/18529",
"pm_score": 4,
"selected": true,
"text": "\n\nInstalledFontCollection installedFontCollection = new InstalledFontCollection();\n\n// Get the array of FontFamily obje... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106712",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5473/"
] |
106,766 | <p>A common task in programs I've been working on lately is modifying a text file in some way. (Hey, I'm on Linux. Everything's a file. And I do large-scale system admin.)</p>
<p>But the file the code modifies may not exist on my desktop box. And I probably don't want to modify it if it IS on my desktop.</p>
<p>I've ... | [
{
"answer_id": 106780,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 3,
"selected": false,
"text": "PYTHONPATH"
},
{
"answer_id": 111199,
"author": "Glyph",
"author_id": 13564,
"author_profile": "https:/... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106766",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19207/"
] |
106,770 | <p>It has always bothered me that the only way to copy a file in Java involves opening streams, declaring a buffer, reading in one file, looping through it, and writing it out to the other steam. The web is littered with similar, yet still slightly different implementations of this type of solution.</p>
<p>Is there a... | [
{
"answer_id": 115086,
"author": "Josh",
"author_id": 2204759,
"author_profile": "https://Stackoverflow.com/users/2204759",
"pm_score": 8,
"selected": false,
"text": "public static void copyFile(File sourceFile, File destFile) throws IOException {\n if(!destFile.exists()) {\n d... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106770",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17123/"
] |
106,800 | <p>Does anyone know of where to find unit testing guidelines and recommendations? I'd like to have something which addresses the following types of topics (for example):</p>
<ul>
<li>Should tests be in the same project as application logic?</li>
<li>Should I have test classes to mirror my logic classes or should I ha... | [
{
"answer_id": 106813,
"author": "Josh",
"author_id": 11702,
"author_profile": "https://Stackoverflow.com/users/11702",
"pm_score": 5,
"selected": true,
"text": "public class UserBehavior\n public void ShouldBeAbleToSetUserFirstName()\n"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/106800",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19421/"
] |
106,820 | <p>I realize that literally it translates to Java Enterprise Edition. But what I'm asking is what does this really mean? When a company requires Java EE experience, what are they really asking for? Experience with EJBs? Experience with Java web apps? </p>
<p>I suspect that this means something different to different ... | [
{
"answer_id": 231843,
"author": "oxbow_lakes",
"author_id": 16853,
"author_profile": "https://Stackoverflow.com/users/16853",
"pm_score": 5,
"selected": false,
"text": "API"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/106820",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/292/"
] |
106,828 | <p>I need to display a bunch of images on a web page using AJAX. All of them have different dimensions, so I want to adjust their size before displaying them. Is there any way to do this in JavaScript?</p>
<p>Using PHP's <code>getimagesize()</code> for each image causes an unnecessary performance hit since there will ... | [
{
"answer_id": 106843,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "<img>"
},
{
"answer_id": 106844,
"author": "Stephen Wrighton",
"author_id": 7516,
"author_profile": "https... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106828",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
106,854 | <p>Whats a good value for an identity increment for an 'Orders' table? (orders as in shopping cart orders)</p>
<p>I want the order numbers to appear so that we have more orders than we really do, plus make it harder for users to guess order numbers of other users in cases where that might be a problem.</p>
<p>I dont ... | [
{
"answer_id": 106875,
"author": "David Basarab",
"author_id": 2469,
"author_profile": "https://Stackoverflow.com/users/2469",
"pm_score": 0,
"selected": false,
"text": "[ID] [int] IDENTITY(5497,73) NOT NULL,\n"
},
{
"answer_id": 9463851,
"author": "soniiic",
"author_id":... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106854",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16940/"
] |
106,880 | <p>I am trying to use the <code>InternalsVisibleTo</code> assembly attribute to make my internal classes in a .NET class library visible to my unit test project. For some reason, I keep getting an error message that says:</p>
<blockquote>
<p>'MyClassName' is inaccessible due to its protection level</p>
</blockquote... | [
{
"answer_id": 107958,
"author": "Joe",
"author_id": 13087,
"author_profile": "https://Stackoverflow.com/users/13087",
"pm_score": 8,
"selected": true,
"text": "[assembly: InternalsVisibleTo(\"MyFriendAssembly,\nPublicKey=0024000004800000940000000602000000240000525341310004000001000100F7... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106880",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14101/"
] |
106,886 | <p>I have a table that is dynamically created using DIVs. Each row of the table has two images. I want to set the height for the div (that represents a particular row) to the height of image that is greater of the two images being displayed in that particular row. The images to displayed will always change, and they ar... | [
{
"answer_id": 106915,
"author": "MetaGuru",
"author_id": 18309,
"author_profile": "https://Stackoverflow.com/users/18309",
"pm_score": 0,
"selected": false,
"text": "function getSize(imgSrc){\n\n var aImg = new Image();\n\n aImg.src = imgSrc;\n\n aHeight = newImg.height;\n a... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106886",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
106,896 | <p>I'm used to the Java model where you can have one public class per file. Python doesn't have this restriction, and I'm wondering what's the best practice for organizing classes.</p>
| [
{
"answer_id": 107836,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 9,
"selected": true,
"text": "from ssReader import Reader\nfrom theCalcs import ACalc, AnotherCalc\nfrom theDB import Loader\n\ndef main( sourceFileName )... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106896",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14139/"
] |
106,907 | <p>We put all of our unit tests in their own projects. We find that we have to make certain classes public instead of internal just for the unit tests. Is there anyway to avoid having to do this. What are the memory implication by making classes public instead of sealed?</p>
| [
{
"answer_id": 106948,
"author": "Ash",
"author_id": 5023,
"author_profile": "https://Stackoverflow.com/users/5023",
"pm_score": 9,
"selected": true,
"text": "[assembly: InternalsVisibleTo(\"NameAssemblyYouWantToPermitAccess\")]\nnamespace NameOfYourNameSpace\n{\n"
},
{
"answer_i... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106907",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4653/"
] |
106,912 | <p>How do you draw a custom button next to the minimize, maximize and close buttons within the Titlebar of the Form?</p>
<p>I know you need to use Win32 API calls and override the WndProc procedure, but I haven't been able to figure out a solution that works right.</p>
<p>Does anyone know how to do this? More specifi... | [
{
"answer_id": 107437,
"author": "Matthew Scharley",
"author_id": 15537,
"author_profile": "https://Stackoverflow.com/users/15537",
"pm_score": 4,
"selected": true,
"text": "// The state of our little button\nButtonState _buttState = ButtonState.Normal;\nRectangle _buttPosition = new Rec... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106912",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7831/"
] |
106,941 | <p>I'm a pretty new C# and .NET developer. I recently created an MMC snapin using C# and was gratified by how easy it was to do, especially after hearing a lot of horror stories by some other developers in my organisation about how hard it is to do in C++.</p>
<p>I pretty much went through the whole project at some poi... | [
{
"answer_id": 106962,
"author": "Ryan Farley",
"author_id": 1627,
"author_profile": "https://Stackoverflow.com/users/1627",
"pm_score": -1,
"selected": false,
"text": "class Class1\n{\n}\n"
},
{
"answer_id": 106971,
"author": "Jay Bazuzi",
"author_id": 5314,
"author_... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106941",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3146/"
] |
106,963 | <p>I'm building the world's simplest library application. All I want to be able to do is scan in a book's UPC (barcode) using a typical scanner (which just types the numbers of the barcode into a field) and then use it to look up data about the book... at a minimum, title, author, year published, and either the Dewey D... | [
{
"answer_id": 106987,
"author": "Philip Rieck",
"author_id": 12643,
"author_profile": "https://Stackoverflow.com/users/12643",
"pm_score": 3,
"selected": false,
"text": "if (indexisbn.indexOf(\"978\") == 0) {\n isbn = isbn.substr(3,9);\n var xsum = 0;\n var add = 0;\n var i = 0;... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106963",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4/"
] |
106,965 | <p>Is there a way to read a locked file across a network given that you are the machine admin on the remote machine? I haven't been able to read the locked file locally, and attempting it over the network adds another layer of difficulty.</p>
| [
{
"answer_id": 106987,
"author": "Philip Rieck",
"author_id": 12643,
"author_profile": "https://Stackoverflow.com/users/12643",
"pm_score": 3,
"selected": false,
"text": "if (indexisbn.indexOf(\"978\") == 0) {\n isbn = isbn.substr(3,9);\n var xsum = 0;\n var add = 0;\n var i = 0;... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106965",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2712/"
] |
106,979 | <p>I have two threads, one needs to poll a bunch of separate static resources looking for updates. The other one needs to get the data and store it in the database. How can thread 1 tell thread 2 that there is something to process?</p>
| [
{
"answer_id": 106994,
"author": "1800 INFORMATION",
"author_id": 3146,
"author_profile": "https://Stackoverflow.com/users/3146",
"pm_score": 4,
"selected": true,
"text": "QueueUserWorkItem TaskInfo ti = new TaskInfo(\"This report displays the number {0}.\", 42);\n\n // Queue the ... | 2008/09/20 | [
"https://Stackoverflow.com/questions/106979",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14101/"
] |
107,005 | <p>I'm trying to find if there is a reliable way (using <a href="http://en.wikipedia.org/wiki/SQLite" rel="noreferrer">SQLite</a>) to find the ID of the next row to be inserted, <em>before it gets inserted</em>. I need to use the id for another insert statement, but don't have the option of instantly inserting and gett... | [
{
"answer_id": 107115,
"author": "Eevee",
"author_id": 17875,
"author_profile": "https://Stackoverflow.com/users/17875",
"pm_score": 5,
"selected": true,
"text": "BEGIN; COMMIT; ROLLBACK; MAX(id)"
},
{
"answer_id": 409834,
"author": "Einstein",
"author_id": 41898,
"au... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107005",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14278/"
] |
107,054 | <p>I'm trying to implement an outdent of the first letter of the first paragraph of the body text. Where I'm stuck is in getting consistent spacing between the first letter and the rest of the paragraph. </p>
<p>For example, there is a huge difference in spacing between a "W" and an "I"</p>
<p><img src="https://i.sta... | [
{
"answer_id": 107111,
"author": "Matthew Rapati",
"author_id": 15000,
"author_profile": "https://Stackoverflow.com/users/15000",
"pm_score": 0,
"selected": false,
"text": "p.outdent:first-letter {\n font-family: ms mincho;\n font-size: 8em;\n line-height: 1;\n font-weight: n... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107054",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11577/"
] |
107,073 | <p>I am designing a game to be played in the browser.</p>
<p>Game is a space theme and I need to generate a map of the "Galaxy".</p>
<p>The basic idea of the map is here:</p>
<p><a href="http://www.oglehq.com/map.png" rel="nofollow noreferrer">game map http://www.oglehq.com/map.png</a></p>
<p>The map is a grid, wit... | [
{
"answer_id": 107161,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": -1,
"selected": false,
"text": "Bit 0 : Has planet\nBit 1 : Has line from planet going north\nBit 2 : Has line from planet going northwest\n...\nBit 8 : Has ... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107073",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14971/"
] |
107,079 | <p>I know WCF supports many WS-* protocols but WS-Eventing does seem to be listed.</p>
<p>I do know that WCF has a pub/sub model, but is it WS-Eventing compliant?</p>
| [
{
"answer_id": 4185246,
"author": "till",
"author_id": 148337,
"author_profile": "https://Stackoverflow.com/users/148337",
"pm_score": 1,
"selected": false,
"text": " Subscribe s = new Subscribe();\n (s.Delivery = new DeliveryType()).Mode... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107079",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2744/"
] |
107,117 | <p>I noticed that you can call Queue.Synchronize to get a thread-safe queue object, but the same method isn't available on Queue<T>. Does anyone know why? Seems kind of weird.</p>
| [
{
"answer_id": 107182,
"author": "Domenic",
"author_id": 3191,
"author_profile": "https://Stackoverflow.com/users/3191",
"pm_score": 3,
"selected": false,
"text": "Queue<T> ConcurrentQueue<T>"
},
{
"answer_id": 107789,
"author": "Matt Ryan",
"author_id": 19548,
"autho... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107117",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14101/"
] |
107,132 | <p>As a follow up to "<a href="https://stackoverflow.com/questions/105400/what-are-indexes-and-how-can-i-use-them-to-optimize-queries-in-my-database">What are indexes and how can I use them to optimise queries in my database?</a>" where I am attempting to learn about indexes, what columns are good index candidates? Spe... | [
{
"answer_id": 107166,
"author": "Eevee",
"author_id": 17875,
"author_profile": "https://Stackoverflow.com/users/17875",
"pm_score": 2,
"selected": false,
"text": "SELECT ORDER too"
},
{
"answer_id": 107172,
"author": "pappes",
"author_id": 19494,
"author_profile": "h... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107132",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1638/"
] |
107,150 | <p>How do I capture the event of the clicking the Selected Node of a TreeView?
It doesn't fire the <strong>SelectedNodeChanged</strong> since the selection has obviously not changed but then what event can I catch so I know that the Selected Node was clicked?</p>
<p><strong>UPDATE</strong>:
When I have some time, I'm ... | [
{
"answer_id": 107298,
"author": "Wayne",
"author_id": 8236,
"author_profile": "https://Stackoverflow.com/users/8236",
"pm_score": 3,
"selected": false,
"text": "protected void TreeView1_SelectedNodeChanged(object sender, EventArgs e){\n // Do whatever you're doing\n TreeView1.Selected... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107150",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19377/"
] |
107,154 | <p>I've just read up on <code>Thread.IsBackground</code> and if I understand it correctly, when it's set to <code>false</code> the Thread is a foreground thread which means it should stay alive until it has finished working even though the app have been exited out. Now I tested this with a winform app and it works as e... | [
{
"answer_id": 107306,
"author": "Adrian Clark",
"author_id": 148,
"author_profile": "https://Stackoverflow.com/users/148",
"pm_score": 3,
"selected": true,
"text": "Thread.IsBackground"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/107154",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19490/"
] |
107,160 | <p>I recently started work on a personal coding project using C++ and KDevelop. Although I started out by just hacking around, I figure it'll be better in the long run if I set up a proper unit test suite before going too much further. I've created a seperate test-runner executable as a sub project, and the tests I'v... | [
{
"answer_id": 8608452,
"author": "Caruccio",
"author_id": 561948,
"author_profile": "https://Stackoverflow.com/users/561948",
"pm_score": 0,
"selected": false,
"text": "$ cat src/base64.c\n//code to be tested\nint encode64(...) { ... }\n\n#ifdef UNITTEST\n#include <assert.h>\nint main(i... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107160",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19491/"
] |
107,165 | <p>I'm asking more about what this means to my code. I understand the concepts mathematically, I just have a hard time wrapping my head around what they mean conceptually. For example, if one were to perform an O(1) operation on a data structure, I understand that the number of operations it has to perform won't grow... | [
{
"answer_id": 3461832,
"author": "Albin Sunnanbo",
"author_id": 401728,
"author_profile": "https://Stackoverflow.com/users/401728",
"pm_score": 5,
"selected": false,
"text": "C# JavaScript List<int> numbers = new List<int> {1,2,3,4,5,6,7,12,543,7}; return numbers.First();\n int result =... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107165",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2147/"
] |
107,196 | <p>When I do a clean build my C# project, the produced dll is different then the previously built one (which I saved separately). No code changes were made, just clean and rebuild. </p>
<p>Diff shows some bytes in the DLL have changes -- few near the beginning and few near the end, but I can't figure out what these re... | [
{
"answer_id": 107448,
"author": "Alex Lyman",
"author_id": 5897,
"author_profile": "https://Stackoverflow.com/users/5897",
"pm_score": 5,
"selected": true,
"text": "View > MetaInfo > Raw:Header,Schema,Rows // important, otherwise you get very basic info from the next step\n\nView > Meta... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107196",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/838/"
] |
107,243 | <p>I was reading Andrew Kennedy's blog post series on <a href="http://blogs.msdn.com/andrewkennedy/archive/2008/08/29/units-of-measure-in-f-part-one-introducing-units.aspx" rel="noreferrer">units of measurement in F#</a> and it makes a lot of sense in a lot of cases. Are there any other languages that have such a syst... | [
{
"answer_id": 107250,
"author": "Alex M",
"author_id": 9652,
"author_profile": "https://Stackoverflow.com/users/9652",
"pm_score": 2,
"selected": false,
"text": "RPL 40_gal 5_l +"
},
{
"answer_id": 107287,
"author": "Eevee",
"author_id": 17875,
"author_profile": "htt... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107243",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4977/"
] |
107,292 | <p>We are starting a new SOA project with a lot of shared .net assemblies. The code for these assemblies will be stored in SVN.</p>
<p>In development phase, we would like to be able to code these assemblies as an entire solution with as little SVN 'friction' as possible. </p>
<p>When the project enters more of a ma... | [
{
"answer_id": 107525,
"author": "Craig Trader",
"author_id": 12895,
"author_profile": "https://Stackoverflow.com/users/12895",
"pm_score": 4,
"selected": true,
"text": "/svn/tools/\n vendor1/\n too11/\n 1.0/\n 1.1/\n latest = a copy of vendor1/tool1/1.1\n too... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107292",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6354/"
] |
107,294 | <p>I understand the overall meaning of pointers and references(or at least I think i do), I also understand that when I use <b>new</b> I am dynamically allocating memory.</p>
<p>My question is the following:</p>
<p>If i were to use <code>cout << &p</code>, it would display the "virtual memory location" of <... | [
{
"answer_id": 107301,
"author": "KTC",
"author_id": 12868,
"author_profile": "https://Stackoverflow.com/users/12868",
"pm_score": 4,
"selected": true,
"text": "int *p = new int[3];\np[0] = 13;\np[1] = 54;\np[2] = 42;\n\ncout << *p << ' ' << *(p+1) << ' ' << *(p+2);\n"
},
{
"answ... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107294",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17162/"
] |
107,314 | <p>We've been using selenium with great success to handle high-level website testing (in addition to extensive python doctests at a module level). However now we're using extjs for a lot of pages and its proving difficult to incorporate Selenium tests for the complex components like grids. </p>
<p>Has anyone had succ... | [
{
"answer_id": 185372,
"author": "Marko Dumic",
"author_id": 5817,
"author_profile": "https://Stackoverflow.com/users/5817",
"pm_score": 2,
"selected": false,
"text": "/**\n * Javascript needed to execute in order to select row in the grid\n * \n * @param gridId Grid id\n * @param rowInd... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107314",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19506/"
] |
107,390 | <p>They both seem to be sending data to the server inside the body, so what makes them different?</p>
| [
{
"answer_id": 107415,
"author": "Jonathan Arkell",
"author_id": 11052,
"author_profile": "https://Stackoverflow.com/users/11052",
"pm_score": 8,
"selected": false,
"text": "PUT POST"
},
{
"answer_id": 107450,
"author": "Brian R. Bondy",
"author_id": 3153,
"author_pro... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107390",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10708/"
] |
107,404 | <p>What are the down sides of using a composite/compound primary key?</p>
| [
{
"answer_id": 877556,
"author": "onedaywhen",
"author_id": 15354,
"author_profile": "https://Stackoverflow.com/users/15354",
"pm_score": 1,
"selected": false,
"text": "PRIMARY KEY PRIMARY KEY PRIMARY KEY PRIMARY KEY PRIMARY KEY PRIMARY KEY PRIMARY KEY"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/107404",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6354/"
] |
107,405 | <p>What I'm trying to do here is get the headers of a given URL so I can determine the MIME type. I want to be able to see if <code>http://somedomain/foo/</code> will return an HTML document or a JPEG image for example. Thus, I need to figure out how to send a HEAD request so that I can read the MIME type without havin... | [
{
"answer_id": 107427,
"author": "Eevee",
"author_id": 17875,
"author_profile": "https://Stackoverflow.com/users/17875",
"pm_score": 8,
"selected": true,
"text": ">>> import httplib\n>>> conn = httplib.HTTPConnection(\"www.google.com\")\n>>> conn.request(\"HEAD\", \"/index.html\")\n>>> r... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107405",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10708/"
] |
107,413 | <p>I have a 3d object that I wish to be able to rotate around in 3d. The easiest way is to directly translate X and Y mouse motion to rotation about the Y and X axes, but if there is some rotation along both axes, the way the model rotates becomes highly counterintuitive (i.e. if you flip the object 180 degrees about ... | [
{
"answer_id": 107510,
"author": "Lloyd",
"author_id": 9952,
"author_profile": "https://Stackoverflow.com/users/9952",
"pm_score": 3,
"selected": false,
"text": "q.x = sin(0.5*angle) * axis.x;\nq.y = sin(0.5*angle) * axis.y;\nq.z = sin(0.5*angle) * axis.z;\nq.w = cos(0.5*angle);\n"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/107413",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
107,414 | <p>As a base SAS programmer, you know the drill:</p>
<p>You submit your SAS code, which contains an unbalanced quote, so now you've got not only and unclosed quote, but also unclosed comments, macro function definitions, and a missing run; or quit; statement.</p>
<p>What's your best trick for not having those unbalan... | [
{
"answer_id": 107443,
"author": "Martin Bøgelund",
"author_id": 18968,
"author_profile": "https://Stackoverflow.com/users/18968",
"pm_score": 3,
"selected": false,
"text": "*); */; /*’*/ /*”*/; %mend;\n"
},
{
"answer_id": 536803,
"author": "AFHood",
"author_id": 65050,
... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107414",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18968/"
] |
107,456 | <p>So I'm looking at writing an iPhone application that shows things on a map. What frameworks/methodologies are out there for doing this?</p>
<p>Searching around on Google, I could only find this one:
<a href="http://code.google.com/p/iphone-google-maps-component/" rel="nofollow noreferrer">http://code.google.com/p/i... | [
{
"answer_id": 3759873,
"author": "sanjay",
"author_id": 451368,
"author_profile": "https://Stackoverflow.com/users/451368",
"pm_score": 0,
"selected": false,
"text": "[[uiapplication sharedapplication]openurl:@\"www.maps.google.com];"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/107456",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6044/"
] |
107,464 | <p>There have been some questions about whether or not JavaScript is an object-oriented language. Even a statement, "just because a language has objects doesn't make it OO."</p>
<p>Is JavaScript an object-oriented language?</p>
| [
{
"answer_id": 108773,
"author": "AnthonyWJones",
"author_id": 17516,
"author_profile": "https://Stackoverflow.com/users/17516",
"pm_score": 7,
"selected": true,
"text": "function MyClass() {\n var _value = 1;\n this.getValue = function() { return _value; }\n}\n function MyClass() ... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107464",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1538/"
] |
107,531 | <p>I would like to create an XML-based website. I want to use XML files as datasources since it is a kind of online directory site. Can someone please give me a starting point? Are there any good online resources that I can refer to? I am pretty comfortable with ASP and JavaScript.</p>
| [
{
"answer_id": 108920,
"author": "Svante Svenson",
"author_id": 19707,
"author_profile": "https://Stackoverflow.com/users/19707",
"pm_score": 0,
"selected": false,
"text": "<data>\n <item visible=\"no\">\n <title>Invisible item 1</title>\n </item>\n <item visible=\"yes\">\n <tit... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107531",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19536/"
] |
107,546 | <p>I need to implement auto-capitalization inside of a Telerik RadEditor control on an ASPX page as a user types.</p>
<p>This can be an IE specific solution (IE6+).</p>
<p>I currently capture every keystroke (down/up) as the user types to support a separate feature called "macros" that are essentially short keywords ... | [
{
"answer_id": 107662,
"author": "Andrew Hedges",
"author_id": 11577,
"author_profile": "https://Stackoverflow.com/users/11577",
"pm_score": 3,
"selected": true,
"text": "function toTitleCase(str) {\n return str.replace(/([\\w&`'‘’\"“.@:\\/\\{\\(\\[<>_]+-? *)/g, function(match, ... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107546",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2742/"
] |
107,549 | <p>When we compile a dll using __stdcall inside visual studio 2008 the compiled function names inside the dll are.</p>
<p>FunctionName</p>
<p>Though when we compile the same dll using GCC using wx-dev-cpp GCC appends the number of paramers the function has, so the name of the function using Dependency walker looks li... | [
{
"answer_id": 107564,
"author": "Roger Lipscombe",
"author_id": 8446,
"author_profile": "https://Stackoverflow.com/users/8446",
"pm_score": 4,
"selected": true,
"text": "void __stdcall Foo(int a, int b);\n"
},
{
"answer_id": 254789,
"author": "CesarB",
"author_id": 28258... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107549",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17382/"
] |
107,562 | <p>I'm trying to install faac and am running into errors. Here are the errors I get when trying to build it:</p>
<hr>
<pre><code>[root@test faac]# ./bootstrap
configure.in:11: warning: underquoted definition of MY_DEFINE
run info '(automake)Extending aclocal'
or see http://sources.redhat.com/automake/automake.ht... | [
{
"answer_id": 107592,
"author": "Douglas Leeder",
"author_id": 3978,
"author_profile": "https://Stackoverflow.com/users/3978",
"pm_score": 2,
"selected": false,
"text": "$ ./bootstrap \nconfigure.in:11: warning: underquoted definition of MY_DEFINE\nconfigure.in:11: run info '(automake... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107562",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
107,566 | <p>My last couple of projects have involved websites that sell a product/service and require a 'checkout' process in which users put in their credit card information and such. Obviously we got SSL certificates for the security of it plus giving peace of mind to the customers. I am, however, a little clueless as to the ... | [
{
"answer_id": 7468106,
"author": "Blans",
"author_id": 952203,
"author_profile": "https://Stackoverflow.com/users/952203",
"pm_score": 0,
"selected": false,
"text": "https"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/107566",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16417/"
] |
107,598 | <p>Given an arbitrary sequence of points in space, how would you produce a smooth continuous interpolation between them?</p>
<p>2D and 3D solutions are welcome. Solutions that produce a list of points at arbitrary granularity and solutions that produce control points for bezier curves are also appreciated.</p>
<p>Al... | [
{
"answer_id": 107664,
"author": "freespace",
"author_id": 8297,
"author_profile": "https://Stackoverflow.com/users/8297",
"pm_score": 2,
"selected": false,
"text": "p(x) a_n x^n + a_(n-1) x^(n-1) + ...+ a_0 _ ^ p(x_1) = y_1\np(x_2) = y_2\n...\np(x_n) = y_n\n a_0 ... a_n"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/107598",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2653/"
] |
107,603 | <p>I am constantly learning new tools, even old fashioned ones, because I like to use the right solution for the problem.</p>
<p>Nevertheless, I wonder if there is still any reason to learn some of them. <code>awk</code> for example is interesting to me, but for simple text processing, I can use <code>grep</code>, <co... | [
{
"answer_id": 107618,
"author": "Greg Hewgill",
"author_id": 893,
"author_profile": "https://Stackoverflow.com/users/893",
"pm_score": 5,
"selected": false,
"text": "awk awk '{print $3}' < file.in\n file.in tr -s ' ' < file.in | cut -d' ' -f3\n"
},
{
"answer_id": 107619,
"au... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107603",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9951/"
] |
107,611 | <p>I need to load some fonts temporarily in my program. Preferably from a dll resource file.</p>
| [
{
"answer_id": 107702,
"author": "Brian Matthews",
"author_id": 1969,
"author_profile": "https://Stackoverflow.com/users/1969",
"pm_score": 2,
"selected": false,
"text": "\n34 FONT \"myfont.ttf\"\n"
},
{
"answer_id": 110705,
"author": "Francesca",
"author_id": 9842,
"... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107611",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13219/"
] |
107,660 | <p>What is the best (regarding performance) way to compute the critical path of a directional acyclic graph when the nodes of the graph have weight?</p>
<p>For example, if I have the following structure:</p>
<pre><code> Node A (weight 3)
/ \
Node B (weight 4) Node D (wei... | [
{
"answer_id": 37254469,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "a > b -a < -b"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/107660",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19331/"
] |
107,668 | <p>If you have a situation where a TCP connection is potentially too slow and a UDP 'connection' is potentially too unreliable what do you use? There are various standard reliable UDP protocols out there, what experiences do you have with them?</p>
<p>Please discuss one protocol per reply and if someone else has alrea... | [
{
"answer_id": 108451,
"author": "smo",
"author_id": 16080,
"author_profile": "https://Stackoverflow.com/users/16080",
"pm_score": 3,
"selected": false,
"text": "int opt = -1;\nif (setsockopt(sock_fd, IPPROTO_TCP, TCP_NODELAY, (char *)&opt, sizeof(opt)))\n printf(\"Error disabling Nagle... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107668",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7925/"
] |
107,674 | <p>I'd like to build a real quick and dirty administrative backend for a Ruby on Rails application I have been attached to at the last minute. I've looked at activescaffold and streamlined and think they are both very attractive and they should be simple to get running, but I don't quite understand how to set up either... | [
{
"answer_id": 107715,
"author": "Toby Hede",
"author_id": 14971,
"author_profile": "https://Stackoverflow.com/users/14971",
"pm_score": 3,
"selected": false,
"text": "class CustomersController < ApplicationController\n layout 'streamlined'\n acts_as_streamlined \n\n Streamlined... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107674",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6805/"
] |
107,675 | <p>I'd like to unit test responses from the Google App Engine webapp.WSGIApplication, for example request the url '/' and test that the responses status code is 200, using <a href="http://code.google.com/p/gaeunit" rel="noreferrer">GAEUnit</a>. How can I do this? </p>
<p>I'd like to use the webapp framework and GAEUni... | [
{
"answer_id": 107753,
"author": "David Coffin",
"author_id": 13049,
"author_profile": "https://Stackoverflow.com/users/13049",
"pm_score": 2,
"selected": false,
"text": "import webbrowser\n"
},
{
"answer_id": 114449,
"author": "Steve",
"author_id": 7424,
"author_prof... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107675",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13049/"
] |
107,683 | <p>Question in the title.</p>
<p>And what happens when all 3 of <code>$_GET[foo]</code>, <code>$_POST[foo]</code> and <code>$_COOKIE[foo] exist?</code> Which one of them gets included to <code>$_REQUEST?</code></p>
| [
{
"answer_id": 107727,
"author": "e-satis",
"author_id": 9951,
"author_profile": "https://Stackoverflow.com/users/9951",
"pm_score": 3,
"selected": false,
"text": "$_REQUEST $_REQUEST"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/107683",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1897/"
] |
107,693 | <p>I'm having trouble with global variables in php. I have a <code>$screen</code> var set in one file, which requires another file that calls an <code>initSession()</code> defined in yet another file. The <code>initSession()</code> declares <code>global $screen</code> and then processes $screen further down using the v... | [
{
"answer_id": 107759,
"author": "e-satis",
"author_id": 9951,
"author_profile": "https://Stackoverflow.com/users/9951",
"pm_score": 7,
"selected": true,
"text": "Global Global <?php\n\n$var = \"test\"; // this is accessible in all the rest of the code, even an included one\n\nfunction f... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107693",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10583/"
] |
107,701 | <p>How can I remove those annoying Mac OS X <code>.DS_Store</code> files from a Git repository?</p>
| [
{
"answer_id": 107703,
"author": "John Topley",
"author_id": 1450,
"author_profile": "https://Stackoverflow.com/users/1450",
"pm_score": 3,
"selected": false,
"text": "find . -name \"*.DS_Store\" -type f -exec git-rm {} \\;\n .DS_Store ._.DS_Store"
},
{
"answer_id": 107711,
"... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107701",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1450/"
] |
107,705 | <p>Is output buffering enabled by default in Python's interpreter for <code>sys.stdout</code>?</p>
<p>If the answer is positive, what are all the ways to disable it?</p>
<p>Suggestions so far:</p>
<ol>
<li>Use the <code>-u</code> command line switch</li>
<li>Wrap <code>sys.stdout</code> in an object that flushes aft... | [
{
"answer_id": 107717,
"author": "Seb",
"author_id": 189,
"author_profile": "https://Stackoverflow.com/users/189",
"pm_score": 10,
"selected": true,
"text": "python -u class Unbuffered(object):\n def __init__(self, stream):\n self.stream = stream\n def write(self, data):\n ... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107705",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8206/"
] |
107,735 | <p>After hitting a few StackOverflowExceptions in .NET I noticed they completely bypass the unhandled exception handlers that .NET offers (Application.ThreadException / AppDomain.UnhandledException).
This is very disturbing since we have critical cleanup code in those exception handlers.</p>
<p>Is there any way to ove... | [
{
"answer_id": 2952513,
"author": "NBB",
"author_id": 355782,
"author_profile": "https://Stackoverflow.com/users/355782",
"pm_score": 0,
"selected": false,
"text": "private Thing _myThing = null;\n\nPublic Thing MyThing\n{\n get{\n return this.MyThing;}\n set{\n this.My... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107735",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18910/"
] |
107,755 | <p><strong>What libraries are there to write C# internationalized applications?</strong></p>
<p>Typical functionalities that should be contained in the library:</p>
<ul>
<li>Validation of country specific data (e.g. VAT numbers, phone numbers, addresses,...)</li>
<li>Validation of bank and financial coordinates (e.g.... | [
{
"answer_id": 145744,
"author": "Carra",
"author_id": 21679,
"author_profile": "https://Stackoverflow.com/users/21679",
"pm_score": 1,
"selected": false,
"text": " culture = new CultureInfo(locale);\n int number = Convert.ToInt32(myString, culture.NumberFormat);\n string str= Conv... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107755",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7028/"
] |
107,772 | <p>From my understanding the XMPP protocol is based on an always-on connection where you have no, immediate, indication of when an XML message ends.</p>
<p>This means you have to evaluate the stream as it comes. This also means that, probably, you have to deal with asynchronous connections since the socket can block ... | [
{
"answer_id": 110215,
"author": "Joe Hildebrand",
"author_id": 8388,
"author_profile": "https://Stackoverflow.com/users/8388",
"pm_score": 2,
"selected": true,
"text": "stanza = null\nwhile parser has more:\n switch on token type:\n START_TAG:\n elem = create element from pa... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107772",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8167/"
] |
107,794 | <p>Are there any import and export tools that would let us move projects into and out of team system <strong>with full history and log</strong>? Our current SCM is SVN.</p>
<p>PS - Sorry, I know it's a repost, but I didn't get an answer before... :)</p>
| [
{
"answer_id": 608896,
"author": "Matthew Savage",
"author_id": 18434,
"author_profile": "https://Stackoverflow.com/users/18434",
"pm_score": 3,
"selected": false,
"text": "svn co <url> Proj_SVN svn co http:// localhost:8080/<tfs_server>/<project_repo_path> Proj_TFS svn2svn /s:c:\\temp\\... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107794",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7028/"
] |
107,823 | <p>(Jeopardy-style question, I wish the answer had been online when I had this issue)</p>
<p>Using Java 1.4, I have a method that I want to run as a thread some of the time, but not at others. So I declared it as a subclass of Thread, then either called start() or run() depending on what I needed.</p>
<p>But I found ... | [
{
"answer_id": 107832,
"author": "slim",
"author_id": 7512,
"author_profile": "https://Stackoverflow.com/users/7512",
"pm_score": 7,
"selected": true,
"text": "Thread start() Thread run() Runnable Thread myRunnable.run();\n Thread myThread = new Thread(myRunnable);\nmyThread.start();\n"
... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107823",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7512/"
] |
107,828 | <p>I don't want <code>PHP</code> errors to display /html, but I want them to display in <code>/html/beta/usercomponent</code>. Everything is set up so that errors do not display at all. How can I get errors to just show up in that one folder (and its subfolders)?</p>
| [
{
"answer_id": 107843,
"author": "Kent Fredric",
"author_id": 15614,
"author_profile": "https://Stackoverflow.com/users/15614",
"pm_score": 6,
"selected": true,
"text": ".htaccess php_value error_reporting 2147483647\n php -r 'echo E_ALL | E_STRICT ;'\n AllowOverride All\n error_reportin... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107828",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
107,840 | <p>I'm wondering how do you deal with displaying release revision number when pushing live new versions of your app?</p>
<p>You can use <code>$Rev$</code> in a file to get latest revision, but only after you update the file.</p>
<p>What if I want to update a string in one file every time I change any file in the repo... | [
{
"answer_id": 107853,
"author": "Eevee",
"author_id": 17875,
"author_profile": "https://Stackoverflow.com/users/17875",
"pm_score": 1,
"selected": false,
"text": "svnversion"
},
{
"answer_id": 107869,
"author": "benzado",
"author_id": 10947,
"author_profile": "https:... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107840",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19217/"
] |
107,846 | <p>I've encrypted the connectionstring in my web.config file using the steps in the link below:
<a href="http://www.codeproject.com/KB/database/WebFarmConnStringsNet20.aspx" rel="nofollow noreferrer">http://www.codeproject.com/KB/database/WebFarmConnStringsNet20.aspx</a></p>
<p>However, whenever I call my application,... | [
{
"answer_id": 107889,
"author": "Per Hornshøj-Schierbeck",
"author_id": 11619,
"author_profile": "https://Stackoverflow.com/users/11619",
"pm_score": 0,
"selected": false,
"text": "<configProtectedData>\n"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/107846",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19582/"
] |
107,872 | <p>I have <a href="http://laconi.ca/trac/" rel="nofollow noreferrer">Laconica</a> (self hosted <a href="http://twitter.com/home" rel="nofollow noreferrer">twitter</a>) configured on my local intranet and would like to integrate the public stream into SharePoint site with a web part. How can I do this?</p>
| [
{
"answer_id": 107874,
"author": "Eric Schoonover",
"author_id": 3957,
"author_profile": "https://Stackoverflow.com/users/3957",
"pm_score": 4,
"selected": true,
"text": "<xsl:stylesheet xmlns:x=\"http://www.w3.org/2001/XMLSchema\" version=\"1.0\" exclude-result-prefixes=\"xsl ddwrt msxs... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107872",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3957/"
] |
107,884 | <p>I'm trying to identify differences between a base case and supplied case. Looking for a library to tell me similarity in percentage or something like that.</p>
<p>For Example:</p>
<p>I've 10 different HTML pages.
* All of them are 404 responses with only one 2 lines of random code (such as time or quote of the da... | [
{
"answer_id": 17126186,
"author": "Matt Mullens",
"author_id": 2000867,
"author_profile": "https://Stackoverflow.com/users/2000867",
"pm_score": 0,
"selected": false,
"text": "// This could probably be optimized significantly, but is a real-world\n// example of how to use tree edit dist... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107884",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
107,888 | <p>On Linux/GCC I can use the -rpath flag to change an executables search path for shared libraries without tempering with environment variables.</p>
<p>Can this also be accomplished on Windows? As far as I know, dlls are always searched in the executable's directory and in PATH. </p>
<p>My scenario: I would like t... | [
{
"answer_id": 107899,
"author": "ChrisN",
"author_id": 3853,
"author_profile": "https://Stackoverflow.com/users/3853",
"pm_score": 3,
"selected": false,
"text": "LoadLibrary"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/107888",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
107,903 | <p>On Mac OS X, you can create a zip archive from the Finder by selecting some files and selecting "Compress" from the contextual menu or the File menu. Unfortunately, the resulting file is not identical to the archive created by the <code>zip</code> command (with the default options).</p>
<p>This distinction matters... | [
{
"answer_id": 107938,
"author": "millenomi",
"author_id": 6061,
"author_profile": "https://Stackoverflow.com/users/6061",
"pm_score": 5,
"selected": true,
"text": "ditto -ck --rsrc --sequesterRsrc folder file.zip\n"
},
{
"answer_id": 2473201,
"author": "Jared Egan",
"aut... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107903",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10947/"
] |
107,936 | <p>Is there a way to add some custom font on a website without using images, <a href="http://en.wikipedia.org/wiki/Adobe_Flash" rel="noreferrer">Flash</a> or some other graphics?</p>
<p>For example, I was working on a wedding website, and I found a lot of nice fonts for that subject. But I can't find the right way to ... | [
{
"answer_id": 107951,
"author": "hangy",
"author_id": 11963,
"author_profile": "https://Stackoverflow.com/users/11963",
"pm_score": 10,
"selected": true,
"text": "<style type=\"text/css\">\n@font-face {\n font-family: \"My Custom Font\";\n src: url(http://www.example.org/mycustomf... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107936",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16039/"
] |
107,964 | <p>I am using YUI reset/base, after the reset it sets the <code>ul</code> and <code>li</code> tags to list-style: disc outside;</p>
<p>My markup looks like this:</p>
<pre><code><div id="nav">
<ul class="links">
<li><a href="">Testing</a></li>
</ul>
</di... | [
{
"answer_id": 107965,
"author": "Matt",
"author_id": 17759,
"author_profile": "https://Stackoverflow.com/users/17759",
"pm_score": 1,
"selected": false,
"text": "#nav ul.links\n"
},
{
"answer_id": 107983,
"author": "Josti",
"author_id": 11231,
"author_profile": "http... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107964",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1368/"
] |
107,971 | <p>I'm using the following JavaScript code:</p>
<pre><code><script language="JavaScript1.2" type="text/javascript">
function CreateBookmarkLink(title, url) {
if (window.sidebar) {
window.sidebar.addPanel(title, url,"");
} else if( window.external ) {
window.external.AddFavorite( url, tit... | [
{
"answer_id": 107985,
"author": "Per Hornshøj-Schierbeck",
"author_id": 11619,
"author_profile": "https://Stackoverflow.com/users/11619",
"pm_score": 0,
"selected": false,
"text": "if (window.sidebar) \n"
},
{
"answer_id": 107993,
"author": "iBobo",
"author_id": 10567,
... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107971",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18922/"
] |
107,972 | <p>Is it possible under any set of circumstances to be able to accomplish this?</p>
<p>My current circumstances are this:</p>
<pre><code>public class CustomForm : Form
{
public class CustomGUIElement
{
...
public event MouseEventHandler Click;
// etc, and so forth.
...
}
priva... | [
{
"answer_id": 107979,
"author": "Phil Wright",
"author_id": 6276,
"author_profile": "https://Stackoverflow.com/users/6276",
"pm_score": 6,
"selected": true,
"text": "public class CustomGUIElement \n{\n public void PerformClick()\n {\n OnClick(EventArgs.Empty);\n }\n\n... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107972",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15537/"
] |
107,984 | <p>In toad, I can see unicode characters that are coming from oracle db. But when I click one of the fields in the data grid into the edit mode, the unicode characters are converted to meaningless symbols, but this is not the big issue.</p>
<p>While editing this field, the unicode characters are displayed correctly as... | [
{
"answer_id": 107979,
"author": "Phil Wright",
"author_id": 6276,
"author_profile": "https://Stackoverflow.com/users/6276",
"pm_score": 6,
"selected": true,
"text": "public class CustomGUIElement \n{\n public void PerformClick()\n {\n OnClick(EventArgs.Empty);\n }\n\n... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107984",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31505/"
] |
107,995 | <p>The <code>unzip</code> command doesn't have an option for recursively unzipping archives.</p>
<p>If I have the following directory structure and archives:</p>
<pre>
/Mother/Loving.zip
/Scurvy/Sea Dogs.zip
/Scurvy/Cures/Limes.zip
</pre>
<p>And I want to unzip all of the archives into directories with the same name... | [
{
"answer_id": 107999,
"author": "chuckrector",
"author_id": 10645,
"author_profile": "https://Stackoverflow.com/users/10645",
"pm_score": 5,
"selected": false,
"text": "find . -name \"*.zip\" | while read filename; do unzip -o -d \"`basename -s .zip \"$filename\"`\" \"$filename\"; done;... | 2008/09/20 | [
"https://Stackoverflow.com/questions/107995",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10645/"
] |
108,005 | <p>first question here. I'm developing a program in C# (.NET 3.5) that displays files in a listview. I'd like to have the "large icon" view display the icon that Windows Explorer uses for that filetype, otherwise I'll have to use some existing code like this:</p>
<pre><code> private int getFileTypeIconIndex(str... | [
{
"answer_id": 108056,
"author": "eric",
"author_id": 5798,
"author_profile": "https://Stackoverflow.com/users/5798",
"pm_score": 3,
"selected": false,
"text": "private System.Windows.Forms.ListView FileView;\n\nprivate ImageList _SmallImageList = new ImageList();\nprivate ImageList _Lar... | 2008/09/20 | [
"https://Stackoverflow.com/questions/108005",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14333/"
] |
108,009 | <p>I'm writing a C parser using PLY, and recently ran into a problem.
This code:</p>
<pre><code>typedef int my_type;
my_type x;
</code></pre>
<p>Is correct C code, because my_type is defined as a type previously to
being used as such. I handle it by filling a type symbol table in the
parser that gets used by the lexe... | [
{
"answer_id": 108482,
"author": "Eli Bendersky",
"author_id": 8206,
"author_profile": "https://Stackoverflow.com/users/8206",
"pm_score": 3,
"selected": true,
"text": "declaration def p_decl_body(self, p):\n \"\"\" decl_body : declaration_specifiers init_declarator_list_opt\n \"\"... | 2008/09/20 | [
"https://Stackoverflow.com/questions/108009",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8206/"
] |
108,010 | <p>Greetings.</p>
<p>I'm looking for a way to parse a number of XML files in a particular directory with ASP.NET (C#). I'd like to be able to return content from particular elements, but before that, need to find those that have a certain value between an element.</p>
<p>Example XML file 1:</p>
<pre><code><file&g... | [
{
"answer_id": 108044,
"author": "chakrit",
"author_id": 3055,
"author_profile": "https://Stackoverflow.com/users/3055",
"pm_score": 2,
"selected": false,
"text": "var xc = new XMLContentEnumerator(@\"C:\\dir\");\n\nvar filesWithHello = xc.Where(x => x.title.Contains(\"hello\"));\n"
},... | 2008/09/20 | [
"https://Stackoverflow.com/questions/108010",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11912/"
] |
108,043 | <p>When I create a socket using accept() and make a FILE out of it using fdopen(), what do I have to do to clean everything up? Do I need to do fclose() on the FILE, shutdown() and close() on the socket, or only the shutdown() and or close() or fclose()? If I don't do fclose(), do I have to free() the FILE pointer manu... | [
{
"answer_id": 108049,
"author": "freespace",
"author_id": 8297,
"author_profile": "https://Stackoverflow.com/users/8297",
"pm_score": -1,
"selected": false,
"text": "FILE fclose() FILE close() shutdown() fdclose() close() fdclose()"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/108043",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12523/"
] |
108,081 | <p>Are there any good, cross platform (SBCL and CLISP at the very least) easy to install GUI libraries?</p>
| [
{
"answer_id": 108142,
"author": "Matthias Benkard",
"author_id": 15517,
"author_profile": "https://Stackoverflow.com/users/15517",
"pm_score": 6,
"selected": true,
"text": "(require :asdf-install)\n(asdf-install:install :ltk)\n"
}
] | 2008/09/20 | [
"https://Stackoverflow.com/questions/108081",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7780/"
] |
108,094 | <p>Is there anyway to disable the rather annoying feature that Visual Studio (2008 in my case) has of copying the line (with text on it) the cursor is on when <kbd>CTRL</kbd>-<kbd>C</kbd> is pressed and no selection is made?</p>
<p>I know of the option to disable copying blank lines. But this is driving me crazy as we... | [
{
"answer_id": 2509622,
"author": "David Walthall",
"author_id": 301019,
"author_profile": "https://Stackoverflow.com/users/301019",
"pm_score": 5,
"selected": true,
"text": "Sub CopyOnlyIfSelection()\n Dim s As String = DTE.ActiveDocument.Selection.Text\n Dim n As Integer = Len(s)... | 2008/09/20 | [
"https://Stackoverflow.com/questions/108094",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4192/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.