qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
200,314
<p>I'm writing a WinForms app which has two modes: console or GUI. Three projects within the same solution, one for the console app, one for the UI forms and the third to hold the logic that the two interfaces will both connect too. The Console app runs absolutely smoothly. </p> <p>A model which holds the user-select...
[ { "answer_id": 200347, "author": "Skizz", "author_id": 1898, "author_profile": "https://Stackoverflow.com/users/1898", "pm_score": 2, "selected": false, "text": "object Form.SomeFunction (args)\n{\n if (InvokeRequired)\n {\n return Invoke (new delegate (Form.Somefunction), args);\n ...
2008/10/14
[ "https://Stackoverflow.com/questions/200314", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2902/" ]
200,319
<p>Is it possible to store web content (such as JSPs, HTML, images, CSS etc) in a JAR file?</p> <p>I've been looking at various options at modularising our web applications and this is one possibility.</p> <p>We are currently using JSF and Facelets for our view technology - I'm thinking it may be possible to write so...
[ { "answer_id": 200581, "author": "Martin Spamer", "author_id": 15527, "author_profile": "https://Stackoverflow.com/users/15527", "pm_score": 2, "selected": false, "text": "this.getClass().getClassLoader().getResourceAsStream( filename ) ;\n" }, { "answer_id": 207990, "author"...
2008/10/14
[ "https://Stackoverflow.com/questions/200319", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
200,330
<p>I have created a custom installer dll &amp; everything is working fine. I just want to call another installer's <code>Uninstall</code> method from my current installation. When I do this, I get <code>error code 1618</code> (signifies another installer is already running). However when I call the <code>uninstall</...
[ { "answer_id": 200374, "author": "Matthew Scharley", "author_id": 15537, "author_profile": "https://Stackoverflow.com/users/15537", "pm_score": 0, "selected": false, "text": "HKEY_LOCAL(MACHINE|USER)\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\{PROGRAM}" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/200330", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
200,337
<p>I've never learnt JavaScript, but I imagine this is quite a simple problem. Just wanted to know which method is most advised these days.</p>
[ { "answer_id": 200339, "author": "Owen", "author_id": 4853, "author_profile": "https://Stackoverflow.com/users/4853", "pm_score": 8, "selected": true, "text": "// use this to avoid redirects when a user clicks \"back\" in their browser\nwindow.location.replace('http://somewhereelse.com')...
2008/10/14
[ "https://Stackoverflow.com/questions/200337", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11324/" ]
200,372
<p>I think it important to have an "<strong>undo</strong>" method ala <strong>gmail</strong> when destroying records instead of displaying an annoying popup that says, "<em>Are you sure?</em>".</p> <p>The way that I've implemented this is to have a "deleted_at" timestamp column in the model which gets timestamped when...
[ { "answer_id": 200419, "author": "user27732", "author_id": 27732, "author_profile": "https://Stackoverflow.com/users/27732", "pm_score": -1, "selected": false, "text": "class Action\n{\n Perform(context);\n Undo(context);\n}\n" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/200372", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6048/" ]
200,373
<p>I want to filter two list with any fastest method in python script. I have used the built-in <code>filter()</code> method for this purpose. but it is quite slow and taking too much time because I have very big list, I think more than 5 million item in each list or may be more. I do not know how I will make it. Plea...
[ { "answer_id": 200634, "author": "gimel", "author_id": 6491, "author_profile": "https://Stackoverflow.com/users/6491", "pm_score": 4, "selected": false, "text": "from itertools import ifilter\n\ndef is_important(s):\n return len(s)>10\n\nfiltered_list = ifilter(is_important, open('myli...
2008/10/14
[ "https://Stackoverflow.com/questions/200373", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17451/" ]
200,378
<p>The CSS syntax highlighting in vim is not entirely optimal. For example: </p> <pre><code>div.special_class </code></pre> <p>stops the highlighting at the <code>_</code>. </p> <p>Is there an improved highlighter that doesn't bite on an underscore?</p> <p>Update: I'm using VIM - Vi IMproved 7.1 (2007 May 12, compi...
[ { "answer_id": 200389, "author": "Tomalak", "author_id": 18771, "author_profile": "https://Stackoverflow.com/users/18771", "pm_score": 1, "selected": false, "text": "\" Vim syntax file\n\" Language: Cascading Style Sheets\n\" Maintainer: Claudio Fleiner <claudio@fleiner.com>\n\" URL: ...
2008/10/14
[ "https://Stackoverflow.com/questions/200378", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1896/" ]
200,380
<p>I need to model a system where by there will be a team who will consist of users who perform roles in the team and have skills assigned to them.</p> <p><em>i.e. a team A 5 members, one performs the team leader role, all perform the reply to email role, but some have an extra skill to answer the phone</em></p> <p>I...
[ { "answer_id": 200680, "author": "Cheery", "author_id": 21711, "author_profile": "https://Stackoverflow.com/users/21711", "pm_score": 1, "selected": false, "text": "class Team\n container[Member] members\n\nclass Member\n container[Role] roles\n container[Skill] skills\n" }, ...
2008/10/14
[ "https://Stackoverflow.com/questions/200380", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15352/" ]
200,384
<p>What is meant by "Constant Amortized Time" when talking about time complexity of an algorithm?</p>
[ { "answer_id": 249695, "author": "Artelius", "author_id": 31945, "author_profile": "https://Stackoverflow.com/users/31945", "pm_score": 11, "selected": true, "text": "O(1) O(n) O(m) O(1)" }, { "answer_id": 41739246, "author": "Megamozg", "author_id": 1204780, "author_...
2008/10/14
[ "https://Stackoverflow.com/questions/200384", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6561/" ]
200,386
<p>I want to set some attributes just before the object is serialized, but as it can be serialized from several locations, is there a way to do this using the OnSerializing method (or similar) for Xml serialization - my class is largely like this - but the On... methods are not being called...:</p> <pre><code>[Seriali...
[ { "answer_id": 200426, "author": "Kent Boogaart", "author_id": 5380, "author_profile": "https://Stackoverflow.com/users/5380", "pm_score": 4, "selected": true, "text": "XmlSerializer DataContractSerializer" }, { "answer_id": 7512613, "author": "Jatinder Walia", "author_id...
2008/10/14
[ "https://Stackoverflow.com/questions/200386", "https://Stackoverflow.com", "https://Stackoverflow.com/users/48310/" ]
200,387
<p>I have two multidimensional arrays (well actually they're only 2D) which have inferred size. How do I deep clone them? Here's what I have gotten so far:</p> <pre><code>public foo(Character[][] original){ clone = new Character[original.length][]; for(int i = 0; i &lt; original.length; i++) clone[i]...
[ { "answer_id": 200418, "author": "abahgat", "author_id": 27565, "author_profile": "https://Stackoverflow.com/users/27565", "pm_score": 2, "selected": false, "text": "equals Character" }, { "answer_id": 200445, "author": "Andreas Petersson", "author_id": 16542, "author...
2008/10/14
[ "https://Stackoverflow.com/questions/200387", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
200,393
<p>I'm rebuilding a site with a lot of incoming links, and the URL structure is completely changing. I'm using the stock mod_rewrite solution to redirect all old links to new pages. However, as I'm sure a few links will slip through the net, I've built a small script that runs on my custom 404 page, to log the incoming...
[ { "answer_id": 200418, "author": "abahgat", "author_id": 27565, "author_profile": "https://Stackoverflow.com/users/27565", "pm_score": 2, "selected": false, "text": "equals Character" }, { "answer_id": 200445, "author": "Andreas Petersson", "author_id": 16542, "author...
2008/10/14
[ "https://Stackoverflow.com/questions/200393", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26107/" ]
200,394
<p>I'm trying to design an application to hold academic reference information. The problem is that each different type of reference (eg. journal articles, books, newspaper articles etc) requires different information. For example a journal reference requires both a journal title and an article title, and also a page n...
[ { "answer_id": 200671, "author": "Corey Trager", "author_id": 9328, "author_profile": "https://Stackoverflow.com/users/9328", "pm_score": 2, "selected": false, "text": "create view book as \nselect id, field_common-to-book-and-journal, field-specific-to-book\nfrom my-one-big-table\nwher...
2008/10/14
[ "https://Stackoverflow.com/questions/200394", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1912/" ]
200,422
<p>I need to call a <a href="http://en.wikipedia.org/wiki/VBScript" rel="noreferrer">VBScript</a> file (.vbs file extension) in my C# Windows application. How can I do this? </p> <p>There is an add-in to access a VBScript file in Visual Studio. But I need to access the script in code behind. How to do this?</p>
[ { "answer_id": 200429, "author": "Ilya Kochetov", "author_id": 15329, "author_profile": "https://Stackoverflow.com/users/15329", "pm_score": 7, "selected": true, "text": "System.Diagnostics.Process.Start(@\"cscript //B //Nologo c:\\scripts\\vbscript.vbs\");\n Process scriptProc = new Pro...
2008/10/14
[ "https://Stackoverflow.com/questions/200422", "https://Stackoverflow.com", "https://Stackoverflow.com/users/22162/" ]
200,430
<p>I've tried a couple of approaches to update a column in a mySQL database table from another table but am not having any luck. </p> <p>I read somewhere that version 3.5.2 does not support multi-table updates and I need a code-based solution - is that correct?</p> <p>If not can anybody point me in the right directio...
[ { "answer_id": 201664, "author": "Bill Karwin", "author_id": 20860, "author_profile": "https://Stackoverflow.com/users/20860", "pm_score": 3, "selected": true, "text": "SELECT CONCAT( \n 'UPDATE products SET products_ordered = ', \n SUM(products_quantity), \n ' WHERE product_id = ', ...
2008/10/14
[ "https://Stackoverflow.com/questions/200430", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9948/" ]
200,439
<p>I'm sorry for this very newbish question, I'm not much given into web development. I've got this cool JavaScript in a .js file that we want to use on a small web site. (It's a script to run Cooliris on it).</p> <p>How do use the .js file or attach it to my HTML code?</p>
[ { "answer_id": 200448, "author": "gizmo", "author_id": 9396, "author_profile": "https://Stackoverflow.com/users/9396", "pm_score": 3, "selected": false, "text": "<script type=\"text/javascript\" src=\"myfile.js\"></script>\n" }, { "answer_id": 200453, "author": "Tamas Czinege...
2008/10/14
[ "https://Stackoverflow.com/questions/200439", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26004/" ]
200,447
<p>I am trying to setup tracd for the project I am currently working on. After creating a password file with the python script given in the <a href="http://trac.edgewall.org/wiki/TracStandalone" rel="noreferrer">site</a> I am trying to start the server with authentication on. But it throws up warning saying No users fo...
[ { "answer_id": 3844015, "author": "spade78", "author_id": 397366, "author_profile": "https://Stackoverflow.com/users/397366", "pm_score": 3, "selected": false, "text": "username:realm:passwordhash python trac-digest.py -u user -p pass >> digest.txt\n user:trac:1d395970d2a9a075d0536a4d6e4...
2008/10/14
[ "https://Stackoverflow.com/questions/200447", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13440/" ]
200,469
<p>What is the technical difference between a process and a thread?</p> <p>I get the feeling a word like 'process' is overused and there are also hardware and software threads. How about light-weight processes in languages like <a href="http://en.wikipedia.org/wiki/Erlang_%28programming_language%29" rel="noreferrer">E...
[ { "answer_id": 19518207, "author": "Robert S. Barnes", "author_id": 71074, "author_profile": "https://Stackoverflow.com/users/71074", "pm_score": 8, "selected": false, "text": "Per process items | Per thread items\n------------------------------|-----------------\nAddress spa...
2008/10/14
[ "https://Stackoverflow.com/questions/200469", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27081/" ]
200,470
<p>We have found out that Firefox (at least v3) and Safari don't properly cache images referenced from a css file. The images are cached, but they are never refreshed, even if you change them on the server. Once Firefox has the image in the cache, it will never check if it has changed.</p> <p>Our css file looks like t...
[ { "answer_id": 200868, "author": "PhiLho", "author_id": 15459, "author_profile": "https://Stackoverflow.com/users/15459", "pm_score": 2, "selected": false, "text": "site-look-124.css newsitem_background-7.jpg." }, { "answer_id": 200922, "author": "Jrgns", "author_id": 668...
2008/10/14
[ "https://Stackoverflow.com/questions/200470", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12416/" ]
200,476
<p>Let's say I have a class</p> <pre><code>public class ItemController:Controller { public ActionResult Login(int id) { return View("Hi", id); } } </code></pre> <p>On a page that is not located at the Item folder, where <code>ItemController</code> resides, I want to create a link to the <code>Logi...
[ { "answer_id": 201206, "author": "Adhip Gupta", "author_id": 384, "author_profile": "https://Stackoverflow.com/users/384", "pm_score": 4, "selected": false, "text": "Html.ActionLink(article.Title, \"Login/\" + article.ArticleID, 'Item\") \n" }, { "answer_id": 201341, "author"...
2008/10/14
[ "https://Stackoverflow.com/questions/200476", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3834/" ]
200,483
<p>Is there a way to find all the class dependencies of a java main class?</p> <p>I have been manually sifting through the imports of the main class and it's imports but then realized that, because one does not have to import classes that are in the same package, I was putting together an incomplete list.</p> <p>I ne...
[ { "answer_id": 49875251, "author": "Andrushenko Alexander", "author_id": 6093953, "author_profile": "https://Stackoverflow.com/users/6093953", "pm_score": 0, "selected": false, "text": "ClassLoader cl = ClassLoader.getSystemClassLoader();\nURL[] urls = ((URLClassLoader) cl).getURLs();\nf...
2008/10/14
[ "https://Stackoverflow.com/questions/200483", "https://Stackoverflow.com", "https://Stackoverflow.com/users/939/" ]
200,484
<p>I'm trying to create a use-once HTTP server to handle a single callback and need help with finding a free TCP port in Ruby.</p> <p>This is the skeleton of what I'm doing:</p> <pre><code>require 'socket' t = STDIN.read port = 8081 while s = TCPServer.new('127.0.0.1', port).accept puts s.gets s.print "HTTP/1.1 2...
[ { "answer_id": 200795, "author": "Marius Marais", "author_id": 13455, "author_profile": "https://Stackoverflow.com/users/13455", "pm_score": 2, "selected": false, "text": "require 'socket'\nt = STDIN.read\n\nport = 8080 # preferred port\nbegin\n server = TCPServer.new('127.0.0.1', port)...
2008/10/14
[ "https://Stackoverflow.com/questions/200484", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13455/" ]
200,488
<p>How would I set an image to come from a theme directory (my theme changes so I don't want to directly reference) I am sure this is possible but every example I find doesn't seem to work. They are usually along the lines of:</p> <p>asp:image ID="Image1" runat="server" ImageUrl="~/Web/Mode1.jpg" /</p> <p>where Web w...
[ { "answer_id": 200840, "author": "Joe", "author_id": 13087, "author_profile": "https://Stackoverflow.com/users/13087", "pm_score": 0, "selected": false, "text": "<asp:Image runat=\"server\" ImageUrl=\"filename.ext\" />\n <asp:Image runat=\"server\" ImageUrl=\"Web/filename.ext\" />\n <asp...
2008/10/14
[ "https://Stackoverflow.com/questions/200488", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16989/" ]
200,499
<p>Does anybody have a keybinding scheme similar to VS 2005 available for Eclipse?</p> <p>How to import it into preferences of Eclipse (I see only export button).</p>
[ { "answer_id": 544635, "author": "Luke Quinane", "author_id": 18437, "author_profile": "https://Stackoverflow.com/users/18437", "pm_score": 4, "selected": false, "text": "Eclipse Platform\n\nVersion: 3.4.1\nBuild id: M20080911-1700\n" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/200499", "https://Stackoverflow.com", "https://Stackoverflow.com/users/501/" ]
200,513
<p>i have a bunch of sql scripts that should upgrade the database when the java web application starts up.</p> <p>i tried using the ibatis scriptrunner, but it fails gloriously when defining triggers, where the ";" character does not mark an end of statement.</p> <p>now i have written my own version of a script runne...
[ { "answer_id": 232854, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 3, "selected": false, "text": "setDelimiter(String, boolean) runScript setDelimter(\"/\", false)" }, { "answer_id": 2251863, "author": "Nitin", ...
2008/10/14
[ "https://Stackoverflow.com/questions/200513", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16542/" ]
200,525
<p>Here is the input (html, not xml):</p> <pre><code>... html content ... &lt;tag1&gt; content for tag 1 &lt;/tag1&gt; &lt;tag2&gt; content for tag 2 &lt;/tag2&gt; &lt;tag3&gt; content for tag 3 &lt;/tag3&gt; ... html content ... </code></pre> <p>I would like to get 3 matches, each with two groups. First group would ...
[ { "answer_id": 200540, "author": "Marc Gravell", "author_id": 23354, "author_profile": "https://Stackoverflow.com/users/23354", "pm_score": 1, "selected": false, "text": "string input = @\"<html>...some html content <b> etc </b> ...\n<user> hello <b>mitch</b> </user>\n...some html conten...
2008/10/14
[ "https://Stackoverflow.com/questions/200525", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27787/" ]
200,527
<p>I collect statistics on IP addresses from where users visit my site and I have noticed what there are only two IP addresses presented, 172.16.16.1 and 172.16.16.248. The property I use to determine IP address is</p> <pre><code>Request.UserHostAddress </code></pre> <p>What could be a reason of IP address informatio...
[ { "answer_id": 200546, "author": "Node", "author_id": 7190, "author_profile": "https://Stackoverflow.com/users/7190", "pm_score": 1, "selected": false, "text": "Request.ServerVariables(\"REMOTE_ADDR\") \n" }, { "answer_id": 200661, "author": "Dave Anderson", "author_id": ...
2008/10/14
[ "https://Stackoverflow.com/questions/200527", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11256/" ]
200,545
<p>I have a public facing website that has been receiving a number of SQL injection attacks over the last few weeks. I exclusively use parameterised stored procedures so I believe that there has been no <em>successful</em> attacks, but a recent log showed an interesting technique:</p> <p><em>Line breaks added for cla...
[ { "answer_id": 200548, "author": "Ishmaeel", "author_id": 227, "author_profile": "https://Stackoverflow.com/users/227", "pm_score": 6, "selected": true, "text": "DECLARE @T varchar(255),\n @C varchar(4000) \n\nDECLARE Table_Cursor CURSOR FOR SELECT a.name,b.name\nFROM sysobjects a...
2008/10/14
[ "https://Stackoverflow.com/questions/200545", "https://Stackoverflow.com", "https://Stackoverflow.com/users/993/" ]
200,550
<p>I was just wondering what (if any) the difference was between the following two message traps in MFC for the function, OnSize(..).</p> <h1>1 - Via Message map:</h1> <pre><code>BEGIN_MESSAGE_MAP(CClassWnd, CBaseClassWnd) ... ON_WM_SIZE() .. END_MESSAGE_MAP() </code></pre> <h1>2 - Via afx_message:</h1> <pre><c...
[ { "answer_id": 200645, "author": "ChrisN", "author_id": 3853, "author_profile": "https://Stackoverflow.com/users/3853", "pm_score": 5, "selected": true, "text": "OnSize class CClassWnd : public CBaseClassWnd {\n ...\n afx_msg void OnSize(UINT nType, int cx, int cy);\n DECLARE_ME...
2008/10/14
[ "https://Stackoverflow.com/questions/200550", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18664/" ]
200,574
<p>I'd like to do the equivalent of the following in LINQ, but I can't figure out how:</p> <pre><code>IEnumerable&lt;Item&gt; items = GetItems(); items.ForEach(i =&gt; i.DoStuff()); </code></pre> <p>What is the real syntax?</p>
[ { "answer_id": 200584, "author": "Fredrik Kalseth", "author_id": 1710, "author_profile": "https://Stackoverflow.com/users/1710", "pm_score": 11, "selected": true, "text": "IEnumerable List<T> items.ToList().ForEach(i => i.DoStuff());\n public static void ForEach<T>(this IEnumerable<T> en...
2008/10/14
[ "https://Stackoverflow.com/questions/200574", "https://Stackoverflow.com", "https://Stackoverflow.com/users/192/" ]
200,576
<p>I have a J2EE based web application.</p> <p>In one of the pages there is a button labeled "Print". </p> <p>My problem is something like this: </p> <p>User enters tool names for e.g: ToolName1 ToolName2 ToolName3 </p> <p>Then clicks on "Print". </p> <p>The intended action is that tool details of the 3 tools a...
[ { "answer_id": 200591, "author": "Nick Pierpoint", "author_id": 4003, "author_profile": "https://Stackoverflow.com/users/4003", "pm_score": 2, "selected": false, "text": "<script>\n function printPage() {\n window.print(); \n }\n</script>\n <form>\n<input TYPE=\"button\" on...
2008/10/14
[ "https://Stackoverflow.com/questions/200576", "https://Stackoverflow.com", "https://Stackoverflow.com/users/23414/" ]
200,578
<p>I have some auto-generated code which effectively writes out the following in a bunch of different places in some code:</p> <pre><code>no warnings 'uninitialized'; local %ENV = %ENV; local $/ = $/; local @INC = @INC; local %INC = %INC; local $_ = $_; local $| = $|; local %SIG = %SIG; use warnings 'uninitializ...
[ { "answer_id": 200944, "author": "Adam Bellaire", "author_id": 21632, "author_profile": "https://Stackoverflow.com/users/21632", "pm_score": 3, "selected": false, "text": "local caller() local" }, { "answer_id": 201243, "author": "hexten", "author_id": 10032, "author_...
2008/10/14
[ "https://Stackoverflow.com/questions/200578", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8003/" ]
200,587
<p>I'm trying to set up <a href="http://www.autohotkey.com/" rel="nofollow noreferrer">AutoHotkey</a> macros for some common tasks, and I want the hotkeys to mimic Visual Studio's "two-step shortcut" behaviour - i.e. pressing <kbd>Ctrl</kbd>-<kbd>K</kbd> will enable "macro mode"; within macro mode, pressing certain key...
[ { "answer_id": 201981, "author": "Andres", "author_id": 1815, "author_profile": "https://Stackoverflow.com/users/1815", "pm_score": 4, "selected": true, "text": "^k::\nInput Key, L1\nFormatTime, Time, , yyyy-MM-dd\nif Key = d\n Send %Time%\nreturn\n" }, { "answer_id": 204058, ...
2008/10/14
[ "https://Stackoverflow.com/questions/200587", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5017/" ]
200,599
<p>I am programming a website in which users will have a number of settings, such as their choice of colour scheme, etc. I'm happy to store these as plain text files, and security is not an issue.</p> <p>The way I currently see it is: there is a dictionary, where all the keys are users and the values are dictionaries ...
[ { "answer_id": 200621, "author": "Greg Hewgill", "author_id": 893, "author_profile": "https://Stackoverflow.com/users/893", "pm_score": 0, "selected": false, "text": "repr(dictionary) eval(open(\"file\").read())" }, { "answer_id": 200630, "author": "S.Lott", "author_id": ...
2008/10/14
[ "https://Stackoverflow.com/questions/200599", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11324/" ]
200,602
<p>What is the best way to count the time between two datetime values fetched from MySQL when I need to count only the time between hours 08:00:00-16:00:00.</p> <p>For example if I have values 2008-10-13 18:00:00 and 2008-10-14 10:00:00 the time difference should be 02:00:00.</p> <p>Can I do it with SQL or what is th...
[ { "answer_id": 200606, "author": "Chris S", "author_id": 21574, "author_profile": "https://Stackoverflow.com/users/21574", "pm_score": 3, "selected": false, "text": "mysql> SELECT TIMEDIFF('2000:01:01 00:00:00',\n -> '2000:01:01 00:00:00.000001');\n -> '-00:00:0...
2008/10/14
[ "https://Stackoverflow.com/questions/200602", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
200,609
<p>Can you recommend a Java library for reading, parsing, validating and mapping rows in a comma separated value (CSV) file to Java value objects (JavaBeans)?</p>
[ { "answer_id": 200656, "author": "Vihung", "author_id": 15452, "author_profile": "https://Stackoverflow.com/users/15452", "pm_score": 2, "selected": false, "text": " ColumnPositionMappingStrategy strat = new ColumnPositionMappingStrategy();\n strat.setType(YourOrderBean.class);\n Stri...
2008/10/14
[ "https://Stackoverflow.com/questions/200609", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15452/" ]
200,617
<p>If I have a <code>Linq</code> to <code>SQL</code> expression like this:</p> <pre><code> from subscription in dbContext.Subscriptions where subscription.Expires &gt; DateTime.Now select subscription </code></pre> <p>I want this to to use the SQL Servers <code>GETDATE()</code> function instead of the time of the m...
[ { "answer_id": 200961, "author": "Panos", "author_id": 8049, "author_profile": "https://Stackoverflow.com/users/8049", "pm_score": 3, "selected": false, "text": "public partial class YourDataContext\n{\n public DateTime GetDate()\n {\n return ExecuteQuery<DateTime>(\"SELECT GETDATE(...
2008/10/14
[ "https://Stackoverflow.com/questions/200617", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8547/" ]
200,640
<p>Here's the information <a href="http://www.php.net/manual/en/language.basic-syntax.php" rel="noreferrer">according to the official documentation</a>:</p> <blockquote> <p>There are four different pairs of opening and closing tags which can be used in PHP. Two of those, <code>&lt;?php ?&gt;</code> and <code>&...
[ { "answer_id": 200650, "author": "ConroyP", "author_id": 2287, "author_profile": "https://Stackoverflow.com/users/2287", "pm_score": 4, "selected": false, "text": "<?php <?" }, { "answer_id": 200666, "author": "Oli", "author_id": 12870, "author_profile": "https://Stac...
2008/10/14
[ "https://Stackoverflow.com/questions/200640", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1896/" ]
200,662
<p>Is there a way to make sure a (large, 300K) background picture is always displayed first BEFORE any other content is shown on the page?</p> <p>On the server we have access to PHP.</p>
[ { "answer_id": 200672, "author": "Kent Fredric", "author_id": 15614, "author_profile": "https://Stackoverflow.com/users/15614", "pm_score": 3, "selected": true, "text": "<html>\n <body>\n <image here/>\n <div id=\"content\" style=\"display:none;\" >\n\n </div>\n <script type...
2008/10/14
[ "https://Stackoverflow.com/questions/200662", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4639/" ]
200,663
<p>I need a way to get the elapsed time (wall-clock time) since a program started, in a way that is resilient to users meddling with the system clock.</p> <p>On windows, the non standard clock() implementation doesn't do the trick, as it appears to work just by calculating the difference with the time sampled at start...
[ { "answer_id": 201651, "author": "shodanex", "author_id": 11589, "author_profile": "https://Stackoverflow.com/users/11589", "pm_score": 2, "selected": false, "text": "static void timer_thread(void * arg)\n{\n struct timespec delay;\n unsigned int msecond_delay = ((app_state...
2008/10/14
[ "https://Stackoverflow.com/questions/200663", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
200,676
<p>I want to sprintf() an unsigned long long value in visual C++ 6.0 (plain C).</p> <pre><code>char buf[1000]; //bad coding unsigned __int64 l = 12345678; char t1[6] = "test1"; char t2[6] = "test2"; sprintf(buf, "%lli, %s, %s", l, t1, t2); </code></pre> <p>gives the result</p> <pre><code>12345678, (null), test1 ...
[ { "answer_id": 200696, "author": "gimel", "author_id": 6491, "author_profile": "https://Stackoverflow.com/users/6491", "pm_score": -1, "selected": false, "text": "additionaltext char * long int %s (null)" }, { "answer_id": 200763, "author": "ChrisN", "author_id": 3853, ...
2008/10/14
[ "https://Stackoverflow.com/questions/200676", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27800/" ]
200,686
<p>I'm having a quite complex model with many fields, <code>has_many</code> associations, images added by <code>image_column</code> etc...</p> <p>The New object will be added by a multi page form (8 steps) - How should I accomplish validation and propagation between those steps?</p> <p>I think <code>validation_group<...
[ { "answer_id": 361120, "author": "Sarah Vessels", "author_id": 38743, "author_profile": "https://Stackoverflow.com/users/38743", "pm_score": 2, "selected": false, "text": "step_1 step_2 step_3 step_2 step_2 params[:name] params[:email] step_3 params[:age] params[:gender]" }, { "a...
2008/10/14
[ "https://Stackoverflow.com/questions/200686", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17405/" ]
200,691
<p>How can I use/display characters like ♥, ♦, ♣, or ♠ in Java/Eclipse?</p> <p>When I try to use them directly, e.g. in the source code, Eclipse cannot save the file.</p> <p>What can I do?</p> <p>Edit: How can I find the unicode escape sequence?</p>
[ { "answer_id": 200708, "author": "Joe Lencioni", "author_id": 18986, "author_profile": "https://Stackoverflow.com/users/18986", "pm_score": 6, "selected": true, "text": "♥ \\u2665\n♦ \\u2666\n♣ \\u2663\n♠ \\u2660\n" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/200691", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12860/" ]
200,721
<p>I'm interested in compilers, interpreters and languages.</p> <p>What is the most interesting, but forgotten or unknown, language you know about? And more importantly, why? </p> <p>I'm interested both in compiled, interpreted and VM languages, but <em>not</em> esoteric languages like Whitespace or BF. <br>Open sour...
[ { "answer_id": 201084, "author": "Greg Mattes", "author_id": 13940, "author_profile": "https://Stackoverflow.com/users/13940", "pm_score": 1, "selected": false, "text": "COME FROM GOTO" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/200721", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27204/" ]
200,724
<p>Is there a way to have XAML properties scale along with the size of the uielements they belong to?</p> <p>In essence, I have a control template that I have created too large for it's use/ mainly because I want to use the same control with different sizes. The problem is that I can set the control size to Auto (in t...
[ { "answer_id": 200909, "author": "Enrico Campidoglio", "author_id": 26396, "author_profile": "https://Stackoverflow.com/users/26396", "pm_score": 2, "selected": true, "text": "<Button>\n <Button.Template>\n <ControlTemplate TargetType={x:Type Button}>\n <Border Width...
2008/10/14
[ "https://Stackoverflow.com/questions/200724", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6251/" ]
200,729
<p>An initial draft of requirements specification has been completed and now it is time to take stock of requirements, <a href="https://stackoverflow.com/questions/186716/when-reviewing-requirements-specification-what-deadly-sins-need-to-be-addressed">review the specification</a>. Part of this process is to make sure t...
[ { "answer_id": 245832, "author": "Steven A. Lowe", "author_id": 9345, "author_profile": "https://Stackoverflow.com/users/9345", "pm_score": 3, "selected": true, "text": "acquisition --> stewardship --> disposal\n" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/200729", "https://Stackoverflow.com", "https://Stackoverflow.com/users/22088/" ]
200,737
<p>I want to get the full path of the running process (executable) without having root permission using C++ code. Can someone suggest a way to achieve this.</p> <p>on Linux platforms i can do it by using following way.</p> <pre><code>char exepath[1024] = {0}; char procid[1024] = {0}; char exelink[1024] = {0}; sprint...
[ { "answer_id": 201248, "author": "Caleb Huitt - cjhuitt", "author_id": 9876, "author_profile": "https://Stackoverflow.com/users/9876", "pm_score": 0, "selected": false, "text": "int main( int argc, char** argv )\n{\n string full_prog_path = argv[0];\n if ( full_prog_path[0] == \"/\" )\...
2008/10/14
[ "https://Stackoverflow.com/questions/200737", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27804/" ]
200,738
<p>Using the PHP <a href="http://www.php.net/pack" rel="noreferrer">pack()</a> function, I have converted a string into a binary hex representation:</p> <pre><code>$string = md5(time); // 32 character length $packed = pack('H*', $string); </code></pre> <p>The H* formatting means "Hex string, high nibble first".</p> ...
[ { "answer_id": 200761, "author": "MvdD", "author_id": 18044, "author_profile": "https://Stackoverflow.com/users/18044", "pm_score": 3, "selected": false, "text": ">>> from struct import *\n>>> pack('hhl', 1, 2, 3)\n'\\x00\\x01\\x00\\x02\\x00\\x00\\x00\\x03'\n>>> unpack('hhl', '\\x00\\x01...
2008/10/14
[ "https://Stackoverflow.com/questions/200738", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2183/" ]
200,742
<p>I have the following line of text</p> <pre><code>Reference=*\G{7B35DDAC-FFE2-4435-8A15-CF5C70F23459}#1.0#0#..\..\..\bin\App Components\AcmeFormEngine.dll#ACME Form Engine </code></pre> <p>and wish to grab the following as two separate capture groups:</p> <pre><code>AcmeFormEngine.dll ACME Form Engine </code></pre...
[ { "answer_id": 200758, "author": "Bartek Szabat", "author_id": 23774, "author_profile": "https://Stackoverflow.com/users/23774", "pm_score": 1, "selected": false, "text": " using System.Text.RegularExpressions;\n\n Regex regex = new Regex(\n @\"\\\\(?<filename>[\\w\\.]+)\\#(?<co...
2008/10/14
[ "https://Stackoverflow.com/questions/200742", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
200,743
<p>I need a WiX 3 script to display to display only 2 dialogs: Welcome &amp; Completed. Thats it no need for EULA, folder selection etc. All help appreciated.</p>
[ { "answer_id": 259685, "author": "CheGueVerra", "author_id": 17787, "author_profile": "https://Stackoverflow.com/users/17787", "pm_score": 7, "selected": true, "text": "<UI Id=\"UserInterface\">\n <Property Id=\"WIXUI_INSTALLDIR\" Value=\"TARGETDIR\" />\n <Property Id=\"WixUI_Mode\" Va...
2008/10/14
[ "https://Stackoverflow.com/questions/200743", "https://Stackoverflow.com", "https://Stackoverflow.com/users/22941/" ]
200,746
<p>How do I split strings in J2ME in an effective way?</p> <p>There is a <a href="http://download.oracle.com/javase/1.4.2/docs/api/java/util/StringTokenizer.html" rel="noreferrer"><code>StringTokenizer</code></a> or <a href="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html#split%28java.lang.Strin...
[ { "answer_id": 200760, "author": "Guido", "author_id": 12388, "author_profile": "https://Stackoverflow.com/users/12388", "pm_score": 2, "selected": false, "text": "String.indexOf() String.substring()" }, { "answer_id": 200798, "author": "Rob Bell", "author_id": 2179408, ...
2008/10/14
[ "https://Stackoverflow.com/questions/200746", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3713/" ]
200,755
<p>In a LINQ to SQL class, why are the properties that are created from the foreign keys <code>EntitySet</code> objects, which implement <code>IEnumerable</code>, where as the objects on the <code>DataContext</code> are <code>Table</code> objects which implement <code>IQueryable</code>?</p> <p><strong>EDIT:</strong> T...
[ { "answer_id": 201667, "author": "Amy B", "author_id": 8155, "author_profile": "https://Stackoverflow.com/users/8155", "pm_score": 2, "selected": false, "text": "ctx.Matches.Where(x => x.MatchID == 1).Single()\n ctx.Matches\n .Where(m => m.MatchID == 1)\n .Select(m => m.MatchPlayers.Ma...
2008/10/14
[ "https://Stackoverflow.com/questions/200755", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27782/" ]
200,757
<p>Our policy when delivering a new version is to create a branch in our VCS and handle it to our QA team. When the latter gives the green light, we tag and release our product. The branch is kept to receive (only) bug fixes so that we can create technical releases. Those bug fixes are subsequently merged on the trun...
[ { "answer_id": 583650, "author": "Jonik", "author_id": 56285, "author_profile": "https://Stackoverflow.com/users/56285", "pm_score": 3, "selected": false, "text": "svn merge --reintegrate" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/200757", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4177/" ]
200,785
<p>When creating a new object that is mapped to one of my SQL Server tables, LINQ inserts a new record into the table when I call SubmitChanges. I want to prevent this, but still need my new object.</p> <p>I know about the custom methods, but is there anyway to disable this behaviour so that it just updates existing ...
[ { "answer_id": 200809, "author": "Marc Gravell", "author_id": 23354, "author_profile": "https://Stackoverflow.com/users/23354", "pm_score": 2, "selected": false, "text": "partial class DataClasses1DataContext\n{\n public override void SubmitChanges(System.Data.Linq.ConflictMode failur...
2008/10/14
[ "https://Stackoverflow.com/questions/200785", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11989/" ]
200,810
<p>I'm trying to create an access control system. </p> <p>Here's a stripped down example of what the table I'm trying to control access to looks like:</p> <pre><code>things table: id group_id name 1 1 thing 1 2 1 thing 2 3 1 thing 3 4 1 thing 4 5 2 thing...
[ { "answer_id": 200851, "author": "Tony Andrews", "author_id": 18747, "author_profile": "https://Stackoverflow.com/users/18747", "pm_score": 2, "selected": true, "text": "select thing.*, coalesce ( ( select access\n from access\n w...
2008/10/14
[ "https://Stackoverflow.com/questions/200810", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17121/" ]
200,813
<p>I'm creating a bunch of migrations, some of which are standard "create table" or "modify table" migrations, and some of which modify data. I'm using my actual ActiveRecord models to modify the data, a la:</p> <pre><code>Blog.all.each do |blog| update_some_blog_attributes_to_match_new_schema end </code></pre> <p...
[ { "answer_id": 200815, "author": "James A. Rosen", "author_id": 1190, "author_profile": "https://Stackoverflow.com/users/1190", "pm_score": 8, "selected": true, "text": "Blog.reset_column_information\n" }, { "answer_id": 200889, "author": "Jon Smock", "author_id": 25538, ...
2008/10/14
[ "https://Stackoverflow.com/questions/200813", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1190/" ]
200,822
<p>I've been trying to track this one for literally a month now without any success. I have this piece of code on an car advertising website which basically allows thumbnails to rotate in search results given that a car has multiple pictures. You can see it in action at the following:</p> <blockquote> <p><a href="ht...
[ { "answer_id": 200865, "author": "Daniel Silveira", "author_id": 1100, "author_profile": "https://Stackoverflow.com/users/1100", "pm_score": 0, "selected": false, "text": " ...\n\n if (ads.length > 0)\n {\n this.imagesFx = new Fx.Elements(elements,\n {\n ...
2008/10/14
[ "https://Stackoverflow.com/questions/200822", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26210/" ]
200,839
<p>When using resources such as brushes, templates and styles in WPF, they can be specified either as StaticResources </p> <pre><code>&lt;Rectangle Fill="{StaticResource MyBrush}" /&gt; </code></pre> <p>or as a DynamicResource</p> <pre><code>&lt;ItemsControl ItemTemplate="{DynamicResource MyItemTemplate}" /&gt; </c...
[ { "answer_id": 4559797, "author": "Akshay J", "author_id": 264136, "author_profile": "https://Stackoverflow.com/users/264136", "pm_score": 7, "selected": false, "text": "<Window x:Class=\"WpfApplicationWPF.CommandsWindow\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/pre...
2008/10/14
[ "https://Stackoverflow.com/questions/200839", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8521/" ]
200,842
<p>We're creating a Interaction design pattern website for a class. We've been using google docs to create the patterns list during the classes, sharing it with the teacher for evaluation.</p> <p>So the environment is this:</p> <ul> <li>We've been able to fetch a single image from each presentation we want to display...
[ { "answer_id": 4559797, "author": "Akshay J", "author_id": 264136, "author_profile": "https://Stackoverflow.com/users/264136", "pm_score": 7, "selected": false, "text": "<Window x:Class=\"WpfApplicationWPF.CommandsWindow\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/pre...
2008/10/14
[ "https://Stackoverflow.com/questions/200842", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26004/" ]
200,847
<p>I'm trying to decide on the best strategy for accessing the database. I understand that this is a generic question and there's no a single good answer, but I will provide some guidelines on what I'm looking for. The last few years we have been using our own persistence framework, that although limited has served as ...
[ { "answer_id": 201086, "author": "Petros", "author_id": 2812, "author_profile": "https://Stackoverflow.com/users/2812", "pm_score": 0, "selected": false, "text": "using (UnitOfWork uow = new UnitOfWork())\n{\n Order order = new Order(uow);\n order.Date = DateTime.Now();\n uow.CommitCh...
2008/10/14
[ "https://Stackoverflow.com/questions/200847", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24065/" ]
200,857
<p>Was reading up a bit on my C++, and found this article about RTTI (Runtime Type Identification): <a href="http://msdn.microsoft.com/en-us/library/70ky2y6k(VS.80).aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/70ky2y6k(VS.80).aspx</a> . Well, that's another subject :) - However, I stumbled up...
[ { "answer_id": 200870, "author": "Greg Rogers", "author_id": 5963, "author_profile": "https://Stackoverflow.com/users/5963", "pm_score": 5, "selected": false, "text": "const char *getHelloString() const\n{\n return \"HelloWorld!\";\n}\n" }, { "answer_id": 200886, "author":...
2008/10/14
[ "https://Stackoverflow.com/questions/200857", "https://Stackoverflow.com", "https://Stackoverflow.com/users/25745/" ]
200,858
<p>I just noticed that you can do this in C#:</p> <pre><code>Unit myUnit = 5; </code></pre> <p>instead of having to do this:</p> <pre><code>Unit myUnit = new Unit(5); </code></pre> <p>Does anyone know how I can achieve this with my own structs? I had a look at the Unit struct with reflector and noticed the TypeConv...
[ { "answer_id": 200881, "author": "Marc Gravell", "author_id": 23354, "author_profile": "https://Stackoverflow.com/users/23354", "pm_score": 6, "selected": true, "text": " public struct Unit\n { // the conversion operator...\n public static implicit operator Unit(int value)...
2008/10/14
[ "https://Stackoverflow.com/questions/200858", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21966/" ]
200,863
<p>Trying to include ThickBox (from <a href="http://jquery.com/demo/thickbox/" rel="noreferrer">http://jquery.com/demo/thickbox/</a>) in an ASP.NET application.</p> <p>Visual Studio is failing when I try to run the application with the error: js\ThickBox\jquery-1.2.6.min.js(11): error CS1056: Unexpected character '$'<...
[ { "answer_id": 20398941, "author": "Lucky", "author_id": 1799217, "author_profile": "https://Stackoverflow.com/users/1799217", "pm_score": 0, "selected": false, "text": "script type=\"text/javascript\" id=\"kk\" runat=\"server\" src=\"js/vendor/custom.modernizr.js\" \n" }, { "an...
2008/10/14
[ "https://Stackoverflow.com/questions/200863", "https://Stackoverflow.com", "https://Stackoverflow.com/users/450139/" ]
200,869
<p>I've been trying to call Page Methods from my own JavaScript code but it doesn't work. If I use jQuery AJAX I can sucessfully call the Page Methods, but I need to do this from my own JavaScript code because we can't use third-party libraries (we are building our own library).</p> <p>Whenever I use jQuery AJAX metho...
[ { "answer_id": 201208, "author": "Brendan Kendrick", "author_id": 13473, "author_profile": "https://Stackoverflow.com/users/13473", "pm_score": 2, "selected": false, "text": "Partial Public Class state\n Implements ICallbackEventHandler\n\n Private _callbackArg As String\n\n Pro...
2008/10/14
[ "https://Stackoverflow.com/questions/200869", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27813/" ]
200,878
<p>Ok, let's see if I can make this make sense. </p> <p>I have a program written that parses an Excel file and it works just fine. I use the following to get into the file:</p> <pre><code>string FileToConvert = Server.MapPath(".") + "\\App_Data\\CP-ARFJN-FLAG.XLS"; string connectionString = "Provider=Microsoft.Jet....
[ { "answer_id": 61722978, "author": "4EverBalaji", "author_id": 13515359, "author_profile": "https://Stackoverflow.com/users/13515359", "pm_score": -1, "selected": false, "text": "[OleDbException] External table is not in the expected format. at System.Data.OleDb.OleDbConnectionInternal...
2008/10/14
[ "https://Stackoverflow.com/questions/200878", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14777/" ]
200,887
<p>I'm working on a system were a user can edit existing objects ("Filter" domain objects to be exact) through a GUI. As a UI hint, we only want to enable the save button if the user really modified something to the object. I was wondering if anyone had any experience with this problem and what the best way would be to...
[ { "answer_id": 202573, "author": "Adrian", "author_id": 11304, "author_profile": "https://Stackoverflow.com/users/11304", "pm_score": 2, "selected": false, "text": "public class Person : INotifyPropertyChanged, IEditableObject\n{\n private bool isDirty;\n\n public bool IsDirty\n ...
2008/10/14
[ "https://Stackoverflow.com/questions/200887", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17255/" ]
200,890
<p>SUMMARY: When browsing an ASP.NET website using Windows Explorer, popup windows do not "borrow" the session cookie from the parent window.</p> <p>DETAILS:</p> <p>I'm working on an ASP.NET website (.NET 2.0). I use FormsAuthentication. It is a requirement to use cookies to handle the session.</p> <p>On a page I ha...
[ { "answer_id": 202573, "author": "Adrian", "author_id": 11304, "author_profile": "https://Stackoverflow.com/users/11304", "pm_score": 2, "selected": false, "text": "public class Person : INotifyPropertyChanged, IEditableObject\n{\n private bool isDirty;\n\n public bool IsDirty\n ...
2008/10/14
[ "https://Stackoverflow.com/questions/200890", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27819/" ]
200,894
<p>We are trying to create some tests that reference an vendors custom grid. Unfortunatly QTP only recognises it as a WinObject which is quite useless. We need to be able to navigate the grid and change cell values, double click on a cell(without using X,Y co-ordinates) etc.</p> <p>Ideally we want to get QTP to under...
[ { "answer_id": 201349, "author": "Tom E", "author_id": 9267, "author_profile": "https://Stackoverflow.com/users/9267", "pm_score": 1, "selected": false, "text": "WinObject(\"mygrid\").Object.CurRow = 1 WinObject(\"mygrid\").Object.CurCol = 1 WinObject(\"mygrid\").Object.Value = \"my new ...
2008/10/14
[ "https://Stackoverflow.com/questions/200894", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
200,900
<p>I need to access some members marked internal that are declared in a third party assembly.</p> <p>I would like to return a value from a particular internal property in a class. Then I'd like to retrieve a value from a property on that returned value. However, these properties return types that are also internal and...
[ { "answer_id": 200991, "author": "Marc Gravell", "author_id": 23354, "author_profile": "https://Stackoverflow.com/users/23354", "pm_score": 3, "selected": true, "text": "sing System;\nusing System.Reflection;\npublic class Foo\n{\n public Foo() {Bar = new Bar { Name = \"abc\"};}\n ...
2008/10/14
[ "https://Stackoverflow.com/questions/200900", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6651/" ]
200,901
<p>Is the WriteFile call properly synchronous, and can I delete the file written immediately after the call?</p>
[ { "answer_id": 201102, "author": "Keith Twombley", "author_id": 23866, "author_profile": "https://Stackoverflow.com/users/23866", "pm_score": 3, "selected": false, "text": "Response.WriteFile() Response.Flush()" }, { "answer_id": 1726016, "author": "ypicasso", "author_id"...
2008/10/14
[ "https://Stackoverflow.com/questions/200901", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8741/" ]
200,912
<p>Some files are uploaded with a reported MIME type:</p> <pre><code>image/x-citrix-pjpeg </code></pre> <p>They are valid jpeg files and I accept them as such.</p> <p>I was wondering however: why is the MIME type different?<br> Is there any difference in the format? or was this mimetype invented by some light bulb a...
[ { "answer_id": 200963, "author": "ConroyP", "author_id": 2287, "author_profile": "https://Stackoverflow.com/users/2287", "pm_score": 3, "selected": false, "text": "image/x-citrix-pjpeg" }, { "answer_id": 646167, "author": "Jacco", "author_id": 22674, "author_profile":...
2008/10/14
[ "https://Stackoverflow.com/questions/200912", "https://Stackoverflow.com", "https://Stackoverflow.com/users/22674/" ]
200,924
<p>I'm subclassing a native window (the edit control of a combobox...)</p> <p>oldWndProc = SetWindowLong(HandleOfCbEditControl, GWL_WNDPROC, newWndProc);</p> <p>In my subclassing wndproc, I'll have code like this, right, but I can't figure out the syntax for calling the oldWndProc.</p> <pre><code> int MyWndProc(i...
[ { "answer_id": 201144, "author": "Martin Plante", "author_id": 4898, "author_profile": "https://Stackoverflow.com/users/4898", "pm_score": 1, "selected": false, "text": "[DllImport(\"user32\")]\nprivate static extern int CallWindowProc(IntPtr lpPrevWndFunc, IntPtr hWnd, int Msg, int wPar...
2008/10/14
[ "https://Stackoverflow.com/questions/200924", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9328/" ]
200,925
<p>In CakePHP putting a querystring in the url doesn't cause it to be automatically parsed and split like it normally is when the controller is directly invoked. </p> <p>For example:</p> <pre><code>$this-&gt;testAction('/testing/post?company=utCompany', array('return' =&gt; 'vars')) ; </code></pre> <p>will result in...
[ { "answer_id": 201120, "author": "Ryan Boucher", "author_id": 27818, "author_profile": "https://Stackoverflow.com/users/27818", "pm_score": 2, "selected": false, "text": "$data = array ('company' => 'utCompany') ;\n\n$result = $this->testAction('/testing/post', array\n(\n 'return' => ...
2008/10/14
[ "https://Stackoverflow.com/questions/200925", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27818/" ]
200,932
<p>When indenting java code with annotations, vim insists on indenting like this:</p> <pre><code>@Test public void ... </code></pre> <p>I want the annotation to be in the same column as the method definition but I can't seem to find a way to tell vim to do that, except maybe using an indent expression but I'm not...
[ { "answer_id": 211820, "author": "WMR", "author_id": 2844, "author_profile": "https://Stackoverflow.com/users/2844", "pm_score": 4, "selected": true, "text": "filetype plugin indent on /usr/share/vim/vim71/indent/java.vim ~/.vim/indent/java.vim let lnum = prevnonblank(v:lnum - 1)\nlet li...
2008/10/14
[ "https://Stackoverflow.com/questions/200932", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10098/" ]
200,939
<p>I am using tinyMCE as my text editor on my site and i want to reformat the text before saving it to my database (changing the &amp;rsquo; tags into ' then in to &amp;#39;). I cannot find a simple way of doing this using tinyMCe and using htmlentities() changes everything including &lt;>. Any ideas?</p>
[ { "answer_id": 200949, "author": "Tomasz Tybulewicz", "author_id": 17405, "author_profile": "https://Stackoverflow.com/users/17405", "pm_score": 3, "selected": false, "text": "strip_tags($str, $allowed_tags) $txt = strip_tags($txt, '<p><a><br>');\n" }, { "answer_id": 201154, ...
2008/10/14
[ "https://Stackoverflow.com/questions/200939", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
200,945
<p>I'm trying to run an ASP.NET 2.0 application on an XP machine. As far as I know, everything is configured correctly. However, I receive the following message:</p> <blockquote> <p>Server Application Unavailable</p> </blockquote> <p>And two events appear in the Application event log each time:</p> <blockquote> ...
[ { "answer_id": 9698424, "author": "PraveenVenu", "author_id": 581771, "author_profile": "https://Stackoverflow.com/users/581771", "pm_score": 1, "selected": false, "text": "aspnet_regiis -ga machinename\\ASPNET\n" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/200945", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27824/" ]
200,960
<p>I have a need to find all of the writable storage devices attached to a given machine, <strong>whether or not</strong> they are mounted.</p> <p>The dopey way to do this would be to <em>try</em> every entry in <code>/dev</code> that corresponds to a writable devices (<code>hd* and sd*</code>)......</p> <p>Is there ...
[ { "answer_id": 201000, "author": "Mihai Limbășan", "author_id": 14444, "author_profile": "https://Stackoverflow.com/users/14444", "pm_score": 3, "selected": false, "text": "ls /sys/block" }, { "answer_id": 201091, "author": "Steve Baker", "author_id": 13566, "author_p...
2008/10/14
[ "https://Stackoverflow.com/questions/200960", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4418/" ]
200,966
<p>I have these two pieces of code, wich one is more readable?</p> <ol> <li><p>foreach</p> <pre><code>decimal technicalPremium = 0; foreach (Risk risk in risks) { technicalPremium = technicalPremium + risk.TechnicalPremium; } return technicalPremium; </code></pre></li> <li><p>linq</p> <pre><code>return risks.Su...
[ { "answer_id": 201165, "author": "Cristian Libardo", "author_id": 16526, "author_profile": "https://Stackoverflow.com/users/16526", "pm_score": 4, "selected": false, "text": "return risks.SumTechnicalPremium();\n" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/200966", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12514/" ]
200,986
<p><em>Edit: <br>My problem is not a problem anymore: I have redo my performances tests and I have do a fatal stupid error: I had forget a x1000 to get seconds from milliseconds :/ Sorry for that guys.<br> For info: <br> - I do some 1900 updates per second from my PC to the DataBase server on local network.<br> -...
[ { "answer_id": 201002, "author": "Marc Gravell", "author_id": 23354, "author_profile": "https://Stackoverflow.com/users/23354", "pm_score": 2, "selected": false, "text": "SqlBulkCopy" }, { "answer_id": 201042, "author": "Joel Coehoorn", "author_id": 3043, "author_prof...
2008/10/14
[ "https://Stackoverflow.com/questions/200986", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26071/" ]
201,004
<p>I have a WCF service running on the IIS with a ServiceHostFactory. It's running fine with the WSHttpBinding but because of the speed and everything being on the same network (no firewalls) i want to speed up things a bit using the NetTcpBinding instead.</p> <p>When i try to do that i get this error:</p> <blockquot...
[ { "answer_id": 9735829, "author": "Matt Roberts", "author_id": 24109, "author_profile": "https://Stackoverflow.com/users/24109", "pm_score": 4, "selected": false, "text": "c:\\windows\\system32\\inetsrv appcmd.exe set app \"NameOfWebsite/\" /enabledProtocols:http,net.tcp" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/201004", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11619/" ]
201,023
<p>What alternatives do I have to implement a union query using hibernate? I know hibernate does not support union queries at the moment, right now the only way I see to make a union is to use a view table.</p> <p>The other option is to use plain jdbc, but this way I would loose all my example/criteria queries goodies...
[ { "answer_id": 3940445, "author": "sfussenegger", "author_id": 178526, "author_profile": "https://Stackoverflow.com/users/178526", "pm_score": 6, "selected": false, "text": "id in (select id from ...) or id in (select id from ...) from Person p where p.name=\"Joe\"\nunion\nfrom Person p ...
2008/10/14
[ "https://Stackoverflow.com/questions/201023", "https://Stackoverflow.com", "https://Stackoverflow.com/users/22992/" ]
201,066
<p>I have deployed ASP.NET web site and ASP.NET web service on the same web server. Both of them require access to shared file. </p> <p>How to implement/share lock that supports single writers and multiple readers? If somebody reads, nobody can write, but all still can read. If somebody writes, nobody can read/write.<...
[ { "answer_id": 201113, "author": "Bartek Szabat", "author_id": 23774, "author_profile": "https://Stackoverflow.com/users/23774", "pm_score": 3, "selected": true, "text": "System.IO.File.Open(\"path.txt\",System.IO.FileMode.OpenOrCreate,System.IO.FileAccess.ReadWrite,System.IO.FileShare.R...
2008/10/14
[ "https://Stackoverflow.com/questions/201066", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2625/" ]
201,070
<p>I ran accross a CSR file (Certificate Signing Request) and I need to extract some information from it.</p> <p>There's a way to decode it using .NET Framework?</p>
[ { "answer_id": 353536, "author": "erickson", "author_id": 3474, "author_profile": "https://Stackoverflow.com/users/3474", "pm_score": 5, "selected": false, "text": "openssl req -text -in request.csr\n" }, { "answer_id": 9493878, "author": "Ε Г И І И О", "author_id": 68719...
2008/10/14
[ "https://Stackoverflow.com/questions/201070", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7720/" ]
201,101
<p>I have a large array in <strong>C</strong> (not <strong>C++</strong> if that makes a difference). I want to initialize all members of the same value.</p> <p>I could swear I once knew a simple way to do this. I could use <code>memset()</code> in my case, but isn't there a way to do this that is built right into the ...
[ { "answer_id": 201116, "author": "aib", "author_id": 1088, "author_profile": "https://Stackoverflow.com/users/1088", "pm_score": 11, "selected": true, "text": "int myArray[10] = { 5, 5, 5, 5, 5, 5, 5, 5, 5, 5 };\n int myArray[10] = { 1, 2 }; // initialize to 1,2,0,0,0...\n int myArray[10...
2008/10/14
[ "https://Stackoverflow.com/questions/201101", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17693/" ]
201,141
<p>I am writing some JNI code in C that I wish to test using cunit. In order to call the JNI functions, I need to create a valid JNIEnv struct.</p> <p>Does anyone know if there is a mocking framework for such a purpose, or who can give me some pointers on how to create a mock JNIEnv struct myself?</p>
[ { "answer_id": 203250, "author": "Adam Mitz", "author_id": 2574, "author_profile": "https://Stackoverflow.com/users/2574", "pm_score": 3, "selected": true, "text": "#include \"jni.h\"\n#include <iostream>\n\njint JNICALL MockGetVersion(JNIEnv *)\n{\n return 23;\n}\n\nJNINativeInterface_...
2008/10/14
[ "https://Stackoverflow.com/questions/201141", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7122/" ]
201,170
<p>I am currently looking for a way to be notified when a child is added to the visual or logical children.</p> <p>I am aware of the Visual::OnVisualChildrenChanged method, but it does not apply to me since I can't always inherit and override this function. I am looking for an event.</p> <p>So, is there a way for th...
[ { "answer_id": 1114901, "author": "Kenan E. K.", "author_id": 133143, "author_profile": "https://Stackoverflow.com/users/133143", "pm_score": 1, "selected": false, "text": "public class ElementChildrenChangedEventArgs\n{\n public ElementChildrenChangedEventArgs(FrameworkElement parent...
2008/10/14
[ "https://Stackoverflow.com/questions/201170", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12082/" ]
201,178
<p>I feel like a fool, but here goes:</p> <pre><code>public interface IHasErrorController{ ErrorController ErrorController { get; set; } } public class DSErrorController: ErrorController{yadi yadi ya} public class DSWebsiteController : Controller, IHasErrorController{ public DSErrorController ErrorController {...
[ { "answer_id": 201192, "author": "Marc Gravell", "author_id": 23354, "author_profile": "https://Stackoverflow.com/users/23354", "pm_score": 4, "selected": true, "text": "ErrorController IHasErrorControlloer.ErrorController {\n get {return this.ErrorController;}\n set {this.ErrorControl...
2008/10/14
[ "https://Stackoverflow.com/questions/201178", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11333/" ]
201,183
<p>A strict equality operator will tell you if two object <strong>types</strong> are equal. However, is there a way to tell if two objects are equal, <strong>much like the hash code</strong> value in Java?</p> <p>Stack Overflow question <em><a href="https://stackoverflow.com/questions/194846">Is there any kind of hash...
[ { "answer_id": 201265, "author": "nickf", "author_id": 9021, "author_profile": "https://Stackoverflow.com/users/9021", "pm_score": 5, "selected": false, "text": "var a = { foo : \"bar\" };\nvar b = { foo : \"bar\" };\nalert (a == b ? \"Equal\" : \"Not equal\");\n// \"Not equal\"\n functi...
2008/10/14
[ "https://Stackoverflow.com/questions/201183", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
201,188
<p>Is it possible to reference system environment variables (as opposed to Java system properties) in a log4j xml configuration file?</p> <p>I'd like to be able to do something like:</p> <pre><code>&lt;level value="${env.LOG_LEVEL}" /&gt; </code></pre> <p>and have it get that from the system environment variables, s...
[ { "answer_id": 201489, "author": "Einar", "author_id": 2964, "author_profile": "https://Stackoverflow.com/users/2964", "pm_score": 6, "selected": false, "text": "<level value=\"${log_level}\" />\n java -Dlog_level=$LOG_LEVEL your_app\n" }, { "answer_id": 203941, "author": "Ma...
2008/10/14
[ "https://Stackoverflow.com/questions/201188", "https://Stackoverflow.com", "https://Stackoverflow.com/users/22070/" ]
201,191
<p>We are using Linq To SQL with our own data context logic that executes the one linq query across multiple databases. When we get the results back, we need the database for each of the rows. So...</p> <p>I want to have a property on my class that will return the database name (SQL Server, so DB_NAME()). How can I...
[ { "answer_id": 201489, "author": "Einar", "author_id": 2964, "author_profile": "https://Stackoverflow.com/users/2964", "pm_score": 6, "selected": false, "text": "<level value=\"${log_level}\" />\n java -Dlog_level=$LOG_LEVEL your_app\n" }, { "answer_id": 203941, "author": "Ma...
2008/10/14
[ "https://Stackoverflow.com/questions/201191", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5189/" ]
201,204
<p>I have a MDB running in WebSphere, when it tries to pull a message off an MQ Queue the following exception is thrown:</p> <p>com.ibm.mq.MQException: Message catalog not found </p> <p>Any idea how to resolve this?</p>
[ { "answer_id": 906429, "author": "Aaron Digulla", "author_id": 34088, "author_profile": "https://Stackoverflow.com/users/34088", "pm_score": 0, "selected": false, "text": " // PATCH New fields\n private final static IntHashMap completionCodes = new IntHashMap ();\n private final...
2008/10/14
[ "https://Stackoverflow.com/questions/201204", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
201,235
<p>I need to import all ad groups in a few OUs into a table in SQL Server 2008. Once I have those I need to import all the members of those groups to a different table. I can use c# to do the work and pass the data to SQL server or do it directly in SQL server.</p> <p>Suggestions on the best way to approach this?</p...
[ { "answer_id": 207923, "author": "Matthias Meid", "author_id": 17713, "author_profile": "https://Stackoverflow.com/users/17713", "pm_score": 3, "selected": true, "text": "\"(&(objectCategory=Person)(memberOf=DN=GroupName, OU=Org, DC=domain,\nDC=com))\"\n" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/201235", "https://Stackoverflow.com", "https://Stackoverflow.com/users/26792/" ]
201,255
<p>Using C#, does anyone know how to get the MarshalAsAttribute's Sizeconst value in runtime ?</p> <p>Eg. I would like to retrieve the value of 10.</p> <pre><code>[StructLayout[LayoutKind.Sequential, Pack=1] Class StructureToMarshalFrom { [MarshalAs(UnmanagedType.ByValArray, SizeConst = 10)] public byte[] _va...
[ { "answer_id": 201266, "author": "Jon Skeet", "author_id": 22656, "author_profile": "https://Stackoverflow.com/users/22656", "pm_score": 3, "selected": true, "text": "FieldInfo field = typeof(StructureToMarshalFrom).GetField(\"_value1\");\nobject[] attributes = field.GetCustomAttributes(...
2008/10/14
[ "https://Stackoverflow.com/questions/201255", "https://Stackoverflow.com", "https://Stackoverflow.com/users/279238/" ]
201,261
<p>Let's say that I create a Sub (not a function) whose mission in life is to take the active cell (i.e. Selection) and set an adjacent cell to some value. This works fine.</p> <p>When you try to convert that Sub to a Function and try to evaluate it from from spreadsheet (i.e. setting it's formula to "=MyFunction()")...
[ { "answer_id": 201552, "author": "GvS", "author_id": 11492, "author_profile": "https://Stackoverflow.com/users/11492", "pm_score": 2, "selected": false, "text": "Public Function Bar(r As Range) As Integer\n If r.Value = 2 Then\n Bar = 0\n Else\n Bar = 128\n End If\nEnd Function\...
2008/10/14
[ "https://Stackoverflow.com/questions/201261", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7311/" ]
201,282
<p>Microsoft SQL Server and MySQL have an INFORMATION_SCHEMA table that I can query. However it does not exist in an MS Access database.</p> <p>Is there an equivalent I can use?</p>
[ { "answer_id": 201297, "author": "Ilya Kochetov", "author_id": 15329, "author_profile": "https://Stackoverflow.com/users/15329", "pm_score": 1, "selected": false, "text": "SELECT \n Table_Name = Name, \nFROM \n MSysObjects \nWHERE \n (Left([Name],1)<>\"~\") \n AND (Left([Name...
2008/10/14
[ "https://Stackoverflow.com/questions/201282", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5978/" ]
201,287
<p>I have a swing application that includes radio buttons on a form. I have the <code>ButtonGroup</code>, however, looking at the available methods, I can't seem to get the name of the selected <code>JRadioButton</code>. Here's what I can tell so far:</p> <ul> <li><p>From ButtonGroup, I can perform a <code>getSelectio...
[ { "answer_id": 201313, "author": "Draemon", "author_id": 26334, "author_profile": "https://Stackoverflow.com/users/26334", "pm_score": 7, "selected": true, "text": "JRadioButtons isSelected() ButtonGroup" }, { "answer_id": 201429, "author": "Chobicus", "author_id": 151482...
2008/10/14
[ "https://Stackoverflow.com/questions/201287", "https://Stackoverflow.com", "https://Stackoverflow.com/users/21987/" ]
201,292
<p>By default if you connect to a remote SQL Server via an account that has access to say 1 of the 10 databases. You will still see in the Object Explorer all other databases, obviously due to permissions you cannot actually query them, but you can see their names.</p> <p>I have heard that there is a method that disa...
[ { "answer_id": 201334, "author": "NotMe", "author_id": 2424, "author_profile": "https://Stackoverflow.com/users/2424", "pm_score": 0, "selected": false, "text": "use master\ngo\ndeny VIEW any DATABASE to login1\ngo\n" } ]
2008/10/14
[ "https://Stackoverflow.com/questions/201292", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13279/" ]
201,314
<p>In my javascript experience, I found that is a very common task "searching the nearest ancestor of an element with some condition (tag name, class,...)". Can the parents() method of jquery do the job? The order of returned elements of parents() is predictable? Is top-to-bottom or bottom-to-top? For the moment I us...
[ { "answer_id": 201330, "author": "nickf", "author_id": 9021, "author_profile": "https://Stackoverflow.com/users/9021", "pm_score": 5, "selected": true, "text": "closest() $('#foo').closest('.bar'); <div id=\"a\">\n <div id=\"b\">\n <p id=\"c\">\n <a id=\"d\"></a>\n ...
2008/10/14
[ "https://Stackoverflow.com/questions/201314", "https://Stackoverflow.com", "https://Stackoverflow.com/users/27789/" ]
201,323
<p>Over the years I have slowly developed a <a href="http://en.wikipedia.org/wiki/Regular_expression" rel="noreferrer">regular expression</a> that validates <em>most</em> email addresses correctly, assuming they don't use an IP address as the server part.</p> <p>I use it in several PHP programs, and it works most of th...
[ { "answer_id": 201336, "author": "Per Hornshøj-Schierbeck", "author_id": 11619, "author_profile": "https://Stackoverflow.com/users/11619", "pm_score": 8, "selected": false, "text": "^\\w+([-+.']\\w+)*@\\w+([-.]\\w+)*\\.\\w+([-.]\\w+)*$\n" }, { "answer_id": 201340, "author": "...
2008/10/14
[ "https://Stackoverflow.com/questions/201323", "https://Stackoverflow.com", "https://Stackoverflow.com/users/24215/" ]
201,327
<p>I just added xUnit to our test project (for the Asserts, we're still using MSTest as the framework) and immediately the test runs refused to execute any of the tests. This is the error message:</p> <blockquote> <p>Failed to queue test run '{ .... }' Test run deployment issue: The location of the file or direc...
[ { "answer_id": 340358, "author": "Davy Landman", "author_id": 11098, "author_profile": "https://Stackoverflow.com/users/11098", "pm_score": 4, "selected": false, "text": "caspol -machine -addgroup 1 -url file://\\\\server/share/* FullTrust -name DevShare\n" }, { "answer_id": 1249...
2008/10/14
[ "https://Stackoverflow.com/questions/201327", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9913/" ]