title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
Automating functions to apply to multiple lists in R | <p>I have a number of lists containing data frames, and I have code that performs that functions that I want when one of the lists is named. What I would like to do is automate the process so that the functions are performed on each of the lists in my environment (environment also contains other things that I don't wan... | 3 | 3,139 |
setAccessoryType destroys TableViewCell | <p>I use a custom tablecell, labels and images are connected with tags.</p>
<p>If i add </p>
<blockquote>
<p>[cell setAccessoryType:UITableViewCellAccessoryDisclosureIndicator]</p>
</blockquote>
<p>it destroys my tableview. the image destroys and the background-color.</p>
<p>here are the differences:</p>
<p><img... | 3 | 1,397 |
How to create model and add Json response to model in swift? | <p>I need to create model for Json response, but i am unable to do</p>
<p>how to create model and use that model variable in other viewcontroller</p>
<pre><code> {
"jsonrpc": "2.0",
"result": {
"userdata": {
"id": 47,
"fname": "sample&... | 3 | 1,033 |
Nested Dictionary using python | <p>I am trying to write nested type of dictionary in python. I am providing my input and expected output and my tried code.</p>
<p>This is my input:</p>
<pre><code>input = [['10', 'PS_S1U_X2_LP', 'permit', 'origin', 'igp', 'RM_S1U_X2_LP'],
['20', '', 'permit', '', '', 'RM_S1U_X2_LP'],
['10', 'MPLS-LOOPBACK', 'permit... | 3 | 1,266 |
Avoiding PDF creation on entering the page in PHP with mpdf | <p>I've been struggling these past days to export a table to PDF in PHP with mpdf, I finally solved most of the problems, however, I'm only able to create the pdf and store it in the server files <strong>automaticlly when opening the page</strong>, instead I would like to have the pdf only created after pressing a butt... | 3 | 3,691 |
Why is my ANTLR4 parser grammar erroring 'no viable alternative at input'? | <p>When I run my grammar (lexer and parser) in powershell, it produces these errors:</p>
<pre><code>line 1:6 no viable alternative at input 'global '
</code></pre>
<p>I've tried searching google and SO about the errors and the infinite loop, but I can't really understand anything (probably because I just started antlr ... | 3 | 7,334 |
sed - Back reference on match pattern does not work | <p>I need to find in files (xml) date in this format <code>2021-06-25T21:17:51Z</code> and replace them with this format <code>2021-06-25T21:17:51.001Z</code></p>
<p>I thought about using regexp with <code>sed</code> but back references does not work.</p>
<p>1.xml could look like this, but I have much more fields in th... | 3 | 1,073 |
Playframework [Scala]: The app cannot access its assets in production | <p>I'm getting an error regarding accessing assets, while running my app in production (works fine on during development): </p>
<pre><code>[info] play.api.Play - Application started (Prod)
[info] p.c.s.AkkaHttpServer - Listening for HTTP on /0:0:0:0:0:0:0:0:9000
[error] application -
! @784kabl4n - Internal server e... | 3 | 1,563 |
ajax call occurs after ko binding is applied | <p>I am trying to pull data from a database using an ajax call and then put that data in a view model which will then be bound to a table using knockout. Here is my code: </p>
<pre><code><script>
$(document).ready(function () {
var LoadFiles = '@Url.Action("Files", "Home")';
var HomeModel =... | 3 | 1,229 |
Using vector of generic queues | <p>I made a generic safe thread queue- QueueTS
And I have a class named PackagedEvent.
I want to make a vector of queues. Each queue stores PackagedEvent.
But its not possible to push a new queue to the vector and I dont understand why. The compiler says:</p>
<pre><code>1>C:\Program Files (x86)\Microsoft Visual Stud... | 3 | 1,674 |
Tomcat web page does not open with Spring Framework | <p>I add spring-5.2.9.RELEASE-dist as a library(lib). But I could'nt open index.jsp file that includes just html Hello World message.How could I fix what following error?</p>
<p>HTTP Status 404 – Not Found<br>
Description : The origin server did not find a current representation for the target resource or is not willin... | 3 | 3,612 |
How to pass variables as parameters | <p>I have two bits of code</p>
<pre><code>Tree tree;
void setup() {
int SZ = 512; // screen size
int d = 2;
int x = SZ/2;
int y = SZ;
size(SZ,SZ);
background(255);
noLoop();
tree = new Tree(d, x, y);
}
void draw() {
tree.draw();
}
</code></pre>
<p>and also</p>
<pre><code>class Tree {
// ... | 3 | 1,521 |
Spring @Aspect & Maven. Not working in external modules, but it's working witouth annotations | <p>I've a question about Spring AOP and AspectJ, defining aspects, pointcut etc with annotations.</p>
<p>The context is this:</p>
<ul>
<li>I have 2 maven modules (A and B). </li>
<li>Module B uses module A (via <code><dependency>...</dependency></code> in maven) and import his spring context.</li>
<li>I'm... | 3 | 1,940 |
Mysql nested left joins with counts | <p>I have a set of MySQL three tables in a "has many" relationship: deals, orders, and coupons.</p>
<pre><code>Deals
|----|--------------|
| id | title |
|----|--------------|
| 1 | Some deal |
| 2 | Another deal |
|----|--------------|
Orders
|----|---------|-----------|
| id | deal_id | state |
|---... | 3 | 1,122 |
issue with floating point when importing flat file comma separated SQL Server 2008 | <p>I have an issue while importing this dataset.txt (flat file, comma separated)in SQL Server 2008</p>
<pre><code>x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17,x18,x19,x20,x21,x22,x23,x24,x25
0.438,0.498,3.625,3.645,5.000,2.918,5.000,2.351,2.332,2.643,1.698,1.687,1.698,1.717,1.744,0.593,0.502,0.493,0.504,... | 3 | 2,400 |
HttpPostAsync not returning any result but inserting entity correctly | <p>I have a generic <code>PostAsync</code> method and then I have my <code>AddCart</code> method to insert my <code>CrCart</code> entity on my api. The thing is, I want to return the result but it will stop and not return anything even though it is inserting on the api correctly.</p>
<p>Here is my <code>PostAsync</code... | 3 | 1,712 |
Display dynamic table values using dataTables | <p>I have a problem in displaying the values from database using dataTables.
I cant trigger the <code>$('#id').DataTable()</code> to magic my html table into dataTables while simple and plain html displays it correctly. I think my problem is in the ajax.. So here's my code: </p>
<p>Any help will be higgly appreciated... | 3 | 3,296 |
Header php not exactly in place | <p>I'm including my header and footer with PHP. But the problem is that header doesn't always stay in it's place (horizantally). I want it to be stable on every page but it keeps moving left and right about some pixels. And also the content is not always in it's place, it's moving a little left or right on one of the p... | 3 | 5,429 |
Custom Filtering and Sorting | <p>I have a DataFrame called Planes. Here it is:</p>
<pre><code> model year range seating price length wingspan
0 A300-600 1972.0 7500.0 345 Unknown 54.10 44.84
1 A310-300 Unknown 8050.0 280 Unknown 46.66 43.90
2 A320neo 2014.0 6300.0 194 110.... | 3 | 1,073 |
jQuery radio button events | <p>Ive just started learning jQuery. I made a simple slider and i can't figure out how to put events on radio buttons properly in the way when i click on them, my ul would move margin-left on "-1*width_of_single_slide*radio_btn_value". It means when i click on first radio button(radio with value=0), the list would show... | 3 | 1,784 |
Error 0x80131047 loading MySQL Connector DLL | <p>PowerShell has just been opened sourced (v6.0.0-alpha.10), and I'm
trying to get it to connect to a MySQL instance from OS X.</p>
<p>Oracle seems to suggest (if I'm reading it correctly) that they have a
.Net Core connector
<a href="https://blogs.oracle.com/MySqlOnWindows/entry/connector_net_6_8_3" rel="nofollow no... | 3 | 1,029 |
Datatable requested unknown parameter '2' from data source row 0 | <p>Hello I'm having issues trying to show data from my DB, I can show each data from the table in my DB but when I try to show all in a table it gives the error in the title, I don't know why. I'm using codeigniter.</p>
<p>This is the controller function</p>
<pre><code>public function datatable()
{
$this->dat... | 3 | 1,230 |
Visual Studio 2013: linker errors with custom enumerations? | <p>I'm using the following code, written by James McNellis, to simplify declaring more-functional C++2011 enums:</p>
<pre><code>#pragma once
#include <stdexcept>
#include <boost/preprocessor.hpp>
#include <vector>
// Internal helper to provide partial specialization for checked_enum_cast
template &l... | 3 | 2,201 |
Free the stack implemented in C | <p>I implement a stack and its functions in C. Now after all the functions were called, I wanted to free the stack.</p>
<p>My question is should I free the base pointer of stack "st" first or just directly free the stack "st"? Both seems work in my code.</p>
<pre><code>#include <stdio.h>
#include <stdlib.h&g... | 3 | 1,038 |
on clicking back button, user profile page open php? | <p>I am implementing logout functionality in php. When I click logout link the session is destroyed(using unset($_SESSION['user']) and session_destroy()). After this, page is redirected to login screen. I tried this before as a standalone application in php and it was working properly. But when i implemented it in my a... | 3 | 2,520 |
Search for Successor of BST node, "clone to satisfy borrow checker" disaster | <p>I am trying to implement a BST in Rust. My struct looks like this: </p>
<pre><code>pub struct Node<T> {
key: T,
parent: Option<Box<Node<T>>>,
left: Option<Box<Node<T>>>,
right: Option<Box<Node<T>>>,
}
</code></pre>
<p>I am wor... | 3 | 1,837 |
Spring repackage is adding a duplicate copy of all spring jars in BOOT-INF/classes | <p>I recently upgraded my project to <code>spring-boot</code> version 2.7.0. After this upgrade, when I run the jar of my maven profile, it gives me an <code>invocationTargetException</code>:</p>
<pre><code>Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor1.invoke(Unk... | 3 | 1,692 |
Events not being triggered in Application Module | <p>I cannot seem to get my events to fire off. This is my first time playing around with them. If you look, i create an event in the <code>init</code> method and then i try to fire it off in the <code>onBootstrap</code> method. The event should produce a die with the string, but its not. any help would be appreciated.<... | 3 | 1,466 |
Can't stick my footer to the end of the page | <p>I am currently learning CSS & HTML and have a bit of trouble. My footer doesn't want to stick to the bottom; it floats above the bottom with space under it (like it had a margin on the bottom, even though it doesn't). I tried with most of the tips I found online, but most of them either don't work or make the he... | 3 | 3,063 |
RuntimeException when using VideoView in WebView - Android | <p>I know there are lot of questions asked around this topic but none of them helped me :(
I am trying to call a java method to play video in VideoView on passing a parameter through a WebView, but I am running into following issues:</p>
<ol>
<li>In activity_main, when I have VideoView tag inside WebView then I am get... | 3 | 1,415 |
When updating an AWS Glue Table is it possible to automatically update the partition metadata | <p>I have a partitioned S3 bucket. I am reading the data from the partitions using AWS Athena. I create the AWS Glue Table used in Athena via a CloudFormation stack. The relevant part of the stack is shown here</p>
<pre><code>S3ServerAccessLogsTable:
Type: AWS::Glue::Table
DependsOn: S3ServerAccessLogsDatabase
Properti... | 3 | 1,719 |
No performanceCounters/Requests Data in azure Application Insights | <p>I have a web app running on prem (IIS) and I am trying to collect performance counters from it, although I have everything setup on my local and I am seeing all other types of telemetry in my Azure resource (requests, exceptions, traces) performance Counters are just not there,
it is worth mentioning that I am runni... | 3 | 1,203 |
How to apply conditional function in data frame updating consecutive columns in R | <p>Consider following data frame, with x being increasing numbers (don't have to be integers) and y varying values:</p>
<pre><code>x | y | d.x | d.y | abs(d.y)/d.x
---------------------------------
1 | 5 | 1 | 5 | 5
2 | 9 | 1 | 4 | 4
3 | 1 | 1 | -8 | 8
4 | 7 | 1 | 6 | 6
5 | 5 | 1 | -2 | 2
6 | 1 | 1 ... | 3 | 1,243 |
How are role cookies encrypted? | <p>FormsAuthentication has an encrypt and decrypt method to push and pull the Authentication Ticket. Roles has a lot of the same methods, but it does not tell you what type of encryption is being used, or how to decrypt it. Can anyone point me in the right direction? I need to be able to mock up a Role Cookie for a tes... | 3 | 1,589 |
AngularJS Editable Table | <p>I want to create a editable table in AngularJs. Same date I am using for another list and details view in same page.</p>
<p>My query is when I click the edit link in the list details view (Selected View Section in the page) part and modify the values in the textbox it is not changing in the table view section unti... | 3 | 2,904 |
How to dynamically create textblock based on the entries parsed | <p>I am trying to parse down a web API, Based on the entries obtained i want show all bank account transaction (list of all entries) associated with a single account and want to show it in dynamically created text block.
Similar like this:-</p>
<p><img src="https://i.stack.imgur.com/uciQi.png" alt="enter image descrip... | 3 | 2,703 |
How do I extract specific attributes from JSON using copy(JSON.stringify(Object.entries while filtering out unneeded attributes in chrome console? | <p>The data I'm looking to process is a form of web-based game data communicated through JSON. I'm trying to do statistical analysis on correlations between let's say attributes <code>api_ship_id</code> and <code>api_lv</code>. I was following a <a href="https://kancolle-fleetanalysis.firebaseapp.com/#/" rel="nofollow ... | 3 | 3,771 |
Group items in array based on key positions | <p>Given the following array:</p>
<pre><code>const arr = [
{ id: 1, type: 'tab', content: 'Tab 1'},
{ id: 20, type: 'tabContent', content: 'Tab 1 content...' },
{ id: 2, type: 'tabContent', content: 'Tab 1 content...' },
{ id: 3, type: 'tabContent', content: 'Tab 1 content...' },
{ id: 5, type: 'tabContent', ... | 3 | 1,056 |
FirebaseUI needs pending intent | <p>I have a code which goes to firebaseAuthUI with this activityResultLauncher:</p>
<pre><code> //used for login
this.loginActivityLauncher = registerForActivityResult(new FirebaseAuthUIActivityResultContract(),
result -> {
String s;
//result success
if(result.g... | 3 | 2,035 |
XMLNodeList not retrieving right Nodes | <p>I am creating application to make Mod Menu's for Modern Warfare 3 (XRPC). I am making it customisable with XML, i have created an Example XML.</p>
<pre><code><MenuFile>
<Credits>
<Author>Callum Carmicheal</Author>
<Name>Sample</Name>
<Version>0.1</Version>... | 3 | 2,893 |
Returning something from another type class B in function of type class A in Haskell | <p>I'm doing a fun project in which I'm trying to redo some basic data types and concepts from Java. Currently I'm tackling Iterators.</p>
<p>My approach is the following:
(1) Translate Interfaces to Typeclasses
(2) Declare custom data types and instances for actual implementations</p>
<p>So I created the following t... | 3 | 1,154 |
INCLUDEPICTURE use an alternate jpg if MERGEFIELD "filename".jpg is not valid | <p>I keep track of hikes we do in an EXCEL spreadsheet. I use WORD to create journal pages using a lot of MERGEFIELDS. I have clean maps of parks. After we do a hike, I use an editor to draw a route on the clean map of where we hiked producing a route map.</p>
<p>I would like to INCLUDEPICTURE the route map if there is... | 3 | 2,022 |
Rspec: Mocked payload is returning nil instead of the actual object created for testing purposes | <p>I've created the following service</p>
<pre><code>class ApiCustomers < ApiBase
def initialize(url: nill)
url = url.presence || ENV.fetch("CUSTOMERS_API_APP_NAME")
super(url)
end
def find_customer_apps(customer_id, params=nil)
begin
customer_url = "#{@url}/customers/#{custom... | 3 | 1,068 |
Failed to fetch log file from worker while running docker operator | <p>Im trying to run simple DAG with docker-operator on airflow. Here is my DAG:</p>
<pre><code>from airflow import DAG
from airflow.operators.bash_operator import BashOperator
from datetime import datetime, timedelta
from airflow.providers.docker.operators.docker import DockerOperator
default_args = {
'owner' ... | 3 | 1,119 |
maven: Fatal error compiling: endorseddirs | <p>When I run compile goal on my maven project, below error occurred:</p>
<pre><code>Caused by: org.apache.maven.plugin.MojoExecutionException: Fatal error compiling
at org.apache.maven.plugin.compiler.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:796)
at org.apache.maven.plugin.compiler.CompilerMojo.... | 3 | 2,692 |
audioTrack FATAL EXCEPTION: Thread-10 java.lang.NullPointerException | <p>Hi I'm trying to create a Raw data player using audioTrack. I found the tutorial and here's the code :</p>
<pre><code>package com.example.prasetyo.playerpcm;
import java.io.BufferedInputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import android.app.Activity;
import... | 3 | 3,091 |
React trigger only one element in array | <p>I am in the process of making a comment system like the one on youtube. In my implementation, when I click on modify, all comments are now inputs but only the value of the selected input will be modified. how to trigger only the element i clicked.</p>
<p><a href="https://i.stack.imgur.com/xWBWD.png" rel="nofollow no... | 3 | 1,518 |
regexp_substr all occurence of doc. XXX | <p>Here a sample code:</p>
<pre><code>set define off;
drop table brol;
create table brol
(
br varchar2(4000)
);
INSERT INTO brol ( br ) VALUES ( 'Proposition de décret institutionnalisant l assemblée citoyenne et le conseil citoyen, déposée par Madame Schyns (Doc. 221 (2019-2020) N° 1 et 1bis)
Proposition de décret s... | 3 | 1,113 |
How can I use Valgrind to determine the source of "still-available" memory leak? | <p>I have a program I wrote whose memory footprint grows over time. It eventually consumes all of the available system memory and then crashes the system.</p>
<p>I am trying to determine the source of what seems like a memory leak. I have run Valgrind on the code. It reports no definitely or indirectly lost memory. It... | 3 | 1,894 |
How do I export an Estimator, tf.estimator.DNNClassifier | <p>Hello guys this is my code, am still a beginner using tensorflow, this is my code
am trying to run a text classification DNN until now everything is fine.
I want to save my model and import it so i can use it to predict new values but I don't have any idea how to do it.</p>
<p>To give you a genral idea on what am ... | 3 | 1,724 |
Python extract and append data into data frame | <p>I've scraped the website for my research but I couldn't find the right way to extract it into data frame. I believe that my problem is related with list objects that are between lines 36 and 38.</p>
<p>The print line has worked very nice that I can see the final version of data frame in the Python console.</p>
<p>... | 3 | 1,511 |
Gmail API - International Label Issue (C#/.NET) | <p>I've run into a bit of an issue while migrating mail items to a Gmail mailbox regarding label creation using multiple (human) languages. Please read the scenario before providing an answer. I apologize for the length of this post.</p>
<p><strong>Scenario</strong></p>
<p><em>Note: I'm aware predefined SYSTEM labels... | 3 | 1,117 |
Repeated invocations of Twitter Search API getting stalled after a couple of times | <p>I am using Twitter Search API to get count of tweets on a given search string. Since API returns only number of tweets specified by 'count' parameter in the URL, I have to send REST call to the URL multiple times.</p>
<p>I parse the JSON response returned after first call and get the ID of the last tweet and send ... | 3 | 1,121 |
How to register and show 2nd sidebar only if the screen is wider than 1682px in wordpress? | <p>I want to show a 336px width second sidebar (left side on all pages) for destop/tv screens wider than 1682px.</p>
<p>If the second sidebar has its own class then I can hide it with the {display: none;} CSS tag inside the media query feature.</p>
<p>Currently, my template only has 1 sidebar which can be shown either ... | 3 | 2,938 |
RabbitMq DotNetCore Console App RabbitMQ.Client.Exceptions.BrokerUnreachableException: None of the specified endpoints were reachable | <p>I am running 3 projects with docker compose. These projects need rabbitmq and postgresql.</p>
<p>-ReportAPI (Produce data to RabbitMq) DotNetCoreWebAPI .Net Version -> 6.0</p>
<p>-Contact DotNetCoreWebAPI .Net Version -> 6.0</p>
<p>-ReportConsumer (Consume data from RabbitMq) DotNetConsole App .Net Version ... | 3 | 3,663 |
Restart function in my python arcade game doesn´t work properly | <p>I´m currently working on a school project, which is a game with Python Arcade. It is my first coding experience so I´m still a beginner. Unfortunately the projekt is due in a few days, which is why I would really appreciate some help!</p>
<p>The basic structure of the game (it´s a jump´n run) is already working and... | 3 | 3,529 |
Combining multiple aggregations | <p>I'm an absolute newbie in Elasticsearch and trying to get my head around aggregations. I need to run an aggregation parallel to the existing one.
This is the sample document page structure.</p>
<pre><code>{
"brand": {
"list": [
"Apple"
],
"name": "Apple"
},
"title": {
"list": [
"Ap... | 3 | 2,688 |
How can I resize Jira gadgets' data? | <p>I am implementing a Jira gadget. I have an problem about retrieve data.
I am retrieving data from DB to gadget. There are lots of columns so the gadget cannot show all columns. I guess I have to resize data. There is one more thing; how can I stop the retrieving data to go end of pages?
Here is my gadget.xml</p>
<... | 3 | 4,604 |
Problems with contentDetails, duration and statistics from the Youtube API v3 | <p>I'm trying to retrieve the values for <code>duration</code> and <code>viewCount</code> for each video, both under videos:list api. I created a separate function that will return each video duration and statistics. The only thing that works is the playlist of videos that were retrieved and <code>videoId</code> within... | 3 | 2,871 |
Haskell TransformListComp extension | <p>I read <a href="https://www.fpcomplete.com/user/PthariensFlame/guide-to-ghc-extensions/list-comprehension-extensions" rel="nofollow">this guide</a> about haskell language extensions and was somewhat confused by the TransformListComp explanation. I tried to rewrite all the TransformListComp expression without the sug... | 3 | 1,490 |
Sum not being stored correctly | <p>This is my second try at a CUDA program and parallel development.</p>
<p>I'm trying to find why the dot product two arrays.</p>
<p>Example:</p>
<p>Given </p>
<pre><code>A = [1 2 3]
B = [4 5 6]
C[0] = (1)(4) + (1)(5) + (1)(6)
C[1] = (2)(4) + (2)(5) + (2)(6)
C[2] = (3)(4) + (3)(5) + (3)(6)
</code></pre>
... | 3 | 1,340 |
Bootstrap modal pop up breaks when i send "schemaname.tablename" into id field using Django Jinjna template | <p>Below is my html script when I am sending a schema_name.table_name to the 'id' attribute of my modal and pop up modal is not displayed and the popup modal breaks, but work well as mentioned in the below note</p>
<p><strong>note: when I only send table_name to 'id' attribute, pop up is displayed but I need to send sc... | 3 | 3,290 |
Why does importing constructors with 'using' cause a different overload to be selected? | <p>It would appear that overload resolution functions slightly differently for imported constructors and explicitly declared constructors but I do not understand why.</p>
<p>Consider the following code:</p>
<pre><code>struct BaseBase { int val; };
struct Base : BaseBase
{
int test;
Base() : BaseBase{}, test(0... | 3 | 1,903 |
Cannot enter while loop. Is it to do with using an unordered map? | <p>I am trying to do a coding challenge where we have to shorten and minimise direction instructions. I am using an unordered map prior to implementing the while loop. The rest of the code works as expected but the while loop cannot be reached so I cannot output an appropriate value.</p>
<pre><code>std::vector<std::... | 3 | 1,080 |
How to compare two images with extension and names in Android Studio? | <p>I want to know how I compare two images with extension and names and delete the duplicate file. Basically I get full video file from External and Internal Storage and I build an app where user can delete the duplicate the file from his device.</p>
<p>So I am successful to get the video file from device but unable t... | 3 | 6,654 |
My docker run crash during the test phase of my gitlab CI | <p>So i am quite new to the whole CI topic and im trying to run tests after my merge request in my pipeline. Except that when my command try to run the container i have an error.
So this is my gitlab-ci file</p>
<pre class="lang-yaml prettyprint-override"><code>image: docker:18
variables:
REPO_URL: "registry.gi... | 3 | 1,239 |
Erlang: starting sellaprime app with supervisor returns undef error | <p>Trying to run the example app, sellaprime app, from the programming erlang book. I tested the supervisor code with the testing function within the supervisor. So, the supervisor should be OK. The application gets loaded but the application start runs into problem with below error:</p>
<pre><code>=INFO REPORT==== 31-... | 3 | 1,137 |
Get a id from the formbuilder to delete a row in Angular 6 | <p>I have a HTML page with a few forms to fill in for the user:</p>
<pre><code><div class="card-body">
<form [formGroup]="FormCar" (ngSubmit)="AddCar(FormCar.value)">
<input type="hidden" formControlName="CarId" id="carId" />
<div class="row">
<div class="form-group col-sm-3"... | 3 | 1,584 |
Find same id and store them into one array | <p>I'm stuck here. I have the following data. What I want to do is to loop into the array and find the ite that has same project_id then get its dates and store them into one array object only. I was able to add them into one array only but the problem i'm having is I also get the other dates from the different project... | 3 | 12,405 |
How to integrate kanboard with telegram? | <p>I have to integrate <a href="https://kanboard.org" rel="nofollow noreferrer">https://kanboard.org</a> with Telegram.</p>
<p>I want to be able to manage projects, tasks, and subtasks, start and stop a timer on subtasks, get notifications if new projects, tasks, and subtasks have been received from another person, no... | 3 | 1,501 |
Duplicate rows showing while using group by clause? | <p>I've written a SQL query which produces a table as given below.</p>
<p>The results needs to be grouped into a single line for each business. I've tried a lot of ways but I'm not able to do that. I've tried to insert the final table data into a temporary table and then perform grouping on the temp table but that doe... | 3 | 1,270 |
Compilation error with primitives types with implementations of generic methods of an interface | <p>I want to write an interface which allows freedom in the implementation. Basically I don't know the return types neither param types of the methods. I just want derived classes to implement this contract with same method names and param numbers.</p>
<p>So I can do like this:</p>
<pre><code>public interface IImageR... | 3 | 1,151 |
C# add const field using attributes | <p>We have class 'SomeClass':</p>
<pre><code>namespace Namespace
{
class SomeClass
{
// something
}
}
</code></pre>
<p>And attribute 'SomeAttribute':</p>
<pre><code>class SomeAttribute : System.Attribute { }
</code></pre>
<p><strong>Task:</strong> add to all classes market by SomeAttribute 'publ... | 3 | 1,266 |
How do I properly rotate these houses? | <p>I am using C++, OpenGL and glut. I am trying to make 5 houses that are rotated properly like this:</p>
<p><a href="https://i.stack.imgur.com/gCt6c.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gCt6c.png" alt="enter image description here" /></a></p>
<p>However, whenever I try to implement the <c... | 3 | 1,078 |
Odd rendering issue when navigating between tabs with a DrawerNavigator in React Native | <p>I have a basic tabbed phone application that I'm building in React Native, with one of the tabs containing a DrawerNavigator. The basic structure looks like:</p>
<pre><code>createBottomTabNavigator ->
DrawerNavigator ->
DashboardStack
Test
Survey ->
SurveyStack
Settin... | 3 | 1,112 |
How to convert DataTable values to json using C#? | <p>I have a <code>DataTable</code> with 4 Columns. <code>(ID,TestName,TestResult,IsValidRequest)</code>. I want to transform <code>TestName</code> & <code>Testresult</code> into <code>json</code>.</p>
<p><img src="https://i.stack.imgur.com/MxTtd.png" alt="enter image description here"></p>
<pre><code>string json ... | 3 | 3,285 |
org.codehaus.jackson.JsonParseException: Unrecognized field '_transferSize' in response element, While reading HAR file by java | <p>this code works perfectly if there is no field called _transferSize,
sample har : </p>
<pre><code>"cookies": [
{
"name": "x-amz-captcha-1",
"value": "1577615972915416",
"path": "/",
"expires": "2020-12-28T08:39:32.000Z",
"httpOnly": ... | 3 | 1,090 |
gtk-why back button click signal handler is not called | <p>I have a notebook with 5 pages. Each Page has a liststore treeview and back button.</p>
<p>Originally back button is hidden. When you click an item of treeview, it searches nearest Bluetooth devices and returns a new treeview. But clicking back button should go back to the previous list. It is not going. the <code>... | 3 | 5,603 |
file_postupdate_standard_editor function in Moodle | <p>code for editor in my <strong>moodle form</strong></p>
<pre><code>$mform->addElement('editor', 'title_editor', 'Questions', null, array('maxfiles' => EDITOR_UNLIMITED_FILES));
$mform->addRule('title', null, 'required', null, 'client');
$mform->setType('title', PARAM_RAW);
</code></pre>
<p>(form contain... | 3 | 2,504 |
Flask Form Only Passing First Item | <p>I am building a cart using Flask for learning purposes. I chose to use SQLite with peewee(ORM) and WTForms. I have it set to display the items from the db with a description and image. I have a form that asks for the quantity then it should add the item and its quantity to the side bar. </p>
<p><strong>The Issue</s... | 3 | 1,046 |
Offset height returns zero for outer most div element | <p>Hi I have this html and it has the script at the end to show the offsetheight. offsetHeight seems to be 0 for the outermost div element. Not sure why. Please share your thoughts. How can I get the correct height of the div element. </p>
<p>Also please note that, this happens only on internet explorer 11.</p>
<pre>... | 3 | 1,279 |
Object created in XAML can't be called by x:Name in cs | <p>The following code represents a simple project in which I am trying to call objects created in XAML. So, I call them by <code>x:Name</code>. In the test UI I created a grid with three rows. The second and third row are being populated directly by Label2 and Label3, but the first row is populated indirectly, via <cod... | 3 | 1,344 |
Animating when retrieving different data from Firebase | <p>I'm currently working on an AngularJS app. The app asks the user a question, then the user can either answer yes or no. Displayed is yes or no columns, and in each column depending whether the user answered yes or no, there is displayed new questions. Once the user clicks on the new question in the column, it become... | 3 | 1,691 |
WCF Could not find endpoint element and contract | <p>I'm trying to create a WCF and consume it from another C# class.</p>
<p>I think I'm doing everything right but i Get the error message says Contract name is not familiar.</p>
<p>This is my Web.config code:</p>
<pre><code><system.serviceModel>
<services>
<service behaviorConfiguration="PNM... | 3 | 1,141 |
Updating tableview javafx without block UI thread | <p>I am constantly pulling data (about 10-15 items) from my database (every 2 seconds)
everytime it updates the ui just freezes.</p>
<p>I've tried using scheduledservice, thread and tasks in order to update the UI but it always freezes. </p>
<p>I've also tried using observable list for the tableview and just removeA... | 3 | 1,603 |
PHP - Packing widgets into the fewest number of boxes, plus minimum order quantity | <p>The problem is this:</p>
<p>A company supplies widgets in a set of pack sizes:</p>
<ul>
<li>250</li>
<li>500</li>
<li>1000</li>
<li>2000</li>
<li>5000</li>
</ul>
<p>Customers can order any number of widgets, but the following rules apply:</p>
<ul>
<li>Only whole packs can be sent and …</li>
<li>No more widgets t... | 3 | 1,057 |
HttpException in ASP.NET MVC with EntityFramework and JSON | <p>I want to make a select on the database. But I get following error (only the first rows of the error):</p>
<pre><code>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace... | 3 | 1,086 |
Intent Activity not working | <p>I'm doing a basic activity of moving from one page to another. Everything was going perfect until I get two pages deep into the app. I used the same exact code for each page class, put the activities in the manifest and made sure all words were spelled correctly, etc., but the intent doesn't do anything when I try t... | 3 | 2,335 |
Filtering and processing url from tweets | <p>I am processing tweets and collecting URLs from the tweets.</p>
<ol>
<li>If url stands for twitter(i.e. starts with <code>t.com</code> or <code>twitter.com</code>) then skip it</li>
<li>If that url in the tweets is short url, then I convert it to long url.</li>
</ol>
<p>CODE:</p>
<pre><code> if(preg_match(... | 3 | 1,275 |
styling table to make a form in asp.net | <p>I am trying to mimic a page form from:
<a href="https://lo5.medseek.com/lfserver/UH_Pre-Registration_Form" rel="nofollow">https://lo5.medseek.com/lfserver/UH_Pre-Registration_Form</a></p>
<p>But I dont know how to make the tables style match up, the div is not expanding to the table header my markup is as follow a... | 3 | 1,432 |
Create new instance of std::thread/std::jthread on every read call | <p>I am developing a serial port program using boost::asio.<br>
In synchronous mode I create a thread every time read_sync function is called. All reading related operation are carried in this thread (implementation is in read_sync_impl function). <br>
On <code>close_port</code> or <code>stop_read</code> function readi... | 3 | 1,229 |
Body Border not taking screen completely unless <p> padding is done? | <p>I am newly started learning HTML/CSS and while doing a little capstone project and came up with a question which may seem stupid but anyway, I am going to ask it :)</p>
<pre><code><!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Capstone Project... | 3 | 1,268 |
Two queries returning different results when they should be equivalent? | <p>Our dataset is fundamentally joining a set of dates (weeks from the current week into the past) to a set of sections based on whether those sections started on or before and ended on or after that week. While originally this query gave us the results we expected, this week it began providing us incorrect results. Af... | 3 | 1,027 |
Google Charts - DataTable Issue with API Request and jQuery | <p>I am struggling mightily with what should be a simple AJAX call to an API that renders back DataTable formatted data (<a href="https://developers.google.com/chart/interactive/docs/reference#dataparam" rel="nofollow noreferrer">Google Visualization API Reference</a>) for insertion into a Google Chart. The data is suc... | 3 | 2,352 |
segmentation fault while Addition of the station already present in list using c programming | <p>I am trying to add a list of stations, wherein if the station name is already present in the single linked list then the station name need not be added. But when I m doing string comparison in findstation function, I am getting a segmentation fault. It's been long time I am debugging. I couldn't find where I am goin... | 3 | 2,124 |
setattribute value to be fetch in jsp by getattribute but getting nullpointer | <p>I had tried from servlet set value by setattribute and it have to iterate in jsp by getattribute by setter and getter method without EL and JSTl but am getting this error .kindly help on this i searched in google but i cant found. </p>
<pre><code>java.lang.NullPointerException
org.apache.jsp.Home_jsp._jspServic... | 3 | 3,895 |
Custom iterator out of bounds | <p>I have an iterator class. Let's call it <code>PIterator</code> here. A <code>MessageBuffer</code> is iterated and is being outputted correctly, unless the <code>nSizeOfMessage</code> plus where the iterator currently points to is equal to the size of the whole message (position correct, index one too large).</p>
<p... | 3 | 1,149 |
Ideas on javascript pagination | <p>I'm developing a google map with populated data from a mysql database using an .xml file to transfer the data between. On the same page as the map I have a table displaying all the data from the .xml file. Now I need to know how I can paginate them using javascript.</p>
<p>Here is my code:</p>
<pre><code><scrip... | 3 | 2,648 |
Unable to connect to gRPC server when build as jar | <p>I am trying gRPC and I having some issues. I have build a gRPC server and a client. Did almost the same as the java example of gRPC (<a href="https://grpc.io/docs/languages/java/basics/" rel="nofollow noreferrer">https://grpc.io/docs/languages/java/basics/</a>) so nothing special. Now when I create a jar of the serv... | 3 | 1,533 |
Client side validation is working but passing Null values to the controller in MVC3? | <p><strong>Client side validation is not working...</strong>
same process I have done in another page its working but there have not used forloop.
Here when I type the text without doing the validation simply tick image is displaying... give me solution..</p>
<p>View is</p>
<pre><code> @model IList<clientval.Model... | 3 | 1,045 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.