qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
302,421
<p>I've done quite a bit of searching on this and haven't had much luck finding something cohesive. I'm a relatively new developer and have just started in my first professional development position. I know that I have a great deal to learn even in the realm of the basics. Based on listening to PodCasts, reading blo...
[ { "answer_id": 302505, "author": "Lasse V. Karlsen", "author_id": 267, "author_profile": "https://Stackoverflow.com/users/267", "pm_score": 2, "selected": false, "text": "public MSSQLDataAccessLayer(ILogger logger) { ... }\n ServiceContainer.Global.RegisterFactory<ILogger, FileLogger>()\...
2008/11/19
[ "https://Stackoverflow.com/questions/302421", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26516/" ]
302,423
<p>Whenever I write a stored procedure for selecting data based on string variable (varchar, nvarchar, char) I would have something like:</p> <pre><code>procedure dbo.p_get_user_by_username( @username nvarchar(256) as begin select u.username ,u.email --,etc from sampleU...
[ { "answer_id": 302441, "author": "bruno conde", "author_id": 31136, "author_profile": "https://Stackoverflow.com/users/31136", "pm_score": 2, "selected": false, "text": "u.username" }, { "answer_id": 304048, "author": "Sam Saffron", "author_id": 17174, "author_profile...
2008/11/19
[ "https://Stackoverflow.com/questions/302423", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3241/" ]
302,435
<p>I'm trying to programmatically set the constructor sting of a COM+ component from a C# application. I found the following sample code online, but it throws an exception:</p> <pre><code> COMAdminCatalogCollection Components; COMAdminCatalogClass Catalog = new COMAdminCatalogClass(); string st...
[ { "answer_id": 302824, "author": "Brian Sullivan", "author_id": 767, "author_profile": "https://Stackoverflow.com/users/767", "pm_score": 3, "selected": true, "text": " Dim Components As COMAdminCatalogCollection\n Dim Catalog As New COMAdminCatalogClass()\n Dim ApplicationName ...
2008/11/19
[ "https://Stackoverflow.com/questions/302435", "https://Stackoverflow.com", "https://Stackoverflow.com/users/767/" ]
302,452
<p>What's the most efficient way to calculate the last day of the prior quarter?</p> <p>Example: given the date 11/19/2008, I want to return 9/30/2008.</p> <p>Platform is SQL Server </p>
[ { "answer_id": 302525, "author": "Bob Probst", "author_id": 12424, "author_profile": "https://Stackoverflow.com/users/12424", "pm_score": 2, "selected": false, "text": "select dateadd(dd,-1,dateadd(qq,datediff(qq,0,'11/19/2008'),0)),\n dateadd(dd,-1,dateadd(qq,datediff(qq,0,'10/19/...
2008/11/19
[ "https://Stackoverflow.com/questions/302452", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12424/" ]
302,459
<p>I see the phrase "programming idiom" thrown around as if it is commonly understood. Yet, in search results and stackoverflow I see everything...</p> <p>From micro:</p> <ul> <li>Incrementing a variable</li> <li>Representing an infinite loop</li> <li>Swapping variable values</li> </ul> <p>To medium:</p> <ul> <li><...
[ { "answer_id": 302494, "author": "James Curran", "author_id": 12725, "author_profile": "https://Stackoverflow.com/users/12725", "pm_score": 5, "selected": false, "text": " if(c=GetValue())\n {...}\n c = GetValue();\n if (c != 0)\n {....}\n" }, { "answer_id": 302561, "author"...
2008/11/19
[ "https://Stackoverflow.com/questions/302459", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7625/" ]
302,460
<p>I am looking in the Collections framework of Java for a LIFO Structure (Stack) without any success. Basically I want a really simple stack; my perfect option would be a Deque, but I am in Java 1.5.</p> <p>I would like not to have to add another class to my structure but I am wondering if that is possible:</p> <ol>...
[ { "answer_id": 302474, "author": "Eli Courtwright", "author_id": 1694, "author_profile": "https://Stackoverflow.com/users/1694", "pm_score": 7, "selected": true, "text": "addFirst addLast removeFirst removeLast" }, { "answer_id": 28787686, "author": "Brett Ryan", "author_...
2008/11/19
[ "https://Stackoverflow.com/questions/302460", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24097/" ]
302,476
<p>C#, .NET 3.5</p> <p>I am trying to get all of the properties of an object that have BOTH a getter and a setter for the instance. The code I <em>thought</em> should work is </p> <pre><code>PropertyInfo[] infos = source.GetType().GetProperties(BindingFlags.Instance | BindingFlags.Public | BindingFlags.SetProperty |...
[ { "answer_id": 302492, "author": "Jon Skeet", "author_id": 22656, "author_profile": "https://Stackoverflow.com/users/22656", "pm_score": 7, "selected": true, "text": "GetGetMethod GetSetMethod" }, { "answer_id": 302595, "author": "Community", "author_id": -1, "author_...
2008/11/19
[ "https://Stackoverflow.com/questions/302476", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17803/" ]
302,482
<p>I need to display a string which has a white space on a asp.net page.</p> <p>****Here is what I am doing:****</p> <pre><code>cell = New TableCell cell.Text = value (lets assume value is &lt;" test with whitespace "&gt; row.Cells.Add(cell) </code></pre> <p><strong>and it gets rendered as</strong> </p> <pre...
[ { "answer_id": 302519, "author": "PeterFromCologne", "author_id": 36546, "author_profile": "https://Stackoverflow.com/users/36546", "pm_score": 2, "selected": false, "text": "<style type=\"text/css\">\ntd {\npadding: 4px;\n}\n</style>\n" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/302482", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38997/" ]
302,486
<p>I see this from time to time and want to know what it is. I did try google, but its filtering out the characters from the search. I have a few books that don't reference it either. </p> <p>FWIW, I remember in pascal that is was the assignment operator. </p> <p>Can anybody point me to the MSDN or similar page?</p>
[ { "answer_id": 302539, "author": "JeffK", "author_id": 5420, "author_profile": "https://Stackoverflow.com/users/5420", "pm_score": 6, "selected": true, "text": "Public Class Form1\n\n Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa...
2008/11/19
[ "https://Stackoverflow.com/questions/302486", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16391/" ]
302,488
<p>In my WCF service, I have methods that are currently public, but I want to hide them from the outside world but be able to use them in my WCF service.</p> <p>Is internal what I'm looking at?</p>
[ { "answer_id": 302539, "author": "JeffK", "author_id": 5420, "author_profile": "https://Stackoverflow.com/users/5420", "pm_score": 6, "selected": true, "text": "Public Class Form1\n\n Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Loa...
2008/11/19
[ "https://Stackoverflow.com/questions/302488", "https://Stackoverflow.com", "https://Stackoverflow.com/users/39677/" ]
302,496
<p>This is a followup to <a href="https://stackoverflow.com/questions/284428/avoiding-property-itis-ie-overuse-of-properties-when-are-they-appropriate">Avoiding @property-itis</a>.</p> <p>UIWebView has the following property declarations:</p> <pre><code>@property(nonatomic,readonly,getter=canGoBack) BOOL canGoBack; @...
[ { "answer_id": 303569, "author": "wisequark", "author_id": 33159, "author_profile": "https://Stackoverflow.com/users/33159", "pm_score": 0, "selected": false, "text": "@interface canBecomeFirstResponder BOOL firstResponder" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/302496", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
302,507
<p>I'm using ActiveState Perl on Windows Server 2003. </p> <p>I want to create a directory on a Windows NTFS partition and then grant a Windows NT security group read access to the folder. Is this possible in Perl? Would I have to use Windows NT commands or is there a Perl module to do it?</p> <p>A small example woul...
[ { "answer_id": 302565, "author": "Vinko Vrsalovic", "author_id": 5190, "author_profile": "https://Stackoverflow.com/users/5190", "pm_score": 3, "selected": false, "text": "use Win32::Perms;\n\n# Create a new Security Descriptor and auto import permissions\n# from the directory\n$Dir = ne...
2008/11/19
[ "https://Stackoverflow.com/questions/302507", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38211/" ]
302,515
<p>I was previously getting the next available autonumber used in Access by doing a simple query like so:</p> <pre><code>SELECT RecordNumber, Info FROM myTABLE WHERE 0 = 1 </code></pre> <p>This way I could create a variable to hold the currentRecord and it will use the same autonumber that Access was going to use w...
[ { "answer_id": 302573, "author": "P Daddy", "author_id": 36388, "author_profile": "https://Stackoverflow.com/users/36388", "pm_score": 4, "selected": true, "text": "IDENT_CURRENT('tableName') INSERT IDENT_CURRENT('tableName') + IDENT_INCR('tableName') SCOPE_IDENTITY() SCOPE_IDENTITY() ID...
2008/11/19
[ "https://Stackoverflow.com/questions/302515", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38678/" ]
302,533
<p>Would it be benefical to add a generic way to add info to a Throwable without creating a new Throwable?</p> <p>I often see code like this:</p> <pre><code>try { foo(); } catch (Exception e) { throw new Exception(e.getMessage() + " extra info=" + blah, e); } </code></pre> <p>Would it be better to instead ad...
[ { "answer_id": 302555, "author": "Avi", "author_id": 1605, "author_profile": "https://Stackoverflow.com/users/1605", "pm_score": 0, "selected": false, "text": "try {\n foo();\n} catch (Exception e) {\n throw new MySpecificException(\"extra info=\" + blah, e);\n}\n" }, { "answer...
2008/11/19
[ "https://Stackoverflow.com/questions/302533", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6770/" ]
302,542
<p>We need to get all the instances of objects that implement a given interface - can we do that, and if so how?</p>
[ { "answer_id": 302588, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 4, "selected": false, "text": "public static IEnumerable<T> GetInstancesOfImplementingTypes<T>()\n{\n AppDomain app = AppDomain.CurrentDomain;\n Assemb...
2008/11/19
[ "https://Stackoverflow.com/questions/302542", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15371/" ]
302,543
<p>We have a browser based application which integrates a webdav server. We generate URLs to specific documents on our (webdav) servlet. (<code>https://server.com/webdav/path/to/file.doc</code>)</p> <p>What we are looking for is a good way for our clients to open these links directly in the appropriate program. I.E. f...
[ { "answer_id": 302588, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 4, "selected": false, "text": "public static IEnumerable<T> GetInstancesOfImplementingTypes<T>()\n{\n AppDomain app = AppDomain.CurrentDomain;\n Assemb...
2008/11/19
[ "https://Stackoverflow.com/questions/302543", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15355/" ]
302,544
<p>I would like to use <code>ON DUPLICATE KEY UPDATE</code> in Zend Framework 1.5, is this possible?</p> <p>Example</p> <pre><code>INSERT INTO sometable (...) VALUES (...) ON DUPLICATE KEY UPDATE ... </code></pre>
[ { "answer_id": 302757, "author": "Bill Karwin", "author_id": 20860, "author_profile": "https://Stackoverflow.com/users/20860", "pm_score": 7, "selected": true, "text": "ON DUPLICATE KEY UPDATE query() VALUES() $sql = \"INSERT INTO sometable (id, col2, col3) VALUES (:id, :col2, :col3)\n ...
2008/11/19
[ "https://Stackoverflow.com/questions/302544", "https://Stackoverflow.com", "https://Stackoverflow.com/users/37019/" ]
302,558
<p>I'm working with a BasePageClass that derives from System.Web.UI.Page.</p> <p>What I'd like to do is somehow set a break point for every single time a method or property on this page is accessed.</p> <p>The only way I know how to do this is set up a breakpoint on every property and method on the page. This just d...
[ { "answer_id": 303294, "author": "vfilby", "author_id": 24279, "author_profile": "https://Stackoverflow.com/users/24279", "pm_score": 2, "selected": true, "text": "System.Diagnostics.Debugger.Break()" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/302558", "https://Stackoverflow.com", "https://Stackoverflow.com/users/25300/" ]
302,559
<p>Given the following sample array, how can I find all permutations of times available such that the amountNeeded is satisfied? In others words the follow array should produce the following:</p> <blockquote> <p>Available on 2008-05-14 from 08:00 to 08:10 using resource 10 and 13</p> <p>Available on 2008-05-14...
[ { "answer_id": 303294, "author": "vfilby", "author_id": 24279, "author_profile": "https://Stackoverflow.com/users/24279", "pm_score": 2, "selected": true, "text": "System.Diagnostics.Debugger.Break()" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/302559", "https://Stackoverflow.com", "https://Stackoverflow.com/users/68043/" ]
302,569
<p>The monthRegex regular expression always returns true, even if dateInput is something like "December 1, 2008" by my thoughts it should match a regular expression by whichever key I pass into it. But that isn't what happens, it just returns true, and detects "JAN" as the month.</p> <pre><code> function dateForma...
[ { "answer_id": 302735, "author": "PhiLho", "author_id": 15459, "author_profile": "https://Stackoverflow.com/users/15459", "pm_score": 2, "selected": false, "text": "function dateFormat(dateInput) \n{\n var formattedDate = \"\";\n\n var the_date, month, year;\n\n var months = new Array...
2008/11/19
[ "https://Stackoverflow.com/questions/302569", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18149/" ]
302,577
<p>If it's harder to explain using words, let's look at an example I have a generic function like this</p> <pre><code>void FunctionA&lt;T&gt;() where T : Form, new() { } </code></pre> <p>If I have a reflected type, how do I use it with the above function? I'm looking forward to do this</p> <pre><code>Type a = Type.G...
[ { "answer_id": 302598, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 5, "selected": true, "text": "class Program\n{\n static void Main(string[] args)\n {\n var t = typeof(Foo);\n var m = t.GetMethod(\"Bar\"...
2008/11/19
[ "https://Stackoverflow.com/questions/302577", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20007/" ]
302,578
<p>I'd like to login to the Forums part of community-server (e.g. <a href="http://forums.timesnapper.com/login.aspx?ReturnUrl=/forums/default.aspx" rel="nofollow noreferrer">http://forums.timesnapper.com/login.aspx?ReturnUrl=/forums/default.aspx</a>) and then download a specific page and perform a regex (to see if ther...
[ { "answer_id": 396572, "author": "David Precious", "author_id": 4040, "author_profile": "https://Stackoverflow.com/users/4040", "pm_score": 1, "selected": false, "text": "\nmy $login_url = 'login url here';\nmy $username = 'username';\nmy $password = 'password';\nmy $mech = new WWW::Mech...
2008/11/19
[ "https://Stackoverflow.com/questions/302578", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18274/" ]
302,583
<p>I have a list wrapper that maintains two Tstringlists and a TClassList</p> <p>I need this to be thread safe, such that:</p> <ul> <li>Concurrent writes are not allowed (wait state of some sort should be entered)</li> <li>Reading while writing (or vice versa) is not allowed (wait state of some sort should be entered...
[ { "answer_id": 329909, "author": "Darian Miller", "author_id": 35696, "author_profile": "https://Stackoverflow.com/users/35696", "pm_score": 2, "selected": false, "text": "x.LockList; \ntry \n //do whatever\nfinally \n x.Unlocklist; \nend;\n" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/302583", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11820/" ]
302,597
<p>How do I calculate the last business day of month in VBScript? It is for a Reporting Services report.</p> <p>Thanks</p>
[ { "answer_id": 302642, "author": "P Daddy", "author_id": 36388, "author_profile": "https://Stackoverflow.com/users/36388", "pm_score": 0, "selected": false, "text": "Dim d\n\nd = DateAdd(\"m\", 1, Now)\n\nd = Month(d) & \"/1/\" & Year(d)\nd = DateAdd(\"d\", -1, d)\n\nIf Weekday(d) = 7 Th...
2008/11/19
[ "https://Stackoverflow.com/questions/302597", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
302,606
<p>I have a "fat" GUI that it getting fairly complex, and I would like to add links from a place to an other, and add back/forward buttons to ease navigation. It seems to me that this would be easier if my application was addressable: each composite could have its URI, and links would use that URI.</p> <p>Are there de...
[ { "answer_id": 302756, "author": "Michael Myers", "author_id": 13531, "author_profile": "https://Stackoverflow.com/users/13531", "pm_score": 1, "selected": true, "text": "String PAGE_1_KEY = \"page 1\";\nString PAGE_2_KEY = \"page 2\";\n// as many keys as you need\n\nJFrame frame = ...;\...
2008/11/19
[ "https://Stackoverflow.com/questions/302606", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9843/" ]
302,609
<p>I'd like to write a batch file that checks to see if a process is running, and takes one action if it is, and another action if it isn't.</p> <p>I know I can use tasklist to list all running processes, but is there a simpler way to directly check on a specific process?</p> <p>It seems like this should work, but it...
[ { "answer_id": 302698, "author": "atzz", "author_id": 23252, "author_profile": "https://Stackoverflow.com/users/23252", "pm_score": 4, "selected": true, "text": "set running=0\nfor /f \"usebackq\" %%T in (`tasklist /nh /fi \"imagename eq firefox.exe\"`) do set running=1\n setlocal Enable...
2008/11/19
[ "https://Stackoverflow.com/questions/302609", "https://Stackoverflow.com", "https://Stackoverflow.com/users/672/" ]
302,614
<p>I've seen the following code to enable double buffering on a winform:</p> <pre><code>// Activates double buffering this.SetStyle(ControlStyles.DoubleBuffer | ControlStyles.OptimizedDoubleBuffer | ControlStyles.UserPaint | ControlStyles.AllPaintingInWmPaint, true); this.UpdateStyles(); </code></pre> <p>Is...
[ { "answer_id": 302640, "author": "Judah Gabriel Himango", "author_id": 536, "author_profile": "https://Stackoverflow.com/users/536", "pm_score": 2, "selected": false, "text": "form.SetStyle(ControlStyles.OptimizedDoubleBuffer, value);\n" }, { "answer_id": 302644, "author": "S...
2008/11/19
[ "https://Stackoverflow.com/questions/302614", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9382/" ]
302,615
<p>Can you recommend a minimalistic python webserver that I can embedded in my Desktop Application.</p>
[ { "answer_id": 304525, "author": "Matthew Trevor", "author_id": 11265, "author_profile": "https://Stackoverflow.com/users/11265", "pm_score": 3, "selected": false, "text": "from circuits.lib.web import Server, Controller\n\nclass HelloWorld(Controller):\n def index(self):\n return...
2008/11/19
[ "https://Stackoverflow.com/questions/302615", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38306/" ]
302,637
<p>Working in an AIX environment, I'm issuing the following tar command and receive errors on sockets. </p> <p>Question 1. How can I avoid the socket errors?</p> <p>Question 2. Can I rely on the tar file to contain all files excluding the ones in error?</p> <pre><code> $ tar -cvf /post_patches.tar /xyz tar: /x...
[ { "answer_id": 303843, "author": "Jonathan Leffler", "author_id": 15168, "author_profile": "https://Stackoverflow.com/users/15168", "pm_score": 1, "selected": false, "text": "tar /xyz -X -d" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/302637", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
302,650
<p>in the out of the project template solution (Dynamic Data Web Application), I have the model created and all is good. - Get the list of the tables, and the select edit etc.</p> <p>But my database has linking tables that just contain forgien keys - so the list template just displays the fk value</p> <p><img src="h...
[ { "answer_id": 304931, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 2, "selected": true, "text": "MetaModel refMetaModel = MetaModel.GetModel(typeof(yourdataContextName));\nMetaTable refMetaModel;\nrefMetaModel = refMetaMode...
2008/11/19
[ "https://Stackoverflow.com/questions/302650", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
302,651
<p>I like Django, but for a particular application I would like to use only parts of it, but I'm not familiar enough with how Django works on the inside, so maybe someone can point me into the right direction as to what I have to check out.</p> <p>Specifically, I <i>want to use</i>:</p> <ul> <li>The models and databa...
[ { "answer_id": 302847, "author": "Eli Courtwright", "author_id": 1694, "author_profile": "https://Stackoverflow.com/users/1694", "pm_score": 7, "selected": true, "text": "djangosettings.py DATABASE_ENGINE = 'oracle'\nDATABASE_HOST = 'localhost'\nDATABASE_NAME = 'ORCL'\nDATABASE...
2008/11/19
[ "https://Stackoverflow.com/questions/302651", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2077/" ]
302,658
<p>Given a java.util.Date object how do I go about finding what Quarter it's in?</p> <p>Assuming Q1 = Jan Feb Mar, Q2 = Apr, May, Jun, etc.</p>
[ { "answer_id": 302669, "author": "Bill the Lizard", "author_id": 1288, "author_profile": "https://Stackoverflow.com/users/1288", "pm_score": 7, "selected": true, "text": "import java.time.LocalDate;\nimport java.time.temporal.IsoFields;\n\nLocalDate myLocal = LocalDate.now();\nquarter = ...
2008/11/19
[ "https://Stackoverflow.com/questions/302658", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2443/" ]
302,663
<p>Is there a difference between <code>Cursor.Current</code> and <code>this.Cursor</code> (where <code>this</code> is a WinForm) in .Net? I've always used <code>this.Cursor</code> and have had very good luck with it but I've recently started using CodeRush and just embedded some code in a "Wait Cursor" block and CodeRu...
[ { "answer_id": 302676, "author": "Joel Coehoorn", "author_id": 3043, "author_profile": "https://Stackoverflow.com/users/3043", "pm_score": 3, "selected": false, "text": "this.Cursor this Cursor.Current this.Cursor" }, { "answer_id": 302865, "author": "Hans Passant", "auth...
2008/11/19
[ "https://Stackoverflow.com/questions/302663", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16419/" ]
302,664
<p>I have a sqlite3 table that I'm trying to map to an object in objective-C. One attribute of the table is 'completed_at' which is stored as a DATETIME.</p> <p>I want to create a property on my objective-C class (which inherits from NSObject) that will map well to the 'completed_at' attribute.</p> <p>Objective-C has...
[ { "answer_id": 2626980, "author": "mobibob", "author_id": 157804, "author_profile": "https://Stackoverflow.com/users/157804", "pm_score": 2, "selected": false, "text": "dateExpires = [NSDate dateWithTimeIntervalSinceNow: sqlite3_column_double(queryStmt, 5)];\n 2010-04-12 23:19:48 -0500\n...
2008/11/19
[ "https://Stackoverflow.com/questions/302664", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2476/" ]
302,680
<p>I'm looking to have a simple custom dialog box, like a message box, that has a label and a TextBox. If there's a simple way to do this, sorry! I'm really not well versed in the dialog stuff. </p> <p>Thanks for any help, guys!</p>
[ { "answer_id": 302828, "author": "MusiGenesis", "author_id": 14606, "author_profile": "https://Stackoverflow.com/users/14606", "pm_score": 0, "selected": false, "text": "public CustomDialog(string textCaption)\n{\n label1.Text = textCaption;\n}\n public override string Text\n{\n ge...
2008/11/19
[ "https://Stackoverflow.com/questions/302680", "https://Stackoverflow.com", "https://Stackoverflow.com/users/39024/" ]
302,690
<p>I'm trying to move my database.mdf file from a development environment to a SQL Server Express server that is hosted on my VPS - but I can't figure out how to attach the file to my database server. Help!</p>
[ { "answer_id": 302702, "author": "Cade Roux", "author_id": 18255, "author_profile": "https://Stackoverflow.com/users/18255", "pm_score": 3, "selected": true, "text": "sp_attach_db" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/302690", "https://Stackoverflow.com", "https://Stackoverflow.com/users/363822/" ]
302,692
<p>I'm having a weird problem, where tagging <strong>works fine on my development machine</strong>, but when I deploy to the production server, I get this error in the log:</p> <pre><code>ActionView::TemplateError (undefined method `tags' for #&lt;Person:0x98bb9d4&gt;) on line... </code></pre> <p>There is an entry ...
[ { "answer_id": 302702, "author": "Cade Roux", "author_id": 18255, "author_profile": "https://Stackoverflow.com/users/18255", "pm_score": 3, "selected": true, "text": "sp_attach_db" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/302692", "https://Stackoverflow.com", "https://Stackoverflow.com/users/722/" ]
302,700
<p>So, up until today, when I tried to edit a read only file in VS2008, a dialog popped up giving me three options:</p> <ul> <li>Edit in memory</li> <li>Make writable</li> <li>Save a copy</li> </ul> <p>There was also a checkbox which read "Never allow in memory edits".</p> <p>Suddenly, it has stopped offering these ...
[ { "answer_id": 308424, "author": "Winston Smith", "author_id": 35086, "author_profile": "https://Stackoverflow.com/users/35086", "pm_score": 5, "selected": true, "text": "HKCU\\Sofware\\Microsoft\\Visual Studio\\9.0\\Source Control\\UncontrolledInMemoryEditDialogSuppressed\n" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/302700", "https://Stackoverflow.com", "https://Stackoverflow.com/users/35086/" ]
302,701
<p>What is the difference between </p> <pre><code>if(null==object) </code></pre> <p>and </p> <pre><code>if(object==null) </code></pre> <p>Please give the advantage for using the above.</p>
[ { "answer_id": 302707, "author": "Greg", "author_id": 24181, "author_profile": "https://Stackoverflow.com/users/24181", "pm_score": 4, "selected": false, "text": "= == if (null = object) if (object = null)" }, { "answer_id": 302711, "author": "bdukes", "author_id": 2688, ...
2008/11/19
[ "https://Stackoverflow.com/questions/302701", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
302,718
<p>I have the following string in the smarty (php templating system) variable $test:</p> <pre><code>&lt;img height="113" width="150" alt="Sunset" src="/test.jpg"/&gt; </code></pre> <p>I want to add "em" to the height and width like this:</p> <pre><code>{$test|replace:'" w':'em" w'|replace:'" a':'em" a'} </code></pre...
[ { "answer_id": 302798, "author": "Adam", "author_id": 13320, "author_profile": "https://Stackoverflow.com/users/13320", "pm_score": 3, "selected": true, "text": "{$test|regex_replace:'/\".w/':'em\" w'|regex_replace:'/\".a/':'em\" a'}\n '/\\\".w/'\n'/\".*w/'\n'/\\\".*w/'\n" }, { "...
2008/11/19
[ "https://Stackoverflow.com/questions/302718", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13262/" ]
302,720
<p>I have a parent object which has a one to many relationship with an IList of child objects. What is the best way to delete the child objects? I am not deleting the parent. My parent object contains an IList of child objects. Here is the mapping for the one to many relationship:</p> <pre><code>&lt;bag name="Tiers" c...
[ { "answer_id": 2922951, "author": "Liath", "author_id": 352176, "author_profile": "https://Stackoverflow.com/users/352176", "pm_score": 2, "selected": false, "text": "product = pRepo.GetByID(newProduct.ProductID);\nproduct.Category.Products.Remove(product);\npRepo.Delete(product);\n" }...
2008/11/19
[ "https://Stackoverflow.com/questions/302720", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1284/" ]
302,736
<p>What are some guidelines for when it is <strong>not</strong> necessary to check for a null?</p> <p>A lot of the inherited code I've been working on as of late has null-checks ad nauseam. Null checks on trivial functions, null checks on API calls that state non-null returns, etc. In some cases, the null-checks are r...
[ { "answer_id": 302785, "author": "djuth", "author_id": 38787, "author_profile": "https://Stackoverflow.com/users/38787", "pm_score": 3, "selected": false, "text": "internal void DoThis(Something thing)\n{\n Debug.Assert(thing != null, \"Arg [thing] cannot be null.\");\n //...\n}\n ...
2008/11/19
[ "https://Stackoverflow.com/questions/302736", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17871/" ]
302,742
<p>I need to use C++ to read in text with spaces, followed by a numeric value.</p> <p>For example, data that looks like:</p> <pre><code>text1 1.0 text two 2.1 text2 again 3.1 </code></pre> <p>can't be read in with 2 <code>"infile &gt;&gt;"</code> statements. I'm not having any luck with <code>getline</code> either...
[ { "answer_id": 302848, "author": "atzz", "author_id": 23252, "author_profile": "https://Stackoverflow.com/users/23252", "pm_score": 0, "selected": false, "text": "#include <iostream>\n#include <sstream>\n\nint main()\n{\n std::istringstream iss(\"text1 1.0 text two 2.1 text2 again 3.1...
2008/11/19
[ "https://Stackoverflow.com/questions/302742", "https://Stackoverflow.com", "https://Stackoverflow.com/users/39035/" ]
302,749
<p>I'm having a couple of problems with the JQuery <a href="http://tablesorter.com/docs/" rel="noreferrer">tablesorter</a> plugin. If you click on a column header, it should sort the data by this column, but there are a couple of problems:</p> <ol> <li>The rows are not properly sorted (1, 1, 2183, 236)</li> <li>The to...
[ { "answer_id": 302822, "author": "tvanfosson", "author_id": 12950, "author_profile": "https://Stackoverflow.com/users/12950", "pm_score": 3, "selected": false, "text": " $(function() {\n $('#communityStats').append(\"<tfoot></tfoot>\");\n $('#communityStats > tr:last').remo...
2008/11/19
[ "https://Stackoverflow.com/questions/302749", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2648/" ]
302,759
<p>One of the web apps I'm working on has a fairly small web store / shopping cart. As the client company is physically located in CA and has a physical location there, they're required to collect CA sales tax on all orders shipped to locations in California.</p> <p>For those who don't know, CA has some fairly comple...
[ { "answer_id": 303604, "author": "Bill", "author_id": 14547, "author_profile": "https://Stackoverflow.com/users/14547", "pm_score": 1, "selected": false, "text": "Auth Start$ End$ Rate Base \nNY 0 109.99 0% $0.00\nNY 110.00 - 4% $4.40\nNYALB 0 - ...
2008/11/19
[ "https://Stackoverflow.com/questions/302759", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19074/" ]
302,775
<p>I need a way of calling a web page from inside my .net appliction. </p> <p>But i just want to send a request to the page and not worry about the response. </p> <p>As there are times when the response can take a while so i dont want it to hang the appliction. </p> <p>I have been trying in side the page_load event<...
[ { "answer_id": 302787, "author": "Joel Coehoorn", "author_id": 3043, "author_profile": "https://Stackoverflow.com/users/3043", "pm_score": 3, "selected": false, "text": "System.Net.WebClient DownloadDataAsync()" }, { "answer_id": 302788, "author": "Patrick Desjardins", "a...
2008/11/19
[ "https://Stackoverflow.com/questions/302775", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27922/" ]
302,781
<p>I have transferred a Classic asp site running on windows server 2003 to windows server 2008 but suddenly the below code has stopped working.</p> <pre><code>Const connStr_FC08 = "Provider=SQLNCLI10;Server=DS-47500;Database=TestDB;Uid=TestLogin;Pwd=test;Network=dbmssocn;" Function connDB(OpenDB) DIM conn SET...
[ { "answer_id": 310736, "author": "Mike Henry", "author_id": 14934, "author_profile": "https://Stackoverflow.com/users/14934", "pm_score": 2, "selected": false, "text": " ...\n conn.open = connStr_FC08\n ...\n connDB = conn\n...\ncn = connDB(\"Y\")\n ...\n conn.Connecti...
2008/11/19
[ "https://Stackoverflow.com/questions/302781", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
302,782
<p>How can I accomplish this?</p> <pre><code>&lt;% for agent in @broker.agents %&gt; ... &lt;% if agent.cell %&gt;&lt;span class="cell-number"&gt;Cell: &lt;%= agent.cell %&gt;&lt;/span&gt;&lt;% end %&gt; ... &lt;% end %&gt; </code></pre> <p>I want to test to see if the agent has a cell number, and if so, displa...
[ { "answer_id": 302827, "author": "neezer", "author_id": 32154, "author_profile": "https://Stackoverflow.com/users/32154", "pm_score": 3, "selected": false, "text": "if !agent.cell.blank?\n" }, { "answer_id": 302868, "author": "Adrian Dunston", "author_id": 8344, "auth...
2008/11/19
[ "https://Stackoverflow.com/questions/302782", "https://Stackoverflow.com", "https://Stackoverflow.com/users/32154/" ]
302,789
<p>My rails model has code that is attempting to <code>define_method(method_name)</code> inside the model.</p> <p>I keep getting:</p> <pre><code>NoMethodError: undefined method `define_method' </code></pre> <p>What am I doing wrong? Am I doing this in the wrong place. I need this method attached to this model. Where...
[ { "answer_id": 302950, "author": "Tim Harding", "author_id": 38021, "author_profile": "https://Stackoverflow.com/users/38021", "pm_score": 2, "selected": false, "text": "class User < ActiveRecord::Base\n\n def foo\n (class << self; self; end).class_eval do\n define_method(:bar) ...
2008/11/19
[ "https://Stackoverflow.com/questions/302789", "https://Stackoverflow.com", "https://Stackoverflow.com/users/757/" ]
302,794
<p>I'm being asked to look into a problem that occurs intermittently on a WebServer running my team's application.</p> <p>Essentially, we have a webservice that does a lookup between codes. If you have Code Type A, you can use it to look up the corresponding Code Type B. Periodically, when memory is running low, whe...
[ { "answer_id": 302950, "author": "Tim Harding", "author_id": 38021, "author_profile": "https://Stackoverflow.com/users/38021", "pm_score": 2, "selected": false, "text": "class User < ActiveRecord::Base\n\n def foo\n (class << self; self; end).class_eval do\n define_method(:bar) ...
2008/11/19
[ "https://Stackoverflow.com/questions/302794", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26516/" ]
302,819
<p>I'm looking to implement the Observer pattern in VB.NET or C# or some other first-class .NET language. I've heard that delegates can be used for this, but can't figure out why they would be preferred over plain old interfaces implemented on observers. So,</p> <ul> <li>Why should I use delegates instead of defining ...
[ { "answer_id": 302933, "author": "Jacob Adams", "author_id": 32518, "author_profile": "https://Stackoverflow.com/users/32518", "pm_score": 2, "selected": false, "text": "private delegate void UpdateHandler(string message);\nprivate UpdateHandler Update;\n\npublic void Register(IObserver ...
2008/11/19
[ "https://Stackoverflow.com/questions/302819", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
302,820
<p>Anyone getting this error when using the new free chart controls MS bought from Dundas?</p> <p>"Error executing child request for ChartImg.axd"</p> <p>On the MSDN forum they suggested it was my web.config: <a href="http://social.msdn.microsoft.com/Forums/en-US/MSWinWebChart/thread/1dc4b352-c9a5-49dc-8f35-9b176509...
[ { "answer_id": 335363, "author": "LaptopHeaven", "author_id": 1296, "author_profile": "https://Stackoverflow.com/users/1296", "pm_score": 4, "selected": false, "text": "<add path=\"ChartImg.axd\" verb=\"GET,HEAD\" type=\"System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.W...
2008/11/19
[ "https://Stackoverflow.com/questions/302820", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5115/" ]
302,821
<p>I have a simple 2D array of strings and I would like to stuff it into an SPFieldMultiLineText in MOSS. This maps to an ntext database field.</p> <p>I know I can serialize to XML and store to the file system, but I would like to serialize without touching the filesystem.</p> <pre><code>public override void ItemAdd...
[ { "answer_id": 302891, "author": "Sunny Milenov", "author_id": 8220, "author_profile": "https://Stackoverflow.com/users/8220", "pm_score": 6, "selected": true, "text": "StringWriter outStream = new StringWriter();\nXmlSerializer s = new XmlSerializer(typeof(List<List<string>>));\ns.Seria...
2008/11/19
[ "https://Stackoverflow.com/questions/302821", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1753/" ]
302,829
<p>I was trying to access swf from javascript, so this example in livedocs is what I'm trying to modify. <a href="http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInterface.html#includeExamplesSummary" rel="nofollow noreferrer">http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl...
[ { "answer_id": 607328, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 0, "selected": false, "text": "AC_RunActiveContent.js fvar_js AC_FL_RunContent(\n ...\n 'src', 'fvar_js',\n ...\n thisMovie fvar_js if (Exte...
2008/11/19
[ "https://Stackoverflow.com/questions/302829", "https://Stackoverflow.com", "https://Stackoverflow.com/users/34797/" ]
302,833
<p>I want to use a case statement in my user-defined functions because I need to match on a number of terms. I could use a table for the matches but then I wouldn't be able to put it inside the Computed Column definition. </p> <p>This works with IF statements:</p> <pre><code>CREATE FUNCTION MaraSizeNumber ( @ms v...
[ { "answer_id": 302841, "author": "ConcernedOfTunbridgeWells", "author_id": 15401, "author_profile": "https://Stackoverflow.com/users/15401", "pm_score": 3, "selected": true, "text": "RETURN CASE @ms\n WHEN '16-18' THEN '1'\n WHEN '18-20' THEN '2'\n WHEN '20-22' THEN '3'...
2008/11/19
[ "https://Stackoverflow.com/questions/302833", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26140/" ]
302,835
<p>can someone give a scons config file which allows the following structure</p> <pre><code>toplevel/ /src - .cc files /include .h files </code></pre> <p>at top level I want the o and final exe.</p>
[ { "answer_id": 302984, "author": "Amit", "author_id": 29120, "author_profile": "https://Stackoverflow.com/users/29120", "pm_score": 3, "selected": false, "text": "env=Environment(CPPPATH='/usr/include/glib-2.0/:/usr/lib/glib-2.0/include:inc',\n CPPDEFINES=[],\n ...
2008/11/19
[ "https://Stackoverflow.com/questions/302835", "https://Stackoverflow.com", "https://Stackoverflow.com/users/37370/" ]
302,837
<p>Parsing a text file in vb.net and need to locate the latitude and longitude in these two sections of text. The patter is 6 digits space 7 digits (364800 0953600). The samples are from two different map files and have slightly differing formats.</p> <pre><code>I 2H02 364800 0953600 ' SEC72 ...
[ { "answer_id": 302862, "author": "Joel Coehoorn", "author_id": 3043, "author_profile": "https://Stackoverflow.com/users/3043", "pm_score": 3, "selected": false, "text": "[0-9]{6} [0-9]{7}\n" }, { "answer_id": 302876, "author": "Quintin Robinson", "author_id": 12707, "...
2008/11/19
[ "https://Stackoverflow.com/questions/302837", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38349/" ]
302,839
<p>I have a user control that I load into a <code>MainWindow</code> at runtime. I cannot get a handle on the containing window from the <code>UserControl</code>. </p> <p>I have tried <code>this.Parent</code>, but it's always null. Does anyone know how to get a handle to the containing window from a user control in WPF...
[ { "answer_id": 302953, "author": "Jobi Joy", "author_id": 8091, "author_profile": "https://Stackoverflow.com/users/8091", "pm_score": 4, "selected": false, "text": "public static Window FindParentWindow(DependencyObject child)\n{\n DependencyObject parent= VisualTreeHelper.GetParent(c...
2008/11/19
[ "https://Stackoverflow.com/questions/302839", "https://Stackoverflow.com", "https://Stackoverflow.com/users/39038/" ]
302,897
<p>I am making a mp3 id3tag editor, and a regex is not matching. Could anyone help me please? my code:</p> <pre><code>arquivo = "[coletanea] album [CD #] [faixa] [artista] musica.mp3" r = New Regex("^\[(?&lt;1&gt;[^\]]+?)\]\s*(?&lt;2&gt;[\w\s]+)\s*\[CD\s*(?&lt;3&gt;\d+)\]\s*\[(?&lt;4&gt;\d+)\]\s*\[(?&lt;5&gt;[^\]]+)\...
[ { "answer_id": 302929, "author": "Vinko Vrsalovic", "author_id": 5190, "author_profile": "https://Stackoverflow.com/users/5190", "pm_score": 2, "selected": false, "text": "\"[coletanea] album [CD 20] [89] [artista] musica.mp3\"\n" }, { "answer_id": 302931, "author": "Tjofras"...
2008/11/19
[ "https://Stackoverflow.com/questions/302897", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
302,912
<p>I'm aware there is an AssociationChanged event, however, this event fires after the association is made. There is no AssociationChanging event. So, if I want to throw an exception for some validation reason, how do I do this and get back to my original value? </p> <p>Also, I would like to default values for my en...
[ { "answer_id": 1301480, "author": "ADB", "author_id": 3610, "author_profile": "https://Stackoverflow.com/users/3610", "pm_score": 0, "selected": false, "text": "aTeacher.Students.Add(new Student)\n public Student AddNewStudent(string name, string studentID)\n{\n\n Student s = new Stud...
2008/11/19
[ "https://Stackoverflow.com/questions/302912", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
302,914
<p>I'm looking for an implementation of CRC32 in C or C++ that is explicitly licensed as being no cost or public domain. The implementation <a href="http://www.networkdls.com/Software/View/CRC32" rel="noreferrer">here</a> seems nice, but the only thing it says about the license is "source code", which isn't good enoug...
[ { "answer_id": 303020, "author": "cjm", "author_id": 8355, "author_profile": "https://Stackoverflow.com/users/8355", "pm_score": 5, "selected": false, "text": "/* Copyright (C) 1986 Gary S. Brown. You may use this program, or\n code or tables extracted from it, as desired without rest...
2008/11/19
[ "https://Stackoverflow.com/questions/302914", "https://Stackoverflow.com", "https://Stackoverflow.com/users/23524/" ]
302,943
<p>I am looking to do the following (see pseudo code); I want to select 4 rows for each gd.id (7, 11 or 9). I've incorrectly use limit because that only brings up 4 rows in total. Anyone have an idea on how to change this query to accomplish my goal? </p> <pre><code>SELECT gd.gid, gd.aid, li.ads, li.til FROM gd JOI...
[ { "answer_id": 303384, "author": "Bill Karwin", "author_id": 20860, "author_profile": "https://Stackoverflow.com/users/20860", "pm_score": 3, "selected": false, "text": "CREATE TABLE gd (\n aid INT AUTO_INCREMENT PRIMARY KEY,\n gid INT\n);\n\nINSERT INTO gd (gid) VALUES\n (7), (7), (7...
2008/11/19
[ "https://Stackoverflow.com/questions/302943", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
302,955
<p>I am currently trying to make a <code>navigation-menu</code> where an <code>active-class</code> is applied to the anchors whose <code>href</code> attributes that match the current URL, so I can style that anchor in a way that makes it stand out from the rest of the menu.</p> <p>This is my mark-up:</p> <pre><code>&...
[ { "answer_id": 302971, "author": "jrutter", "author_id": 28454, "author_profile": "https://Stackoverflow.com/users/28454", "pm_score": 1, "selected": false, "text": "// highlight tab function\nvar path = location.pathname;\nvar home = \"/\";\n$(\"a[href='\" + [path || home] + \"']\").par...
2008/11/19
[ "https://Stackoverflow.com/questions/302955", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24218/" ]
302,956
<p>I have two classes that are associated with a one-to-one mapping:</p> <pre><code>&lt;class name="Employee" table="Employees"&gt; ... &lt;one-to-one name="Address" class="AddressInfo"&gt; ... &lt;/class&gt; </code></pre> <p>I would like to use a criteria expression to get only Employees where the the associat...
[ { "answer_id": 320863, "author": "ChrisAnnODell", "author_id": 1758, "author_profile": "https://Stackoverflow.com/users/1758", "pm_score": 4, "selected": true, "text": "IList employeesWithAddresses = sess.CreateCriteria(typeof(Employee))\n .CreateCriteria(\"Address\", \"address\").Add...
2008/11/19
[ "https://Stackoverflow.com/questions/302956", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10475/" ]
302,958
<p>I have a crosstab query that uses a dynamic date function to result in the column headers and therefore the field names. Ex: ForecastPeriod:DateAdd("m",[Period],[StartDate]) This means that every time I run the crosstab query, I could end up with different field names. I need to take the results of this crosstab and...
[ { "answer_id": 304973, "author": "Fionnuala", "author_id": 2548, "author_profile": "https://Stackoverflow.com/users/2548", "pm_score": 1, "selected": false, "text": "ColHead:\"Month\" & DateDiff(\"m\",[SaleDate],Forms!frmForm!txtSomeDate)\n" }, { "answer_id": 310155, "author"...
2008/11/19
[ "https://Stackoverflow.com/questions/302958", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
302,969
<p>What kind of scenarios can XSL processing instructions be used or applied? When is it good or bad to use them?</p> <p>Clean slate here, I don't have a good handle on this particular element.</p> <p>Example from w3schools:</p> <p>&lt;xsl:processing-instruction name="process-name"&gt; &lt;!-- Content:template --&...
[ { "answer_id": 303572, "author": "Ned Batchelder", "author_id": 14343, "author_profile": "https://Stackoverflow.com/users/14343", "pm_score": 4, "selected": true, "text": "<xsl:processing-instruction> <?xml-stylesheet> <!-- Link to the stylesheet for people who wander in. -->\n<xsl:proce...
2008/11/19
[ "https://Stackoverflow.com/questions/302969", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26625/" ]
302,983
<p>So I have a relatively large (enough code that it would be easier to write this CMS component from scratch than to rewrite the app to fit into a CMS) webapp that I want to add basic Page/Menu/Media management too, I've seen several Django pluggables addressing this issue, but many seem targeted as full CMS platforms...
[ { "answer_id": 310852, "author": "Matthew Marshall", "author_id": 39856, "author_profile": "https://Stackoverflow.com/users/39856", "pm_score": 1, "selected": false, "text": "DEBUG=True cms.views.render_page()" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/302983", "https://Stackoverflow.com", "https://Stackoverflow.com/users/39058/" ]
302,993
<p>I've seen a couple of web pages say that <code>a = b || 'blah'</code> should assign <code>'blah'</code> to <code>a</code> if <code>b</code> is <code>undefined</code> or <code>null</code>. But if I type that into Firebug or use it in code, it complains that <code>b</code> is not defined, at the list on FF3/win. Any...
[ { "answer_id": 303007, "author": "Orion Edwards", "author_id": 234, "author_profile": "https://Stackoverflow.com/users/234", "pm_score": 3, "selected": false, "text": "var b = null a = function(){ if(b){return b;} else{ return 'blah' } }();\n undefined alert(nosuchvariable);\n=> throws e...
2008/11/19
[ "https://Stackoverflow.com/questions/302993", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16777/" ]
303,004
<p>Looking at this LINQ demo:</p> <p><a href="http://www.microsoft.com/emea/msdn/spotlight/sessionh.aspx?videoid=716" rel="nofollow noreferrer">LINQ Framework Overview</a></p> <p>When going in debug mode, the output have colors in it. I'm using the same ObjectDumper class and I only have the black/white console windo...
[ { "answer_id": 306820, "author": "Drew Noakes", "author_id": 24874, "author_profile": "https://Stackoverflow.com/users/24874", "pm_score": 0, "selected": false, "text": "System.Console.ForegroundColor" }, { "answer_id": 306856, "author": "Patrick Desjardins", "author_id":...
2008/11/19
[ "https://Stackoverflow.com/questions/303004", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17766/" ]
303,006
<p>I've just started looking into M-V-VM for a WPF application. Everything makes sense so far besides this particular issue...</p> <p>I have a ViewModel I'll call Search. This ViewModel binds to a datagrid and lists results of items. Now, I have a command that needs to bring up <strong>another view</strong>, the it...
[ { "answer_id": 14084930, "author": "g1ga", "author_id": 733749, "author_profile": "https://Stackoverflow.com/users/733749", "pm_score": 1, "selected": false, "text": "IUIVisualizerService" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/303006", "https://Stackoverflow.com", "https://Stackoverflow.com/users/29676/" ]
303,013
<p>VS.net creates a template when you create a WCF project.</p> <p>It adds a class to the iService1.cs file:</p> <pre><code>// Use a data contract as illustrated in the sample below to // add composite types to service operations. [DataContract] public class CompositeType { bool boolValue = true; string strin...
[ { "answer_id": 304764, "author": "Wagner Silveira", "author_id": 33352, "author_profile": "https://Stackoverflow.com/users/33352", "pm_score": 5, "selected": false, "text": "[DataContract]\npublic class SampleClass\n{\n [DataMember(IsRequired=true)]\n public int MyRequiredProperty ...
2008/11/19
[ "https://Stackoverflow.com/questions/303013", "https://Stackoverflow.com", "https://Stackoverflow.com/users/39677/" ]
303,026
<p>I have a simple html page with a div. I am using jQuery to load the contents of an aspx app into the "content" div. Code looks like this:</p> <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;s...
[ { "answer_id": 303055, "author": "kkubasik", "author_id": 39058, "author_profile": "https://Stackoverflow.com/users/39058", "pm_score": 2, "selected": false, "text": "jQuery.get('default.aspx', null, function(data) {\n $('#default').append(data);\n}, 'html');\n" }, { "answer_i...
2008/11/19
[ "https://Stackoverflow.com/questions/303026", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5234/" ]
303,045
<p>I often access shared network folders in Powershell to grab files etc. But if the share requires a username/password, Powershell does not prompt me for these, unlike Windows Explorer. If I connect to the folder first in Windows Explorer, Powershell will then allow me to connect. </p> <p>How can I authenticate mysel...
[ { "answer_id": 303229, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 6, "selected": false, "text": "net use \\\\server\\share /user:<domain\\username> <password>\n" }, { "answer_id": 305791, "author": "Scott Saad",...
2008/11/19
[ "https://Stackoverflow.com/questions/303045", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5769/" ]
303,053
<p>I am working on a Perl script to read CSV file and do some calculations. CSV file has only two columns, something like below.</p> <pre><code>One Two 1.00 44.000 3.00 55.000 </code></pre> <p>Now this CSV file is very big ,can be from 10 MB to 2GB.</p> <p>Currently I am taking CSV file of size 700 MB. I tried to o...
[ { "answer_id": 303061, "author": "S.Lott", "author_id": 10661, "author_profile": "https://Stackoverflow.com/users/10661", "pm_score": 5, "selected": true, "text": "tail -1000 yourfile | perl ...\n tail" }, { "answer_id": 303076, "author": "Adam Lerman", "author_id": 673, ...
2008/11/19
[ "https://Stackoverflow.com/questions/303053", "https://Stackoverflow.com", "https://Stackoverflow.com/users/33411/" ]
303,054
<p>According to the adobe flex docs: <a href="http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html" rel="nofollow noreferrer">http://livedocs.adobe.com/flex/3/html/help.html?content=controls_15.html</a></p> <p>Using an image multiple times</p> <p>You can use the same image multiple times in your a...
[ { "answer_id": 303279, "author": "Ryan Guill", "author_id": 7186, "author_profile": "https://Stackoverflow.com/users/7186", "pm_score": 2, "selected": false, "text": "[Embed(source=\"myImage.jpg\")]\n[Bindable]\npublic var myImageClass:Class;\n" }, { "answer_id": 304449, "aut...
2008/11/19
[ "https://Stackoverflow.com/questions/303054", "https://Stackoverflow.com", "https://Stackoverflow.com/users/39075/" ]
303,056
<p>I am looking to find out the logic , if any , which shrinks hashtable in c# when elements are removed from it.</p> <p>Regards Harish</p>
[ { "answer_id": 303103, "author": "Joel Coehoorn", "author_id": 3043, "author_profile": "https://Stackoverflow.com/users/3043", "pm_score": 1, "selected": false, "text": "Dictionary<K,V>" } ]
2008/11/19
[ "https://Stackoverflow.com/questions/303056", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
303,066
<p>I recently migrated an ASP site from my dev machine to a live server. All the pages except my FAQ page works just fine, but my FAQ brings up:</p> <pre><code>XML Parsing Error: no element found Location: http://geniusupdate.com/GSHelp/faq.aspx Line Number 1, Column 1: </code></pre> <p>The only changes I have made ...
[ { "answer_id": 707453, "author": "Rich", "author_id": 53501, "author_profile": "https://Stackoverflow.com/users/53501", "pm_score": 4, "selected": false, "text": "Global.Application_Error Server.GetLastError().GetBaseException()\n" }, { "answer_id": 1924834, "author": "mmcgly...
2008/11/19
[ "https://Stackoverflow.com/questions/303066", "https://Stackoverflow.com", "https://Stackoverflow.com/users/25515/" ]
303,096
<p>I'm trying TripleDES Encryption with ECB mode. My code looks like that:</p> <pre><code>public static string EncryptDES(string InputText) { byte[] key = new byte[] { 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46,...
[ { "answer_id": 303118, "author": "sep332", "author_id": 13652, "author_profile": "https://Stackoverflow.com/users/13652", "pm_score": 0, "selected": false, "text": "Public Shared DefaultEncoding As Text.Encoding = _System.Text.Encoding.GetEncoding(\"Unicode\")\n" }, { "answer_id"...
2008/11/19
[ "https://Stackoverflow.com/questions/303096", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10968/" ]
303,098
<p>I have some data stored as <code>ArrayList</code>. And when I want to backup this data,java bounds two objects forever. Which means when I change values in data <code>ArrayList</code> this changes come to backup. I tried to copy values from data separately to backup in the loop, tried to use method <code>data.clone(...
[ { "answer_id": 303131, "author": "sblundy", "author_id": 4893, "author_profile": "https://Stackoverflow.com/users/4893", "pm_score": 2, "selected": false, "text": "List org = new java.util.ArrayList();\norg.add(instance)\norg.get(0).setValue(\"org val\");\nList copy = new java.util.Array...
2008/11/19
[ "https://Stackoverflow.com/questions/303098", "https://Stackoverflow.com", "https://Stackoverflow.com/users/35594/" ]
303,113
<p>I've scoured the groovy doc and haven't found an analogue, but things there are organized a bit haphazardly. I'm switching from beanshell to groovy and was using the source("fileloc") method in beanshell to inline-include other, utility beanshell scripts for reuse. Is there a standard function to do this in groovy o...
[ { "answer_id": 303208, "author": "feoh", "author_id": 32514, "author_profile": "https://Stackoverflow.com/users/32514", "pm_score": 1, "selected": false, "text": "load" }, { "answer_id": 306480, "author": "John Flinchbaugh", "author_id": 12591, "author_profile": "http...
2008/11/19
[ "https://Stackoverflow.com/questions/303113", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8720/" ]
303,116
<p>Does a <a href="http://msdn.microsoft.com/en-us/library/system.windows.threading.dispatcher.aspx" rel="noreferrer"><code>System.Windows.Threading.Dispatcher</code></a> work on the UI-thread of a <code>WinForms</code> application?</p> <p>If yes, why? It is coming from WindowsBase.dll which seems to be a <code>WPF</c...
[ { "answer_id": 1160035, "author": "Martin Konicek", "author_id": 90998, "author_profile": "https://Stackoverflow.com/users/90998", "pm_score": 5, "selected": false, "text": "Dispatcher Dispatcher.CurrentDispatcher" }, { "answer_id": 12629542, "author": "TonyP", "author_id...
2008/11/19
[ "https://Stackoverflow.com/questions/303116", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4918/" ]
303,149
<p>Parameterized Queries in .Net always look like this in the examples:</p> <pre><code>SqlCommand comm = new SqlCommand(@" SELECT * FROM Products WHERE Category_ID = @categoryid ", conn); comm.Parameters.Add("@categoryid", SqlDbType.Int); comm.Parameters["@categoryid"].Value = CategoryID; </code></pr...
[ { "answer_id": 303175, "author": "TcKs", "author_id": 20382, "author_profile": "https://Stackoverflow.com/users/20382", "pm_score": 4, "selected": false, "text": "SqlCommand comm = new SqlCommand(\"SELECT * FROM Products WHERE Category_ID IN (@categoryid1, @categoryid2) OR name LIKE @nam...
2008/11/19
[ "https://Stackoverflow.com/questions/303149", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8435/" ]
303,167
<p>I have an object in SQL (A) that has a many to many relationships with another object (B). I'm currently building an API layer DLL that will allow the user to assign objects of type B into type A. Right now the user would retrieve a list of entries of type A and a list of entries of type B using different LINQ data ...
[ { "answer_id": 303183, "author": "Chad Moran", "author_id": 25416, "author_profile": "https://Stackoverflow.com/users/25416", "pm_score": 0, "selected": false, "text": "Person existingPerson - DB.GetPerson(1);\nexistingPerson.BirthDate = newPerson.BirthDate;\nexistingPerson.JobTitle = ne...
2008/11/19
[ "https://Stackoverflow.com/questions/303167", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2191/" ]
303,174
<p>I just got burned by the <a href="http://cygwin.com/ml/cygwin-xfree-announce/2008-11/msg00000.html" rel="nofollow noreferrer">Cygwin X11R7.4 update</a> and I find the official mailing lists hostile and clunky. So I thought I'd ask here.</p> <p>If you have survived the upgrade (or at least made progress on fixing t...
[ { "answer_id": 303183, "author": "Chad Moran", "author_id": 25416, "author_profile": "https://Stackoverflow.com/users/25416", "pm_score": 0, "selected": false, "text": "Person existingPerson - DB.GetPerson(1);\nexistingPerson.BirthDate = newPerson.BirthDate;\nexistingPerson.JobTitle = ne...
2008/11/19
[ "https://Stackoverflow.com/questions/303174", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1438/" ]
303,180
<p>Good afternoon,</p> <p>I have a web query in <code>Excel 2002</code> going against a web page that returns a date column. The dates are returned as <code>DD/MM/YYYY</code>, as I would like to show them in my spreadsheet. My machine running Excel has its regional settings set to en-GB, and the only language set un...
[ { "answer_id": 303222, "author": "Tomalak", "author_id": 18771, "author_profile": "https://Stackoverflow.com/users/18771", "pm_score": 0, "selected": false, "text": "lang <meta http-equiv=\"content-language\" content=\"...\">" }, { "answer_id": 307421, "author": "Mark Nold", ...
2008/11/19
[ "https://Stackoverflow.com/questions/303180", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7311/" ]
303,181
<ol> <li>Why is operator '&amp;' defined for bool?, and operator '&amp;&amp;' is not? </li> <li>How exactly does this 1) bool? &amp; bool? and 2) bool? and bool work?</li> </ol> <p>Any other "interesting" operator semantics on Nullable? Any overloaded operators for generic T?</p>
[ { "answer_id": 303215, "author": "Christian C. Salvadó", "author_id": 5445, "author_profile": "https://Stackoverflow.com/users/5445", "pm_score": 2, "selected": false, "text": "bool? x y x & y x | y \ntrue true true true\ntrue false false true\ntrue nul...
2008/11/19
[ "https://Stackoverflow.com/questions/303181", "https://Stackoverflow.com", "https://Stackoverflow.com/users/38325/" ]
303,197
<p>I've created an instance of a SamlAssertion, and added the the authorization statement and attribute statments to it, and now I want to print out the XML so I can do an HTTP post, but not all of the assertion is being outputed. What am I missing (I'm sure it's something bone-headed)?</p> <p>Here is the code I'm us...
[ { "answer_id": 1694077, "author": "Darin Dimitrov", "author_id": 29407, "author_profile": "https://Stackoverflow.com/users/29407", "pm_score": 2, "selected": false, "text": "using // Add the Statements to the SAML Assertion\nsamlAssert.Statements.Add(samlAuthStatement);\nsamlAssert.State...
2008/11/19
[ "https://Stackoverflow.com/questions/303197", "https://Stackoverflow.com", "https://Stackoverflow.com/users/28660/" ]
303,200
<p>I am getting an 'access is denied' error when I attempt to delete a folder that is not empty. I used the following command in my attempt: <code>os.remove("/folder_name")</code>. </p> <p>What is the most effective way of removing/deleting a folder/directory that is not empty?</p>
[ { "answer_id": 303225, "author": "ddaa", "author_id": 11549, "author_profile": "https://Stackoverflow.com/users/11549", "pm_score": 12, "selected": true, "text": "import shutil\n\nshutil.rmtree('/folder_name')\n rmtree shutil.rmtree('/folder_name', ignore_errors=True)\n" }, { "an...
2008/11/19
[ "https://Stackoverflow.com/questions/303200", "https://Stackoverflow.com", "https://Stackoverflow.com/users/37804/" ]
303,214
<p>How can I create a method that has optional parameters in it in Visual Basic?</p>
[ { "answer_id": 303230, "author": "Joel Coehoorn", "author_id": 3043, "author_profile": "https://Stackoverflow.com/users/3043", "pm_score": 7, "selected": true, "text": "Optional Sub MyMethod(ByVal Param1 As String, Optional ByVal FlagArgument As Boolean = True)\n If FlagArgument Then\...
2008/11/19
[ "https://Stackoverflow.com/questions/303214", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4575/" ]
303,216
<p>I'm trying to use a <code>break</code> statement in a <code>for</code> loop, but since I'm also using strict subs in my Perl code, I'm getting an error saying:</p> <blockquote> <p>Bareword "break" not allowed while "strict subs" in use at ./final.pl line 154.</p> </blockquote> <p>Is there a workaround for th...
[ { "answer_id": 303231, "author": "Zain Rizvi", "author_id": 21539, "author_profile": "https://Stackoverflow.com/users/21539", "pm_score": 10, "selected": true, "text": "for my $entry (@array){\n if ($string eq \"text\"){\n last;\n }\n}\n" }, { "answer_id": 303261, ...
2008/11/19
[ "https://Stackoverflow.com/questions/303216", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21539/" ]
303,218
<p>I was wondering if there was a way to bind an ArrayList (or any kind of List, for that matter) to a PreparedStatement which will eventually be used to access an Oracle database. I found:</p> <p><a href="https://stackoverflow.com/questions/178479/alternatives-for-java-sql-preparedstatement-in-clause-issue">Prepared...
[ { "answer_id": 303282, "author": "erickson", "author_id": 3474, "author_profile": "https://Stackoverflow.com/users/3474", "pm_score": 4, "selected": true, "text": "SELECT NAME FROM ITEM WHERE ID IN (?, ?, ?, ?)\n PreparedStatement String Integer PreparedStatements" }, { "answer_i...
2008/11/19
[ "https://Stackoverflow.com/questions/303218", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8026/" ]
303,248
<p>What is the proper way to load a <code>ListBox</code> in C# .NET 2.0 Winforms?</p> <p>I thought I could just bind it to a <code>DataTable</code>. No such luck.<br> I thought I could bind it with a <code>Dictionary</code>. No luck. </p> <p>Do I have to write an class called <code>KeyValuePair</code>, and then use ...
[ { "answer_id": 303268, "author": "Jason Sundram", "author_id": 2683, "author_profile": "https://Stackoverflow.com/users/2683", "pm_score": 3, "selected": false, "text": "class MyDataType\n{\n public string ToString()\n {\n //return the text you want to display\n }\n}\n ListBox l;\n...
2008/11/19
[ "https://Stackoverflow.com/questions/303248", "https://Stackoverflow.com", "https://Stackoverflow.com/users/36590/" ]
303,284
<p>Soo... F# no longer has IEnumerable.map_with_type... which is the way people <em>were</em> mapping over collections. How do I do that now?</p> <pre><code>let urlPat = "href\\s*=\\s*(?:(?:\\\"(?&lt;url&gt;[^\\\"]*)\\\")|(?&lt;url&gt;[^\\s]* ))";; let urlRegex = new Regex(urlPat) let matches = urlRegex.Matches(h...
[ { "answer_id": 304225, "author": "Tomas Petricek", "author_id": 33518, "author_profile": "https://Stackoverflow.com/users/33518", "pm_score": 5, "selected": true, "text": "let urls = Seq.map matchToUrl (Seq.cast matches);;\n let urls = matches|> Seq.cast |> Seq.map matchToUrl;;\n matchTo...
2008/11/19
[ "https://Stackoverflow.com/questions/303284", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9401/" ]
303,287
<p>I have a series of Extension methods to help with null-checking on IDataRecord objects, which I'm currently implementing like this:</p> <pre><code>public static int? GetNullableInt32(this IDataRecord dr, int ordinal) { int? nullInt = null; return dr.IsDBNull(ordinal) ? nullInt : dr.GetInt32(ordinal); } pub...
[ { "answer_id": 303310, "author": "TcKs", "author_id": 20382, "author_profile": "https://Stackoverflow.com/users/20382", "pm_score": -1, "selected": false, "text": "DataRow record = GetSomeRecord();\nint? someNumber = record[15] as int?\nGuid? someUID = record[\"MyPrimaryKey\"] as Guid?;\...
2008/11/19
[ "https://Stackoverflow.com/questions/303287", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1249/" ]
303,314
<p>Does anyone know of a CSS Adapter for the LinkButton control for ASP.Net 2?</p> <p><strong>Update:</strong></p> <p>We are trying to use CSS Buttons. We are using this approach: <a href="http://www.oscaralexander.com/tutorials/how-to-make-sexy-buttons-with-css.html" rel="nofollow noreferrer">http://www.oscaralexand...
[ { "answer_id": 303489, "author": "GeekyMonkey", "author_id": 29900, "author_profile": "https://Stackoverflow.com/users/29900", "pm_score": 0, "selected": false, "text": "<a...><span>[text]</span></a>\n" }, { "answer_id": 303882, "author": "Damir Zekić", "author_id": 40151...
2008/11/19
[ "https://Stackoverflow.com/questions/303314", "https://Stackoverflow.com", "https://Stackoverflow.com/users/25020/" ]
303,318
<p>I want to index a computed column in my database table which uses a number of user defined functions. However I just learned that my column is non-deterministic.</p> <p>Without indexing its going to be way to slow to run queries that I need.</p> <p>What's the best way of tracing through user defined functions to d...
[ { "answer_id": 303373, "author": "Cade Roux", "author_id": 18255, "author_profile": "https://Stackoverflow.com/users/18255", "pm_score": 2, "selected": false, "text": "SELECT *\nFROM INFORMATION_SCHEMA.ROUTINES\nWHERE IS_DETERMINISTIC = 'NO'\n AND ROUTINE_TYPE = 'FUNCTION'\n...
2008/11/19
[ "https://Stackoverflow.com/questions/303318", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26140/" ]
303,324
<p>We are looking for a free solution to compress our SQL Server backups for SQL Server 2005. I am aware of SQL Safe freeware edition, but I was wondering what others thought of storing backup files in compressed folders to achieve the desired result. This would allow us to use the native SQL backup tasks and native ...
[ { "answer_id": 1787178, "author": "Clay Lenhart", "author_id": 113088, "author_profile": "https://Stackoverflow.com/users/113088", "pm_score": 2, "selected": false, "text": "msbp.exe backup \"db(database=model)\" \"zip64\" \"local(path=c:\\model.full.bak.zip)\"\n" }, { "answer_id...
2008/11/19
[ "https://Stackoverflow.com/questions/303324", "https://Stackoverflow.com", "https://Stackoverflow.com/users/30419/" ]
303,336
<p>I have made some changes to a site and need to re-host it as the current host is ceasing to exist. My client has received the following from the current host:</p> <p>"The best thing to tell them is that, due to the fact that we are withdrawing our service completely, we would look to fully transfer the web site ad...
[ { "answer_id": 303348, "author": "Owen", "author_id": 4853, "author_profile": "https://Stackoverflow.com/users/4853", "pm_score": 2, "selected": false, "text": "Domain name:\n amazon.co.uk\n\nRegistrant:\n Amazon Europe Holding Technologies SCS\n\nRegistrant type:\n Unknown\n\nR...
2008/11/19
[ "https://Stackoverflow.com/questions/303336", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16684/" ]
303,338
<p>We have a need to leverage client side resources for lists containing tasks.</p> <p>The client needs to:</p> <ul> <li>be notified of updates to the list</li> <li>be able to re-order/filter the list (requesting an update from the server with tasks that the client does not know of/have in cache)</li> </ul> <p>The p...
[ { "answer_id": 303348, "author": "Owen", "author_id": 4853, "author_profile": "https://Stackoverflow.com/users/4853", "pm_score": 2, "selected": false, "text": "Domain name:\n amazon.co.uk\n\nRegistrant:\n Amazon Europe Holding Technologies SCS\n\nRegistrant type:\n Unknown\n\nR...
2008/11/19
[ "https://Stackoverflow.com/questions/303338", "https://Stackoverflow.com", "https://Stackoverflow.com/users/37193/" ]
303,360
<p>I'm making heavy use of PropertySheets in my application framework's configuration editor. I like them a lot because it's pretty easy to work with them (once you learn how) and make the editing bulletproof.</p> <p>One of the things that I'm storing in my configuration are Python scripts. It's possible to edit a P...
[ { "answer_id": 16244797, "author": "Rob Farquharson", "author_id": 2324372, "author_profile": "https://Stackoverflow.com/users/2324372", "pm_score": 2, "selected": false, "text": "System.Drawing.Design.UITypeEditor StringArrayEditor public class StringArrayEditor : System.Drawing.Design....
2008/11/19
[ "https://Stackoverflow.com/questions/303360", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19403/" ]