qid int64 4 22.2M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
379,346 | <p>The ampoule project uses some tags in docstring, like the javadoc ones. </p>
<p>For example from <a href="http://bazaar.launchpad.net/~dialtone/ampoule/main/annotate/26?file_id=pool.py-20080501191749-jqawtxogk4i0quu3-12" rel="noreferrer">pool.py</a> line 86:</p>
<pre><code>def start(self, ampChild=None):
"""
... | [
{
"answer_id": 380737,
"author": "cdleary",
"author_id": 3594,
"author_profile": "https://Stackoverflow.com/users/3594",
"pm_score": 4,
"selected": false,
"text": "def start(self, ampChild=None):\n \"\"\"Starts the ProcessPool with a given child protocol.\n\n :param ampChild: a :cl... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379346",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36131/"
] |
379,352 | <p>The CherryPy web server can supposedly be deployed in the Google App Engine.</p>
<p>Who has done it, and what was the experience like?</p>
<p>What special effort was required (configuration, etc.)?</p>
<p>Would you recommend it to others?</p>
| [
{
"answer_id": 1262233,
"author": "RoutineOp",
"author_id": 4780,
"author_profile": "https://Stackoverflow.com/users/4780",
"pm_score": 2,
"selected": false,
"text": " import sys\n sys.path.insert(0, 'cherrypy.zip')\n import cherrypy\n import wsgiref.handlers \n\n class Root:... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379352",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26682/"
] |
379,353 | <p>I'm looking for a lightweight way to make my program (written in C) be able to play audio files on either windows or linux. I am currently using windows native calls, which is essentially just a single call that is passed a filename. I would like something similar that works on linux. </p>
<p>The audio files are ... | [
{
"answer_id": 396378,
"author": "quinmars",
"author_id": 18687,
"author_profile": "https://Stackoverflow.com/users/18687",
"pm_score": 5,
"selected": true,
"text": "\n#include <portaudio.h>\n#include <sndfile.h>\n\nstatic int\noutput_cb(const void * input, void * output, unsigned long f... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379353",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17324/"
] |
379,354 | <p>This one's a tough one - I have a JFrame that generates JTextFields. When I go from generating 2 JTextFields to 12 JTextfields (for example), I see some error where there is an extra differently-sized JTextField at the end. It seems to be a repaint error.</p>
<p><strong>Main.java code:</strong> </p>
<pre><code>im... | [
{
"answer_id": 396378,
"author": "quinmars",
"author_id": 18687,
"author_profile": "https://Stackoverflow.com/users/18687",
"pm_score": 5,
"selected": true,
"text": "\n#include <portaudio.h>\n#include <sndfile.h>\n\nstatic int\noutput_cb(const void * input, void * output, unsigned long f... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379354",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/51518/"
] |
379,355 | <p>I have a custom control and it works fine...except that the control cannot be rendered on Design Time. ( I am using VS 2008)</p>
<p>I am thinking many people who develop custom controls encounter this problem...The error I get is "Error Creating Control - CustomControlName" Object reference not set to an instance ... | [
{
"answer_id": 390515,
"author": "Glenn Slaven",
"author_id": 2975,
"author_profile": "https://Stackoverflow.com/users/2975",
"pm_score": 0,
"selected": false,
"text": "OnPreRender"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379355",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
379,371 | <p>One of the items in the <a href="http://www.joelonsoftware.com/articles/fog0000000043.html" rel="noreferrer">Joel Test</a> is that a project/company should have a specification.</p>
<p>I'm wondering what makes a spec good. Some companies will write volumes of useless specification that no one ever reads, others wil... | [
{
"answer_id": 41989854,
"author": "thion",
"author_id": 5790233,
"author_profile": "https://Stackoverflow.com/users/5790233",
"pm_score": 1,
"selected": false,
"text": "Feature: Allow new businesses to appear on the map\n\n Scenario Outline: Businesses should provide required data\n\n ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379371",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5010/"
] |
379,380 | <p>So, I have an API that I need to implement in to an existing framework. This API manages interactions with an external server. I've been charged with coming up with a way to create an easily repeatable "pattern," so that if people are working on new projects in the given framework they have a simple solution for i... | [
{
"answer_id": 379443,
"author": "chaos",
"author_id": 47529,
"author_profile": "https://Stackoverflow.com/users/47529",
"pm_score": 3,
"selected": true,
"text": "main->whateverapi->doWhatever()"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379380",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45581/"
] |
379,382 | <p>I have a collection of an object called Bookmarks which is made up of a collection of Bookmarks. This collection of bookmarks are bound to a treeview control. </p>
<p>I can get the bookmarks back out that I need, but I need a copy of the bookmarks so I can work with it and not change the original. </p>
<p>Any ... | [
{
"answer_id": 379395,
"author": "Micah",
"author_id": 17744,
"author_profile": "https://Stackoverflow.com/users/17744",
"pm_score": 0,
"selected": false,
"text": "dim copyOfBookMars as New List(of BookMark)(myOriginalBookMarkList)\n"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379382",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38349/"
] |
379,383 | <p>I have a std::vector containing a handful of numbers, which are not in any particular order, and may or may not have gaps between the numbers - for example, I may have { 1,2,3, 6 } or { 2,8,4,6 } or { 1, 9, 5, 2 }, etc.</p>
<p>I'd like a simple way to look at this vector and say 'give me the lowest number >= 1 whic... | [
{
"answer_id": 379416,
"author": "user7116",
"author_id": 7116,
"author_profile": "https://Stackoverflow.com/users/7116",
"pm_score": 2,
"selected": false,
"text": "std::sort(vec.begin(), vec.end());\nint lowest = 1;\nfor(size_t ii = 1; ii < vec.size(); ++ii)\n{\n if (vec[ii - 1] + 1 ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379383",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/987/"
] |
379,385 | <p>Our dev team is looking for an IDE like vi or nano or even textpad for windows that has the capability to autocomplete and error correction for bash or shell script for linux. Basically something similar to .NET autocompletion where you will be able to see if an </p>
<pre><code> if[ $# -ne 5 ]; then
</code></pre>... | [
{
"answer_id": 380422,
"author": "richq",
"author_id": 4596,
"author_profile": "https://Stackoverflow.com/users/4596",
"pm_score": 3,
"selected": true,
"text": "autocmd FileType sh set makeprg=bash\\ -n\\ '%'\nautocmd FileType sh let &efm = \"%E%f:\\ line\\ %l:\\ %m,\" . &efm\n"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379385",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47222/"
] |
379,412 | <p>I have an application for entering in serial numbers to a database. A serial number has a set number of attributes that defines it and the the user must/may provide them to generate.</p>
<pre><code>public class Serial
{
public string Number {get; set;}
public string Part {get; set;}
public string MfgOr... | [
{
"answer_id": 380422,
"author": "richq",
"author_id": 4596,
"author_profile": "https://Stackoverflow.com/users/4596",
"pm_score": 3,
"selected": true,
"text": "autocmd FileType sh set makeprg=bash\\ -n\\ '%'\nautocmd FileType sh let &efm = \"%E%f:\\ line\\ %l:\\ %m,\" . &efm\n"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379412",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36602/"
] |
379,432 | <p>I have a listbox on an HTML form with a Submit button. The listbox has multiple selection enabled. I am able to select multiple values in the listbox, but I don't know how to figure out what values were selected when the form is submitted. Also, I am adding user generated values to the list box dynamically using ... | [
{
"answer_id": 379990,
"author": "some",
"author_id": 36866,
"author_profile": "https://Stackoverflow.com/users/36866",
"pm_score": 3,
"selected": true,
"text": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379432",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14101/"
] |
379,442 | <p>I'm looking into writing a wxWidget that displays a graphical node network, and therefore does a lot of drawing operations. I know that using Python to do it is going to be slower, but I'd rather get it working and port it later when its functional. Ideally, if the performance hit isn't too great, I'd prefer to ke... | [
{
"answer_id": 379990,
"author": "some",
"author_id": 36866,
"author_profile": "https://Stackoverflow.com/users/36866",
"pm_score": 3,
"selected": true,
"text": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html xmlns... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379442",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46914/"
] |
379,465 | <p>For my program, I'm attempting to replace the value of a specific hash in an external file with a newly created value. The external file has the value tab-delimited from the key, and I had read the hash in from the external file. I've been looking around online, and this is the closest way I could figure out how to ... | [
{
"answer_id": 379481,
"author": "FryGuy",
"author_id": 28776,
"author_profile": "https://Stackoverflow.com/users/28776",
"pm_score": 0,
"selected": false,
"text": "open(IN, \"<<$file\") || die \"can't read file $file\";\nopen(OUT, \">>${file}.tmp\") || die \"can't open file $file\";\nwh... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379465",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
379,487 | <p>I know there is re-sharper for Visual Studio, but is there a really good refactoring tool for Eclipse that is better than the small amount of built in refactors?</p>
<p>Preferably something free.</p>
<p>(Update)</p>
<p>Looking to do things like take all string literals in a file and make them constants.<br>
Solve... | [
{
"answer_id": 2826547,
"author": "ekeren",
"author_id": 287455,
"author_profile": "https://Stackoverflow.com/users/287455",
"pm_score": 2,
"selected": false,
"text": "System.out.println(\"This Line Contains a constant The 42 Constant that is stuck inside\");\n"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379487",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45365/"
] |
379,506 | <p>I have a central authentication application on server a. Server b has one or more applications on the same domain that need to authenticate from server a. It's easy enough to set it up so that the server b apps redirect out to server a. What's not so easy is getting the ReturnURL to be absolute.</p>
<p>Here's the w... | [
{
"answer_id": 379592,
"author": "tvanfosson",
"author_id": 12950,
"author_profile": "https://Stackoverflow.com/users/12950",
"pm_score": 4,
"selected": false,
"text": " public class SSOAuthorizeAttribute : AuthorizeAttribute\n {\n public override void OnAuthorization( \n ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379506",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26364/"
] |
379,512 | <p>I'm trying to write a simple routine where I pass it a URL and it goes and renders the content of the webresponse as a jpg. I found a solution somehwere in C# and ported it to vb.net, however when I run it, it throws an argumentexception "parameter is not valid" when trying to instantiate the image. Can someone ta... | [
{
"answer_id": 379529,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 2,
"selected": false,
"text": ".FromStream()"
},
{
"answer_id": 379534,
"author": "Zachary Yates",
"author_id": 8360,
"author_pro... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379512",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/678/"
] |
379,530 | <p>I can, on some of my systems, get my IP address (192.68.m.n format) by doing this:</p>
<pre><code>addr = IPSocket::getAddress(Socket.gethostname())
</code></pre>
<p>...the trouble is that this only works if the name the local machine uses for itself is the name the DNS server associates with it.</p>
<p>How *&... | [
{
"answer_id": 379557,
"author": "Charlie Martin",
"author_id": 35092,
"author_profile": "https://Stackoverflow.com/users/35092",
"pm_score": 3,
"selected": true,
"text": "see Socket.getaddrinfo()"
},
{
"answer_id": 2702145,
"author": "john3exonets",
"author_id": 324622,
... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379530",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30997/"
] |
379,536 | <p>I have found <a href="http://www.sitepoint.com/dustmeselectors/" rel="nofollow noreferrer">http://www.sitepoint.com/dustmeselectors/</a> which does about the opposite of what I want, identifying selectors in CSS that aren't used in HTML.</p>
<p>I want a tool that will find elements that have a class attribute but t... | [
{
"answer_id": 379564,
"author": "Kenan Banks",
"author_id": 43089,
"author_profile": "https://Stackoverflow.com/users/43089",
"pm_score": 0,
"selected": false,
"text": "class=\"someclass\""
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379536",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13100/"
] |
379,546 | <p>In Haskell, is there a way to restrict a monad <code>M a</code> so that <code>a</code> satisfy a type class constraint?</p>
<p>I am translating the <a href="http://github.com/namin/spots/tree/master/probabilisticModeling/README.markdown" rel="noreferrer">probabilistic modeling example</a> from <a href="http://githu... | [
{
"answer_id": 379608,
"author": "Gregory Higley",
"author_id": 27779,
"author_profile": "https://Stackoverflow.com/users/27779",
"pm_score": 4,
"selected": true,
"text": "(Ord a)"
},
{
"answer_id": 379844,
"author": "namin",
"author_id": 34596,
"author_profile": "htt... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379546",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34596/"
] |
379,551 | <p>What's the simplest, most standard, and/or most efficient way to split a List into two sub-Lists in Java? It's OK to mutate the original List, so no copying should be necessary. The method signature could be</p>
<pre><code>/** Split a list into two sublists. The original list will be modified to
* have size i and ... | [
{
"answer_id": 379584,
"author": "Marc Novakowski",
"author_id": 27020,
"author_profile": "https://Stackoverflow.com/users/27020",
"pm_score": 2,
"selected": false,
"text": "<T> List<T> split(List<T> list, int i) {\n List<T> x = new ArrayList<T>(list.subList(i, list.size()));\n // ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379551",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1412/"
] |
379,556 | <p>I have a large-ish Oracle table containing rows representing units of work, with columns for start time and end time in addition to other meta-data.</p>
<p>I need to generate usage graphs from this data, given some arbitrary filtering criteria and a reporting time period. E.g., show me a graph of all of Alice's jo... | [
{
"answer_id": 380440,
"author": "hamishmcn",
"author_id": 3590,
"author_profile": "https://Stackoverflow.com/users/3590",
"pm_score": 4,
"selected": true,
"text": "SELECT user_name, truncate(event_time, 'YYYYMMDD HH24MI'), count(*)\nFROM job_table\nWHERE event_time > TO_DATE( some start... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379556",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16722/"
] |
379,558 | <p>Here is my scenario. For the example lets say that I need to return a list of cars based on a search criteria. I would like to have a single View to display the results since the output will be the same, but I need several ways of getting there. For instance, I may have a Form with a textbox to search by year. I... | [
{
"answer_id": 379588,
"author": "Matthew",
"author_id": 20162,
"author_profile": "https://Stackoverflow.com/users/20162",
"pm_score": 0,
"selected": false,
"text": "return View(\"SearchResult\", searchResultCollection);\n"
},
{
"answer_id": 379822,
"author": "Dylan Beattie",... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379558",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47576/"
] |
379,560 | <p>By default the BinaryWriter class writes int values with the low bits on the left (e.g. (int)6 becomes 06 00 00 00 when the resulting file is viewed in a hex editor). I need the low bits on the right (e.g. 00 00 00 06). </p>
<p>How do I achieve this?</p>
<p>EDIT: Thanks strager for giving me the name for what I wa... | [
{
"answer_id": 379582,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 4,
"selected": true,
"text": " int i = 6;\n byte[] raw = new byte[4] {\n (byte)(i >> 24), (byte)(i >> 16),\n (by... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379560",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1512/"
] |
379,571 | <p>I have a GridView with a TemplateField with a checkbox. My goal is to capture the onclick event using autopostback and setting a database flag. My only problem is that the event fire's twice. The first time The Checkbox (In the sender parameter) holds the clicked value so I set it based on the click. The second time... | [
{
"answer_id": 482794,
"author": "Lekim",
"author_id": 59266,
"author_profile": "https://Stackoverflow.com/users/59266",
"pm_score": 1,
"selected": false,
"text": "<asp:CheckBox ID=\"CheckBox1\" runat=\"server\" \n **OnCheckedChanged=\"ChangeReadFlag\"**\n AutoPostB... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379571",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4491/"
] |
379,574 | <p>My Java UI unexpectly terminated and dumped an <code>hs_err_pid</code> file. The file says "The crash happened outside the Java Virtual Machine in native code." JNA is the only native code we use. Does anyone know of any know issues or bugs with any JNA version that might cause this. I've included some of the con... | [
{
"answer_id": 379814,
"author": "Lawrence Dol",
"author_id": 8946,
"author_profile": "https://Stackoverflow.com/users/8946",
"pm_score": 1,
"selected": false,
"text": "Stack: [0x02eb0000,0x02f00000], sp=0x02eff4a4, free space=317k\nNative frames: (J=compiled Java code, j=interpreted, Vv... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379574",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47508/"
] |
379,581 | <p>I have an application that I'm trying to debug a crash in. However, it is difficult to detect the problem for a few reasons:</p>
<ul>
<li>The crash happens at shutdown, meaning the offending code isn't on the stack</li>
<li>The crash only happens in release builds, meaning symbols aren't available</li>
</ul>
<p>By... | [
{
"answer_id": 379599,
"author": "Jonathan Leffler",
"author_id": 15168,
"author_profile": "https://Stackoverflow.com/users/15168",
"pm_score": 1,
"selected": false,
"text": "valgrind"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379581",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28776/"
] |
379,594 | <p>I am reading file from ResultSet and it's required to save file into Oracle Database.</p>
<pre><code>...
ResultSet rs = ...
java.sql.Blob myfile = rs.getBlob("field")
java.io.OutputStream os = ((oracle.sql.BLOB) myfile).getBinaryOutputStream();
</code></pre>
<p>I get get this error message</p>
<pre><code>java.lan... | [
{
"answer_id": 379605,
"author": "Dan Vinton",
"author_id": 21849,
"author_profile": "https://Stackoverflow.com/users/21849",
"pm_score": 2,
"selected": false,
"text": "java.sql.Blob"
},
{
"answer_id": 1168936,
"author": "netic",
"author_id": 44534,
"author_profile": ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379594",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44534/"
] |
379,595 | <p>I have this structure in my app:</p>
<p>USER has_one :publicprofile, :privateprofile</p>
<p>PUBLICPROFILE has many :emails, :phonenumbers</p>
<p>PRIVATEPROFILE has many :adresses, :creditcards</p>
<p>I would like to know how to go about having a profile page for the user where I can update his nested resources (... | [
{
"answer_id": 421186,
"author": "Russ Johnson",
"author_id": 52503,
"author_profile": "https://Stackoverflow.com/users/52503",
"pm_score": 2,
"selected": false,
"text": "map.resources :users do |user|\n user.resources :privateprofile\n user.resources :publicprofile\nend\n"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47579/"
] |
379,607 | <p>What is the best way to determine which ASP.NET button was clicked on a single page using JavaScript?</p>
| [
{
"answer_id": 379616,
"author": "Craig",
"author_id": 27294,
"author_profile": "https://Stackoverflow.com/users/27294",
"pm_score": 1,
"selected": false,
"text": "Button1.Attributes.Add(\"onclick\", \"alert('You clicked me!');\");\n"
},
{
"answer_id": 379619,
"author": "Robe... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379607",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26327/"
] |
379,610 | <p>Is it possible to nest html forms like this</p>
<pre><code><form name="mainForm">
<form name="subForm">
</form>
</form>
</code></pre>
<p>so that both forms work? My friend is having problems with this, a part of the <code>subForm</code> works, while another part of it does not.</p>
| [
{
"answer_id": 379622,
"author": "Craig",
"author_id": 27294,
"author_profile": "https://Stackoverflow.com/users/27294",
"pm_score": 10,
"selected": true,
"text": "form"
},
{
"answer_id": 379630,
"author": "Jonathan Lonowski",
"author_id": 15031,
"author_profile": "ht... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379610",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27620/"
] |
379,643 | <p>Some of Oracle's analytic functions allow for a <a href="http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions001.htm#i97640" rel="nofollow noreferrer">windowing clause</a> to specify a subset of the current partition, using keywords like "unbounded preceding/following", "current row", or "value_e... | [
{
"answer_id": 379670,
"author": "user34850",
"author_id": 34850,
"author_profile": "https://Stackoverflow.com/users/34850",
"pm_score": -1,
"selected": false,
"text": " select deptno, \n empno,\n hiredate,\n count(*) over (partition by deptno, trunc(hiredate,'mm')) ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379643",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19239/"
] |
379,648 | <p>I've received some documentation from one of our suppliers for a webservice they're publishing and they're very specific that on one of their WebMethods that an argument has the out modifier(? not sure if that's the right descriptor) for instance consider the following WebMethod signature:</p>
<pre><code>[WebMethod... | [
{
"answer_id": 380108,
"author": "BenAlabaster",
"author_id": 40650,
"author_profile": "https://Stackoverflow.com/users/40650",
"pm_score": 5,
"selected": true,
"text": "[WebMethod]\npublic string Method1()\n{\n return \"This is my return value\";\n}\n\n[WebMethod]\npublic void Method... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379648",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40650/"
] |
379,649 | <p>This code involves a recursive Stored Procedure call and a "not so great" method of avoiding cursor name collision. In the end I don't care if it uses cursors or not. Just looking for the most elegant approach. I'm mainly going to use it as a simple method to track down Stored Proc hierarchies (without buying a prod... | [
{
"answer_id": 379821,
"author": "Steven A. Lowe",
"author_id": 9345,
"author_profile": "https://Stackoverflow.com/users/9345",
"pm_score": 4,
"selected": true,
"text": "CREATE PROCEDURE uspPrintDependencies\n(\n @obj_name varchar(300),\n @level int\n)\nAS\nSET NOCOUNT ON\nDECLARE ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379649",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36590/"
] |
379,650 | <p>I need to get array fragments from an array. I'm sick of using Array.Copy().
new ArraySegment(..).Array returns the original [full] array. The one below is what I came up with but I feel it's pretty lame. Is there a better way to do this?</p>
<p><code></p>
<pre><code>class Program
{
static void Main(string[... | [
{
"answer_id": 379666,
"author": "Konrad Rudolph",
"author_id": 1968,
"author_profile": "https://Stackoverflow.com/users/1968",
"pm_score": 1,
"selected": false,
"text": "****"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379650",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28413/"
] |
379,652 | <p>I have a page where I combine labels, input boxes and text areas to display some content.
I would like all of them to have the same font-family and font-size.
I have played with the <em>font-family: inherit</em> style but this doesn't seem to work for the input and text areas.
What would be the easiest way to ensur... | [
{
"answer_id": 379658,
"author": "Gene Roberts",
"author_id": 47544,
"author_profile": "https://Stackoverflow.com/users/47544",
"pm_score": 1,
"selected": false,
"text": "*\n{\n font-family: arial;\n}\n"
},
{
"answer_id": 379679,
"author": "Drejc",
"author_id": 6482,
... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379652",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6482/"
] |
379,661 | <p>At my job, I have to implement web forms for loan applications with sometimes up to a hundred different input fields, and then save the application into the database for later retrieval.</p>
<p>The person whom I replaced created a sql table with 100s of columns where each row represents a loan application and there... | [
{
"answer_id": 379726,
"author": "Geo",
"author_id": 47222,
"author_profile": "https://Stackoverflow.com/users/47222",
"pm_score": 0,
"selected": false,
"text": "internal List<string> GetFieldList(string sTableName)\n {\n tableName = sTableName;\n BuildQuery(\"*\");\n ... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379661",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
379,675 | <p>First, to make my job explaining a bit easier, here's some of my code:</p>
<pre><code>JSpinner spin = new JSpinner();
JFormattedTextField text = getTextField(spin);
text.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
// Do stuff... | [
{
"answer_id": 379787,
"author": "javamonkey79",
"author_id": 27657,
"author_profile": "https://Stackoverflow.com/users/27657",
"pm_score": 4,
"selected": true,
"text": "\n text.addKeyListener( new KeyAdapter() {\n @Override\n public void keyReleased( final KeyEv... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379675",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19825/"
] |
379,677 | <p>While reading a file (ifstream), is there any way to direct it to make a new line?</p>
<p>For instance, I would like for THIS to happen:</p>
<p>myfile>>array[1]>>array[2]>>endl;</p>
<p>Obviously, the "endl" just isn't allowed. Is there another way to do this?</p>
<p>Edit---thanks for the quick responses guys! <... | [
{
"answer_id": 379702,
"author": "Zan Lynx",
"author_id": 13422,
"author_profile": "https://Stackoverflow.com/users/13422",
"pm_score": 2,
"selected": false,
"text": "myfile.ignore(8192, '\\n')"
},
{
"answer_id": 379782,
"author": "Martin York",
"author_id": 14065,
"a... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379677",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
379,682 | <p>The font used in xterms is extremely compact yet readable. What font is that? The closest I've found that I can use in other other applications is DejaVu Sans Mono or Bitstream Vera Sans Mono. Those are as compact as xterms vertically but take up more space horizontally.</p>
<p>I'd really like to switch from xte... | [
{
"answer_id": 379795,
"author": "Arthur Reutenauer",
"author_id": 46495,
"author_profile": "https://Stackoverflow.com/users/46495",
"pm_score": 1,
"selected": false,
"text": "-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379682",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4234/"
] |
379,686 | <p>I've more than one ASP.NET 2.0 web site on IIS 6 and Windows Server 2003.
Each site reference some DLLs: design, logic and so on.
Each site is on a different ApplicationPool with default configuration about recycling techniques.</p>
<p>Every DLL is strong named (not delayed) and has a version that never changes (2.... | [
{
"answer_id": 379795,
"author": "Arthur Reutenauer",
"author_id": 46495,
"author_profile": "https://Stackoverflow.com/users/46495",
"pm_score": 1,
"selected": false,
"text": "-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379686",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47458/"
] |
379,689 | <p>I have been trying to figure out how to programmatically identify the process that has a lock on a particular file. I've searched through the Win32 API and WMI, but so far I can't find anything. I know it's possible - Sysinternals is able to list every resource accessed/locked by every process on the system.</p>
... | [
{
"answer_id": 14285780,
"author": "thejoshwolfe",
"author_id": 367916,
"author_profile": "https://Stackoverflow.com/users/367916",
"pm_score": 6,
"selected": true,
"text": "> handle /accepteula C:\\path\\to\\directory\n...\nprogram.exe pid: 1234 type: File 2E4: C:\... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379689",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
379,695 | <p>I am just learning php as I go along, and I'm completely lost here. I've never really used join before, and I think I need to here, but I don't know. I'm not expecting anyone to do it for me but if you could just point me in the right direction it would be amazing, I've tried reading up on joins but there are like... | [
{
"answer_id": 563720,
"author": "Orion Edwards",
"author_id": 234,
"author_profile": "https://Stackoverflow.com/users/234",
"pm_score": 1,
"selected": false,
"text": "SELECT * FROM board_forums\nJOIN board_posts ON board_posts.forum_id = board_forums.id\nWHERE forum_parent = '$forum_id'... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379695",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
379,722 | <p>Unmanaged languages notwithstanding, is F# really better than C# for implementing math? And if that's the case, why?</p>
| [
{
"answer_id": 2259635,
"author": "J D",
"author_id": 13924,
"author_profile": "https://Stackoverflow.com/users/13924",
"pm_score": 4,
"selected": false,
"text": "inline"
}
] | 2008/12/18 | [
"https://Stackoverflow.com/questions/379722",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9476/"
] |
379,748 | <p>I'm trying to set up a small app to experiment with NHibernate in visual studio but I'm not getting far. </p>
<p>The error I get is: "Could not find the dialect in the configuration".</p>
<p>I've tried specifying settings in both app.config and hibernate.cfg.xml but neither seems to work. These files are in the sa... | [
{
"answer_id": 380044,
"author": "Sam",
"author_id": 47636,
"author_profile": "https://Stackoverflow.com/users/47636",
"pm_score": 1,
"selected": false,
"text": "configSections"
},
{
"answer_id": 384818,
"author": "tjjjohnson",
"author_id": 74652,
"author_profile": "h... | 2008/12/18 | [
"https://Stackoverflow.com/questions/379748",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/74652/"
] |
379,768 | <p>For example, will SQL Server warn you or does it just die?</p>
| [
{
"answer_id": 379786,
"author": "joshperry",
"author_id": 30587,
"author_profile": "https://Stackoverflow.com/users/30587",
"pm_score": 5,
"selected": true,
"text": "Server: Msg 8115, Level 16, State 1, Line 1\nArithmetic overflow error converting IDENTITY to data type int.\nArithmetic ... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379768",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/245/"
] |
379,772 | <p>I am using this example:</p>
<pre><code>char *myData[][2] =
{{"John", "j@usa.net"},
{"Erik", "erik@usa.net"},
{"Peter","peter@algonet.se"},
{"Rikard","rikard@algonet.se"},
{"Anders","anders@algonet.se"}};
char **tableData[6];
tableData[0] = myData[0];
tableData[1] = myData[1];
tableData[2] = myData[2];
tabl... | [
{
"answer_id": 379792,
"author": "Michael Burr",
"author_id": 12711,
"author_profile": "https://Stackoverflow.com/users/12711",
"pm_score": 2,
"selected": false,
"text": "myData[][]"
},
{
"answer_id": 379812,
"author": "Adam Pierce",
"author_id": 5324,
"author_profile... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379772",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46767/"
] |
379,791 | <p>I am playing movie using MPMoviePlayerController,</p>
<p>I am using TableView,what happening with my application is when I press accessory button it will display detailed view and when I press cell area it will play movie that I wanted,(the way youtube application does)</p>
<p>but when I press "DONE" while playin... | [
{
"answer_id": 1819344,
"author": "ReinYem",
"author_id": 221292,
"author_profile": "https://Stackoverflow.com/users/221292",
"pm_score": 0,
"selected": false,
"text": "-(void)myMovieFinishedCallback:(NSNotification*)aNotification { \n MPMoviePlayerController* theMovie = [aNotificatio... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379791",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/451867/"
] |
379,797 | <p>I have <code>periodically_call_remote</code> updating a div (<code>main_div</code>) in my web app. This <code>main_div</code> contains links that the user can click that invokes an action that overwrites data within <code>main_div</code>.</p>
<p>My problem is that the timer is running on the <code>periodically_call... | [
{
"answer_id": 381716,
"author": "salt.racer",
"author_id": 757,
"author_profile": "https://Stackoverflow.com/users/757",
"pm_score": 4,
"selected": true,
"text": "periodically_call_remote"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/379797",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/757/"
] |
379,815 | <p>I have two versions of my application, one "stage" and one "dev."</p>
<p>Right now, "stage" is exposed to the real world for beta-testing.</p>
<p>From time to time, I want an exact replica of the data to be replicated into the "dev" database.</p>
<p>Both databases are on the same hosted Linux machine.</p>
<p>Som... | [
{
"answer_id": 381604,
"author": "Geo",
"author_id": 47222,
"author_profile": "https://Stackoverflow.com/users/47222",
"pm_score": 3,
"selected": true,
"text": "mysqldump -u username --password=userpass --add-drop-database --add=locks --create-options --disable-keys --extend-insert --res... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379815",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43980/"
] |
379,818 | <p>I'm compiling some C# and VB code at run time using the CodeDomProvider, CompilerInfo, and CompilerParameters. It works great, and I really like being able to add scripting support to my application, but it only seems to support .NET 2.0 syntax. For example, the var keyword isn't supported in C#, and the If(bool, st... | [
{
"answer_id": 379819,
"author": "Don Kirkby",
"author_id": 4794,
"author_profile": "https://Stackoverflow.com/users/4794",
"pm_score": 4,
"selected": true,
"text": "<system.codedom>\n <compilers>\n <compiler\n language=\"vb;vbs;visualbasic;vbscript\"\n extension=\".vb\"\n ... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379818",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4794/"
] |
379,827 | <p>As far as I know, there's no way to use {% include %} within a dynamic JS file to include styles. But I don't want to have to make another call to the server to download styles. </p>
<p>Perhaps it would be possible by taking a stylesheet and injecting it into the head element of the document...has anyone does this ... | [
{
"answer_id": 379905,
"author": "codegy",
"author_id": 40538,
"author_profile": "https://Stackoverflow.com/users/40538",
"pm_score": 3,
"selected": true,
"text": "var style = document.createElement('link');\nstyle.setAttribute('rel', 'stylesheet');\nstyle.setAttribute('type', 'text/css'... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379827",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9106/"
] |
379,838 | <p>I've got a form with a bunch of textboxes that are disabled by default, then enabled by use of a checkbox next to each one.</p>
<p>When enabled, the values in these textboxes are required to be a valid number, but when disabled they don't need a value (obviously). I'm using the jQuery Validation plugin to do this ... | [
{
"answer_id": 651876,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "// Removes all values from disabled fields upon submit\n$(form).submit(function() {\n $(input[type=text][disabled=disabled])... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379838",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2975/"
] |
379,854 | <p>I have a script that did double inserts into the database with the same data. Is there a good way to do this (without scanning through, inserting every record into an array, and then deleting duplicate array entries)?</p>
| [
{
"answer_id": 379861,
"author": "Cade Roux",
"author_id": 18255,
"author_profile": "https://Stackoverflow.com/users/18255",
"pm_score": 3,
"selected": false,
"text": "DELETE\nFROM t\nWHERE ID IN (\n SELECT MAX(ID)\n FROM t\n GROUP BY {Your Group Criteria Here}\n HAVING COUNT... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379854",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/144/"
] |
379,856 | <p>I'm doing some revision on an old app that is written in classic ASP/VbScript.</p>
<p>It has a feature to send out an e-mail to the members of the application, but because the member list is quite large, the server rejects new e-mails after the first hundred or so are sent.</p>
<p>I've written some code to make it... | [
{
"answer_id": 7711368,
"author": "Jonh",
"author_id": 987489,
"author_profile": "https://Stackoverflow.com/users/987489",
"pm_score": 2,
"selected": false,
"text": "var shell = Server.CreateObject(\"WScript.Shell\");\nshell.run(\"CHOICE /C:AB /D:A /T:1 > NUL\", 1, true);\n"
},
{
... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379856",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1965/"
] |
379,865 | <p>My right side bar isn't staying on top. </p>
<p>These are the two pages for example. www.cafecartel.com </p>
<p>and www.cafecartel.com.index2.php</p>
<p>Currently the way the site is written, the right side bar must be placed like this:</p>
<p>body id="Support"
div id="container1"
div id="container2"</p>
<pre><... | [
{
"answer_id": 379994,
"author": "Michael T. Smith",
"author_id": 22292,
"author_profile": "https://Stackoverflow.com/users/22292",
"pm_score": 1,
"selected": false,
"text": "#content { clear: both; }"
},
{
"answer_id": 385127,
"author": "user48205",
"author_id": 48205,
... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379865",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
379,871 | <p>I have an ASP.NET 2.0 application that spends an excessive amount of time in garbage collection, over 40%, when load tested on a production grade server (dual quad-core, 4g).
I have been trying to isolate the problem but it is a large, complex code base making for slow going. There are no GC.Collect() calls. Whic... | [
{
"answer_id": 379989,
"author": "Jon Limjap",
"author_id": 372,
"author_profile": "https://Stackoverflow.com/users/372",
"pm_score": 2,
"selected": false,
"text": "Dispose()"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/379871",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44008/"
] |
379,874 | <p>How to get unique Google Gadget ID from a gadget added to a iGoogle website, with Javascript?</p>
| [
{
"answer_id": 388898,
"author": "Jordi",
"author_id": 48648,
"author_profile": "https://Stackoverflow.com/users/48648",
"pm_score": 2,
"selected": false,
"text": "/**\n * Grabs the id of a Google Gadget from an iGoogle page.\n *\n * @param name the name of the targeted Google Gadget. If... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379874",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46739/"
] |
379,900 | <p>I am trying to find a way to load a JSON page to display my content, which I currently have. But I am trying to fade in each element one after another? Is anyone familiar with a way to do that?</p>
<p>Fade in each element with a slight delay?</p>
<p>Here is an example of my code, I am using the jquery framework.</... | [
{
"answer_id": 379913,
"author": "Genericrich",
"author_id": 39932,
"author_profile": "https://Stackoverflow.com/users/39932",
"pm_score": 5,
"selected": true,
"text": " $(\"div#foo\").fadeIn(\"fast\",function(){\n $(\"div#bar\").fadeIn(\"fast\", function(){\n // etc.\n ... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379900",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
379,906 | <ul>
<li>How can I convert a <code>str</code> to <code>float</code>?
<pre><code>"545.2222" → 545.2222
</code></pre>
</li>
<li>How can I convert a <code>str</code> to <code>int</code>?
<pre><code>"31" → 31
</code></pre>
</li>
</ul>
<hr />
<p><sub>For the reverse, see <a href="https://stacko... | [
{
"answer_id": 379909,
"author": "codelogic",
"author_id": 43427,
"author_profile": "https://Stackoverflow.com/users/43427",
"pm_score": 4,
"selected": false,
"text": "float(\"545.2222\")"
},
{
"answer_id": 379910,
"author": "Harley Holcombe",
"author_id": 1057,
"auth... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379906",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30529/"
] |
379,916 | <p><a href="https://stackoverflow.com/questions/48496/how-to-teach-a-crash-course-on-c">This post</a> reference to the One Definition Rule.</p>
<p><a href="http://en.wikipedia.org/wiki/One_Definition_Rule" rel="nofollow noreferrer">Wikipedia is pretty bad on explaining how to implement it</a></p>
<p>Where can I find ... | [
{
"answer_id": 379951,
"author": "FryGuy",
"author_id": 28776,
"author_profile": "https://Stackoverflow.com/users/28776",
"pm_score": 4,
"selected": true,
"text": "int square(int x); // this is a declaration\nextern int someVariable; // this is a declration\n\nvoid square(int x) // this... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379916",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6367/"
] |
379,917 | <p>I'm trying to recreate the iPhone flick / scroll event in a window using JavaScript.</p>
<p>Starting with JQuery, I'm measuring the mouse's acceleration and offset during click - drag - release events using a timer:</p>
<pre><code>var MouseY = {
init: function(context) {
var self = this;
self.... | [
{
"answer_id": 380006,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 3,
"selected": true,
"text": "nn4 = (document.layers)? true:false;\nmouseLeft = mouseTop = mouseX = mouseY = 0;\nmonitor = {\n timerDelay:100,\n moveLi... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379917",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37522/"
] |
379,920 | <p>I'm writing a component and would like to insert images from the template folder.</p>
<p>How do you get the correct path to the template folder?</p>
| [
{
"answer_id": 379934,
"author": "nickf",
"author_id": 9021,
"author_profile": "https://Stackoverflow.com/users/9021",
"pm_score": 2,
"selected": false,
"text": "$templateDir = $mainframe->getBasePath() . \"templates/\" . $mainframe->getTemplate();\n"
},
{
"answer_id": 381360,
... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379920",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9021/"
] |
379,930 | <p>i run Apache web server on windows in order to work on some Perl CGI scripts. in production these scripts run on a linux box, and in the source code repository they all have shebangs like: <code>#!/usr/bin/perl</code>, but on my windows machine the shebangs would be <code>#!c:\perl\bin\perl.exe</code>, so i have a c... | [
{
"answer_id": 386980,
"author": "Powerlord",
"author_id": 15880,
"author_profile": "https://Stackoverflow.com/users/15880",
"pm_score": 4,
"selected": true,
"text": "HKEY_CLASSES_ROOT\\.cgi\\Shell\\ExecCGI\\Command\\(Default) => C:\\Perl\\bin\\perl.exe -wT\n"
},
{
"answer_id": 3... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379930",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46775/"
] |
379,939 | <p>Basically I want to put "todays" year, month, day into two fields ... something like the following. Tried varients of but cant get it right</p>
<blockquote>
<p>"INSERT INTO film_out (start_year, start_month, start_day), (end_year, end_month, end_day) VALUES ('$year', '$month', '$day') "</p>
</blockquote>
| [
{
"answer_id": 379943,
"author": "cLFlaVA",
"author_id": 45109,
"author_profile": "https://Stackoverflow.com/users/45109",
"pm_score": 2,
"selected": false,
"text": "\"INSERT INTO film_out (start_year, start_month, start_day, end_year, end_month, end_day)\n VALUES ('$year', '$month'... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379939",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
379,940 | <p>Is there a way to modify/tell dired to copy files asynchronously? If you mark multiple files in dired and then use 'C' to copy them, emacs locks up until every file is copied. I instead want this copy to be started, and for me to continue editing as it goes on in the background. Is there a way to get this behavio... | [
{
"answer_id": 21158046,
"author": "Nordlöw",
"author_id": 683710,
"author_profile": "https://Stackoverflow.com/users/683710",
"pm_score": 2,
"selected": false,
"text": "dired-do-async-shell-command"
},
{
"answer_id": 43642761,
"author": "GDP2",
"author_id": 2636454,
... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379940",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41241/"
] |
379,962 | <p>I have the following data</p>
<p><a href="https://i.stack.imgur.com/KWyXz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KWyXz.png" alt="alt text"></a>
</p>
<p>How do I transform it (with SQL Server 2005) into the following format?</p>
<p><a href="https://i.stack.imgur.com/1FVoX.png" rel="nofo... | [
{
"answer_id": 379986,
"author": "Charles Bretana",
"author_id": 32632,
"author_profile": "https://Stackoverflow.com/users/32632",
"pm_score": 0,
"selected": false,
"text": "Select Z.Arabic as Language1, Z.Botwanese as Language2, etc.\nFrom (Inner Pivot Query Here ) Z\n"
},
{
"a... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379962",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19377/"
] |
379,988 | <p>I'm trying to make a database and so far, I've been using strings to store my entries from a text file into an array, but this just isn't working out. Thus, I began thinking of a new way of doing it.<br/> </p>
<p>What I want to do:</p>
<p>Lets say I have a text file with the following database...</p>
<p>John Smi... | [
{
"answer_id": 379999,
"author": "Tamara Wijsman",
"author_id": 47064,
"author_profile": "https://Stackoverflow.com/users/47064",
"pm_score": 0,
"selected": false,
"text": "ifstream"
},
{
"answer_id": 380012,
"author": "Robert Gould",
"author_id": 15124,
"author_profi... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379988",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
379,995 | <p>I have one class that needs to grab an attribute that is set in another. It's not a standard data type though. Here's the code;</p>
<pre><code>class graphics:
def __init__(self, Fullscreen = False, Width = 640, Height = 480):
print "Graphics Init"
SCREEN_SIZE = (Width, Height)
pygame.init()
if Fulls... | [
{
"answer_id": 380001,
"author": "codelogic",
"author_id": 43427,
"author_profile": "https://Stackoverflow.com/users/43427",
"pm_score": 0,
"selected": false,
"text": "object"
},
{
"answer_id": 380018,
"author": "Stephen Belanger",
"author_id": 46981,
"author_profile"... | 2008/12/19 | [
"https://Stackoverflow.com/questions/379995",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46981/"
] |
380,011 | <p>Does anybody know any fine open source cube browser?</p>
<p>Ideally, it would be something built with plain javascript.</p>
<p>Does it even exists?</p>
<p>I'm planing to use it with classic asp agains a SQL database.</p>
| [
{
"answer_id": 10442096,
"author": "xn.",
"author_id": 120731,
"author_profile": "https://Stackoverflow.com/users/120731",
"pm_score": 3,
"selected": false,
"text": "var data = [{\"time\":1331773202,\"facts\":{\"name\":\"Super Mario Bros. 2\",\"platform\":\"Nintendo\",\"staring\":\"Mario... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380011",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47633/"
] |
380,014 | <p>I have a 100% valid Ajax model written in Javascript with a few inputs I use being, Get or Post method, What page to communicate with, What String to send to that page and What element on my own page I might be fiddling with when I receive my response.
The problem is that, should I set the request to Asynchronous (H... | [
{
"answer_id": 380032,
"author": "Supernovah",
"author_id": 36076,
"author_profile": "https://Stackoverflow.com/users/36076",
"pm_score": 1,
"selected": false,
"text": "ajaxRequest(){\n [...]\n}\nif(xmlhttp.responseText){\n myFunc();\n}\n"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/380014",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36076/"
] |
380,024 | <p>I have an Obj-C method similar to this:</p>
<pre><code>-(void)getUserDefaults:(BOOL *)refreshDefaults
{
PostAppDelegate *appDelegate = [[UIApplication sharedApplication] delegate];
if (refreshDefaults) {
[appDelegate retrieveDefaults];
}
}
</code></pre>
<p>When I call it like this I get no war... | [
{
"answer_id": 380040,
"author": "Chris Hanson",
"author_id": 714,
"author_profile": "https://Stackoverflow.com/users/714",
"pm_score": 4,
"selected": false,
"text": "BOOL"
},
{
"answer_id": 380045,
"author": "joshwbrick",
"author_id": 46540,
"author_profile": "https:... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380024",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46540/"
] |
380,031 | <p>I read a list of SIDs from the registry, <code>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList</code>.</p>
<p>How would one resolve the display username (e.g. <code>DOMAIN\user</code>, <code>BUILT-IN\user</code>) given the SID string in C#?</p>
| [
{
"answer_id": 380048,
"author": "Mitch Wheat",
"author_id": 16076,
"author_profile": "https://Stackoverflow.com/users/16076",
"pm_score": 5,
"selected": true,
"text": "LookupAccountSid()"
},
{
"answer_id": 380206,
"author": "Dennis C",
"author_id": 40214,
"author_pro... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380031",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40214/"
] |
380,037 | <p>Does anyone have a solution for styling the borders of "select" elements in Internet Explorer using CSS?</p>
| [
{
"answer_id": 380068,
"author": "some",
"author_id": 36866,
"author_profile": "https://Stackoverflow.com/users/36866",
"pm_score": 6,
"selected": true,
"text": "<select>"
},
{
"answer_id": 382220,
"author": "jpsimard-nyx",
"author_id": 47109,
"author_profile": "https... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380037",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40538/"
] |
380,046 | <p>Whenever I try to write graphical programs (whether a game or really any GUI app) I always wind up with one or two god classes with way too many methods (and long methods, too), and each class having far too many responsibilities. I have graphics being done at the same time as calculations and logic, and I feel like... | [
{
"answer_id": 380088,
"author": "lc.",
"author_id": 44853,
"author_profile": "https://Stackoverflow.com/users/44853",
"pm_score": 2,
"selected": false,
"text": "IsMine()"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/380046",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42891/"
] |
380,050 | <p>So, I got ZF MVC site and want to force SSL connection on everything under my /checkout/
I tried using mod_rewrite for that, so my .htaccess would look like this:</p>
<pre><code>RewriteEngine on
RewriteRule (\/checkout.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R]
RewriteRule !\.(js|ico|gif|jpg|png|css|swf|xml|avi|f... | [
{
"answer_id": 381624,
"author": "Tim Lytle",
"author_id": 45531,
"author_profile": "https://Stackoverflow.com/users/45531",
"pm_score": 1,
"selected": false,
"text": "RewriteCond %{HTTPS} !on\nRewriteRule (\\/checkout.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [RL] \n\nRewriteRule !\\.(js|i... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380050",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/35520/"
] |
380,057 | <p>I've created a table in MySQL:</p>
<pre><code>CREATE TABLE actions ( A_id int NOT NULL AUTO_INCREMENT,
type ENUM('rate','report','submit','edit','delete') NOT NULL,
Q_id int NOT NULL,
U_id int NOT NULL,
date DATE NOT NULL,
time TIME NOT NULL,
rate tinyint(1),
PRIMARY KEY (A_id),
CONSTRAINT fk_Question FOREIGN KEY (... | [
{
"answer_id": 380074,
"author": "Bill Karwin",
"author_id": 20860,
"author_profile": "https://Stackoverflow.com/users/20860",
"pm_score": 6,
"selected": false,
"text": "KEY"
},
{
"answer_id": 2561755,
"author": "user203212",
"author_id": 203212,
"author_profile": "ht... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380057",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1615/"
] |
380,062 | <p>I have heard of apps not working properly on the simulator but working properly on the actual iPhone device. Has anyone experienced an app that runs perfectly in the simulator but not on the actual iPhone device?</p>
| [
{
"answer_id": 1250919,
"author": "Tim",
"author_id": 104200,
"author_profile": "https://Stackoverflow.com/users/104200",
"pm_score": 2,
"selected": false,
"text": "didReceiveMemoryWarning"
},
{
"answer_id": 1715795,
"author": "Kristopher Johnson",
"author_id": 1175,
... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380062",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/21293/"
] |
380,067 | <p>I'm trying to bring a legacy C# .NET 1.1 application into the modern era. We use DataTables for our collections of what could have been business objects.</p>
<p>Given that most of the code thinks it is talking to the interface of a DataRow, what generic collection would make for the least painful transition?</p>
| [
{
"answer_id": 380111,
"author": "dbones",
"author_id": 47642,
"author_profile": "https://Stackoverflow.com/users/47642",
"pm_score": 4,
"selected": true,
"text": "private void PrintAll<T>(IEnumerable<T> items)\n{\n foreach(T item in items)\n Console.WriteLine(item.ToString());... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380067",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/33264/"
] |
380,069 | <p>I'm trying to include JQuery in my DotNetNuke skin by adding these two lines of code at the top of my DNN skin:</p>
<pre><code><%
Page.ClientScript.RegisterClientScriptInclude("jquery", "http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js")
Page.ClientScript.RegisterStar... | [
{
"answer_id": 383284,
"author": "Dave Markle",
"author_id": 24995,
"author_profile": "https://Stackoverflow.com/users/24995",
"pm_score": 2,
"selected": true,
"text": "<script runat=\"server\">\n Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handle... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380069",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24995/"
] |
380,076 | <p>The data model for my Core Data document-based app (10.5 only) is in a
framework, so automatic schema upgrades using a Core Data mapping
model don't appear to work. It appears that the Core Data machinery
doesn't find the appropriate data models or mapping model when they
are not in the app's main bundle. So, instea... | [
{
"answer_id": 48931088,
"author": "AMTourky",
"author_id": 628889,
"author_profile": "https://Stackoverflow.com/users/628889",
"pm_score": 0,
"selected": false,
"text": "migrate()\nif let newModificationDate = try? NSFileManager.defaultManager().attributesOfItemAtPath(url.path!)[NSFileM... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380076",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2140/"
] |
380,100 | <p>I'm trying to convert an HTML table to Excel in Javascript using new <code>ActiveXObject("Excel.application")</code>. Bascially I loop through table cells and insert the value to the corresponding cell in excel:</p>
<pre><code>//for each table cell
oSheet.Cells(x,y).value = cell.innerText;
</code></pre>
<p>The pro... | [
{
"answer_id": 380146,
"author": "lakshmanaraj",
"author_id": 44541,
"author_profile": "https://Stackoverflow.com/users/44541",
"pm_score": 0,
"selected": false,
"text": " If IsDate ( Cell.Value ) Then\n Cell.Value = DateValue ( Cell.Value )\n End If\n"
},
{
"answer... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380100",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47646/"
] |
380,103 | <p>This simple code is not producing any sound on a couple of machines that I've used to test it. I'm running the code from within Eclipse, but I've also tried using the command line to no avail. </p>
<pre><code>public static void main(String[] args)
{
try {
Synthesizer synthesizer = MidiSystem.getSynthes... | [
{
"answer_id": 742702,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "public static void main(String[] args)\n{\n try {\n Synthesizer synthesizer = MidiSystem.getSynthesizer();\n ... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380103",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2197/"
] |
380,116 | <p>I've just started developing a WPF application. This is not my first WPF app, but it will be the first that needs some polish. I know quite a bit about the "plumbing" of WPF such as binding, etc., but very little about how to polish it up. I don't need a snazzy UI. I just need something that looks like a native Wind... | [
{
"answer_id": 380134,
"author": "Mark Carpenter",
"author_id": 47645,
"author_profile": "https://Stackoverflow.com/users/47645",
"pm_score": 2,
"selected": false,
"text": "Uri uri = new Uri(\"PresentationFramework.Aero;V3.0.0.0;31bf3856ad364e35;component\\\\themes/aero.normalcolor.xaml\... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380116",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27779/"
] |
380,124 | <p>I have a very simple Setup project that copies three dlls into the GAC. That's all it has to do. It works fine in XP, but on a Vista machine, it errors out stating that it cannot write to the file and to check permissions. I'm sure this has to do with some impersonation nonsense in Vista, but I'm not sure how to add... | [
{
"answer_id": 840306,
"author": "Lucas",
"author_id": 24231,
"author_profile": "https://Stackoverflow.com/users/24231",
"pm_score": 0,
"selected": false,
"text": "msiexec /i setup.msi\n"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/380124",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5469/"
] |
380,145 | <p>Well, maybe not with all 4 things, but here's my situation:</p>
<p>I have an ActiveMQ backend (running on my desktop Mac). It's a stock Apache ActiveMQ server I have which I am basically using as an echo server to tail the logs and debug my client. The client is an iPhone project with a hacked up Stomp.framework im... | [
{
"answer_id": 414355,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "\"errSSLUnknownRootCert\""
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/380145",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39932/"
] |
380,153 | <p>Alright, so I just finished my last compiler error (so I thought) and these errors came up:</p>
<pre><code>1>GameEngine.obj : error LNK2001: unresolved external symbol "public: static double WeaponsDB::PI" (?PI@WeaponsDB@@2NA)
1>Component.obj : error LNK2001: unresolved external symbol "public: static double ... | [
{
"answer_id": 380174,
"author": "Mr Fooz",
"author_id": 25050,
"author_profile": "https://Stackoverflow.com/users/25050",
"pm_score": 2,
"selected": false,
"text": "WeaponsDB::PI = 4*atan(1.0);\n"
},
{
"answer_id": 380277,
"author": "David Rodríguez - dribeas",
"author_i... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380153",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39189/"
] |
380,165 | <p>Can somebody show me how to calculate the inverse of a matrix? I'm using VC++ 6.0</p>
| [
{
"answer_id": 380214,
"author": "pyon",
"author_id": 46571,
"author_profile": "https://Stackoverflow.com/users/46571",
"pm_score": 2,
"selected": false,
"text": "/* I took this from my implementation of CMatrix\n * It works, but I'm not sure if it's the most efficient algorithm.\n *\n... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380165",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
380,167 | <p>What is the best way to limit the number of (concurrent) users accessing a web application that any one can introduce for selling website/application to client and how to increase the number of users accessing it remotely?</p>
| [
{
"answer_id": 380302,
"author": "Pawel Krakowiak",
"author_id": 41420,
"author_profile": "https://Stackoverflow.com/users/41420",
"pm_score": 4,
"selected": true,
"text": "void Application_Start(object sender, EventArgs e)\n{\n Application[\"ActiveSessions\"] = 0;\n}\n\nvoid Session_... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380167",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41524/"
] |
380,171 | <p>I have two strings: the first's value is "catdog" and the second's is "got".</p>
<p>I'm trying to find a regex that tells me if the letters for "got" are in "catdog". I'm particularly looking to avoid the case where there are duplicate letters. For example, I know "got" is a match, however "gott" is not a match b... | [
{
"answer_id": 380197,
"author": "Charlie Martin",
"author_id": 35092,
"author_profile": "https://Stackoverflow.com/users/35092",
"pm_score": 0,
"selected": false,
"text": "^[^got]*(g|o|t)[^got]$\n"
},
{
"answer_id": 380202,
"author": "derobert",
"author_id": 27727,
"... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380171",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42620/"
] |
380,172 | <p>I have a program that was written for linux and I am trying to build and run it on my MacOS 10.5 machine. The program builds and runs without problem, however it makes many calls to syslog. I know that syslogd is running on my mac, however I can't seem to find where my syslog calls are output to.</p>
<p>The syslog ... | [
{
"answer_id": 380190,
"author": "Charlie Martin",
"author_id": 35092,
"author_profile": "https://Stackoverflow.com/users/35092",
"pm_score": 4,
"selected": false,
"text": "man syslog"
},
{
"answer_id": 380230,
"author": "ayaz",
"author_id": 23191,
"author_profile": "... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380172",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
380,184 | <p>I am trying to get a text to wrap around a <code>div</code> in my XHTML. My XHTML looks like so....</p>
<pre><code><div id="cont-content">
<p>content</p>
<p>more content</p>
<div id="content-sidebar">
BLALALALALLAAL
</div>
</div>
</code></pre>
<p>And my CS... | [
{
"answer_id": 394727,
"author": "datasn.io",
"author_id": 49318,
"author_profile": "https://Stackoverflow.com/users/49318",
"pm_score": 6,
"selected": true,
"text": "<div id=\"cont-content\">\n\n<div id=\"content-sidebar\">\n\n BLALALALALLAAL\n\n </div>\n\n<p>content</p>\n\n<p>more cont... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380184",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31671/"
] |
380,198 | <p>Is it possible to pass a function as a parameter in C#? I can do it using the Func or Action classes, but this forces me to declare the entire function signature at once. When I try to use Delegate, I get a compile error saying it can't convert a method group to a Delegate. </p>
<p>I'm working on <a href="http://ww... | [
{
"answer_id": 380231,
"author": "Jon Limjap",
"author_id": 372,
"author_profile": "https://Stackoverflow.com/users/372",
"pm_score": 2,
"selected": false,
"text": "delegate int Operation(int a, int b)\n"
},
{
"answer_id": 380235,
"author": "Mark Carpenter",
"author_id": ... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380198",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23427/"
] |
380,215 | <p>I am building a small wpf app in C#. When a button gets clicked a third
party dll function constructs a tree like object. This object is bound
to a treeview. This works fine but takes a bit of time to load. As the
dll function constructs the object it prints progress info to the
console. I want to redirect this ... | [
{
"answer_id": 380255,
"author": "Matt Hamilton",
"author_id": 615,
"author_profile": "https://Stackoverflow.com/users/615",
"pm_score": 0,
"selected": false,
"text": "local.Text = \"\";\n"
},
{
"answer_id": 380495,
"author": "Kent Boogaart",
"author_id": 5380,
"autho... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380215",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47660/"
] |
380,217 | <p>I have a form without caption, using on double click to maximize : Code looks like this:</p>
<pre><code>procedure xxxxxx;
begin
if Form1.WindowState=wsNormal then
begin
Form1.WindowState:=wsMaximized;
Form1.SetBounds(0,0,screen.Width,screen.Height-getHeightOfTaskBar);
end
e... | [
{
"answer_id": 380266,
"author": "Drejc",
"author_id": 6482,
"author_profile": "https://Stackoverflow.com/users/6482",
"pm_score": 0,
"selected": false,
"text": "procedure TCustomForm.SetWindowState(Value: TWindowState);\nconst\n ShowCommands: array[TWindowState] of Integer =\n (SW_S... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380217",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27016/"
] |
380,221 | <p>How to hide controller name in Url?</p>
<p>I use the ASP.NET MVC.</p>
<p>The original url is: <a href="http://www.sample.com/Users.mvc/UserDetail/9615" rel="nofollow noreferrer">http://www.sample.com/Users.mvc/UserDetail/9615</a></p>
<p>The "Users" is controller name, the "UserDetail" is action name, and the "96... | [
{
"answer_id": 380298,
"author": "mmx",
"author_id": 33708,
"author_profile": "https://Stackoverflow.com/users/33708",
"pm_score": 3,
"selected": true,
"text": "routes.MapRoute(\"UserDetails\", \"{UserID}/{*name}\", \n new { controller = \"Users\", action = \"UserDetail\" , UserID=\"\... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380221",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40919/"
] |
380,227 | <p>Suppose I am entering validation code into my model of multi-language publication database. The database needs either an English or a Japanese title for a particular journal. So I need to validate_presence_of at least one of the two. Right now I can easily check that both exists, but am stumped on the case of "at le... | [
{
"answer_id": 380250,
"author": "Chirantan",
"author_id": 45942,
"author_profile": "https://Stackoverflow.com/users/45942",
"pm_score": 4,
"selected": true,
"text": "class Article < ActiveRecord::Base \n belongs_to :publication \n validate_presence_of :journal_title, :if => :check_j... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380227",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39584/"
] |
380,244 | <p>I want to build a dynamic floating window with close button at corner. Is it possible, and also i want to add some content dynamically into that window. </p>
<p>Please help me.. It should be in javascript.. Better without AJAX..</p>
<p>Thanks in Advance</p>
| [
{
"answer_id": 486493,
"author": "Jack Lawson",
"author_id": 59616,
"author_profile": "https://Stackoverflow.com/users/59616",
"pm_score": 4,
"selected": false,
"text": "<div id=\"example\">I'm in a dialog!</div>\n$(\"#example\").dialog();\n"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/380244",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38172/"
] |
380,267 | <p>i want ask some question about asp.net mvc</p>
<ol>
<li>Is static constructor will init every user request?</li>
<li>Is static data share for every user?</li>
</ol>
| [
{
"answer_id": 380270,
"author": "mmx",
"author_id": 33708,
"author_profile": "https://Stackoverflow.com/users/33708",
"pm_score": 4,
"selected": true,
"text": "ThreadStatic"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/380267",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44533/"
] |
380,274 | <p><strong>What in C#.NET makes it more suitable</strong> for some projects than VB.NET?</p>
<p>Performance?, Capabilities?, Libraries/Components?, Reputation?, Reliability? Maintainability?, Ease?</p>
<hr>
<p>Basically anything <strong>C# can do, that is impossible using VB,</strong> or vice versa.
Things you just ... | [
{
"answer_id": 380282,
"author": "JoshBerke",
"author_id": 26160,
"author_profile": "https://Stackoverflow.com/users/26160",
"pm_score": 6,
"selected": true,
"text": "try\n{\n //do something that fails\n}\ncatch(Exception ex when ArgumentException, \n ArgumentNullException, Format... | 2008/12/19 | [
"https://Stackoverflow.com/questions/380274",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41021/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.