title
stringlengths
13
150
body
stringlengths
749
64.2k
label
int64
0
3
token_count
int64
1.02k
28.5k
urllib2.HTTPError: HTTP Error 403: SSL is required , even with pip upgraded and --index option used
<p>I've already read <a href="https://stackoverflow.com/questions/46962577/cannot-install-distribute-pypi-python-org-rejecting-http">Cannot install distribute: pypi.python.org rejecting http</a> and <a href="https://stackoverflow.com/questions/46967488/getting-error-403-while-installing-package-with-pip">Getting error ...
0
1,065
Why is The navigation property '' declared on type '' has been configured with conflicting multiplicities. error show up?
<p>I have an <code>Asp_Users</code> table and a <code>Resource</code> tables. In the Entity Framework world, I have a <code>Asp_Users</code> POCO and a <code>Resource</code> POCO. Moreover, the <code>Resource</code> POCO is abstract and is part of a Table-per-Hierarchy model. The Table-per-Hierarchy model has the abstr...
0
1,792
why JPA can save my entity but It can't delete the entity?
<p>In my JSF2-JPA2-Spring3 project, I can insert new entities but can't remove entities. This is the error message: java.lang.IllegalArgumentException: Removing a detached instance entity.Entity#8</p> <p>This is my persistence.xml:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8" ?&gt; </code></pre> <p>http://...
0
1,315
Doctrine2 Update Caused AnnotationRegistry registerLoader Error in Zend Framework 3
<p>I'm working on a CMS based on Zend Framework 3.0 to manage a DB I with Doctrine. What is my problem when managing packages with composer? Recently, I updated all the packages to newest versions and sent it to server, nothing was changed in other files. After the update my site displayed the following error:</p> <bl...
0
1,915
Show Message Box if TextBox is Blank or Empty using C#
<p>I am trying to check first if users don not enter either User ID or Password, if either text box is blank or empty then I want to show message box, if they enter both user id and password then I want to execute some other codes. The problem I am having with the code is that the message does not show at all but the...
0
1,037
Codeigniter pass value from controller to view with ajax request
<p>I new in CI and want to pass json encode value to view for further processing, please see below,</p> <p>Jquery post:</p> <pre><code>$('#btn_reset_password').click(function(){ var parameters = $('#reset_password_form').serialize(); //alert(parameters); $.ajax({ url: baseurl + 'site/check_email_e...
0
1,233
Tomcat v9.0 Server at localhost failed to start in Eclipse
<p>I have a problem with Tomcat, it stopped working. I installed Tomcat 3 weeks ago and I have made more than 50 web dynamic projects, maven projects and everythings worked great. And today Tomcat stopped working. For example I make a project in Eclipse and when I try to run it I get this error: Server Tomcat v9.0 Serv...
0
4,312
Why is 0dp considered a performance enhancement?
<p>An <strong>answer</strong> at the end of this question has been filled out, combining remarks and solutions.</p> <h2>Question</h2> <p>I searched around but haven't found anything that really explains why <em>Android Lint</em> as well as some <em>Eclipse</em> hints suggest replacing some <code>layout_height</code> ...
0
2,276
In-Place Radix Sort
<p>This is a long text. Please bear with me. Boiled down, the question is: <strong>Is there a workable in-place radix sort algorithm</strong>?</p> <hr> <h2>Preliminary</h2> <p>I've got a huge number of <em>small fixed-length</em> strings that only use the letters “A”, “C”, “G” and “T” (yes, you've guessed it: <a hre...
0
1,205
Object reference not set to an instance of an object in Html.Partial MVC when load data
<p>I have _layout.cshtml page in mvc project that call partial view with this code</p> <blockquote> <p>@Html.Partial("_MenuForAdmin")</p> </blockquote> <p><strong>The code for MenuModel</strong> :</p> <pre><code>using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Compo...
0
2,720
How to structure JSON and build HTML via jQuery
<p>Beginner here trying to figure out best way to structure some JSON and output the below nested &lt;ul&gt;</p> <p>Each of the bolded items below are the values in the JSON. How might I structure the JSON and then how to build the DOM structure with jQuery? Any help greatly appreciated.</p> <p><code><pre>&lt;ul&gt; ...
0
1,218
Bootstrap datepicker expands up but not down
<p>I am using bootstrap. When I click my <code>date picker</code> it expands up and goes under my navigation bar. How do I fix it? - I would like it to be expanded into visible page area. </p> <p><img src="https://i.stack.imgur.com/0m5Gt.png" alt="enter image description here"></p> <p>This is my html/css:</p> <pre><...
0
2,804
IIS7.5 Gives 500 Internal Server Error when trying to use DELETE verb
<p>I am trying to issue a <code>DELETE</code> to an IIS7.5 resource:</p> <pre><code>DELETE http://198.252.206.16:48251/Test/foo.ashx HTTP/1.1 Accept: */* Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/7.0; SLCC2; .NET CLR 2.0.50727; ....
0
3,039
HTTP Status 404 Servlet-The requested resource is not available
<p>I am making one simple program to take few fields as input and then after clicking on confirm button confirm.jsp will appear. </p> <p>I have created Controller.java servlet to identify the button clicked and then open the jsp. Controller.java is stored in directory WEB-INF/classes/ch2/servletController and submit....
0
3,478
Laravel 5.4 Class 'form' not found
<p>I'm facing problem <strong>'Class 'form' not found'</strong> I'm currently using laravel 5.4. I already have tried maximum efforts to solve.</p> <p>Thanks</p> <blockquote> <p>Error is : Whoops, looks like something went wrong.</p> </blockquote> <p>1/1</p> <blockquote> <p>FatalErrorException in d0b19e04e5a1f...
0
2,396
Fast and responsive interactive charts/graphs: SVG, Canvas, other?
<p>I am trying to choose the right technology to use for updating a project that basically renders thousands of points in a zoomable, pannable graph. The current implementation, using Protovis, is underperformant. Check it out here:</p> <p><a href="http://www.planethunters.org/classify" rel="noreferrer">http://www.pla...
0
1,128
flutter: ListTile how to adapt leading margins and title/subtitle style?
<p>I am building a form made up various Widgets and I would like to align them all.</p> <p>In the following example, I am using a TextFormField, a ListTile among others.</p> <p>The problem is related to the alignment of both TextFormField > decoration > icon and the ListTile > leading.</p> <p>As you can see the List...
0
1,662
Client network socket disconnected before secure TLS connection was established Node.js v13.0.1
<p>When id add exports.create=functions.https.onRequest((req,res)=> and run command firebase deploy shows this result</p> <pre><code>functions: Finished running predeploy script. i functions: ensuring necessary APIs are enabled... + functions: all necessary APIs are enabled i functions: preparing functions director...
0
2,331
show data from database to listView Android
<p>I am trying to show all my data from my database into the listview</p> <p>Code to create database:</p> <p>DataHander.java</p> <pre><code>package com.example.testingforstack; import android.content.ContentValues; import android.content.Context; import android.database.Cursor; import android.database.SQLException;...
0
2,579
Gtest: test compiling error
<p>I'm trying to test a motor control lib I've wrote with googletest but I'm not been to compile the test's codes. The test are in a file named test.cpp such as the following:</p> <pre><code>#include &lt;gtest/gtest.h&gt; #include "../motor.hpp" TEST(constructorTest, contructorDefault) { } </code></pre> <p>And I've ...
0
1,648
entitymanager persist does not save to database
<p>I'm currently facing a problem when trying to save to my database using the persist method from an entitymanager. When executing it, it does not produce an exception but it doesn't save the object to my database. Reading objects that were inserted manually does work. </p> <p><strong>GenericDAOImpl</strong></p> <pr...
0
6,424
Custom Events in Xamarin Page c#
<p>I currently am facing the following issue:</p> <p>I am trying to fire an event when a user entered valid credentials so that I can switch page and so on.</p> <p>The Issue is I am unable to hook into the event for some reason (altho I'm pretty sure it will be something stupid).</p> <p>The Class firing the event:</...
0
1,147
Using RVM on Ubuntu 12.04 to use Rails. The program 'rails' is currently not installed
<p>I installed RVM from scratch following the installation guide on the official website. I installed Rails, created a dummy app and everything worked fine.</p> <p>I shut off my machine.</p> <p>The next morning, I turned on the machine again (cold boot) and the tried running "<code>rails -v</code>" from the console, ...
0
1,077
How to debug EXC_BAD_ACCESS that occurs only on release target for an iPhone app?
<p>I'm developing an iPhone application. I have an <code>EXC_BAD_ACCESS</code> that occurs only in the release target; when I build the debug target the exception does not occur. However, when I set the <code>NSZombieEnabled</code> environment variable to <code>YES</code>, I still get the <code>EXC_BAD_ACCESS</code> wi...
0
3,600
Mockito verify unit test - Wanted but not invoked. Actually, there were zero interactions with this mock
<p>At first I want to sorry for my english.</p> <p>I started to make some unit tests (i've never done this before, i'm a new guy in programming). </p> <p>I have to test simple adding product to database (DynamoDB) method using mockito.verify but I have </p> <pre><code>"Wanted but not invoked. Actually, there were ze...
0
1,090
OpenCV's calcOpticalFlowPyrLK throws exception
<p>I have been trying to form a small optical flow example with OpenCV for a while now. Everything works except the function call calcOpticalFlowPyrLK, which prints the following failed assertion in the console window:</p> <blockquote> <p>OpenCV Error: Assertion failed (mytype == typ0 || (CV_MAT_CN(mytype) == CV_MA...
0
1,318
Spring WebClient - how to access response body in case of HTTP errors (4xx, 5xx)?
<p>I want to re-throw my exception from my "Database" REST API to my "Backend" REST API but I lose the original exception's message.</p> <p>This is what i get from my "Database" REST API via Postman:</p> <pre><code>{ "timestamp": "2020-03-18T15:19:14.273+0000", "status": 400, "error": "Bad Request", "...
0
1,094
Eclipse Git (EGit) unable to clone Git repository
<p>Basically, I can't find a workable URI for the EGit Clone Git Repository dialog.</p> <p><img src="https://i.stack.imgur.com/r7HSD.png" alt="One attempt"></p> <p>Using protocol git, just as from my command-line clone operation, I've tried various URIs with unsatisfactory results. Sometimes, I can't click the Next b...
0
1,044
Unable to open asset URL: file:///android_asset/www/cordova_plugins.json error android
<p>i am trying to create an android application using cordova. i followed the steps given in the documentation creating an android application using cordova but when i build, i get the following error:</p> <pre><code>Unable to open asset URL: file:///android_asset/www/cordova_plugins.json </code></pre> <p>my config.x...
0
1,768
Error consuming webservice, content type "application/xop+xml" does not match expected type "text/xml"
<p>I'm having a weird issue when consuming a webservice for a product that my company has bought. The product is called Campaign Commander and it's made by a company called Email Vision. We're trying to use the "Data Mass Update SOAP API".</p> <p>Whenever I try to call any of the methods on the webservice, the call ...
0
1,384
Caching URL view/state with parameters
<p>I'm making a mobile app using Cordova and AngularJS. Currently I have installed ui-router for routing but I'm open to any other alternative for routing.</p> <p>My desire: I want to cache certain views bound with parameters. In other words I want to cache paths (or pages).</p> <p>Example situation: let's say that w...
0
1,191
Making ArrayList of custom objects parcelable
<p>I have two classes which create Objects I need to pass through intents, I am currently attempting to implement Parcelable to do this.</p> <pre><code>import android.os.Parcel; import android.os.Parcelable; public class Item implements Parcelable { private String name; private double price; private int ...
0
1,228
parse xml with jquery ajax request
<p>I have this xml document:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;root&gt; &lt;chapter&gt; &lt;lesson&gt;message 1&lt;/lesson&gt; &lt;lesson&gt;message 2&lt;/lesson&gt; &lt;lesson&gt;message 3&lt;/lesson&gt; &lt;lesson&gt;message 4&lt;/lesson&gt; &lt;lesson&gt;message 5&lt;/lesson&gt; &lt;l...
0
1,398
Argument is of length zero in if statement
<p>I am having a little problem with R and I am not sure why. It is telling me that this line: <code>if(temp &gt; data[[k]][[k2]]) {</code> is of argument length 0. Here is the block which is not that big:</p> <pre><code>for(k in 1:length(data)) { temp &lt;- 0 for(k2 in 3:length(data[[k]])) { pr...
0
1,371
Visual Studio 2015 RTM Cordova project won't debug/deploy to Android, Windows, Windows Phone
<p>I've got a feeling I upgraded to Visual Studio 2015 RTM too early. Visual Studio Emulator for Android would no longer launch, claiming that the pre-release version had expired.</p> <p>I ran the RTM installer, allowing it to replace Release Candidate components as needed. The process ran smoothly, but now after up...
0
6,511
Using Java to extract data from google Weather API
<p>Edit: 2020 update -- Please disregard the question below as Google's weather API is no longer able to be used. If you are interested in using a weather API, Darksky is the defacto that most people use: <a href="https://darksky.net/dev" rel="nofollow noreferrer">https://darksky.net/dev</a></p> <p>If you use Java, t...
0
1,519
Send data from TableView to DetailView Swift
<p>I'm trying to do maybe one of the simplest and more confusing things for me until now I wanna develop my own App , and in order to do it I need to be able to passing some information depending of which row user click (it's Swift lenguage)</p> <p>We have a RootViewController(table view) and a DetailViewController (w...
0
1,104
Is the max value of size_t (SIZE_MAX) defined relative to the other integer types?
<p>I'm writing a library of functions that will safely convert between various numeric types or die trying. My intent is roughly equal parts create-useful-library and learn-C-edge-cases.</p> <p>My <code>int</code>-to-<code>size_t</code> function is triggering a GCC <code>-Wtype-limits</code> warning that claims I shou...
0
2,115
Write records into text file from database using java
<p>I want to store database records to text file. for that I used the ResultSet, I have selected the whole table using sql select query and store the data in the ArrayList. But this code doesn't work properly. my database name is test and table is employee. what should I do? this is what I have tried.</p> <pre><code>i...
0
1,051
m2eclipse will not download any dependencies
<p>I was hoping someone might be able to help. </p> <p>On a brand new windows machine. I've downloaded and installed java jdk before downloading and running the latest version of eclipse (indigo). </p> <p>From there I have installed the maven integration plugin from the marketplace and created a new maven projected. ...
0
1,055
Android ImageAdapter with Gridview in Fragment
<p>I have an adapter with gridview that works as an Activity. I am trying to place it in a Fragment now and converted things but it does not work. When I include the IconFragmentSystem in my Activity I get a force close when I try to open the Activity. </p> <p>I know the Activity works because I can use other Fragment...
0
1,835
getHeight returns 0 for all Android UI objects
<p>I'm building a UI, and it's all static defined in the XML. All of it has weights all over the place, and while it looks right, I wanted to see that things actually have the right height and all. The problem is that no matter where I call .getHeight() for my format layout I got 0. I tried in both onCreate() and onSta...
0
3,476
using tor as a SOCKS5 proxy with python urllib2 or mechanize
<p>My goal is to use python's mechanize with a tor SOCKS proxy.</p> <p>I am not using a GUI with the following Ubuntu version: Description: Ubuntu 12.04.1 LTS Release: 12.04 Codename: precise</p> <p>Tor is installed and is listening on port 9050 according to the nmap scan:</p> <pre><c...
0
1,267
Loading Youtube video through iframe in Android webview
<p>I want to load youtube video to Android webview using iframe</p> <p>here is my layout Xml</p> <pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:backgr...
0
1,170
Automatically map an Excel XmlMap to a worksheet in VBA without knowing the schema XPaths
<p>I am building an Excel file that downloads from an API.</p> <p>It can automatically generate the XmlMap from the URL schema metadata. However I then need to map the XmlMap elements to ListObjects in order to pull the data and put on a worksheet.</p> <p>The code to do this is <code>range.Xpath.SetValue map xPath</c...
0
2,099
Twitter Bootstrap and jQuery Validation Plugin - use class="control-group error"
<p>I've created a form using the Twitter Bootstrap framework and have integrated the jQuery Validation Plugin. I have one form with a series of yes/no questions with radio buttons that I validate to ensure each question is not empty - this is working well.</p> <p>I would like to leverage the Bootstrap class="control-...
0
1,200
cpp - valgrind - Invalid read of size 8
<p>I'm getting mad understanding that valgrind error. I've got a template class called Matrix that has some overloaded operators etc... to do some mathematical operations. Matrixes are used inside a class called ExtendedKalmanFilter. </p> <p>Here is the valgrind trace:</p> <pre><code>==3352== Invalid read of size 8 =...
0
4,818
Spring IllegalStateException: A JTA EntityManager cannot use getTransaction()
<p>So after a big refactoring project, I am left with this exception and am unsure as how to correct it. It's dealing with some code that I did not write and I am unfamiliar with how it all works. There are other questions out there dealing with this exception, but none seem to fit my situation.</p> <p>The class which...
0
2,185
Settings fragment crash on click android studio
<p>I used the template "Settings Activity" in android studio, I created my own settings Fragment, added the code to the Java file.</p> <pre><code>@TargetApi(Build.VERSION_CODES.HONEYCOMB) public static class LocationServicesPreferenceFragment extends PreferenceFragment{ @Override public void onCreate(Bundle sa...
0
9,953
Java code for dealing cards from a deck
<p>I am trying to write a method to remove the specified number of cards from the top of the deck and return them as an array.</p> <p>This is what i have done so far. A method to create the deck, copy the deck, a method to return the card that is at the specified position in the array, a method to returns the size of ...
0
2,243
Django REST: Uploading and serializing multiple images
<p>I have 2 models <code>Task</code> and <code>TaskImage</code> which is a collection of images belonging to <code>Task</code> object.</p> <p>What I want is to be able to add multiple images to my <code>Task</code> object, but I can only do it using 2 models. Currently, when I add images, it doesn't let me upload them...
0
1,745
How come I can't migrate in laravel
<p>Migration files in laravel is used to create the tables in the database, right? But when ever I try to migrate it gives me this error:</p> <blockquote> <p>C:\xampp\htdocs\app>php artisan migrate</p> <p>[Illuminate\Database\QueryException] SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'us...
0
1,814
How can I list all my Amazon EC2 instances using Node.js in AWS Lambda?
<p>I'm on AWS and using <a href="https://aws.amazon.com/sdk-for-node-js/" rel="noreferrer">AWS SDK for JavaScript in Node.js</a>. I'm trying to build an AWS Lambda function and inside I want to get a list of all my Amazon EC2 instances, but I just can't seem to get it working. Can anyone spot what I'm doing wrong?</p> ...
0
1,115
Getting error "Get http://localhost:9443/metrics: dial tcp 127.0.0.1:9443: connect: connection refused"
<p>I'm trying to configure Prometheus and Grafana with my Hyperledger fabric v1.4 network to analyze the peer and chaincode mertics. I've mapped peer container's port <code>9443</code> to my host machine's port <code>9443</code> after following this <a href="https://hyperledger-fabric.readthedocs.io/en/latest/operation...
0
1,055
Why is subprocess.run output different from shell output of same command?
<p>I am using <code>subprocess.run()</code> for some automated testing. Mostly to automate doing:</p> <pre><code>dummy.exe &lt; file.txt &gt; foo.txt diff file.txt foo.txt </code></pre> <p>If you execute the above redirection in a shell, the two files are always identical. But whenever <code>file.txt</code> is too lo...
0
1,331
NPM install express. Error: No compatible version found
<p>My OS is Ubuntu 13.04, 32 bit.</p> <p>I am trying to install express with this command:</p> <pre><code>$ npm install express </code></pre> <p>And this is the error I get:</p> <pre><code>npm http GET https://registry.npmjs.org/express npm http GET https://registry.npmjs.org/express npm http 304 https://registry.n...
0
1,465
Android Studio: Try-catch exception crashes application
<p>I was testing some vulnerabilities inside of my code and trying to fix them by throwing an exception when the user has an invalid input. Now when I implement a try-catch and run the application on my phone, it crashes when I put in that invalid input. </p> <p>I assume my code doesn't catch the exception from the ad...
0
2,755
Bank Account Program: Rejecting Deposit or Withdrawal
<p>I have been working on making a program to simulate bank transactions. I have to ask the user if they want to deposit, withdrawal, or transfer. Right now I am working on the deposit and withdrawal options of the account.</p> <p>When the user selects a transaction (for example deposit) and enters a number, I made i...
0
4,006
How to fix 'failed to find any PEM data in key input' error?
<p>I'm setting up Traefik with provided certificates for HTTPS using docker Swarm and it doesn't load them failing with <code>failed to find any PEM data in key input</code></p> <p>I've tried to set it up with relative and absolute paths (see <a href="https://github.com/containous/traefik/issues/2001" rel="noreferrer"...
0
3,189
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Too many connections
<p>My simple web-app sometimes crashes when navigating around the site, the error message I've gotten from the logs are found below. I have absolutely no idea of what is causing this and would be very thankful for any tips that'll lead me in the right direction.</p> <pre><code>HTTP Status 500 - org.hibernate.exception...
0
3,035
CSS Drop Down Menu Not working
<p>i'm learning the basic of CSS and trying to create a dropdown menu, i tried creating a dropdown menu using plain CSS, but it's not working.</p> <p>So far I tried this code:</p> <p><strong>CSS</strong></p> <pre><code>&lt;!-- because of the * default code it takes out all margin and padding or idententation --&gt; ...
0
1,215
Ionic Uncaught (in promise): invalid link
<p>I have probably a problem with <code>this.nav.push</code> in Ionic. I have done a login/registration page but when I login, I get this error message. I have to add some code in login.ts and e.g home.ts (which is the main page) ?</p> <blockquote> <p>Runtime Error <br> Uncaught (in promise): invalid link: HomePag...
0
1,620
Convert to UNICODE in C#
<pre><code>public string DecodeFromUtf8(string utf8String) { // copy the string as UTF-8 bytes. byte[] utf8Bytes = new byte[utf8String.Length]; for (int i = 0; i &lt; utf8String.Length; ++i) { //Debug.Assert( 0 &lt;= utf8String[i] &amp;&amp; utf8String[i] &lt;= 255, //"the char must b...
0
2,155
Fill histograms (array reduction) in parallel with OpenMP without using a critical section
<p>I would like to fill histograms in parallel using OpenMP. I have come up with two different methods of doing this with OpenMP in C/C++. </p> <p>The first method <code>proccess_data_v1</code> makes a private histogram variable <code>hist_private</code> for each thread, fills them in prallel, and then sums the priv...
0
1,607
No MaterialLocalizations found - MyApp widgets require MaterialLocalizations to be provided by a Localizations widget ancestor
<p>I was just trying to create an app with button which shows an alert message when the button is pressed. </p> <p>But it gives me this error(Mentioned below).</p> <p>I wrote this code by taking reference of <a href="https://www.youtube.com/watch?v=h2U7S-3_rPc&amp;list=PLlxmoA0rQ-Lw6tAs2fGFuXGP13-dWdKsB&amp;index=13"...
0
2,216
XStream fromXML() exception
<p>I am trying to deserialize a string in Java using the XStream package. The XStream package can serialize my class fine. I get the XML (cannot change format of XML) from a server and try to save its node information to the corresponding variables in a certain class. My function is at the bottom and I tried to registe...
0
1,061
Getting error while creating rest service using apache camel
<p>Since i am prety much new to Apache camel and especially Rest DSL, I thought of trying a sample of Rest DSL.</p> <p>So i created a camel-config.xml as:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/200...
0
4,105
Create breadcrumbs dynamically on client side using javascript
<p>I want to create <strong>breadcrumbs dynamically on client side using java script</strong>. The breadcrumbs will be the <strong>path followed by user</strong> while navigation as: <strong>Home > about us > our history..</strong></p> <p>The anchor tags will be generated on each page in the sequence in which the user...
0
1,129
React rendering variable with html characters escaped
<p>I am learning React and have run into the following situation:</p> <p>I have a string variable that I am passing as a prop to different components to be rendered by JSX.</p> <p>When the component and its sub-components are rendered, the string does not render html special characters, instead rendering the characte...
0
1,618
Javascript: How to update a progress bar in a 'for' loop
<p>I am have an issue with a JS script I am trying to put together. I have an HTML table with somewhere in the neighborhood of 300 rows in it. I have made a sort function that will make the table headers clickable and launch my sort function. I would like to integrate a progress bar because in larger tables (500 - 10...
0
6,790
Getting 'Consent Required' error despite successful permission grant using Oauth URL
<p>I am using the example from <a href="https://github.com/docusign/docusign-python-client" rel="nofollow noreferrer">https://github.com/docusign/docusign-python-client</a> (docusign python SDK). Despite granting access by logging in using the URL given by oauth_login_url below, the subsequent "api_client.configure_jwt...
0
1,230
Using BottomSheetBehavior with a inner CoordinatorLayout
<p>The design support library <code>v. 23.2</code> introduced <code>BottomSheetBehavior</code>, which allows childs of a coordinator to act as bottom sheets (views draggable from the bottom of the screen).</p> <p>What I’d like to do is to have, <strong>as a bottom sheet view</strong>, the following view (the typical c...
0
1,424
CSS Multiple Animations on single element, no javascript
<p>I am trying to create an image slideshow using only CSS and no Javascript.</p> <p>I have an ALMOST working example here: <a href="http://codepen.io/k/pen/Dkhei" rel="noreferrer">http://codepen.io/k/pen/Dkhei</a> . The problem is that the animation for the 'Previous' functionality won't pause when I stop hovering ov...
0
1,541
URL of a Jersey Application using ResourceConfig without web.xml
<p>I migrated from web.xml to totally Java configuration using ResourceConfig with Jersey 2.7 and deploying on Tomcat 7. After that I am not able to reach the services anymore by using the same urls that I was using with the web.xml approach. I don't understand how the ResourceConfig is affecting the paths.</p> <p>My ...
0
1,313
Select2 with Twitter Bootstrap 3 / Dropdown wrong width
<p>I want to use select2.js in combination with twitter bootstrap 3. Everything works fine so far, except the fact, that the Drop-Down container has not the same width as the select container itself.</p> <p>By resizing the window this phenomen appears and disappears.</p> <p>Here is a picture that shows the issue <img...
0
1,047
crystal report Unable to connect: incorrect log on parameters
<p>Hi friend I've created a crystal report with parameter,its running successfully in while executing in source code but it does not load in while i config after IIS its shows the error like unable to connect log on parameters. Please check my code and correct me.</p> <p>hi frinds if i comment the oStream = (MemorySt...
0
1,401
POST to WCF from Fiddler succeeds but passes null values
<p>I've followed <a href="http://channel9.msdn.com/shows/Endpoint/Endpoint-Screencasts-Hosting-WCF-Services-in-IIS/" rel="nofollow noreferrer">this video series on WCF</a> and have the demo working. It involves building a WCF service that manages student evaluation forms, and implements CRUD operations to operate on a...
0
1,176
Why does the Contains() operator degrade Entity Framework's performance so dramatically?
<p>UPDATE 3: According to <a href="http://blogs.msdn.com/b/adonet/archive/2012/12/10/ef6-alpha-2-available-on-nuget.aspx" rel="noreferrer">this announcement</a>, this has been addressed by the EF team in EF6 alpha 2.</p> <p>UPDATE 2: I've created a suggestion to fix this problem. To vote for it, <a href="http://data.u...
0
1,076
GStreamer installation is missing a plug-in
<p>I hope that someone can help with this problem, been searching for a solution for the past 2 days.</p> <p>To describe the problem in short: I'm trying to make a simple qt5.7 application that will stream an m3u8 (using Qt Creator (community). But when I try to run it I get a </p> <pre><code>Warning: "No decoder ava...
0
9,978
Android: Resizing Bitmaps without losing quality
<p>i've really searched through over the entire web before posting. My problem is that i cannot resize bitmap without losing the quality of the image (the quality is really bad and pixelated).</p> <p>I take the bitmap from camera and then i have to downscale it, so i can upload it to the server much faster.</p> <p>Th...
0
1,429
Using RecyclerView with Fragments
<p>I built the RecycleView widget with CardView from this tutorial: </p> <p><a href="http://www.treyrobinson.net/blog/android-l-tutorials-part-3-recyclerview-and-cardview/" rel="noreferrer">Android L Tutorials (Part 3) - RecyclerView and CardView</a></p> <p>Now Im trying to show it as a Fragment.</p> <p>Here is my F...
0
1,736
Setting disable-output-escaping="yes" for every xsl:text tag in the xml
<p>say I have the following xml:</p> <pre><code>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt; &lt;xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"&gt; &lt;xsl:template match="/*"&gt; &lt;display&gt; &lt;xsl:for-each select="logline_t"&gt; &lt;xsl:text disable-output-escapi...
0
1,321
Sencha Touch - Redirect to another view
<p>I am building a Sencha Touch application and struggling with redirecting or changing another view after login. After login i need to take it to Home Page. But my below <strong><em>code in Login Controller's authenticateUser()not working</em></strong>.</p> <p>Tried with Ext.Viewport.push(homePanel) , Ext.Viewport.s...
0
1,778
Attribute 'textAdjust' is not allowed to appear in element 'textField' JasperReports 6.11.0
<p>I have a textfield in my rreport which I am using with my SpringBoot Maven application. The textfield is populated and the content is variable in size and I want a dynamic size textBox. I am using JasperSoft designer to build the report and the JasperReports version is 6.11.0. </p> <p>Following is the code segment ...
0
2,312
matDialog doesn't open as dialog
<p>Instead of opening as a layover popup, it opens as a block on the bottom of the page left aligned.</p> <p>I searched for similar problems, found this <a href="https://stackoverflow.com/questions/41941481/angular2-mddialog-is-not-appearing-as-a-popup">angular2 MdDialog is not appearing as a popup</a> but also doesn'...
0
4,738
Calling functions from a c++ DLL in Delphi
<p>I created a new c++ DLL project in VS2010 that exposes 1 function </p> <pre><code>#include "stdafx.h" #define DllImport extern "C" __declspec( dllimport ) #define DllExport extern "C" __declspec( dllexport ) DllExport int DoMath( int a, int b) { return a + b ; } </code></pre> <p>I then created a C...
0
1,051
The permissions granted to user ' are insufficient for performing this operation. (rsAccessDenied)
<p>I Installed SSRS 2008 R2 on Win Server 2008 R2. Every thing is all right, I can open Report Manager and it's Security link to define new users. I can open Report Server page, but when I want to publish my reports on Report Server I faced with this problem:</p> <pre><code>C:\CalibrationReports&gt;C: C:\CalibrationR...
0
1,722
java.lang.RuntimeException: Parcelable encountered IOException writing serializable object in Android passing ArrayList object
<p>I want to pass my ArrayList object to another activity, using a DataWrapper that implements <code>Serializable</code>. <br/> I followed the answer provided here: <a href="https://stackoverflow.com/q/15747727/3879470">Pass arraylist of user defined objects to Intent android</a>.<br/> I am starting the another Activit...
0
3,084
"src/common.hpp:52:32: fatal error: boost/shared_ptr.hpp: No such file or directory" when building websocket++
<p>I know next to nothing about linux or c++.</p> <p>I generally followed these instructions to build boost on ubuntu 12.10 <a href="http://piyushparkash.blogspot.com/2012/10/installing-boost-150-in-ubuntu-1210.html" rel="nofollow noreferrer">http://piyushparkash.blogspot.com/2012/10/installing-boost-150-in-ubuntu-121...
0
2,366
How to post a message via Slack-App from c#, as a user not App, with attachment, in a specific channel
<p>I can not for the life of me post a message to another channel than the one I webhooked. And I can not do it as myself(under my slackID), just as the App. </p> <p>Problem is I have to do this for my company, so we can integrate slack to our own Software. I just do not understand what the "payload" for JSON has to l...
0
1,231
How to authenticate nginx with ldap?
<p>I follow this reference <a href="https://github.com/kvspb/nginx-auth-ldap/blob/master/README.md" rel="nofollow noreferrer">https://github.com/kvspb/nginx-auth-ldap/blob/master/README.md</a> and try to integrate nginx and LDAP.</p> <p>my nginx.conf setting:</p> <pre><code>user nginx; worker_processes 4; error_lo...
0
1,073
Spring Transactions and hibernate.current_session_context_class
<p>I have a Spring 3.2 application that uses Hibernate 4 and Spring Transactions. All the methods were working great and I could access correctly the database to save or retrieve entities. Then, I introduced some multithreading, and since each thread was accessing to db I was getting the following error from Hibernate...
0
1,093
Java Canvas Draw Image from BufferedImage
<p>I am currently working on my personal project. The idea is to import a picture and crop it into n-pieces of bufferedimage then draw them with random sequence to a java canvas. After that save the canvas to image file. Right now iam stuck at saving the canvas and i have searching for the solutions but none of them wo...
0
1,487
Too many redirects error while trying to configure rails application as SSL using nginx and unicorn
<p>I am trying to configure a Rails application with SSL, using Nginx and Unicorn. I am trying to set it up locally. For that I first created a self-signed certificate using OpenSSL for Nginx. I followed the <a href="https://www.digitalocean.com/community/articles/how-to-create-a-ssl-certificate-on-nginx-for-ubuntu-12...
0
1,962
Object detection with OpenCV Feature Matching with a threshold/similarity score - Java/C++
<p>I am in the process of creating a small program which detects objects(small image) in the large image and I am using OpenCV java. As I have to consider rotation and scaling I have used FeatureDetector.BRISK and DescriptorExtractor.BRISK. </p> <p>Following approach is used to filter the match results to get the bes...
0
1,903
npm package.json scripts not being called
<p>I have the following scripts section in my projects package.json:</p> <pre><code>"scripts": { "seed": "node bin/seed", "test": "echo \"Error: no test specified\" &amp;&amp; exit 1" }, </code></pre> <p>If i run <code>$ npm test</code> I get this:</p> <pre><code>&gt;npm test &gt; node-mongo-seeds@0.0.1 t...
0
1,111
Expected 2D array, got 1D array instead, Reshape Data
<p>I'm really stuck on this problem. I'm trying to use OneHotEncoder to encode my data into a matrix after using LabelEncoder but getting this error: Expected 2D array, got 1D array instead.</p> <p>At the end of the error message(included below) it said to "Reshape my data" which I thought I did but it's still not wor...
0
1,309
Search a word in a text string in Excel sheet using openpyxl
<p>I'm trying to search for a word in a cell that has a text string that looks like this (Energy;Green Buildings;High Performance Buildings). Here is the code I wrote, I get a syntax error</p> <pre><code>for row in ws.iter_rows('D2:D11'): for cell in row: if 'Energy' in ws.cell.value : Print '...
0
2,231
'No database provider has been configured for this DbContext' on SignInManager.PasswordSignInAsync
<blockquote> <p>.Net Core 1.0.0 - SDK Preview 2 (x64)</p> <p>.Net Core 1.0.0 - VS &quot;15&quot; Preview 2 (x64)</p> <p>.Net Core 1.0.0 - Runtime (x64)</p> </blockquote> <p>So, we updated an RC1 app to the latest versions above. After many hours of switching references, it's running. However, when logging in (AccountCo...
0
2,916
ClassNotFound exception when loading applet in Chrome
<p>I'm having a hard time getting a Java applet to run in Chrome. The class loader can't find the class, even though the it works fine in Firefox, Opera and Safari.</p> <p>Here's my test applet class (I even took out the package declaration to keep it simple):</p> <pre><code>import java.awt.Graphics; import java.appl...
0
1,091