title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
React Native Firestore pagination issue | <p>I'm working on a project using React-Native and the react-native-firebase librairy.</p>
<p>Within this project i'm trying to implement simple pagination with next and previous buttons.
I'm using startAfter() / limit() for the next one and endBefore() / limitTolast() for the previous one.</p>
<p>Here is my code</p>
<... | 3 | 1,958 |
Generating shingles with synonyms in Elasticsearch | <p>I have a file of alternate spellings for the terms in my index. I want to produce bigrams containing those alternate spellings for particular terms. For example, I have <code>biriyani, biryani, briyani</code> in my alternate spellings csv file and my field contains the text <code>Chicken Biryani</code>. I want to be... | 3 | 1,072 |
vs code terminal console not working with javascript | <p>so I installed the code runner extension and wanted to try javascript in vscode, to my suprise you cannot write in the output section so I switched to terminal. I right clicked my js file and chose 'open in integrated terminal', i wrote a snippet</p>
<p><code>document.firstElementChild.lastElementChild.lastElementCh... | 3 | 1,158 |
Xamarin Firebase and Syncfusion DataGrid. How do I listen for Firebase changes? | <p>I'm having trouble with the coding to properly listen for Firebase add or update events. My attempt below has the data loading into the Syncfusion Datagrid, but there is a weird glitch where when I click the mouse on the Datagrid and pull-down, the first record in my 4 record set gets added to the bottom of the Dat... | 3 | 2,887 |
Cocos 2dx game increasing in memory every time a scene transition occurs | <p>I am making a cocos 2dx game. But each time the memory increases with every level transition. For debugging purposes I am calling the same scene again and again on touch event. Each level is generated by changing the parameters for the folowing code. Initially I thought that the memory was increasing because there w... | 3 | 1,925 |
VariableListener corruption | <p>I was playing around with the custom shadow variables and custom variable listeners. I found that the "Exam timetabling" example uses custom shadow variables to update "Following exams" when the "Leading Exam" changes.
So what i did to assert asking in this question was true <a href="https://stackoverflow.com/questi... | 3 | 1,910 |
The retina image is not loading after DOM using retina.js - CSS/JavaScript | <p>I am trying to replace a regular image with retina display image (@2x) using retina.js javascript library. But problem is that the original image is not getting replaced with the retina image. In fact there is no image in high resolution devices and the div containing <code><img></code> is blank. However when ... | 3 | 1,676 |
Exception not being catched | <p>In my MVC 5 application, I have this code: </p>
<pre><code>try
{
var inputFile = new MediaFile { Filename = videoPath };
var outputFile = new MediaFile { Filename = Config.ThumbPath };
using (var engine = new Engine())
{
engine.GetMetadata(inputFile);
if (inputFile.Metadata != null... | 3 | 1,257 |
TextView isn't updating in Android | <p>I'm making a simple "novelty" app that counts how many sneezes are done, it's more of a fun app that builds up experience until I do my huge project during the summer. I have two buttons, one adds a sneeze and the other clears how many sneezes there currently are. It holds the highest number of sneezes that there we... | 3 | 2,073 |
IDictionary Controller and Interface C# | <p>I have an object coming back with multiple lists that looks like this:</p>
<p><a href="https://i.stack.imgur.com/vrmkA.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vrmkA.png" alt="enter image description here" /></a></p>
<p>This is for a PUT route so I want to just sent it back with new value's... | 3 | 1,607 |
implementing lisp in Python | <p>First: yes, i have taken a <em>very</em> long look at Norvig's <code>lispy</code>. Second: I have reused part of his code.</p>
<p>On to my code, and my question. I am writing a really non-idiomatic lisp interpreter in Python, and I'm curious as to how I would write nested function definitions (e.g. <code>(define sq... | 3 | 3,191 |
Material UI Dialog close dialog from inner component | <p>I have a sign in dialog I have created using material ui but I am using a separate component for the log in button.</p>
<p>How would I close the dialog when I click the button? It is the submit button in the SigninForm component that I want to close the dialog. I used the code from material ui's sample exept I extra... | 3 | 2,554 |
UWP Tiles - AdaptiveImage AlternateText not showing up | <p><strong>Question</strong>: Why my following code for a Tile on windows 10 start menu shows the image, but when I hover over the image it does not show the <a href="https://docs.microsoft.com/en-us/dotnet/api/microsoft.toolkit.uwp.notifications.adaptiveimage.alternatetext?view=win-comm-toolkit-dotnet-stable" rel="nof... | 3 | 1,240 |
why are the tests failing | <p>Trying to test http get service here but the test fails. why is it not working. I have provided all the dependencies and everything but still it's giving the response as undefined</p>
<p>and when I run the karma test runner the test fails to give the following error</p>
<p><code>HttpGetService should get courseLis... | 3 | 1,857 |
AngularJS: Filtering down by location | <p>I have an SPA that uses select lists to filter down to a location by region, state/province/EU country, city. </p>
<p>I've got filtering working somewhat, but for my location lat/lng values (which will ultimately be powering a Google Maps widget), it's not working right. I'm not getting filtering beyond Region, and... | 3 | 4,151 |
How to find reverse relations between jobs? | <p>I've been trying to find reverse relations between jobs. To be more specific I will tell it with an example.</p>
<p>Suppose I have n jobs i.e <code>{0,1,2,3,4,...n}</code>. I also have relations between jobs. I know only successor jobs, i.e., <code>2</code> is followed by <code>4,5</code>. <code>5</code> is followe... | 3 | 1,517 |
What is the meaning of jquery var objUl = $('ul', $dcDrilldownObj) | <pre><code><ul id="menu">
<li><a href="#">menu 1</a>
<ul>
<li><a href="#">menu 1i</a>
<ul>
<li><a href="#">menu 1i i</a></li>
<li><a href="#">menu 1i ii</a></li>
<... | 3 | 1,410 |
Status 404 After YouTube GetUploadToken Request Using GWT RequestBuilder | <p>I am trying to dispatch a POST request to get an upload token from YouTube using RequestBuilder from the client-side of my GWT app.</p>
<p>I am trying to build the request as described by the following YouTube API documentation:
<a href="https://developers.google.com/youtube/2.0/developers_guide_protocol_browser_ba... | 3 | 1,663 |
How to display the logged user in listbox c# | <p>So i have a login system and when the user logins a new form opens and i want the form to display the user Name. When user register he have to put his name and surname and that 2 things i want to be displayed in the new form that opens. So is there any easy way to put the logined user name into listbox?</p>
<p>so h... | 3 | 1,557 |
Unable to retrieve data using generated accesstoken. everytime got 403 error code | <p>I am able to generate access token and store it. But I am Unable to get data using this access token. so could anyone suggest me how to set this access token in the header field. I am developing application in android. All time when i request for profile endpoint it gives me 403 error. </p>
<p>my code for setting a... | 3 | 3,582 |
displaying records in ruby on rails using a conditional filter breaking down | <p>How can I display all the records in a table if there is no <code>params[:subject_id]</code> sent, or filter the records that it will display if the <code>params[:subject_id]</code> is sent?.</p>
<p>So far I have a before filter in the pages controller to check if the <code>params[:subject_id]</code> were sent and ... | 3 | 1,744 |
Objectify the results of Qwinsta | <p>I am trying to write a script that will give me back as an object the results from qwinsta.
The code of my script is this:</p>
<pre><code>function Get-QWinsta {
$queryResults = (qwinsta /Server:$ENV:COMPUTERNAME | ForEach-Object { ( ( $_.Trim() -replace "\s+",",") ) } | ConvertFrom-Csv)
... | 3 | 1,156 |
Data manipulation in APEX 20 oracle | <p>Currently I am performing dynamic action (executing server side code) where I am selecting the values from two different tables (XYZ & ABC) performing calculation and inserting into another table (ABC_TEMP) and creating a report view out of that in apex(v20)
Below is what I am performing.</p>
<pre><code>BEGIN
... | 3 | 1,064 |
data in x-axis in highcharts with 15mins timeblock | <p>I am facing issue in displaying 96 Timeblock on x-axis in highcharts.
Array which needs to be displayed is </p>
<pre><code>["00:00", "00:15", "00:30", "00:45", "01:00", "01:15", "01:30", "01:45", "02:00", "02:15", "02:30", "02:45", "03:00", "03:15", "03:30", "03:45", "04:00", "04:15", "04:30", "04:45", "05:00", "05... | 3 | 1,401 |
ReactiveCouchbaseSortingRepository not allowing Pageable parameter in find query | <p>ReactiveCouchbaseSortingRepository in spring data for couchbase reactive not allowing <code>Pageable</code> parameter in <code>find</code> query</p>
<p>I have pojo called <code>MyEntity</code> as shown below.
When I run the second find query below without <code>Pageable</code>, it returns correctly with response, ... | 3 | 1,109 |
How to add attribute to HTML tag passed in props- before render? | <p>I have some code that takes an array of JSX as props. The component is supposed to ensure that all JSX is rendered in the order they appear in the array. In order to do this, all of my components have an optional onLoad function they can take as a prop. When I initially create the array of JSX in
a parent component... | 3 | 1,214 |
fgets and sscanf records from file with delimitators | <p>I have to read from a file multiple records(each components of the records are separated by a comma), and I can't understand what's the problem, so here's my file: </p>
<blockquote>
<p>Rossi,Mario,M,mariorossi@gmail.com,3923333332,Portiere Bianchi,Giuseppe,M,giuseppebianchi@gmail.com,3470000021,Attaccante Ferrari... | 3 | 1,683 |
Android Studio - App Crashes | <p>How can I change or add more code to make this app to stop crashing? This activity is called "WhatBin", I simply wanted to make a button listen to when a person would click and change a text view. (VIEW PICTURES BELOW FOR MORE DETAILS.) </p>
<p>PICTURES: <a href="http://imgur.com/a/ODvHb" rel="nofollow">http://i... | 3 | 1,384 |
FormValidation adding dynamic fields creating double bootstrap selects | <p>I am using formValidation plugin and adding dynamic fields with it.</p>
<p>Right now, when I click add, the bootstrap-select is refreshed, but it keeps adding two of the select dropdown.</p>
<p><a href="https://i.stack.imgur.com/RE9SN.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RE9SN.jpg" al... | 3 | 1,790 |
Can the app permission/verification be bypassed for Dropbox API? | <p>I really hope this isn't a stupid question. I'm in the same boat this person is/was I believe: <a href="https://stackoverflow.com/questions/26412786/uploading-files-to-dropbox-bypassing-authorization-page">uploading files to Dropbox, bypassing authorization page?</a></p>
<p>However, I'll explain in more detail. </p... | 3 | 1,329 |
Xml parsing in Android with XPath | <p>Perhaps I'm going about this the wrong way, I'm trying to parse a gpx file, I've never parsed xml format in android before, I've tried a few different ways and can't seem to get any results. </p>
<p>The xml is at the bottom (a snippet its really long!). I want the trkpt nodes, actually the only data I need it lat,... | 3 | 1,677 |
Docker Swarm mesh routing doesn't work for independent subnets | <p>I have a manager and a worker node, manager is on cloud and worker is my personal computer so they're on different sub-nets. Both are listed as ACTIVE.</p>
<p>My main problem is that creating a service and scaling it works as intended, both the manager and the worker starts a container etc but the mesh router doesn'... | 3 | 3,687 |
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client, i can't send a form to realtime database | <ol>
<li>this my html code submit</li>
</ol>
<pre><code><form action="/user/product/add" method="POST" enctype="multipart/form-data" >
<h1 class="h">Add Product</h1>
<div>
<tabl... | 3 | 2,093 |
How to get ChildPosition in ExpandableListView agaist every group | <p>I have been spent almost two days to fix a bug but veined. Actually i want to select only one radiobutton in child group of every grouped item in expandablelistview. In this regard i am using this approach my adapter here here</p>
<pre><code>public class AddToCartExpandable extends BaseExpandableListAdapter {
Cont... | 3 | 3,822 |
How to check duplicates of the TITLE relevant to and ALT_ID of an array | <p><strong>This is my array. This array is very big one more than 1000 records.
I wrote some code.</strong> </p>
<p>It will work without duplicates only for <code>ALT_ID</code>. <code>TITLE</code> will show with the duplicate.</p>
<p>How to check duplicates of the <code>TITLE</code> relevant to and <code>ALT_ID</cod... | 3 | 3,228 |
Use Android ListView from Superclass | <p>I'd like to inherit two classes (one of them: "AuthenticateRoomSelectionActivity") from another class ("RoomSelectionBaseActivity"), because I have two activities in an Android app, which are going to be quite similar. They consist of a Constraint Layout, which holds some Buttons, TextViews and (most important) an L... | 3 | 1,155 |
Creating a Controller for DevOps in .Net Core | <p>I have a database schema known as BigDataOverview. Most of my Application is already connected to a different schema known as AdminDb.</p>
<p>I also have a .Net Core Application that is well integrated with my AdminDb schema.</p>
<p>My secondary schema has 13 different tables, that are named with numbers as names ... | 3 | 1,030 |
Swipe text when you click on one of the images | <p>I'm trying to do this with jquery so when you hover or click on one of the images (red boxes) the grey area (text area) changes to show the text related to that image. Adding class to execute display block doesn't work because I don't know how to link a specific image to a specific text area.</p>
<p>I tried to do i... | 3 | 2,626 |
jtable data getting replaced with previous result when double clicked | <p>I am developing one application in Swing in which I scan data from some files and show it in JTable on UI and when I double click on row respective file gets opened. Code of 'Scan' button is as follows,</p>
<pre><code>JButton btnStart = new JButton("Scan");
btnStart.addActionListener(new ActionListener() {
... | 3 | 4,925 |
get customer payment ids from CIM | <p>How can I get <strong>customer payment method ids</strong> from <strong><code>AuthorizeNetCIM_Response</code></strong> object?</p>
<p>There's a method in <code>AuthorizeNetCIM_Response</code> which is supposed to return <strong>payment method ids</strong></p>
<pre><code>public function getCustomerPaymentProfileIds... | 3 | 3,486 |
Receiving multiple client packets on one server | <p>I have 3 applications, one server, 2 clients. I am trying to program this so that I can send a log in request from my clients to the server and request to view information about another client. </p>
<p>Questions: i am using the same ip and port # for all 3 of the applications (it's all done on 3 visual studio appli... | 3 | 2,866 |
Reading cell value with applied Text formatting with OpenXML | <p>I am trying to read Excel Sheet, that contains cells with Text formatting.</p>
<p>Some one of columns has values <code>1</code>, <code>1.1</code>, <code>1.2</code> and etc.</p>
<p>In Excel all of these values look good, in cells with Text formatting - <code>1</code>, <code>1.1</code>, <code>1.2</code>.</p>
<p>But wh... | 3 | 1,205 |
What is the type of parameter ranges for calcHist()? | <p>In the (C++) description of the function <a href="https://docs.opencv.org/3.4/d6/dc7/group__imgproc__hist.html#ga4b2b5fd75503ff9e6844cc4dcdaed35d" rel="nofollow noreferrer">cv2.calcHist()</a>, ranges is said to be an array of arrays, each element being <code>[low, high]</code> histogram boundaries for the dimension ... | 3 | 1,249 |
git push gives fatal error via git-lfs | <p>I have a site that uses git-lfs to push a few large binary files. It was working until I updated my OS to High Sierra (10.13.1).</p>
<p>My git version is 2.15.0</p>
<p>Env info for git-lfs</p>
<ul>
<li>git-lfs/1.1.1 (GitHub; darwin amd64; go 1.5.3)</li>
</ul>
<p>Error output is below.</p>
<pre><code>unexpected ... | 3 | 4,389 |
USART giving unknown values on the atmega 328p | <p>I have been unable to solve a simple USART transmit/receive program. The problem is that I used this in the past and worked effortlessly but now it returns in my Linux machine question marks and in windows some boxes and Chinese characters. I don´t understand what changed. I have tried a lot of different things like... | 3 | 1,161 |
clang-format reflowing comments incorrectly and is non repeatable | <p>The following code snippet in C++, when formatted using <code>clang-format-8</code>, gives incorrect result in the first run (disrespecting <code>ColumnWidth=80</code>) and correct result in the second and subsequent runs. Note: the code contains tab in the comments (something which was not indented using spaces, as... | 3 | 1,245 |
Many to many relationships MVC | <p>I created db from Microsoft Management Studio and generate classes in code with ADO, <a href="https://i.stack.imgur.com/juTQu.png" rel="nofollow noreferrer">Its my database schema</a>
I have problem with m-m relation. I would like to get multiselect list in table <code>Samochody</code>, column: <code>Wyposazenie</co... | 3 | 2,245 |
chrome extension problem with jquery .click() in table pagination | <p>I made a chrome extension that calculates the graduation average from the exam portal; the exams are contained in a table with pagination:</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-html lang-html prettyprin... | 3 | 1,373 |
What do I get the error Smart cast to 'HomeViewModel' is impossible when I use data binding in Android Studio? | <p>I binding <code>HomeViewModel</code> to layout.xml using <code><variable name="aHomeViewModel"type="info.dodata.voicerecorder.viewcontrol.HomeViewModel" /></code></p>
<p>I get the following error when I run the code.</p>
<p><em>Smart cast to 'HomeViewModel' is impossible, because 'binding.... | 3 | 1,864 |
How to embed an MP4 inside a PDF? | <p>I am a happy user of <a href="https://superuser.com/q/687849/106444">img2pdf</a>. This tool does the minimal amount of work to put a series of JPEG 2000/JPEG/PNG images into a PDF "enveloppe". However I am now faced with a new challenge: embed a MP4 file into a PDF "enveloppe".</p>
<p>I see that ... | 3 | 1,162 |
How to make Account user generator c++ (problem: making array of objects and dynamically expanding it) | <p>I'm 15 and I moved to Sweden. I don't have time to study c++, because I need to learn the language, but later (few months probably), I'll continue with 300 page book (it's 500, but in 3 years I learned (through YouTube mostly) about 200 pages of that book). I'm not willing to learn right now about vector, so if you ... | 3 | 2,725 |
React undefined this in function | <p>someone can explain to me why this value in the renderInput function is undefined. I browse the code and everything looks good. </p>
<p>Here is error</p>
<pre><code>Uncaught TypeError: Cannot read property 'renderError' of undefined
</code></pre>
<p>This is my component AddCatalog. When it calls console.log(this)... | 3 | 1,243 |
Jquery code won't run loaded from footer, but run from console | <p>I'm trying to get a value and pass it to a hidden input in order to send form data via <code>$_POST</code>. I have a dropdown button and the following code in order to update the value when a user select an option:</p>
<pre><code>jQuery(document).ready(function($) {
var espSeleccionada = $('button[data-id="sele... | 3 | 1,271 |
App crashes when trying to use JavaMail for Android | <p>I'm trying to use the JavaMail Android port in my application but my app crashes when I try to send anything. I've followed the guide <a href="http://www.jondev.net/articles/Sending_Emails_without_User_Intervention_%28no_Intents%29_in_Android" rel="nofollow">here</a> and created the <code>Mail</code>class. Then in m... | 3 | 5,053 |
how to use selenium from Google Cloud Platform AI notebook? | <p>I run code below,</p>
<pre><code>from selenium import webdriver
from selenium.common.exceptions import NoSuchElementException
from selenium.webdriver.chrome.options import Options
from webdriver_manager.chrome import ChromeDriverManager
options = Options()
options.add_argument('--headless')
options.add_argument('-... | 3 | 1,320 |
CF8 - Sum in a loop | <p>I have a query:</p>
<pre><code><cfquery name="getDesc" datasource="#ds#">
SELECT
desc,
SUM(charge) as cost,
COUNT(*) as cnt
FROM
product
WHERE Length(desc) > 0
</cfquery>
</code></pre>
<p>Which then populates a table:</p>
<pre><code><table>
<tbody>
<tr&g... | 3 | 1,265 |
Why does the resolution vary depending on what page I am (html/css) Chrome only | <p>I'm trying to build a website with different pages. But the resolution varies depending on which page I am on. This screws with my navbar.</p>
<p>My head looks like the following:</p>
<p>Index:</p>
<pre><code><head>
<meta charset="utf-8">
<meta name="viewport" content="wid... | 3 | 14,378 |
Django Show selected data from database based on user input in html | <p>I am a newbie.
I create restaurant system by using Django. I want to display data (table number, item, and quantity of the food) which has been inserted to database. I want to show the data based on the random id which has been generated while the customer doing the food ordering. Hence, I do not know how to do it.<... | 3 | 1,628 |
Why is a section of my webpage disappearing when an icon is clicked in a specific manner? | <p>There is a bug in my code ; in the third section of the website there are 6 boxes. When the page is first loaded and if the user clicks on the six box then clicks the left arrow, the third section goes completely white. </p>
<p>This only happens if the sixth box is the first to be clicked after the page loads. If y... | 3 | 1,613 |
Symfony 3: FileType multiple and Many-to-Many database relation | <p>I got entity called <strong>SupportMessage</strong> which contains messages from my support (ticket) system. I want to implement feature which allows users and support agents attach files to their posts.</p>
<p>I also got an entity called <strong>Files</strong> where all files from my project are listed: file ID, f... | 3 | 4,000 |
Singleton and multithread | <p>Please, look at the classes below and tell me if the code below is thread safe. The point of my question is that one class whose <code>static</code> method and that method calls singleton instance's method. Also, the <code>static</code> method is invoked by <code>Runnable</code> instance. So I am asking you guys to ... | 3 | 1,395 |
PHP cURL file upload to JSP script fails. Same file uploaded via browser works | <p>Using PHP/cURL I log into a web site and attempt to upload a file. It returns the error message, "Error: File upload not processed. Please ensure that an applicable excel file in the specified template format is selected for upload." This error is different from the message I get if I upload from a browser and give... | 3 | 1,622 |
Avoid doing double calculations in XSL | <p>I'm working on a XSLT transformation. I'm fairly new to XSLT, and I'm having some trouble with it to put it mildly. I'm working on some input, and based on some calculations (checking intersections on polygons, which takes extensive amounts of time, since the data amount is huge), I want to add some elements to a co... | 3 | 3,528 |
How to find a property with a specified name and add a new property? | <p>How to find a property with a specified name and append the owner object with a new property?</p>
<p>I have a datastructure like this:</p>
<pre><code>var factoryOptions = {
background: {
src: 'images/background.png',
width: 4800,
height: 3200
... | 3 | 2,240 |
SQL Statement Running Slow - Any Ideas? | <p>Not sure what's going on with the below statement. It's taking upwards of 5 minutes to run - it only started to show a real slowdown when I wrapped the main statement in a select and aliased it as temp, but doing that has never slowed down any of my other SQL. Any ideas? I'm on MySQL.</p>
<pre><code>select *
from ... | 3 | 1,115 |
remove header view by scrolling a listview in Android | <p>I have a ListView and a RelativeLayout as a header view.
I want to remove the header, when scroll down and move the listvit to the top of my activity. when listview scroll down, show the header and move listview below the header again. here is my code.
whats the problem?</p>
<pre><code> <RelativeLayout
a... | 3 | 1,560 |
How to include navigation bar in one html file into another html file | <p>I have a navigation bar in one html file and want to include it into multiple html files. Below is my header.html file.</p>
<pre><code><!DOCTYPE html>
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1&quo... | 3 | 1,304 |
Google Charts, AJAX, PHP Problem Encoding JSON Error: Data for arrayToDataTable is not an array | <p>I am trying to do some basic Google Charts filled by databse via PHP/PDO/MSSQL passed via AJAX to the .js</p>
<p>I'm having a very basic problem that i feel is encoding.</p>
<p>I am following the tutorial <a href="https://developers-dot-devsite-v2-prod.appspot.com/chart/interactive/docs/gallery/linechart" rel="nofol... | 3 | 1,100 |
Hugo list page doesn't render theme properly | <p>I encountered a weird issue when trying to display subsection titles on a list page. Compared to single pages in this theme (which is hugo-coder), the text on the list page and its subpages (as shown in the picture below) is too small and too much to the left. </p>
<p>Another issue is that content in <code>/content... | 3 | 1,898 |
Not able to compare two dataframes | <p>I have two Dataframes, df1 and df2 with same structure.
I want to find common rows between them using <code>df1.merge(df2)</code> but there is one row I am facing issue with:</p>
<pre><code>>>> df2
reference_period analyzed_domain account is_misc total_estimated_visits total_estimated_monthly_unique_visi... | 3 | 1,581 |
gSOAP multithreaded server crashes when trying to deallocate memory | <p>I have created a standalone multithreaded webservice using gSOAP framework but this code has memory leak and when i try to deallocte that memory it crashes after sometime.</p>
<p>Below is the detailed steps i have followed for creating webservice.</p>
<ol>
<li>soapcpp2 -i -S -I Services.h</li>
<li>compiled the code ... | 3 | 1,502 |
append query param to img src url in a html string | <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code><p style="text-align: center"><img alt="Editor photo" class="fr-fir fr-dii fr-draggable" src="/assets/editor/pages/B/ed... | 3 | 1,033 |
IntentService/Service - Keep running even if the application is terminated - Android | <p>I'm implementing an <code>IntentService</code> to download a <strong>PDF</strong> file, it shows a notification to the user on <code>downloadStart</code> and keep updating progress during this process, the service is working fine and the progress is updated correctly, the problem is as soon as i remove my app from "... | 3 | 2,682 |
Selenium tests are failing on new version of Chrome | <p>My tests were OK until few days ago. Now they are failing with this exception:</p>
<pre><code>org.openqa.selenium.WebDriverException: unknown error: cannot get automation extension
</code></pre>
<p>from unknown error: page could not be found: chrome-extension://aapnijgdinlhnhlmodcfapnahmbfebeb/_generated_backgroun... | 3 | 1,646 |
Gmail API returning `com.google.appengine.api.urlfetch.ResponseTooLargeException` exception | <p>Gmail get Message API is returning <code>com.google.appengine.api.urlfetch.ResponseTooLargeException</code> exception when there is an attachment with more than 15MB. Is there a way to truncate and fetch the message without an Exception or to ignore the attachment when there is huge attachment.</p>
<pre><code>Messa... | 3 | 1,851 |
wglCreateContext throws INVALID_OPERATION exception | <p>suppose that I have <a href="http://www.codeguru.com/cpp/cpp/cpp_mfc/tutorials/article.php/c10975/Setting-Up-OpenGL-in-an-MFC-Control.htm" rel="nofollow noreferrer">COpenGLControl class downloaded here from codeguru</a> assuming that <a href="https://stackoverflow.com/questions/18258668/order-of-events-when-a-window... | 3 | 1,884 |
Java network programming reading data from client | <p>I'm newbie on the network programming. I want to make an simple server/client program in order to understand the basics of sockets. But unfortunately I can't understand one concept. Can I call <code>readUTF()</code> method before before client sends message? Because when I call second time this method my program cra... | 3 | 2,895 |
Inserting a layer in an existing tf model, error at layer tf.__operators__.getitem() | <p>I am trying to do feature visualisation/optimisation with yolo v4. As implementation in Python I use this <a href="https://github.com/limchr/tensorflow-yolov4-tflite" rel="nofollow noreferrer">Github repo</a> and add a layer, which is identical to the input layer, right after the input layer. For inserting this laye... | 3 | 2,158 |
How to make new columns with names from lists which are in one of existing columns in pandas, and assign values from lists from another column? | <p>I have a problem with big dataframe *about 1kk rows, 180 columns. It starts with 3 columns. First column contains ids. Second and third contains list in each row - they are connected (first row -first element from list from 1st column is connected with first element from list from 2nd column:</p>
<pre><code>ids | f... | 3 | 1,059 |
Android: drawing concentric circles | <p>I am trying to write an app that connects to a remote host and reads lines of x,y tuples and draws them to a scatter plot in real time. The data is being displayed as expected but when I modified the code to try and display some markings to measure the data it isn't working as expected. I expected to see a black b... | 3 | 2,370 |
Why will my ajax call fire twice ? | <p>I have this script that triggers the ajax call, it will fire and return the correct data from the database, and then all of a sudden will fire again all in all leaving the error message. It works but there is certainly some bug.</p>
<p>I've been trying to identify it, yet with little to no success.</p>
<p>Here is ... | 3 | 1,313 |
Chat server/client using ASIO, unable to find the client example code | <p>I'm about to use <a href="https://think-async.com/Asio/" rel="nofollow noreferrer">ASIO</a> for a chat server/client. When I downloaded ASIO, it had built-in examples for the different C++ versions. Since I will be using C++ 17/20, I decided to take that particular example.</p>
<p>The problem is that it is missing t... | 3 | 3,748 |
xpdo - insert multidimensional arrays into db-table - up to 5 rows at once | <p>I have a form in which the user can add up to 5 counters with different values, beides a lot of different other values via inputs and selects. </p>
<p>Most of the data shall be written to different existing database-tables, which is so far working fine for each table.</p>
<p>So far I used an existing script that i... | 3 | 2,237 |
Django view doesn't contain a HTTP_REFERRER header | <p>I'm testing a view that is accessing <code>request.META</code> where I want to get the <code>HTTP_REFERRER</code> header. The purpose being that I want to redirect to a previous page in case the queryset within the <em>search_list</em> view returns empty. A referring page happens to contain a form which is submitted... | 3 | 1,250 |
Retaining changed data on table pagination - AngularJS | <p>I have a requirement to submit changes made in my angularjs table. This table is populated asynchronously and so the pagination is dynamic.</p>
<p>Whenever I make a change in a page(<em>eg: page 1</em>) and move on to any other page(<em>eg: page 2</em>), the data changed in the page 1 is getting reset on accessing ... | 3 | 1,821 |
Bash - Filtering lines according to a condition | <p>I have a file that contains some lines as:</p>
<pre><code>@SRR4293695.199563512 199563512
CAAAANCATTCGTAGACGACCTGCTCTGTNGNTACCNTCAANAGATCNGAAGAGCACACGTCTGAACTCCAGTCAC
+SRR4293695.199563512 199563512
A.AA<#FF)FFFFFFF<<<<FF7FFFFFF#.#<FF<#FFFF#FF<A<#FFFFFFFAFFFFFFAAAFFFFF<FFFF.
@SRR4293... | 3 | 1,831 |
I have to check a checkbox twice before it runs the function. Vuejs | <p>I want to run a function every time an input field changes, it works for a text and email input fields but not for checkbox?</p>
<p>These are the HTML tags, when I change the text input field or the email input field, the function runs okay.. However, when I check the box I have to click it twice before it takes ef... | 3 | 1,168 |
cannot use forkJoin with redux-observable | <p>I'm a little confused trying to get rxjs to play nice here.</p>
<p>I can do single API requests just fine, e.g.</p>
<pre><code>
const documentFetchEpic: Epic<TRootAction, TRootAction, TRootState> = (action$, store) =>
action$.pipe(
filter(isActionOf(documentActions.fetch)),
withLatestFrom(store)... | 3 | 1,073 |
Works in debug but not in release | expo-av | react-native-unimodules | <h2>Environment</h2>
<p>Expo CLI 3.11.1 environment info:
System:
OS: Windows 10
Binaries:
Yarn: 1.22.4 - C:\Users\user\AppData\Roaming\npm\yarn.CMD
npm: 6.12.0 - C:\Program Files\nodejs\npm.CMD
IDEs:
Android Studio: Version 3.6.0.0 AI-192.7142.36.36.6308749</p>
<p><strong>React-n... | 3 | 1,888 |
Prometheus Adapter Custom Metrics for Libvirt in a K8S Cluster | <p>I have a K8S cluster which is also managing VMs via virtlet. This K8S cluster is running K8S v1.13.2, with prometheus and the prometheus-adapter, and a custom-metrics server. I have written a custom metrics exporter for libvirtd which pulls in VM metrics and have configured prometheus to scrape that exporter for t... | 3 | 1,190 |
Angularjs routes optimize | <p>I have an accordion list in my Ionic application which looks like follows:</p>
<p><a href="https://i.stack.imgur.com/L34F4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/L34F4.png" alt="enter image description here"></a> </p>
<p><strong>My routes are as follows:</strong></p>
<pre><code>.state(... | 3 | 1,436 |
New tab showing previous tab List Data flutter Dart in Tab bar function | <p>I had created a single function for different tabs. Categories List are loading in all the tabs but the problem is when changing tabs, previous tab category list data is loading on the top of the next tab. How to overcome this problem. First tab data is loading when changing to the second tab on the top and In third... | 3 | 1,869 |
combine two record become one with unique id for large data | <p>I have table <code>PNS</code> for employee with <code>NIP as primary key</code>
table <code>JADWAL</code> for schedule of employee with <code>idjadwal as primary</code>
table <code>PRESTEMP</code> data from finger print machine that the format is 1 row for 1 time capture. </p>
<p>I want to convert table <code>PREST... | 3 | 1,141 |
How do I ignore not setted arrays in MySQL-Statement by using multiselect value HTML | <p>How do I ignore empty values in MySQL-Statement? </p>
<p>Like if e.g. the Manfacturer Name A and Name B are selected, Color Red is selected and the Price is ignored(value is empty).</p>
<p>HTML-Part</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="sn... | 3 | 1,640 |
How to create dictionary from a listinfo? | <p>I am filtering a list of data havong this pattern: </p>
<pre><code>('timestamp', 'node_source', 'node_destination', 'node_source_counter_acces_to_specific_function')
</code></pre>
<p>I am trying to extract and display data per node_source'. </p>
<pre><code>import matplotlib.pyplot as plt
list_info= [('1547977394... | 3 | 1,079 |
Animation: how to "roll" circle down the y-axis | <p>Here is the entirety of my program. The problem is in the ballroll method, getting the red dot/ ball to move straight down the screen on the y-axis to reach the inner blue circle for a "ripple effect" illusion. Please help me do this. I changed the code from the ball moving along the x axis, it needs to move vertica... | 3 | 1,212 |
Python- Looping through pandas Groupby object | <p>Here is a sample row that I have in my dataframe: </p>
<pre><code>{
"sessionId" : "454ec8b8-7f00-40b2-901c-724c5d9f5a91",
"useCaseId" : "3652b5d7-55b8-4bee-82b6-ab32d5543352",
"timestamp" : "1559403699899",
"endFlow" : "true"
}
</code></pre>
<p>I do groupby by 'sessionId', which will give me a group like this... | 3 | 1,251 |
C++ Winapi Listbox string with space ends up in new line | <p>Quick question, if I create a ListBox and add a string with a space in it to the listbox, the listbox ends up pretty messy because everything after the space will be added into the next line. In this case shown below it's even worse, because the full amount of numbers is not added to the listbox due to this problem.... | 3 | 2,675 |
Layout changes when I switch resolution | <p>I'm making a website (in Dutch) and I work on a laptop with a external screen. The external screen has another resolution then my laptop screen so the site comes out distorted when viewed on the other screen. How do I fix this?</p>
<pre><code><!DOCTYPE HTML>
<html>
<head> <style type="text/c... | 3 | 1,597 |
Model Cumulative VRP in Cplex | <p>I am new to Cplex IBM ILOG CPLEX Optimization Studio and I am currently programming a Cumulative VRP model (ref: DOI: 10.5772/5812) like the following:</p>
<p><a href="https://i.stack.imgur.com/hDjLg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hDjLg.png" alt="enter image description here"></a... | 3 | 2,296 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.