qid
int64
4
19.1M
question
stringlengths
18
48.3k
answers
list
date
stringlengths
10
10
metadata
list
114,306
<p>It's very painful to add multiple tickets to Trac or to have it as your own todo list. That causes people to use their own task management tools so tasks are then spread all around.</p> <p>Is there any plugin or macro that would quicken the process of adding a ticket?</p>
[ { "answer_id": 1344978, "author": "johntellsall", "author_id": 143880, "author_profile": "https://Stackoverflow.com/users/143880", "pm_score": 3, "selected": false, "text": "#!/usr/bin/env python\n\n'''\ntrac-bug: add bug/feature to current Trac project, from the command line.\nSpecify T...
2008/09/22
[ "https://Stackoverflow.com/questions/114306", "https://Stackoverflow.com", "https://Stackoverflow.com/users/189/" ]
114,332
<p>I've had a <em>serious</em> issue with my Visual Studio 2008 setup. I receive the ever-so-useful error 'A problem has been encountered while loading the setup components. Canceling setup.' whenever I try to uninstall, reinstall or repair Visual Studio 2008 (team system version). If I can't resolve this issue I have ...
[ { "answer_id": 1827236, "author": "Andrew", "author_id": 5662, "author_profile": "https://Stackoverflow.com/users/5662", "pm_score": 3, "selected": false, "text": "KB972221 KB973674 KB971091 KB952241" } ]
2008/09/22
[ "https://Stackoverflow.com/questions/114332", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3394/" ]
114,339
<p>If I want to manipulate an HTML tag's properties on the server within an aspx page based on a master page i.e. </p> <pre><code>&lt;a href="#" runat="server" ID="myLink"&gt;My Link&lt;/a&gt; </code></pre> <p>For example to give the link a different class depending on the current page i.e.</p> <pre><code>if (Path.G...
[ { "answer_id": 114357, "author": "Giovanni Galbo", "author_id": 4050, "author_profile": "https://Stackoverflow.com/users/4050", "pm_score": 0, "selected": false, "text": "public abstract string SetControlID(string name, System.Web.UI.Control control);\n" }, { "answer_id": 114363,...
2008/09/22
[ "https://Stackoverflow.com/questions/114339", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12918/" ]
114,398
<p>After rebooting the Windows 2003 Server with the IIS I receive the follow error message:</p> <blockquote> <p>Cannot connect to the configuration database</p> </blockquote> <p>in the browser. The error occur on different pages and with different clients. that I think it is a server problem.</p> <p>What can I do ...
[ { "answer_id": 249494, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 0, "selected": false, "text": "<!-- Web.Config Configuration File -->\n<configuration>\n <system.web>\n <customErrors mode=\"RemoteOnly\"/>\n </system.w...
2008/09/22
[ "https://Stackoverflow.com/questions/114398", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12631/" ]
114,419
<p>The following two C# code snippets produce different results (assuming the variable level is used both before and after the recursive call). Why?</p> <pre><code>public DoStuff(int level) { // ... DoStuff(level++); // ... } </code></pre> <p>,</p> <pre><code>public DoStuff(int level) { // ... DoStuff(leve...
[ { "answer_id": 114441, "author": "Markus Schnell", "author_id": 20668, "author_profile": "https://Stackoverflow.com/users/20668", "pm_score": 1, "selected": false, "text": "level++ level level level+1 level DoStuff (level + 1)" }, { "answer_id": 114446, "author": "Frederik Sl...
2008/09/22
[ "https://Stackoverflow.com/questions/114419", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1199234/" ]
114,431
<p>I am trying to display a live word count in the vim statusline. I do this by setting my status line in my .vimrc and inserting a function into it. The idea of this function is to return the number of words in the current buffer. This number is then displayed on the status line. This should work nicely as the statusl...
[ { "answer_id": 116454, "author": "Mikael Jansson", "author_id": 18753, "author_profile": "https://Stackoverflow.com/users/18753", "pm_score": 2, "selected": false, "text": "updatetime let g:word_count=\"<unknown>\"\nfun! WordCount()\n return g:word_count\nendfun\nfun! UpdateWordCount(...
2008/09/22
[ "https://Stackoverflow.com/questions/114431", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20388/" ]
114,457
<p>What are the consequences of running a Java class file compiled in JDK 1.4.2 on JRE 1.6 or 1.5?</p>
[ { "answer_id": 114557, "author": "Heath Borders", "author_id": 9636, "author_profile": "https://Stackoverflow.com/users/9636", "pm_score": 1, "selected": false, "text": "String s = \"string1\" + \"string2\";\n String s = new StringBuilder(\"string1\").append(\"string2\").toString();\n" ...
2008/09/22
[ "https://Stackoverflow.com/questions/114457", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15177/" ]
114,493
<p>I know the range name of the start of a list - <code>1</code> column wide and <code>x</code> rows deep.</p> <p>How do I calculate <code>x</code>?</p> <p>There is more data in the column than just this list. However, this list is contiguous - there is nothing in any of the cells above or below or either side beside...
[ { "answer_id": 114513, "author": "GSerg", "author_id": 11683, "author_profile": "https://Stackoverflow.com/users/11683", "pm_score": 5, "selected": true, "text": "Function ListRowCount(ByVal FirstCellName as String) as Long\n With thisworkbook.Names(FirstCellName).RefersToRange\n ...
2008/09/22
[ "https://Stackoverflow.com/questions/114493", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10326/" ]
114,501
<p>I want to set a background image for a div, in a way that it is in the upper <strong>RIGHT</strong> of the div, but with a fixed <code>10px</code> distance from top and right.</p> <p>Here is how I would do that if wanted it in the upper <strong>LEFT</strong> of the div:</p> <pre>background: url(images/img06.gif) n...
[ { "answer_id": 114517, "author": "mathieu", "author_id": 971, "author_profile": "https://Stackoverflow.com/users/971", "pm_score": 3, "selected": false, "text": "background: url(images/img06.gif) no-repeat top right;\n" }, { "answer_id": 114522, "author": "Justin Poliey", ...
2008/09/22
[ "https://Stackoverflow.com/questions/114501", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6476/" ]
114,504
<p>Eg. can I write something like this code:</p> <pre><code>public void InactiveCustomers(IEnumerable&lt;Guid&gt; customerIDs) { //... myAdoCommand.CommandText = "UPDATE Customer SET Active = 0 WHERE CustomerID in (@CustomerIDs)"; myAdoCommand.Parameters["@CustomerIDs"].Value = customerIDs; //....
[ { "answer_id": 114562, "author": "hollystyles", "author_id": 2083160, "author_profile": "https://Stackoverflow.com/users/2083160", "pm_score": -1, "selected": false, "text": " Create procedure usp_DeactivateCustomers \n @inactive varchar(50) /*or whatever values are required to ide...
2008/09/22
[ "https://Stackoverflow.com/questions/114504", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8547/" ]
114,521
<p>I am creating a <code>gridView</code> that allows adding new rows by adding the controls necessary for the insert into the <code>FooterTemplate</code>, but when the <code>ObjectDataSource</code> has no records, I add a dummy row as the <code>FooterTemplate</code> is only displayed when there is data.</p> <p>How can...
[ { "answer_id": 114612, "author": "mattlant", "author_id": 14642, "author_profile": "https://Stackoverflow.com/users/14642", "pm_score": 0, "selected": false, "text": "e.Row.Height = Unit.Pixel(0);\n" }, { "answer_id": 114699, "author": "Serhat Ozgel", "author_id": 31505, ...
2008/09/22
[ "https://Stackoverflow.com/questions/114521", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2808/" ]
114,525
<blockquote> <p><strong>Possible Duplicate:</strong><br> <a href="https://stackoverflow.com/questions/336859/javascript-var-functionname-function-vs-function-functionname">JavaScript: var functionName = function() {} vs function functionName() {}</a> </p> </blockquote> <p>What's the difference between:</p> <pr...
[ { "answer_id": 114573, "author": "Daniel James", "author_id": 2434, "author_profile": "https://Stackoverflow.com/users/2434", "pm_score": 3, "selected": false, "text": "var y = sum(1, 2);\n\nfunction sum(x, y) {\n return x + y;\n}\n // Error here because the function hasn't been assign...
2008/09/22
[ "https://Stackoverflow.com/questions/114525", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3983/" ]
114,527
<p>I'm really new to .NET, and I still didn't get the hang about how configuration files work.</p> <p>Every time I search on Google about it I get results about web.config, but I'm writing a Windows Forms application.</p> <p>I figured out that I need to use the System.Configuration namespace, but the documentation is...
[ { "answer_id": 114552, "author": "Chris James", "author_id": 3193, "author_profile": "https://Stackoverflow.com/users/3193", "pm_score": 8, "selected": true, "text": "<configuration>\n <appSettings>\n <add key=\"MyKey\" value=\"false\"/>\n System.Configuration.ConfigurationSettings.AppS...
2008/09/22
[ "https://Stackoverflow.com/questions/114527", "https://Stackoverflow.com", "https://Stackoverflow.com/users/727/" ]
114,541
<p>I want to write a <a href="http://getsongbird.com/" rel="noreferrer">Songbird</a> extension binds the multimedia keys available on all Apple Mac OS X platforms. Unfortunately this isn't an easy google search and I can't find any docs.</p> <p>Can anyone point me resources on accessing these keys or tell me how to d...
[ { "answer_id": 115333, "author": "rami", "author_id": 9629, "author_profile": "https://Stackoverflow.com/users/9629", "pm_score": 0, "selected": false, "text": "xev" }, { "answer_id": 423534, "author": "Rhythmic Fistman", "author_id": 22147, "author_profile": "https:/...
2008/09/22
[ "https://Stackoverflow.com/questions/114541", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15948/" ]
114,543
<p>How can I horizontally center a <code>&lt;div&gt;</code> within another <code>&lt;div&gt;</code> using CSS?</p> <pre class="lang-html prettyprint-override"><code>&lt;div id=&quot;outer&quot;&gt; &lt;div id=&quot;inner&quot;&gt;Foo foo&lt;/div&gt; &lt;/div&gt; </code></pre>
[ { "answer_id": 114549, "author": "Justin Poliey", "author_id": 6967, "author_profile": "https://Stackoverflow.com/users/6967", "pm_score": 13, "selected": true, "text": "<div> #inner {\n width: 50%;\n margin: 0 auto;\n}\n width 50% <div> margin: 0 auto #inner {\n display: table;\n ma...
2008/09/22
[ "https://Stackoverflow.com/questions/114543", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20403/" ]
114,555
<p>I'm fairly new to the world of versioning but would like to introduce Subversion into our small development team as we're finding that more and more we are working on the same projects/files. We primarily code in <code>PHP</code> on a <code>LAMP</code> environment (Red Hat Enterprise).</p> <p>What I'm looking for a...
[ { "answer_id": 114662, "author": "Armin Ronacher", "author_id": 19990, "author_profile": "https://Stackoverflow.com/users/19990", "pm_score": 2, "selected": true, "text": "svnadmin create --fs-type=fsfs" } ]
2008/09/22
[ "https://Stackoverflow.com/questions/114555", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13658/" ]
114,575
<p>I'm passing around some objects through web service and some of them contain java.sql.Date. Because Date doesn't have empty constructor it doesn't want to get serialized. </p> <p>First part of a question is easy: what is the best way to pass a date between client and service? </p> <p>Second part is bit trickier: O...
[ { "answer_id": 114641, "author": "paul", "author_id": 11249, "author_profile": "https://Stackoverflow.com/users/11249", "pm_score": 0, "selected": false, "text": "XMLEncoder encoder = new XMLEncoder(new FileOutputStream(file));\nencoder.setPersistenceDelegate(\n Rectangle.class, \n ...
2008/09/22
[ "https://Stackoverflow.com/questions/114575", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4433/" ]
114,586
<p>What is the smartest way to design a math parser? What I mean is a function that takes a math string (like: "2 + 3 / 2 + (2 * 5)") and returns the calculated value? I did write one in VB6 ages ago but it ended up being way to bloated and not very portable (or smart for that matter...). General ideas, psuedo code or ...
[ { "answer_id": 55853186, "author": "gbenroscience", "author_id": 1845404, "author_profile": "https://Stackoverflow.com/users/1845404", "pm_score": 1, "selected": false, "text": " MathExpression expr = new MathExpression(\"(34+32)-44/(8+9(3+2))-22\"); \n System.out.println(\"result:...
2008/09/22
[ "https://Stackoverflow.com/questions/114586", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
114,658
<p>I keep hearing that </p> <pre><code>catch (Exception ex) </code></pre> <p>Is bad practise, however, I often use it in event handlers where an operation may for example go to network, allowing the possibility of many different types of failure. In this case, I catch all exceptions and display the error message to t...
[ { "answer_id": 114693, "author": "Rasmus Faber", "author_id": 5542, "author_profile": "https://Stackoverflow.com/users/5542", "pm_score": 6, "selected": true, "text": "catch (Exception ex){}\n catch (Exception ex){ return false; }\n" }, { "answer_id": 114726, "author": "aku",...
2008/09/22
[ "https://Stackoverflow.com/questions/114658", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6448/" ]
114,698
<p>We have a lot of spreadsheets (xls) in our source code repository. These are usually edited with gnumeric or openoffice.org, and are mostly used to populate databases for unit testing with <a href="http://www.dbunit.org/" rel="noreferrer">dbUnit</a>. There are no easy ways of doing diffs on xls files that I know o...
[ { "answer_id": 114759, "author": "Laurent", "author_id": 10786, "author_profile": "https://Stackoverflow.com/users/10786", "pm_score": 7, "selected": false, "text": "=if(Sheet1!A1 <> Sheet2!A1, \"X\", \"\")" }, { "answer_id": 12359446, "author": "Toby", "author_id": 23326...
2008/09/22
[ "https://Stackoverflow.com/questions/114698", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13365/" ]
114,725
<p>I’ve got a problem with Visual Basic (6) in combination with LDAP. When I try to connect to an LDAP store, I always get errors like ‘Bad Pathname’ or ‘Table does not exist’ (depending on what the code looks like).</p> <p>This is the part of the code I wrote to connect:</p> <pre><code>path = "LDAP://xx.xxx.xxx.xxx:...
[ { "answer_id": 114790, "author": "Darrel Miller", "author_id": 6819, "author_profile": "https://Stackoverflow.com/users/6819", "pm_score": 2, "selected": false, "text": " Set oinfo = New ADSystemInfo\n sDomain = Split(oinfo.DomainDNSName, \".\")\n '-- Get Datasets from the Active...
2008/09/22
[ "https://Stackoverflow.com/questions/114725", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
114,728
<p>One of my DBs have grown closer to permitted size.</p> <p>Inorder to find out the table containing the max data, i used the following query:</p> <pre><code>exec sp_MSforeachtable @command1="print '?' exec sp_spaceused '?'" </code></pre> <p>It returned the culprit table comprising the max data.</p> <p>As a next s...
[ { "answer_id": 114827, "author": "Casper", "author_id": 18729, "author_profile": "https://Stackoverflow.com/users/18729", "pm_score": 1, "selected": false, "text": "SELECT * \nFROM #TempTable\nOrder by dataSize desc\n SELECT LEN(CONVERT(nvarchar(MAX), LogProperties)) AS length\nFROM ...
2008/09/22
[ "https://Stackoverflow.com/questions/114728", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15425/" ]
114,733
<p>Do anyone have good ideas of how to modify the toolbar for the WinForms version of the ReportViewer Toolbar? That is, I want to remove some buttons and varius, but it looks like the solution is to create a brand new toolbar instead of modifying the one that is there.</p> <p>Like, I had to remove export to excel, an...
[ { "answer_id": 355705, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 3, "selected": false, "text": " private readonly string[] ZOOM_VALUES = { \"25%\", \"50%\", \"75%\", \"100%\", \"110%\", \"120%\", \"125%\", \"130%\", \"1...
2008/09/22
[ "https://Stackoverflow.com/questions/114733", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3308/" ]
114,772
<p>I need to create and add custom headers to an ASP.NET 2.0 application. The case is simulation of an SSO-login in our dev/test environment.</p> <p>When I try to add headers I run into the "Not supported on this platform." error. BigJim has a nice post on the subject here: <a href="http://bigjimindc.blogspot.com/20...
[ { "answer_id": 114943, "author": "Jon Adams", "author_id": 2291, "author_profile": "https://Stackoverflow.com/users/2291", "pm_score": 0, "selected": false, "text": "Response.AddHeader()" } ]
2008/09/22
[ "https://Stackoverflow.com/questions/114772", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
114,804
<p>I want to write a real-time analysis tool for wireless traffic.</p> <p>Does anyone know how to read from a promiscuous (or sniffing) device in C? </p> <p>I know that you need to have root access to do it. I was wondering if anyone knows what functions are necessary to do this. Normal sockets don't seem to make sen...
[ { "answer_id": 115169, "author": "DGentry", "author_id": 4761, "author_profile": "https://Stackoverflow.com/users/4761", "pm_score": 5, "selected": true, "text": "s = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL))\n ldh = load halfword (from packet) \njeq = jump if equal \nret = return ...
2008/09/22
[ "https://Stackoverflow.com/questions/114804", "https://Stackoverflow.com", "https://Stackoverflow.com/users/542226/" ]
114,814
<p>In Bash, how do I count the number of non-blank lines of code in a project?</p>
[ { "answer_id": 114835, "author": "Ben Hoffstein", "author_id": 4482, "author_profile": "https://Stackoverflow.com/users/4482", "pm_score": 2, "selected": false, "text": "awk '/^[[:space:]]*$/ {++x} END {print x}' \"$testfile\"\n" }, { "answer_id": 114836, "author": "Michael C...
2008/09/22
[ "https://Stackoverflow.com/questions/114814", "https://Stackoverflow.com", "https://Stackoverflow.com/users/10176/" ]
114,819
<p>Consider these classes.</p> <pre><code>class Base { ... }; class Derived : public Base { ... }; </code></pre> <p>this function</p> <pre><code>void BaseFoo( std::vector&lt;Base*&gt;vec ) { ... } </code></pre> <p>And finally my vector</p> <pre><code>std::vector&lt;Derived*&gt;derived; </code></pre> <p...
[ { "answer_id": 114833, "author": "Matt Price", "author_id": 852, "author_profile": "https://Stackoverflow.com/users/852", "pm_score": 3, "selected": false, "text": "template<typename T>\nvoid BaseFoo( const std::vector<T*>& vec)\n{\n ...\n}\n" }, { "answer_id": 114883, "autho...
2008/09/22
[ "https://Stackoverflow.com/questions/114819", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19863/" ]
114,830
<p>One of the basic data structures in Python is the dictionary, which allows one to record "keys" for looking up "values" of any type. Is this implemented internally as a hash table? If not, what is it?</p>
[ { "answer_id": 114831, "author": "nosklo", "author_id": 17160, "author_profile": "https://Stackoverflow.com/users/17160", "pm_score": 9, "selected": true, "text": ">>> a = {}\n>>> b = ['some', 'list']\n>>> hash(b)\nTraceback (most recent call last):\n File \"<stdin>\", line 1, in <modul...
2008/09/22
[ "https://Stackoverflow.com/questions/114830", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11575/" ]
114,847
<p>I'm trying to use the Stream.BeginWrite Async I/O API in .NET for a high-throughput situation with many short messages. As such, a scatter/gather API will reduce the number of context switches (and CPU usage) tremendously. Does this API use the LPBUFFERS Win32 API at all? Is there an alternative API for Scatter/Gath...
[ { "answer_id": 30565480, "author": "Evgeniy Berezovsky", "author_id": 709537, "author_profile": "https://Stackoverflow.com/users/709537", "pm_score": 2, "selected": false, "text": "SocketAsyncEventArgs BufferList Buffer Socket.SendAsync(SocketAsyncEventArgs) WSASend Socket.SendAsync(Sock...
2008/09/22
[ "https://Stackoverflow.com/questions/114847", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13897/" ]
114,851
<p>I have the following code:</p> <pre><code>ListBox.DataSource = DataSet.Tables("table_name").Select("some_criteria = match") ListBox.DisplayMember = "name" </code></pre> <p>The <a href="http://msdn.microsoft.com/en-us/library/system.data.datatable.select(VS.80).aspx" rel="noreferrer"><code>DataTable.Select()</code>...
[ { "answer_id": 114887, "author": "Josh", "author_id": 11702, "author_profile": "https://Stackoverflow.com/users/11702", "pm_score": 6, "selected": true, "text": "ListBox.DataSource = new DataView(DataSet.Tables(\"table_name\"), \"some_criteria = match\", \"name\", DataViewRowState.Curren...
2008/09/22
[ "https://Stackoverflow.com/questions/114851", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5662/" ]
114,859
<p>I use a custom Matrix class in my application, and I frequently add multiple matrices:</p> <pre><code>Matrix result = a + b + c + d; // a, b, c and d are also Matrices </code></pre> <p>However, this creates an intermediate matrix for each addition operation. Since this is simple addition, it is possible to avoid t...
[ { "answer_id": 114905, "author": "Vinko Vrsalovic", "author_id": 5190, "author_profile": "https://Stackoverflow.com/users/5190", "pm_score": 2, "selected": false, "text": "Matrix Add3Matrices(a,b,c) //and so on \n Matrix AddMatrices(Matrix[] matrices)\n" }, { "answer_id": 114952,...
2008/09/22
[ "https://Stackoverflow.com/questions/114859", "https://Stackoverflow.com", "https://Stackoverflow.com/users/976/" ]
114,872
<p>Given some JS code like that one here:</p> <pre><code> for (var i = 0; i &lt; document.getElementsByName('scale_select').length; i++) { document.getElementsByName('scale_select')[i].onclick = vSetScale; } </code></pre> <p>Would the code be faster if we put the result of getElementsByName into a variable bef...
[ { "answer_id": 114904, "author": "Oli", "author_id": 12870, "author_profile": "https://Stackoverflow.com/users/12870", "pm_score": 5, "selected": true, "text": "var scale_select = document.getElementsByName('scale_select');\nfor (var i = 0; i < scale_select.length; i++)\n scale_select...
2008/09/22
[ "https://Stackoverflow.com/questions/114872", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2077/" ]
114,914
<p>We use <a href="http://hudson-ci.org/" rel="noreferrer">Hudson</a> as a continuous integration system to execute automated builds (nightly and based on CVS polling) of a lot of our projects.</p> <p>Some projects poll CVS every 15 minutes, some others poll every 5 minutes and some poll every hour.</p> <p>Every few ...
[ { "answer_id": 114932, "author": "tzot", "author_id": 6899, "author_profile": "https://Stackoverflow.com/users/6899", "pm_score": 0, "selected": false, "text": "ulimit -n" } ]
2008/09/22
[ "https://Stackoverflow.com/questions/114914", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9518/" ]
114,928
<p>I'm firing off a Java application from inside of a C# <a href="http://en.wikipedia.org/wiki/.NET_Framework" rel="noreferrer">.NET</a> console application. It works fine for the case where the Java application doesn't care what the "default" directory is, but fails for a Java application that only searches the curren...
[ { "answer_id": 114937, "author": "Dror Helper", "author_id": 11361, "author_profile": "https://Stackoverflow.com/users/11361", "pm_score": 9, "selected": true, "text": "...\nusing System.Diagnostics;\n...\n\nvar startInfo = new ProcessStartInfo();\n\n startInfo.WorkingDirectory = // wor...
2008/09/22
[ "https://Stackoverflow.com/questions/114928", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15689/" ]
114,953
<p>I'm writing a photo gallery webapp for a friend's wedding and they want a photo gallery for guests to submit the digital photos they take on the day. </p> <p>After evaluating all the options, I've decided the easiest thing for users would be to let them use a familiar interface (their email) and just have them send...
[ { "answer_id": 114973, "author": "Armin Ronacher", "author_id": 19990, "author_profile": "https://Stackoverflow.com/users/19990", "pm_score": 3, "selected": true, "text": "xfilter" }, { "answer_id": 115017, "author": "DreamWerx", "author_id": 15487, "author_profile": ...
2008/09/22
[ "https://Stackoverflow.com/questions/114953", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12870/" ]
114,983
<p>Given:</p> <pre><code>DateTime.UtcNow </code></pre> <p>How do I get a string which represents the same value in an <a href="http://en.wikipedia.org/wiki/ISO_8601" rel="noreferrer">ISO 8601</a>-compliant format?</p> <p>Note that ISO 8601 defines a number of similar formats. The specific format I am looking for is:...
[ { "answer_id": 114997, "author": "Iain", "author_id": 20457, "author_profile": "https://Stackoverflow.com/users/20457", "pm_score": 7, "selected": false, "text": "DateTime.UtcNow.ToString(\"s\")\n UtcNow string.Concat(DateTime.UtcNow.ToString(\"s\"), \"Z\")\n" }, { "answer_id": 1...
2008/09/22
[ "https://Stackoverflow.com/questions/114983", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20457/" ]
114,996
<p>How can we connect a <code>PHP</code> script to <code>MS Access (.mdb)</code> file?</p> <p>I tried by including following <code>PHP</code> code:</p> <pre><code>$db_path = $_SERVER['DOCUMENT_ROOT'] . '\WebUpdate\\' . $file_name . '.mdb'; $cfg_dsn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" . $db_path; $odbcco...
[ { "answer_id": 115009, "author": "Galwegian", "author_id": 3201, "author_profile": "https://Stackoverflow.com/users/3201", "pm_score": 4, "selected": true, "text": "<?php\n$db_conn = new COM(\"ADODB.Connection\");\n$connstr = \"DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=\". realpath(\...
2008/09/22
[ "https://Stackoverflow.com/questions/114996", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6561/" ]
115,008
<p>How to print line numbers to the log. Say when outputting some information to the log, I also want to print the line number where that output is in the source code. As we can see in the stack trace, it displays the line number where the exception has occurred. Stack trace is available on the exception object.</p> <...
[ { "answer_id": 115027, "author": "Simon Buchan", "author_id": 20135, "author_profile": "https://Stackoverflow.com/users/20135", "pm_score": 7, "selected": false, "text": "/** Get the current line number.\n * @return int - Current line number.\n */\npublic static int getLineNumber() {\n ...
2008/09/22
[ "https://Stackoverflow.com/questions/115008", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15177/" ]
115,031
<p>I have an assembly, written in C++\CLI, which uses some of enumerations, provided by .Net. It has such kind of properties: </p> <pre><code>property System::ServiceProcess::ServiceControllerStatus ^ Status { ServiceControllerStatus ^ get() { return (ServiceControllerStatus)_status-&gt;dwCur...
[ { "answer_id": 115106, "author": "Jorge Ferreira", "author_id": 6508, "author_profile": "https://Stackoverflow.com/users/6508", "pm_score": 4, "selected": true, "text": "property System::ServiceProcess::ServiceControllerStatus Status \n{ \n System::ServiceProcess::ServiceControllerS...
2008/09/22
[ "https://Stackoverflow.com/questions/115031", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6698/" ]
115,039
<p>Suppose that the <strong>ApplicationSettings</strong> class is a general repository of settings that apply to my application such as TimeoutPeriod, DefaultUnitOfMeasure, HistoryWindowSize, etc... And let's say MyClass makes use of one of those settings - DefaultUnitOfMeasure.</p> <p>My reading of proper use of Inv...
[ { "answer_id": 119005, "author": "Brannon", "author_id": 5745, "author_profile": "https://Stackoverflow.com/users/5745", "pm_score": 2, "selected": false, "text": "public class MyClass {\n public MyClass(IDataSource ds) {\n UnitOfMeasure duom = IoC.Container.Resolve<UnitOfMeasu...
2008/09/22
[ "https://Stackoverflow.com/questions/115039", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5056/" ]
115,060
<p>I was reading a post by Brad Wilson (<a href="http://bradwilson.typepad.com/blog/2008/08/partial-renderi.html" rel="nofollow noreferrer">http://bradwilson.typepad.com/blog/2008/08/partial-renderi.html</a>) on the new ViewEngine changes to MVC Preview 5 and thought that it would be great to be able to render a view t...
[ { "answer_id": 31016901, "author": "Triet Doan", "author_id": 1814420, "author_profile": "https://Stackoverflow.com/users/1814420", "pm_score": 1, "selected": false, "text": "RenderPartialToString public static string RenderPartialToString(string controlName, object viewData)\n{\n Vi...
2008/09/22
[ "https://Stackoverflow.com/questions/115060", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11557/" ]
115,095
<p>I have my web browsers set to save what I type into text boxes on forms. I have a lot of search terms stored in the text box of my browser and would like to get at it via a program of some sort before I clear these values out. There are far too many for me to go through one at a time. </p> <p>The web browser mus...
[ { "answer_id": 31016901, "author": "Triet Doan", "author_id": 1814420, "author_profile": "https://Stackoverflow.com/users/1814420", "pm_score": 1, "selected": false, "text": "RenderPartialToString public static string RenderPartialToString(string controlName, object viewData)\n{\n Vi...
2008/09/22
[ "https://Stackoverflow.com/questions/115095", "https://Stackoverflow.com", "https://Stackoverflow.com/users/14728/" ]
115,103
<p>I am trying to implement position-sensitive zooming inside a <code>JScrollPane</code>. The <code>JScrollPane</code> contains a component with a customized <code>paint</code> that will draw itself inside whatever space it is allocated - so zooming is as easy as using a <code>MouseWheelListener</code> that resizes the...
[ { "answer_id": 2598320, "author": "xycf7", "author_id": 262537, "author_profile": "https://Stackoverflow.com/users/262537", "pm_score": 1, "selected": false, "text": "\nprivate void updatePreferredSize(int n, Point p) {\n double d = (double) n * 1.08;\n d = (n > 0) ? 1 / d : -d;\n ...
2008/09/22
[ "https://Stackoverflow.com/questions/115103", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15472/" ]
115,115
<p><strong>Has anyone had success automating testing directly on embedded hardware?</strong></p> <p>Specifically, I am thinking of automating a battery of unit tests for hardware layer modules. We need to have greater confidence in our hardware layer code. A lot of our projects use interrupt driven timers, ADCs, seria...
[ { "answer_id": 115162, "author": "Frank Krueger", "author_id": 338, "author_profile": "https://Stackoverflow.com/users/338", "pm_score": 4, "selected": false, "text": "TEST_EQUAL TEST_BITSET TEST_BITVLR" } ]
2008/09/22
[ "https://Stackoverflow.com/questions/115115", "https://Stackoverflow.com", "https://Stackoverflow.com/users/445087/" ]
115,121
<p>Does anyone know why there is no <code>respond_to</code> block for generated <code>edit</code> actions? Every other action in typical scaffold controllers has a <code>respond_to</code> block in order to output <code>html</code> and <code>xml</code> formats. Why is the <code>edit</code> action an exception?</p> <p>I...
[ { "answer_id": 115211, "author": "Pete", "author_id": 13472, "author_profile": "https://Stackoverflow.com/users/13472", "pm_score": 5, "selected": true, "text": "GET /my_models/[:id].xml (Show) \n PUT /my_models/[:id].xml (Update) \n GET /my_models/[:id]/edit \n" }, { "answer_id"...
2008/09/22
[ "https://Stackoverflow.com/questions/115121", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20467/" ]
115,159
<p>I have been using ASP.NET for years, but I can never remember when using the # and = are appropriate.</p> <p>For example:</p> <pre><code>&lt;%= Grid.ClientID %&gt; </code></pre> <p>or</p> <pre><code>&lt;%# Eval("FullName")%&gt; </code></pre> <p>Can someone explain when each should be used so I can keep it strai...
[ { "answer_id": 115212, "author": "Keith", "author_id": 905, "author_profile": "https://Stackoverflow.com/users/905", "pm_score": 5, "selected": false, "text": "<%@ <%$ <%= <%# <%-- <%: <%#:" } ]
2008/09/22
[ "https://Stackoverflow.com/questions/115159", "https://Stackoverflow.com", "https://Stackoverflow.com/users/417/" ]
115,167
<p>I've been developing a site over the past few weeks using CodeIgniter as the framework. I've been thinking of the best way to accomplish something, which in a lot of other frameworks in other languages is relatively simple: sortable tables. CodeIgniter switches off query strings by default, because your URLs contain...
[ { "answer_id": 119265, "author": "JayTee", "author_id": 20153, "author_profile": "https://Stackoverflow.com/users/20153", "pm_score": 1, "selected": false, "text": "$config['permitted_uri_chars'] = 'a-z 0-9~%.:_\\-,';\n function sorter() {\n //get the sort params\n $sort = explode(\",\...
2008/09/22
[ "https://Stackoverflow.com/questions/115167", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
115,210
<p>I'm processing some data files that are supposed to be valid UTF-8 but aren't, which causes the parser (not under my control) to fail. I'd like to add a stage of pre-validating the data for UTF-8 well-formedness, but I've not yet found a utility to help do this.</p> <p>There's a <a href="http://www.w3.org/2005/01/y...
[ { "answer_id": 115241, "author": "tzot", "author_id": 6899, "author_profile": "https://Stackoverflow.com/users/6899", "pm_score": 3, "selected": false, "text": ">>> a=\"γεια\"\n>>> a\n'\\xce\\xb3\\xce\\xb5\\xce\\xb9\\xce\\xb1'\n>>> b='\\xce\\xb3\\xce\\xb5\\xce\\xb9\\xff\\xb1' # note seco...
2008/09/22
[ "https://Stackoverflow.com/questions/115210", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6716/" ]
115,222
<p>I have a file I need to move that's already under perforce. Once moved it needs some editing - update the package, etc - appropriate to its new location. Should I submit the move changespec and then reopen it for edit, or can I do this in one go? If so, what is the appropriate sequence of events?</p>
[ { "answer_id": 115290, "author": "Jough Dempsey", "author_id": 20497, "author_profile": "https://Stackoverflow.com/users/20497", "pm_score": 0, "selected": false, "text": "<text> <ktext> p4 filelog -i" } ]
2008/09/22
[ "https://Stackoverflow.com/questions/115222", "https://Stackoverflow.com", "https://Stackoverflow.com/users/4893/" ]
115,237
<p>I am using Visual Studio, developing a native application, I have a programmatical breakpoint (assert) in my code placed using __asm int 3 or __debugbreak. Sometimes when I hit it, I would like to disable it so that successive hits in the same debugging session no longer break into the debugger. How can I do this?<...
[ { "answer_id": 115238, "author": "Suma", "author_id": 16673, "author_profile": "https://Stackoverflow.com/users/16673", "pm_score": 6, "selected": true, "text": "*(char *)eip,x *(char *)rip,x *(int *)iar,x" }, { "answer_id": 6228529, "author": "Fili", "author_id": 675305,...
2008/09/22
[ "https://Stackoverflow.com/questions/115237", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16673/" ]
115,249
<p>I am trying to have a logout page where is displays a messages and then redirects to the login page. This is in ASP.net 2.0.</p> <p>I have this in my <code>Page_Load</code>:</p> <pre><code>ClientScript.RegisterStartupScript(typeof(Page), "pageredirect", JavascriptRedirect() ); </code></pre> <p>This is my redirect...
[ { "answer_id": 115286, "author": "Johannes Hädrich", "author_id": 18246, "author_profile": "https://Stackoverflow.com/users/18246", "pm_score": 2, "selected": true, "text": "<HEAD> <meta http-equiv=\"refresh\" content=\"5; URL=login.aspx\">\n" }, { "answer_id": 115373, "autho...
2008/09/22
[ "https://Stackoverflow.com/questions/115249", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3208/" ]
115,269
<p>There's something very unsatisfactory about this code:</p> <pre><code>/* Given a command string in which the first 8 characters are the command name padded on the right with whitespace, construct the appropriate kind of Command object. */ public class CommandFactory { public Command getCommand(String cmd) { ...
[ { "answer_id": 115313, "author": "davetron5000", "author_id": 3029, "author_profile": "https://Stackoverflow.com/users/3029", "pm_score": 5, "selected": true, "text": "Class c = commandMap.get(cmdName);\nif (c != null)\n return c.newInstance();\nelse\n throw new IllegalArgumentExce...
2008/09/22
[ "https://Stackoverflow.com/questions/115269", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7512/" ]
115,277
<p>I'm wandering myself what component is the best for displaying fast search results in swing. I want to create something like this, make a text field where user can enter some text, during his entering I'll improve in back end fast search on database, and I want to show data bellow the text box, and he will be able t...
[ { "answer_id": 115355, "author": "davetron5000", "author_id": 3029, "author_profile": "https://Stackoverflow.com/users/3029", "pm_score": 2, "selected": false, "text": "JTextField Document" } ]
2008/09/22
[ "https://Stackoverflow.com/questions/115277", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16039/" ]
115,316
<p>I want to use a WSDL SOAP based web service in Python. I have looked at the <a href="http://web.archive.org/web/20181001011217/http://www.diveintopython.net/soap_web_services/" rel="noreferrer">Dive Into Python</a> code but the SOAPpy module does not work under Python 2.5.</p> <p>I have tried using <a href="https:/...
[ { "answer_id": 27302096, "author": "Teddy Belay", "author_id": 4325298, "author_profile": "https://Stackoverflow.com/users/4325298", "pm_score": 4, "selected": false, "text": "import logging\nfrom suds.client import Client\nfrom suds.wsse import *\nfrom datetime import timedelta,date,dat...
2008/09/22
[ "https://Stackoverflow.com/questions/115316", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2183/" ]
115,319
<p>I'm using C# and connecting to a WebService via an auto-generated C# proxy object. The method I'm calling can be long running, and sometimes times out. I get different errors back, sometimes I get a <code>System.Net.WebException</code> or a <code>System.Web.Services.Protocols.SoapException</code>. These exceptions h...
[ { "answer_id": 6207632, "author": "Mhoque", "author_id": 557700, "author_profile": "https://Stackoverflow.com/users/557700", "pm_score": 3, "selected": false, "text": " <httpRuntime requestValidationMode=\"2.0\" />\n <pages validateRequest=\"false\" />\n" }, { "answer_id": 33893...
2008/09/22
[ "https://Stackoverflow.com/questions/115319", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11898/" ]
115,328
<p>I have the following class</p> <pre> public class Car { public Name {get; set;} } </pre> <p>and I want to bind this programmatically to a text box.</p> <p>How do I do that?</p> <p>Shooting in the dark:</p> <pre> ... Car car = new Car(); TextEdit editBox = new TextEdit(); editBox.DataBinding.Add("Name", car, ...
[ { "answer_id": 115346, "author": "Danimal", "author_id": 2757, "author_profile": "https://Stackoverflow.com/users/2757", "pm_score": 4, "selected": false, "text": "editBox.DataBinding.Add(\"Text\", car, \"Name\");\n" }, { "answer_id": 115351, "author": "ageektrapped", "au...
2008/09/22
[ "https://Stackoverflow.com/questions/115328", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15771/" ]
115,369
<p>I feel that my shop has a hole because we don't have a solid process in place for versioning our database schema changes. We do a lot of backups so we're more or less covered, but it's bad practice to rely on your last line of defense in this way. </p> <p>Surprisingly, this seems to be a common thread. Many shops I...
[ { "answer_id": 115422, "author": "Paul Tomblin", "author_id": 3333, "author_profile": "https://Stackoverflow.com/users/3333", "pm_score": 5, "selected": false, "text": "if [ $VERSION \\< '8.0.108' ] ; then\n psql -U cosuser $dbName << EOF8.0.108\n BEGIN TRANSACTION;\n --\n -- R...
2008/09/22
[ "https://Stackoverflow.com/questions/115369", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16082/" ]
115,389
<p>How do you update your SQL sever database when installing your product's update? Are there any tools that will integrate with windows installer? My typical schema changes are:</p> <ul> <li>Adding/removing columns</li> <li>Adding/removing tables.</li> <li>Adding views.</li> <li>Adding/alter indexs.</li> </ul>
[ { "answer_id": 116254, "author": "Philippe Grondier", "author_id": 11436, "author_profile": "https://Stackoverflow.com/users/11436", "pm_score": 0, "selected": false, "text": "//instruction 1, batch instructions for version#2.162\nUSE myDatabase\nGO\nALTER TABLE myTable\n ADD myColumn...
2008/09/22
[ "https://Stackoverflow.com/questions/115389", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5618/" ]
115,399
<p>My credit card processor requires I send a two-digit year from the credit card expiration date. Here is how I am currently processing:</p> <ol> <li>I put a <code>DropDownList</code> of the 4-digit year on the page.</li> <li>I validate the expiration date in a <code>DateTime</code> field to be sure that the expirati...
[ { "answer_id": 115440, "author": "brock.holum", "author_id": 15860, "author_profile": "https://Stackoverflow.com/users/15860", "pm_score": 8, "selected": true, "text": "DateTime expirationDate = new DateTime(2008, 1, 31); // random date\nstring lastTwoDigitsOfYear = expirationDate.ToStri...
2008/09/22
[ "https://Stackoverflow.com/questions/115399", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2535/" ]
115,418
<p>How to get an instance's member's values?</p> <p>With propertyInfos there is a <code>propertyInfo.GetValue(instance, index)</code>, but no such thing exists in memberInfo.</p> <p>I searched the net, but it seems to stop at getting the member's name and type.</p>
[ { "answer_id": 115429, "author": "Matt Howells", "author_id": 16881, "author_profile": "https://Stackoverflow.com/users/16881", "pm_score": 5, "selected": true, "text": "FieldInfo" }, { "answer_id": 8801597, "author": "Carlo V. Dango", "author_id": 454017, "author_pro...
2008/09/22
[ "https://Stackoverflow.com/questions/115418", "https://Stackoverflow.com", "https://Stackoverflow.com/users/11333/" ]
115,420
<p>When trying to run the Flex Builder 3 profiler on any I don't get the profiler dialog window and then after a few seconds I get "Socket timeout" in the console window. Any ideas why it can't connect?</p> <p>I've got the latest debug version of Flash player and have tried shutting off my firewall.<br> I'm running i...
[ { "answer_id": 1092530, "author": "Community", "author_id": -1, "author_profile": "https://Stackoverflow.com/users/-1", "pm_score": 0, "selected": false, "text": "Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation:\n file:///C|%2Fwork%2Flabsense%2Fbran...
2008/09/22
[ "https://Stackoverflow.com/questions/115420", "https://Stackoverflow.com", "https://Stackoverflow.com/users/15899/" ]
115,425
<p>Aside from trying</p> <pre><code>perldoc &lt;module name&gt; </code></pre> <p>individually for any CPAN module that takes my fancy or going through the file system and looking at the directories I have no idea what modules we have installed. </p> <p>What's the easiest way to just get a big list of every CPAN modu...
[ { "answer_id": 115439, "author": "Dan", "author_id": 17121, "author_profile": "https://Stackoverflow.com/users/17121", "pm_score": 5, "selected": false, "text": "perldoc perllocal\n" }, { "answer_id": 115564, "author": "amoore", "author_id": 7573, "author_profile": "h...
2008/09/22
[ "https://Stackoverflow.com/questions/115425", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3404/" ]
115,426
<p>I'm looking for an algorithm to detect if two rectangles intersect (one at an arbitrary angle, the other with only vertical/horizontal lines).</p> <p>Testing if a corner of one is in the other ALMOST works. It fails if the rectangles form a cross-like shape.</p> <p>It seems like a good idea to avoid using slopes ...
[ { "answer_id": 115520, "author": "Nils Pipenbrinck", "author_id": 15955, "author_profile": "https://Stackoverflow.com/users/15955", "pm_score": 8, "selected": true, "text": " edge = v(n) - v(n-1)\n rotated.x = -unrotated.y\n rotated.y = unrotated.x\n // rotated: your rotated edge\...
2008/09/22
[ "https://Stackoverflow.com/questions/115426", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20493/" ]
115,428
<p>I am looking to convert a <code>MySQL timestamp</code> to a epoch time in seconds using <code>PHP</code>, and vice versa. </p> <p>What's the cleanest way to do this?</p>
[ { "answer_id": 115510, "author": "Michał Niedźwiedzki", "author_id": 2169, "author_profile": "https://Stackoverflow.com/users/2169", "pm_score": 3, "selected": false, "text": "$unixTimestamp = strtotime($mysqlDate);\n$mysqlDate = date('Y-m-d h:i:s', $unixTimestamp);\n" }, { "answ...
2008/09/22
[ "https://Stackoverflow.com/questions/115428", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
115,431
<p>Suppose I have some XAML like this:</p> <pre><code>&lt;Window.Resources&gt; &lt;v:MyClass x:Key="whatever" Text="foo\nbar" /&gt; &lt;/Window.Resources&gt; </code></pre> <p>Obviously I want a newline character in the MyClass.Text property, but the XAML parser constructs the object with the literal string "foo\nba...
[ { "answer_id": 115543, "author": "deepcode.co.uk", "author_id": 20524, "author_profile": "https://Stackoverflow.com/users/20524", "pm_score": 1, "selected": false, "text": "<v:MyClass x:Key=\"whatever\" Text=\"{MyBinder foo\\nbar}\"/> <v:MyClass x:Key=\"whatever\">\nfoo\nbar\n</v:MyClass...
2008/09/22
[ "https://Stackoverflow.com/questions/115431", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9591/" ]
115,462
<p>I'm having a little bit of a problem scaling my images to a properly predefined size. I was wondering - since it is purely mathematics, if there's some sort of common logical algorithm that works in every language (PHP, ActionScript, Javascript etc.) to scale images proportionally.</p> <p>I'm using this at the mome...
[ { "answer_id": 115492, "author": "Dark Shikari", "author_id": 11206, "author_profile": "https://Stackoverflow.com/users/11206", "pm_score": 7, "selected": true, "text": "ratio = MIN( maxWidth / width, maxHeight/ height );\nwidth = ratio * width;\nheight = ratio * height;\n" }, { ...
2008/09/22
[ "https://Stackoverflow.com/questions/115462", "https://Stackoverflow.com", "https://Stackoverflow.com/users/17362/" ]
115,472
<p>I'm working on a .NET 3.5 website, with three projects under one solution. I'm using jQuery in this project. I'd like to use the Visual Studio JavaScript debugger to step through my JavaScript code. If I set a breakpoint in any of the .js files I get a warning that says:</p> <blockquote> <p>The breakpoint will no...
[ { "answer_id": 466131, "author": "Ian Robinson", "author_id": 326, "author_profile": "https://Stackoverflow.com/users/326", "pm_score": 5, "selected": true, "text": "debugger;" }, { "answer_id": 1278156, "author": "ExceptionRaiser", "author_id": 156528, "author_profil...
2008/09/22
[ "https://Stackoverflow.com/questions/115472", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13800/" ]
115,478
<p>The following code is in the <code>/Courses/Detail</code> action:</p> <pre><code> [AcceptVerbs("GET")] public ActionResult Detail(int id) { ViewData["Title"] = "A View Title"; return View(tmdc.GetCourseById(id)); } </code></pre> <p>The <code>tmdc.GetCourseById(id)</code> method retur...
[ { "answer_id": 466131, "author": "Ian Robinson", "author_id": 326, "author_profile": "https://Stackoverflow.com/users/326", "pm_score": 5, "selected": true, "text": "debugger;" }, { "answer_id": 1278156, "author": "ExceptionRaiser", "author_id": 156528, "author_profil...
2008/09/22
[ "https://Stackoverflow.com/questions/115478", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19251/" ]
115,488
<p>I am having difficulty reliably creating / removing event sources during the installation of my .Net Windows Service.</p> <p>Here is the code from my ProjectInstaller class:</p> <pre><code>// Create Process Installer ServiceProcessInstaller spi = new ServiceProcessInstaller(); spi.Account = ServiceAccount.LocalSys...
[ { "answer_id": 1287334, "author": "helb", "author_id": 157690, "author_profile": "https://Stackoverflow.com/users/157690", "pm_score": 5, "selected": false, "text": "ServiceInstaller EventLogInstaller ServiceProcessInstaller serviceProcessInstaller = new ServiceProcessInstaller();\nservi...
2008/09/22
[ "https://Stackoverflow.com/questions/115488", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13368/" ]
115,496
<p>How to customize the color of the symbol inserted in the "glasses mode" in Emacs? I have not found the option for this. Can anyone suggest anything?</p>
[ { "answer_id": 115940, "author": "Allen", "author_id": 6043, "author_profile": "https://Stackoverflow.com/users/6043", "pm_score": 4, "selected": true, "text": "glasses-face" }, { "answer_id": 115947, "author": "dmckee --- ex-moderator kitten", "author_id": 2509, "aut...
2008/09/22
[ "https://Stackoverflow.com/questions/115496", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20514/" ]
115,500
<p>In Java you can give the number zero as a single parameter for the Socket or DatagramSocket constructor. Java binds that Socket to a free port then. Is it possible to limit the port lookup to a specific range?</p>
[ { "answer_id": 116113, "author": "Jason Cohen", "author_id": 4926, "author_profile": "https://Stackoverflow.com/users/4926", "pm_score": 2, "selected": false, "text": "public static Socket getListeningSocket() {\n for ( int port = MIN_PORT ; port <= MAX_PORT ; port++ )\n {\n ...
2008/09/22
[ "https://Stackoverflow.com/questions/115500", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16515/" ]
115,503
<p>I recently asked a question about Oracle Encryption. Along the way to finding a solution for myself I decided to move the encryption (well, obfuscation) to the application side for certain tasks. </p> <p>My problem is that the database is already encrypting data a certain way and I need Java code to duplicate tha...
[ { "answer_id": 115540, "author": "Mr. Shiny and New 安宇", "author_id": 7867, "author_profile": "https://Stackoverflow.com/users/7867", "pm_score": 3, "selected": true, "text": "KeySpec ks = new DESKeySpec(new byte[] {'s','e','c','r','e','t','!','!'});\nSecretKeyFactory skf = SecretKeyFact...
2008/09/22
[ "https://Stackoverflow.com/questions/115503", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7867/" ]
115,508
<p>I am connecting to a Windows XP machine via Microsoft's Remote Desktop Connection Client, version 2.0.0 Beta 3, running on a Mac. On the Windows machine there is a Java console running, where I want to send a Ctrl-Break so I can see the Java threads running.</p> <p>According to the RDC help, Alt/Option-F3 is break,...
[ { "answer_id": 8670518, "author": "andrew", "author_id": 1121554, "author_profile": "https://Stackoverflow.com/users/1121554", "pm_score": 2, "selected": false, "text": "fn + Esc\n" } ]
2008/09/22
[ "https://Stackoverflow.com/questions/115508", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
115,526
<p>I'm running an c# .net app in an iframe of an asp page on an older site. Accessing the Asp page's session information is somewhat difficult, so I'd like to make my .net app simply verify that it's being called from an approved page, or else immediately halt.</p> <p>Is there a way for a page to find out the url of i...
[ { "answer_id": 115533, "author": "Dan", "author_id": 17121, "author_profile": "https://Stackoverflow.com/users/17121", "pm_score": 5, "selected": true, "text": "top.location.href\n" }, { "answer_id": 116157, "author": "Raleigh Buckner", "author_id": 1153, "author_prof...
2008/09/22
[ "https://Stackoverflow.com/questions/115526", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12382/" ]
115,548
<p>This code in JS gives me a popup saying "i think null is a number", which I find slightly disturbing. What am I missing?</p> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false"> <div class="snippet-code"> <pre class="snippet-code-js lang-js prettyprint-override"><code>i...
[ { "answer_id": 115696, "author": "Glenn Moss", "author_id": 5726, "author_profile": "https://Stackoverflow.com/users/5726", "pm_score": 8, "selected": true, "text": "x x = null isNaN() NaN NaN isNaN(null) == false null NaN isNaN(x) Number(x) NaN Number(x) NaN x NaN x = null null Number(n...
2008/09/22
[ "https://Stackoverflow.com/questions/115548", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2077/" ]
115,557
<p>We are struggling to configure our web app to be able to connect with web services via Spring WS. We have tried to use the example from the documentation of client-side Spring-WS, but we end up with a WebServiceTransportException. The XML config looks like this:</p> <pre><code>&lt;bean id="webServiceTemplate" class...
[ { "answer_id": 150178, "author": "Symbioxys", "author_id": 1841427, "author_profile": "https://Stackoverflow.com/users/1841427", "pm_score": 1, "selected": false, "text": "<constructor-arg value=\"john\"/>\n<constructor-arg value=\"secret\"/>\n <property name=\"userName\" value=\"john\" ...
2008/09/22
[ "https://Stackoverflow.com/questions/115557", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20529/" ]
115,573
<p>I'm sure we all have received the wonderfully vague "Object reference not set to instance of an Object" exception at some time or another. Identifying the object that is the problem is often a tedious task of setting breakpoints and inspecting all members in each statement. </p> <p>Does anyone have any tricks to e...
[ { "answer_id": 115619, "author": "Chris Marasti-Georg", "author_id": 96, "author_profile": "https://Stackoverflow.com/users/96", "pm_score": 1, "selected": false, "text": "ArgumentNullException NullReferenceException ArgumentNullException InvalidStateException" }, { "answer_id": ...
2008/09/22
[ "https://Stackoverflow.com/questions/115573", "https://Stackoverflow.com", "https://Stackoverflow.com/users/16391/" ]
115,643
<p>PowerShell is definitely in the category of dynamic languages, but would it be considered strongly typed? </p>
[ { "answer_id": 115676, "author": "David Mohundro", "author_id": 4570, "author_profile": "https://Stackoverflow.com/users/4570", "pm_score": 3, "selected": false, "text": "[1] » [int]$x = 5\n[2] » $x\n5\n[3] » $x = 'haha'\nCannot convert value \"haha\" to type \"System.Int32\". Error: \"I...
2008/09/22
[ "https://Stackoverflow.com/questions/115643", "https://Stackoverflow.com", "https://Stackoverflow.com/users/3289/" ]
115,658
<p>In my C# application I am using the Microsoft Jet OLEDB data provider to read a CSV file. The connection string looks like this:</p> <pre><code>Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\Data;Extended Properties="text;HDR=Yes;FMT=Delimited </code></pre> <p>I open an ADO.NET OleDbConnection using that connecti...
[ { "answer_id": 116111, "author": "Rory MacLeod", "author_id": 1016, "author_profile": "https://Stackoverflow.com/users/1016", "pm_score": 4, "selected": false, "text": "[Data.csv]\nColNameHeader=True\nCol1=House Text\nCol2=Street Text\nCol3=Town Text\n [Data.csv]\nColNameHeader=true\nMax...
2008/09/22
[ "https://Stackoverflow.com/questions/115658", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1016/" ]
115,665
<p>I'm using the <code>cacheCounter</code> in <code>CakePHP</code>, which increments a counter for related fields.</p> <p>Example, I have a Person table a Source table. Person.source_id maps to a row in the Source table. Each person has one Source, and each Source has none or many Person rows.</p> <p><code>cacheCount...
[ { "answer_id": 123485, "author": "neilcrookes", "author_id": 9968, "author_profile": "https://Stackoverflow.com/users/9968", "pm_score": 0, "selected": false, "text": "echo $form->input('field_to_monitor');\necho $form->hidden('field_to_monitor_prev', array('value'=>$form->value('field_t...
2008/09/22
[ "https://Stackoverflow.com/questions/115665", "https://Stackoverflow.com", "https://Stackoverflow.com/users/43/" ]
115,681
<p>I have to restore a database that has been inadvertently DROPped in MySQL 5.0. From checking the backup files, I only seem to have .FRM files to hold the database data.</p> <p>Can anyone advise whether this is all I need to perform a database restore/import from the backup, or are there other files I should have t...
[ { "answer_id": 11069206, "author": "Ash", "author_id": 23548, "author_profile": "https://Stackoverflow.com/users/23548", "pm_score": 4, "selected": false, "text": "_ib_logfile0\n_ib_logfile1\n_ibdata1\n" } ]
2008/09/22
[ "https://Stackoverflow.com/questions/115681", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7703/" ]
115,685
<p>I once wrote this line in a Java class. This compiled fine in Eclipse but not on the command line. </p> <p>This is on</p> <ul> <li>Eclipse 3.3</li> <li>JDK 1.5</li> <li>Windows XP Professional</li> </ul> <p>Any clues?</p> <p>Error given on the command line is:</p> <pre><code>Icons.java:16: code too large ...
[ { "answer_id": 116184, "author": "Kip", "author_id": 18511, "author_profile": "https://Stackoverflow.com/users/18511", "pm_score": 3, "selected": true, "text": "class MyClass\n{\n private String[] s = { \"a\", \"b\", \"c\"}\n\n public MyClass()\n {\n }\n class MyClass\n{\n private S...
2008/09/22
[ "https://Stackoverflow.com/questions/115685", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9425/" ]
115,692
<p>For example I have such query:</p> <pre><code>Query q = sess.createQuery("from Cat cat"); List cats = q.list(); </code></pre> <p>If I try to make something like this it shows the following warning </p> <pre><code>Type safety: The expression of type List needs unchecked conversion to conform to List&lt;Cat&gt; L...
[ { "answer_id": 115719, "author": "Dave L.", "author_id": 3093, "author_profile": "https://Stackoverflow.com/users/3093", "pm_score": 2, "selected": false, "text": "@SuppressWarnings(\"unchecked\")" }, { "answer_id": 115952, "author": "Joe Dean", "author_id": 5917, "au...
2008/09/22
[ "https://Stackoverflow.com/questions/115692", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20128/" ]
115,694
<p>Anyone know how to turn off code folding in visual studio 2008? Some of my colleagues love it, but I personally always want to see all the code, and never want code folded out of sight. I'd like a setting that means my copy of Visual Studio never folds <code>#regions</code>or function bodies. </p>
[ { "answer_id": 16943723, "author": "xks", "author_id": 1012881, "author_profile": "https://Stackoverflow.com/users/1012881", "pm_score": 0, "selected": false, "text": "\n Private Sub DocumentEvents_DocumentOpened(ByVal Document As EnvDTE.Document) Handles DocumentEvents.DocumentOpened...
2008/09/22
[ "https://Stackoverflow.com/questions/115694", "https://Stackoverflow.com", "https://Stackoverflow.com/users/6722/" ]
115,703
<p>I have some template code that I would prefer to have stored in a CPP file instead of inline in the header. I know this can be done as long as you know which template types will be used. For example:</p> <p><strong>.h file</strong></p> <pre><code>class foo { public: template &lt;typename T&gt; void do(co...
[ { "answer_id": 115792, "author": "Ben Collins", "author_id": 3279, "author_profile": "https://Stackoverflow.com/users/3279", "pm_score": 2, "selected": false, "text": "export" }, { "answer_id": 13952386, "author": "namespace sid", "author_id": 708995, "author_profile"...
2008/09/22
[ "https://Stackoverflow.com/questions/115703", "https://Stackoverflow.com", "https://Stackoverflow.com/users/9236/" ]
115,720
<p>Is there a command in classic ASP I can use to tell the browser not to pull the page from it's cache, or, to not cache, or clear the cache of my page?</p>
[ { "answer_id": 115734, "author": "Espo", "author_id": 2257, "author_profile": "https://Stackoverflow.com/users/2257", "pm_score": 0, "selected": false, "text": "Response.Expires = -1\n" }, { "answer_id": 115756, "author": "Forgotten Semicolon", "author_id": 1960, "aut...
2008/09/22
[ "https://Stackoverflow.com/questions/115720", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5836/" ]
115,764
<p>I have some Python code that creates a Calendar object based on parsed VEvent objects from and iCalendar file.</p> <p>The calendar object just has a method that adds events as they get parsed.</p> <p>Now I want to create a factory function that creates a calendar from a file object, path, or URL.</p> <p>I've been...
[ { "answer_id": 115853, "author": "S.Lott", "author_id": 10661, "author_profile": "https://Stackoverflow.com/users/10661", "pm_score": 4, "selected": false, "text": "from_string from_xml from_JSON from_YAML" }, { "answer_id": 115933, "author": "Thomas Wouters", "author_id"...
2008/09/22
[ "https://Stackoverflow.com/questions/115764", "https://Stackoverflow.com", "https://Stackoverflow.com/users/2900/" ]
115,773
<p>I'm using python and CherryPy to create a simple internal website that about 2 people use. I use the built in webserver with CherryPy.quickstart and never messed with the config files. I recently changed machines so I installed the latest Python and cherrypy and when I run the site I can access it from localhost:808...
[ { "answer_id": 115826, "author": "nosklo", "author_id": 17160, "author_profile": "https://Stackoverflow.com/users/17160", "pm_score": 5, "selected": true, "text": "cherrypy.server.socket_host = 'www.machinename.com'\ncherrypy.engine.start()\ncherrypy.engine.block()\n" }, { "answe...
2008/09/22
[ "https://Stackoverflow.com/questions/115773", "https://Stackoverflow.com", "https://Stackoverflow.com/users/852/" ]
115,809
<p>Many beginning programmers write code like this:</p> <pre><code>sub copy_file ($$) { my $from = shift; my $to = shift; `cp $from $to`; } </code></pre> <p>Is this bad, and why? Should backticks ever be used? If so, how?</p>
[ { "answer_id": 115810, "author": "raldi", "author_id": 7598, "author_profile": "https://Stackoverflow.com/users/7598", "pm_score": 3, "selected": false, "text": "my $cmd = \"./do_something.sh foo bar\";\nmy $output = `$cmd`;\n\nif ($?) {\n die \"Error running [$cmd]\";\n}\n" }, { ...
2008/09/22
[ "https://Stackoverflow.com/questions/115809", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7598/" ]
115,813
<p>I have been trying to produce a statically linked "single binary" version of my game for windows. I want to link with sdl, sdl_image and sdl_mixer which in turn pull in a few support libraries. Unfortunately I haven't found a way to get them all to compile and link using cygwin/mingw/gcc. As far as I can tell all ex...
[ { "answer_id": 525124, "author": "Alex Lyman", "author_id": 5897, "author_profile": "https://Stackoverflow.com/users/5897", "pm_score": 6, "selected": true, "text": "sdl-config --libs sdl-config --static-libs sdl-config --static-libs -Wl,-Bstatic -Wl,-Bdynamic SDLLIBS=`sdl-config --libs`...
2008/09/22
[ "https://Stackoverflow.com/questions/115813", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20555/" ]
115,819
<p>My machine is seriously underpowered, and I think I need to start conserving every spare cycle. I know that my Gnome environment seems to underperform compared to my coworkers' KDE setups. But if I'm going to make that big of a switch, I might as well consider running something even lighter.</p> <p>Is it possible...
[ { "answer_id": 20819825, "author": "gavenkoa", "author_id": 173149, "author_profile": "https://Stackoverflow.com/users/173149", "pm_score": 1, "selected": false, "text": "Xlib ~/.fvwm/config" } ]
2008/09/22
[ "https://Stackoverflow.com/questions/115819", "https://Stackoverflow.com", "https://Stackoverflow.com/users/18103/" ]
115,835
<p>I am looking into an image processing problem for semi-real time detection of certain scenarios. My goal is to have the live video arrive as Motion JPEG frames in my Java code <em>somehow</em>. </p> <p>I am familiar with the <a href="http://java.sun.com/javase/technologies/desktop/media/jmf/" rel="noreferrer">Jav...
[ { "answer_id": 9046373, "author": "gtiwari333", "author_id": 607637, "author_profile": "https://Stackoverflow.com/users/607637", "pm_score": 3, "selected": false, "text": "import com.googlecode.javacv.OpenCVFrameGrabber;\n\nimport com.googlecode.javacv.cpp.opencv_core.IplImage;\nimport s...
2008/09/22
[ "https://Stackoverflow.com/questions/115835", "https://Stackoverflow.com", "https://Stackoverflow.com/users/5812/" ]
115,836
<p>A friend of mine brought up this questiont he other day, he's recently bought a garmin heart rate moniter device which keeps track of his heart rate and allows him to upload his heart rate stats for a day to his computer.</p> <p>The only problem is there are no linux drivers for the garmin USB device, he's managed ...
[ { "answer_id": 115920, "author": "freespace", "author_id": 8297, "author_profile": "https://Stackoverflow.com/users/8297", "pm_score": 0, "selected": false, "text": "strings" }, { "answer_id": 2389469, "author": "TMN", "author_id": 69471, "author_profile": "https://St...
2008/09/22
[ "https://Stackoverflow.com/questions/115836", "https://Stackoverflow.com", "https://Stackoverflow.com/users/20400/" ]
115,844
<p>From <a href="http://pypi.python.org/pypi/PyPubSub/" rel="noreferrer">PyPubSub</a>:</p> <blockquote> <p>Pypubsub provides a simple way for your Python application to decouple its components: parts of your application can publish messages (with or without data) and other parts can subscribe/receive them....
[ { "answer_id": 16918220, "author": "Jabba", "author_id": 232485, "author_profile": "https://Stackoverflow.com/users/232485", "pm_score": 2, "selected": false, "text": "from time import sleep\nimport smokesignal\n\n@smokesignal.on('debug')\ndef verbose(val):\n print \"#\", val\n\n\ndef...
2008/09/22
[ "https://Stackoverflow.com/questions/115844", "https://Stackoverflow.com", "https://Stackoverflow.com/users/8206/" ]
115,850
<p>I'd like to implement a way to display a list of stored addresses sorted by proximity to a given address.</p> <p>Addresses in the list will be stored in a database table. Separate parts have separate fields (we have fields for postal code, city name, etc.) so it is not just a giant <code>varchar</code>. These are...
[ { "answer_id": 115957, "author": "Rahul", "author_id": 16308, "author_profile": "https://Stackoverflow.com/users/16308", "pm_score": 2, "selected": false, "text": "public static double distance(double lat1, double lon1, double lat2, double lon2, char unit)\n{\n double theta = lon1 - lon...
2008/09/22
[ "https://Stackoverflow.com/questions/115850", "https://Stackoverflow.com", "https://Stackoverflow.com/users/7290/" ]
115,862
<p>I'm not sure about what's the difference between opening a JS script with </p> <pre><code>&lt;SCRIPT language='JavaScript'&gt; </code></pre> <p>or with:</p> <pre><code>&lt;SCRIPT type="text/JavaScript"&gt; </code></pre> <p>Should JavaScript always be quoted (either with " " or with ' ') or that's not really impo...
[ { "answer_id": 115871, "author": "Joel Coehoorn", "author_id": 3043, "author_profile": "https://Stackoverflow.com/users/3043", "pm_score": -1, "selected": false, "text": "<script language=\"javascript\" type=\"text/javascript\">\n" }, { "answer_id": 115911, "author": "Quentin...
2008/09/22
[ "https://Stackoverflow.com/questions/115862", "https://Stackoverflow.com", "https://Stackoverflow.com/users/19159/" ]
115,866
<p>Convert mysql timestamp to epoch time in python - is there an easy way to do this?</p>
[ { "answer_id": 115903, "author": "David Singer", "author_id": 4618, "author_profile": "https://Stackoverflow.com/users/4618", "pm_score": 5, "selected": false, "text": "select unix_timestamp(fieldname) from tablename;\n" }, { "answer_id": 118236, "author": "Tony Meyer", "...
2008/09/22
[ "https://Stackoverflow.com/questions/115866", "https://Stackoverflow.com", "https://Stackoverflow.com/users/-1/" ]
115,868
<p>I'd like to know how to grab the Window title of the current active window (i.e. the one that has focus) using C#. </p>
[ { "answer_id": 115891, "author": "ine", "author_id": 4965, "author_profile": "https://Stackoverflow.com/users/4965", "pm_score": 2, "selected": false, "text": "GetForegroundWindow() GetForegroundWindow() hWnd" }, { "answer_id": 115905, "author": "Jorge Ferreira", "author_...
2008/09/22
[ "https://Stackoverflow.com/questions/115868", "https://Stackoverflow.com", "https://Stackoverflow.com/users/1039/" ]
115,873
<p>Our organization has a lot of its essential data in a mainframe Adabas database. We have ODBC access to this data and from C# have queried/updated it successfully using ODBC/Natural "stored procedures".</p> <p>What we'd like to be able to do now is to query a mainframe table from within SQL Server 2005 stored proc...
[ { "answer_id": 366535, "author": "gbn", "author_id": 27535, "author_profile": "https://Stackoverflow.com/users/27535", "pm_score": 2, "selected": false, "text": "SET REMOTE_PROC_TRANSACTIONS OFF sp_serveroption" }, { "answer_id": 2705986, "author": "Registered User", "aut...
2008/09/22
[ "https://Stackoverflow.com/questions/115873", "https://Stackoverflow.com", "https://Stackoverflow.com/users/12260/" ]
115,882
<p>A product that I am working on collects several thousand readings a day and stores them as 64k binary files on a NTFS partition (Windows XP). After a year in production there is over 300000 files in a single directory and the number keeps growing. This has made accessing the parent/ancestor directories from window...
[ { "answer_id": 115946, "author": "mdb", "author_id": 8562, "author_profile": "https://Stackoverflow.com/users/8562", "pm_score": 3, "selected": false, "text": "ABC\\\n DEF\\\n ABCDEFGHI.db\n EFG\\\n ABCEFGHIJ.db\n" }, { "answer_id": 115986, "author": "fina...
2008/09/22
[ "https://Stackoverflow.com/questions/115882", "https://Stackoverflow.com", "https://Stackoverflow.com/users/13054/" ]