title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
rJava image missing in Rstudio in OsX | <p>When I try to load library("rJava") in RStudio on OsX High Sierra, I get the error already mentioned about the image not being present:</p>
<pre><code>Error: package or namespace load failed for 'rJava':
.onLoad failed in loadNamespace() for 'rJava', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error:... | 3 | 1,080 |
Error with not finding symbol - variable in my program | <p>Okay so i was trying to learn java (as i usually do stuff with html and css) and i am just working on a very basic and generic 2d block breaker game. I came across this error and have no clue why i am receiving. i have triple checked my spelling and have checked it in multiple areas.</p>
<p>Here is my Gameplay clas... | 3 | 3,074 |
Picture not displayed when readasync | <p>I do my first Xamarin Cross Platform App.</p>
<p>I´m trying to display a picture , which comes from a TCP-Server, written by me. </p>
<p>At first I tried to reload the picture everytime the Site is requested. But because of reading the stream synchronously , the site needs a long time to load and is additionally b... | 3 | 1,148 |
Issue in porting application from 32bit to 64bit | <p>Below code is working fine as 32bit application.(Compiled on gcc 4.6.3), I ported same code to 64bit application,it doesn't give the correct output.</p>
<pre><code>#include <iostream>
#include <stdint.h>
using namespace std;
typedef unsigned long DWORD;
typedef unsigned long long int uint64;
typedef lon... | 3 | 1,076 |
Access not allowed for retrieving scripts | <p>I have a set of microservices that run behind a Netflix Zuul gateway, which implements OAUTH2 based security and issues a JWT to the browser after successful authentication.</p>
<p>All of the normal Spring MVC pages display fine, but I have one app that uses Jersey and JSP pages, where the Zuul server blocks retrie... | 3 | 1,404 |
Automatically export subscribers using Mailchimp in Laravel | <p>I am making an admin area as an easy way to keep track of my subscribers. All I want is to display and update their email address every time someone new subscribes to my list. As shown below I want the email addresses to go under email. I am sure there is some sort of code that I need to use to get subscriber inform... | 3 | 1,276 |
To remove all style attributes BUT NOT TO REMOVE the style attributes which are available in table - PHP | <p><strong>How to To remove all style attributes <code>BUT NOT TO REMOVE</code> the style attributes which are
available in table</strong> - PHP</p>
<p>For example:</p>
<pre><code><div style="text-align: justify; text-indent: -13.5pt; ><strong>Motion with Constant Acceleration</strong></div>
... | 3 | 1,112 |
How do I call a validator method to validate the input that's coming through gateway before passing to the parallel flows in scatterer? | <p>I'm using Spring-integration in my project and the pattern used is scatter-gather. Here three parallel processes are being carried out. Before any of the parallel process starts I want to call a method which returns nothing but that will validate the Request body that is being sent via gateway to the main flow.</p>
... | 3 | 1,603 |
NGX-Bootstrap Navbar dropdown not working | <p>So Im trying to add a dropdown to my navigation bar. I modified the example of a dropdown on ngx-bootstrap to match a dropdown from bootstraps navbar examples but its still not working correctly. When i click the dropdown it not only shows the dropdown items but it also expands the entire navigation bar like below.
... | 3 | 1,040 |
combinig an object array into one using javascript | <p>Hi i have an array of objects using which i'll have to create one common object
below is my array</p>
<pre><code> [
{
"id": "mapbox-places.16822",
"bounds": [
-77.89820379123734,
41.0650562721515,
-77.51623302327094,
41.2527616498374
],
"lon": -77.704974,
"lat": 41.15... | 3 | 1,924 |
Port 80 closed on EC2 instance | <p>i've problem with the port 80 on EC2 instance.</p>
<p>I already added on Security Groups as in this <a href="https://stackoverflow.com/questions/5004159/opening-port-80-ec2-amazon-web-services/10454688#10454688">Issue</a>, but not working.</p>
<p>The site hosted in this instance cannot access from external IP. </p... | 3 | 1,239 |
SignalR ObjC returns "bad response code from server 403" when using WebSockets | <p>I am trying to set up an iOS client to use SignalR-ObjC with our web service. When we use the long polling approach, everything seems to work but it has issues of its own with our production environment. So I have been instructed to switch to using the Web Sockets approach. Based on code examples I've seen online ... | 3 | 1,101 |
Success callback not working in $.getJSON | <p>
I have a cross domain webservice which i want to call, however when i try to call it, i get a proper response in json (checked in firebug) but success callback never fires, instead it executes the error callback.
</p>
<p>Here is my javascript code.</p>
<pre><code><script src="http://ajax.googleapis.com/ajax/li... | 3 | 1,137 |
glGenBuffers is having an access violation even though is glew initialized | <p>I'm having a problem rendering my sprite even though I have initialized glew.</p>
<p>Here's my code:</p>
<pre><code>#include <glew.h>
#include <wglew.h>
#include <stdio.h>
#include <iostream>
#include <gl\GL.h>
#include <SDL.h>
#include "SDL_image.h"
GLuint _texturebufferID;
GL... | 3 | 1,804 |
Using PHP, Unable to post inside of function call line, able to post outside of function call line | <p>I'm using PHP, HTML, and MySQL to create a web page that lets users create text posts. I would like to avoid js and ajax for now.</p>
<p>When calling the function "post" from <strong>(post.php)</strong> the system is unable to complete the post. Removing the function line in <strong>(includes/post.inc.ph... | 3 | 1,820 |
Error with a client web service in java: [org.jboss.wsf.stack.cxf.resolver.JBossWSResourceResolver] Cannot open stream for resource | <p>I had an application in production running perfectly for 2 years and it stopped working a web client, but the URL that my client is consuming on the internet is published and working well. I realized that if I change the URL to http the web client already works. But with https it doesn't work. The contracts are the ... | 3 | 1,035 |
Error creating bean with name 'entityManagerFactory' defined in class path resource.Invocation of init method failed; | <p>I'm using flyway to migrate the db, defined spring.jpa.hibernate.ddl-auto=validate ,start with an empty db. When I compile my Maven project, I got the following error:</p>
<blockquote>
<p>Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/or... | 3 | 2,165 |
How to rotate image primitive? I have tried to use glRotatef function, but it does not get result | <p>This code must draw two sinus-lines. Here two usual lines are transformed via shader into sinus-lines. I have a task to rotate one of them(for example, for 45 or 90 degrees), how to do it?</p>
<pre><code>void CMyApplication::OnDraw()
{
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glUseProgramObject... | 3 | 1,046 |
I am making an app through android studio using multiple intents.... and the intent is giving me a hard time . So please solve this one | <p>I am using intent to transfer activity from Main Activity to another activity .. and then from same to another activity and here the problem comes.. the intent is not working from the second level</p>
<p>This is the MainActivity</p>
<pre><code>package com.rajlearning.perimeterandareacalc;
import androidx.appcompat.... | 3 | 3,400 |
Create multilingual translated routes | <p>I would like to make a route system in ASP.NET Core in which urls are translated as same as this question <a href="https://stackoverflow.com/questions/25082154/how-to-create-multilingual-translated-routes-in-laravel">How to create multilingual translated routes in Laravel</a></p>
<p>The goal is to translate the par... | 3 | 1,923 |
Member variables polymorphism | <p>I begin with C++ and I have trouble to use the polymorphism, especially when I want to use it in constructors of a new class. I know the issue has been treated <a href="https://stackoverflow.com/questions/17035951/member-variable-polymorphism-argument-by-reference">here</a> but I did not understand and my case is a ... | 3 | 1,523 |
creating new arrays based on and ordered by one original array in javascript | <p>I am writing javascript to try to do only a few simple tasks.</p>
<p><div class="snippet" data-lang="js" data-hide="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>var series = ["A","0","0","B","0","C","0","0","D","0"];
var off = 1;
var built = 1;
var position = 1;... | 3 | 2,223 |
picture doesn't appear after edit. MySQL database picture directory as null | <p>I am currently on the way of creating a web site using c# .net framework. I can add picture, name, explanation and price. When click on edit and change something the picture that i uploaded doesn't show up. I checked for the problem and realised that after my edit under RESIM column picture name doesn't show up. It ... | 3 | 3,042 |
How to append values as a new coloumn to existing text file using python | <p>I tried to append values to a file. First I unpack values from i, j from frozen set and then I append those values to a file. Again I need to append x values in another column rather than at the end of file. Kindly help me in this regard.</p>
<pre><code>from __future__ import print_function
from molmod import *
... | 3 | 1,270 |
SQL Server How to sum all fields in a row for each row of two queries and then divide them | <p>So I have two queries that look like this:</p>
<pre><code>Query1
CPT Resource 1 2 3 4 5
2017-06-11 RM1 0.000 28.000 28.000 28.000 28.000
2017-06-11 RM2 14.000 23.000 28.000 28.000 0.000
2017-06-11 RM3 0.000 0.000 27.000 27.000 0.000
2017-06-12 RM1 ... | 3 | 1,125 |
Mobile slider only responding every other touch | <p>I am trying to build a slider based upon <a href="http://css-tricks.com/the-javascript-behind-touch-friendly-sliders/" rel="nofollow">http://css-tricks.com/the-javascript-behind-touch-friendly-sliders/</a>. My goal is to make a horizontal, mobile-only slider that allows you to slide back and forth between the steps ... | 3 | 2,526 |
What is causing these upticks in this ggplot? | <p>Example data: </p>
<pre><code>df <- structure(
list(
group = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1... | 3 | 4,554 |
How to refresh or update listview using BaseAdapter? | <p>I have been trying to refresh the <code>listview</code> whenever I delete the row in it. I have used <code>BaseAdapter</code> for <code>listview</code>. I am not getting how to refresh it. I used SQLite and while refreshing I am deleting the row in Database as well.</p>
<pre><code>public class MainActivity extends ... | 3 | 3,335 |
Send CURL commands and retrieve responses from a Flask page | <p>When I launch this command:</p>
<pre><code>$python -m rasa_core.server
-d <DIALOGUE_MODEL_PATH>
-u <NLU_MODEL_PATH>
--debug
-o out.log
--cors *
</code></pre>
<p>I get the following expected results when I use the terminal for curl -XPOST commands.</p>
<pre><code>$ curl -XPOST localhost:5005/conve... | 3 | 2,332 |
Conditional Subtraction within the same column using SAS | <p>here is a portion of a data set I have named “antibody” :</p>
<pre><code>Row Subject Type Procedure Measurement Output
1 500 Intial Invasive 20 20
2 500 Initial ... | 3 | 1,120 |
Invalid default value for column/variable (ed_fec_sol) | <p>I'm trying to compile this procedure in Informix Data Base, but the result is:</p>
<blockquote>
<p>Invalid default value for column/variable (ed_fec_sol).</p>
</blockquote>
<pre><code>CREATE PROCEDURE admfte.cds93_val_deu_sol ( ec_tip_deu CHAR(02),
ec_ind_ori_com CHAR,
... | 3 | 3,277 |
Amcharts Combining Stacked and Clustered | <p>I have been working on a chart that is not available in AmChart 4/5 Demos, similar to Stacked + Clustered Bar Chart, but a different approach.
I really wanted to create this with AmChart Library.</p>
<p>Here is the sample I wanted to achieve;
I made this with javascript and html/css.
<a href="https://i.stack.imgur.c... | 3 | 8,208 |
Angular RXJS Sequential multiple post request | <p>I tried to do following function with concat map. but i'm not sure what is the correct way for that.</p>
<pre><code>//Req 01
await this.shippingInfoService.getShipmentInfoByCardId(this.data.CardId).then(async (shipmentData) => {
if (shipmentData != undefined) {
if (shipmentData.ShipmentId !== null &... | 3 | 1,034 |
Webpack configuration vs multiple bundles and ordering | <p>I have a big javascript (angularjs) application which I have bootstrapped in a Angular 8 project. Now I also have many vendor libraries that are javascript files. For example Kendo libs, JQuery, foundation (zurb). </p>
<p>I have these vendor files, and my app files included in my webpack configuration. Which looks ... | 3 | 1,405 |
Letter input crashes program, Only need number input | <p>I have two problems with a source code I am writing for my C Programming class. </p>
<p>1) We have to get an selection choice from the user of either 1, 2, 3, 4, or 5. If anything other than those choices is made, the code is to remind the user of the valid choices. I tried using default with a printf(), and it doe... | 3 | 1,265 |
Differentiate between multiple dynamic fileupload controls | <p>I'm dynamically adding multiple fileuploads to my asp.net page.
The user is able to create and delete these fileuploads from the page. The code for this is written in Javascript / JQuery:</p>
<pre><code>var opleverpuntCounter = 0;
function addOpleverpunt() {
var $opleverpuntContainer = $('#oplev... | 3 | 1,247 |
how to access .env variables for Neo4j in Nestjs v8 app.module | <p>I have what appears to be a common problem without a common solution. I am trying to access my .env data from my Nestjs app.module while importing Neo4jModule. If I use hardcoded values everything works fine but neither process.env or configService seems to get the values. I have seem many examples of this problem b... | 3 | 1,847 |
Python reshaping based on column names keeping ID & other rows | <p>What is the best way to reshape a df so it stacks columns based on a similarity in column name while keeping the unique ID portion of the column name in a new column?</p>
<p>I have a df similar to the following (my actual data also includes NaN values that need to remain):</p>
<pre><code>df = pandas.DataFrame({"RX... | 3 | 1,484 |
Polymer 1.x: Using app-drawer-layout | <p><a href="http://jsbin.com/kamusideji/1/edit?html,output" rel="nofollow noreferrer">Here is my jsBin</a>. I want to render <a href="https://elements.polymer-project.org/elements/app-layout?active=app-drawer-layout" rel="nofollow noreferrer">the code example contained here in the documentation</a> (in the 4th section ... | 3 | 1,501 |
Merge/group array values to stop duplicated parents with exactly the same fullname | <pre><code>$temp = [];
$array = [];
$array[] = array("parent_id" => 1, "parent" => "Mr & Mrs Lacey", "child_firstname" => "callum", "child_lastname" => "lacey");
$array[] = array("parent_id" => 2, "parent" => "Mr and Mrs Lacey", "child_firstname" => "daniel", "child_lastname" => "lacey");
$... | 3 | 1,665 |
MainDexClassList build error Android | <p>I have an android project that passed the 65K method limit. I enabled multidex in the build.gradle and then made my main application file that extended Application to extend MultiDexApplication. I also overrode the attachBaseContext method appropriately.I now get the following error when generating a signed APK.</p>... | 3 | 2,731 |
Child Activity ListView updates Parent Activity's ListView | <p>I have a problem where the Child Activity's list view updates the content of the Parent Activity's List View.</p>
<p>Basically, in my Parent Activity (DetailActivity) I have a List View called lvContacts which I populate with the following code:</p>
<pre><code>ListView lvDetail = (ListView)findViewById(R.id.lvCont... | 3 | 2,694 |
Each time I Publish message, just one of the consumers fired randomly | <p>I use MassTransit and RabbitMQ in the sample project. I simply try to publish a message and then consume it by 2 separated Consumers. but each time just one of the consumers fired randomly! What is the problem?</p>
<p>this is the sender method</p>
<pre><code> await _publishEndpoint.Publish(new ConsultantFinishedEven... | 3 | 1,282 |
Docker: Multiple Client/Server Containers without Hardcoding IP Addresses | <p>Good afternoon. I am brand new to Docker and I'm struggling to come up with a scalable solution for generating network traffic. I want to have many client and server containers talking with each other across a docker bridge network. Right now I have one client and one server container, and they talk to each other bu... | 3 | 1,762 |
OpenGL ES 2 Textures rendering black | <p>I am working on rending a 2d texture on a quad made of 2 triangles. However it is rendering to black even though I am passing the texture and texture coordinates to the shaders. Any help is greatly appreciated!</p>
<p>Render function:</p>
<pre><code>public void render(float[] mvpMatrix) {
// Add program to Ope... | 3 | 1,754 |
Redux.js , Webpack.js , index.html - my redux render function doesn't update the index.html DOM | <p>I'm working currently on webpack. For a reason that I don't understand, my redux functions doesn't upload the DOM.
However, the Google console returns the good results of my functions. </p>
<p>Everything seems good, but there is something in the code that create this bugg : my DOM don't render the li of my redux r... | 3 | 1,531 |
Problem with centered menu with float:left and Javascript in IE 7 and IE9 | <p>I have made menu and centered it using css: <code>margin-left:auto; margin-right: auto;</code>. This menu is made of <code><a></code> links with <code>float:left</code> property. In Firefox and Chrome and even IE8 everything is ok - menu is in the center and in one horizontal line. But in IE9 there is problem ... | 3 | 2,171 |
SQL Solve conflicting results in finding AVG trip duration for each day in a year | <p>I have a table that looks like this.
It contains bike trip data from 2 different <code>user_type</code>: member and casual.</p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>trip_id</th>
<th>started_at</th>
<th>ended_at</th>
<th>user_type</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>201... | 3 | 1,337 |
Python selenium scrape - particular informations from block of code | <p>I need scrape (and collect) some live sport stats from local betting <a href="https://www.nike.sk/live/prehlad" rel="nofollow noreferrer">site</a>. Im using python for that. So, how can I add to python dataframe actual state? In my code I have a variable "games_container ", but I dont know how extract part... | 3 | 1,035 |
Issue with Login button facebook/Firebase the redirection is the main menu instead of going into my app | <p>Hello everyboy i checked a lot of post to find my issue but nothing i tried worked so i'm here asking for your help.
It's my first post on this channel sorry if i make mistakes.</p>
<p>So my issue is the following:</p>
<ul>
<li>I need to access my app via the Facebook Button that button register the user into my fir... | 3 | 1,761 |
google bar charts animation | <p>I am trying to animate this bar charts but it doesn't seems working.This bar chart represents real time data and update in every 2-3 seconds. I want to add easing so it visualize nicely. If anyone can help me out for fix the animation it would be great. Thanks</p>
<p>The chart looks like this ;
<a href="http://post... | 3 | 2,005 |
Android SQLite MultiTable Database Development | <p>I would like to create a multi table database with all the RUD (minus the C) in a databasehandler class, but have all the tables created and updated in a helper class.</p>
<p>Here is what i've been using for a single table:</p>
<pre><code>package com.cc.folfapptest;
import android.content.ContentValues;
import an... | 3 | 2,773 |
Trying to sort struct but it isnt working? | <p>The function is supposed to sort the users by their total money from their deposits but it ain't working properly, I am sure that it is not from the variables as it is still displaying what it needs to but not sorted, where am I wrong?</p>
<pre><code>
for(int i = 0; i < *br; i++)
for(int j = 0; j <... | 3 | 1,198 |
Why only the first function inside onclick event handler sets innertext properly and the second one gives NaN? | <p>I tried to create a basic expense tracker website using DOM manipulation. When I am calling two function at a time in an onClick event handler, the one I called at first place does it's job fine to set the innertext in html. But the function I call after first one sets the innerText as NaN! It behaves same even if I... | 3 | 2,135 |
jQuery - asp.net mvc- Field is not accepting more than one comma in a sequence of numbers -float numbers | <p>For example, if I enter 5,000, the system recognizes as 5,00</p>
<p>Another problem that happens is that if I type, for example 5,100 the system recognizes as null and saves the value as 0.00</p>
<p>I tried everything to understand the problem, but I couldn't</p>
<p>How would I get fields to recognize values ente... | 3 | 1,466 |
Java RegEx matcher breaks characters outside the BMP | <p>I'm currently writing a util class to <em>sanitize</em> input, that is saved to an xml document. Sanitizing for us means, that all illegal characters (<a href="https://en.wikipedia.org/wiki/Valid_characters_in_XML#XML_1.0" rel="nofollow noreferrer">https://en.wikipedia.org/wiki/Valid_characters_in_XML#XML_1.0</a>) a... | 3 | 1,047 |
Set background color of QtTableWidget cell based on dataframe result condition | <p>I'm attempting to change the background color of a cell after a specific condition is met in a PyQt5 UI that will be displaying SQL results in a pandas dataframe. My assumption is the condition would need to be set within the QtTableWidget in the process of taking the dataframe results and pasting them into the wind... | 3 | 1,142 |
React native android on Windows: Task :app:generateDebugBuildConfig FAILED | <p>I am trying to run an app on an Android emulator. After following the instructions in the React Native docs for installing Android Studio and setting the environment variables, I can create the default project, AwesomeProject, with "npx react-native init" but I cannot run it.</p>
<p>Keep failing the task
<... | 3 | 9,165 |
Problem with PrimeFaces TextEditor in Dialog after update from PrimeFaces 7 to 8 | <p>I have a JSF application with PrimeFaces that I'm updating to PrimeFaces version 8 (currently using version 7).</p>
<p>After updating I have a strange behaviour with a TextEditor in a dialog. I open the dialog with a commandLink and update the dialog to refresh its contents. When I do this I get an error on the Java... | 3 | 1,335 |
How to animate ContentPresenter Panel.ZIndex property? | <p>I have <code><ItemsControl></code> which create view for my <code><custom:Pack></code> list:</p>
<pre><code><ItemsControl ItemsSource="{Binding List}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<local:ShelfPanel />
</ItemsPanelTemplate>
... | 3 | 1,382 |
My content slider won't work | <p>I have some HTML, CSS and Jquery written but it doesn't work. I just want the slider to fade the image in and the content in and then slide it to the right without the other slides showing.</p>
<p>Here is my HTML:</p>
<pre><code> <div class="slider">
<div id ="1">
<... | 3 | 1,164 |
How to implement return codes in DdeCallback function | <p>What is the correct way to write <code>DdeCallback</code> function? To be more precise, I'm talking about return codes.</p>
<p>From the official <a href="https://msdn.microsoft.com/ru-ru/library/windows/desktop/ms648742(v=vs.85).aspx" rel="nofollow">docs</a>:</p>
<blockquote>
<p>The return value depends on the t... | 3 | 1,059 |
Create indicator variable by groups in R similar to Stata's "by" | <p>I've been learning R and have found several resources that almost do what I want, but not quite (or at least not so that I've understood!)</p>
<p>I have code that works fine to get my intended result in R (I usually use Stata) but it's incredibly slow and I know that's because I've brute-forced something that I'm s... | 3 | 2,347 |
Delphi - DataSet creating too many connections in MySQL | <p>I am having a problem using the TFDDataSet component in my application.<br><br>
I have a function that fetch many times if a customer has new orders. If it returns empty the function ends.</p>
<pre><code>...
fdm_XMLREsumo.Close;
fdm_XMLREsumo.Active := false;
_DataSetJSON := SM.GetXMLResumoChave( pEn... | 3 | 1,176 |
AngularJS component modal not updating after a Promise | <p>I created a sample angular js app with components and tried to load data from an API which is a Promise.</p>
<p>The problem here is when the promise is resolved the response data is not updating in UI, Modal is updating if I do a <code>$scope.$apply()</code>. I tried $onChanges but that too didn't help!</p>
<p>Thi... | 3 | 2,497 |
Qt5.11 app plugins build error occurs: Signal and slot arguments are not compatible | <p>I want to develop an <strong>plugin-based Qt application</strong>.</p>
<p>As one part of the app, plugins should be able to add toolbars or widgets to app's MainWindow.
I think the toolbar of plugins should be created within plugin's implementation and passed to MainWindow. </p>
<p><a href="https://stackoverflow.c... | 3 | 1,298 |
Intellij IDEA 12 only outputs the last line | <p>I'm running an application on JBoss AS7. When I start the server, all the init logs from JBoss are correctly shown in the Output view but the application logs aren't. I only have the last line that overrides the previous one. </p>
<p>The application logs are written to the console via logback :</p>
<pre><code><... | 3 | 1,130 |
Terraform : Expected an attribute value, introduced by an equals sign ("=") | <p>I'm working on a terraform script which integrates API Gateway to DynamoDB using HTTPS/POST request. The basic objective is to insert the records that are passed in the API request body in the DynamoDB table.
I'm using aws_api_gateway_integration to define the integration and there I'm passing the request template w... | 3 | 1,547 |
Add serialized item tracking details to a transfer | <p>So we are trying to shore up some gaps with implementing Microsoft Dynamics Business Central 365. Currently testing out v19 W1 on-prem. One of our use cases involves serialized items. To help shortcut the process, since the Serial No. values are unique across all items, we'd like to be able to manage items at the se... | 3 | 3,905 |
Injecting JSON data into an AngularJS Bootstrap modal | <p>I searched all over S-O for an answer to this issue, but none seemed to work for my particular case. If this is potentially a duplicate, please forgive me.</p>
<p>What I'm trying to do is insert my JSON data into a modal (which uses UI-Bootstrap) but I've been running in to trouble. I tried many different examples ... | 3 | 4,601 |
javax.el.PropertyNotFoundException IN SHOPPING CART | <p>I am working on a shopping cart but when i try to display the contents of cart it gives me an error called <strong>HTTP Status 500 - javax.el.PropertyNotFoundException: Property 'IdNumber' not found on type Cart.CartItemBean –</strong>
I am using a bean on Jsp to diplay the contents of cart.</p>
<p><strong>Shoppin... | 3 | 3,920 |
Unidentified PHP Variable with pdo Database Connection | <p>I get the following error:</p>
<blockquote>
<p>Notice: Undefined variable: WohFK in C:\xampp\htdocs\Projekt\Controller\controller.php on line 29</p>
</blockquote>
<p>when i'm trying to Hand Over my Variable to the Controller</p>
<p>Select.php:</p>
<pre><code><html>
<head>
<script
src... | 3 | 2,200 |
pycuda seems nondeterministic | <p>I've got a strange problem with cuda,</p>
<p>In the below snippet,</p>
<pre><code>#include <stdio.h>
#define OUTPUT_SIZE 26
typedef $PRECISION REAL;
extern "C"
{
__global__ void test_coeff ( REAL* results )
{
int id = blockDim.x * blockIdx.x + threadIdx.x;
int out... | 3 | 1,405 |
Smooth convolution in CUDA C++ | <p>I'm new at CUDA and I'm trying to implement smooth convolution on an image and so far I have this, but the result is wrong.
not sure if I did the offset movement correct. Any help?</p>
<pre><code>
__global__ void smooth(unsigned char* device_out_image, float kernel_size, unsigned char* device_input_imag, int height,... | 3 | 1,137 |
TypeError when trying to pass output of one function to another function | <p>I'm trying to make a chat room/text message tool with python. I need to connect to the server with the <code>.connect() method</code>. Every time I go somewhere outside of my house and connect to wifi, my private ip address changes, so I want my code to adapt to that situation by passing <code>os.system("ipconf... | 3 | 1,691 |
How to Swipe Refreshing Layout In Recyclerview Like (YouTube) | <p>How To Refresh <strong>RecyclerView</strong> List Like YouTube By Swiping Refresh layout<p>
<strong>activity_main.xml:-</strong>
This Is My Main Activity java</p>
<pre><code><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmln... | 3 | 4,298 |
Experiment controller using a generic array and method | <p>I am trying to find the time it takes for a Bubble sort method of sorting an integer array vs a selection sort.</p>
<pre><code>public class ExperimentController
{
private static int[] intArray = {};
public static void main(String[] args)
{
System.out.println("");
ExperimentCo... | 3 | 1,738 |
FabricJs: object border grows beyond grid cell | <p>Using FabricJS, I am working on a prototype where in objects are drawn with border. Border size is an exposed property which can be changed by user. Canvas has Grid. Objects are drawn within grid cell. My issue is, border goes beyond grid cell. Please see the screenshot<a href="https://i.stack.imgur.com/OV1H5.png" r... | 3 | 1,347 |
Tensorflow Isn't Recoginizing One Hot Encoded Labels | <p>I am training my CNN on 10K grayscale images which are resized to 50x50px, with 6 classes using a one hot encoder. When i train the model i get the model from an insanely high loss to down at about 190 (my lowest i could get) and a terrible accuracy of approximately 16%. When i make a prediction using 10 test images... | 3 | 1,387 |
Queryselector to get child elements | <p>I am trying to get the HTML tag as marked in the picture but I am always getting length as 0.</p>
<p>I tried in these ways</p>
<pre><code><one-appnav data-data-rendering-service-uid="141" data-aura-rendered-by="261:0">
<div class="slds-context-bar" data-target-selection-name=&q... | 3 | 1,432 |
Setup Airflow with remote Celery worker | <p>I have Apache Airflow setup on a virtual machine that is within the local network and would like an extra Celery worker to be running on my local machine that still syncs with the rest of the <code>airflow</code> system.
So far, after I start the worker on my local machine, the DAGs present on the local machine is n... | 3 | 3,474 |
Firebase functions not registering document which definitely exists | <p>I am trying to create a firebase function HTTP endpoint which will allow the posting of a user ID and return if the user exists in the database or not.</p>
<p><strong>Structure of my database:</strong></p>
<p>User ID = document ID in users collection</p>
<p><a href="https://i.stack.imgur.com/1J8Xk.png" rel="nofollow... | 3 | 1,358 |
Could not create a collection in MongoDB Sharded Cluster other than db:admin? | <p>Recently I am setting up a MongoDB Sharded Cluster with version 5.0.6 by following the official documents from MongoDB and up to a point that I am able to create and shard collections in admin db.</p>
<p>However, when I am trying to use other databases to create collections, I am getting an error as below:</p>
<pre... | 3 | 4,898 |
Vue.js Modal component shows up in component list, but the modal doesn't actually show | <p>I'm trying to display an items details on click of a button, I have the data going to the modal properly, but I can't seem to get the modal to actually show up. I've tried different implementations of a modal in the template, and the closes I've gotten was having a grey screen show up on the button press. I'm at a l... | 3 | 1,095 |
Set up Ignite cluster with SSL in spring using SSLContext.getDefault() | <p>I'm trying to set up an <a href="https://ignite.apache.org/" rel="nofollow noreferrer">Ignite</a> cluster with SSL encryption in my Spring application.
My target is to set up a replicated cache over several nodes.</p>
<p>We deploy our application into a Tomcat 8 and set environment variables for our Key- and Trusts... | 3 | 1,884 |
Scraping from multiple url's using beatifulsoup | <p>I have my code working. Now I would like to do a little bit of modification to get the date from multiple URLs, But URLs have only one word difference. </p>
<p>Here is my code, I am fetching from only one URL.</p>
<pre><code>from string import punctuation, whitespace
import urllib2
import datetime
import re
from b... | 3 | 1,058 |
RavenDB backup fails | <p>I try to make backup for RavenDB. Especially for this I have console application</p>
<pre><code>var req = WebRequest.Create("http://localhost:8081" + "/admin/backup");
req.Method = "POST";
req.UseDefaultCredentials = true;
req.PreAuthenticate = true;
req.Credentials = CredentialCache.DefaultCredentials;
string post... | 3 | 1,425 |
Rails 4: Odd Activerecord sort order | <p>Like in <a href="https://stackoverflow.com/questions/11993683/rails-3-2-activerecord-association-order-with-eager-loading-and-ordering">this question</a> I am looking to eager load another object and then sort the list based on a value from the eager loaded object. </p>
<p>Given parent <code>Foo</code> and child... | 3 | 1,212 |
psd to html table height adjustment auto | <p>It is my first trial to make an HTML code out of a PSD file. The problem is I have a dynamic table whose content is getting taller depending on selected buttons. However, this creates a problem. The other columns creates ugly intervals with white background instead of the background color I used. </p>
<p>I have rea... | 3 | 7,354 |
loop for json data extraction | <p>this is webhook
. i recive json form api with this . i need extract json tags and send to mysql database . problem is it not sent all json tags . i think it need loop at the step i tag with this step at code . thanks .</p>
<pre><code>import json
import urllib.parse
import urllib.request
import mysql.connector
url... | 3 | 3,463 |
ValueError Expected singleton many2many field | <pre><code>professor class
</code></pre>
<p>{# -<em>- coding: utf-8 -</em>-
from odoo import fields, models, api
from datetime import datetime</p>
<pre><code>class GiProfesseur(models.Model):
_name = "gi.professeur"
_inherit = ['mail.thread']
_description = "Professeur du département de Genie... | 3 | 1,050 |
How to asynchronously load images for UICollectionViewCell without reuse issues? | <p>Background of problem: I am using Kingfisher to download and set images for all of my collection views and table views in my app. This works well, but I have one specific use case that I'm pretty sure Kingfisher doesn't have built in.</p>
<p>What I am trying to do: Download multiple images for a single collection v... | 3 | 1,192 |
How to control cycle2? | <p>friends there is something that I want to do for a week with cycle 2 slideshow plugin but I failed every time let me tell you What I want to do I'm trying to do categorized slideshow.I have filters on my cycle2 carousel (you will see on example)</p>
<p>I have 3 categories (or more than 3)</p>
<pre><code> <ul c... | 3 | 1,901 |
How can I save Video with Overlay using Dlib? | <p>I am using Dlib 19.2 with VS2015 .I was executing the below program as mentioned in this link '<a href="http://dlib.net/webcam_face_pose_ex.cpp" rel="nofollow noreferrer">http://dlib.net/webcam_face_pose_ex.cpp</a>'</p>
<p>I want to save the video with all landmarks on each frame.How can I do this?
I am running the... | 3 | 1,054 |
Importing OptaPlanner-Core.jar into the drools workbench | <p>I am trying to write some business rules for use with OptaPlanner from the drools workbench. In order to do so, I need to add the optaplanner-core.jar file as a dependency so my rules files will validate and build. When uploading the jar file, I get this exception:</p>
<pre><code>May 14, 2015 2:41:28 PM org.kie.w... | 3 | 2,701 |
error with using android and SHOWasAction attribute to make the menu bar appear | <p>i need to have a menu or an action bar that must be display when the user use the application but the problem is that the menu items do not show only ofter i click the menu button on the emulator can anyone help me ????</p>
<h1>test.java</h1>
<pre><code>package com.example.test;
import com.example.test.R;
... | 3 | 1,564 |
circle showing up as square in pygame | <p>I am making pong in pygame, and I currently have both paddles and their movements done. I am trying to create the ball, but when the ball is rendered on the screen it is as a rectangle, not a circle. Here is my code:</p>
<pre><code>import pygame
pygame.init()
from pygame.locals import (
K_UP,
K_DOWN,
K_s,
K_w, ... | 3 | 1,812 |
Is there a way to have box with text in it along with a text input box? | <p>So, I am trying to make a text-based game using pygame, and I am testing out two tutorials. One talks about how I can create a box to hold text, and the other is showing me how to create a text-input box. Now, I am trying to combine these two aspects to create a game that has both, but whenever I try to run it, a wi... | 3 | 2,086 |
Getting XML File Into Parse.Com Class | <p>I am trying to take a directory that is currently an RSS in XML format, and upload it as a class into Parse.com. The structure of the XML is:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0" xmlns:atom="http://www.w3.org/200... | 3 | 2,438 |
I want to use a variable outside of "public void actionPerformed(ActionEvent e) {}" | <p>I need to create a GUI and enter the height and width there, click on the button and a new window will start with these heights and widths. Аt the moment I have variable values width and height which are set in public void actionPerformed(ActionEvent e) {} and I want to use them to transfer the values for a new... | 3 | 1,114 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.