title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
Data not rendering after OnCLick | <p>I am trying to display the data after hitting the "Show the data" button. I can see the data in the console but it is not being display on the page. Could anyone help me out and guide me to let me know what is my mistake. Been struggling for days now. Below is my code. I have edited critical information in... | 3 | 1,189 |
How can I get all the XSD validation errors from an XML file in dotnet? | <p>Caveat: I'm fairly new to .NET so I'm unfamiliar with a lot of libraries available.</p>
<p>I have developed a function app using java that I'm having to port over to C#. I am currently using the built in XSD validation library for .NET and my file <em>is</em> being successfully validated, however when testing the r... | 3 | 2,825 |
django field using pictures instead of text | <p>If I choose one of whose input value is radio in HTML and submit, the selected one is delivered to the models, and finally, I want to retrieve the selected image from HTML again.
But I can't even get a clue. What should I do?
And I also wonder how to connect and use these with forms.py and html.
I want to know the ... | 3 | 1,695 |
In R, create a new column based on the order of a 2nd column grouped by a 3rd column | <p>This is very similar to some other questions, but I wasn't quite satisfied with the other answers.</p>
<p>I have data where one column is the outcome of a Latin Square study design, where a participant had three conditions that could have come in six possible orders. I do not have a variable that indicates the order... | 3 | 1,189 |
Can't update user's info clicking on a submit | <p>Everytime an user register in my website, they have a "free account".
In my website there're 4 types of accounts:</p>
<p>Free - 2GB</p>
<p>Basic - 5GB</p>
<p>Ultra - 10GB</p>
<p>Plus - 25GB</p>
<p>Each one with an unique id.
I have created this code. Depending of the submit you click, your user get one of those... | 3 | 1,888 |
graphql cache DataIdFromObject not causing React re-render | <p>I have two mutations <code>onLike</code> and <code>onSubmit</code> defined in one react component. For <code>onLike</code> mutation, I can use cache with <code>DataIdFromObject</code> to update the data without refetching the data with either <code>this.props.data.refetch()</code> or <code>refetchQueries: []</code>.... | 3 | 1,288 |
DropDownListFor is not binding with model property | <p>I do not know why dropdownlist is not working in this particular case: </p>
<p>I know, that i have ProjectID > 0, but in dropdownlist i always see first item selected.</p>
<p>Controller:</p>
<pre><code>Helpers h = new Helpers();
[HttpGet]
[ActionName("Timesheet")]
public ActionResult TimeSheet(LoggedAssociate as... | 3 | 1,073 |
Why is "user" time different for same executable on two different AMD machines? | <p>Have tried execute the below source code on two different AMD machines which has same configurations.</p>
<p>The "user" times are different for both the machines</p>
<p>Same Source code is compiled with gcc 9 on both machines.
They have the same objdump on both the machines.</p>
<p>Here is the <strong>sour... | 3 | 1,601 |
Google App Script User Scope Approval for new scope | <p>I've added the <code>script.external_request</code> scope to my GMail Add-on so that I can connect to and store information in a MySQL dB.</p>
<p>The scope was submitted and approved by Google OAuth and Marketplace SDK.</p>
<p>If I run the script in the editor from the HEAD deployment, I get the OAuth approval workf... | 3 | 1,114 |
Elixir Wallaby crashes on mix test | <p>I am trying to incorporate Wallaby into my phoenix app. I have followed the setup guide closely and made sure that phantomjs is properly installed, however on mix test I get the following error:</p>
<pre><code>** (MatchError) no match of right hand side value:
</code></pre>
<p>My operating system is Windows10.
Eli... | 3 | 2,740 |
Image Isn't upating when going back to main activity | <p>Ok, I've got two activities, in the main activity there is an image button that takes you to a profile page activity where you can click on another image button and access your photo gallery to set a profile picture which is saved into Firebase storage and as a url in the database. This all works, the problem is tha... | 3 | 2,800 |
Semaphore time out while looping thu serialport.open() | <p>I have a piece of code which scans for all available comports. And than it will try to find the correct device by opening the comport and send a message, if the message is correct I have find the correct device. Now this worked pretty well but now I discovered a bug. I think I know what is happening but I'm not sure... | 3 | 2,031 |
Using an if statement to update OR insert into | <p>I have the following code which up dates my database table perfectly. However, I now wish it to either, update an existing row if the value of $status is 'open', or create a new row if the value of $status is 'completed'.</p>
<p>This is my code so far;</p>
<pre><code> <?php
if (isset($_POST['submit_u... | 3 | 1,358 |
How Can I Insert Data Into Database From A Form Properly? | <p>so I've been working on a form using an MVC approach that will insert data into a database using PDO. I have the addWine form, addWine controller, data access model and wine class model. On submission of the form nothing happens and the database isn't populated. Can someone pinpoint what I have done wrong here? </p>... | 3 | 2,480 |
DependencyProperty not update | <p>I have a user control with IsChecked Property</p>
<pre><code>public static readonly DependencyProperty IsCheckedProperty = DependencyProperty.Register(
"IsChecked", typeof(bool), typeof(LabeledCheckbox),new FrameworkPropertyMetadata
{
DefaultValue = false,
BindsTwoWayByDefault = true,
... | 3 | 2,106 |
Android Eclipse: database doesn't seem to work when APK is installed to an external device | <p>I am a beginner mobile developer and I am developing a directory app using eclipse for android. I am not really good in coding and programming so I really need help. </p>
<p>My app works good in my laptop, in eclipse emulator but when I run it in my phone, or manually copy the apk and install it in my phone, the ap... | 3 | 4,572 |
Tailwind/Flowbite modal not working with Vue.js 3 v-for | <p>I am trying to call a tailwind modal from a table where the rows are generated from a for loop in vue.js with <code>v-for</code>, but the modal fails to be called. However I generate the table without the for loop it works just fine. Here is the code:</p>
<h3>Table code (with v-for loop)</h3>
<pre class="lang-html p... | 3 | 2,867 |
Why decodeAudioData for Icecast stream only works on Desktop Chrome browser | <p>I have a livestream that is served through Icecast as an audio/mpeg. I use the following code to grab the audio from a livestream to listen to the audio:</p>
<pre><code> function playLiveAudio() {
// Fix up prefixing
window.AudioContext = window.AudioContext || window.webkitAudioConte... | 3 | 1,565 |
ImputError: cannot import name "function" from "module.py" | <p>In Jupyter Notebook:
repo:</p>
<ul>
<li>module: featurestorehouse.py</li>
<li>main: preprocessing.ipynb</li>
</ul>
<p>I have several functions in featurestorehouse.py, I need to import most of them, and some of them, particularly the ones I wrote earlier in time, work when I import them. However, the more recent one... | 3 | 1,556 |
How to repeatedly loop over subsets of a collection determined by an attribute of the items? | <p>I have a collection of objects owned by a struct <code>Manager</code>. These objects have optional attributes such as <code>printable</code> or <code>dynamic</code>. I want to repeatedly loop over all printable objects to print them and loop over all dynamic objects to update them. My rather naive implementation is ... | 3 | 1,120 |
Facing Errors in Laravel | <p>I am creating admin panel. When user update their profile its <code>userid</code> read by update controller method using route name <code>update</code>. The update controller method returns a view <code>updatedata</code> along with an array. I am using ORM DATABASE</p>
<p><strong>Controller</strong></p>
<pre><code... | 3 | 1,181 |
Using jQuery each, scrollTop() returns zero | <p>I'm having a problem using a jQuery <code>scrollTop()</code> function with <code>$.each.</code> Every time, no matter how many <code><div class="panel"></div></code> elements are, <code>scrollTop()</code> function returns zero. I've used code in the <a href="https://stackoverflow.com/questions/14782087/g... | 3 | 3,445 |
Notification not displaying on android device. (Azure notification hub) | <p>I'm trying do send a push notification to my android emulator. When the notification is sent, it receives the notification but does not display it. </p>
<p>I'm using this code to display it. </p>
<pre><code>void SendNotification(string messageBody)
{
var intent = new Intent(this, typeof(MainActivity));... | 3 | 1,068 |
Bug correction in WSO2 API Manager 2.0.0 | <p>Does WSO2 API Manager 2.0.0 still has <a href="https://wso2.org/jira/browse/APIMANAGER-4242" rel="nofollow noreferrer">this</a> bug, which was corrected with <a href="https://github.com/wso2/carbon-apimgt/commit/c44febfd813ff5aa8f59cdd77e492e12c7535445" rel="nofollow noreferrer">this</a> commit?</p>
<p>I'm asking b... | 3 | 4,731 |
Adding timestamp on the top of the plot using Matplotlib | <p>Is there a way to add timestamp <code>t=0</code> on the top of the plot at the specific location as shown in the expected output? In general, does Python have a time counter which appears on every frame and is split according to the number of frames? I present the current and expected outputs.</p>
<pre><code>import ... | 3 | 1,308 |
How to remove space between expanded ExpansionPanels in ExpansionPanelList? | <p>This is an example code for <code>ExpansionPanelList</code></p>
<pre><code>import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
static const String _title = 'Flutter Code Sample';
@override
Widget... | 3 | 1,184 |
Suppressed the virtual mechanism by storing object explicitly as base class? | <p>As you'd expect, I've arrived at a question I can't answer and I can only guess.</p>
<p>Runtime polymorphism is the goal, using the virtual mechanism, but the result I'm getting is as if I called the method while suppressing it; like I called the base class method.</p>
<p>I can only guess then that I am somehow do... | 3 | 1,303 |
bsimagepicker Terminated due to memory issue | <p>I am using <code>Bsimagepicker</code> for multiple selection of images from the gallery. <code>Bsimagepicker</code> is working for small size images, When try to load high quality image with large size leads to </p>
<blockquote>
<p>"Terminated due to memory issue"</p>
</blockquote>
<p>Here is my code:</p>
<pre>... | 3 | 1,132 |
Allowing routes with and without {culture} (.net core 2.2) | <p>UPDATE: I got it working - added the following to the routes:</p>
<p>[Route("{culture}/[action]")]</p>
<p>[Route("/[action]")]</p>
<p>Problem is now when I am on /da/about it won't add the /da/ to the links generated on the AnchorTagHelper. </p>
<hr>
<p>Trying to allow culture in the routes. But I also want it ... | 3 | 1,325 |
Select option only affects row one - php-jquery-mysql | <p><strong>Hi ! I used mysqli for my connection in database.<a href="https://i.stack.imgur.com/6Xt4E.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6Xt4E.png" alt="enter image description here"></a></strong>
My problem is the second and the following rows is not affected whenever I select new optio... | 3 | 1,097 |
Wordpress meta_key with checkboxes | <p>I have a custom post type which contains a checkbox group "areas" which allows the user to select multiple areas covered by their service.</p>
<p>On the frontend, I have a custom search query in place which allows the user to refine by basic criteria.</p>
<p>It's working ok but I've hit a wall with the checkboxes.... | 3 | 2,775 |
sam local invoke gets connectionRefused when accessing S3 from localstack | <p>I'm running localstack where I create an s3 bucket. But when I invoke a lambda function with SAM to list the buckets, the connection is refused.</p>
<p>I start localstack with</p>
<pre><code>localstack start
</code></pre>
<p>then I create and list a bucket with a python script:</p>
<pre><code>import boto3
BUCKET_NA... | 3 | 12,460 |
WPF circular progress bar: how to move hard coded property | <p>In my application i am using <code>Circular progress-bar</code>.
So in case i want to use this controller in several places how can i set the <code>Radius</code> property in my <code>XAML</code> instead of using the current value which is all the time 100 ? (in class <code>CircularProgressBar</code>)</p>
<p>This is... | 3 | 3,350 |
Smooth scroll anchor link requires unwanted double click | <p>Hey I'm trying to fix a tab inspired page for mobile. When the user clicks on a round circle it should ge to the text. Than when you click "Terug naar keuzemenu" you should go back to the circles (the navigation of the tabs). However when I want to go to other tabs the first time I click he doesnt scroll to the text... | 3 | 9,548 |
Eliminate Half Strings when receiving from Server socket Buffer in JAVA | <p>I have written a simple NIO Server and Inner-Client (Inside the same program)in a single program such that Server receives data from outside and the Inner-Client sends the data received by the server to out side Server. I am running both the processes continuously in two parallel threads using While() loops. Now the... | 3 | 2,532 |
Why am I getting an "Items Collection Must Be Empty" exception with nested DataGrids? | <p>I'm using nested DataGrids to manage classes with nested class collections.</p>
<p>Each nested class is represented by a cell template.</p>
<p>This is a minimal mockup which reproduces the issue : </p>
<pre><code>using System.ComponentModel;
using System.Linq;
namespace ICMBE{
public class Outer : INotifyPro... | 3 | 3,799 |
Mysqli Query result to variable | <p>I was trying to make a MySQL word with PHP, and I want to call the result into the next page using session. So I can put the result in the ms word file, but the value in <code>"$_SESSION['kode_faskes'] = $d['kode_faskes'];"</code> was stated as <code>null</code>.</p>
<blockquote>
<p>Notice: Trying to access array... | 3 | 1,219 |
Why is my JSon giving me nulls on sub-arrays? | <p>I've been having a ghastly time trying to get an incoming Json message to serialize (and deserialize correctly). First is the incoming Json that I'm posting to our MVC rest service via POSTMAN. Validated it through JsonLint. The main problem is the two sub-arrays, accounts and propertyValues come through as null.... | 3 | 1,801 |
How can I move an image and scale or resize it in the same activity | <p>how's it going? I was wondering if anyone had any ideas on how to move an image and resize it within the same activity? I setup a listener to move the image and that works well. The commented out code was used to resize the image and that worked well also. But I am struggling to figure out how to implement some kin... | 3 | 4,206 |
401 Unauthorized (WebException) while posting status on Twitter from Universal app | <p>I want to give a feature to login to Twitter & to post Tweet from Windows 8.1 Universal app. Please don't suggest me to go for 3rd party library. I just want to do two things only. My efforts are given below. I doubt my authentication is wrong. I am getting <strong>System.Net.WebException => The remote server re... | 3 | 3,646 |
How to socket a asBroadcastStream so that it can be used in a stream builder? | <p>Hello i ran into a problem on Streams, specifically on how to use a broadcast stream for socket programming. Here is the code:</p>
<pre><code>import 'dart:async';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'dart:io';
import 'dart:typed_data';
import 'package:tcp/othermes... | 3 | 3,701 |
Start another Activity | <p>Maybe you can help me with my problem.</p>
<p>I have a <code>linearLayout</code> with a click listener and now I want to start another activity.
But I get always an error when opening the app. </p>
<p>Is the failure in my <code>onClick</code> or in the <code>PlaylistActivity</code>?</p>
<p>It works in an other pr... | 3 | 2,674 |
Get an X(std) value of efficient frontier from a given Y(mean) value with cvxopt? | <p>I'm trying to do portfolio optimization with cvxopt (Python), I'm able to get the efficient frontier with the following code, however, I'm not able to specify a Y value (mean or return) and get a corresponding X value (std or risk), if anyone has knowledge about this, I would be more than grateful if you can share i... | 3 | 1,028 |
how to use a JComboBox object as a parameter of a java method? | <p>I get an error message due to the JComboBox parameter I am using in my code.
The method is:
<code>public void miseAJourComboBox(JComboBox<String> jcb)</code></p>
<p>The message is:</p>
<pre class="lang-none prettyprint-override"><code>error: cannot find symbol
public void miseAJourComboBox(JComboBox<String&... | 3 | 4,585 |
No inverse error during encryption (node-rsa) | <p>I am trying to convert <a href="https://clover.app.box.com/s/rz18bni3bpmdrc8wc92xm4w8h9grrtty" rel="nofollow noreferrer">https://clover.app.box.com/s/rz18bni3bpmdrc8wc92xm4w8h9grrtty</a> from Java to node.js</p>
<p>I am using the node-rsa package and getting <code>error:0306E06C:bignum routines:BN_mod_inverse:no inv... | 3 | 1,099 |
how to resolve the "Sass::SyntaxError: Invalid CSS" error in Liferay 6.2? | <p>I am using Eclipse Kepler-4.3 and Liferay 6.2 CE GA5.</p>
<p>I tried to deploy a theme but I got this error:</p>
<blockquote>
<pre><code> [echo] Loading jar:file:/D:/FormationJEE/Liferay/LiferayGA5/tomcat/liferay-portal-6.2-ce-ga5/tomcat-7.0.62/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
[echo] Lo... | 3 | 3,517 |
Logging across sub-modules – how to access parent logger name from sub-modules? | <p>I am trying to add logging to my python application that has several modules and submodules. Several sites say to create child loggers in modules. The advantage I see is that the child logger inheriting the parent logging config, it will provide consistency for the logging output (handlers, formatters, ...).</p>
<p... | 3 | 1,314 |
Unknown error inserting in table in Python 3 | <p>I'm trying to do a class to access a database in Sqlite3 in Python 3.
The database was created and when I check if its inserting on the database I get the following error on the second line of the <strong>init</strong> method:</p>
<pre><code>File "~/implementacao 2/Dabase_Connection.py", line 16, in __init__
se... | 3 | 1,282 |
Avoid ConstraintViolationException in JPA and OneToMany relationship when merge | <p>What I want to achieve with the example below is to avoid the constraint violation exception that occurs
when run the following:</p>
<pre><code>Parent p = new Parent();
Set<Child> children = new HashSet<Child>();
Child c = new Child();
children.add(c);
p.setChildren(children);
entityManager.merge(p);
e... | 3 | 1,190 |
android app running in background with timer task,suddenly stop the task | <p>I make app in android with scheduled task and running in background, but when i open other app and do it something with my device,then i back to my app to check the task,the task is stopped. i have logcat like this,does somebody now what i'm doing wrong??</p>
<pre><code>05-10 17:55:14.520: W/GpsLocationProvider(149... | 3 | 1,987 |
Revert back to the previous version of a specific time in a temporal table of MariaDB | <p>I have a MariaDB temporal table as shown in below.</p>
<p><strong>Schema</strong>:</p>
<pre><code>MariaDB [teamdb]> DESCRIBE t2;
+-------+---------+------+-----+---------+---------------------------+
| Field | Type | Null | Key | Default | Extra |
+-------+---------+------+-----+---------... | 3 | 1,194 |
Setting the width and ellipsis to the <td> element of a table | <p>I am having table in which text inside the td's are of different length. I want to give fixed width to the td elements and the use <code>text-overflow: ellipsis</code> on the td elements, so that the whole text would not be shown. I have tried different ways but nothing works, please somebody help me with how I can ... | 3 | 1,842 |
How can I convert pug html and coffeescript in this codepen into html, css and plain js? | <p>This is my code:</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>fixedTable = (el) ->
$body = $(el).find '.fixedTable-body'
$sidebar = $(el).find '.fixedTable-sideba... | 3 | 4,172 |
show extra fields on different radio button values | <p>I have three radio buttons, when a visitor clicks the first radio, nothing will happen, when they click the second OR the third some extra fields should show up.</p>
<p>I have following html:</p>
<pre><code><p class="input-group input-radio input-field-workshop_wenst_u_een_factuur"
<label for="workshop_wen... | 3 | 1,288 |
Equality comparison not working in bash script despite echo showing variables are equal | <p>I need to determine that one value set locally in the script matches either one of two values stored on a git repo in a .txt file. I successfully retrieve these values and save them into variables <code>currentVersion</code> and <code>newVersion</code>. I also do this with <code>dispGitTime</code> and <code>gitMESSA... | 3 | 1,540 |
android: jsonArray parsing with Array.sort | <p>My Code works fine. But it is complicate...</p>
<p>I get my data via json</p>
<pre><code>try{
JSONArray matchdata = null;
matchdata = json.getJSONArray("matchdata");
</code></pre>
<p>I want to filter only the finished Matches</p>
<pre><code>for(int i=0;i<matchdata.length();i++){
... | 3 | 2,220 |
Cannot delete a row when the trigger is enabled | <p>Help Needed. i have a table and the respective audit table in emp schema.I was not able to delete the entry from the source table when the trigger is enabled.
The table is mapped to a trigger as stated below.</p>
<p>Below is the generic function , which i have used to audit across all the tables.</p>
<pre><code>F... | 3 | 1,073 |
Drag-and-Drop Furniture into room | <p>I got this room, and some furniture.<br>
<strong>1.</strong> I would like so the furniture is above the floor instead of under the floor, when dropping the furniture.<br>
<strong>2.</strong> I would like swapping furniture, so when you drop a furniture onto the floor where there already is a furniture it should swap... | 3 | 1,292 |
Find and Delete Median In C Binary Search Tree | <p>I am working on Data structures in C and i need to find the Median of the values in the B.S.T and delete the median then showcase the new B.S.T but i haven't managed.I don't really know where am going wrong.Please help me out on this. I also need to be able to find a value that is closest to the mean and delete it</... | 3 | 2,574 |
Libgdx how to create new objects of body to draw dynimcally | <p>I am trying to make a game where apples will fall from sky and allow boy to eat them
I had already made the environment and the boy and one apple falling correctly
but I want to make more objects of the apple to fall from sky at specific time
how can I repeat the calling of apple class, where I have to call it
I bu... | 3 | 3,094 |
Query executing multiple times when using google social login with passport and sequelize | <p>Hi Guys this is my first question so please be patient, I'm having a problem using passport with sequelize, the problem happens after i search at the database for the record to check if the user already exists but when passport deserializes it, Sequelize executes five 'select queries', the code is similar to one i f... | 3 | 4,165 |
POSIX shell function: printing arguments as a TSV record | <p>I'm writing a POSIX shell function that prints its arguments as a TSV record.
<br>
Each argument is escaped with the following rules:</p>
<ul>
<li><code>\n</code> for newline</li>
<li><code>\t</code> for tab</li>
<li><code>\r</code> for carriage return</li>
<li><code>\\</code> for backslash</li>
</ul>
<p>Here is the... | 3 | 1,605 |
using two data tables in a procedure SQL | <p>I was put in a situation where I was forced to create a procedure that uses two data tables such as this:</p>
<pre><code>ALTER PROCEDURE [sesuser].[Login_GetUserList]
(
@beginsWith NVARCHAR(20) = NULL,
@SortBy nvarchar(20) = NULL,
@sortByDirection nvarchar(5) = N'ASC'
)
AS
BEGIN
DECLARE @searchStr ... | 3 | 1,265 |
Django,DRF, get another app's view name for a reverse | <p>I'm trying to create a link for another app in my serializer using the solution provided here:</p>
<p><a href="https://stackoverflow.com/a/45850334/12177026">https://stackoverflow.com/a/45850334/12177026</a></p>
<p>I'm trying to match the view's name but every way I try I get this error:</p>
<pre><code>Reverse fo... | 3 | 1,156 |
Why can't I get touch input (Unity with C#) to work? | <p>I'm trying to finish the Android game I've been working on. I first made to controlling mechanism using mouse, but as it needs to work with multitouch for the shot button and the aiming area, I tried converting the script to touch input according to tutorials but it doesn't seem to register any touch.</p>
<p>Also, ... | 3 | 1,200 |
Bug in JavaFX by binding with middle man onto slider value property? | <p>I stumbled upon a problem using a slider in JavaFX.<br>
I create a fxml-file with a <em>Slider</em> and add a controller to it.<br>
Inside the controller I have a <em>DoubleProperty</em>, which binds to the <em>Slider</em>'s <em>valueProperty</em>. Then, when I want to bind to this property from somewhere else, I bi... | 3 | 2,188 |
Dependent dropdown | <p>i have a problem in dependent dropdown and i am not professional in this issue </p>
<p>so the problem is when i choose the first one the another one doesnt get any value from database and i didnt know the solution</p>
<pre><code><?php
include 'header.php';
require 'connection.php';
?>
<div class="contain... | 3 | 1,449 |
Call to a member function get() when calling a doctrine 2 entity form the service locator | <p>I am new to Doctrine 2 and ZF2.</p>
<p><strong>My problem:</strong> I go to the route <code>myPage/bnk</code> that instantiates the class <code>BnkController</code> and the method <code>indexAction</code> if I try to access the <code>getEntityManager</code> method <strong>from there it all works</strong>. </p>
<p... | 3 | 1,144 |
Input data is not loading into database | <p>I am encountering the following problem: I have a program that is supposed to load some data into a database, and it is not working. No errors are popping out, it just does not load and save the data.</p>
<p>Here is the connection code:</p>
<pre><code>public Conexion()
{
string dataSource = ".\\SQLEXPRESS";
... | 3 | 1,953 |
GitHub push Error occurs. (ssh key doesn't work) | <p><strong>Problem Description</strong>:
While I try to push to GitHub Pages I got an Error .</p>
<pre><code>ERROR: Permission to lut/EvolutionApp.git denied to ~.
fatal: Could not read from remote repository.
</code></pre>
<p>I've searched this for 3 days, and I've tried all solutions but it didn't work at all. I don'... | 3 | 2,137 |
Flutter web renderer (not CanvasKit): Nested Y Axis rotation causes a child widget to disappear | <p>While nesting two <code>Transform</code> widgets, child widget (I.E. a picture) is disappearing in some cases.</p>
<p>It happens with <code>Animation</code> and <code>AnimatedBuilder</code> as well.</p>
<p>Conditions for reproducing:</p>
<ul>
<li>Wide screen resolution only.</li>
<li>Flutter Web with HTML web render... | 3 | 1,221 |
Parsing specific region of a txt, comparing to list of strings, then generating new list composed of matches | <p>I am trying to do the following:</p>
<ol>
<li>Read through a specific portion of a text file (there is a known starting point and ending point)</li>
<li>While reading through these lines, check to see if a word matches a word that I have included in a list </li>
<li>If a match is detected, then add that specific wo... | 3 | 1,663 |
C++ Structure declaration and usage to hold IP + Connections | <p>Good day to all, i am having a massive confusion declaring and using my structure to hold <strong>[IP] - [Connections]</strong> record.
I am trying to insert the IP address that is connecting into the structure, and his connection number <strong>#</strong>, for example if <strong>IP 123.123.12</strong> connects 2 (t... | 3 | 2,167 |
Same object getting pushed in arrayList | <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>var totalList=[];
$("#formContainer").on("click","button",function() {
var selector = "div."+$(this).data("type")+"-table";
var ... | 3 | 3,306 |
Bootstrap JavaScript adding events dynamically not linking to modal window | <p>I have a filter, where they select a media item (ie: radio, digital streetpole, traditional streetpole, bench, poster, etc.) and it then adds that with a whole bunch of it's variables. Let me expand:</p>
<p>The user has preset areas that they selected earlier but is also able to select multiple areas (Johannesburg,... | 3 | 4,450 |
AttributeError at /search/ 'QuerySet' object has no attribute 'facet' | <p>I'm Getting an AttributeError:</p>
<pre><code>(AttributeError at /search/
'QuerySet' object has no attribute 'facet') while setting up custom filters for django-taggit tags with Haystack
</code></pre>
<p>The search function is working fine when I enter a query like so:
<code>http://localhost:8000/search/?q=las+veg... | 3 | 2,130 |
Uncaught Error: Sys.InvalidOperationException: 'DocMapUpdatePanelId' is not a property or an existing field | <p>I am building an asp.net C# application which uses buttons to retrieve and display RDLC reports within a View. The reports load without issue on localhost but when placed on Windows Server 2012 R2 Standard 64-bit and served through IIS version 8.5 the error:</p>
<p><strong>Uncaught Error: Sys.InvalidOperationExcept... | 3 | 3,639 |
XNA DrawPrimitives unintended line to 0,0 | <p>I'm trying to learn XNA.
I'm currently drawing a figure on the screen where the user clicks.
I use an indexbuffer and PrimitiveType.LineList.
It works fine, however occasionally a line is drawn between a figure's first vertex and what seems like position 0,0. Why is it doing that?</p>
<p><strong>Screenshot</strong>... | 3 | 1,985 |
Proper Use of MYSQL UPDATE Function | <p>I am using MySQL query to UPDATE the information in the database.</p>
<p>I tried updating the information from the localhost/phpmyadmin and later on copy the code that was given in the localhost/phpmyadmin.</p>
<p>The problem is that the information/values are not updating in the database.</p>
<p>Below is the cod... | 3 | 1,748 |
FlatList: "Tried to get frame for out of range index NaN" with useEffect + fetch | <p>I'm trying to render a FlatList with data coming from fetch. It worked before, but now it gives me the error ""Tried to get frame for out of range index NaN". I have an async function which await the fetch but my return (render) with FlatList is being called first. I've changed the fetch code to use <... | 3 | 1,138 |
firebase_messaging fails to build for iOS but works for Android | <p>I'm looking to add the <code>firebase_messaging 7.0.3</code> package to add Push Notifications to my project. I've configured it for Android and it's working like a charm. Getting the Registration Token and can push notifications to my emulator and phone no problem.</p>
<p>Now, when I run the iOS build it fails on f... | 3 | 6,784 |
Does the transform function in plyr change variable names? | <p>The data set I am working with has two and three-word variable names with space in between. </p>
<pre><code>> names(final.data1)
## [1] "Vehicle ID" "Frame ID" "Total Frames"
## [4] "Global Time" "Local X" "Local Y"
## [7] "Global X" ... | 3 | 1,025 |
Ajax Form Submit - When click change html element text | <p>So I'm trying to create a message system. When I click on the Message to open my template opens in the same page the message content. I'm trying to make like: "See" Button->ajax->replace with jquery .text("Blah Blah"). the problem is that when I try tod</p>
<p>HTML Code:</p>
<pre><code><form method="POST">
... | 3 | 1,587 |
inject all services in startup.cs, .net core, overloaded | <p>This is more a general question.</p>
<p>But I have a question about injecting services in the startup.cs:</p>
<pre><code>public void ConfigureServices(IServiceCollection services)
{
services.AddControllers(opt =>
{
var policy = new AuthorizationPolicyBu... | 3 | 1,060 |
Nothing returned if the column with the WHERE condition has an index | <p>Working on Debian 11 (Bullseye) first with the distribution's MariaDB version 10.5 and now with the version 10.6.7 from MariaDB repositories.</p>
<p>I'm failing to get correct indexes for some big tables from the dump of a genetics database (ensembl homo_sapiens_variation_106_37) from here: <a href="ftp://ftp.ensemb... | 3 | 3,106 |
Flutter TextFormField moving up when TextHelp is visible | <p>I don't understood what's happening, but when the form got erros the helper text message is moving the TextFormField. I tried increasing the height but I could not fix. </p>
<p>Anyone knows what's happening?</p>
<p>Look the image:</p>
<p><a href="https://i.stack.imgur.com/3gUmq.png" rel="nofollow noreferrer"><img... | 3 | 2,026 |
Robotframework - Appium Locating an Element (XPATH - NO IDENTIFICATORS) | <p>I need help clicking on an Element in an Android App, here's the source of the page, I'm using Robot Framework with it's Appium Library.</p>
<pre><code><android.view.View index="0" package="com.zentity.android.redesign.rbcz.mobilbank.test" class="android.view.View" text="" ... | 3 | 1,335 |
stuck on cubit changing state to 2 widgets | <p>I have my base code working for cubit to update a simple counter in a class that is in a row on my app listview.</p>
<p>I want to update the counter of total items using bottomNavigationBar and a totalbagel field which is in a different class that my cubit. I wrapped my navbar text field totalbabgel in a block se... | 3 | 1,120 |
Plot a scatter plot using plotly to see the relationship between the 'Budget' vs 'Gross values' using data visualisation concepts | <p>Plot a scatter plot using plotly to see the relationship between the 'Budget' vs 'Gross values' according to different genres</p>
<p>Subtasks for customizations -</p>
<p>Subtask 1.1 - Try customizing your scatter plot with addition of marginal plots such as histogram, box plot or violin plot
Subtask 1.2 - Try link... | 3 | 1,298 |
Method to touch MapControl XAML to set route | <p>I implemented a WPF MapControl control in my Winform application.</p>
<p>(Basically, add a WPF User Control project to your Winform solution. Drag and drop whatever WPF control. I chose a DevExpress WPF MapControl, but Microsoft's variant or any other control works just as nicely. Build the project once, and then d... | 3 | 1,462 |
how to fix required a bean of type and This application has no explicit mapping for /error in spring boot | <p>here is the aborescence of the packages</p>
<pre><code>com
+-bass_trans.java_spring_eclips_management
+-GestionBassTransApplication.java
|
+-worker
+-adaters
| +-in
| | +-WorkerController.java (Rest controller use ListOfWorkerImpl)
| +-out
| ... | 3 | 1,472 |
Namespacing "Class not found" when autoloading via composer | <p>I created a small project with a <code>composer.json</code> and have this set up:</p>
<pre class="lang-json prettyprint-override"><code>"autoload": {
"psr-4": {
"MyApp\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MyApp\\Te... | 3 | 1,463 |
Flutter App not running in Android studio | <p>I have simple flutter app with sqflite db.
When I try to run via <code>Android Studio</code> , it gives error as follow:</p>
<pre><code>Launching lib/main.dart on iPhone 12 Pro in debug mode...
Running pod install...
CocoaPods' output:
↳
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local b... | 3 | 1,667 |
Getting undefined array key when passing data with XMLHttpRequest | <p>I'm trying to pass a long formatted text string to a php process to save to a file. I am use the POST method as the string can be quite long. It seems to run thro the process and gives back the message 'File saved' but with the error message 'Undefined Array Key "data"' on line 2 of the php code. The file ... | 3 | 1,367 |
jquery plugin, tablesorter pager with multiple tables | <p>I'm trying to use the jQuery tablesorter plugin on multiple tables with asp.net/mvc3. I'm following this tutorial:
<a href="http://weblogs.asp.net/hajan/archive/2011/02/09/table-sorting-amp-pagination-with-jquery-in-asp-net-mvc.aspx" rel="nofollow">http://weblogs.asp.net/hajan/archive/2011/02/09/table-sorting-amp-p... | 3 | 1,228 |
Lazy loading of child throwing session error | <p>I'm the following error when calling purchaseService.updatePurchase(purchase) inside my TagController:</p>
<pre><code>SEVERE: Servlet.service() for servlet [PurchaseAPIServer] in context with path [/PurchaseAPIServer] threw exception [Request processing failed; nested exception is org.hibernate.LazyInitializationEx... | 3 | 3,293 |
With Ant, how do I create seperate jar files from one src directory? | <p>I have one source directory in which I am trying to create separate cod files since my resources (PNG files) are beyond the limit imposed by the RAPC compiler.</p>
<p>I am trying to create:</p>
<ol>
<li>.cod(s) for the source</li>
<li>.cod(s) for low res. resources</li>
<li>.cod(s) for hi res. resources</li>
</ol>... | 3 | 5,260 |
Can Excel Vba code be updated via an Excel Add In for multiple users | <p>I have an Excel workbook that contains lots of VBA code. The VBA Code consists of many Sub routines, Functions and User Forms. Over 200+ employees will be using this Workbook.</p>
<p>Currently my VBA code lives inside the distributed Excel Workbook. The problem I fear I will be faced with is updating each Workbooks... | 3 | 2,664 |
Bootstrap - Responsive navbar works on index page but no other page | <p>Pretty much says my issue in the title. The responsive nav works fine for the index page, but on other pages, it doesn't. It still collapses, but nothing happens when you click on the dropdown icon.</p>
<p>My nav code is:</p>
<pre><code> <div class="navbar">
<div class="navbar-inner">... | 3 | 1,105 |
I cannot find my error and it repeats forever | <p>Below while-loop is meant to repeat forever (thus <code>i=0</code> never modified inside the loop). The loop has a <code>checkpoint</code> so every read line continues where it left off.</p>
<p>But the checkpoint is not working, any way to fix that? Okay, I am not modifying the i var (which is a big suggestion) unle... | 3 | 1,441 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.