qid int64 4 22.2M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
382,382 | <p>Is there any way in JavaScript how to find out user clicked through the same domain 2 or more times? </p>
<p>I need to popup a window after user clicked anywhere on the site for 3 times. I know how to do it after one click - with <code>document.referrer</code> or <code>addEventListener</code>, but then I'm lost.</p... | [
{
"answer_id": 382701,
"author": "Adriana",
"author_id": 46866,
"author_profile": "https://Stackoverflow.com/users/46866",
"pm_score": 0,
"selected": false,
"text": "var **allLinks** = document.getElementsByTagName(\"a\");\n\nvar **clicked** = 0;\n\n**doCookie**('popunder',clicked,1);\n\... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382382",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46866/"
] |
382,383 | <p>I am working on an ASP.NET page that we, in code impersonate the requesting user. We are using the following code to start impersonating.</p>
<pre><code>Dim impersonationContext As System.Security.Principal.WindowsImpersonationContext
Dim currentWindowsIdentity As System.Security.Principal.WindowsIdentity
currentW... | [
{
"answer_id": 382436,
"author": "Dan Esparza",
"author_id": 19020,
"author_profile": "https://Stackoverflow.com/users/19020",
"pm_score": 0,
"selected": false,
"text": "Using impersonationContext = currentWindowsIdentity.Impersonate() \n' Logic here \nEnd Using\n"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/382383",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13279/"
] |
382,406 | <p>We're on Team Foundation Server 2008 and I'm trying to find a way to report on the change in completed work from week to week at the task level. The MDX query below works pretty well, but I'd like to get rid of need to hard code last week's date. I've tried using prevmember and parallelperiod without success, but I'... | [
{
"answer_id": 386400,
"author": "Paul G",
"author_id": 162,
"author_profile": "https://Stackoverflow.com/users/162",
"pm_score": 0,
"selected": false,
"text": "StrToMember(\"[Date].[Year Week Date].[Week].&[\" + Format(DATEADD(\"d\", -7, \"2008-12-21\"), \"s\") + \"]\")\n"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/382406",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/162/"
] |
382,416 | <p>Im using YUI and am having alignment problems with YUI buttons inline with text input fields. The rendering problem is occuring in FF3 and is even present on YUI's own site.</p>
<p><a href="http://developer.yahoo.com/yui/examples/button/btn_example09.html" rel="nofollow noreferrer">http://developer.yahoo.com/yui/e... | [
{
"answer_id": 386400,
"author": "Paul G",
"author_id": 162,
"author_profile": "https://Stackoverflow.com/users/162",
"pm_score": 0,
"selected": false,
"text": "StrToMember(\"[Date].[Year Week Date].[Week].&[\" + Format(DATEADD(\"d\", -7, \"2008-12-21\"), \"s\") + \"]\")\n"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/382416",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37575/"
] |
382,418 | <p>I'm wondering if anyone knows how this happens? My website is down, but every computer on my internet connection/router can see it. I've cleared my cache etc, but another computer in the house shouldn't be seeing a site that's offline. How weird?</p>
<p>It's hosted remotely, not on my network or anything. </p>
| [
{
"answer_id": 382714,
"author": "oz10",
"author_id": 14069,
"author_profile": "https://Stackoverflow.com/users/14069",
"pm_score": 2,
"selected": true,
"text": "telnet 255.255.255.255 80\n"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/382418",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42589/"
] |
382,449 | <p><strong>Closed as exact duplicate of <a href="https://stackoverflow.com/questions/228164/on-design-patterns-when-to-use-the-singleton">this question</a>. But reopened, as the other Singleton questions are for general use and not use for DB access</strong></p>
<p>I was thinking of making an internal data access clas... | [
{
"answer_id": 382505,
"author": "Limbic System",
"author_id": 1274957,
"author_profile": "https://Stackoverflow.com/users/1274957",
"pm_score": 1,
"selected": false,
"text": "readResolve()"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/382449",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46483/"
] |
382,464 | <p>When I upload a file to a site using the ASP:File control the FileName property is different in IE and Firefox. In Firefox, it just provides the name of the file, but IE provides the full path to the file.</p>
<p>I have worked around this by adding the code:</p>
<pre><code>Dim FileName As String = file.FileName
I... | [
{
"answer_id": 7751228,
"author": "SeeNoWeevil",
"author_id": 771698,
"author_profile": "https://Stackoverflow.com/users/771698",
"pm_score": 5,
"selected": false,
"text": "new FileInfo(myHttpPostedFileBase.FileName).Name\n"
},
{
"answer_id": 16769240,
"author": "feeeper",
... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382464",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10420/"
] |
382,466 | <p>I never actually thought I'd run into speed-issues with python, but I have. I'm trying to compare really big lists of dictionaries to each other based on the dictionary values. I compare two lists, with the first like so</p>
<pre><code>biglist1=[{'transaction':'somevalue', 'id':'somevalue', 'date':'somevalue' ...},... | [
{
"answer_id": 382495,
"author": "Kenan Banks",
"author_id": 43089,
"author_profile": "https://Stackoverflow.com/users/43089",
"pm_score": 0,
"selected": false,
"text": "for item in biglist2:\n for transaction in biglist1:\n if (item['transaction'] == transaction['transaction'] ... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382466",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40372/"
] |
382,471 | <p>We have an issue with the way we are creating a <code>Mutex</code>. The problem line is: </p>
<pre><code>MutexAccessRule rule = new MutexAccessRule("Everyone", MutexRights.FullControl, AccessControlType.Allow);
</code></pre>
<p>The hardcoded "Everyone" string only works on English OSes, how do we change this line ... | [
{
"answer_id": 382476,
"author": "Sam Saffron",
"author_id": 17174,
"author_profile": "https://Stackoverflow.com/users/17174",
"pm_score": 5,
"selected": true,
"text": " SecurityIdentifier sid = new SecurityIdentifier(WellKnownSidType.WorldSid, null);\n MutexAccessRule rule = new Mutex... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382471",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17174/"
] |
382,473 | <p>I'm trying to write a Cucumber scenario that requires me to have a logged in user - that would normally be quite simple but I'm only using OpenID authentication (curtosy of the authentication plugin). However after digging through the open_id_authentication plugins guts I'm not sure how I could achieve this within C... | [
{
"answer_id": 382597,
"author": "DEfusion",
"author_id": 6432,
"author_profile": "https://Stackoverflow.com/users/6432",
"pm_score": 3,
"selected": true,
"text": "ActionController::Base.class_eval do\n private\n\n def begin_open_id_authentication(identity_url, options = {})\n yield... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382473",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6432/"
] |
382,474 | <p>Is there a version of JDE for emacs that supports the JDK 6.10? I haven't been able to find any information on this. While it runs, every time I attempt to compile files the JDE says that it doesn't recognize my JDK version and reverts to assuming it is a Java5 version. </p>
| [
{
"answer_id": 382842,
"author": "Charlie Martin",
"author_id": 35092,
"author_profile": "https://Stackoverflow.com/users/35092",
"pm_score": 1,
"selected": false,
"text": "M-x customize-variable"
},
{
"answer_id": 384642,
"author": "Anton Nazarov",
"author_id": 38204,
... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382474",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41241/"
] |
382,475 | <p>I have an MFC wrapper over a COM object. There is a function that takes a large number of options, which are mostly optional. How do I pass some arguments but not others? </p>
<p>For what it's worth, the optional arguments are listed as VARIANT*.</p>
<p>Below is the code</p>
<pre><code>CComVariant vFalse = fal... | [
{
"answer_id": 382670,
"author": "1800 INFORMATION",
"author_id": 3146,
"author_profile": "https://Stackoverflow.com/users/3146",
"pm_score": -1,
"selected": false,
"text": "_variant_t vtEmpty(VT_EMPTY);\n"
},
{
"answer_id": 580644,
"author": "m-sharp",
"author_id": 28678... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382475",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4066/"
] |
382,478 | <p>I've read a lot recently about how writing multi-threaded apps is a huge pain in the neck, and have learned enough about the topic to understand, at least at some level, why it is so. </p>
<p>I've read that using functional programming techniques can help alleviate some of this pain, but I've never seen a simple e... | [
{
"answer_id": 382547,
"author": "Joel Coehoorn",
"author_id": 3043,
"author_profile": "https://Stackoverflow.com/users/3043",
"pm_score": 4,
"selected": true,
"text": "void DownloadHTMLFiles(List<string> urls)\n{\n foreach(string url in urls)\n {\n DownlaodOneFile(url); /... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382478",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30529/"
] |
382,479 | <p>I am using log4net in my .NET 3.5 console application and would like the log messages I generate to be seen in both the console standard out and the RollingFileAppender. The file output is working like a charm, but I am seeing a stream of status messages flowing to the console standard out when I execute. I would li... | [
{
"answer_id": 547888,
"author": "JustinB",
"author_id": 66288,
"author_profile": "https://Stackoverflow.com/users/66288",
"pm_score": 4,
"selected": false,
"text": "<"
},
{
"answer_id": 3555508,
"author": "Ash",
"author_id": 407198,
"author_profile": "https://Stackov... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382479",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
382,480 | <p>Given a variable <code>foo</code> of type <code>FooClass*</code> and a member variable in that class named <code>bar</code>, is the distance between <code>foo</code> and <code>&(foo->bar)</code> the same in any situation with some constraints:</p>
<ol>
<li><p><code>FooClass</code> is a non-POD type.</p></li>... | [
{
"answer_id": 382516,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile": "https://Stackoverflow.com/users/34509",
"pm_score": 2,
"selected": false,
"text": "private"
},
{
"answer_id": 382559,
"author": "Joel",
"author_id": 46852,
"author_profil... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382480",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5066/"
] |
382,482 | <p>what are the best practices for using the 'sqlserver 2005 database project' in visual studio 2008?</p>
<p>I have created a project file.
How to create the scripts for stored procedures, views and Tables?
How would I generate scripts to populate some of the look up data? </p>
<p>What would I do about modification... | [
{
"answer_id": 382516,
"author": "Johannes Schaub - litb",
"author_id": 34509,
"author_profile": "https://Stackoverflow.com/users/34509",
"pm_score": 2,
"selected": false,
"text": "private"
},
{
"answer_id": 382559,
"author": "Joel",
"author_id": 46852,
"author_profil... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382482",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31470/"
] |
382,485 | <p>I'm looking for something like <code>break</code> for loops.</p>
<p>Here's some example code (using Symfony's lime) where <code>stop()</code> would not let the class continue and <code>I_DONT_WANT_THIS_TO_RUN()</code> would not be executed.</p>
<pre><code>$browser->isStatusCode(200)
->isRequestParameter('m... | [
{
"answer_id": 382510,
"author": "Paige Ruten",
"author_id": 813,
"author_profile": "https://Stackoverflow.com/users/813",
"pm_score": 3,
"selected": false,
"text": "// This function would of course be declared in the class\nfunction stop() {\n throw new Exception('Stopped.');\n}\n\nt... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382485",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/46443/"
] |
382,488 | <p>Is there a way to create an exlicit relationship between two posts in WordPress regarless of what categories those posts might be in?</p>
<p>The idea is that within the post template it would be obtain and list the related posts for the current post.</p>
<p>I'm guessing you could achieve this using tags to group p... | [
{
"answer_id": 382521,
"author": "Ates Goral",
"author_id": 23501,
"author_profile": "https://Stackoverflow.com/users/23501",
"pm_score": 1,
"selected": false,
"text": "digg_url"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/382488",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3187/"
] |
382,527 | <p>I run into this regularly, and am just looking for best practice/approach. I have a database / datamodule-containing app, and want to fire up the database/datasets on startup w/o having "active at runtime" set to true at design time (database location varies). Also run a web "check for updates" routine when the ap... | [
{
"answer_id": 382667,
"author": "utku_karatas",
"author_id": 14716,
"author_profile": "https://Stackoverflow.com/users/14716",
"pm_score": 3,
"selected": false,
"text": "...\nApplication.CreateForm(TMainForm, MainForm); \n...\nMainForm.ApplicationLoaded; // loads options, etc..\nAppl... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382527",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32303/"
] |
382,548 | <p>If you go to my site: www.ryancoughlin.com - and if you see the Google, Yahoo, etc. RSS buttons on the right side of the page. I am trying to get them to align evenly, they are all the same image height and I have been trying to get them to evenly line up. But I have had no success.</p>
| [
{
"answer_id": 382574,
"author": "strager",
"author_id": 39992,
"author_profile": "https://Stackoverflow.com/users/39992",
"pm_score": 4,
"selected": true,
"text": "class=\"feed-image\""
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/382548",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
382,564 | <p>The ProxyMetaClass and Iterceptor classes for intercepting arbitrary Groovy method calls is well documented. Is there also a way to intercept property accesses? When I try to do this by intercepting "getProperty", I still get the error message:</p>
<p>groovy.lang.MissingPropertyException: No such property: foo</p... | [
{
"answer_id": 384081,
"author": "Ted Naleid",
"author_id": 8912,
"author_profile": "https://Stackoverflow.com/users/8912",
"pm_score": 1,
"selected": false,
"text": "class Person {\n def name = \"Ted\"\n def propertyMissing(String name) { \"my $name\" }\n}\n\ndef p = new Person()\... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382564",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/33897/"
] |
382,576 | <p>I have a .xib file containing a UIView and 2 UILabel subviews linked to a class named Note with outlets assigned to each label appropriately, the definition for this class contains the following.</p>
<pre><code>@interface Note : UIView {
IBOutlet UILabel *time;
IBOutlet UILabel *content;
}
</code></pre>
<p... | [
{
"answer_id": 385472,
"author": "Airsource Ltd",
"author_id": 18017,
"author_profile": "https://Stackoverflow.com/users/18017",
"pm_score": 0,
"selected": false,
"text": "self.outletName = nil;\n"
},
{
"answer_id": 10507580,
"author": "Nate Symer",
"author_id": 1207863,
... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382576",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26986/"
] |
382,587 | <p>Further to <a href="https://stackoverflow.com/questions/26551/how-to-pass-command-line-parameters-in-batch-file">How to Pass Command Line Parameters in batch file</a> how does one get the rest of the parameters with specifying them exactly? I don't want to use SHIFT because I don't know how many parameters there mig... | [
{
"answer_id": 382785,
"author": "Patrick Cuff",
"author_id": 7903,
"author_profile": "https://Stackoverflow.com/users/7903",
"pm_score": 6,
"selected": true,
"text": "SHIFT"
},
{
"answer_id": 31416720,
"author": "aschipfl",
"author_id": 5047996,
"author_profile": "ht... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382587",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14420/"
] |
382,590 | <p>Working with a latex document with eps images as in the example below...</p>
<pre><code>\documentclass[11pt]{paper}
\usepackage[dvips]{graphicx}
\usepackage{fullpage}
\usepackage{hyperref}
\usepackage{amsmath}
\DeclareMathSizes{8}{8}{8}{8}
\author{Matt Miller}
\title{my paper}
\begin{document}
\begin{figure}[!h... | [
{
"answer_id": 413683,
"author": "sastanin",
"author_id": 25450,
"author_profile": "https://Stackoverflow.com/users/25450",
"pm_score": 2,
"selected": false,
"text": "pdflatex paper.tex\n"
},
{
"answer_id": 809501,
"author": "pts",
"author_id": 97248,
"author_profile"... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382590",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17712/"
] |
382,591 | <p>Trying to rotate a div element...This might be DOM blasphemy, could it work possibly with a canvas element? I'm not sure - if anybody has any ideas of how this could work or why it doesn't, I'd love to know. Thanks.</p>
| [
{
"answer_id": 3792085,
"author": "Peter Ajtai",
"author_id": 186636,
"author_profile": "https://Stackoverflow.com/users/186636",
"pm_score": 5,
"selected": false,
"text": "WebkitTransform / -moz-transform: rotate(Xdeg)"
},
{
"answer_id": 12427947,
"author": "Pawel",
"aut... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382591",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43889/"
] |
382,602 | <p>Quick design question.</p>
<p>ClassA has a method called DoSomething(args)</p>
<p>In DoSomething(), before it can actually do something, it needs to do some preparatory work with args. I believe this should be encapsulated within ClassA, (as opposed to doing the prep work outside and passing it in) as nothing els... | [
{
"answer_id": 394729,
"author": "Imran.Fanaswala",
"author_id": 2117360,
"author_profile": "https://Stackoverflow.com/users/2117360",
"pm_score": 1,
"selected": false,
"text": "private"
}
] | 2008/12/19 | [
"https://Stackoverflow.com/questions/382602",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7140/"
] |
382,603 | <p>So in Ruby there is a trick to specify infinity:</p>
<pre><code>1.0/0
=> Infinity
</code></pre>
<p>I believe in Python you can do something like this</p>
<pre><code>float('inf')
</code></pre>
<p>These are just examples though, I'm sure most languages have infinity in some capacity. When would you actually use... | [
{
"answer_id": 382605,
"author": "Kenan Banks",
"author_id": 43089,
"author_profile": "https://Stackoverflow.com/users/43089",
"pm_score": 5,
"selected": false,
"text": "min = float('inf')\n\nfor x in somelist:\n if x<min: \n min=x\n"
},
{
"answer_id": 382642,
"author": "... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382603",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42413/"
] |
382,608 | <p>My colleague suggests that texniscope is somehow to blame and that I should try purging it from my system. I really hope not to have to resort to that!</p>
<p>Possible clues:</p>
<ul>
<li><p>This wasn't an issue till I upgraded to Leopard.</p></li>
<li><p>When I say the fonts are screwed up, I mean the main text ... | [
{
"answer_id": 382693,
"author": "dreeves",
"author_id": 4234,
"author_profile": "https://Stackoverflow.com/users/4234",
"pm_score": 1,
"selected": false,
"text": "sudo rm -rf `lsof | grep com.apple.ATS/annex.aux | grep Finder | cut -c 66-139`\n"
},
{
"answer_id": 563272,
"au... | 2008/12/19 | [
"https://Stackoverflow.com/questions/382608",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4234/"
] |
382,624 | <p>In <a href="http://abstracthack.wordpress.com/2007/09/05/multi-threaded-map-for-python/" rel="nofollow noreferrer">this blog article</a> they use the construct:</p>
<pre><code> @measured
def some_func():
#...
# Presumably outputs something like "some_func() is finished in 121.333 s" somewhere
</code></pre>... | [
{
"answer_id": 382627,
"author": "Kenan Banks",
"author_id": 43089,
"author_profile": "https://Stackoverflow.com/users/43089",
"pm_score": 2,
"selected": false,
"text": "@classmethod"
},
{
"answer_id": 382666,
"author": "dbr",
"author_id": 745,
"author_profile": "http... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382624",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/30529/"
] |
382,626 | <p>I have a HashMap relating Keys to Strings, and I need to compare some of the Strings against each other. However, some of the Strings may or may not be in the HashMap.</p>
<p>Example: Let's say I have 4 Strings that I plan to compare to each other if possible, but only 3 of them end up in the HashMap. How can I c... | [
{
"answer_id": 382856,
"author": "Milhous",
"author_id": 17712,
"author_profile": "https://Stackoverflow.com/users/17712",
"pm_score": 0,
"selected": false,
"text": "Map<Key,Value> forwardMap;\nMap<Value, Set<Key> reverseMap;\n"
}
] | 2008/12/20 | [
"https://Stackoverflow.com/questions/382626",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47923/"
] |
382,629 | <p>Ok I'm at my work this friday setting up a table that will have data in it that will come from a separate file called values.php. When I write it like this, the divs turn up blank. I think I have the "include" written wrong, does an absolute path not work?</p>
<pre><code><?php include('http://www.nextadvisor.c... | [
{
"answer_id": 382652,
"author": "lbrandao",
"author_id": 47883,
"author_profile": "https://Stackoverflow.com/users/47883",
"pm_score": 3,
"selected": true,
"text": "allow_url_fopen = 1\nallow_url_include = 1\n"
},
{
"answer_id": 382653,
"author": "OIS",
"author_id": 3617... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382629",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43035/"
] |
382,633 | <p>We are using <a href="http://checkstyle.sourceforge.net/index.html" rel="nofollow noreferrer">CheckStyle</a> to enforce our style standards. One of the style rules we opted to include was the <em>NeedBraces</em> module.</p>
<p><em><a href="http://checkstyle.sourceforge.net/config_blocks.html#NeedBraces" rel="nofol... | [
{
"answer_id": 382695,
"author": "Lawrence Dol",
"author_id": 8946,
"author_profile": "https://Stackoverflow.com/users/8946",
"pm_score": 4,
"selected": true,
"text": "if (true)\n{\n System.out.println(\"20\"); \n}\nelse if (true)\n{\n System.out.println(\"30\");\n}\n"
}
] | 2008/12/20 | [
"https://Stackoverflow.com/questions/382633",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/92/"
] |
382,662 | <p>I have been reading up on this, and it seems that if you use ajax you can only bring in content that resides on the same domain whereas with an iframe you can bring in content from any domain. Is that the case? What other differences are there?</p>
| [
{
"answer_id": 40757121,
"author": "Vijay Srinivas",
"author_id": 5018482,
"author_profile": "https://Stackoverflow.com/users/5018482",
"pm_score": 0,
"selected": false,
"text": "<html>"
}
] | 2008/12/20 | [
"https://Stackoverflow.com/questions/382662",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47880/"
] |
382,665 | <p>While I see the relevance of "web" in the phrase "web stack," I'm left wondering what "stack" refers to in this context. </p>
| [
{
"answer_id": 382691,
"author": "S.Lott",
"author_id": 10661,
"author_profile": "https://Stackoverflow.com/users/10661",
"pm_score": 4,
"selected": false,
"text": "Your Application Presentation\nYour Application Controls\nYour Application Models\nHTTP Server (Apache, IIS, etc.)\nDatabas... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382665",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/51518/"
] |
382,675 | <p>I am looking for a way to position a div (it would be a pop-up that would be activated by a user hovering and/or clicking much like lightbox) over an a split iframe where the top iframe is content from my server and the bottom iframe is content from another server. Like this:</p>
<pre>
---------------------------... | [
{
"answer_id": 382699,
"author": "Soviut",
"author_id": 46914,
"author_profile": "https://Stackoverflow.com/users/46914",
"pm_score": 2,
"selected": false,
"text": ".overlapper\n{\n position: absolute;\n z-index: 9000; /* some very high value to ensure its always on top */\n to... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382675",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47880/"
] |
382,676 | <p>I'm looking for a simple NumericUpDown (a.k.a. number spinner) control in WPF. This seems to be another lacking control in WPF. There must be some existing ones out there and I don't like to re-invent the wheel.</p>
| [
{
"answer_id": 1421152,
"author": "Simon D.",
"author_id": 70060,
"author_profile": "https://Stackoverflow.com/users/70060",
"pm_score": 1,
"selected": false,
"text": "<WpfElements:SpinDecorator>\n <WpfElements:IntegerTextBox Text=\"{Binding Foo}\" />\n</WpfElements:SpinDecorator>\n"
... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382676",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/238948/"
] |
382,678 | <p>Any suggestion to detect flaws in VB6 components running under IIS. IIS becomes unstable and after some time enter in a state of hang. The problems occur in the most part only in the production environment. We have many modules running. Probably there are components with bugs and need to identify them.
Thanks in adv... | [
{
"answer_id": 1421152,
"author": "Simon D.",
"author_id": 70060,
"author_profile": "https://Stackoverflow.com/users/70060",
"pm_score": 1,
"selected": false,
"text": "<WpfElements:SpinDecorator>\n <WpfElements:IntegerTextBox Text=\"{Binding Foo}\" />\n</WpfElements:SpinDecorator>\n"
... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382678",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47733/"
] |
382,711 | <p>I was looking at sql inner queries (bit like the sql equivalent of a C# anon method), and was wondering, can I return more than one value from a query?</p>
<p>For example, return the number of rows in a table as one output value, and also, as another output value, return the distinct number of rows?</p>
<p>Also, h... | [
{
"answer_id": 382728,
"author": "GluedHands",
"author_id": 37726,
"author_profile": "https://Stackoverflow.com/users/37726",
"pm_score": 2,
"selected": false,
"text": "SELECT\n COUNT(field1),\n COUNT(DISTINCT field2)\nFROM table\n"
},
{
"answer_id": 383373,
"author": "Marc... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382711",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32484/"
] |
382,720 | <p>I find it hard to generate the dbscripts from TOAD. I get errors when executing the scripts things like looping chain of synonyms or certain statement not abel to exceute etc.</p>
<p>Is there any seamless way in said like connecting a remote oracle schema and just duplicate to my local environment?</p>
<p>And also... | [
{
"answer_id": 382771,
"author": "derobert",
"author_id": 27727,
"author_profile": "https://Stackoverflow.com/users/27727",
"pm_score": 2,
"selected": false,
"text": "$ exp username/password@source-sid CONSISTENT=Y DIRECT=Y OWNER=schema FILE=schema.exp\n$ ⋮ # some command(s) to nuke obje... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382720",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
382,734 | <p>I'm trying to run the following commands:</p>
<pre><code>replace -x "must " A2input.txt
replace -x " a" -f -s ## A2input.txt
replace -x to -s ## -a A2input.txt
replace -x faith -f "unequivocal" A2input.txt
</code></pre>
<p>And it'd be nice if I could just alias it to something short and simple like "a", "b", "c", ... | [
{
"answer_id": 382760,
"author": "derobert",
"author_id": 27727,
"author_profile": "https://Stackoverflow.com/users/27727",
"pm_score": 0,
"selected": false,
"text": "#!/bin/tcsh\nreplace -x \"must\" ...\n"
},
{
"answer_id": 22162764,
"author": "Gurn",
"author_id": 337749... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382734",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20526/"
] |
382,747 | <p>How do I submit the ListBox selections to the ModelBinder?</p>
<pre><code><%=Html.Hidden("response.Index",index)%>
<%=Html.ListBox("response[index].ChoiceID",
new MultiSelectList(gc.choice,"ChoiceID","ChoiceText") )%>
</code></pre>
<p>'gc.choice' is a List </p>
<p>I can get the fisrt ... | [
{
"answer_id": 700730,
"author": "Rokey Ge",
"author_id": 84543,
"author_profile": "https://Stackoverflow.com/users/84543",
"pm_score": 1,
"selected": false,
"text": "SamplePresentationModel"
},
{
"answer_id": 2199209,
"author": "Fenton",
"author_id": 75525,
"author_p... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382747",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
382,781 | <p><strong>Question:</strong> Does Emacs have a canonical equivalent of Vim's <a href="http://vimdoc.sourceforge.net/htmldoc/options.html#'foldmethod'" rel="noreferrer">Folding with Foldmethod=indent</a>?</p>
<p>I am particularly interested in something that can work alongside any Emacs major mode and any file... | [
{
"answer_id": 448724,
"author": "Michael Paulukonis",
"author_id": 41153,
"author_profile": "https://Stackoverflow.com/users/41153",
"pm_score": 2,
"selected": false,
"text": ";; http://emacs.wordpress.com/2007/01/16/quick-and-dirty-code-folding/\n(defun jao-toggle-selective-display (co... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382781",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42223/"
] |
382,791 | <p>I am getting this error when starting up Jetty that uses Mysql Connection Pool. Could someone help me out please?</p>
<pre><code>[root@localhost test]# java -DOPTIONS=plus,ext.default -classpath %CLASSPATH% -jar /usr/src/jetty7/start.jar myjetty.xml
2008-12-20 18:24:08.138::INFO: Logging to STDERR via org.mortbay... | [
{
"answer_id": 1268516,
"author": "Adam Batkin",
"author_id": 120808,
"author_profile": "https://Stackoverflow.com/users/120808",
"pm_score": 2,
"selected": false,
"text": "etc/jetty-plus.xml"
},
{
"answer_id": 4977829,
"author": "Franta",
"author_id": 2512257,
"autho... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382791",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
382,797 | <p>I teach a one semester University course in systems analysis and design. Topics include design patterns, UML, OOP, software development lifecycles, and the history, benefits and drawbacks of various methodologies (such as Agile/SCRUM/BDUF/Waterfall.)</p>
<p>Students who enter the course should have <em>some</em> ex... | [
{
"answer_id": 382889,
"author": "coobird",
"author_id": 17172,
"author_profile": "https://Stackoverflow.com/users/17172",
"pm_score": 1,
"selected": false,
"text": "GOTO"
}
] | 2008/12/20 | [
"https://Stackoverflow.com/questions/382797",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1854/"
] |
382,798 | <p>I'm developing a web app in Perl with some C as necessary for some heavy duty number crunching. The main problem I'm having so far is trying to decide if I should use mod-perl, mod-fastcgi or both to run my scripts because I'm having a difficult time trying to analyze the pros and cons of each mod.</p>
<p>Can anyon... | [
{
"answer_id": 16641338,
"author": "Ross Attrill",
"author_id": 556644,
"author_profile": "https://Stackoverflow.com/users/556644",
"pm_score": 3,
"selected": false,
"text": "cgi - 1200+ requests per minute\nmod_perl - 6000+ requests per minute (ModPerl::PerlRun only)\nfast_cgi - 6000+ r... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382798",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/31787/"
] |
382,811 | <p>How do you set a function to \C-' ? when I try to do :</p>
<pre><code>(global-set-key "\C-'" 'myfunct)
</code></pre>
<p>it gives me "Invalid modifier in string".</p>
| [
{
"answer_id": 382816,
"author": "ShreevatsaR",
"author_id": 4958,
"author_profile": "https://Stackoverflow.com/users/4958",
"pm_score": 5,
"selected": true,
"text": "\\C-'"
}
] | 2008/12/20 | [
"https://Stackoverflow.com/questions/382811",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41241/"
] |
382,822 | <p>I declared a private variable </p>
<pre><code>vector<SomeClass> theVector;
</code></pre>
<p>someplace inside my SomeClass class.</p>
<p>Why can't I say: <code>delete theVector</code> inside my SomeClass destructor?</p>
<p>The compiler error says:</p>
<pre><code> type `class Vector<SomeClass>' argume... | [
{
"answer_id": 382823,
"author": "PolyThinker",
"author_id": 47707,
"author_profile": "https://Stackoverflow.com/users/47707",
"pm_score": 2,
"selected": false,
"text": "delete' expects. \"Expected pointer\" means the operand of"
},
{
"answer_id": 382825,
"author": "Martin Yo... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382822",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/45963/"
] |
382,854 | <p>Button class:</p>
<pre><code>class SubmitButton extends JButton implements ActionListener {
public SubmitButton(String title){
super(title);
....
</code></pre>
<p>Where I declare it:</p>
<pre><code>SubmitButton submit = new SubmitButton("Submit");
submit.setBounds(530+150, 200, 100, 25);
</cod... | [
{
"answer_id": 382870,
"author": "Draemon",
"author_id": 26334,
"author_profile": "https://Stackoverflow.com/users/26334",
"pm_score": 6,
"selected": true,
"text": "public JButton(String title) {\n setText(title);\n}\n"
},
{
"answer_id": 382874,
"author": "Charlie Martin",... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382854",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/51518/"
] |
382,878 | <p>I have a java class file with a main method. In Windows, I would like to be able to drag files onto a desktop icon/short/etc that would call supply the filenames to my main method. Basically, I want to allow users to drag-and-drop files at program execution instead of having type them on the command line.</p>
<p>An... | [
{
"answer_id": 382916,
"author": "coobird",
"author_id": 17172,
"author_profile": "https://Stackoverflow.com/users/17172",
"pm_score": 2,
"selected": false,
"text": "java"
},
{
"answer_id": 383576,
"author": "PhiLho",
"author_id": 15459,
"author_profile": "https://Sta... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382878",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
382,880 | <p>My team is working on a conversion project to convert one product (but with many facets) from VB6 to .Net (we have over ~300k LOC). Before I got on board, the decision was made that regardless of the location of the assembly, or folder structure, all classes / structs will be in one namespace:</p>
<p>.</p>
<p>They... | [
{
"answer_id": 383336,
"author": "paercebal",
"author_id": 14089,
"author_profile": "https://Stackoverflow.com/users/14089",
"pm_score": 4,
"selected": true,
"text": "Imports MyWholeProject\n\nClass HelloWorld\n\n Public Sub Main()\n Dim o As MyModuleAAA_MyObject = New MyModuleAAA... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382880",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/42536/"
] |
382,883 | <p>For the sake of an example, is this statement</p>
<pre><code>window.Number.constructor.prototype.constructor();
</code></pre>
<p>read like a path?</p>
<pre><code>C:\Users\Vista\Documents\Work\text.txt
</code></pre>
<p>From left to right</p>
<pre><code>window:\Number\constructor\prototype\constructor()
</code></... | [
{
"answer_id": 382893,
"author": "Charlie Martin",
"author_id": 35092,
"author_profile": "https://Stackoverflow.com/users/35092",
"pm_score": 0,
"selected": false,
"text": "struct"
}
] | 2008/12/20 | [
"https://Stackoverflow.com/questions/382883",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
382,928 | <p>I need to create a wpf treeviewlist to look something like this:</p>
<pre><code>AAAA
BBBB
....CCCC
....DDDD
.......EEEE
FFFFF
</code></pre>
<p>(where the dots above are indents)</p>
<p>I need to do this from vb.net (2008) code.</p>
<p>I've spent an embarrassingly long amount of time trying to figure this ou... | [
{
"answer_id": 383046,
"author": "Mark Carpenter",
"author_id": 47645,
"author_profile": "https://Stackoverflow.com/users/47645",
"pm_score": 3,
"selected": true,
"text": "var parent = new TreeViewItem();\nvar child = new TreeViewItem();\nparent.Header = \"Hey\";\nchild.Header = \"There!... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382928",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18735/"
] |
382,930 | <p>I have this jQuery code that queries an API on a keyup event (via keyterms.php). It works as it is, but I'm trying to figure out how to implement a "pause" so to speak such that it will only do a query after a certain amount of time (say 2sec.) after the last keyup. Any help will be much appreciated. Thanks!</p>
... | [
{
"answer_id": 382956,
"author": "Andrew Rollings",
"author_id": 40410,
"author_profile": "https://Stackoverflow.com/users/40410",
"pm_score": 0,
"selected": false,
"text": "setTimeout"
},
{
"answer_id": 382965,
"author": "Andreas Grech",
"author_id": 44084,
"author_p... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382930",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47947/"
] |
382,980 | <p>Is there some command line or AppleScript that I can write/run to make the machine go to sleep automatically or even better, into hibernate mode? </p>
<p>I can run the program as root.</p>
| [
{
"answer_id": 382986,
"author": "Rob Kennedy",
"author_id": 33732,
"author_profile": "https://Stackoverflow.com/users/33732",
"pm_score": 4,
"selected": true,
"text": "osascript -e 'tell application \"Finder\" to sleep'\n"
},
{
"answer_id": 390450,
"author": "Coxy",
"aut... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382980",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23072/"
] |
382,993 | <p>A colleague of mine recently got bitten badly by writing out of bounds to a static array on the stack (he added an element to it without increasing the array size). Shouldn't the compiler catch this kind of error? The following code compiles cleanly with gcc, even with the <code>-Wall -Wextra</code> options, and y... | [
{
"answer_id": 383002,
"author": "Norman Ramsey",
"author_id": 41661,
"author_profile": "https://Stackoverflow.com/users/41661",
"pm_score": 3,
"selected": false,
"text": "gcc"
},
{
"answer_id": 383095,
"author": "derobert",
"author_id": 27727,
"author_profile": "http... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382993",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9530/"
] |
382,998 | <p>Does anyone know exactly what Windows XP does when you click "Repair" on a network connection? I'd like to do the same programmatically or from a command line.</p>
<p>I did a Google search and found <a href="http://windowsitpro.com/article/articleid/41060/what-actions-occur-when-i-click-repair-on-a-network-connecti... | [
{
"answer_id": 383005,
"author": "Steven A. Lowe",
"author_id": 9345,
"author_profile": "https://Stackoverflow.com/users/9345",
"pm_score": 0,
"selected": false,
"text": "ipconfig /renew\n"
},
{
"answer_id": 383062,
"author": "EMP",
"author_id": 20336,
"author_profile... | 2008/12/20 | [
"https://Stackoverflow.com/questions/382998",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20336/"
] |
383,016 | <p>How does container object like vector in stl get destroyed even though they are created in heap?</p>
<p><strong>EDIT</strong></p>
<p>If the container holds pointers then how to destroy those pointer objects</p>
| [
{
"answer_id": 383044,
"author": "JaredPar",
"author_id": 23283,
"author_profile": "https://Stackoverflow.com/users/23283",
"pm_score": 2,
"selected": false,
"text": "void foo() { \n vector<int> v;\n v.push_back(42);\n}\n"
},
{
"answer_id": 383079,
"author": "strager",
... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383016",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22076/"
] |
383,026 | <p>I find this comes up a lot, and I'm not sure the best way to approach it. </p>
<p><strong>The question I have is how to make the decision between using foreign keys to lookup tables, or using lookup table values directly in the tables requesting it, avoiding the lookup table relationship completely.</strong></p>
<... | [
{
"answer_id": 383425,
"author": "Ian Varley",
"author_id": 37539,
"author_profile": "https://Stackoverflow.com/users/37539",
"pm_score": 3,
"selected": false,
"text": "CREATE TABLE Hat (\n hat_id INT NOT NULL PRIMARY KEY,\n brand VARCHAR(255) NOT NULL,\n size INT NOT NULL,\n color V... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383026",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37966/"
] |
383,032 | <p>Does GWT has LazyPanel .I can not see it .Please let me know .If it got lazyPanel ,please lemme know version</p>
| [
{
"answer_id": 684275,
"author": "reechard",
"author_id": 44509,
"author_profile": "https://Stackoverflow.com/users/44509",
"pm_score": 0,
"selected": false,
"text": "/*\n * Copyright 2008 Google Inc.\n * \n * Licensed under the Apache License, Version 2.0 (the \"License\"); you may not\... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383032",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15476/"
] |
383,057 | <p>I need to transfer data from one table to the same table in another server which has been truncated. What is the easiest way to do this?</p>
| [
{
"answer_id": 383061,
"author": "mmx",
"author_id": 33708,
"author_profile": "https://Stackoverflow.com/users/33708",
"pm_score": 2,
"selected": false,
"text": "bcp"
},
{
"answer_id": 383092,
"author": "Nick Kavadias",
"author_id": 40067,
"author_profile": "https://S... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383057",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47957/"
] |
383,058 | <p>I am using Jruby and rails 2.2.2. My problem is I have a migration that is not being correctly written to the database schema.</p>
<p>Here is my migration: </p>
<pre><code>class CreateNotes < ActiveRecord::Migration
def self.up
create_table(:notes, :options => 'ENGINE=MyISAM') do |t|
t.string :... | [
{
"answer_id": 383357,
"author": "Christian Lescuyer",
"author_id": 341,
"author_profile": "https://Stackoverflow.com/users/341",
"pm_score": 4,
"selected": true,
"text": "# Use SQL instead of Active Record's schema dumper when creating the test database.\n# This is necessary if your sch... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383058",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5004/"
] |
383,073 | <p>I'd like to write a script that interacts with my DB using a Django app's model. However, I would like to be able to run this script from the command line or via cron. What all do I need to import to allow this?</p>
| [
{
"answer_id": 383089,
"author": "Soviut",
"author_id": 46914,
"author_profile": "https://Stackoverflow.com/users/46914",
"pm_score": 4,
"selected": false,
"text": "import os\n\nos.environ['PYTHONPATH'] = '/path/to/myproject'\nos.environ['DJANGO_SETTINGS_MODULE'] = 'myproject.settings'\n... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383073",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1595/"
] |
383,099 | <p>I have the following code:</p>
<pre><code><tr>
<td width="60%">
<dl>
<dt>Full Name</dt>
<dd>
<input name="fullname[]" type="text" class="txt w90" id="fullname[]" value="<?php echo $value; ?>" />
</dd&g... | [
{
"answer_id": 383106,
"author": "Vinko Vrsalovic",
"author_id": 5190,
"author_profile": "https://Stackoverflow.com/users/5190",
"pm_score": 3,
"selected": false,
"text": "foreach ($_POST['fullname'] as $name) {\n echo $name.\"\\n\";\n}\n"
},
{
"answer_id": 383136,
"author... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383099",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/37667/"
] |
383,101 | <p>i'm having a hard time with Xcode; for some reason, it just won't let me pass a variable from one view controller class to another. It should work, i was basically just copying/pasting from my other classes (it works on all of them... except this one). I've been at it all night long, tried everything i could think o... | [
{
"answer_id": 383105,
"author": "Adam Rosenfield",
"author_id": 9530,
"author_profile": "https://Stackoverflow.com/users/9530",
"pm_score": 0,
"selected": false,
"text": "->"
},
{
"answer_id": 383367,
"author": "Matt Ball",
"author_id": 43120,
"author_profile": "http... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383101",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
383,103 | <p>I would like to know is there any way by which we can change the Image color at runtime.
for e.g lets say I am having a JPG bind to an Image control of ASP.Net. Next I am having a dropdown List which gives me the various color option like red,gree,etc. I would now like to change the color of the Image to the one sel... | [
{
"answer_id": 383305,
"author": "MusiGenesis",
"author_id": 14606,
"author_profile": "https://Stackoverflow.com/users/14606",
"pm_score": 4,
"selected": false,
"text": "Bitmap bmp = (Bitmap)Bitmap.FromFile(\"image.jpg\");\nfor (int x = 0; x < bmp.Width; x++)\n{\n for (int y = 0; y < ... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383103",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
383,104 | <p>When testing in any language, how does everybody <strong>phrase their assertion messages</strong>?</p>
<p>I see three obvious ways:</p>
<pre><code># assume failure
assert (4-2) == 2, "Subtracting 2 from 4 doesn't equal 2"
# describe success
assert (4-2) == 2, "Subtracting 2 from 4 should equal 2"
# be vauge with... | [
{
"answer_id": 383108,
"author": "Roddy",
"author_id": 1737,
"author_profile": "https://Stackoverflow.com/users/1737",
"pm_score": 3,
"selected": true,
"text": "Assert Failed: (4-2)==2 : Line 123, File foo.c\n"
},
{
"answer_id": 383131,
"author": "EMP",
"author_id": 20336... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383104",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13216/"
] |
383,164 | <p>I have build a WPF application where users can drag and drop MP3 files onto a listbox. I need a way to calculate the total duration of the playlist.</p>
<p>Any libraries I should use? Or is it possible using only the .NET framework?</p>
| [
{
"answer_id": 13269914,
"author": "Daniel Mošmondor",
"author_id": 166251,
"author_profile": "https://Stackoverflow.com/users/166251",
"pm_score": 5,
"selected": true,
"text": " double GetMediaDuration(string MediaFilename)\n {\n double duration = 0.0;\n using (FileS... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383164",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2172/"
] |
383,172 | <p>What is the correct output (meaning correct by the ECMA standard) of the following program?</p>
<pre><code>function nl(x) { document.write(x + "<br>"); }
nl(Function.prototype);
nl(Function.prototype.prototype);
nl(Function.prototype.prototype == Object.prototype);
nl(Function.prototype.prototype.prototype);
... | [
{
"answer_id": 383290,
"author": "some",
"author_id": 36866,
"author_profile": "https://Stackoverflow.com/users/36866",
"pm_score": 4,
"selected": false,
"text": "nl(typeof Function.prototype); //function\n"
},
{
"answer_id": 383461,
"author": "Eugene Lazutkin",
"author_i... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383172",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15055/"
] |
383,183 | <p>I'm new to JSF world please help me out in generating a pop up window in the page.</p>
<p>Here is my requirement I will be having a list of links in my master page(parent) on click of each link I need to show a pop up which contains some details, which I need to get from DB in the pop up mbean. I will have few butt... | [
{
"answer_id": 402333,
"author": "SCdF",
"author_id": 1666,
"author_profile": "https://Stackoverflow.com/users/1666",
"pm_score": 0,
"selected": false,
"text": "http://localhost:8080/myApp/myPopupURL"
},
{
"answer_id": 683258,
"author": "Mark",
"author_id": 50262,
"au... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383183",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/44256/"
] |
383,185 | <p>When a function is attached to an object and called:</p>
<pre><code>function f() { return this.x; }
var o = {x: 20};
o.func = f;
o.func(); //evaluates to 20
</code></pre>
<p><code>this</code> refers to the object that the function was called as a method of. It's equivalent to doing <code>f.call(o)</code>.</p>
<p>... | [
{
"answer_id": 383190,
"author": "Greg",
"author_id": 24181,
"author_profile": "https://Stackoverflow.com/users/24181",
"pm_score": 4,
"selected": true,
"text": "if (this === window)\n"
},
{
"answer_id": 384252,
"author": "olliej",
"author_id": 784,
"author_profile": ... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383185",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15055/"
] |
383,189 | <p>The ECMA standard defines a hidden, internal property <code>[[Call]]</code>, which, if implemented, mean the object is callable / is a function.</p>
<p>In Python, something similar takes place, except that you can override it yourself to create your own callable objects:</p>
<pre><code>>>> class B:
... ... | [
{
"answer_id": 383199,
"author": "some",
"author_id": 36866,
"author_profile": "https://Stackoverflow.com/users/36866",
"pm_score": 3,
"selected": true,
"text": "function myfunc(){\n var myself = arguments.callee;\n myself.anotherfunc();\n}\n\nmyfunc.avalue=5;\n\nmyfunc.anotherfunc=fun... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383189",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15055/"
] |
383,192 | <p>I want an msbuild task to compile the views so I can see if there are compile time errors at well... compile time. Any ideas?</p>
| [
{
"answer_id": 383200,
"author": "maxnk",
"author_id": 45862,
"author_profile": "https://Stackoverflow.com/users/45862",
"pm_score": 6,
"selected": false,
"text": "C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727\\aspnet_compiler -v /Virtual/Application/Path/Or/Path/In/IIS/Metabase -p C... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383192",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24108/"
] |
383,194 | <p>A lot of times when reading about web developping on the internet I hear that you should split up your javascript and css files into multiple files.<br>
Like split up your css files in a:</p>
<ul>
<li>clear.css</li>
<li>base.css</li>
<li>page_specific.css</li>
</ul>
<p>Or that you should even split those up into f... | [
{
"answer_id": 383231,
"author": "nickf",
"author_id": 9021,
"author_profile": "https://Stackoverflow.com/users/9021",
"pm_score": 2,
"selected": false,
"text": "src"
}
] | 2008/12/20 | [
"https://Stackoverflow.com/questions/383194",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/35197/"
] |
383,195 | <p><strong>Background:</strong> This question relates to versions of Delphi below 2009 (ie without Unicode support built in). I have a specification that requires me to transmit a Unicode encoded string over a TCP connection but I do not have Delphi 2009. </p>
<p><strong>Question</strong> Is there a single function or... | [
{
"answer_id": 383460,
"author": "Rob Kennedy",
"author_id": 33732,
"author_profile": "https://Stackoverflow.com/users/33732",
"pm_score": 6,
"selected": true,
"text": "WideString"
}
] | 2008/12/20 | [
"https://Stackoverflow.com/questions/383195",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2447/"
] |
383,201 | <p>From <a href="http://www.jibbering.com/faq/faq_notes/closures.html" rel="noreferrer">http://www.jibbering.com/faq/faq_notes/closures.html</a> :</p>
<blockquote>
<p>Note: ECMAScript defines an internal [[prototype]] property of the internal Object type. This property is not directly accessible with scripts, but it is... | [
{
"answer_id": 383232,
"author": "JacquesB",
"author_id": 7488,
"author_profile": "https://Stackoverflow.com/users/7488",
"pm_score": 7,
"selected": true,
"text": "[[Prototype]]"
},
{
"answer_id": 383478,
"author": "Eugene Lazutkin",
"author_id": 26394,
"author_profil... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383201",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15055/"
] |
383,211 | <p>I'm spending a bit of time with Erlang, and I'm wanting to apply TDD to code I'm writing.</p>
<p>While <a href="http://www.erlang.org/doc/apps/eunit/chapter.html" rel="noreferrer">EUnit</a> in the standard lib provides a nice traditional unit testing framework for testing regular style code, there doesn't seem to b... | [
{
"answer_id": 450279,
"author": "Adam Lindberg",
"author_id": 2457,
"author_profile": "https://Stackoverflow.com/users/2457",
"pm_score": 3,
"selected": false,
"text": "deep_sum(ListOfLists) ->\n Parent = self(),\n [spawn(fun() -> Parent ! lists:sum(List) end) || List <- ListOfL... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383211",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14160/"
] |
383,251 | <p>I want to style the slider control so that the height of the draggable thumb is set to 8 pixels.</p>
<p>What is the simplest way to do this in <a href="http://en.wikipedia.org/wiki/Windows_Presentation_Foundation" rel="nofollow noreferrer">WPF</a>?</p>
<pre><code><Slider>
<Slider.Style>
<... | [
{
"answer_id": 387252,
"author": "Rhys",
"author_id": 22169,
"author_profile": "https://Stackoverflow.com/users/22169",
"pm_score": 4,
"selected": true,
"text": "<ScrollBar/>\n"
},
{
"answer_id": 7212863,
"author": "Simon D.",
"author_id": 70060,
"author_profile": "ht... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383251",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2172/"
] |
383,291 | <p>I am implementing a list, and I am wondering about the definition of the IndexOutOfRange. Which one of the following do you think is better?</p>
<pre><code>/// <exception cref="IndexOutOfRangeException">if index is less than 0
/// or greater than <see cref="Count"/>
public T this[int index] { get { retu... | [
{
"answer_id": 383300,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 0,
"selected": false,
"text": "/// <exception cref=\"IndexOutOfRangeException\">if index is less than <see cref=\"Base\" />\n"
},
{
"answer_id": 3833... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383291",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41283/"
] |
383,293 | <p>I am using xcode 2.4.1 on tiger. When i do below everything is ok. when i do</p>
<pre><code>pthread_mutex_t mute;
ImageMan()
{
dibSize=0;
mute = PTHREAD_MUTEX_INITIALIZER;
}
</code></pre>
<p>I get these two errors</p>
<pre><code>error: expected primary-expression before '{' token
error: expected `;' befo... | [
{
"answer_id": 383343,
"author": "geocar",
"author_id": 37507,
"author_profile": "https://Stackoverflow.com/users/37507",
"pm_score": 5,
"selected": true,
"text": "PTHREAD_MUTEX_INITIALIZER"
},
{
"answer_id": 31333633,
"author": "rashok",
"author_id": 596370,
"author_... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383293",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
383,306 | <p>I use UIScrollView to make large-sized (larger than 320px) UI on iPhone.</p>
<p>I made an instance of UIScrollView and added some subviews on it.
The problem is that I want to enable scrolling only when user touches outside of subviews,
stop scrolling when user touches one of subviews.</p>
<p>I read documents and ... | [
{
"answer_id": 392562,
"author": "lostInTransit",
"author_id": 46297,
"author_profile": "https://Stackoverflow.com/users/46297",
"pm_score": 4,
"selected": true,
"text": "touchesShouldBegin"
},
{
"answer_id": 465061,
"author": "Dave Verwer",
"author_id": 4496,
"author... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383306",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47986/"
] |
383,307 | <p>A simple question</p>
<p>Consider this piece of code in C#</p>
<pre><code>String a;
String b;
String c;
1. a =
2. b =
3. //Comment
4. c = "a String";
</code></pre>
<p>During compilation, it was fine, but i hit an error when I run my application. From my logs, the error occur at the above.</p>
<p>Question:... | [
{
"answer_id": 383315,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 2,
"selected": false,
"text": "//"
},
{
"answer_id": 383318,
"author": "Aistina",
"author_id": 37472,
"author_profile": "https:/... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383307",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12944/"
] |
383,314 | <p>I have a window with 2 column grid.
Left column contains a browser control</p>
<p>I woould like to display a little window or something to show a
that the webpage is still loading.</p>
<p>How could I do this?? Could I have a floating window in the 2nd column
that shows in front of the browser??? please explain ho... | [
{
"answer_id": 387273,
"author": "Nate",
"author_id": 3413,
"author_profile": "https://Stackoverflow.com/users/3413",
"pm_score": 3,
"selected": true,
"text": "<UserControl x:Class=\"UK.Budgeting.XBAP.Loading\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentation\"\n ... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383314",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40568/"
] |
383,321 | <p>I added a new column in my table.</p>
<pre><code>ALTER TABLE neue_buch modify preis not null;
</code></pre>
<p>and I have got this error:</p>
<pre><code>Error starting at line 40 in command:
ALTER TABLE neue_buch
modify preis not null
Error report:
SQL Error: ORA-02296: cannot enable (S1885872.) - null values fou... | [
{
"answer_id": 383333,
"author": "Justin Cave",
"author_id": 10397,
"author_profile": "https://Stackoverflow.com/users/10397",
"pm_score": 3,
"selected": false,
"text": "NEUE_BUCH"
},
{
"answer_id": 11219487,
"author": "Jeffrey Kemp",
"author_id": 103295,
"author_prof... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383321",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
383,324 | <p>I understand that .NET FileStream's Flush method only writes the current buffer to disk, but dependent on Windows' disk driver and the hard disk firmware this is no guarantee that the data is actually physically written to disk.</p>
<p>Is there a .NET or Win32 method that can give me this guarantee? So if there is ... | [
{
"answer_id": 383328,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 2,
"selected": false,
"text": "Flush()"
},
{
"answer_id": 3992428,
"author": "jimvfr",
"author_id": 483584,
"author_profile": "h... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383324",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/6358/"
] |
383,347 | <p>Let's say I've got an object <code>Customer</code> with a couple properties (<code>ID</code>, <code>FirstName</code>, <code>LastName</code>). I've got the default constructor <code>Customer()</code>, but then I've also got a <code>Customer(DataRow dr)</code>, since I load this object from a database and that's a si... | [
{
"answer_id": 383360,
"author": "joel.neely",
"author_id": 3525,
"author_profile": "https://Stackoverflow.com/users/3525",
"pm_score": 0,
"selected": false,
"text": "Customer ProvideCustomer(int ID)\n{\n Customer result; // or initialize to null to signal more work to come\n DataT... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383347",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3248/"
] |
383,368 | <p>I'm implementing saved data on my app by using NSUserDefaults, like this:</p>
<pre><code>[[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithInt:0],@"mySetting",nil]];
// check
int firstLaunch = [[NSUserDefaults standardUserDefaults] integerForKey:@... | [
{
"answer_id": 383424,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 5,
"selected": true,
"text": "-removeObjectForKey:"
},
{
"answer_id": 383427,
"author": "Abizern",
"author_id": 41116,
"author_profile": ... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383368",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/36182/"
] |
383,389 | <p>I recently wanted to get a decend IDE for my PHP side-projecs, and by searching SO found Eclipse+PDT. Although it's not quite at the level of Visual Studio yet, it's pretty nice and better than Notepad++ for this purpose. I can even debug somewhat, although it's pretty glitchy.</p>
<p>But there is one thing that is... | [
{
"answer_id": 390754,
"author": "Kire Haglin",
"author_id": 2049208,
"author_profile": "https://Stackoverflow.com/users/2049208",
"pm_score": 1,
"selected": false,
"text": "-XgcPrio:pausetime \n-XpauseTarget:250\n"
}
] | 2008/12/20 | [
"https://Stackoverflow.com/questions/383389",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41360/"
] |
383,390 | <p>I've installed PowerShell recently and one of the first things I started looking for was how to create a new user. After looking for some time I still haven't found this.
I have a little experience in bash on linux and find it very effective. Creating users there is trivial.
Is there an easy\built-in way to create a... | [
{
"answer_id": 383396,
"author": "BobbyShaftoe",
"author_id": 38426,
"author_profile": "https://Stackoverflow.com/users/38426",
"pm_score": 5,
"selected": true,
"text": "function create-account ([string]$accountName = \"testuser\") { \n $hostname = hostname \n $comp = [adsi] \"Wi... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383390",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/430254/"
] |
383,402 | <p>In <a href="https://stackoverflow.com/questions/377716/javascript-automatic-gettersetters-john-resig-book">another question</a>, a user pointed out that the <code>new</code> keyword was dangerous to use and proposed a solution to object creation that did not use <code>new</code>. I didn't believe that was true, most... | [
{
"answer_id": 383422,
"author": "Greg Dean",
"author_id": 1200558,
"author_profile": "https://Stackoverflow.com/users/1200558",
"pm_score": 5,
"selected": false,
"text": "var foo = function () {\n var pub = { };\n return pub;\n}\nvar bar = foo();\n"
},
{
"answer_id": 38342... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383402",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7595/"
] |
383,403 | <p>Print all 12 verses of the <a href="http://en.wikipedia.org/wiki/The_Twelve_Days_of_Christmas_(song)" rel="nofollow noreferrer">popular holiday song</a>.</p>
<p>By 12 <em>verses</em> I mean the repetition of each line as is sung in the song, ie</p>
<p>Verse One:
On the first day of Christmas my true love gave to m... | [
{
"answer_id": 383404,
"author": "fizzer",
"author_id": 18167,
"author_profile": "https://Stackoverflow.com/users/18167",
"pm_score": 6,
"selected": true,
"text": "(mapc #'princ\n (reverse (maplist #'(lambda(l)\n (format nil \n \"On the ~:R day of Christmas my tru... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383403",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18167/"
] |
383,405 | <p>I'm working on a small GreaseMonkey script where I would like to embed a jQuery plugin (Markitup) so that the script is fully self contained (images + js) except for jQuery which is served from google.</p>
<p>I found the site <a href="http://www.greywyvern.com/code/php/binary2base64" rel="noreferrer">http://www.gre... | [
{
"answer_id": 383443,
"author": "rombarcz",
"author_id": 47267,
"author_profile": "https://Stackoverflow.com/users/47267",
"pm_score": 3,
"selected": false,
"text": "<script src=\"...\"\n ^^^\n src NOT href\n"
},
{
"answer_id": 383542,
"author": "PhiLho",
"... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383405",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/32728/"
] |
383,414 | <p>I have a K* window, and within it, a widget which needs the events filtered.</p>
<p>For example I do not want the possibility of clicking it...</p>
<p>How can I do that? </p>
<p>Have I to use eventfilters? In this case, what's the best way?</p>
<hr>
<p>but my problem is that I can't subclass my widget,because i... | [
{
"answer_id": 383468,
"author": "Mark Beckwith",
"author_id": 45799,
"author_profile": "https://Stackoverflow.com/users/45799",
"pm_score": 1,
"selected": false,
"text": "enabled"
},
{
"answer_id": 389421,
"author": "Mark Beckwith",
"author_id": 45799,
"author_profil... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383414",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/39339/"
] |
383,416 | <p>If I am using <code>ReaderWriterLockSlim</code> to acquire read/write locks, do I need to make my variables <code>volatile</code> or use <code>Interlocked.Increment</code>?</p>
<p>For example, would the code in the <code>Add</code> method below work fine, or does it need enhancement?</p>
<pre><code>public class Ap... | [
{
"answer_id": 383418,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 3,
"selected": true,
"text": "ReaderWriterLockSlim"
}
] | 2008/12/20 | [
"https://Stackoverflow.com/questions/383416",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/41283/"
] |
383,444 | <p>Is it possible to do a google map lookup using the google maps API from a UK postcode? I know you can search by UK postcode on their website, but this converts to lat / long. I don't have access to the PAF database to be able to convert to long / lat.</p>
<p>An example:</p>
<p>Users have an item to sell. One of the ... | [
{
"answer_id": 2157228,
"author": "Bobby Jack",
"author_id": 5058,
"author_profile": "https://Stackoverflow.com/users/5058",
"pm_score": 1,
"selected": false,
"text": "function usePointFromPostcode(postcode, callbackFunction) {\n localSearch.setSearchCompleteCallback(null, function() ... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383444",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1349865/"
] |
383,449 | <p>I have a JSP page that receives an ArrayList of event objects, each event object contains an ArrayList of dates. I am iterating through the event objects with the following:</p>
<p>
</p>
<p>How can I iterate through the dateTimes ArrayList of each event object and print out eac... | [
{
"answer_id": 383458,
"author": "cletus",
"author_id": 18393,
"author_profile": "https://Stackoverflow.com/users/18393",
"pm_score": 2,
"selected": false,
"text": "<%@ taglib uri=\"http://java.sun.com/jstl/core\" prefix=\"c\" %>\n<%@ taglib uri=\"http://java.sun.com/jstl/fmt\" prefix=\"... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383449",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16684/"
] |
383,480 | <p>Have created a c++ implementation of the Hough transform for detecting lines in images. Found lines are represented using rho, theta, as described on wikipedia:</p>
<blockquote>
<p>"The parameter r represents the distance between the line and the origin, while θ is the angle of the vector from the origin to this ... | [
{
"answer_id": 416559,
"author": "erisu",
"author_id": 47971,
"author_profile": "https://Stackoverflow.com/users/47971",
"pm_score": 4,
"selected": false,
"text": "//Find point (x,y) where two parameterized lines intersect :p Returns 0 if lines are parallel \nint parametricIntersect(floa... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383480",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/47971/"
] |
383,510 | <p>We have a large Java application that run as applet or Java Web Start. And it grow more and more. Typical a user need only a small part of the classes. Because Java does not know which class can it found in which jar file that it load all jar files until it find the class. If it will load a class that not exist (for... | [
{
"answer_id": 383533,
"author": "asalamon74",
"author_id": 21348,
"author_profile": "https://Stackoverflow.com/users/21348",
"pm_score": 0,
"selected": false,
"text": "<jar href=\"sound.jar\" download=\"lazy\"/>\n"
}
] | 2008/12/20 | [
"https://Stackoverflow.com/questions/383510",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12631/"
] |
383,528 | <p>I have a Perl hash whose keys start with, or are, numbers.</p>
<p>If I use,</p>
<pre><code>foreach my $key (sort keys %hash) {
print $hash{$key} . "\n";
}
</code></pre>
<p>the list might come out as,</p>
<pre><code>0
0001
1000
203
23
</code></pre>
<p>Instead of</p>
<pre><code>0
0001
23
203
1000
</code></pr... | [
{
"answer_id": 383539,
"author": "Paul Tomblin",
"author_id": 3333,
"author_profile": "https://Stackoverflow.com/users/3333",
"pm_score": 6,
"selected": true,
"text": "foreach my $key (sort { $a <=> $b} keys %hash) {\n print $hash{$key} . \"\\n\";\n}\n"
},
{
"answer_id": 38546... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383528",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15884/"
] |
383,550 | <p>im just starting to learn flex and im trying to understand how Flex does remoting? From what i have read it looks like Flex provides a LifeCycle data services war which sits on your server and intercepts your remote calls , is this close?</p>
<p>Im concerned that if i use this option that 1. Ill have to add an extr... | [
{
"answer_id": 383539,
"author": "Paul Tomblin",
"author_id": 3333,
"author_profile": "https://Stackoverflow.com/users/3333",
"pm_score": 6,
"selected": true,
"text": "foreach my $key (sort { $a <=> $b} keys %hash) {\n print $hash{$key} . \"\\n\";\n}\n"
},
{
"answer_id": 38546... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383550",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24481/"
] |
383,551 | <p>Can any one tell the bit size of <strong>boolean</strong> in Java?</p>
| [
{
"answer_id": 383563,
"author": "rics",
"author_id": 21047,
"author_profile": "https://Stackoverflow.com/users/21047",
"pm_score": 2,
"selected": false,
"text": "boolean"
},
{
"answer_id": 383597,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://... | 2008/12/20 | [
"https://Stackoverflow.com/questions/383551",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40945/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.