title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
How to fix "failed to load cairo DLL" in R? | <p>I am running into this warning message that will stop execution.</p>
<pre><code>Saving 8.04 x 5.67 in image
Warning messages:
1: In dev(file = filename, width = dim[1], height = dim[2], ...) :
unable to load shared object '/usr/local/Cellar/r/3.5.0_1/lib/R/library/grDevices/libs//cairo.so':
dlopen(/usr/local/C... | 0 | 1,637 |
How do i get rid of call __x86.get_pc_thunk.ax | <p>I tried to compile and convert a very simple C program to assembly language. </p>
<p>I am using Ubuntu and the OS type is 64 bit. </p>
<p>This is the C Program.</p>
<pre><code>void add();
int main() {
add();
return 0;
}
</code></pre>
<p>if i use gcc -S -m32 -fno-asynchronous-unwind-tables -o simple.S simple.c... | 0 | 1,117 |
Unpacking, extended unpacking and nested extended unpacking | <p>Consider the following expressions. Note that some expressions are repeated to present the "context".</p>
<p>(this is a long list)</p>
<pre><code>a, b = 1, 2 # simple sequence assignment
a, b = ['green', 'blue'] # list asqignment
a, b = 'XY' # s... | 0 | 3,026 |
how to deserialize / serialize byte array using Jackson and wrapper object | <p>I have two following classes:</p>
<pre><code>public class User {
private String name;
private Secret secret;
public User( @JsonProperty("name") String name, @JsonProperty("secret") Secret secret ) {
this.name = name;
this.secret = secret;
}
public String getName() {
r... | 0 | 1,857 |
Webpack 4 Module parse failed: Unexpected character '@' (1:0) | <p>I get this error when i try to run <code>npm run dev</code> to compile my scss to css. I know that issue is related to <code>@import</code></p>
<p><strong>ERROR in ./src/scss/main.scss
Module parse failed: Unexpected character '@' (1:0)
You may need an appropriate loader to handle this file type.
| @import "header"... | 0 | 1,398 |
Class 'Maatwebsite\Excel\Excel' not found | <p>my <code>composer.json</code>:</p>
<pre><code> ...
"maatwebsite/excel": "^3.0",
...
</code></pre>
<p>I can run my project on localhost but when I upload on server I got this error message:</p>
<pre><code>Class 'Maatwebsite\Excel\Excel' not found
</code></pre>
<p>my laravel version:</p>
<pre><code>Lar... | 0 | 1,840 |
Jenkins jacoco plugin empty report | <p>I have a project where I use Jacoco to calculate the code coverage.
I use maven configuration like here :</p>
<p><a href="http://www.petrikainulainen.net/programming/maven/creating-code-coverage-reports-for-unit-and-integration-tests-with-the-jacoco-maven-plugin/" rel="noreferrer">http://www.petrikainulainen.net/pr... | 0 | 3,655 |
Android speech recognizing and audio recording in the same time | <p>My application records audio using MediaRecorder class in AsyncTask and also use Google API transform speech to text - Recognizer Intent - using the code from this question : <a href="https://stackoverflow.com/questions/6316937/how-can-i-use-speech-recognition-without-the-annoying-dialog-in-android-phones">How can I... | 0 | 3,199 |
Javascript - How to escape double and single quotes on Kendo template | <p>I'm using kendolistview on my view page(razor). Inside of the kendo template I have this code. It just opens the bootstrap pop-up with. Problem is the "content" data has some " and ' values. So the link cannot be referred to the js function and the pop-up doesn't open.</p>
<p>I tried replacing the quotes in the dat... | 0 | 1,523 |
InvalidOperationException: Can't use schemaId .. The same schemaId is already used for type | <p>I receive the following error.</p>
<pre><code>InvalidOperationException: Can't use schemaId "$Registration" for type "$PortalService.Models.Registration". The same schemaId is already used for type "$PortalService.Models.Registration"
</code></pre>
<p>I have tried the suggestions in the... | 0 | 2,071 |
About Bootstrap 4 - Navbar top placement | <p>I am using Bootstrap 4.<br>
I have a question about the Navbar "Fixed top" class. <a href="http://v4-alpha.getbootstrap.com/components/navbar/#placement" rel="nofollow noreferrer">http://v4-alpha.getbootstrap.com/components/navbar/#placement</a><br>
The Navbar "Fixed top" class covers content. </p>
<p>like this ... | 0 | 1,127 |
How to check for changes in form controls using Angular5 | <p>Im using reactive forms, I have multiple inputs, I want display a single error for de three inputs, the validatons are; fields are required and blank spaces should not be entered. </p>
<p>component.html:</p>
<pre><code> <form [formGroup]="contratoForm" class="campo-form">
<div class="campoFormu... | 0 | 2,940 |
Maven compilation failure but dependencies exist | <p>I am building a maven project but I am getting compilation failures that say the dependency does not exist. However, I see them in the dependency list. I am using clean package install.</p>
<pre><code>[ERROR] \workspace\smartpharm\SmartPharm\src\main\java\com\bla\medication\service\impl\MedicationServiceImpl.java... | 0 | 5,068 |
SMTP Email Sending | <p>No connection could be made because the target machine actively refused it 127.0.0.1:25
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.</p>
<blockquote>
<p>Exceptio... | 0 | 1,189 |
Autocomplete dropdown in MVC5? | <p>Hi i have one field in my view. That field is Customer it is a dropdown field. In that i have keep dropdown as select option to select the value. But i like to change that field as Autocomplete dropdown. </p>
<p><a href="https://i.stack.imgur.com/OaqsG.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/OaqsG... | 0 | 1,441 |
Determining the alignment of C/C++ structures in relation to its members | <p>Can the alignment of a structure type be found if the alignments of the structure members are known? </p>
<p>Eg. for:</p>
<pre><code>struct S
{
a_t a;
b_t b;
c_t c[];
};
</code></pre>
<p>is the alignment of S = max(alignment_of(a), alignment_of(b), alignment_of(c))?</p>
<p>Searching the internet I found that ... | 0 | 1,477 |
Why does my Spring Boot App always shutdown immediately after starting? | <p>This is my first Spring Boot code. Unfortunately, it always shuts down. I was expecting it to run continuously so that my web client can get some data from the browser.</p>
<pre><code>package hello;
import org.springframework.boot.*;
import org.springframework.boot.autoconfigure.*;
import org.springframework.stereo... | 0 | 2,929 |
WPF Grouping using CollectionViewSource and DataBinding | <p>I'm binding a <code>CollectionViewSource</code> to a <code>ListView</code> to group items. It all works great except when I update the <code>ObservableCollection</code> the <code>CollectionViewSource</code> is based on. If I update a value of an object in the collection the UI is never updated. Here is an example:</... | 0 | 2,012 |
Python Pip Install "Egg" Error (Pandas and other modules) | <p>Having issues installing some python modules (for example pandas) and also had some issues installing ipython notebook.</p>
<p>This error seems to have come up before for other folks (<a href="https://stackoverflow.com/questions/11425106/python-pip-install-fails-invalid-command-egg-info">Python pip install fails: i... | 0 | 1,663 |
Pass custom filter to SmartTable | <p>I created a custom control on a smart filter bar. I am unsure of how to pass the selection to the server so it updates the filter and rebinds the data to the smart table. Here is the custom smartfilter bar:</p>
<pre><code><smartFilterBar:ControlConfiguration groupId="_BASIC" key="ZQ_STAT" visibleInAdvancedArea="... | 0 | 2,056 |
How to set values of checkbox and combobox by using Extjs Form loadRecord? | <p>When I run <code>form.loadRecord(record);</code>, datas comes to tetfields but checkbox and combo using id value is empty for all... there are many solutions to this issue I tried but it does not work for me.</p>
<pre><code> Ext.define('Ext.migration.ProductEditPanel', {
extend: 'Ext.panel.Panel',
... | 0 | 2,555 |
Laravel: Call to undefined function Symfony\Component\Console\mb_convert_variables()? | <p>I'm running a vanilla Amazon EC2 server. I installed PHP 5.5.21 myself. My web application is built on Laravel. For weeks, everything was working flawlessly. Now, however, when running the Laravel command to update the database schema:</p>
<blockquote>
<p>php artisan migrate</p>
</blockquote>
<p>I get the fol... | 0 | 7,606 |
How can I disable the error (prettier/prettier) on eslint? | <p>While coding, I was not using eslint. Now I installed it and it has flooded my editor with prettier/prettier errors, which by no way seem like they make my code prettier. I am looking to find a way to solve this.</p>
<p>prettierrc.js:</p>
<pre><code>module.exports = {
bracketSpacing: true,
jsxBracketSameLine: ... | 0 | 1,050 |
What are JavaScript's builtin strings? | <p><em>this question is difficult to summarize in a question title</em></p>
<p><strong>UPDATE</strong>
I created a JSFiddle that builds an obfuscated string out of your input based on the letters extracted from this question: You can access it <a href="http://jsfiddle.net/w9rFF/14/" rel="noreferrer">here</a>, or would... | 0 | 2,222 |
Why items change order upon scrolling in Android GridView? | <p>I have a GridView in android which I fill it with data retrieved from a xml resource.<br>
For example I have 15 items in the GridView which are placed in order. The overall height exceeds the Screen height so i have to scroll to see the rest of the items.<br>
The problem is when I scroll back up, the order of the in... | 0 | 1,073 |
Setting environment variables in .NET Core 2.0 | <p>I am trying to setting up multiple environments in my .NET Core 2.0 application. See my code below.</p>
<h3>Configuration file (Launch.JSON)</h3>
<pre><code>"configurations": [
{
"name": ".NET Core Launch (web)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
... | 0 | 1,427 |
Jacoco: unable to read execution data file, ant task | <p>Info:
java version: 1.8.0_66
ant version: 1.9.6</p>
<p>What I want to do:</p>
<p>Provide a code coverage report for the server's code that is running on AWS windows 2k12 server.</p>
<p>What I did:</p>
<ul>
<li>Stop the server completely. </li>
<li>Put jacocoagent.jar into server's bin folder. Note: this is insid... | 0 | 1,270 |
adding data to hashmap from database | <p>Hello I am creating an application where I can store data in a Hashmap and List for a shopping cart module.But I want to fetch this data from my MS-Access database.I tried the following code but its not compiling.Please give me guidance.</p>
<p>Code:</p>
<pre><code>import java.sql.*;
import java.util.ArrayList;
im... | 0 | 1,084 |
Spring-boot application won't boot at startup inside docker | <p>I am running a simple spring-boot application inside a docker container. At startup whether started with <code>java -jar MY_JAR.jar</code> or <code>mvn spring-boot:run</code> the application will always hang at the following point:</p>
<pre><code>2014-12-22 23:26:58.957 INFO 1 --- [ost-startStop-1] o.s.b.c.embedd... | 0 | 7,173 |
How to process the response data of FBSDKGraphRequest in Swift 3 | <p>I have integrated the FB latest SDK(non-swift) and log in is working fine. All I need to know how do I parse the Graph response data since its not a valid JSON</p>
<p>Working code: </p>
<pre><code> func configureFacebook()
{
login.readPermissions = ["public_profile", "email", "user_friends... | 0 | 1,059 |
Error running a nodejs server on a Mac, 'no suitable image found' | <pre><code>unknown406c8f2d5ecb:proves airrider3$ node tronServer.js
[Error: dlopen(/Users/airrider3/Documents/proves/node_modules/now/node_modules/node-proxy/build/Release/nodeproxy.node, 1): no suitable image found. Did find:
/Users/airrider3/Documents/proves/node_modules/now/node_modules/node-proxy/build/Release... | 0 | 3,251 |
Warning: include(php/home.php): failed to open stream: No such file or directory in | <p><strong>Hello</strong></p>
<p><strong>I got this problem:</strong></p>
<blockquote>
<p>Warning: include(php/home.php): failed to open stream: No such file or directory in C:\xampp\htdocs\php\index.php on line 54</p>
<p>Warning: include(): Failed opening 'php/home.php' for inclusion (include_path='.;C:\xampp\php\PEAR... | 0 | 1,493 |
Merge when not matched by source and | <p>I have a table 'groups' which has some data in it:</p>
<pre><code>groupid groupname grouptext
1 Cars Toyota
2 Cars BMW
3 Cars Renault
4 Bikes BMW
5 Bikes Yamaha
</code></pre>
<p>After that, I am the fol... | 0 | 1,199 |
Spring boot CommandLineRunner Exception Handling | <p>We are using Spring-boot for a commandline application. We are using javax.validation for validating command-line arguments. </p>
<p>Now, if we have a validation error how can we print friendly error message? We don't want to show Stack trace.</p>
<p>Is there a ExceptionHandler mechanism we could use when we are r... | 0 | 1,538 |
JavaFX 8 - Tabpanes and tabs with separate FXML and controllers for each tab | <p>I hope to get some answers regarding having fx:include statements for each tab in a tabpane. I have managed with ease to get content to show up BUT referencing methods of the associated controller class simply gives me a nullpointerreference exception no matter how I structure it. The controllers of the included FXM... | 0 | 1,990 |
Upload profile image for a user Firebase | <p>I am trying to add an image to the user information in the real time database(firebase) for android. I have uploaded the image on the firebase storage but how will I be able to add the image in the database for that user?</p>
<p>Code Below:</p>
<pre><code>//inside onCreate() method
img.setOnClickListener(new View... | 0 | 1,526 |
Changing the background color of a selected JToggleButton | <p>I am trying to change the color of a <code>JToggleButton</code> when it has been selected in a reliable, look and feel independent way.</p>
<p>If using the Metal L&F, then using the UIManager is an approach:</p>
<pre><code>UIManager.put("ToggleButton.selected", Color.RED);
</code></pre>
<p><strong>Note</stron... | 0 | 1,197 |
No adapter for handler ... The DispatcherServlet configuration needs to include a HandlerAdapter that supports this handler | <p>Tired of using XML files for Spring config, tried moving into a full Java approach, but I'm doubtlessly failing at it.</p>
<p>Just 2 classes involved:</p>
<pre><code>@Configuration
public class AppInitializer implements WebApplicationInitializer {
@Override
public void onStartup(ServletContext servletCont... | 0 | 2,994 |
The increment size of the sequence is set to [50] in the entity mapping while the associated database sequence increment size is [1] | <p>I'm following the Learn Spring 5 etc on udemy and I'm at the part where we test our application. Everything worked fine till now, i was able to connect to the postgreSQL database and all but now I'm stuck at this test failing since 2 days.</p>
<p>I don't understand what is causing the Test to fail. The application ... | 0 | 2,116 |
Center widget vertically inside a SingleChildScrollView | <p>I'm new to Flutter so I train myself by making a simple form. I realized while I was debugging on my iPhone the virtual keyboard triggered an error: <code>"A RenderFlex overflowed by 29 pixels on the bottom"</code>. I fixed this issue by wrapping my Container inside a <code>SingleChildScrollView</code>.</p... | 0 | 1,737 |
More than one file was found with OS independent path 'org/apache/http/client/version.properties' | <p>Every thing working fine before updating Android studio from 2.3 to 3.0. I had this error when running app in Android Studio, complile is pass. I can't understand why this error appears. And I found nothing in Internet.</p>
<p>here is my gradle file.</p>
<pre><code> packagingOptions {
exclude 'META-INF/DE... | 0 | 1,673 |
Python, I want to make list json.dumped But, error 'dict' object has no attribute 'dumps' | <p>below is my python code</p>
<pre><code>r = requests.get("https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=50&channelId="+CHANNELID+"&order=date&key="+DEVELOPER_KEY)
json = r.json() ... | 0 | 2,396 |
How to read Android accelerometer values in a stable and accurate way? | <p>In a my project I am trying to control a car using data obtained through the accelerometer of an Android device. (Left, Right, Forward, Reverse). Even though I have managed to read values from the accelerometer the readings are subject to frequent changes even the device is in a stable position. Can someone provide ... | 0 | 1,273 |
java.lang.RuntimeException: Cannot create a secure XMLInputFactory when deploying on Glassfish | <p>I have a web services app developed using CXF 2.7.13. When I deploy on my local Tomcat instance, everything works, but when switching to a glassfish 4 instance, I get the following exception:</p>
<pre><code>java.lang.RuntimeException: Cannot create a secure XMLInputFactory
at org.apache.cxf.staxutils.StaxUtils.... | 0 | 1,773 |
unable to resolve class reference org/openqa/selenium/WebDriver | <p>In the directory <code>C:\jars></code> In the Jars folder I have Test folder. Inside the Test folder I have <code>OneReports.jar</code> ,<code>testng.jar</code>, <code>TestngTestSuiteUsingXML.java</code> and <code>Test.XML</code></p>
<p>The <code>OneReports.jar</code> I have exported from eclipse and it contains... | 0 | 1,056 |
django: taking input and showing output in the same page | <p>I am quite new to django and struggling to do something very simple.
I have a <code>ModelForm</code> for the following model:</p>
<pre><code>class Queries(models.Model):
user_id=models.CharField(max_length=200)
query=models.CharField(max_length=200)
</code></pre>
<p>And I am showing the user a simple for... | 0 | 1,096 |
Parse error: syntax error, unexpected end of file, expecting function (T_FUNCTION) or const (T_CONST) in laravel 5.4 and it's not duplicated | <p>So, guys, this is the error I am getting in my project.</p>
<p>Parse error: syntax error, unexpected end of the file, expecting function (T_FUNCTION) or const (T_CONST)
<a href="https://i.imgur.com/i4iMnze.jpg" rel="nofollow noreferrer">https://i.imgur.com/i4iMnze.jpg</a></p>
<p>code for video model:-</p>
<pre><c... | 0 | 3,588 |
Android app crashing (fragment and xml onclick) | <p>second_fragment.xml</p>
<pre><code><LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/f2_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView
and... | 0 | 1,493 |
ldap_bind(): Unable to bind to server: Can't contact LDAP server | <p>I can remote access in using the admin username and password which I'm using the same username and password in the script. but I get the following error</p>
<p>Warning: ldap_bind(): Unable to bind to server: Can't contact LDAP server in </p>
<p>Could not bind to the server. Check the username/password.
Server Res... | 0 | 1,082 |
What are valid values of `HAL_NVIC_SetPriority()` when using STM32 and FreeRTOS? | <p>After a rather difficult process of learning some things about interrupt priority, I am still a bit stuck trying to understand what values I am allowed to call for <code>HAL_NVIC_SetPriority()</code> on the <code>SysTick_IRQn</code> (which is the ISR calling the FreeRTOS scheduler every 1 ms). </p>
<h1>TLDR;</h1>
... | 0 | 3,217 |
Why is rake db:migrate:reset not listed in rake -T? | <p>Why are some rake tasks not listed by <code>rake -T</code>? Like <code>db:migrate:reset</code>? I can execute it without a problem, but why is it not listed there? Is there a way to get a real full list of rake tasks?</p>
<pre>
% rake -T
(in /home/zeus/projects/my_project)
rake about # List versions of... | 0 | 1,339 |
Show rest of form if checkbox is checked | <p>I reviewed a couple of different SO answers (<a href="https://stackoverflow.com/questions/10322444/show-rest-of-a-form-if-a-checkbox-is-ckecked-in-ruby-on-rails">show rest of a form if a checkbox is ckecked in ruby on rails</a>), but none have worked for me.</p>
<p>There are other answers, but I'm not sophisticated... | 0 | 1,135 |
SocketTimeoutException in Retrofit | <p>I am trying to <strong>POST</strong> request to server for fetch data but sometime It's occure <code>SocketTimeoutException</code>!</p>
<p>I used <code>Ok3Client</code> to resolve it but I facing the same Exception How can I resolve it?</p>
<p>My code is below</p>
<pre><code>public void getNormalLogin() {
... | 0 | 2,394 |
Failed to load ApplicationContext caused by ArrayIndexOutOfBoundsException in ClassReader | <p>When I am running junit test class the below exception arises? How can i resolve this?</p>
<pre><code>Failed to load ApplicationContext
java.lang.IllegalStateException: Failed to load ApplicationContext
at org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:157)
at org.spring... | 0 | 2,622 |
jsTree checkbox checked from html data | <p>I have a ajax request returning data to show a tree with checkboxes. In de html data returned from the ajax call the check state of the items is defined using a custom data-checkstate attribute.
How can i restore this check state in the tree?</p>
<p>Expected result:</p>
<p><img src="https://i.stack.imgur.com/znpIE... | 0 | 2,033 |
How to handle org.eclipse.persistence.exceptions.OptimisticLockExceptio | <p>I want to handle concurrent execution by using Optimistic Locking. I have included <code>@Version</code> annotation in my entity class.</p>
<p>In my code I am running two threads concurrently. Sometimes it is executing correctly. Sometimes it is throwing <code>org.eclipse.persistence.exceptions.OptimisticLockExcept... | 0 | 1,755 |
Bootstrap navbar dropdown not scrolling | <p>I am just starting off with bootstrap and have a problem that is probably an easy fix. I found similar questions but they all pertained to mobile, and my issue is with a desktop. It works fine on mobile.</p>
<p>I have a navbar setup at the top of my page. It contains a dropdown menu with a list of items inside o... | 0 | 3,451 |
JPA one to many relationship query | <p>Implemented one to many relationship and it is working fine.</p>
<p>My issue is when i run the below query, if the table has 100 employee rows, and each employee has 2 departments. The database query is called 101 times, because for each employee it is calling department query, it is taking very long to complete ca... | 0 | 1,437 |
LINQ SelectMany and Where extension method ignoring nulls | <p>I have the below example code, and I am interested to know how I can make this any cleaner, possibly through better use of <code>SelectMany()</code>. At this point the <code>QuestionList</code> property will not be null. All I want is a list of <code>answerRows</code> that are not <code>null</code>, but <code>Questi... | 0 | 2,259 |
Pagination with array items in php | <p>I'd like some help if possible.</p>
<p>I'm having an array that contains a list of array items (think of it as a list of posts) like this:</p>
<pre><code>$array = array(
array(
'title' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit',
'date' => 'Tuesd... | 0 | 1,255 |
TypeError: $(...).jqGrid is not a function on button click to trigger reload | <p>My grid loads fine for the first time. But on button click , I need to reload the grid and it gives the error 'TypeError: $(...).jqGrid is not a function'.</p>
<p>This happens both in firefox and chrome.
Please help.</p>
<pre><code><link rel="stylesheet" type="text/css" media="screen" href="<%=request.getCon... | 0 | 1,628 |
Python requests module Error - cant load any url: 'Remote end closed connection without response' | <p>I am trying to fetch data from an url using python 3.5 using the following code</p>
<pre><code>import requests
url ='http://eutils.ncbi.nlm.nih.gov/entrez/eutils/einfo.fcgi'
r = requests.get(url)
r.content
</code></pre>
<p>The url can be opened with no problems in the browser.</p>
<p>However, I am getting an erro... | 0 | 3,607 |
sql: Scan error on column index 38: destination not a pointer | <p>Using Golang and the built in <code>database/sql</code> library and the postgres <code>lib/pq</code> library, I'm trying to read from a database that has some null values in some of the records. the code compiles, but when I try to run it I get the following error. </p>
<pre><code>sql: Scan error on column index 38... | 0 | 1,285 |
Could not find method implementation() for arguments [directory 'libs'] on object | <blockquote>
<p>Error Message:- Could not find method implementation() for arguments [directory
'libs'] on object of type
org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.</p>
<p>Code</p>
</blockquote>
<pre><code>apply plugin: 'com.android.application'
ext {
supportVersion='27.1.1'
}
and... | 0 | 1,168 |
Cross Compile perl for ARM | <p>I'm attempting to cross compile the perl interpreter for an ARM architecture (<a href="http://www.friendlyarm.net/products/mini2440?lang=en" rel="noreferrer">FriendlyARM Micro2440</a>). I'm using the <a href="http://www.friendlyarm.net/downloads" rel="noreferrer">ARM-Linux GCC 4.4.3</a> cross-compiler provided by t... | 0 | 1,117 |
Why can't Windows 7 load the assembly PresentationFramework.Aero2? | <p>I recently finished my first WPF application I have been developing using Windows 8. It has worked fine on my machine. A friend of mine ran it in visual studio on his Windows 8 machine as well, and that worked. I install the program using click once on my machine, and it installs fine and runs.</p>
<p>I installed W... | 0 | 3,380 |
python 2.7: cannot pip on windows "bash: pip: command not found" | <p>I am trying to install the SciPy stack located at <a href="https://scipy.org/stackspec.html" rel="nofollow noreferrer">https://scipy.org/stackspec.html</a> [I am only allowed 2 links; trying to use them wisely]. I realize that there are much easier ways to do this, but I think there is a lot to be learned by doing ... | 0 | 1,300 |
How do I solve this error, "error while trying to deserialize parameter" | <p>I have a web service that is working fine in one environment but not in another.</p>
<p>The web service gets document meta data from SharePoint, it running on a server where I cant debug but with logging I confirmed that the method enters and exits successfully.</p>
<p>What could be the reason for the errors?</p>
... | 0 | 3,066 |
"command not found" errors in expect script executed by shell script | <p>I am trying to implement "shell script calling expect script" so that it does not prompt the user for entering ssh password every time. I started with <a href="https://stackoverflow.com/questions/4594698/using-a-variables-value-as-password-for-scp-ssh-etc-instead-of-prompting-for-u">Using a variable's value as p... | 0 | 1,079 |
html multiple tables side by side | <p>I have six tables side by side. Each table contains a top cell with a header and the next cell with varying amount of text. Each table is set to 30% width and has padding of 10px. The tables are enclosed in an overall <code><div></code> and each table is set <code>float: left</code>. On a laptop screen these w... | 0 | 1,204 |
Win32Exception Not enough storage is available to process this command | <p>Through my automated crash collection for <a href="http://www.maxto.net" rel="noreferrer">MaxTo</a> I got the following crash report:</p>
<pre><code>V8.12.0.0 - System.ComponentModel.Win32Exception - :Void UpdateLayered():0
Version: MaxTo8.12.0.0
Exception: System.ComponentModel.Win32Exception
Error message: Not en... | 0 | 1,774 |
why doesn't task wrapper function work | <p>There are many good suggestions to how to fix gradle versions, but some of them are outdated or I just couldn't find the paths that were suggested. one solution did work for me is <strong>project>project structure>project>gradle version</strong>.</p>
<p>Here I can change it to the supported version, and successfull... | 0 | 4,758 |
Printing directly to a thermal printer using ESC/POS Commands executed in C# with an interface of TCP/IP | <p>I was working on implementing ESC/POS(Epson Standard Code for Point of Sale) on a Kitchen printer(Aclas KP71M). <br/>
I have a user interface the the POS user enters its string in to the user interface and the strings entered by the user will be sent to the printer and the printer prints the data.
<br/>The printer i... | 0 | 7,764 |
Dictionary<string, object> to DataTable | <p>I have a very strange issue, and no clue which way I should take to fix it.</p>
<p>I have an <code>IEnumerable<Dictionary<string,object>></code> and it can contain one or more <code>IEnumerable<Dictionary<string,object>></code>. </p>
<p>Now, this Dictionary needs to be imported into DataTab... | 0 | 1,436 |
Dynamic dropdowns using thymeleaf, spring boot | <p>I have 3 dropdowns(one is populate with cities, one with agencies and one with services). If I select one city, the second dropdown should load the data(agencies), and if i select one agency, the 3 dropdown should load data(services). I am able to populate the first dropdown(cities), but I don't know how to populate... | 0 | 1,801 |
How do I use `setrlimit` to limit memory usage? RLIMIT_AS kills too soon; RLIMIT_DATA, RLIMIT_RSS, RLIMIT_STACK kill not at all | <p>I'm trying to use <code>setrlimit</code> to limit my memory usage on a Linux system, in order to stop my process from crashing the machine (my code was crashing nodes on a high performance cluster, because a bug led to memory consumption in excess of 100 GiB). I can't seem to find the correct resource to pass to <c... | 0 | 1,318 |
MySQL Optimization - MySQL's maximum memory usage is dangerously high, but still recommending increases | <p>I have a cPanel/CentOS 6.5 VM with 12 GB RAM.</p>
<p>I ran the MySQLTuner script, and followed the recommendations that they gave, but it's still recommending increases, while telling me that MySQL's maximum memory usage is dangerously high.</p>
<p>My current config in my my.cnf file is:</p>
<pre><code>[mysqld]
l... | 0 | 2,153 |
Maven Dependency Conflict: org.w3c.dom.ElementTraversal | <p>I have a Java codebase which is using Maven for both dependency resolution and running tests on CI. After a recent batch of development (big enough to make it hard to identify the breaking change), some of my tests now fail when run via Maven with a <code>NoClassDefFoundError</code> for <code>org.w3c.dom.ElementTrav... | 0 | 11,395 |
Spring required a bean of type 'AuthenticationManager' | <p>I have been trying to follow a tutorial found <a href="https://shekhargulati.com/2018/02/15/single-sign-on-in-spring-boot-applications-with-spring-security-oauth/" rel="noreferrer">HERE</a> for setting up a demo to help me understand SSO on my local machine before implementing in another project. I have run into a p... | 0 | 1,518 |
slick slider - css transition infinite loop bug | <p>I've got a slider set up using slick slider. When using the next and previous buttons, the item comes in to view with a nice transition. The problem I'm having is that when it restarts its cycle, the first item "snaps" into view, instead of doing the transition. Furthermore it seems like it loses it's internal index... | 0 | 1,208 |
How to use PDO connection in other classes? | <p>I think I've a problem in understanding how OOP works. I already changed the code that it works, but it isn't the propper way I think. Following scenario (No, I'm not creating a userlogin by myself, its really just for local dev. to understand OOP better):</p>
<p>I've a database.php file:</p>
<pre><code>class Data... | 0 | 1,164 |
Android MediaCodec decode h264 raw frame | <p>I am using Android MediaCodec API to decode h264 frames. I could decode and render the frames on the view. My problem is the decoder miss lots of frames,especially the first some frames. <strong>DecodeMediaCodec.dequeueOutputBuffer()</strong> return -1. aAbout 150 h264 frames,just decoded 43 frames. I can not find... | 0 | 2,197 |
Wordpress: Get the select field option choices in ACF (Advanced Post Field) plugin? | <p>I'm now using Advanced Custom Fields Plugin in wordpress.</p>
<p>And now I defined some Choices, and they have Choices set as below:</p>
<blockquote>
<p>Field Name: time_availability</p>
<p>Field Type: Select</p>
</blockquote>
<pre><code>low : Once or twice
high : Several times
</code></pre>
<p>So, I want to enumera... | 0 | 1,090 |
Dynamically Add Rows In HTML Table Using JavaScript and getting textbox value of each text box by submitting a button | <p>I have a table where I can dynamically add rows. I want to get the data in each row to a php array when I submit the save button . Can please somebody help me on this. I'm new to java-script and know very little about it. Thank you!</p>
<pre><code><HTML>
<HEAD>
<TITLE> Add/Remove dynamic rows ... | 0 | 1,347 |
C# Deserialize XML to object: There is an error in XML document (3, 2) | <p>I'm trying to deserialize XML into a C# object</p>
<p>I am getting the error:There is an error in XML document (3, 2).</p>
<p>Cannot seem to fix it! Here is the code:</p>
<p>The XSD is:</p>
<pre><code><?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid XML Studio 2012 Developer Edition (Tria... | 0 | 2,202 |
Download Manager Android Permissions error: write external Storage | <p>I programmed an Android App that downloads a sample PDF file to the Download directory using DownloadManager. Here's the code:</p>
<pre><code>@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_vertretungsplan);
Button dlbut... | 0 | 1,793 |
IE and Edge not loading new stylesheet | <p>My site got some new colors and I updated the color code in my CSS file, but as usual it won't load in IE or Edge for some reason. </p>
<p>I have cleared my cache in my site and browser. It's still not loading in the new color code. </p>
<p>Do you have an idea of how to fix this? </p>
<p>You are asking for detail... | 0 | 1,197 |
Injection of persistence dependencies failed; No qualifying bean of type [javax.persistence.EntityManagerFactory] is defined | <p>I have two projects one is spring mvc and another spring data JPA. </p>
<p>I have included the springJPA project in the deployment assembly and build path of MVC project. exported maven dependencies using order and export in springJPA.</p>
<p>I am trying to Autowire PatientRepository into the controller and get th... | 0 | 7,786 |
An exception has been thrown during the rendering of a template | <p>I am updating a value using id of a product in symfony2.16 also using MngoDBbundle</p>
<p>but I am getting error like this</p>
<blockquote>
<p>An exception has been thrown during the rendering of a template ("The
"acme_store_update" route has some missing mandatory parameters
("id").") in AcmeStoreBundle:Def... | 0 | 1,952 |
Bubble sort algorithm in MIPS | <p>I'm trying to write a procedure in assembly that sorts an array using bubble-sort algorithm but I'm having a problem which is:</p>
<p>In <code>line 22</code>, when the first iteration executed nothing is wrong, program loads <code>array[i+1]</code> perfectly into registrar <code>$a1</code> and if the swap condition... | 0 | 1,077 |
How to Prevent Webpack Error after npm Install? | <p>I was working on a project, and everything was going good, until I did <code>npm install</code>.</p>
<p>Then, Webpack throws the following error:</p>
<pre><code>new ForkCheckerPlugin(),
^
TypeError: ForkCheckerPlugin is not a constructor
at makeWebpackConfig (/home/nsanz/Documentos/git/tachology/webpac... | 0 | 10,764 |
Read from file in eclipse | <p>I'm trying to read from a text file to input data to my java program. However, eclipse continuosly gives me a Source not found error no matter where I put the file.</p>
<p>I've made an additional sources folder in the project directory, the file in question is in both it and the bin file for the project and it stil... | 0 | 1,095 |
mysql pivot/crosstab query | <p><strong>Question 1:</strong> I have a table with the below structure and data:</p>
<pre><code>app_id transaction_id mobile_no node_id customer_attribute entered_value
100 111 9999999999 1 Q1 2
100 111 9999999999 2 Q... | 0 | 2,526 |
Nginx Error Pages - One Location Rule to Fit Them All? | <p>Having the following nginx vhost config:</p>
<pre><code>server {
listen 80;
listen 443 ssl;
server_name default;
root /var/www/default/html;
error_log /var/www/default/log/error.log;
access_log /var/www/default/log/access.log;
ssl_certificate /etc/ssl/certs/ssl-cert-snakeoil.pem;
ssl... | 0 | 1,152 |
Unwanted Scroll Bar | <p>This is the second time I have encountered an unnecessary scrollbar, and the first time I fixed it by adding <code>body{margin:0;}</code>; however, I have no idea what is going on this time. Any ideas?</p>
<p>HTML:</p>
<pre><code><html>
<head>
<link rel="stylesheet" type="text/css" href=... | 0 | 1,778 |
Getting java.lang.ClassNotFoundException: com.mysql.jdbc.Driver Exception | <p>I am getting Following Exception while configuring the Connection Pool in Tomcat</p>
<p>This is Context.xml</p>
<pre><code><Context path="/DBTest" docBase="DBTest"
debug="5" reloadable="true" crossContext="true">
<!-- maxActive: Maximum number of dB connections in pool. Make sure you
... | 0 | 2,426 |
Symfony 4 - The autoloader expected class […] to be defined in file | <p>I'm trying to add an old Bundle that I have built on <strong>Symfony 3.*</strong> to <strong>Symfony 4</strong> but I get this error:<br></p>
<blockquote>
<p>The autoloader expected class
"App\SBC\TiersBundle\Controller\ChantierController" to be defined in
file
"/Applications/MAMP/htdocs/Projects/HelloSymfo... | 0 | 1,542 |
What does Hibernate @Proxy(lazy = false) annotation do? | <p>I was facing two different stack traces (see below) when trying to serialize my ESRBRating object which is a JPA entity. I am using Spring Data JPA. The controller called the service, service called the repository. I was able to resolve the issue by adding @Proxy(lazy = false) on my ESRBRating object.</p>
<p>My mai... | 0 | 4,760 |
Display a textview below a ImageView in a Gridview | <p>I try this:</p>
<p><strong>main.xml</strong></p>
<pre><code> <?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="horizontal"
android:id="@+id/mainLayout... | 0 | 1,719 |
How to make Angularjs route work with expressJs route on html5mode | <p>i have posted a question on stackoverflow (<a href="https://stackoverflow.com/questions/19561271/css-and-javascript-didnt-include-on-refresh/19561604?noredirect=1#comment29033072_19561604">css and javascript didn't include on refresh</a>) yesterday asking the question about why the css and javascript didn't incl... | 0 | 1,188 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.