qid int64 4 22.2M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
387,806 | <p>I would like to map a many-to-many in Hibernate using a link table. I have two classes, Parent and Child class, for example:</p>
<pre><code>public class Parent{
private List<Child> _children;
//...getters and setters
}
</code></pre>
<p>I use a link table (link_table) with three columns <code>link_id</code>... | [
{
"answer_id": 387926,
"author": "Matt Lewis",
"author_id": 28987,
"author_profile": "https://Stackoverflow.com/users/28987",
"pm_score": 3,
"selected": false,
"text": "@Entity\npublic class Employer implements Serializable {\n @ManyToMany(\n targetEntity=org.hibernate.test.met... | 2008/12/22 | [
"https://Stackoverflow.com/questions/387806",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23133/"
] |
387,829 | <p>The problem domain features a large population of named snarks. Some of the snarks are boojums. </p>
<p>There are at least two ways to model this:</p>
<pre>
// as a property:
class Snark {
string name;
bool is_boojum;
};
// as a list:
class Snark {
typedef long Id;
Id ... | [
{
"answer_id": 387860,
"author": "Bill Karwin",
"author_id": 20860,
"author_profile": "https://Stackoverflow.com/users/20860",
"pm_score": 0,
"selected": false,
"text": "is_boojum"
},
{
"answer_id": 387869,
"author": "Shog9",
"author_id": 811,
"author_profile": "https... | 2008/12/23 | [
"https://Stackoverflow.com/questions/387829",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/29403/"
] |
387,830 | <p>I'm using the UPS service to monitor the state of my UPS from an application -- the key at HKLM\SYSTEM\CCS\Services\UPS\Status has all the information you can get from the Power control panel. BUT -- I'd like to be able to tell the UPS to shut down from my app as well. I know that the service can tell the UPS to s... | [
{
"answer_id": 387862,
"author": "Hernán",
"author_id": 48026,
"author_profile": "https://Stackoverflow.com/users/48026",
"pm_score": -1,
"selected": false,
"text": "OpenService (hServMgr, TEXT(\"\\\\UPS_SERVICE_0\"), SC_MANAGER_ALL_ACCESS);\n\nSERVICE_STATUS stat;\nControlService (hUpsS... | 2008/12/23 | [
"https://Stackoverflow.com/questions/387830",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26286/"
] |
387,850 | <p>I'm building a site where users can track their collection of figures for Dungeons & Dragons (www.ddmdb.com). The models/relationships involved in this funcitonality are the following:</p>
<p><strong>User:</strong></p>
<ul>
<li>id</li>
<li>login (username)</li>
<li><em>a bunch of other fields</em></li>
</ul>
... | [
{
"answer_id": 387874,
"author": "frankodwyer",
"author_id": 42404,
"author_profile": "https://Stackoverflow.com/users/42404",
"pm_score": 0,
"selected": false,
"text": "<% ownerships=current_user.ownerships %> \n<% for miniature in @miniatures %>\n <td><%= link_to miniature.name, minia... | 2008/12/23 | [
"https://Stackoverflow.com/questions/387850",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8252/"
] |
387,879 | <p>I am currently working on a project that spans accross multiple domains. What I want is for the user to be able to login on one site and be logged in on all the others at the same time.</p>
<p>The users session is stored in the database, the cookies that I set on each domain contain the session id.</p>
<p>So basic... | [
{
"answer_id": 389004,
"author": "suitedupgeek",
"author_id": 42428,
"author_profile": "https://Stackoverflow.com/users/42428",
"pm_score": -1,
"selected": false,
"text": "setcookie(A, $sessid, expire, path, domainA.com);\nsetcookie(B, $sessid, expire, path, domainB.com);\nsetcookie(C, $... | 2008/12/23 | [
"https://Stackoverflow.com/questions/387879",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48526/"
] |
387,893 | <p>I can use write(&stName,sizeof(stName),&FileName) and define a same struct in other program to read the file(XXX.h) when i use C, But I want do the same use C# and I should not use the unsafe mode. How do to solve the problem?</p>
<p><strong>Edit:</strong></p>
<p>thanks all. I will to try them</p>
<p><str... | [
{
"answer_id": 387977,
"author": "Frank Krueger",
"author_id": 338,
"author_profile": "https://Stackoverflow.com/users/338",
"pm_score": 1,
"selected": false,
"text": "read(in, &structure, sizeof(structure));\nwrite(out, &structure, sizeof(structure));\n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/387893",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
387,895 | <p>Consider following example :</p>
<pre><code>public class SomeBusinessLayerService : DataService<MyEntityContainer>
{
[WebInvoke]
void DoSomething(string someParam)
{
}
}
</code></pre>
<p>I can not find example or any help on how can I pass parameter to the function!
Using WebClient (or goofinfg around wi... | [
{
"answer_id": 1571728,
"author": "Andrei Rînea",
"author_id": 1796,
"author_profile": "https://Stackoverflow.com/users/1796",
"pm_score": 0,
"selected": false,
"text": "var y = ctx.Execute<bool>(new Uri(\"ReportExists?id=guid'\" + Guid.NewGuid() + \"'\", UriKind.Relative));\n"
},
{
... | 2008/12/23 | [
"https://Stackoverflow.com/questions/387895",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44838/"
] |
387,912 | <p>I'm working with a CMS, Joomla, and there's a core class which renders a set of parameters to a form, JParameter. Basically it has a <code>render()</code> function which outputs some table-laden HTML which is not consistent with the rest of my site.</p>
<p>For issues of maintainability, and because I have no idea w... | [
{
"answer_id": 387967,
"author": "Sean McSomething",
"author_id": 39413,
"author_profile": "https://Stackoverflow.com/users/39413",
"pm_score": 3,
"selected": true,
"text": "$this->params->render()"
},
{
"answer_id": 388528,
"author": "meouw",
"author_id": 12161,
"aut... | 2008/12/23 | [
"https://Stackoverflow.com/questions/387912",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9021/"
] |
387,921 | <p>I'm wondering how I can get the URL from the browser in ASP.NET.</p>
<p>I have a page that I use with globalization/localization, and I am redirecting (via server not code) from <code>www.spanishversion.com</code> to <code>www.englishversion.com</code>, but the URL is masked to still say <code>www.spanishversion.co... | [
{
"answer_id": 387967,
"author": "Sean McSomething",
"author_id": 39413,
"author_profile": "https://Stackoverflow.com/users/39413",
"pm_score": 3,
"selected": true,
"text": "$this->params->render()"
},
{
"answer_id": 388528,
"author": "meouw",
"author_id": 12161,
"aut... | 2008/12/23 | [
"https://Stackoverflow.com/questions/387921",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19840/"
] |
387,937 | <p>According to FXCop, List should not be exposed in an API object model. Why is this considered bad practice?</p>
| [
{
"answer_id": 387973,
"author": "Jon Limjap",
"author_id": 372,
"author_profile": "https://Stackoverflow.com/users/372",
"pm_score": 7,
"selected": true,
"text": "List<T>"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/387937",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19799/"
] |
387,943 | <p>I am new to the REST architecural design, however I think I have the basics of it covered.</p>
<p>I have a problem with returning objects from a RESTful call. If I make a request such as <a href="http://localhost/" rel="noreferrer">http://localhost/</a>{type A}/{id} I will return an instance of A from the database ... | [
{
"answer_id": 388029,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 3,
"selected": false,
"text": "/flat/A/id/"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/387943",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12040/"
] |
387,944 | <p>I was reading the <a href="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js" rel="noreferrer">jQuery source</a> and I was wondering why the entire source file was wrapped in an anonomous function.</p>
<pre><code>(function(){
...
})();
</code></pre>
<p>Is this something which helps not to pollute the g... | [
{
"answer_id": 387958,
"author": "olliej",
"author_id": 784,
"author_profile": "https://Stackoverflow.com/users/784",
"pm_score": 5,
"selected": true,
"text": "(function (){\n var someConstantValue = ...;\n myCoolFunction = function(){ return someConstantValue * 5; }\n})();\n\nmyCo... | 2008/12/23 | [
"https://Stackoverflow.com/questions/387944",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42413/"
] |
387,959 | <p>Let's say I have a class called <code>SomeClass</code> with a <code>string</code> property name:</p>
<pre><code>@interface SomeClass : NSObject
{
NSString* name;
}
@property (nonatomic, retain) NSString* name;
@end
</code></pre>
<p>I understand that name may be assigned a <code>NSMutableString</code> in whic... | [
{
"answer_id": 388002,
"author": "Chris Hanson",
"author_id": 714,
"author_profile": "https://Stackoverflow.com/users/714",
"pm_score": 10,
"selected": true,
"text": "NSCopying"
},
{
"answer_id": 6963296,
"author": "GBY",
"author_id": 390292,
"author_profile": "https:... | 2008/12/23 | [
"https://Stackoverflow.com/questions/387959",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2288585/"
] |
388,024 | <p>How does one copy resource files (config/data/image) files to an applictions home directory on the iPhone.</p>
<p>A related question <a href="https://stackoverflow.com/questions/317959/loading-data-files-on-iphone">Loading Data Files on iPhone?</a>, received an answer "just add them to your project; Xcode will copy... | [
{
"answer_id": 388054,
"author": "frankodwyer",
"author_id": 42404,
"author_profile": "https://Stackoverflow.com/users/42404",
"pm_score": 4,
"selected": true,
"text": "NSString *dbFilePath = [[NSBundle mainBundle] \n pathForResource:@\"dictionary\" \n ... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388024",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40175/"
] |
388,034 | <p>Hannuka, Chanukah, Hanukkah...Due to transliteration from another language and character set, there are many ways to spell the name of this holiday. How many legitimate spellings can you come up with?</p>
<p>Now, write a regular expression that will recognise all of them.</p>
| [
{
"answer_id": 388045,
"author": "chaos",
"author_id": 47529,
"author_profile": "https://Stackoverflow.com/users/47529",
"pm_score": 1,
"selected": false,
"text": " /^[ck]?hann?ukk?ah?$/i\n"
},
{
"answer_id": 388048,
"author": "Charlie Martin",
"author_id": 35092,
"a... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388034",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19512/"
] |
388,053 | <p>If I have a point, and a road network, how do I find the nearest point ON the road? i.e. this is like snapping the point to a line/road.</p>
<p>I am using ArcGis server 9.3 with Java 5 and Oracle 10g. I am using the ST functions and NetworkAnalyst via the java api.</p>
<p>Thanks.</p>
| [
{
"answer_id": 388045,
"author": "chaos",
"author_id": 47529,
"author_profile": "https://Stackoverflow.com/users/47529",
"pm_score": 1,
"selected": false,
"text": " /^[ck]?hann?ukk?ah?$/i\n"
},
{
"answer_id": 388048,
"author": "Charlie Martin",
"author_id": 35092,
"a... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388053",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20242/"
] |
388,057 | <p>While dabbling in Clojure I've written a very basic program to echo whatever the user types into it. However, it doesn't run in a way that I'm perceiving to be natural. Here's the code:</p>
<pre><code>(defn goo []
(print "echo> ")
(def resp (read-line))
(print resp)
)
</code></pre>
<p>I would expect the c... | [
{
"answer_id": 388065,
"author": "jmucchiello",
"author_id": 44065,
"author_profile": "https://Stackoverflow.com/users/44065",
"pm_score": 5,
"selected": true,
"text": "(defn goo []\n (print \"echo> \")\n (flush )\n (def resp (read-line))\n (print resp)\n)\n"
},
{
"answer_id"... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388057",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/422/"
] |
388,066 | <p>Whats the simplest way to get a barebones linux server installed?
barebones = just enough to get ssh and package manager.</p>
<p>Current I've been using CentOS with server install and removing any packages that I know i do not want installed.</p>
<p>But is there a better way? I just want a simple ssh shell + packa... | [
{
"answer_id": 404681,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 1,
"selected": false,
"text": "su -c 'pacman -S sshd'\n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388066",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48545/"
] |
388,069 | <p>How do you gracefully handle failed future feature imports? If a user is running using Python 2.5 and the first statement in my module is:</p>
<pre><code>from __future__ import print_function
</code></pre>
<p>Compiling this module for Python 2.5 will fail with a:</p>
<pre><code> File "__init__.py", line 1
fr... | [
{
"answer_id": 388083,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 7,
"selected": true,
"text": "import sys\nmajor, minor, micro, releaselevel, serial = sys.version_info\nif (major,minor) <= (2,5):\n # provide advice o... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388069",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3594/"
] |
388,082 | <p>Why 4? I know its in the documentation as 4, but that just seems strange.</p>
| [
{
"answer_id": 388143,
"author": "Jason Jackson",
"author_id": 13103,
"author_profile": "https://Stackoverflow.com/users/13103",
"pm_score": 1,
"selected": false,
"text": "namespace System\n{\n public delegate void Action<T1, T2, T3, T4, T5>(T1 arg1, T2 arg2, \n ... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388082",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2512607/"
] |
388,088 | <p>I've got a cocoa app that's got a TableView with bindings to a model through an NSArrayController.</p>
<p>The app works as I want, but the default sort order of the table is wrong.</p>
<p><a href="http://public.west.spy.net/BuildWatch.png" rel="nofollow noreferrer">buildwatch http://public.west.spy.net/BuildWatch.... | [
{
"answer_id": 388214,
"author": "sbooth",
"author_id": 31520,
"author_profile": "https://Stackoverflow.com/users/31520",
"pm_score": 3,
"selected": false,
"text": "NSWindowController"
},
{
"answer_id": 8832327,
"author": "johanvelthuis",
"author_id": 1000649,
"author... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388088",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39975/"
] |
388,099 | <p>I have a ListBox with a StackPanel that contains an image and label.</p>
<pre><code><ListBox.ItemsPanel>
<ItemsPanelTemplate>
<VirtualizingStackPanel Orientation="Horizontal" IsItemsHost="True" />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
... | [
{
"answer_id": 388122,
"author": "Matt Hamilton",
"author_id": 615,
"author_profile": "https://Stackoverflow.com/users/615",
"pm_score": 3,
"selected": true,
"text": "<StackPanel Orientation=\"Vertical\">\n <Grid>\n <Image Source=\"...\" />\n <Image Source=\"{Binding Ima... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388099",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22451/"
] |
388,123 | <p>I have a flash movie that loads images dynamically from an xml file. I want to re-use this .swf file on different pages, however the images on page1 are all 400 x 200 and the images on page2 are all 745 x 422. When i try to reuse this on another page, the loaded images are shrunken (resized) - i would like them to... | [
{
"answer_id": 388141,
"author": "jerebear",
"author_id": 42979,
"author_profile": "https://Stackoverflow.com/users/42979",
"pm_score": 0,
"selected": false,
"text": "fscommand(\"allowscale\",\"false\");\n"
},
{
"answer_id": 388157,
"author": "ifunk",
"author_id": 48554,
... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388123",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26685/"
] |
388,154 | <p>I keep a cache of transactions to flush (to persistent storage) on the event of a watermark or object finalization. Since <code>__del__</code> is <a href="http://docs.python.org/reference/datamodel.html?highlight=__del__#object.__del__" rel="nofollow noreferrer">no longer guaranteed to be called</a> on every object,... | [
{
"answer_id": 388224,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 2,
"selected": false,
"text": "close()"
},
{
"answer_id": 388323,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stac... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388154",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3594/"
] |
388,163 | <p>How can I easily implement queries in Zend framework?</p>
| [
{
"answer_id": 388170,
"author": "Brian Fisher",
"author_id": 43816,
"author_profile": "https://Stackoverflow.com/users/43816",
"pm_score": 0,
"selected": false,
"text": "$sql = 'SELECT * FROM bugs WHERE bug_id = ?';\n\n$result = $db->fetchAll($sql, 2);\n"
},
{
"answer_id": 37353... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388163",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
388,172 | <p>Are there any scientific packages for Lua comparable to Scipy?</p>
| [
{
"answer_id": 388587,
"author": "nosklo",
"author_id": 17160,
"author_profile": "https://Stackoverflow.com/users/17160",
"pm_score": 3,
"selected": false,
"text": "> require(\"python\")\n> numpy = python.import(\"numpy\")\n> numpy.array ... etc ..\n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388172",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41718/"
] |
388,173 | <p>Is there a way to tidy-up the following code, rather than a series of nested try/except statements?</p>
<pre><code>try:
import simplejson as json
except ImportError:
try:
import json
except ImportError:
try:
from django.utils import simplejson as json
except:
... | [
{
"answer_id": 388360,
"author": "Soviut",
"author_id": 46914,
"author_profile": "https://Stackoverflow.com/users/46914",
"pm_score": 4,
"selected": true,
"text": "def module_exists(module_name):\n try:\n mod = __import__(module_name)\n except ImportError:\n return Fa... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388173",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/745/"
] |
388,180 | <p>I have a div 200 x 200 px. I want to place a 50 x 50 px image right in the middle of the div. </p>
<p>How can it be done?</p>
<p>I am able to get it centered horizontally by using <code>text-align: center</code> for the div. But vertical alignment is the issue..</p>
| [
{
"answer_id": 388186,
"author": "Kenan Banks",
"author_id": 43089,
"author_profile": "https://Stackoverflow.com/users/43089",
"pm_score": 3,
"selected": false,
"text": "line-height"
},
{
"answer_id": 388190,
"author": "Tim Knight",
"author_id": 43043,
"author_profile... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388180",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48557/"
] |
388,187 | <p>Given a data structure (e.g. a hash of hashes), what's the clean/recommended way to make a deep copy for immediate use? Assume reasonable cases, where the data's not particularly large, no complicated cycles exist, and readability/maintainability/etc. are more important than speed at all costs.</p>
<p>I know that I... | [
{
"answer_id": 388196,
"author": "chaos",
"author_id": 47529,
"author_profile": "https://Stackoverflow.com/users/47529",
"pm_score": 4,
"selected": false,
"text": "Storable::dclone()"
},
{
"answer_id": 390699,
"author": "Community",
"author_id": -1,
"author_profile": ... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388187",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31100/"
] |
388,192 | <p>I've been looking for a while how to play sound on the iphone, and I think it's something along the lines of:</p>
<pre><code>[[NSSound soundNamed:@"cat.mp3"] play];
</code></pre>
<p>But the NSSound is on the AppKit ... any suggestions ? I know there is a really simple answer to this, but today my searches are not ... | [
{
"answer_id": 388198,
"author": "Frank Krueger",
"author_id": 338,
"author_profile": "https://Stackoverflow.com/users/338",
"pm_score": 3,
"selected": false,
"text": "// Initialize\nCFBundleRef mainBundle;\nmainBundle = CFBundleGetMainBundle ();\n\n// Init each sound\nCFURLRef tapU... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388192",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23238/"
] |
388,200 | <p>I've done quite a bit of programming on Windows but now I have to write my first Linux app. </p>
<p>I need to talk to a hardware device using UDP. I have to send 60 packets a second with a size of 40 bytes. If I send less than 60 packets within 1 second, bad things will happen.
The data for the packets may take a w... | [
{
"answer_id": 388235,
"author": "Andrew Edgecombe",
"author_id": 11694,
"author_profile": "https://Stackoverflow.com/users/11694",
"pm_score": 1,
"selected": false,
"text": "pipe()"
},
{
"answer_id": 388305,
"author": "Artelius",
"author_id": 31945,
"author_profile":... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388200",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48556/"
] |
388,201 | <p>I'm not sure if memory is the culprit here. I am trying to instantiate a GD image from data in memory (it previously came from a database). I try a call like this:</p>
<pre><code>my $image = GD::Image->new($image_data);
</code></pre>
<p><code>$image</code> comes back as <code>undef</code>. The POD for GD say... | [
{
"answer_id": 388250,
"author": "jerebear",
"author_id": 42979,
"author_profile": "https://Stackoverflow.com/users/42979",
"pm_score": 0,
"selected": false,
"text": "$src_img = imagecreatefromstring($userfile2);\nimagecopyresampled($dst_img,$src_img,0,0,0,0,$thumb_width,$thumb_height,$o... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388201",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4257/"
] |
388,208 | <p>Is there a way to set the default buffer size for JSPs in Tomcat? I know I can set them on every page, but am hoping there's a global option somewhere.</p>
| [
{
"answer_id": 388402,
"author": "Olaf Kock",
"author_id": 13447,
"author_profile": "https://Stackoverflow.com/users/13447",
"pm_score": 2,
"selected": false,
"text": "<%@ taglib uri=\"http://java.sun.com/jstl/core_rt\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jstl/fmt_rt\" ... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388208",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48560/"
] |
388,223 | <p>I have a page with this HTML:</p>
<pre><code><p>
<img src="images/ih01.jpg" width="80" height="110" align="left" />
This course overs basic human anatomy and physiology, including the major
body systems and their functions. When you have completed this course you
will be able to identify... | [
{
"answer_id": 388226,
"author": "recursive",
"author_id": 44743,
"author_profile": "https://Stackoverflow.com/users/44743",
"pm_score": 4,
"selected": true,
"text": "<img src=\"images/ih01.jpg\" style=\"float: left; height: 110px; width: 80px; \" >\n"
},
{
"answer_id": 388230,
... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388223",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9021/"
] |
388,233 | <p>I have a Question model & Form, one of the fields in this model is <strong>userid=ForeignKey(User)</strong>, this Works perfectly well on the Question Model, am able to pick the user from a drop down. </p>
<p>But kind a tricky when i want to list the question from the model, which is the best way to <strong>loo... | [
{
"answer_id": 388296,
"author": "ayaz",
"author_id": 23191,
"author_profile": "https://Stackoverflow.com/users/23191",
"pm_score": 0,
"selected": false,
"text": "Question"
},
{
"answer_id": 389701,
"author": "jpwatts",
"author_id": 21279,
"author_profile": "https://S... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388233",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20894/"
] |
388,237 | <p>Let's say I have the following code:</p>
<pre><code>IBOutlet UITextField* nameTextField;
IBOutlet UILabel* greetingLabel;
</code></pre>
<p>I'd like the <code>greetingLabel</code> to read "Hello [nameTextField]" as soon as the user presses any key.</p>
<p>What I need basically is the iPhone equivalent of the Cocoa... | [
{
"answer_id": 388395,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 7,
"selected": false,
"text": "[nameTextField addTarget:self action:@selector(updateLabelUsingContentsOfTextField:) forControlEvents:UIControlEventEditingCha... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388237",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2288585/"
] |
388,238 | <p>this seems so silly - i must be missing something obvious. I have the following code (just as a test):</p>
<pre><code><%@ Page Language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
vo... | [
{
"answer_id": 388251,
"author": "Dave Markle",
"author_id": 24995,
"author_profile": "https://Stackoverflow.com/users/24995",
"pm_score": 2,
"selected": false,
"text": "Response.BufferOutput = false;\n"
},
{
"answer_id": 1563813,
"author": "eidylon",
"author_id": 80209,
... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388238",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31902/"
] |
388,258 | <p>In my Dev C++, I am trying to create a 2D Array class that acts like a Grid.
But one of the problem is I am unsure what do for the constructor.</p>
<p>When I try to compile, I get the following errors:
In constructor 'Grid::Grid(int,int)':
'sqaures' is not a type
'yPos' cannot appear in a constant-expression
[Build... | [
{
"answer_id": 388272,
"author": "grepsedawk",
"author_id": 14388,
"author_profile": "https://Stackoverflow.com/users/14388",
"pm_score": 2,
"selected": false,
"text": "using namespace std;"
},
{
"answer_id": 388278,
"author": "David Norman",
"author_id": 34502,
"auth... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388258",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
388,264 | <p>I recently switched over to a MacBook Pro so I'm still really new at Mac software ecosystem. What is the best guide or what tips do you have to quickly get adept at using Mac for developing on both Mac/Unix and MS platforms (*.NET, SharePoint, SQL Server, etc) using VMWare Fusion? For example, I've setup NetBeans, F... | [
{
"answer_id": 388271,
"author": "Adam Rosenfield",
"author_id": 9530,
"author_profile": "https://Stackoverflow.com/users/9530",
"pm_score": 4,
"selected": false,
"text": "sudo port install package-name\n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388264",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47110/"
] |
388,268 | <p>Is there any way to change Visual Studio Auto formatting options? Like VS by default uses close bracket format for Javascripts. </p>
| [
{
"answer_id": 22997653,
"author": "Habib",
"author_id": 961113,
"author_profile": "https://Stackoverflow.com/users/961113",
"pm_score": 5,
"selected": false,
"text": "Tools -> Options -> Text Editor -> JavaScript \n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388268",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1312208/"
] |
388,295 | <p>Python, C++, Scheme, and others all let you define functions that take a variable number of arguments at the end of the argument list...</p>
<pre><code>def function(a, b, *args):
#etc...
</code></pre>
<p>...that can be called as followed:</p>
<pre><code>function(1, 2)
function(1, 2, 5, 6, 7, 8)
</code></pre>
... | [
{
"answer_id": 388310,
"author": "jmucchiello",
"author_id": 44065,
"author_profile": "https://Stackoverflow.com/users/44065",
"pm_score": 0,
"selected": false,
"text": "function foo() {\n $args = func_get_args(); // returns an array of args\n}\n"
},
{
"answer_id": 388314,
... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388295",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15055/"
] |
388,302 | <p>It is possible because PageRank was a form of eigenvalue and that is why MapReduce introduced. But there seems problems in actual implementation, such as every slave computer have to maintain a copy of the matrix?</p>
| [
{
"answer_id": 390451,
"author": "Gavin Miller",
"author_id": 33226,
"author_profile": "https://Stackoverflow.com/users/33226",
"pm_score": 3,
"selected": false,
"text": "for (int i = 0; i < m[].length; i++)\n{\n for (int j = 0; j < m[i].length; j++)\n {\n m[i][j]++; \n }... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388302",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
388,304 | <p>When programming C++ we used to create copy constructors when needed (or so we were taught). When switching to Java a few years ago, I noticed that the Cloneable interface is now being used instead. C# followed the same route defining the ICloneable interface. It seems to me that cloning is part of the definition of... | [
{
"answer_id": 388317,
"author": "jmucchiello",
"author_id": 44065,
"author_profile": "https://Stackoverflow.com/users/44065",
"pm_score": 2,
"selected": false,
"text": "SomeClass x = new SomeClass();\n"
},
{
"answer_id": 388322,
"author": "Johannes Schaub - litb",
"autho... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388304",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41283/"
] |
388,312 | <p>I'm trying to code what I think is a fairly routine AJAX pattern using TreeViews and UpdatePanels. My situation is this:</p>
<p>I have a TreeView within an UpdatePanel. I have a Literal within another UpdatePanel. When the user clicks on a node within the TreeView, the contents of the Literal are updated. Now, sinc... | [
{
"answer_id": 388386,
"author": "Aaron Powell",
"author_id": 11388,
"author_profile": "https://Stackoverflow.com/users/11388",
"pm_score": 2,
"selected": true,
"text": "PageRequestManager"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388312",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/34985/"
] |
388,321 | <p>I hear a lot about map/reduce, especially in the context of Google's massively parallel compute system. What exactly is it?</p>
| [
{
"answer_id": 388329,
"author": "coobird",
"author_id": 17172,
"author_profile": "https://Stackoverflow.com/users/17172",
"pm_score": 7,
"selected": true,
"text": "map"
},
{
"answer_id": 388550,
"author": "Daniel Earwicker",
"author_id": 27423,
"author_profile": "htt... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388321",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8946/"
] |
388,328 | <p>Ok, let me explain more... the goal is to make the checkbox checked if there's a change on select. The actual code was:</p>
<pre><code>function checkit(date)
{
document.forms[0].date.checked = true;
}
<input type="checkbox" name="date[]" value="2008-08-14">Aug 14, 2008<br>
<select name="slot[]"... | [
{
"answer_id": 388339,
"author": "Andreas Grech",
"author_id": 44084,
"author_profile": "https://Stackoverflow.com/users/44084",
"pm_score": 1,
"selected": false,
"text": "function checkit(date)\n {\n var date = document.getElementById(date);\n date.checked = true;\n }\n<input ... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388328",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47301/"
] |
388,344 | <p>I am modifying a Nant build script to run some unit tests. I have different targets for locally run tests and tests to be run on team city.</p>
<pre><code><target name="run-unit-tests">
<property name="test.executable" value="tools\nunit\nunit-console.exe"/>
<call... | [
{
"answer_id": 388425,
"author": "Stobor",
"author_id": 43452,
"author_profile": "https://Stackoverflow.com/users/43452",
"pm_score": 3,
"selected": true,
"text": "<target name=\"run-unit-tests\">\n <property name=\"test.executable\" value=\"tools\\nunit\\nunit-console.exe\"/>\n <pro... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388344",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39532/"
] |
388,353 | <p>I am working on an application that allows users to input Japanese language characters. I am trying to come up with a way to determine whether the user's input is a Japanese kana (hiragana, katakana, or kanji).</p>
<p>There are certain fields in the application where entering Latin text would be inappropriate and I... | [
{
"answer_id": 784775,
"author": "Assembler",
"author_id": 5503,
"author_profile": "https://Stackoverflow.com/users/5503",
"pm_score": 2,
"selected": false,
"text": "$pattern = '/[^\\wぁ-ゔァ-ヺー\\x{4E00}-\\x{9FAF}_\\-]+/u';\n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388353",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18265/"
] |
388,356 | <p>What is the recommended way of including a Javascript file from another Javascript file?</p>
| [
{
"answer_id": 388363,
"author": "Ben",
"author_id": 11522,
"author_profile": "https://Stackoverflow.com/users/11522",
"pm_score": 0,
"selected": false,
"text": "<script type=\"text/javascript\">\n// Function to allow one JavaScript file to be included by another.\n// Copyright (C) 2006-... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388356",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48557/"
] |
388,357 | <p>I have a JfreeReport Application which run under Tomcat inside a jar. In the report template (which exists outside the jar) I have the following:
file:///var/lib/tomcat5.5/webapps/Reports/images/logo.gif
But then I get exception:
org.jfree.report.modules.ModuleInitializeException: Unable to create the sp... | [
{
"answer_id": 388363,
"author": "Ben",
"author_id": 11522,
"author_profile": "https://Stackoverflow.com/users/11522",
"pm_score": 0,
"selected": false,
"text": "<script type=\"text/javascript\">\n// Function to allow one JavaScript file to be included by another.\n// Copyright (C) 2006-... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388357",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
388,358 | <p>I've been using HInclude (<a href="http://www.mnot.net/javascript/hinclude/" rel="nofollow noreferrer">http://www.mnot.net/javascript/hinclude/</a>) for sometime now and its working great, but there is one problem though. The part of my site which is fetched using HInclude doesn't get refreshed everytime I hit the b... | [
{
"answer_id": 388363,
"author": "Ben",
"author_id": 11522,
"author_profile": "https://Stackoverflow.com/users/11522",
"pm_score": 0,
"selected": false,
"text": "<script type=\"text/javascript\">\n// Function to allow one JavaScript file to be included by another.\n// Copyright (C) 2006-... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388358",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44916/"
] |
388,359 | <p>The only distributed revision control system I've used on my projects is bazaar. I don't know much about git and mercurial except how to do checkouts. The reason I like bazaar is the automv plugin. It detects when I've moved/deleted files manualy (from command line/ide etc.) which I tend to do alot when I'm in a hur... | [
{
"answer_id": 388374,
"author": "Greg Hewgill",
"author_id": 893,
"author_profile": "https://Stackoverflow.com/users/893",
"pm_score": 4,
"selected": true,
"text": "abc123..."
},
{
"answer_id": 389092,
"author": "Jörg W Mittag",
"author_id": 2988,
"author_profile": "... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388359",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7883/"
] |
388,365 | <p>I'm trying to POST to the HTTP gateway of an SMS provider (Sybase 365) using CURL from a Linux shell script.</p>
<p>I need to pass the following data (note the [ ] and LF characters)</p>
<pre><code>[MSISDN]
List=+12345678
[MESSAGE]
Text=Hello
[END]
</code></pre>
<p>If I submit a file using the -F parameter, CURL ... | [
{
"answer_id": 388373,
"author": "Athena",
"author_id": 17846,
"author_profile": "https://Stackoverflow.com/users/17846",
"pm_score": 4,
"selected": false,
"text": "--data-binary"
},
{
"answer_id": 388488,
"author": "Robin Minto",
"author_id": 1456,
"author_profile": ... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388365",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1456/"
] |
388,375 | <p>Is it necessary to use "Nothing" keyword to initialize a DataSet in VB.NET?</p>
| [
{
"answer_id": 388391,
"author": "ChrisA",
"author_id": 24867,
"author_profile": "https://Stackoverflow.com/users/24867",
"pm_score": 2,
"selected": false,
"text": "Dim ds as New DataSet\n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388375",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48581/"
] |
388,394 | <p>I am writing a JSR-168 portlet that can be added to a container multiple times. Each container (Liferay, JBoss, etc.) has its own internal way of differentiating between multiple instantiations of the same portlet.</p>
<p>I, however, would like to uniquely identify my portlet instance inside the <code>doView()</cod... | [
{
"answer_id": 388418,
"author": "Arne Burmeister",
"author_id": 12890,
"author_profile": "https://Stackoverflow.com/users/12890",
"pm_score": 0,
"selected": false,
"text": "javax.portlet.PortletRequest#getPortletSession()"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388394",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5309/"
] |
388,434 | <p>How do i unset a already set flag using fcntl?</p>
<p>For e.g. I can set the socket to nonblocking mode using </p>
<pre><code>fcntl(sockfd, F_SETFL, flags | O_NONBLOCK)
</code></pre>
<p>Now, i want to unset the O_NONBLOCK flag.</p>
<p>I tried fcntl(sockfd, F_SETFL, flags | ~O_NONBLOCK). It gave me error EINVAL</... | [
{
"answer_id": 388441,
"author": "C. K. Young",
"author_id": 13,
"author_profile": "https://Stackoverflow.com/users/13",
"pm_score": 4,
"selected": true,
"text": "int oldfl;\noldfl = fcntl(sockfd, F_GETFL);\nif (oldfl == -1) {\n /* handle error */\n}\nfcntl(sockfd, F_SETFL, oldfl & ~O... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388434",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39615/"
] |
388,436 | <p>I have some jQuery code. I have called an Ajax function file, file.php, that has some fields, like:</p>
<pre><code><input type="radio" value="plz">Milk</input>.
</code></pre>
<p>Will I assign into again jQuery function? If so, how do I do it? I attached a sample file:</p>
<pre><code><html>
&... | [
{
"answer_id": 388450,
"author": "Athena",
"author_id": 17846,
"author_profile": "https://Stackoverflow.com/users/17846",
"pm_score": 5,
"selected": true,
"text": "success"
},
{
"answer_id": 11353357,
"author": "smitha kamath",
"author_id": 1505333,
"author_profile": ... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388436",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44984/"
] |
388,439 | <p>Java 5 introduced generics, and they were added to many interfaces in the <code>java.lang</code> package. However, <code>Cloneable</code> did not get generics. I wonder why?</p>
<hr>
<p><strong>Edit:</strong> In reply to the answers of @Jon and @litb, and the comment of @Earwicker, I was thinking <code>Cloneable</... | [
{
"answer_id": 388449,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile": "https://Stackoverflow.com/users/34509",
"pm_score": 3,
"selected": false,
"text": "java.lang.Cloneable"
},
{
"answer_id": 392002,
"author": "Community",
"author_id": -1,
... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388439",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41283/"
] |
388,461 | <p>Is there some easy way to pad Strings in Java?</p>
<p>Seems like something that should be in some StringUtil-like API, but I can't find anything that does this.</p>
| [
{
"answer_id": 388476,
"author": "GaryF",
"author_id": 1035,
"author_profile": "https://Stackoverflow.com/users/1035",
"pm_score": 9,
"selected": true,
"text": "StringUtils"
},
{
"answer_id": 388479,
"author": "Miserable Variable",
"author_id": 18573,
"author_profile"... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388461",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15355/"
] |
388,464 | <p>I'm creating a function where I need to pass an object so that it can be modified by the function. What is the difference between:</p>
<pre><code>public void myFunction(ref MyClass someClass)
</code></pre>
<p>and</p>
<pre><code>public void myFunction(out MyClass someClass)
</code></pre>
<p>Which should I use and... | [
{
"answer_id": 388465,
"author": "Ruben Bartelink",
"author_id": 11635,
"author_profile": "https://Stackoverflow.com/users/11635",
"pm_score": 5,
"selected": false,
"text": "out"
},
{
"answer_id": 388467,
"author": "Rune Grimstad",
"author_id": 30366,
"author_profile"... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388464",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1816/"
] |
388,468 | <p>I am using the ListView Control with the following datasource <code>List<MyObject></code></p>
<p>On my listview control i have an OnItemDataBound</p>
<p></p>
<p>My question is how do get the current value of MyObject. Ie myObj[5].FirstName</p>
<p>protected void ItemsListViewDataBound(object sender, ListVie... | [
{
"answer_id": 388509,
"author": "Aaron Powell",
"author_id": 11388,
"author_profile": "https://Stackoverflow.com/users/11388",
"pm_score": 5,
"selected": true,
"text": "protected void MyListView_DataBind(object sender, ListViewItemEventArgs e){\n if(e.Item.ItemType == ListViewItemType.... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388468",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/461880/"
] |
388,483 | <p>I'm trying to use the <code>Html.DropDownList</code> extension method but can't figure out how to use it with an enumeration.</p>
<p>Let's say I have an enumeration like this:</p>
<pre><code>public enum ItemTypes
{
Movie = 1,
Game = 2,
Book = 3
}
</code></pre>
<p>How do I go about creating a dropdown ... | [
{
"answer_id": 388590,
"author": "Garry Shutler",
"author_id": 6369,
"author_profile": "https://Stackoverflow.com/users/6369",
"pm_score": 3,
"selected": false,
"text": "Enum.GetValues"
},
{
"answer_id": 388704,
"author": "Ash",
"author_id": 31128,
"author_profile": "... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388483",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1574/"
] |
388,490 | <p>We have a project in Team Foundation Server (TFS) that has a non-English character (š) in it. When trying to script a few build-related things we've stumbled upon a problem - we can't pass the <strong>š</strong> letter to the command-line tools. The command prompt or what not else messes it up, and the <strong>tf.ex... | [
{
"answer_id": 388500,
"author": "kgiannakakis",
"author_id": 24054,
"author_profile": "https://Stackoverflow.com/users/24054",
"pm_score": 9,
"selected": false,
"text": "chcp 65001\n"
},
{
"answer_id": 3556411,
"author": "vanna",
"author_id": 429520,
"author_profile"... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388490",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41360/"
] |
388,492 | <p>When I visually scale an image, Firefox 3 blurs it. Firefox 2 and other browsers don't, which is the behavior I expect. This is especially lame for creating a web based game using png or gif sprites.</p>
<p>For example, when showing a 100x100 image in Firefox 3 like this:</p>
<pre><code><img src="sprite.gif" wi... | [
{
"answer_id": 767664,
"author": "Martin Kool",
"author_id": 48595,
"author_profile": "https://Stackoverflow.com/users/48595",
"pm_score": 6,
"selected": true,
"text": "image-rendering: -moz-crisp-edges;\n"
},
{
"answer_id": 3173765,
"author": "Jan Goyvaerts",
"author_id"... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388492",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48595/"
] |
388,493 | <p>How can we avoid Master Page from posting back the whole page?</p>
| [
{
"answer_id": 388966,
"author": "BenAlabaster",
"author_id": 40650,
"author_profile": "https://Stackoverflow.com/users/40650",
"pm_score": 2,
"selected": false,
"text": "<asp:UpdatePanel id=\"MyUpdatePanel\" runat=\"server\" ChildrenAsTriggers=\"True\">\n <ContentTemplate>\n ...Stuf... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388493",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48581/"
] |
388,497 | <pre><code>select
(Case Remark01
When 'l1' then type1
when 'l2' then type2
end) AS [?] --Remark .....want to switch name in here
from mytable
</code></pre>
<p>Example ....</p>
<pre><code>select
(Case level
When 'l1' then type1 ('l1' mean check constant string)
when 'l2' then type2(('l2' mean check constant string))... | [
{
"answer_id": 388966,
"author": "BenAlabaster",
"author_id": 40650,
"author_profile": "https://Stackoverflow.com/users/40650",
"pm_score": 2,
"selected": false,
"text": "<asp:UpdatePanel id=\"MyUpdatePanel\" runat=\"server\" ChildrenAsTriggers=\"True\">\n <ContentTemplate>\n ...Stuf... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388497",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
388,506 | <p>I'd like to display splash screen while the application is loading. However some 3rd party components block main thread during initilization for several seconds, which causes all forms not to update. Is it possible to have splash screen with own thread so it would update also when main thread is busy?</p>
<p>The ap... | [
{
"answer_id": 388826,
"author": "Jim McKeeth",
"author_id": 255,
"author_profile": "https://Stackoverflow.com/users/255",
"pm_score": 2,
"selected": false,
"text": "begin\n Application.Initialize;\n SplashForm := TSplashForm.Create(nil);\n try\n SplashForm.FormStyle := fsStayOnTop... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388506",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7735/"
] |
388,510 | <p>Is there any possiblity to read a .config file in a dll assembly? At the moment I use OpenExeConfiguration on a Assembly.Location Property which seems to work. But I want to create separate .config files for different usages like ConfigModuleA.config, ConfigModuleB.config etc. </p>
<p>Any idea? </p>
| [
{
"answer_id": 388520,
"author": "Aaron Powell",
"author_id": 11388,
"author_profile": "https://Stackoverflow.com/users/11388",
"pm_score": 1,
"selected": false,
"text": "configSource"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388510",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43913/"
] |
388,517 | <p>Is there a way to configure the directory where all the configuration files are stored by IntelliJ IDEA (version 8.0.1)?</p>
<p>By default, these files are stored in <em>%home%</em>\.IntelliJIdea80... (or .IdeaIC12 etc.), but I want to define another location...</p>
| [
{
"answer_id": 388536,
"author": "krosenvold",
"author_id": 23691,
"author_profile": "https://Stackoverflow.com/users/23691",
"pm_score": 6,
"selected": true,
"text": "%idea installation directory%\\bin\\idea.properties"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388517",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26457/"
] |
388,554 | <p>Is there any possibility how to enumerate AppDomains within Process?</p>
| [
{
"answer_id": 388582,
"author": "Brann",
"author_id": 47341,
"author_profile": "https://Stackoverflow.com/users/47341",
"pm_score": 7,
"selected": true,
"text": "using System.Runtime.InteropServices;\n// Add the following as a COM reference - C:\\WINDOWS\\Microsoft.NET\\Framework\\vXXXX... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388554",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43178/"
] |
388,555 | <p>in a script when error comes i am just using "EXITGLOBALITERATION" command but its not going to the next iteration ....Is there any other alternative for this??</p>
| [
{
"answer_id": 389015,
"author": "Tester101",
"author_id": 38695,
"author_profile": "https://Stackoverflow.com/users/38695",
"pm_score": 0,
"selected": false,
"text": "\nOn Error Resume Next\nFor i = 0 To 10\n 'Command1\n If Err.Number = 0 Then\n 'Command2\n If Err.Number = 0 Th... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388555",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46565/"
] |
388,556 | <p>I have an action method that that returns a PagedList<> after a form's POST request.<br>
I would like to add paging to this page, but all paging scenarios only seem to work with GET requests.</p>
<p>Currently the only way of adding paging controls is adding a bunch of forms with one button for navigating the pag... | [
{
"answer_id": 389549,
"author": "Todd Smith",
"author_id": 31624,
"author_profile": "https://Stackoverflow.com/users/31624",
"pm_score": 1,
"selected": false,
"text": "function GoToPage(pageNumber)\n{\n // submit form along with pageNumber\n\n return false;\n}\n\n<a href=\"javascr... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388556",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/11333/"
] |
388,557 | <p>I like .NET webcontrols and you manipulate things, that's common consensus, but XML and XSL is so great, because you have UI logic that is platform & language-independent, so one day I change the app to php, java or whatever and i can reuse all the presentation logic.
Moreover, XSL has the possibility to call .... | [
{
"answer_id": 388605,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 1,
"selected": false,
"text": "<%=foo.Name%>"
},
{
"answer_id": 388626,
"author": "annakata",
"author_id": 13018,
"author_profil... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388557",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31791/"
] |
388,561 | <p>thank you. here is the correct question:</p>
<pre><code>{
"VID":"60",
"name":"\u4f1a\u9634",
"requireLevel":"20",
"levelMax":"5",
"venationRequirement":"0",
"description":"\u6c14\u6d77\u4e0a\u9650\u63d0\u9ad8[Affect1]\u70b9",
"cost":{"1":"240","2":"360","3":"400","4":"600","5":"720"},
... | [
{
"answer_id": 388568,
"author": "James Gregory",
"author_id": 27206,
"author_profile": "https://Stackoverflow.com/users/27206",
"pm_score": 2,
"selected": false,
"text": "var s = '{\"first\": {\"a\":1}, \"second\": {\"b\":2}}';\n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388561",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
388,565 | <p>We have some web pages which have two frames, with one frame in the IE 6 search bar (created using the <code>open("path.htm", "_search");</code> call). The page shown in the frame on the search bar contains buttons, on click of which we update the right frame. On migration to IE 7, both frames open in their own wind... | [
{
"answer_id": 388568,
"author": "James Gregory",
"author_id": 27206,
"author_profile": "https://Stackoverflow.com/users/27206",
"pm_score": 2,
"selected": false,
"text": "var s = '{\"first\": {\"a\":1}, \"second\": {\"b\":2}}';\n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388565",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9195/"
] |
388,585 | <p>I have quite a few RewriteRules in my .htaccess that looks like this</p>
<pre><code>RewriteRule ^something/(\d+)/start /index.php?ix=$1
RewriteRule ^embed/something/(\d+)/start /index.php?ix=$1&fEmbed=1
</code></pre>
<p>The only difference between these two is the leading "embed/", so I was thinking it w... | [
{
"answer_id": 388603,
"author": "PEZ",
"author_id": 44639,
"author_profile": "https://Stackoverflow.com/users/44639",
"pm_score": 2,
"selected": true,
"text": "RewriteRule ^(embed/)?something/(\\d+)/start$ /index.php?ix=$2\nRewriteRule ^embed/(.*) $1&fEmbed=1\n"
},
{
"answ... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388585",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1606/"
] |
388,591 | <p>In my application data is stored in a .config file,(in XML format). User is able to set date on which he wants mail (like reminder through mail). So there should be a scheduler which will execute daily to send mails on target date to users. As there is no database interaction how is it possible to run scheduler?</p>... | [
{
"answer_id": 389423,
"author": "user48691",
"author_id": 48691,
"author_profile": "https://Stackoverflow.com/users/48691",
"pm_score": 1,
"selected": false,
"text": "<code>\n<%@ Application Language=\"C#\" %>\n\n<script runat=\"server\">\n\n private const string DeliveryPageUrl = \"... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388591",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43886/"
] |
388,595 | <p>What advantages do either method offer for html, css and javascript files served by a LAMP server. Are there better alternatives?</p>
<p>The server provides information to a map application using Json, so a high volume of small files.</p>
<p><strong>See also <a href="https://stackoverflow.com/questions/211284/is-t... | [
{
"answer_id": 777444,
"author": "aidan",
"author_id": 71062,
"author_profile": "https://Stackoverflow.com/users/71062",
"pm_score": -1,
"selected": false,
"text": "a2enmod deflate\n/etc/init.d/apache2 force-reload\n"
},
{
"answer_id": 9856879,
"author": "Sam Saffron",
"a... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388595",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20074/"
] |
388,599 | <p>When transmitting data, the Hamming code apparently allows you to recreate data that has been corrupted over the wire (an error correcting code).</p>
<p>How does this work and what are its limitations, if any?</p>
<p>Are there any better solutions for error correction (as opposed to retransmission)? Are there circ... | [
{
"answer_id": 388669,
"author": "Toon Krijthe",
"author_id": 18061,
"author_profile": "https://Stackoverflow.com/users/18061",
"pm_score": 6,
"selected": true,
"text": "000 --------001\n | \\ | \\\n | 100---------101\n | | | |\n | | | |\n010-|-------011 |\n \... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388599",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14860/"
] |
388,615 | <p>If i need to find out the size of a tcp packet on BSD.....what do we need to do?</p>
<p>Is there some utility which allows for this?</p>
| [
{
"answer_id": 388647,
"author": "Can Berk Güder",
"author_id": 2119,
"author_profile": "https://Stackoverflow.com/users/2119",
"pm_score": 1,
"selected": false,
"text": "tcpdump"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388615",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/35416/"
] |
388,624 | <p>I am trying to implement a ListView data control for displaying and editing lookup table/ application level variables. There are multiple entity classes which can be bound to the ListView, so the ItemTemplate needs to be dynamically bound to the selected entity object.</p>
<p>For example i have: </p>
<pre><code>Ad... | [
{
"answer_id": 388684,
"author": "flesh",
"author_id": 27805,
"author_profile": "https://Stackoverflow.com/users/27805",
"pm_score": 3,
"selected": true,
"text": "<asp:ListView ID=\"parentList\" runat=\"server\">\n <ItemTemplate>\n <asp:Repeater ID=\"childData\" runat=\"server\" D... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388624",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/35286/"
] |
388,642 | <p>I have a repeater that should show a bound field value only if it exists. Having read <a href="https://stackoverflow.com/questions/368169/conditional-logic-in-aspnet-page">this post</a> I decided to do it by using a literal within my repeater and using the OnItemDatabound trigger to populate my literal but my litera... | [
{
"answer_id": 388684,
"author": "flesh",
"author_id": 27805,
"author_profile": "https://Stackoverflow.com/users/27805",
"pm_score": 3,
"selected": true,
"text": "<asp:ListView ID=\"parentList\" runat=\"server\">\n <ItemTemplate>\n <asp:Repeater ID=\"childData\" runat=\"server\" D... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388642",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40623/"
] |
388,646 | <p>Is there a way to debug javascript using Safari 3.2 in Windows Vista? </p>
<p>I found a <a href="http://pietschsoft.com/post/2007/12/Safari-3-for-Windows-Enable-JavaScript-Debugging.aspx" rel="noreferrer">link</a> to a debugger named Drosera but I can't get it to work because the information seams to be outdated. <... | [
{
"answer_id": 7388732,
"author": "RYFN",
"author_id": 21200,
"author_profile": "https://Stackoverflow.com/users/21200",
"pm_score": 4,
"selected": false,
"text": "develop menu"
},
{
"answer_id": 45484182,
"author": "kenorb",
"author_id": 55075,
"author_profile": "htt... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388646",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25960/"
] |
388,650 | <p>I want to check the following with regular expression</p>
<pre><code>{Today,Format}
</code></pre>
<p>Today - will be remains as it is.
In the place of Format, we can allow the digits from 0 to 12.</p>
<p>for example: we have to allow</p>
<pre><code>{Today,0}
{Today,1}
{Today,2}
...
{Today,12}
</code></pre>
<p>a... | [
{
"answer_id": 388663,
"author": "cletus",
"author_id": 18393,
"author_profile": "https://Stackoverflow.com/users/18393",
"pm_score": 4,
"selected": false,
"text": "\\{Today,(\\d|1[012]|Format)?\\}\n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388650",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/38172/"
] |
388,673 | <p>What is the best (date format independent way) in PHP to calculate difference in days between two dates in specified format.</p>
<p>I tried the following function:</p>
<pre><code>function get_date_offset($start_date, $end_date)
{
$start_time = strtotime($start_date);
$end_time = strtotime($end_date);
return ... | [
{
"answer_id": 388884,
"author": "Ole Helgesen",
"author_id": 21892,
"author_profile": "https://Stackoverflow.com/users/21892",
"pm_score": 2,
"selected": false,
"text": "// example printing difference in days\nrequire('Zend/Date.php');\n\n$date1 = new Zend_Date();\n$date1->set(2, Zend_D... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388673",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31141/"
] |
388,677 | <p>I have a multi-browser page that shows vertical text.</p>
<p>As an ugly hack to get text to render vertically in all browsers I've created a custom page handler that returns a PNG with the text drawn vertically.</p>
<p>Here's my basic code (C#3, but small changes to any other version down to 1):</p>
<pre><code>Fo... | [
{
"answer_id": 820410,
"author": "pmcilreavy",
"author_id": 88289,
"author_profile": "https://Stackoverflow.com/users/88289",
"pm_score": 5,
"selected": true,
"text": "g.TextRenderingHint = System.Drawing.Text.TextRenderingHint.ClearTypeGridFit;\n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388677",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/905/"
] |
388,686 | <p>private int DBUpdate()
{</p>
<pre><code>DAL dal = new DAL();
string upd = "UPDATE [RPform] SET [ProjectName] = '@pname', [ProjectCode] = '@pcode', [Country] = @cnt, ";
upd += "[StartDate] = '@startdate', [FinishDate] = '@finishdate', [TotalParticipants] = @totpart, [ArrivalDate] = '@arrivedate', ";
upd += "[Air... | [
{
"answer_id": 388712,
"author": "Nelson Reis",
"author_id": 29544,
"author_profile": "https://Stackoverflow.com/users/29544",
"pm_score": 3,
"selected": false,
"text": "[StartDate] = '@startdate'\n"
},
{
"answer_id": 388771,
"author": "sgwill",
"author_id": 1204,
"au... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388686",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
388,687 | <p>I have a database for an E-commerce storefront. MSSQL 2008.</p>
<p>I have a table called Products and a table called Tags. This is a many to many relationship that is bound together by a table called ProductTags.</p>
<p>Products:<br>
id, name, price</p>
<p>Tags:<br>
id, name, sortorder, parentid(allow nulls)</p>
... | [
{
"answer_id": 388695,
"author": "Frans Bouma",
"author_id": 44991,
"author_profile": "https://Stackoverflow.com/users/44991",
"pm_score": 1,
"selected": false,
"text": "Select T.id, T.Name, T.sortorder, T.parentid, \n(select count(*) from productstags where tagid=T.TagId) as ProductCoun... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388687",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2972/"
] |
388,699 | <p>I am doing some research on .NET security. The most of sources just describe .NET security mechanisms but no even a word of possible vulnerabilities or things to be kept in mind. Do you know any security problems on .NET platform?</p>
| [
{
"answer_id": 5360069,
"author": "RandomNickName42",
"author_id": 67819,
"author_profile": "https://Stackoverflow.com/users/67819",
"pm_score": 0,
"selected": false,
"text": "delegate void AnotherDelegate(Union1 u2); \n\n static Union1 TypeSystemHole(Union2 u2)\n {\n Union1 u... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388699",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
388,708 | <p>I have a method which is given the parameter "bool sortAscending". Now I want to use LINQ to create sorted list depending on this parameter. I got then this:</p>
<pre><code>var ascendingQuery = from data in dataList
orderby data.Property ascending
select data;
var descen... | [
{
"answer_id": 388716,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 5,
"selected": false,
"text": "var qry = from .... // or just dataList.AsEnumerable()/AsQueryable()\n\nif(sortAscending) {\n qry = qry.OrderBy(x=... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388708",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/48621/"
] |
388,715 | <p>How do you transfer a worksheet from one excel app(1) to another(2) if you have two excel apps open using VBA?</p>
<p>The problem is, the programmer uses JavaScript, and when you click on the button that transfers the web data to a xl workbook, it opens a new Excel app.</p>
<p>I know part of the code would be:</p>... | [
{
"answer_id": 388750,
"author": "Stewart Johnson",
"author_id": 6408,
"author_profile": "https://Stackoverflow.com/users/6408",
"pm_score": 3,
"selected": false,
"text": "Dim sourceSheet As Worksheet\nDim destSheet As Worksheet\n\n'' copy from the source\nWorkbooks.Open Filename:=\"c:\\... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388715",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
388,718 | <p>I have two implementations of a method, one for value types and another for reference types:</p>
<pre><code>public static Result<T> ImplRef(T arg) where T : class {...}
public static Result<T> ImplVal(T arg) where T : struct {...}
</code></pre>
<p>I want to write a method which calls the correct implem... | [
{
"answer_id": 388723,
"author": "Stewart Johnson",
"author_id": 6408,
"author_profile": "https://Stackoverflow.com/users/6408",
"pm_score": 0,
"selected": false,
"text": "typeof"
},
{
"answer_id": 388726,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388718",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9204/"
] |
388,748 | <p>I'm using SSRS 2005 to produce a report, and one of the columns in my report is a simple mean calculation. I don't want to divide by zero, so for the textbox value I have put: </p>
<p><code>=Switch(Fields!Count.Value=0,0,Fields!Count.Value>0,Fields!Sum.Value/Fields!Count.Value)</code></p>
<p>This still evaluat... | [
{
"answer_id": 388938,
"author": "HectorMac",
"author_id": 1400,
"author_profile": "https://Stackoverflow.com/users/1400",
"pm_score": 2,
"selected": false,
"text": "Public Function GetMeanValue(ByVal Sum as Decimal, ByVal Count As Int) As Decimal\n 'your logic in plain old vb syntax ... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388748",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1116/"
] |
388,763 | <p>I have a relationship between two tables, authors and styles.
Every author is associated with a style, with the special case where an author doesn't have a style (IS NULL).</p>
<p>There's no problem in setting the reference to NULL, but there's a problem doing a query to select the authors and styles.</p>
<p>For e... | [
{
"answer_id": 388770,
"author": "DanSingerman",
"author_id": 43965,
"author_profile": "https://Stackoverflow.com/users/43965",
"pm_score": 3,
"selected": true,
"text": "SELECT \"authors\".\"id\", \"authors\".\"name\", \"styles\".\"name\", \"authors\".\"comments\" FROM \n\"authors\" , \"... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388763",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18403/"
] |
388,775 | <p>I know I could have an attribute but that's more work than I want to go to... and not general enough.</p>
<p>I want to do something like </p>
<pre><code>class Whotsit
{
private string testProp = "thingy";
public string TestProp
{
get { return testProp; }
set { testProp = value; }
... | [
{
"answer_id": 388791,
"author": "Stewart Johnson",
"author_id": 6408,
"author_profile": "https://Stackoverflow.com/users/6408",
"pm_score": -1,
"selected": false,
"text": "Type t = whotsit.GetType();\nPropertyInfo[] pis = t.GetProperties();\n"
},
{
"answer_id": 388793,
"auth... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388775",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41557/"
] |
388,776 | <p>I recently had to write some code which parsed a file to set data in an object. As there were several objects and corresponding files involved here, I decided to separate the parsing code out.</p>
<p>So I then had one class for parsing the files, <code>CommandFileParser</code>, and two classes per file/object type:... | [
{
"answer_id": 388794,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 1,
"selected": false,
"text": "dataobject.value = value"
},
{
"answer_id": 393196,
"author": "joel.neely",
"author_id": 3525,
"author_... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388776",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
388,778 | <p>i have a field in sql named as address which is of 80 char.
i want to put this field into 2 fields addr1 and addr2 of 40 char each.
how do i do it.</p>
| [
{
"answer_id": 388786,
"author": "Mladen Prajdic",
"author_id": 31345,
"author_profile": "https://Stackoverflow.com/users/31345",
"pm_score": 2,
"selected": false,
"text": "declare @yourVar varchar(80)\nselect substring(@yourVar, 1, 40), substring(@yourVar, 40, 40)\n"
}
] | 2008/12/23 | [
"https://Stackoverflow.com/questions/388778",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
388,799 | <p>I have a Master Detail relationship configured. The hbm file is below. When I run some code like this</p>
<pre><code>Favourite favourite = favourites.Find(f => f.Id== id);
user.Favourites.Remove(favourite);
m_UserRepository.Save(ref user);
</code></pre>
<p>I get the error message</p>
<p><strong>NHibernate.Exce... | [
{
"answer_id": 388824,
"author": "Elie",
"author_id": 23249,
"author_profile": "https://Stackoverflow.com/users/23249",
"pm_score": 1,
"selected": false,
"text": "<bag name=\"Favourites\" cascade=\"all,delete-orphan\" lazy=\"true\">\n <key column=\"UserId\" not-null=\"true\"/>\n <one-t... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388799",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27294/"
] |
388,800 | <p>For example I can point the <code>url '^/accounts/password/reset/$'</code> to <code>django.contrib.auth.views.password_reset</code> with my template filename in the context but I think need to send more context details.</p>
<p>I need to know exactly what context to add for each of the password reset and change vie... | [
{
"answer_id": 388811,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 1,
"selected": false,
"text": "form"
},
{
"answer_id": 388858,
"author": "Aaron Maenpaa",
"author_id": 2603,
"author_profile": "https:... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388800",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15890/"
] |
388,814 | <p>What is best way to show Date Picker for iPhone based Web Application. Can we show something like iPhone native date picker like shown below in web application:</p>
<p><img src="https://i.stack.imgur.com/ms5tX.png" alt="iOS Date Picker"></p>
| [
{
"answer_id": 8774756,
"author": "Kyle",
"author_id": 826668,
"author_profile": "https://Stackoverflow.com/users/826668",
"pm_score": 8,
"selected": true,
"text": "<input type=\"date\" />\n"
},
{
"answer_id": 14643080,
"author": "Christian BUISSON",
"author_id": 2031936,... | 2008/12/23 | [
"https://Stackoverflow.com/questions/388814",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/191/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.