title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
How to add custom filters to Google Reporting API V4 Python | <p>I've currently got a Python script which outputs a chunk of data based on Date, City, Latitude & Longitude.</p>
<p>I've tried to implement ga:pagePath in order to filter this data and only show results on '/example'. However, it does not accept this request in the dimensions part of the code.</p>
<p>How would ... | 3 | 1,728 |
imageStore() doesn't work with integer types | <p>I bind a texture to both a texture unit and a image unit, write to it via <code>imageStore()</code> in the compute shader, and sample it with a <code>sampler2D</code> in the fragment shader.</p>
<p>This works when the pixel format is floating point, but stops working with integers. <code>glGetError()</code> yields ... | 3 | 1,802 |
How can I restrict MS-Word to pre-defined styles but still allow inline format changes | <p>I am trying to create a MS Word 2013 document-level add-in with Visual Studio Tools for Office (VSTO) that implements a restricted editing environment. Two particular requirements of the add-in are:</p>
<ol>
<li>The user is restricted to using pre-existing styles. These styles cannot be changed and new styles canno... | 3 | 1,281 |
How to run Springboot app on Tomcat server? | <p>I am trying to run Springboot app on Tomcat server, however all of my experiments failed.</p>
<p>Here you can see the <code>pom.xml</code>:</p>
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org... | 3 | 2,022 |
XSLT 2.0: Evaluate and modify element value according to current index of for-each -group | <p>I am trying to evaluate EndDate as next "StartDate -1" (a day before next start date). Given below is the input XML:</p>
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<queryCompoundEmployeeResponse>
<CompoundEmployee>
<id>176</id>
&... | 3 | 4,576 |
How can I avoid append errors using concurrent.futures in Python? | <p>I'm trying to create a table with the information of an API. When I analyze game by game it works fine, but when I try to analyze a large number of games using "concurrent.futures" to speed up the process it appends some wrong information to the table. Every time I run the script the errors come up in different rows... | 3 | 2,454 |
Synchronise 2 local Folders through a Powershell button | <p>I just want to make it clear, that i am completely new to powershell so sorry if i use wrong terms.</p>
<p>I want to make a GUI where you can write a source folder Path and a target folder path, with a synchronise Button. I've tried multiple solutions from the internet but i cant seem to make it work. </p>
<p>I wa... | 3 | 2,454 |
Casting Error When using tasks in C# Windows Forms Webrowser | <p>I keep getting a casting error when calling a method that then calls a thread that sleeps for a period of time then returns and continues on the original thread. I use the await command to pause the main thread until the sleep thread returns. I can't figure it out but if I avoid the threading then the casting error ... | 3 | 1,050 |
Strange results with quantified formula | <p>I am getting some strange results when I use the ForAll quantifier. My goal is to restrict the interpretation of a function foo to the following:</p>
<pre><code>\Ax,y. foo(x,y)= if x=A && y=B then C1 else C2
</code></pre>
<p>So if i assert the above into a context I should get back an interpretation for fo... | 3 | 1,562 |
Android: Relative layout layout | <p>I'm doing this fill-out questions about BMI and I wanna do this in a relative layout inside a linear layout. I don't have a testing device for this so I'm just relying on the graphical layout of the eclipse.</p>
<p><img src="https://i.stack.imgur.com/tfBlj.png" alt="enter image description here"></p>
<p>The 0.0 on... | 3 | 2,102 |
Teardown issue using Moto DynamoDB and unittest in Python 3.8 | <p>I'm trying to run some unit tests using <code>moto</code> and <code>unittest</code> based off of <a href="https://muhannad0.github.io/post/using-moto-to-mock-test-aws-a-dynamodb-example/" rel="nofollow noreferrer">this example</a> from muhannad0's blog.</p>
<p>Below is my code (minified the table creation as it's no... | 3 | 1,408 |
Scrapy duplicating results | <p>I am trying to parse various data items for each advert on a page such as <a href="https://www.pistonheads.com/classifieds?Category=used-cars&M=1044&ResultsPerPage=750" rel="nofollow noreferrer">https://www.pistonheads.com/classifieds?Category=used-cars&M=1044&ResultsPerPage=750</a></p>
<p>My code c... | 3 | 1,278 |
react native terminating with uncaught exception of type NSException | <p>I have an error when running my app after I upgrade the ReactNative to 0.17
I was work fine with 0.13 </p>
<p>Error code is</p>
<pre><code> 2016-01-04 12:22:37.405 myapp [16916:350051] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSCFString substringFromIndex:]: Index 175 ... | 3 | 1,125 |
Force a derived class without implementing pure virtuals again | <p>I have defined an interface class <code>A</code> which defines some basic functions. In my implementation I have a base class <code>A0</code> which implements this interface and from this base class I have derived several other classes in a hierarchy. </p>
<pre><code>#include <iostream>
#include <string>... | 3 | 1,830 |
Filtering with checkboxes using jQuery - preserve the selections in the URL | <p>I have used an <a href="https://stackoverflow.com/questions/22786090/jquery-multiple-checkbox-filtering">earlier post</a> and with success implemented this as a 2-dimensional product viewer with filtering.</p>
<p>As I really appreciate the people developing and sharing this code. </p>
<p>I would like it to be poss... | 3 | 5,163 |
ASP.Net C# GridView Update is not working | <p>I am having an issue but I am not getting any errors thrown. What's happening is that I have a stored procedure that is driving my update but I am unable to get the gridview to update. </p>
<p>I hit the <code>Update</code> link button but it doesn't actually update the record. </p>
<p>Here is my stored procedure... | 3 | 13,046 |
postgresql with pgbouncer tables not showing | <p>I tried implementing <code>pgbouncer</code> and found unusual behavior that I cannot solve.</p>
<p>Here is my implementation using <code>docker</code>.</p>
<pre><code>version: '3.5'
services:
dev8_web:
container_name: dev8_web_1
image: xcgd/odoo:8.0
depends_on:
- dev8_pgbouncer
restart:... | 3 | 1,051 |
What is the correct animation to change the color of a CustomPainter in Flutter | <p>In my flutter application I want to animate the color change (the color is a gradient) of two elements that inherit from a custom painter, this happens when a button is clicked.</p>
<p>My problem is that I can't find how to do it, since I understand that to animate an element a Tween is needed.</p>
<p>I cannot find ... | 3 | 1,898 |
Float figure - why does left go right and right go anywhere? | <p>Float left should be pretty simple: float the figure to the left. But instead of floating left, HTML5 randomly decides to maybe float left, maybe float right(ish), maybe neither. What is it with figures floating any which way they want?</p>
<p>My expected output is something like this:</p>
<p><a href="https://s26... | 3 | 1,163 |
Coding for share buttons on blog | <p>I used a premade blogger template for my blog.
I figured out how to code everything the way I like, but for the life of me I can't figure out how to correctly code the buttons so they go to the right destinations. I'd appreciate any help!!</p>
<pre><code><b:includable id='shareButtons' var='post'>
<a c... | 3 | 1,068 |
My Antlr4 grammar compiles, but the pgn files parsing is awful | <p>I made my own grammar in order to parse chess PGN files, it compiles fine (with antlr4 command) but I can't manage to parse pgn files with it.</p>
<p>Pgn.g4 (antlr4 grammar, available <a href="https://www.dropbox.com/s/qo93yx0ifu2vsce/Pgn.g4" rel="nofollow">here</a>)</p>
<pre><code>grammar Pgn;
file: game (... | 3 | 3,533 |
Why do I keep getting 404 errors when I retrieve https data through OkHttpClient | <p>I'm sure the URL is correct.
<a href="https://openapi.taifex.com.tw/v1/DailyForeignExchangeRates" rel="nofollow noreferrer">https://openapi.taifex.com.tw/v1/DailyForeignExchangeRates</a></p>
<p>When I browse it directly through Chrome, I get the file below</p>
<p><a href="https://i.stack.imgur.com/BmgJq.png" rel="no... | 3 | 3,353 |
Display loaded content into TextArea | <p>I want to display information that I have loaded in from 2 methods onto my <code>TextArea</code>. The methods I am trying to call and display are named <code>loadFleet</code> and <code>loadCrew</code> which are in the <code>Fleet</code> class. I only have it working to where it prints out to the console like so <cod... | 3 | 1,515 |
jquery Return to same screen without refreshing screen | <p>I have an upload view that needs to be used to upload three attachments. Now I used this code for the UI part in the view:</p>
<pre><code> <div id="theDeliveryNoteContent">
<form action='Order/Save' method="post" enctype="multipart/form-data" id="deliveryNoteForm">
<div >
... | 3 | 1,038 |
PHP prematurely exiting while loop | <p>Pretty new to PHP and I am stuck on a (what I consider) a strange issue. I have spliced this file together, (it was split across several different functions) for testing, and to make it easier to explain the issue. </p>
<p>This is a basic while loop in Laravel and it seems to be exiting prematurely but oddly not ex... | 3 | 1,707 |
Adding data to dynamic form | <p>I am using this dynamic form generation code . <a href="https://www.jqueryscript.net/form/dynamic-forms-fields.html#google_vignette" rel="nofollow noreferrer">https://www.jqueryscript.net/form/dynamic-forms-fields.html#google_vignette</a></p>
<p>Example : <a href="https://www.jqueryscript.net/demo/dynamic-forms-fiel... | 3 | 5,104 |
Select() implemented wrong in program, getting timeouts from server | <p>A third question in the saga: <a href="https://stackoverflow.com/questions/66775899/">How to correctly implement select to correctly get data from stdin and recv()</a>. I recommend reading this and the other question it links to understand the situation.</p>
<p>Basically, I tried my luck at implementing <code>select... | 3 | 3,837 |
java fxml open new window on click listview | <p>I have a <code>ListView</code> with some messages. I want to open a new window when I click on a message in the <code>ListView</code>. For some reason the <code>.fxml</code> file fails to load and I can't seem to find out why. I suspect I'm overlooking something.</p>
<pre><code>@FXML
private void handleSentMsg(Mous... | 3 | 2,314 |
Replacing first occurrence line after first matched line | <p>Let's assume the following XML file:</p>
<pre><code> some text
<addresses>
<something/>
</addresses>
some more text
<addresses xmlns="namespace">
<could be anything/>
</addresses>
some other text
<addresses>
<some... | 3 | 1,085 |
Data retrieve using entity framework issue in dotnet core | <p>I have a table with user answers.Assume survey contains 5 questions.Then this row contains 5 rows per user.I want to retrive it like</p>
<pre><code>userEmail: 'amara@gmail.com',
qustns: []
</code></pre>
<p>Here is the json data what I want.</p>
<pre><code> uersSurveyAnswers: any = [
{
... | 3 | 6,613 |
How to create a nodejs-command-line-tool that it can be installed globally? | <p>How to build/install a node-command-line-tool that it can be used globally?</p>
<p>I wrote a little command-line-utility called "<a href="https://www.npmjs.com/package/extractdeps" rel="nofollow noreferrer">extractdeps</a>", that will list all dependencies from a node-application out of a package.json-file.</p>
<p... | 3 | 1,458 |
Populate Data into Columns of Datatables | <p>I am getting a json object response from the server but unable to render the data into columns.
Appreciate your help.</p>
<pre><code>JSON OBJECT RESPONSE:
{
"CHD2": {
"POSName": "CHANDIGARH INDU. AREA-I",
"HODB": "QSR_PHASE-I_CHANDIGARH"
},
"D002": {
"POSName": "DEHRADUN-ASTLEY HALL",
"HODB": "QSR_DEHRADUN_ASTLEY"
... | 3 | 1,269 |
Reverse W3 Total Cache caching rules for subdirectory/subdomain | <p>I am using W3 Total Cache, a Wordpress plugin, to cache my site. It adds the code below to the site's <code>.htaccess</code></p>
<p>Unfortunately, this also gets applied to a sub-directory: <code>/analytics</code></p>
<p>I am using a sub-domain <code>analytics.mydomain.com.au</code>, which lives in <code>/analytic... | 3 | 2,495 |
session.save doesn't save to the database | <p>Here is the JUnit code:</p>
<pre><code>package com.learn.hibernate.entities;
import java.util.Date;
import org.hibernate.Session;
import org.hibernate.SessionFactory;
import org.hibernate.Transaction;
import org.hibernate.cfg.Configuration;
import org.hibernate.service.ServiceRegistry;
import org.hibernate.servic... | 3 | 2,131 |
Ordering by a selected column from database | <p>I have the following table that is meant to show a win/loss record and to have rankings. I'm running into two issues with it though.</p>
<ul>
<li>First issue is that my rank <code><td></code> is not progressing like I want it to. What I mean by that is for each record that is looped and output, I want it to b... | 3 | 1,057 |
How to define a constructor of a template class C with template argument float with template parameters that can be cast to float? | <p>I have searched for results, but the following questions are not what I want.</p>
<blockquote>
<ul>
<li><a href="https://stackoverflow.com/questions/40239871/passing-object-of-a-template-class-to-constructor-of-another-class">Passing object of a template class to constructor of another class</a></li>
</ul>
</blockqu... | 3 | 1,035 |
How can I change ObservedObject | <p><strong>*DataStoreCode:</strong> </p>
<p>How can I assign a variable to the parameter in the getTrailer function ?
I can't send data to the parameter when I click and the link doesn't work</p>
<pre><code>class DataStore: ObservableObject {
@Published var movie: MovieRoot?
@Published var trailer:... | 3 | 4,042 |
.Net Core Razor page with multiple drop-down's for the same entity | <p>Is there any way I can have multiple drop-down menu displaying the data from the same database entity on the same razor page without creating several classes with new IDs (e.g. ResourceID; ResourceID1; ResourceID2)</p>
<p>I am able to display the drop down with the appropriate data from the MS SQL database in the '... | 3 | 4,750 |
Run spring batch job from controller | <pre><code>@RestController
@Controller
public class DemandeWebbatchControler {
private static final Logger logger = LoggerFactory.getLogger(DemandeWebbatchControler.class);
@Autowired
@Qualifier("jobLauncher")
private JobLauncher jobLauncher;
@Autowired
@Qualifier("demandeJob")
private Job job;
@Autowired
JobExplor... | 3 | 1,086 |
Why yacc can not parse a second line of a grammar rule even when it parses correctly the first one? | <p>I want to parse lines as this one:</p>
<pre><code>20191201 170003296,1.102290,1.102470,0
</code></pre>
<p>To do so, I have written the following basic yacc/lex grammar/lexer:</p>
<p><strong>grammar.y</strong>:</p>
<pre><code>%{
#include <time.h>
#include <stdio.h>
%}
%union {
struct tm ... | 3 | 3,476 |
I get just params of one field from form | <p>I have a <code>foreach</code> on some form and when I submit, i get all params of just the last field in my controller.</p>
<p><strong>form:</strong></p>
<pre><code><form action="<?php echo Mage::getUrl('checkout/cart/addmultiple')?>" method="post" id="products_addtocart_form" enctype="multipart/form-data... | 3 | 1,337 |
Vue.js component does not receive prop | <p>I would like to pass a ride to the show-ride-modal. When somebody clicks on the button <code>show</code> a modal will pop-up with the ride information. </p>
<pre><code><table class="table">
<thead>
<tr>
<th>Door</th>
<th>Van</th>
... | 3 | 1,024 |
Is setting interval right way to make sure Ajax call is completed? | <p>I have two input text field and one <kbd>save</kbd> button.</p>
<pre><code><input type="text" id="myInput" />
<input type="text" id="searchResult"/>
<button id="myButton>save</button>
</code></pre>
<p>The <code>myInput</code> text field has <strong... | 3 | 1,036 |
Unexpected survival of a @ViewScoped bean | <p>I'm developing a <strong>view</strong> which consists of an object creation form and the existing object list, <em>creablocco.xhtml</em>: </p>
<pre><code><?xml version="1.0"?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<ui:composition xmlns="http://www.... | 3 | 8,024 |
How do I fix ReplicaSetNoPrimary MongooseServerSelectionError when connecting to a local Mongo ReplicaSet from inside a Docker container? | <p>I am developing a Node.js app that I want to connect to a Mongo Replica Set and I run the MongoDB replica set locally using the run-rs npm module by executing <code>run-rs --dbpath ./data --keep</code>. When I run my application as a Node application, I successfully connect to the replica set with the following code... | 3 | 1,209 |
Sample, replicate and histogram in R | <p>I want to choose 100 houses randomly from my dataset, and find the mean value of their total price. Then repeat this action 100 times, and for each time I repeat the action, calculate the mean price. And then plot all the mean values in a histogram. This is my code (rome is the house dataset):</p>
<pre><code>run <... | 3 | 1,769 |
Flink Reading a S3 file causing Jackson dependency issue | <p>I a reading a config YAML file in my link application. I want to keep this config file on S3 filesystem but when using aws-sdk in my pom and trying to read I am getting this error. I know this is due to Jackson's conflict dependency but I am not able to resolve it. Please help me to get it to resolve.</p>
<p>java.l... | 3 | 4,712 |
Javascript external file not working as excepted | <p>I have been trying to make a article filter at the moment i can only seem to get it to work with internal javascript but i need to have it as a external javascript. </p>
<p>How do i do this? </p>
<p>When i add the javascript to an external file it doesn't show everything straight off and the active button doesn't ... | 3 | 2,711 |
How to start Alarm when device is rebooted? | <p>I have this Alarm and I am trying to make a BroadcastReceiver for recreating the alarms when the device is rebooted. The problem is I don't know what to put in the BroadcastReceiver.</p>
<p>This is the BroadcastReceiver for recreating the alarms when the device is rebooted</p>
<pre><code> import android.content.Br... | 3 | 2,036 |
Setting up Boost 1.62 in CLion windows | <p>I have been trying to set up boost 1.62 in CLion for past two days now. I have seen almost all the stack question but still couldn't do it.</p>
<p>My CMakeList.txt looks like this:</p>
<pre><code>cmake_minimum_required(VERSION 3.6)
project(DeSNN_CPP)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
SET (BOOS... | 3 | 4,342 |
error when deleting in sqlite database | <p>Im new in terms of coding, So I copy paste the codes of some tutorials, but when Im trying to delete all data in the "sleep" column, this error is showing. </p>
<blockquote>
<p>android.database.sqlite.SQLiteException: near "20170128": syntax error
(code 1): , while compiling: DELETE FROM 20170128
... | 3 | 2,984 |
Fading-out texture looks bad over the same solid texture when rendered | <p>I'm writing a mobile game for android, using OpenGL ES 2.0. Currently I'm trying to make a scroll with spells, that should in-game look like this:</p>
<p><img src="https://i.stack.imgur.com/WOLqk.png" alt="Scroll design"></p>
<p>It would be an element of GUI, where player could select spell which he currently want... | 3 | 1,776 |
Angular $HTTP posting- dynamic URL and defining post | <p>I am trying to post a simple binary value (using $http) to a URL which si defined by a value in my HTML.</p>
<p>I have successfully got the "card.id" being passed through (can see it in console log)</p>
<pre><code> <td-card ng-repeat="card in cards"
on-destroy="cardDestro... | 3 | 1,633 |
Java IO / NIO : Can Server listen on more than one port? | <p>I am working on Java IO/NIO. I have implemented many server/client applications for both TCP and UDP (Java IO) and recently started working on NIO. </p>
<p>I want to write a Server(TCP or UDP) which performs more than one task while listening to <strong>more than one port</strong>. I have always implemented server ... | 3 | 1,394 |
Problem "$gte" : "?" in production on MongoDb with NodeJs | <p>I have a problem with an execution difference between QA and Production environment using Node + (Mongoose or TypeOrm) + MongoDb.</p>
<p>The problem occurs when using the "$gte" function which works in QA environment and returns records, but in production environment it doesn't.</p>
<p>During the analysis ... | 3 | 1,502 |
IONIC3 - WriteFile & WriteExistingFile is unable to overwrite the file | <p>I would like to do image annotation for my Ionic Application. So the flow of the app would be using the camera plugin to take a picture and use FabricJs to draw on the image then save the file.</p>
<p>I hit the roadblock when I am trying to save or overwrite the file. Apparently the source "<a href="http://localhos... | 3 | 1,462 |
How to make include tag between 2 elements? | <p>I have this layout as below. The include tag contains my fragment. And i want to make sure that it is between my appbarlayout and bottomnavigationview. But currently the include tag will extend behind bottomnavigationview. How can i make sure that the include tag will not extend behind my appbarlayout and bottomnavi... | 3 | 1,811 |
accept_nested_attributes_for creates one extra nil record on Rails | <p>I am using Rails as a backend and React as my front-end. On the React side, I am using fetch to do POST request to my model named <code>schedule</code>. I am also adding a child attributes for <code>worker</code> model. </p>
<p>Here are some code snippets that I have. I am using <code>has_many :through</code> relat... | 3 | 2,045 |
Primefaces dataTable edit cells next to header | <p>I'm trying to draw an assistance table with primefaces and I'm facing some troubles with <code><p:dataTable></code>.</p>
<h1>The scenario</h1>
<p>The table should be as follows:</p>
<pre><code>-----------------------------------------------------------------------------------------
| ... | 3 | 1,400 |
call listview OnPagePropertiesChanging function from another function in c# asp.net | <p>I have an aspx ListView control, a data pager for paging, paging is working fine. Now I have a dropdown to change page size and show the relevant records in listview. But dropdown not working properly.</p>
<p>I have total 14 records and when i go to 2nd page which has 4 records after that i change dropdown page siz... | 3 | 1,762 |
Automatically identifying ultimate and penultimate columns as variable in python | <p>I am trying to automize a part of the following code that I introduced <a href="https://stackoverflow.com/questions/31142884/using-first-row-as-variable-with-python">HERE</a>. As it is, the code works and achieves my desired final result. However, one of the variables is semi-automatic and I would like to automize i... | 3 | 1,368 |
if (!IsPostBack) not working with 2nd language | <p>I have 2 tables in my page.
I can select between those 2, to choice the language.</p>
<p>In my code I have this:</p>
<pre><code> public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
username.Text = "[" + HttpContext.Current.User.Identity.Nam... | 3 | 1,941 |
WELD-000143: Container lifecycle event method invoked outside of extension observer method invocation. on websphere liberty server | <p>I am trying to migrate an application that was running on the Websphere onto 8.5.5 server onto Websphere liberty server. After the WAR is deployed on the liberty, I am getting the following exception. The application is a REST service built on jersey and I have included the Jersey jars in the POM. </p>
<pre><code> ... | 3 | 5,458 |
Android:TextView is not set on top of ImageView? | <p>I'm designing my application. In which I want to set <code>TextView</code> on top of an <code>ImageView</code> without any correction of any Layout. <code>TextView</code> is on top of <code>ImageView</code> like other two Buttons. Is it possible to set <code>TextView</code> on <code>ImageView</code>. In my code <cod... | 3 | 2,862 |
AngularJs is empty list | <p>I make simple program with .net Core and AngularJs + webApi
My Api code as below
There is no Js error after running the problem is factory return nothing.
when I set break point on $location.qwets = index.query(); my "qwets" is empty the length of "qwets" is 0.
The get method is working each time page refresh but ... | 3 | 1,073 |
Xaml Windows phone 8 | <p>I would like to show 6 values from the database in my corresponding page horizontally as for example
Date|Time|Floor|Zone|Latitude|longitude
But the page only shows
Data|Time|Floor|Zone
and does not show the latitude and longitude
Below is my Xaml code</p>
<pre><code> <Grid x:Name="LayoutRoot" Background="Tran... | 3 | 3,721 |
GAE and JPA - java.lang.NoSuchMethodError: org.datanucleus.store.ExecutionContext.findObject | <p>I'm using Google app engine and JPA for my application.
I need to call REST API to insert and get records.Insertion of the records to the table works fine,but when I use select query it is giving tons of error.</p>
<p>Error Trace is :</p>
<pre><code>java.lang.NoSuchMethodError: org.datanucleus.store.ExecutionConte... | 3 | 2,092 |
I have a task and I am stuck with it [ classes, arrays, cycles ] | <p>My foreign language is not English, but I'll try to do my best.</p>
<p>*</p>
<p>The transfer between email and servers is happening. Interface speed via internet is known from a file. You need to make a list of servers which haven't got any bite of data in at least one hour period. By having the time when sender s... | 3 | 3,313 |
Objective C Pushing Array Data To New UITableView Issue | <p>I am trying to push data in an array to a new <code>UITableView</code>. I have completed the code and there are no errors, but it is pushing to a blank view (not pushing array data to new view).</p>
<p>When the user presses "Alabama Area 1" it should pull up the 3 climbs in that area that are in the <strong>alabama... | 3 | 3,117 |
Not able to fetch users from the OU | <p>I'm working on a project where I have to fetch the users from a particular OU in Active Directory.</p>
<p>I use the <code>Dropdown</code> menu to store all the OUs present. As soon as the user selects a particular OU and clicks on the button the users available for that should be displayed in the textbox.</p>
<p>T... | 3 | 1,121 |
SSL: Error parsing the certificate: Ok | <blockquote>
<p><strong>NOTE:</strong> I ended up dropping support for Android 2.2 entirely, due to other problems... this issue remains a mistery though.</p>
</blockquote>
<hr>
<p>I have been experiencing a SSL exception in Android 2.2 on a Huawei U8150.</p>
<pre><code>java.io.IOException: Error parsing the certi... | 3 | 1,372 |
Change design of another control using style | <p>I'm trying to call a design state for a control when my mouse is over an other control.
Example : My mouse is hover "button A", I want the "button B" to change its design.</p>
<p>So I tried to manage this in my template :</p>
<pre><code> xmlns:sys="clr-namespace:System;assembly=mscorlib"
<Style x:Key="Button... | 3 | 4,417 |
Trying to add a product to list in NodeJS ("TypeError undefined") | <p>I have just started NodeJS, so I'm on a beginner level. I am trying to build a shopping list app with MongoDB, in which user logs in, creates a list and then adds items to that list. I can register & log in and create a list, but when I try to add items to it, that's when I run into this:
"TypeError: Cannot read... | 3 | 2,009 |
Python implementation with github | <p>How I can fix the following bug for the comments from commits that has been merged are not downloaded? I think there is a problem from REST to GraphQL but I don't know exactly how to fix.
The following script is used for:
Get all all quantified activities from a set of GitHub repositories. The
list of repos to be ... | 3 | 6,607 |
How to output players normally in the connect four game | <p>This is my board class</p>
<pre><code>public class Board {
char[][] grid;
int width;
int height;
int count;
char player;
public Board(int height, int width){
count = 0;
grid = new char[height][width];
this.width = width;
this.height = height;
for(int i = 0; i < height; i++) {
f... | 3 | 1,521 |
QML text doesn't update unless I resize window | <p>I have the following Python code</p>
<pre><code>import sys
import os
import threading
from time import sleep
from PySide2.QtCore import QObject
from PySide2.QtGui import QGuiApplication
from PySide2.QtQml import QQmlApplicationEngine
def add_text(log_text):
i = 1
while True:
text = log_text.proper... | 3 | 2,289 |
JavaScript Error Debugging - using for loop with getElementById | <p>I don't know how to debug JavaScript codes.
I guess I am having a problem using for loop with getElementById. </p>
<pre><code><html>
<head>
<title>CGPA to Percentage calculator</title>
<script type='text/javascript'>
function addFields(){
var number = docu... | 3 | 1,109 |
Failed to change locale for db '/data/data/com.scoreup/databases/scoreUp' to 'en_GB' | <p>I have recently updated one of my application and I get the above error in very rare cases. This error occurs only when the user tries to update the app over the existing one. This doesn't happen every time and on every device.
I have found a similar issue on <a href="https://stackoverflow.com/questions/14631316/an... | 3 | 3,158 |
RangeError: Maximum call stack size exceeded Vuejs Laravel | <p>I am running vuejs-laravel application, on local server its running with no error, but when I upload the files to live server, i am getting <strong>RangeError: Maximum call stack size exceeded</strong> on 2 pages and rest the application is working fine.</p>
<p>I have multi time checked there is no recursive functio... | 3 | 4,106 |
How to send PHP data from database back to JQuery and insert to a Table | <p>As the title says, I'm trying to display data from a database based on user input and display it on a HTML table. In short I want the user input to filter the query request to the database, and then display the result in a table format. </p>
<p>My issue is that I'm not exactly sure how to return the query result ba... | 3 | 2,369 |
reactjs proper use of functions and hooks - I get errors | <p>I finally got a function to compile, but when I call it from within an event handler errors start flying!</p>
<p>The calling code and function is below.
The objective was to get a function to return a 'assettype' as a string and use that String to make a make routing decision.
What am I missing here?
Any chance of s... | 3 | 1,235 |
Firebase not working on my android app project | <p>I am trying to use Firebase Cloud Messaging on an Android Project I inherited from my predecessor in my place of work.</p>
<p>For some unknown reason Firebase has refused to work on the project, it doesn't matter whether the app is in background or not.</p>
<p>However if I create fresh projects and implement Firebas... | 3 | 6,169 |
Matlab. indexing 1 file with different length columns and rows | <p>I have been given multiple very large files that I need to process. I have worked on somewhat simlar but these are unlike anything I've had. Looks like someone copied and pasted a bunch of different length excel files together and converted to a text file. </p>
<p>I need to separate them out. The even more fun p... | 3 | 1,460 |
CodeIgniter upload fails - filetype is not allowed | <p>I'm keep getting error <code>The filetype you are attempting to upload is not allowed</code>, when I try to upload MP4 movie file.</p>
<p>This is my upload function</p>
<pre><code>public function upload_post() {
$config['upload_path'] = ROOT_DIR . $dataBasePath;
$config['allowed_types'] = 'avi|mov|... | 3 | 1,036 |
jquery mobile - link listbox item with Store Object | <p>I have a few pages in single HTML file. On one page I load a list from my WS (JSON) and I display them in <code><li></code>.
How can I link list item with specific record in my data object ? There is no unique record ID btw.(tripId is not unique but tripID + custName is).
What I want to accomplish is to do 1 ... | 3 | 1,057 |
Required error messages based on label in html? | <p>I try to i18n a WicketApplication that uses forms, and labels. </p>
<p>I use Wicket 7.3.0, running from the maven-quickstart in jetty.</p>
<p>I would like the Feedback message to use the <code>label</code> contents, but now it uses the field-name. I remember seeing this working sometime in the past, but it seems n... | 3 | 1,265 |
Typeahead get remote data issue | <p>I have some products in my database and I have used an input field for searching products.
I am using <a href="https://twitter.github.io/typeahead.js/examples/" rel="nofollow">Typeahead</a> for search products with remote data. My database for products is like this</p>
<pre><code>CREATE TABLE IF NOT EXISTS `product... | 3 | 2,324 |
2241 illegal hardware instruction rails s | <p>Here's the problem: Unable to start an existing Rails project after upgrading to MacOS 10.15.1. The terminal shows this (below) after Rails s and going to localhost:3000.
<code>SEGV received in SEGV handler [1]</code>
<code>1438 illegal hardware instruction rails s</code></p>
<p>Note: The latest version of Xcode /... | 3 | 1,227 |
How to run a Puppeteer App/Script on a docker instance? | <p>My goal is to have a Puppeteer Application deployed onto opeNode cloud hosting platform. The puppeteer application is to run once a day, using a scheduling system which they seem to provide, my problem is that locally the puppeteer script works fine, running it in a local docker container also works fine, but once d... | 3 | 1,381 |
Nothing is happened when I put comment button | <p>Nothing is happened when I put comment button.I wanna make a page which is shown comment&recomment.I wrote codes in views.py</p>
<pre><code>class DetailView(generic.DetailView):
model = POST
template_name = 'detail.html'
def get_context_data(self, **kwargs):
context = super().get_context_data(**kw... | 3 | 1,984 |
Can I return or resolve a promise in a .then in javascript | <p>I want the wrapping function to return the value in the .then inside of it, so I can use it later on.</p>
<p>I have the following code where I first have a request function that returns a promise, then I have the statusCurrent function wrapper that sits around it and calls the request function. I am able to get the ... | 3 | 1,084 |
MySqlX (C connector) with Dart's ffi brings error "NoSuchMethodError: The method 'FfiTrampoline' was called on null." | <p>I am trying to directly connect to MYSQL with Dart using Dart's ffi package and the native C-Connector of MYSQL.</p>
<p>My Dart code is:</p>
<pre><code>import 'dart:ffi';
import 'package:ffi/ffi.dart';
typedef CFun = Pointer Function(Pointer<Utf8>, Int32, Pointer<Utf8>, Pointer<Utf8>, Pointer<U... | 3 | 1,215 |
Module parse failed: Invalid number | <p>I'm trying to make a Renko chart With the canvasJs library like <a href="https://jsfiddle.net/canvasjs/4fk78yn0/" rel="nofollow noreferrer">this</a>. But when I add these codes.</p>
<pre><code> data:[Object] = [{
dataPoints: [
{x: new Date(2012,10,10),y:[5198, 5629, 5159, 5385]},
{x: new Date(2012,2... | 3 | 1,704 |
Search Engine with Multiple Qualification Filters in SQL Server | <p>I am trying to build a search engine like the ones Job portals have. My query is particularly related to qualification. My end user may query for employees who have a single or set of qualification-discipline combinations, or they may give a list of qualifications with disciplines and ask for all employees who have ... | 3 | 1,465 |
How to resize bar chart based on no of x axis categories in HighCharts | <p>I am working on adding some bar charts using the Highcharts . My chart looks kind of sparse when there are too few values in x-axis and too crowded if there are too many values.</p>
<p>I have fiddled with plotOptions options like (pointPadding,groupPadding,borderWidth,pointWidt). This seems to prevent dynamic resi... | 3 | 1,762 |
Gradually decrease polylines if user is following it in iPhone | <p>I am creating a Navigation iPhone app that creates a <code>polyline</code> between the <code>user location</code> and the <code>destination</code> the user wants to go. </p>
<p>I am able to create the <code>polyline</code>. But what i need to do is as the user proceeds on the polyline, the polyline need to graduall... | 3 | 1,629 |
Why qlite3.OperationalError: no such column: loginsignup_customusers.password While creating CustomUser and CustomUserManager? | <p>I have just started learning Django and stuck my self in very strange condition.
I have created my own CustomUser instead of available in <code>django.contrib.auth.models</code> for authentication purpose.</p>
<p>I am getting some error or problems all together ,while running the program,i am trying to post all of t... | 3 | 1,288 |
C# win form, trying to pull data from excel, keeps saying cant find column outside of my range | <p>ive been tinkering with this for a few hours and im just not advanced enough to understand whats going on. i just started in C# a few weeks back. reading through a very good book. kinda jumping ahead of myself to develop this app. anyways i have data in excel about 24 columns, and its an ever expanding row length. c... | 3 | 2,054 |
How to convert results from sunset and sunrise data using astral package into a dataframe? | <p>I'm trying to find a way to convert my results I got from calculating the dawn and dusk times from a certain time interval using the <code>astral</code> package at a certain city into a dataframe. The problem is that once I got the results of the sunrise and sunset information, I have a hard time converting it into ... | 3 | 1,257 |
problem in create user in Firebase in android | <p>i wrote these two functions and called theme in signup button but no user is created in Firebase.(The connection between the app and Firebase is done correctly) so whats the problem?</p>
<pre><code>private void attemptRegistration() {
// Reset errors displayed in the form.
edtEmail.setError(null);
... | 3 | 1,289 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.