compare_oracle / oraclechunk24.json
xPXXX's picture
Upload 10 files
b34f274
Raw
History Blame Contribute Delete
8.35 kB
Invalid JSON:Unexpected non-whitespace character after JSONat line 2, column 1
{"QuestionId": 16809505, "AnswerCount": 3, "Tags": "<tcp><ethernet><labview><pharlap>", "CreationDate": "2013-05-29T08:54:58.847", "AcceptedAnswerId": "16986873", "Title": "Using the second Ethernet Port for TCP on a NI PXI with LABVIEW", "Body": "<p>I'm using a PXI 8109 running Pharlap OS.</p>\n\n<p>I'm trying to use the second ethernet interface of my PXI to send UDP and TCP packets.</p>\n\n<p>Here the configuration of my two ethernet interfaces: </p>\n\n<pre><code>eth0 (primary):\nIP : 10.0.0.3\nsubnet mask : 255.0.0.0\n\n\neth1 :\nIP : 192.168.10.9\nsubnet mask : 255.255.255.0\n</code></pre>\n\n<p>For UDP, I have no problems, packets are sent to the second interface as I want. I think it work because there is a \"net address\" input on the \"UDP Open\" VI so the system can choose the right interface.</p>\n\n<p>For TCP, I use the \"TCP Open connection\" VI but there is no this kind of input. And it is not working : I assume the system is trying to use the primary interface but it can't route packets... </p>\n\n<p>For information, my two networks are physically independant.</p>\n\n<p>Can you help me finding out what's going on ? Is it possible to use TCP on the second ethernet interface ? </p>\n", "Lable": "No"}
{"QuestionId": 16825850, "AnswerCount": 2, "Tags": "<python><python-2.7><statsmodels>", "CreationDate": "2013-05-30T00:01:00.030", "AcceptedAnswerId": "16826170", "Title": "Python 2.7- statsmodels - result.conf_int()", "Body": "<p>This post is an addition to the post found here: <a href=\"https://stackoverflow.com/questions/16705598/python-2-7-statsmodels-formatting-and-writing-summary-output\">Python 2.7 - statsmodels - formatting and writing summary output</a></p>\n\n<p>I got everything formatted how I need, except the confidence interval is giving me problems.</p>\n\n<p>I have tried a number of different things including:</p>\n\n<pre><code>low, high = result.conf_int()\n</code></pre>\n\n<p>Which, when printed, returns:</p>\n\n<pre><code> low\n Out[260]: 0\n\n high\n Out[261]: 1\n</code></pre>\n\n<p>Similarly, I've tried:</p>\n\n<pre><code>low, up = result.conf_int().T\n</code></pre>\n\n<p>But get the error:</p>\n\n<pre><code> ValueError: too many values to unpack\n</code></pre>\n\n<p>Same thing when I try:</p>\n\n<pre><code>for item in result.conf_int().T:\n low, high = item\n print low\n print high\n\nValueError: too many values to unpack\n</code></pre>\n\n<p>I also tried looking it up both <a href=\"http://statsmodels.sourceforge.net/devel/generated/statsmodels.tsa.ar_model.ARResults.conf_int.html\" rel=\"nofollow noreferrer\">here</a> (I have 0.4.3 and couldn't find a page for this version) and <a href=\"http://statsmodels.sourceforge.net/stable/generated/statsmodels.regression.linear_model.RegressionResults.html\" rel=\"nofollow noreferrer\">here</a>. Neither were helpful in solving this problem.</p>\n", "Lable": "No"}
{"QuestionId": 16859010, "AnswerCount": 0, "Tags": "<c#><asp.net><class><linq-to-sql><methods>", "CreationDate": "2013-05-31T13:55:52.497", "AcceptedAnswerId": null, "Title": "Global method in ASP.NET for an SELECT query", "Body": "<p>I am beginner to .NET, and I am in need of creating a global method in ASP.NET so that I am able to pass a table name to it for an insert operation. I have been using Linq2SQL.</p>\n\n<p>Here is what I have done so far, I have created a folder App_Code and I have added a class file in it. This is the code I have written:</p>\n\n<pre><code>public class Gclass \n{\n public Gclass (DataContext db)\n{\n using (DataContext dbtable = new DataContext())\n {\n var _Depart = (from depart in dbtable.db select depart);\n } \n } \n}\n</code></pre>\n\n<p>Now, in my aspx page I will call the method <code>class1</code> and pass the table name in the <code>db</code> parameter, then I will have to return <code>_Depart</code>.</p>\n\n<p>I know a stored procedure is a possible way to do this, and I have used EXECUTE SQL, but I need to do this here instead.</p>\n", "Lable": "No"}
{"QuestionId": 17056684, "AnswerCount": 1, "Tags": "<php><magento>", "CreationDate": "2013-06-12T02:15:32.123", "AcceptedAnswerId": "17056900", "Title": "Changing database config for Magento environments", "Body": "<p>Hey I'm trying to launch Magento on EngineYard. Everything works fine except I'm trying to find a way to determine which environment you are currently in and setting dynamic database config for it.</p>\n\n<p>Basically something like this:</p>\n\n<pre><code>if($_SERVER['PHP_ENV' == 'development'){\n // Use a different database config \n}\n</code></pre>\n\n<p>This is pretty trivial in other frameworks like Cakephp, Yii, etc but I couldn't find anything specific on how to do this for Magento.</p>\n\n<p>Can anyone point me in the right direction for to get this working? Just trying to save from having to switch the db connection variables back and forth.</p>\n", "Lable": "No"}
{"QuestionId": 17098805, "AnswerCount": 3, "Tags": "<javascript><object><this><literals>", "CreationDate": "2013-06-13T23:19:35.160", "AcceptedAnswerId": "17098822", "Title": "javascript object literal - nested functions and the \"this\" keyword", "Body": "<p>In the example below, when <code>functionA()</code> is invoked, the <code>this</code> keyword refers to the containing object, so I can access its properties (e.g. <code>theValue</code>)</p>\n\n<p><strong>My question:</strong> How do I refer to properties of <code>myObj</code> from within the <em>nested</em> <code>functionB()</code>?</p>\n\n<pre><code>var myObj = {\n theValue: \"The rain in Spain\", \n functionA: function() {\n alert(this.theValue);\n },\n moreFunctions: {\n functionB: function() {\n alert(????.theValue);\n }\n }\n}\n\nmyObj.functionA(); \nmyObj.moreFunctions.functionB(); \n</code></pre>\n\n<p>Thanks in advance.</p>\n", "Lable": "No"}
{"QuestionId": 17180013, "AnswerCount": 0, "Tags": "<python><gtk><gtk3><pygobject>", "CreationDate": "2013-06-18T22:21:49.473", "AcceptedAnswerId": null, "Title": "Custom Python GTK+3 CellRenderer for TextBuffer", "Body": "<p>I'm trying to write a custom Python GTK+3 CellRenderer that extends CellRendererText to display the contents of a TextBuffer stored within a ListStore, but can't wrap my head around how to extend the CellRendererText class to do this. Ideally, it'd look something like this:</p>\n\n<pre><code>liststore = Gtk.ListStore(object)\ntextbuffer= Gtk.TextBuffer()\nliststore.append([textbuffer])\n\nrenderer_text_buffer = CellRendererTextBuffer()\ncolumn_text = Gtk.TreeViewColumn(\"Text\", renderer_text_buffer, text=0)\n\ntreeview = Gtk.TreeView(model=liststore)\ntreeview.append_column(column_text)\n</code></pre>\n\n<p>So essentially would be a very simple TextView inside a TreeView cell. Not worried about any of the rich text features of TextView at the moment, I just want to be able to grab the plain text out of a buffer stored in a ListStore and display it in a TreeView.</p>\n\n<p>Any help would be greatly appreciated. Thanks</p>\n", "Lable": "No"}
{"QuestionId": 17204826, "AnswerCount": 6, "Tags": "<ruby-on-rails><ruby-on-rails-3><redis><ubuntu-10.04><sidekiq>", "CreationDate": "2013-06-20T03:34:03.570", "AcceptedAnswerId": "17220726", "Title": "Sidekiq jobs stuck in enqueue", "Body": "<p>Sidekiq has been working in development mode just perfectly. Now that I am trying to use it in production, all the jobs are just sitting in enqueue and aren't ever being run. Could anyone point me in the right direction as to how to solve this issue?</p>\n", "Lable": "No"}
{"QuestionId": 17242645, "AnswerCount": 1, "Tags": "<windows><command-line><xcopy>", "CreationDate": "2013-06-21T19:10:49.777", "AcceptedAnswerId": "17242910", "Title": "How do you find the last modified folder in a directory with command prompt?", "Body": "<p>In the end, I want to copy the last modified folder in a directory. In order to do this, I need to pass in the name of the last modified folder to xcopy.</p>\n\n<p>How do you find the last modified folder, not file, in a directory with command prompt? I have found many scripts that will find the last modified file, but I cannot seem to find a command that will find the last modified folder.</p>\n\n<p>Any help would be appreciated.</p>\n", "Lable": "No"}