qid int64 4 19.1M | question stringlengths 18 48.3k | answers list | date stringlengths 10 10 | metadata list |
|---|---|---|---|---|
204,576 | <p>In my MFC program I am using a splitter to create two panes. I now want to split one of these panes in half again and put in another view, can someone talk me through how to do it or point me in the direction of some code?</p>
<p>I would prefer to code it myself so I am not interested in custom derived classes unle... | [
{
"answer_id": 204662,
"author": "Rob",
"author_id": 9236,
"author_profile": "https://Stackoverflow.com/users/9236",
"pm_score": 4,
"selected": true,
"text": "CMainFrame::OnCreateClient // Create splitter with 2 rows and 1 col\nm_wndSplitter.CreateStatic(this, 2, 1);\n// Create a view in... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204576",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18664/"
] |
204,606 | <p>In my current 32-bit application, I check (very occasionally) for overflow by doing operations on 64-bit integers.</p>
<p>However, on 64-bit systems there does not seem to be a standard 128-bit integer. Is there a simple way of checking for overflow, or a way of getting 128-bit integers, which works on all OSes and... | [
{
"answer_id": 204808,
"author": "paxdiablo",
"author_id": 14860,
"author_profile": "https://Stackoverflow.com/users/14860",
"pm_score": 1,
"selected": false,
"text": "int64 myint64::add (int64 a, int64 b) {\n if (MAX_INT64 - a > b) {\n // error condition here.\n }\n retu... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204606",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27074/"
] |
204,611 | <p>I am working with Crystal Reports and MS SQL Server.
I need to remap the crystal report to point to a different database on the same SQL Server. Is there an automated way of doing this, or do I have to remap for every single report? I am currently doing this by adding a new data connection, and then updating the sto... | [
{
"answer_id": 209010,
"author": "Jas",
"author_id": 777,
"author_profile": "https://Stackoverflow.com/users/777",
"pm_score": 0,
"selected": false,
"text": "'SET REPORT CONNECTION INFO\nFor i = 0 To rsource.ReportDocument.DataSourceConnections.Count - 1\n rsource.ReportDocument.DataS... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204611",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
204,612 | <p>Trying to make a form wizard with <a href="http://docs.jquery.com/UI/Tabs" rel="nofollow noreferrer">jQuery tabs</a>.</p>
<p>Is it possible to have each step of the form in separate views, then load each via jQuery/AJAX tabs option? When I AJAX load the partial form, it has no way to access the js, css, etc.; as th... | [
{
"answer_id": 392306,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 1,
"selected": false,
"text": " jQuery(document).ready(function(){\n var tabs = jQuery(\"#tabs > ul\").tabs().bind('tabsload', function( event, ui ){\n ... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204612",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4196/"
] |
204,616 | <p>We are in the process of moving our SVN repositories from one machine to another one, and with it will come a new domain name for the new repo. The problem is, that within the repository, there are lots of svn:externals references to other projects within the repository. So for example, we have projectA, which has... | [
{
"answer_id": 234106,
"author": "yvandermeer",
"author_id": 31201,
"author_profile": "https://Stackoverflow.com/users/31201",
"pm_score": 4,
"selected": true,
"text": "$ svnadmin dump /path/to/repos > original-dumpfile\n* Dumped revision 0.\n* Dumped revision 1.\n* Dumped revision 2.\n*... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204616",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14302/"
] |
204,627 | <p>I'm trying to start using LINQ and specifically LINQ to SQL but I'm having some difficulties</p>
<p>I've tried this with SqlMetal and now using the database table designer in Visual Studio and I keep getting similar errors, like in this code, using the data context I created with the database layout designer in VS2... | [
{
"answer_id": 204631,
"author": "Sam",
"author_id": 7021,
"author_profile": "https://Stackoverflow.com/users/7021",
"pm_score": 2,
"selected": false,
"text": "protected void Page_Load(object sender, EventArgs e) \n{ \n if (Page.IsPostBack) \n {\n string usn = UserNameBox.Text; \n ... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204627",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26140/"
] |
204,644 | <p>What is the name of the technology behind Google Maps which allows the server to send only the part of the map requested from the user to enhance the performance, and is there any library to handle this?</p>
| [
{
"answer_id": 204684,
"author": "Geoff",
"author_id": 1097,
"author_profile": "https://Stackoverflow.com/users/1097",
"pm_score": 2,
"selected": false,
"text": "http://maps.google.com/maps?f=q&hl=en&sll=37.0625,-95.677068&sspn=53.345014,88.769531&ie=UTF8&ll=41.226264,-81.454246&spn=0.01... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204644",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/459737/"
] |
204,646 | <p>Does anyone have a simple, efficient way of checking that a string doesn't contain HTML? Basically, I want to check that certain fields only contain plain text. I thought about looking for the < character, but that can easily be used in plain text. Another way might be to create a new System.Xml.Linq.XElement ... | [
{
"answer_id": 204664,
"author": "ICR",
"author_id": 214,
"author_profile": "https://Stackoverflow.com/users/214",
"pm_score": 6,
"selected": false,
"text": "Regex tagRegex = new Regex(@\"<\\s*([^ >]+)[^>]*>.*?<\\s*/\\s*\\1\\s*>\");\n Regex tagRegex = new Regex(@\"<[^>]+>\");\n bool hasT... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204646",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/203/"
] |
204,653 | <p>Using a web service is often an excellent architectural approach. And, with the advent of WCF in .Net, it's getting even better.</p>
<p>But, in my experience, some people seem to think that web services should always be used in the data access layer for calls to the database. I don't think that web services are the... | [
{
"answer_id": 204713,
"author": "Ben Scheirman",
"author_id": 3381,
"author_profile": "https://Stackoverflow.com/users/3381",
"pm_score": 6,
"selected": true,
"text": " - someService.SaveOrder(order); // <-- bad\n // some other code for shipping, charging, emailing, etc\n\n - some... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204653",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27637/"
] |
204,670 | <p>If I query a table with a condition on the key field as in:</p>
<pre><code> var user = from u in dc.Users
where u.UserName == usn
select u;
</code></pre>
<p>I know that I will either get zero results or one result. Should I still go ahead and retrieve the results using ... | [
{
"answer_id": 204678,
"author": "Danimal",
"author_id": 2757,
"author_profile": "https://Stackoverflow.com/users/2757",
"pm_score": 4,
"selected": false,
"text": "var user = dc.Users.SingleOrDefault(u=> u.UserName==usn);\n"
},
{
"answer_id": 204679,
"author": "Joel Cunningha... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204670",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/26140/"
] |
204,676 | <p>I'm about to release a set of Eclipse plug-ins as Open Source and noticed that most source code released under the LGPL/EPL contains a header banner in each file that refers to the license or contains the license itself.</p>
<p>Since adding these banners to each file manually seems to be a daunting and error-prone ... | [
{
"answer_id": 204928,
"author": "idrosid",
"author_id": 17876,
"author_profile": "https://Stackoverflow.com/users/17876",
"pm_score": 3,
"selected": false,
"text": "ls \"*.java\" mkdir ~/outdir\nfor i in `find -type d | sed 's/\\.//' | grep -v \"^$\"`; do mkdir ~/outdir$i; done\nfor i i... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204676",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4445/"
] |
204,682 | <p>I want to limit the number of words a person can enter in a text field. How can I track the number of words (by using a second field) in that field as each word is entered?</p>
| [
{
"answer_id": 2408592,
"author": "Phil Rykoff",
"author_id": 284364,
"author_profile": "https://Stackoverflow.com/users/284364",
"pm_score": 2,
"selected": false,
"text": "$('#newKeywords').bind('change', function() {\n\n $('#wordsLong').text($('#newKeywords').val().split(' ').length ... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204682",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
204,694 | <p>I have worked on several distributed client/server projects recently, and one pain point that we always run into is translating the DTO objects into our entities and vice-versa. I was wondering if anyone has a "simple" solution to this time sink?</p>
<p>One thing I thought about was coming up with some sort of tra... | [
{
"answer_id": 3043781,
"author": "Omu",
"author_id": 112100,
"author_profile": "https://Stackoverflow.com/users/112100",
"pm_score": 0,
"selected": false,
"text": " object <-> object\n object <-> Form/WebForm\n DataReader -> object\n"
}
] | 2008/10/15 | [
"https://Stackoverflow.com/questions/204694",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/10589/"
] |
204,695 | <p>I'm writing a page that can use a couple of different themes, and I'm going to store some information about each theme in the web.config. </p>
<p>Is it more efficient to create a new sectionGroup and store everything together, or just put everything in appSettings?</p>
<p><b>configSection solution</b></p>
<pre><... | [
{
"answer_id": 204745,
"author": "Nick Allen",
"author_id": 12918,
"author_profile": "https://Stackoverflow.com/users/12918",
"pm_score": 5,
"selected": true,
"text": "<appMonitoring enabled=\"true\" smtpServer=\"xxx\">\n <alertRecipients>\n <add name=\"me\" email=\"me@me.com\"/>\n ... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204695",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3018/"
] |
204,696 | <p>My question is in regards to MySQL, but I also wonder how this affects other databases. I have several fields that are <code>varchar(255)</code> but my coworker insists if they were <code>varchar(30)</code> -- or any smaller size -- then queries would run faster. I'm not so sure, but if it's so I'll admit to it.</... | [
{
"answer_id": 204767,
"author": "macbirdie",
"author_id": 5049,
"author_profile": "https://Stackoverflow.com/users/5049",
"pm_score": 0,
"selected": false,
"text": "tinytext varchar"
}
] | 2008/10/15 | [
"https://Stackoverflow.com/questions/204696",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28240/"
] |
204,711 | <p>Of the two methods below, which do you prefer to read?<br>
Is there another (better?) way to check if a flag is set?</p>
<pre><code> bool CheckFlag(FooFlag fooFlag)
{
return fooFlag == (this.Foo & fooFlag);
}
</code></pre>
<p>And</p>
<pre><code> bool CheckFlag(FooFlag fooFlag)
{
return (this.Fo... | [
{
"answer_id": 204726,
"author": "Chris Marasti-Georg",
"author_id": 96,
"author_profile": "https://Stackoverflow.com/users/96",
"pm_score": 3,
"selected": false,
"text": "bool CheckFlag(FooFlag fooFlag)\n{\n return fooFlag == (this.Foo & fooFlag);\n}\n"
},
{
"answer_id": 2047... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204711",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/14484/"
] |
204,733 | <p>I am constructing a search page with a textbox and a button for now, and probably a dropdown to filter results later on. I have my button's PostBackUrl set to my search page (~/search.aspx). Is there an easy way to pass the value in the text box to the search page?</p>
| [
{
"answer_id": 204816,
"author": "Andy May",
"author_id": 12367,
"author_profile": "https://Stackoverflow.com/users/12367",
"pm_score": 0,
"selected": false,
"text": "$(document).ready(function(){\n // Event Handlers to allow searching after pressing Enter key\n $(\"#myTextBoxID\")... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204733",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25515/"
] |
204,737 | <p>I have a lot of castle xml configs where properties like connectionstring are also held under .Net configuration sections.</p>
<p>I'd like to be able to read out the properties using the container but can't see a mechanism to do it.</p>
<p>ie </p>
<pre><code><castle>
<configuration>
<properti... | [
{
"answer_id": 204835,
"author": "Ronnie",
"author_id": 193,
"author_profile": "https://Stackoverflow.com/users/193",
"pm_score": 1,
"selected": false,
"text": "<component type=\"SessionManager\">\n <parameters>\n <connectionString>#{connectionString}</connectionString>\n </paramete... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204737",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
204,739 | <blockquote>
<p><strong>Possible Duplicate:</strong><br>
<a href="https://stackoverflow.com/questions/203616/why-does-c-sharp-not-provide-the-c-style-friend-keyword">Why does C# not provide the C++ style ‘friend’ keyword?</a> </p>
</blockquote>
<p>I'd like the private member variables of a class to be accessibl... | [
{
"answer_id": 204744,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 9,
"selected": true,
"text": "AssemblyInfo.cs [assembly: InternalsVisibleTo(\"OtherAssembly\")]\n"
},
{
"answer_id": 204782,
"author": "Rob... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204739",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22185/"
] |
204,742 | <p>Right now I'm working on a web application that receives a significant amount of data from a database that has a potential to return null results. When going through the cyclomatic complexity for the application a number of functions are weighing in between 10 - 30. For the most part the majority of the functions wi... | [
{
"answer_id": 204783,
"author": "Barry Carr",
"author_id": 51820,
"author_profile": "https://Stackoverflow.com/users/51820",
"pm_score": 2,
"selected": false,
"text": "//Object Pascal\nprocedure UpdateIfNotNull( const fldName: String; fldIndex : integer );\nbegin\n if oraData.IsDBNull(... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204742",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1185/"
] |
204,746 | <p>For a web application, I want to build a WHERE clause AND submit it to the server. There I will append it to a query. The clause will be something like</p>
<pre><code>LASTNAME LIKE 'Pep%' AND (DOB BETWEEN '19600101' AND '19601231 OR SALARY<35000)
</code></pre>
<p>Can you propose a regular expression to validate... | [
{
"answer_id": 204750,
"author": "Lasse V. Karlsen",
"author_id": 267,
"author_profile": "https://Stackoverflow.com/users/267",
"pm_score": 4,
"selected": false,
"text": "LASTNAME LIKE 'Pep%'--\nDROP TABLE People\n--\n"
},
{
"answer_id": 204974,
"author": "Jimmy",
"author... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204746",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28207/"
] |
204,759 | <p>Is there a way to perform an HTTP GET request within a Visual Basic script? I need to get the contents of the response from a particular URL for processing.</p>
| [
{
"answer_id": 204851,
"author": "Svante Svenson",
"author_id": 19707,
"author_profile": "https://Stackoverflow.com/users/19707",
"pm_score": 7,
"selected": true,
"text": "Dim o\nSet o = CreateObject(\"MSXML2.XMLHTTP\")\no.open \"GET\", \"http://www.example.com\", False\no.send\n' o.resp... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204759",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/271/"
] |
204,765 | <p>For debugging purposes, I need to recursively search a directory for all files which start with a UTF-8 byte order mark (BOM). My current solution is a simple shell script:</p>
<pre><code>find -type f |
while read file
do
if [ "`head -c 3 -- "$file"`" == $'\xef\xbb\xbf' ]
then
echo "found BOM in: $f... | [
{
"answer_id": 211855,
"author": "CesarB",
"author_id": 28258,
"author_profile": "https://Stackoverflow.com/users/28258",
"pm_score": 3,
"selected": false,
"text": "fgrep -rl `echo -ne '\\xef\\xbb\\xbf'` .\n"
},
{
"answer_id": 212214,
"author": "Jonathan Wright",
"author_... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204765",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/19163/"
] |
204,779 | <p>I'm VERY new to WPF, and still trying to wrap my head around binding in XAML.</p>
<p>I'd like to populate a combobox with the values of a string collection in my.settings. I can do it in code like this:</p>
<p>Me.ComboBox1.ItemsSource = My.Settings.MyCollectionOfStrings</p>
<p>...and it works.</p>
<p>How can I d... | [
{
"answer_id": 204855,
"author": "Enrico Campidoglio",
"author_id": 26396,
"author_profile": "https://Stackoverflow.com/users/26396",
"pm_score": 5,
"selected": true,
"text": "<Window x:Class=\"WpfApplication1.Window1\"\n xmlns=\"http://schemas.microsoft.com/winfx/2006/xaml/presentati... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204779",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/641985/"
] |
204,784 | <p>Given two absolute paths, e.g.</p>
<pre><code>/var/data/stuff/xyz.dat
/var/data
</code></pre>
<p>How can one create a relative path that uses the second path as its base? In the example above, the result should be: <code>./stuff/xyz.dat</code></p>
| [
{
"answer_id": 204847,
"author": "Keeg",
"author_id": 21059,
"author_profile": "https://Stackoverflow.com/users/21059",
"pm_score": 3,
"selected": false,
"text": "String s1 = \"/var/data/stuff/xyz.dat\";\nString s2 = \"/var/data\";\nString s3 = s1.substring(s2.length());\n String s3 = \"... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204784",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23424/"
] |
204,801 | <p>I believe the following VB.Net code is the equivalent of the proceeding C# code; however the VB.Net test fails - the event handling Lambda is never called.</p>
<p>What is going on?</p>
<p>VB.Net version - fails:</p>
<pre class="lang-vb prettyprint-override"><code><TestFixture()> _
Public Class TestClass
... | [
{
"answer_id": 204992,
"author": "Gareth D",
"author_id": 3580,
"author_profile": "https://Stackoverflow.com/users/3580",
"pm_score": 5,
"selected": true,
"text": "eventRaised = true <TestFixture()> _\nPublic Class Test\n <Test()> _\n Public Sub EventTest()\n Dim eventClass ... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204801",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3580/"
] |
204,806 | <p>This concept is new to me, and a colleague suggested it. Sadly, I had no idea what he was talking about. Can someone enlighten me?</p>
| [
{
"answer_id": 204923,
"author": "ilitirit",
"author_id": 9825,
"author_profile": "https://Stackoverflow.com/users/9825",
"pm_score": 2,
"selected": false,
"text": "object _comObject;\nType _comObjectType;\n_comObjectType = Type.GetTypeFromProgID(\"MyCompany.MyApplication.MyObject\", tru... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204806",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5469/"
] |
204,807 | <p>I am looking for a way to create or implement a collapsible side panel inside of a form. Similar in the way a ToolStripContainer works I would like the same general concept except using panels that I can fill with controls. Does anyone know of a simple way to do this with the provided .Net controls or is this a tota... | [
{
"answer_id": 11003847,
"author": "General Grey",
"author_id": 1034475,
"author_profile": "https://Stackoverflow.com/users/1034475",
"pm_score": 1,
"selected": false,
"text": " private void button1_Click(object sender, EventArgs e)\n {\n if (button1.Text == \">\")\n ... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204807",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25511/"
] |
204,813 | <p>In the past people used to wrap HTML comment tags around blocks of JavaScript in order to prevent "older" browsers from displaying the script. Even Lynx is smart enough to ignore JavaScript, so why do some people keep doing this? Are there any valid reasons these days?</p>
<pre><code><script type="text/javascrip... | [
{
"answer_id": 207749,
"author": "Ionuț Staicu",
"author_id": 23810,
"author_profile": "https://Stackoverflow.com/users/23810",
"pm_score": 4,
"selected": false,
"text": "<script type=\"text/javascript\" charset=\"utf-8\">\n/* <![CDATA[ */\n\n/* ]]> */\n</script>\n"
},
{
"answer_... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204813",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/12579/"
] |
204,814 | <p>Wow, I just got back a huge project in C# from outsourced developers and while going through my code review my analysis tool revealed bunches of what it considered bad stuff. One of the more discouraging messages was:</p>
<pre><code>Exceptions.DontSwallowErrorsCatchingNonspecificExceptionsRule : 2106 defects
</c... | [
{
"answer_id": 204870,
"author": "rjzii",
"author_id": 1185,
"author_profile": "https://Stackoverflow.com/users/1185",
"pm_score": 7,
"selected": true,
"text": "try {\n // Do something that might generate an exception\n} catch (System.InvalidCastException ex) {\n // This exception is s... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204814",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18893/"
] |
204,823 | <p>I'm required to write documentation for my current project that lists all .c files and for each one lists every .h file which is directly or indirectly included by that file.</p>
<p>This is a large project, and although we have Makefiles which theoretically have this information, those Makefiles are sometimes incor... | [
{
"answer_id": 204893,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 3,
"selected": false,
"text": "gcc -M file.c"
},
{
"answer_id": 204930,
"author": "Mark Baker",
"author_id": 11815,
"author_profile": "ht... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204823",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1694/"
] |
204,829 | <p>Situation:</p>
<ul>
<li>text: a string</li>
<li>R: a regex that matches part of the string. This might be expensive to calculate. </li>
</ul>
<p>I want to both delete the R-matches from the text, and see what they actually contain. Currently, I do this like:</p>
<pre><code>import re
ab_re = re.compile("[ab]"... | [
{
"answer_id": 204961,
"author": "Hamish Downer",
"author_id": 3189,
"author_profile": "https://Stackoverflow.com/users/3189",
"pm_score": 0,
"selected": false,
"text": "import re\nab_re = re.compile(\"([ab])\")\ntext=\"abcdedfe falijbijie bbbb laifsjelifjl\"\nmatches = ab_re.split(text)... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204829",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15842/"
] |
204,831 | <p>With so many languages and frameworks that exist, and with new ones appearing all the time, I don't have the time to download, install, and configure each one to evaluate it. In the past I've run across webapps that allow one to write or paste code into a window, and see the results in realtime in the browser, usual... | [
{
"answer_id": 27371632,
"author": "DJMcMayhem",
"author_id": 3524982,
"author_profile": "https://Stackoverflow.com/users/3524982",
"pm_score": 0,
"selected": false,
"text": "from time import sleep\nprint \"We are going to sleep for 5 seconds.\"\nsleep(5)\nprint \"Now we will sleep for 3... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204831",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/8161/"
] |
204,852 | <p>I have an xsd like this </p>
<pre><code><xsd:complexType name="A">
<xsd:complexContent>
<xsd:sequence>
<xsd:element name="options">
<xsd:complexType>
<xsd:sequence>
... | [
{
"answer_id": 205247,
"author": "csgero",
"author_id": 21764,
"author_profile": "https://Stackoverflow.com/users/21764",
"pm_score": 3,
"selected": false,
"text": "<xsd:sequence> <xsd:complexType name=\"B\"> \n <xsd:complexContent>\n <xsd:extension base=\"A\">\n <xs... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204852",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/22763/"
] |
204,877 | <p>What does the following mean?</p>
<pre><code>Class.Function(variable := 1 + 1)
</code></pre>
<p>What is this operator called, and what does it do? </p>
| [
{
"answer_id": 204935,
"author": "Ikke",
"author_id": 20261,
"author_profile": "https://Stackoverflow.com/users/20261",
"pm_score": 5,
"selected": true,
"text": "sub test(optional a as string = \"\", optional b as string = \"\")\n msgbox(a & b)\nend sub\n test(b:= \"blaat\")\n'in stead... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204877",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/40/"
] |
204,886 | <p>you can request the http header to check if a web page has been edited by looking at its date but how about dynamic pages such as - php, aspx- which grabs its data from a database?</p>
| [
{
"answer_id": 204971,
"author": "ConroyP",
"author_id": 2287,
"author_profile": "https://Stackoverflow.com/users/2287",
"pm_score": 0,
"selected": false,
"text": "Last-Modified Last-Modified Last-Modified Last-Modified"
},
{
"answer_id": 236380,
"author": "Leandro López",
... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204886",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/459737/"
] |
204,914 | <p>I'm trying to simply use some of the examples and instructions regarding the YUI-Uploader, and I'm being frustrated by a number of issues.</p>
<ol>
<li>The "YUI Library: Uploader" cheat sheet's simple use case doesn't work for me because all the listed methods except <code>addListener()</code> do not exist on the m... | [
{
"answer_id": 689083,
"author": "Simon Lieschke",
"author_id": 2766,
"author_profile": "https://Stackoverflow.com/users/2766",
"pm_score": 3,
"selected": true,
"text": "uploader.swf Uploader.as"
}
] | 2008/10/15 | [
"https://Stackoverflow.com/questions/204914",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/459/"
] |
204,918 | <p>Does SQLAlchemy support some kind of caching so if I repeatedly run the same query it returns the response from cache instead of querying the database? Is this cache automatically cleared when the DB is updated?</p>
<p>Or what's the best way to implement this on a CherryPy + SQLAlchemy setup?</p>
| [
{
"answer_id": 232376,
"author": "torial",
"author_id": 13990,
"author_profile": "https://Stackoverflow.com/users/13990",
"pm_score": 4,
"selected": false,
"text": "Does SQLAlchemy do any kind of internal caching?\n\nFor example, if you ask for the same data twice (or an obvious subset\n... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204918",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9789/"
] |
204,924 | <p>I know that you can apply CSS in order to style objects in Flex using the StyleManager:<br>
<a href="http://livedocs.adobe.com/flex/3/html/help.html?content=styles_07.html" rel="nofollow noreferrer">http://livedocs.adobe.com/flex/3/html/help.html?content=styles_07.html</a> </p>
<p>You can also load <strong>compile... | [
{
"answer_id": 7534609,
"author": "sixtyfootersdude",
"author_id": 251589,
"author_profile": "https://Stackoverflow.com/users/251589",
"pm_score": 2,
"selected": false,
"text": "public function extractFromStyleSheet(css:String):void {\n\n // Create a StyleSheet Object\n var styleSh... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204924",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18146/"
] |
204,926 | <p>Are there any good code profilers/analyzers for Erlang? I need something that can build a call graph (eg gprof) for my code.</p>
| [
{
"answer_id": 205002,
"author": "krakatoa",
"author_id": 12223,
"author_profile": "https://Stackoverflow.com/users/12223",
"pm_score": 3,
"selected": false,
"text": "fprof:apply(foo, create_file_slow, [junk, 1024]).\nfprof:profile().\nfprof:analyse().\n fprof:apply trace profile analyse... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204926",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2727/"
] |
204,933 | <p>I read an excel sheet into a datagrid.From there , I have managed to read the grid's rows into a DataTable object.The DataTable object has data because when I make equal a grid's datasource to that table object , the grid is populated.</p>
<p>My Problem : I want to use the table object and manipulate its values usi... | [
{
"answer_id": 204964,
"author": "Marc Gravell",
"author_id": 23354,
"author_profile": "https://Stackoverflow.com/users/23354",
"pm_score": 2,
"selected": false,
"text": " var query = from row in table.Rows.Cast<DataRow>()\n group row by new\n {\n... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204933",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
204,936 | <p>What is the best way to set the time on a remote machine remotely? The machine is running Windows XP and is receiving the new time through a web service call. The goal is to keep the remote machines in synch with the server. The system is locked down so that our web service is the only access, so I cannot use a t... | [
{
"answer_id": 204967,
"author": "Robert S.",
"author_id": 7565,
"author_profile": "https://Stackoverflow.com/users/7565",
"pm_score": 3,
"selected": false,
"text": "[StructLayout(LayoutKind.Sequential)] \npublic struct SYSTEMTIME { \n public short wYear; \n public short wMonth; \n publi... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204936",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3457/"
] |
204,942 | <p>We have an application that installs SQL Server Express from the command line and specifies the service account as the LocalSystem account via the parameter SQLACCOUNT="NT AUTHORITY\SYSTEM".</p>
<p>This doesn't work with different languages because the account name for LocalSystem is different. There's a table list... | [
{
"answer_id": 204955,
"author": "TheSmurf",
"author_id": 1975282,
"author_profile": "https://Stackoverflow.com/users/1975282",
"pm_score": 1,
"selected": false,
"text": "ManagementObject m = new ManagementObject(\"winmgmts:root\\cimv2\");\nm.Get();\nMessageBox.Show(m[\"Win32_SID.SID='S-... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204942",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5449/"
] |
204,950 | <p>I have just installed the Krypton Toolkit 3.0.6 from component Factory.
I find that in the create new Project Dialog Box , Krypton Form does not show up as an option. I am sure it used to show up ( and I have actually used it in an earlier version of krypton toolkit).But after the new install it does not.</p>
| [
{
"answer_id": 208226,
"author": "dezkev",
"author_id": 28291,
"author_profile": "https://Stackoverflow.com/users/28291",
"pm_score": 2,
"selected": false,
"text": "public partial class Form1 : ComponentFactory.Krypton.Toolkit.KryptonForm\n"
}
] | 2008/10/15 | [
"https://Stackoverflow.com/questions/204950",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
204,963 | <p>I'm quite confused by something. I've got 2 select lists, and if you choose an option in the first, I then load the 2nd with a certain set of options. I clear this out and repopulate it every time you change the selection in the first select element. Now, on postback, I need to know the value of the option that w... | [
{
"answer_id": 208226,
"author": "dezkev",
"author_id": 28291,
"author_profile": "https://Stackoverflow.com/users/28291",
"pm_score": 2,
"selected": false,
"text": "public partial class Form1 : ComponentFactory.Krypton.Toolkit.KryptonForm\n"
}
] | 2008/10/15 | [
"https://Stackoverflow.com/questions/204963",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/232/"
] |
204,970 | <p>Suppose I have following string:</p>
<pre><code>String asd = "this is test ass this is test"
</code></pre>
<p>and I want to split the string using "ass" character sequence.</p>
<p>I used:</p>
<pre><code>asd.split("ass");
</code></pre>
<p>It doesn't work. What do I need to do?</p>
| [
{
"answer_id": 205004,
"author": "Jon Skeet",
"author_id": 22656,
"author_profile": "https://Stackoverflow.com/users/22656",
"pm_score": 3,
"selected": false,
"text": "public class Test\n{\n public static void main(String[] args) {\n String asd = \"this is test ass this is test... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204970",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25778/"
] |
204,983 | <p>If you want to associate some constant value with a class, here are two ways to accomplish the same goal:</p>
<pre><code>class Foo
{
public:
static const size_t Life = 42;
};
class Bar
{
public:
enum {Life = 42};
};
</code></pre>
<p>Syntactically and semantically they appear to be identical from the clien... | [
{
"answer_id": 204999,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 4,
"selected": false,
"text": "size_t *pLife1 = &Foo::Life;\nsize_t *pLife2 = &Bar::Life;\n"
},
{
"answer_id": 205000,
"author": "Konrad Rudolph"... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204983",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/241536/"
] |
204,991 | <p>I'm not quite sure how this happened, but somehow a completely empty hierarchy of directories has ended up in my repository:</p>
<pre><code>com/
com/companyname/
com/companyname/blah/
com/sun/
com/sun/java/
com/sun/java/jax_rpc_ri/
</code></pre>
<p>I think what happened was that these directories did have files in... | [
{
"answer_id": 205042,
"author": "Commodore Jaeger",
"author_id": 4659,
"author_profile": "https://Stackoverflow.com/users/4659",
"pm_score": 5,
"selected": false,
"text": "cvs update -dP\n"
},
{
"answer_id": 205081,
"author": "Rob Wells",
"author_id": 2974,
"author_p... | 2008/10/15 | [
"https://Stackoverflow.com/questions/204991",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4249/"
] |
205,001 | <p>What's the best way to remove a page frame automatically?</p>
<p>I've used this type of code before:</p>
<pre><code><script language="JavaScript">
setTimeout ("changePage()", 3000);
function changePage() {
if (self.parent.frames.length != 0)
self.parent.location="http://www.example.com";
}
</script>
</... | [
{
"answer_id": 205055,
"author": "Peter Bailey",
"author_id": 8815,
"author_profile": "https://Stackoverflow.com/users/8815",
"pm_score": 0,
"selected": false,
"text": "if ( self.location !== top.location )\n{\n top.location.replace( self.location );\n}\n"
},
{
"answer_id": 20... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205001",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28260/"
] |
205,040 | <p>In my SQL database, I have a one-to-many relationship, something like this:</p>
<pre>
Teacher Student
John Alex
John Mike
John Sean
Bob Jack
Gary George
Gary Paul
</pre>
<p>I'd like to display a table listing each teacher, with their students as a comma-delimited list, like this:</p>
<pr... | [
{
"answer_id": 30518651,
"author": "Jerry",
"author_id": 53531,
"author_profile": "https://Stackoverflow.com/users/53531",
"pm_score": 4,
"selected": true,
"text": "=Join(LookUpSet(Fields!TeacherName.Value, \n Fields!TeacherName.Value, \n Fields!StudentName.Value, \n \"YourTeach... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205040",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16911/"
] |
205,064 | <p>On Unix, is there any way that one process can change another's environment variables (assuming they're all being run by the same user)? A general solution would be best, but if not, what about the specific case where one is a child of the other?</p>
<p>Edit: How about via gdb?</p>
| [
{
"answer_id": 205082,
"author": "Davide",
"author_id": 25891,
"author_profile": "https://Stackoverflow.com/users/25891",
"pm_score": 3,
"selected": false,
"text": "/proc/${pid}/environ"
},
{
"answer_id": 211064,
"author": "An̲̳̳drew",
"author_id": 17035,
"author_prof... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205064",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7598/"
] |
205,070 | <p>Real UID, effective UID, and some systems even have a "saved UID". What's the purpose of all these, especially the last one?</p>
| [
{
"answer_id": 24708775,
"author": "LGkash",
"author_id": 2922591,
"author_profile": "https://Stackoverflow.com/users/2922591",
"pm_score": 2,
"selected": false,
"text": "setuid"
}
] | 2008/10/15 | [
"https://Stackoverflow.com/questions/205070",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7598/"
] |
205,073 | <p>This is probably a simple answer but I can't find it. I have a table with a column of integers and I want to ensure that when a row is inserted that the value in this column is greater than zero. I could do this on the code side but thought it would be best to enforce it on the table.</p>
<p>Thanks!</p>
<p>I was... | [
{
"answer_id": 205093,
"author": "Michael Haren",
"author_id": 29,
"author_profile": "https://Stackoverflow.com/users/29",
"pm_score": 3,
"selected": false,
"text": "ALTER TABLE Table1 ADD CONSTRAINT Constraint1 CHECK (YourCol > 0)\n ALTER TABLE Table1 ADD CONSTRAINT Constraint2 CHECK (S... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205073",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2357/"
] |
205,087 | <p>We are using jQuery <a href="http://jquery.com/demo/thickbox/" rel="noreferrer">thickbox</a> to dynamically display an iframe when someone clicks on a picture. In this iframe, we are using <a href="http://devkick.com/lab/galleria/demo_01.htm" rel="noreferrer">galleria</a> a javascript library to display multiple pi... | [
{
"answer_id": 205221,
"author": "Pier Luigi",
"author_id": 27789,
"author_profile": "https://Stackoverflow.com/users/27789",
"pm_score": 9,
"selected": true,
"text": "function callIframe(url, callback) {\n $(document.body).append('<IFRAME id=\"myId\" ...>');\n $('iframe#myId').att... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205087",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9140/"
] |
205,112 | <p>Is there any way to print in memory collection or variable size in WPF? </p>
<p>I am using the following code in which I print the ListView control. But when the content is larger than the vertical scroll bar takes over and cuts the content. </p>
<pre><code> PrintDialog printDialog = new PrintDialog();
... | [
{
"answer_id": 380522,
"author": "Ifeanyi Echeruo",
"author_id": 47702,
"author_profile": "https://Stackoverflow.com/users/47702",
"pm_score": 4,
"selected": true,
"text": "FlowDocument fd = new FlowDocument();\n\nforeach(object item in items)\n{\n fd.Blocks.Add(new Paragraph(new Run(... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205112",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/3797/"
] |
205,114 | <p>I have an asp.net 2.0 page that contains 2 <code>UpdatePanels</code>.</p>
<p>The first panel contains a <code>TreeView</code> control, when I select a node in the three view control it triggers an update of the second <code>UpdatePanel</code> only. This much is behaving correctly.</p>
<p>There are two buttons on t... | [
{
"answer_id": 206077,
"author": "tpower",
"author_id": 18107,
"author_profile": "https://Stackoverflow.com/users/18107",
"pm_score": 0,
"selected": false,
"text": "protected override object SaveViewState()\n{\n ViewState[\"SelectedNodePath\"] = myTreeView.SelectedNode.ValuePath;\n r... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205114",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18107/"
] |
205,154 | <p>I'm exploring git to see how it might work for my company. I've got git installed and I need to know a couple things:</p>
<ul>
<li>How can I set up a git server on my computer to act as my central repo?</li>
<li>I'm trying to figure out how to manage my workflow with just the GUI on Windows (using the GUI is a requ... | [
{
"answer_id": 205295,
"author": "Grant Limberg",
"author_id": 27314,
"author_profile": "https://Stackoverflow.com/users/27314",
"pm_score": 2,
"selected": false,
"text": "git init\n git add .\ngit commit -m \"Initial Import\"\n git clone projectFolder/ ProjectName.git\n git clone [user@... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205154",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9401/"
] |
205,158 | <p>Sorry, that title just hurts. I'm wondering if there is a Linq to collections extension method that collapses the following code segment into a single line:</p>
<pre><code>public IEnumerable<Child> GetAllChildren(IEnumerable<Parent> parents){
var result = new List<Child>();
foreach(Parent p... | [
{
"answer_id": 205169,
"author": "Lasse V. Karlsen",
"author_id": 267,
"author_profile": "https://Stackoverflow.com/users/267",
"pm_score": 3,
"selected": false,
"text": "public IEnumerable<Child> GetAllChildren(IEnumerable<Parent> parents)\n{\n return from parent in parents\n ... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205158",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
205,159 | <p>I would like to execute <code>ls</code> in a Perl program as part of a CGI script. For this I used <code>exec(ls)</code>, but this does not return from the <code>exec</code> call.</p>
<p>Is there a better way to get a listing of a directory in Perl?</p>
| [
{
"answer_id": 205168,
"author": "holli",
"author_id": 18606,
"author_profile": "https://Stackoverflow.com/users/18606",
"pm_score": 3,
"selected": false,
"text": "$listing = `ls`;\n"
},
{
"answer_id": 205172,
"author": "Leon Timmermans",
"author_id": 4727,
"author_pr... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205159",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28280/"
] |
205,160 | <p>We are running our Junit 4 test suite against Weblogic 9 in front of an Oracle 10 database (using Hudson as a continuous integration server) and occasionally we will get an ORA-12519 crash during script teardown. However, the error is very intermittent: </p>
<ul>
<li>It usually happens for the same Test class </... | [
{
"answer_id": 9561838,
"author": "edwardsmatt",
"author_id": 91362,
"author_profile": "https://Stackoverflow.com/users/91362",
"pm_score": 5,
"selected": false,
"text": "SQL*Plus SYSTEM alter system set processes=150 scope=spfile;"
},
{
"answer_id": 36326337,
"author": "Rahu... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205160",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/410/"
] |
205,165 | <p>As you may already know, the .NET Framework's <a href="http://msdn.microsoft.com/en-us/library/ms173121.aspx" rel="noreferrer"><em>protected internal</em></a> access modifier works in a strange way: It doesn't mean the class is <em>protected</em> <strong>AND</strong> <em>internal</em>, it says the class is <em>prote... | [
{
"answer_id": 205191,
"author": "Jeff Yates",
"author_id": 23234,
"author_profile": "https://Stackoverflow.com/users/23234",
"pm_score": 4,
"selected": true,
"text": "ToString() ToPersistableString() internal protected AccessibilityNotifyClients Control protected internal CheckedItemCol... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205165",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18552/"
] |
205,179 | <p>What is a <code>DOCVARIABLE</code> in Microsoft Word 2003? How do I set it? How do I make it display in my Word document?</p>
| [
{
"answer_id": 205210,
"author": "Chris Serra",
"author_id": 13435,
"author_profile": "https://Stackoverflow.com/users/13435",
"pm_score": 3,
"selected": false,
"text": "Sub GetSetDocVars()\n\nDim fName As String\nfName = \"Jeff Smith\"\n' Set contents of variable \"fName\" in a document... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205179",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5653/"
] |
205,180 | <p>In a Web application, is it possible to force a PDF file to be printed on the client? If the browser is configured to open the PDF inside the window, I guess that calling window.print() will work, but some browsers (like mine) are configured to open the PDF externally.</p>
| [
{
"answer_id": 4655430,
"author": "taeyoung",
"author_id": 570957,
"author_profile": "https://Stackoverflow.com/users/570957",
"pm_score": 3,
"selected": false,
"text": "<html>\n<script language=\"javascript\">\ntimerID = setTimeout(\"exPDF.print();\", 1000);\n</script>\n<body>\n<object ... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205180",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2680/"
] |
205,182 | <p>Is there a way of reusing the same resultMap multiple times in a single query.</p>
<p>For example, suppose I have a "foo" resultMap:</p>
<pre><code><resultMap id="foo" class="Foo">
<result property="Bar" column="bar" />
</resultMap>
</code></pre>
<p>Is there a way to define another resultMap t... | [
{
"answer_id": 205257,
"author": "James Rose",
"author_id": 9703,
"author_profile": "https://Stackoverflow.com/users/9703",
"pm_score": 3,
"selected": true,
"text": "<result property=\"Foo1\" column=\"bar1Id\" select=\"selectFoo\"/> selectFoo fooMap Foo <result property=\"Foo1\" resultMa... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205182",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4094/"
] |
205,188 | <p>There seems to be lots of different ways to register assemblies with the GAC, as in, they 'work'. However, what's the "proper" way of doing it?</p>
<p>In response to Lou Franco (and gacutil):</p>
<p>I'm using Gacutil for development, but it seems to me to be not the proper way to install it, since gacutil isn't i... | [
{
"answer_id": 205212,
"author": "Robert P",
"author_id": 18097,
"author_profile": "https://Stackoverflow.com/users/18097",
"pm_score": 2,
"selected": false,
"text": "System.EnterpriseServices.Internal.Publish GacInstall"
},
{
"answer_id": 205223,
"author": "Mathieu Garstecki... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205188",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18097/"
] |
205,190 | <p>Clearly the following is incorrect.</p>
<pre><code>INSERT INTO `aTable` (`A`,`B`) VALUES((SELECT MAX(`A`) FROM `aTable`)*2),'name');
</code></pre>
<p>I get the value:</p>
<p>SQL query: </p>
<pre><code>INSERT INTO `aTable` (`A`, `B` )
VALUES
(
(
SELECT MAX(`A`)
FROM `aTable`
) *2
, 'name'
)
</code></p... | [
{
"answer_id": 205844,
"author": "Leonel Martins",
"author_id": 26673,
"author_profile": "https://Stackoverflow.com/users/26673",
"pm_score": 5,
"selected": true,
"text": "insert into aTable select max(a)^2, 'name' from aTable;\n insert into aTable select max(a)^2, 'name' from aTable gro... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205190",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/144/"
] |
205,239 | <p>Consider the following interface in Java:</p>
<pre><code>public interface I {
public final String KEY = "a";
}
</code></pre>
<p>And the following class:</p>
<pre><code>public class A implements I {
public String KEY = "b";
public String getKey() {
return KEY;
}
}
</code></pre>
<p>Why is ... | [
{
"answer_id": 205249,
"author": "Bill K",
"author_id": 12943,
"author_profile": "https://Stackoverflow.com/users/12943",
"pm_score": 5,
"selected": false,
"text": "public class A implements I {\n public String KEY = \"b\";\n\n public String getKey() {\n String KEY = \"c\";\... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205239",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24545/"
] |
205,240 | <p>Is it possible with Axis2 and Eclipse to generate a Web Service client and have it use java types that you already have in packages instead of creating it's own types. Reason being of course if I have type A already created and it creates it's own Type A I can't just assign variable of type A to variable of type B.... | [
{
"answer_id": 206188,
"author": "Michael Sharek",
"author_id": 1958,
"author_profile": "https://Stackoverflow.com/users/1958",
"pm_score": 3,
"selected": true,
"text": "serviceClient = new RPCServiceClient();\nOptions options = serviceClient.getOptions();\n\nEndpointReference targetEPR ... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205240",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28288/"
] |
205,270 | <p>My MFC application using the "ESRI MapObjects LT2" ActiveX plugin throws an ASSERT at me when closing it.
The error occurs in <code>cmdtarg.cpp</code>:</p>
<pre><code>CCmdTarget::~CCmdTarget()
{
#ifndef _AFX_NO_OLE_SUPPORT
if (m_xDispatch.m_vtbl != 0)
((COleDispatchImpl*)&m_xDispatch)->Disconnect... | [
{
"answer_id": 205639,
"author": "Alessandro Jacopson",
"author_id": 15485,
"author_profile": "https://Stackoverflow.com/users/15485",
"pm_score": 2,
"selected": false,
"text": "_ATL_DEBUG_INTERFACES _ATL_DEBUG_INTERFACES\n"
},
{
"answer_id": 205890,
"author": "foraidt",
... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205270",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/27596/"
] |
205,271 | <p>I've recently begun evaluating a few project management projects for the company I work for. It's the classic case - growing company looking for the right solution (meaning, free or really cheap). It's a combination shop - Windows, Macs, and Linux on the desktop. The tech savviness, of course, ranges from newbie ... | [
{
"answer_id": 1051092,
"author": "Kasper",
"author_id": 23499,
"author_profile": "https://Stackoverflow.com/users/23499",
"pm_score": 1,
"selected": false,
"text": "* web based\n* methodology independent \n* free or really cheap\n* document management\n* timelines and milestones\n* task... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205271",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13483/"
] |
205,296 | <p>I have a local svn repository in my PC, I have been using it for a hobby project and it wasn't meant to be accessible to anyone, so I commited files with passwords in them.</p>
<p>Now, I'm thinking of making the repository available for other people and I don't want to have that data there.</p>
<p>Is there a way t... | [
{
"answer_id": 205329,
"author": "Matt",
"author_id": 17803,
"author_profile": "https://Stackoverflow.com/users/17803",
"pm_score": 3,
"selected": false,
"text": "svnadmin dump > mysvn\n svnadmin load /path/to/new/repo < mysvn\n"
},
{
"answer_id": 6236215,
"author": "dr jerry... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205296",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
205,299 | <p>I tried the following code in LINQPad and got the results given below:</p>
<pre><code>List<string> listFromSplit = new List<string>("a, b".Split(",".ToCharArray())).Dump();
listFromSplit.ForEach(delegate(string s)
{
s.Trim();
});
listFromSplit.Dump();
</code></pre>
<blockquote>
<p>"a" and " b"</... | [
{
"answer_id": 205306,
"author": "Sciolist",
"author_id": 16045,
"author_profile": "https://Stackoverflow.com/users/16045",
"pm_score": 4,
"selected": false,
"text": "var s = \" asd \";\ns.Trim();\n var s = \" asd \";\ns = s.Trim();\n var listFromSplit = \"a, b\".Split(',').Select... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205299",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5351/"
] |
205,340 | <p>I'm getting odd results from a <code>MySQL SELECT</code> query involving a <code>LEFT JOIN</code>, and I can't understand whether my understanding of <code>LEFT JOIN</code> is wrong or whether I'm seeing a genuinely odd behavior.</p>
<p>I have a two tables with a many-to-one relationship: For every record in <code>... | [
{
"answer_id": 205372,
"author": "Cade Roux",
"author_id": 18255,
"author_profile": "https://Stackoverflow.com/users/18255",
"pm_score": 4,
"selected": true,
"text": "GROUP BY d.dateID s.DateID NULL LEFT JOIN GROUP BY SELECT"
},
{
"answer_id": 205578,
"author": "John Nilsson"... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205340",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28299/"
] |
205,359 | <p>This is similar to my previous posting. But this time I want to call a function that exists on the main mxml page.</p>
<p>This is my main mxml page:</p>
<p>main.mxml</p>
<pre><code><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns:ns1="*">
<mx:Script>
<![... | [
{
"answer_id": 205462,
"author": "Brandon",
"author_id": 23133,
"author_profile": "https://Stackoverflow.com/users/23133",
"pm_score": 3,
"selected": true,
"text": " <mx:Metadata>\n [Event(name=\"buttonClicked\", type=\"flash.events.Event\")]\n </mx:Metadata>\n\n <mx:Button x... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205359",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24563/"
] |
205,375 | <p>I have a String such as: </p>
<pre><code>Cerepedia, una apliación web
</code></pre>
<p>I would like to transform it into something URL valid such as: </p>
<pre><code>Cerepedia,unaaplicacionweb
</code></pre>
<p><strong>Note:</strong> the special character transformation and spaces removal. </p>
<p>By the way, ar... | [
{
"answer_id": 205423,
"author": "Dónal",
"author_id": 2648,
"author_profile": "https://Stackoverflow.com/users/2648",
"pm_score": 2,
"selected": false,
"text": "public class AsciiUtils {\n\n /**\n * Contains a list of all the characters that map one to one for UNICODE.\n */\n... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205375",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/2138/"
] |
205,382 | <p>I have the following C# which simply replaces parts of the input string that look like EQUIP:19d005 into URLs, like this:</p>
<pre><code>input = Regex.Replace(input, @"(EQUIP:)(\S+)", @"<a title=""View equipment item $2"" href=""/EquipmentDisplay.asp?eqnum=$2"">$1$2</a>", RegexOptions.IgnoreCase);
</cod... | [
{
"answer_id": 205413,
"author": "John Fiala",
"author_id": 9143,
"author_profile": "https://Stackoverflow.com/users/9143",
"pm_score": 0,
"selected": false,
"text": "input = Regex.Replace(input.ToUpper, @\"(EQUIP:)(\\S+)\", @\"<a title=\"\"View equipment item $2\"\" href=\"\"/EquipmentD... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205382",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/7508/"
] |
205,386 | <p>What are those bad habits you've developed since you've started coding in Cocoa?</p>
<p>I think making a list of bad habits and actively adding to it and, more importantly, breaking those habits is a good technique to produce your code quality. So start now, get your bad habits off your chest. Maybe other people sh... | [
{
"answer_id": 205618,
"author": "Jablair",
"author_id": 24168,
"author_profile": "https://Stackoverflow.com/users/24168",
"pm_score": 3,
"selected": false,
"text": "self.displayName = name\n displayName = name\n"
},
{
"answer_id": 206002,
"author": "lfalin",
"author_id":... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205386",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/23113/"
] |
205,393 | <p>Is it possible to reload a page that was loaded thru link_to_remote? I'm doing this in my controller: <br></p>
<pre><code>def create
if captchas_verified
do_something
else
render :action=>'new'
end
</code></pre>
<p>But when the captchas is wrong, it do not render a form that is inside of the new template.... | [
{
"answer_id": 206115,
"author": "jdl",
"author_id": 9465,
"author_profile": "https://Stackoverflow.com/users/9465",
"pm_score": 1,
"selected": false,
"text": "render :update do |page| page << 'window.location.reload()' end\n"
},
{
"answer_id": 206144,
"author": "salt.racer",... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205393",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18642/"
] |
205,411 | <p>How would you go about creating a random alpha-numeric string that matches a certain regular expression?</p>
<p>This is specifically for creating initial passwords that fulfill regular password requirements.</p>
| [
{
"answer_id": 648840,
"author": "Chas. Owens",
"author_id": 78259,
"author_profile": "https://Stackoverflow.com/users/78259",
"pm_score": 4,
"selected": false,
"text": "#!/usr/bin/perl\n\nuse strict;\nuse warnings;\n\nuse String::Random qw/random_regex/;\n\nprint random_regex('[A-Za-z]{... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205411",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1550/"
] |
205,431 | <p>I'm trying to draw images on the iPhone using with rounded corners, a la the contact images in the Contacts app. I've got code that generally work, but it occasionally crashes inside of the UIImage drawing routines with an <code>EXEC_BAD_ACCESS</code> - <code>KERN_INVALID_ADDRESS</code>. I thought this might be rela... | [
{
"answer_id": 206005,
"author": "benzado",
"author_id": 10947,
"author_profile": "https://Stackoverflow.com/users/10947",
"pm_score": 1,
"selected": false,
"text": "CGPathRelease(borderPath)"
},
{
"answer_id": 510228,
"author": "PCheese",
"author_id": 61274,
"author_... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205431",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/24168/"
] |
205,435 | <p>I keep getting an NHibernate.PersistentObjectException when calling session.Save() which is due to an uninitialized proxy passed to save(). If I fiddle with my cascade settings I can make it go away, but then child objects aren't being saved.</p>
<p>The only other fix I have found is by adding the following to my ... | [
{
"answer_id": 2936444,
"author": "mathieu",
"author_id": 971,
"author_profile": "https://Stackoverflow.com/users/971",
"pm_score": 2,
"selected": false,
"text": "use ISession.Get() ISession.Load()"
},
{
"answer_id": 3309406,
"author": "Rabid",
"author_id": 123883,
"a... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205435",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4590/"
] |
205,440 | <p>I like to know if there is a way to read the user input inside a batch file, because i have a file named: "fif.bat" that recives two parameters (just call them <strong><em>paramA</em></strong> and <strong><em>paramB</em></strong>) so i execute the file like this:</p>
<pre><code>fif paramA paramB
</code></pre>
<p>I... | [
{
"answer_id": 205461,
"author": "David Webb",
"author_id": 3171,
"author_profile": "https://Stackoverflow.com/users/3171",
"pm_score": 0,
"selected": false,
"text": "SET /P SET /P paramB=\"Prompt String: \"\n"
},
{
"answer_id": 205471,
"author": "Jeremy",
"author_id": 92... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205440",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/20601/"
] |
205,444 | <p>We are implementing an IP based geolocation service, and we need to find some IP's from various markets (LA, NY etc) to fully test the service.</p>
<p>Does anybody know of a directory where we could find what IP ranges are used where?</p>
<p>EDIT: We have already implemented the system, it uses a 3rd party DB and ... | [
{
"answer_id": 10543947,
"author": "Jay Prall",
"author_id": 56083,
"author_profile": "https://Stackoverflow.com/users/56083",
"pm_score": 0,
"selected": false,
"text": "ExitNodes server1, server2, server3\nStrictExitNodes 1\n"
}
] | 2008/10/15 | [
"https://Stackoverflow.com/questions/205444",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1965/"
] |
205,447 | <p>I've got a model in CakePHP that doesn't have a table, called Upload. I've got a validation in this Model for a field called source_id.</p>
<p>I've got a form that builds a nice looking $this-data, giving me a well formated set, including:</p>
<pre><code>$this->data['Upload']['source_id']
</code></pre>
<p>Howe... | [
{
"answer_id": 205459,
"author": "Justin",
"author_id": 43,
"author_profile": "https://Stackoverflow.com/users/43",
"pm_score": 4,
"selected": true,
"text": "$this->Upload->set($this->data);\n$this->Upload->validates();\n"
},
{
"answer_id": 298222,
"author": "Chris Hawes",
... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205447",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/43/"
] |
205,458 | <p>For years, I've been using named blocks to limit the scope of temporary variables. I've never seen this done anywhere else, which makes me wonder if this is a bad idea. Especially since the Eclipse IDE flags these as warnings by default.</p>
<p>I've used this to good effect, I think, in my own code. But since it... | [
{
"answer_id": 205548,
"author": "John Nilsson",
"author_id": 24243,
"author_profile": "https://Stackoverflow.com/users/24243",
"pm_score": 3,
"selected": false,
"text": "final String example;\n{\n final StringBuilder sb = new StringBuilder();\n for(int i = 0; i < 100; i++)\n sb.... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205458",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/18078/"
] |
205,468 | <p>Hey everyone, I am researching a project where we would need to keep a value encrypted from the client all the way to a black box system without decrypting it at any point in between. We are using SSL between the browser and web server, but the values are automatically decrypted at the web server, which is what we ... | [
{
"answer_id": 205484,
"author": "Owen",
"author_id": 4853,
"author_profile": "https://Stackoverflow.com/users/4853",
"pm_score": 2,
"selected": false,
"text": " client browser web server random server blackbox\nroute ---- SSL -------------><------------- not encr... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205468",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15815/"
] |
205,521 | <p>I'm trying to write a regex to replace all spaces that are not included in quotes so something like this:</p>
<pre><code>a = 4, b = 2, c = "space here"
</code></pre>
<p>would return this:</p>
<pre><code>a=4,b=2,c="space here"
</code></pre>
<p>I spent some time searching this site and I found a similar q/a ( <a h... | [
{
"answer_id": 205581,
"author": "Rômulo Ceccon",
"author_id": 23193,
"author_profile": "https://Stackoverflow.com/users/23193",
"pm_score": 2,
"selected": false,
"text": "mystring.scan(/((\".*?\")|([^ ]))/).map { |x| x[0] }.join\n"
},
{
"answer_id": 205862,
"author": "Borgar... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205521",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/-1/"
] |
205,522 | <p>I have image data and i want to get a sub image of that to use as an opengl texture. </p>
<pre><code>glGenTextures(1, &m_name);
glGetIntegerv(GL_TEXTURE_BINDING_2D, &oldName);
glBindTexture(GL_TEXTURE_2D, m_name);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2... | [
{
"answer_id": 205569,
"author": "Community",
"author_id": -1,
"author_profile": "https://Stackoverflow.com/users/-1",
"pm_score": 6,
"selected": true,
"text": "GL_UNPACK_ROW_LENGTH GL_UNPACK_ROW_LENGTH glPixelStorei( GL_UNPACK_ROW_LENGTH, img_width );\nchar *subimg = (char*)m_data + (su... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205522",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25893/"
] |
205,526 | <p>I'm working on an application for work that is going to query our employee database. The end users want the ability to search based on the standard name/department criteria, but they also want the flexibility to query for all people with the first name of "James" that works in the Health Department. The one thing I ... | [
{
"answer_id": 205537,
"author": "Dillie-O",
"author_id": 71,
"author_profile": "https://Stackoverflow.com/users/71",
"pm_score": -1,
"selected": false,
"text": "SELECT EmpId, NameLast, NameMiddle, NameFirst, DepartmentName\n FROM dbo.Employee\n INNER JOIN dbo.Department ON dbo.Em... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205526",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/71/"
] |
205,529 | <p>Say I have a C function which takes a variable number of arguments: How can I call another function which expects a variable number of arguments from inside of it, passing all the arguments that got into the first function?</p>
<p>Example:</p>
<pre><code>void format_string(char *fmt, ...);
void debug_print(int db... | [
{
"answer_id": 205584,
"author": "SmacL",
"author_id": 22564,
"author_profile": "https://Stackoverflow.com/users/22564",
"pm_score": 9,
"selected": true,
"text": "va_list va_arg() void format_string(char *fmt,va_list argptr, char *formatted_string);\n\n\nvoid debug_print(int dbg_lvl, cha... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205529",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/4381/"
] |
205,546 | <p>Visual Studio makes calling a web service easy, trying to figure out what is going on under the covers is difficult.</p>
<p>How can I see the actual XML generated from my .Net app when making a call to a web service?</p>
| [
{
"answer_id": 205572,
"author": "DOK",
"author_id": 27637,
"author_profile": "https://Stackoverflow.com/users/27637",
"pm_score": 1,
"selected": false,
"text": "myDataSet.WriteXml(filename);\n"
},
{
"answer_id": 205828,
"author": "quickcel",
"author_id": 9129,
"autho... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205546",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/25121/"
] |
205,555 | <p>During my work with databases I noticed that I write query strings and in this strings I have to put several restrictions in the where-clause from a list/array/collection. Should look like this:</p>
<pre><code>select * from customer
where customer.id in (34, 26, ..., 2);
</code></pre>
<p>You can simplify this by ... | [
{
"answer_id": 205596,
"author": "Dónal",
"author_id": 2648,
"author_profile": "https://Stackoverflow.com/users/2648",
"pm_score": 1,
"selected": false,
"text": "public static final String toSqlList(Collection<?> values) {\n\n String collectionString = values.toString();\n\n // Con... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205555",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/1038/"
] |
205,557 | <p>If you develop for ATG Dynamo, how do you structure your modules and dependencies?</p>
<p>How do you structure the projects? source directories, JARs configs etc.</p>
<p>How do you build and deploy? What tools do you use?</p>
| [
{
"answer_id": 271071,
"author": "talanb",
"author_id": 20103,
"author_profile": "https://Stackoverflow.com/users/20103",
"pm_score": 3,
"selected": false,
"text": "root\n deploy\n class (compile java to here)\n config (primary configpath)\n docroot (JHTML docroot)\n dev (co... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205557",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/15452/"
] |
205,568 | <p>There's a lot of advice out there that you shouldn't expose your fields publically, and instead use trivial properties. I see it over & over.</p>
<p>I understand the arguments, but <a href="https://stackoverflow.com/questions/174198/c35-automatic-properties-why-not-access-the-field-directly#205567">I don't thi... | [
{
"answer_id": 207146,
"author": "Robert Paulson",
"author_id": 14033,
"author_profile": "https://Stackoverflow.com/users/14033",
"pm_score": 6,
"selected": true,
"text": "get set public string Name { get; set; }\n public string name;\n"
},
{
"answer_id": 13385502,
"author":... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205568",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/5314/"
] |
205,573 | <p>I want to do something like this:</p>
<pre><code>List<Animal> animals = new ArrayList<Animal>();
for( Class c: list_of_all_classes_available_to_my_app() )
if (c is Animal)
animals.add( new c() );
</code></pre>
<p>So, I want to look at all of the classes in my application's universe, and when ... | [
{
"answer_id": 205903,
"author": "jonathan-stafford",
"author_id": 27587,
"author_profile": "https://Stackoverflow.com/users/27587",
"pm_score": 3,
"selected": false,
"text": "for (String classpathEntry : System.getProperty(\"java.class.path\").split(System.getProperty(\"path.separator\"... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205573",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/9648/"
] |
205,582 | <p>The new ASP.NET routing is great for simple path style URL's but if you want to use a url such as:</p>
<p><a href="http://example.com/items/search.xhtml?term=Text+to+find&page=2" rel="nofollow noreferrer">http://example.com/items/search.xhtml?term=Text+to+find&page=2</a></p>
<p>Do you have to use a catch a... | [
{
"answer_id": 207748,
"author": "Richard Szalay",
"author_id": 3603,
"author_profile": "https://Stackoverflow.com/users/3603",
"pm_score": 3,
"selected": true,
"text": "Search(string term, int page)\n"
},
{
"answer_id": 7725561,
"author": "George Filippakos",
"author_id"... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205582",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/16340/"
] |
205,583 | <p>I need to reproduce a bug, and a guy from the other team has sent me a .mdf and .ldf files from his sql server 2005 instance. When I attach the database, all I get is empty tables, even though file is 2 mb large. The db contains 2 tables that have, among other thing, a varbinary(max) field. At the same time another ... | [
{
"answer_id": 207748,
"author": "Richard Szalay",
"author_id": 3603,
"author_profile": "https://Stackoverflow.com/users/3603",
"pm_score": 3,
"selected": true,
"text": "Search(string term, int page)\n"
},
{
"answer_id": 7725561,
"author": "George Filippakos",
"author_id"... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205583",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17481/"
] |
205,614 | <p>My initial installation for the <strong>MySQL</strong> had no password for root. I assigned a password for root and everything worked fine. Due to some reason (don't ask why) I had to revert back to the original settings where root didn't have any password.</p>
<p>I changed the root password to <code>'' (empty stri... | [
{
"answer_id": 205661,
"author": "Paul Dixon",
"author_id": 6521,
"author_profile": "https://Stackoverflow.com/users/6521",
"pm_score": 4,
"selected": false,
"text": "[client]\nhost=localhost\nuser = root\npassword = mypassword\ndatabase = mydatabase\n"
}
] | 2008/10/15 | [
"https://Stackoverflow.com/questions/205614",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/13492/"
] |
205,631 | <p>i got a client side javascript function which is triggered on a button click (basically, its a calculator!!). Sometimes, due to enormous data on the page, the javascript calculator function take to long & makes the page appear inactive to the user. I was planning to display a transparent div over entire page, ma... | [
{
"answer_id": 205648,
"author": "kemiller2002",
"author_id": 1942,
"author_profile": "https://Stackoverflow.com/users/1942",
"pm_score": 2,
"selected": false,
"text": "display:inline position:absolute z-index:99 100% display:none"
},
{
"answer_id": 205707,
"author": "Joel An... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205631",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/28321/"
] |
205,644 | <p>I came across an issue that makes me think there is bug in the 3.0 framework. When I try to use extension methods I get the following error: </p>
<pre><code>Missing compiler required member
'System.Runtime.CompilerServices.ExtensionAttribute..ctor'
</code></pre>
<p>When using this simple code:</p>
<pre><code>publ... | [
{
"answer_id": 577527,
"author": "lexx",
"author_id": 67014,
"author_profile": "https://Stackoverflow.com/users/67014",
"pm_score": 1,
"selected": false,
"text": "<assemblies>\n <add assembly=\"System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089\"/>\n</assemb... | 2008/10/15 | [
"https://Stackoverflow.com/questions/205644",
"https://Stackoverflow.com",
"https://Stackoverflow.com/users/17902/"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.