title
stringlengths
13
150
body
stringlengths
749
64.2k
label
int64
0
3
token_count
int64
1.02k
28.5k
Pass object between before and after advice
<p>My question is the same as in <a href="https://stackoverflow.com/questions/23339457/pass-object-between-before-and-after-advice">Pass object between before and after advice?</a>, however the accepted answer doesn't work in my case and I would like to ask for some clarification on this topic.</p> <p>Actually, I'm us...
2
1,045
Using gcc/g++ instrument functions with MinGW?
<p>i try to use the gcc instrument functions with g++ compiler of MinGW, but i always got linker issues. Is it possible to use the instrument functions with MinGW/MSYS?</p> <p>The linker failure output:</p> <pre><code>$ g++ instrumentFunctions.cpp -o iftest -finstrument-functions &gt;&gt; iflog.txt C:/Users/HELLHO~1/...
2
1,617
Attach multiple private subnet to route table for each terraform
<p>I have public and private subnets established in a VPC created with for each. I am now trying to create route tables for the subnets and nat gateways specifically for access for private instances. My subnets, route tables, and public subnet associations are working properly. I am having trouble getting my private su...
2
1,607
Launch hyperlink event handler on datagrid cell click
<p>I have an WPF datagrid which has some columns. One of them is a DataGridHyperlinkColumn.</p> <p>Datagrid's SelectedItem event is attached to a property of my view model. This property is called MySelectedItem.</p> <p>When any of the row's cells is selected property setter is fired. Setter launches a background wor...
2
1,233
W3 Modal opens and closes immediately
<p>I've noticed some odd behaviour with the W3.css modal class. After hours and hours of searching and attempting to debug, i discovered that using the "base" tag in a css file will cause W3 modal boxes to open and then close immediately, and then redirect to the directory defined in the "base" tag. Seems very odd to m...
2
1,071
Multiple forms on one page, using ajax to post data, specify which input fields from the selected form
<p>I have a page that dynamically creates multiple forms and js code (20+). When the user selects an item from a select dropdown, (change trigger) it posts data to another script via ajax. </p> <p>Form names are like: form1, form2, form3, etc. </p> <p>Is there a way to specify which field input data to pass based...
2
1,137
How can I tell if my HTTP request is succeeding or failing?
<p>Let's say there's a form that you submit to using radio buttons and a standard &quot;submit&quot; button. I want to be able to submit a response to the form not from the website but from the command line with cURL.</p> <p>When I submit the form on my browser and examine network traffic, here are the important detail...
2
2,152
How to suppress several warnings but not all of them coming from libraries?
<p>Some libraries are buggy and raise a lot of warnings one does not want to get at every compilation because it floods usefull own application warnings and errors.</p> <p>To suppress one type of warnings or all of them from libraries includes, the solution is <a href="https://stackoverflow.com/questions/1867065/how-t...
2
1,061
How to stop ios core-bluetooth CBCentralManagerDelegate from disconnecting in ios13
<h2>The Issue</h2> <p>I'm using core-bluetooth to transmit sensor data (an array of 64-128 bytes) to an iPad (6th gen) at a rate of 6 Hz. It was working fine in ios 12. After I updated to ios 13, the bluetooth connection became incredibly unreliable. The connection would only transmit 20 bytes at a time, and it would ...
2
4,165
MySQL and PHP Select Option with information from database
<p>This is my project so far I have this I took the code from part of my project <div class="snippet" data-lang="js" data-hide="false"> <div class="snippet-code"> <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;?php error_reporting(E_ERROR | E_PARSE); ?&gt; &lt;!DOCTYPE html&gt; &lt;html&gt; &...
2
2,271
How to setup production ubuntu server with django, gunicorn, nginx and celery?
<p>I need to setup production server on ubuntu precise, I read lot of howtos and put bits and pieces together.Below I will post (hopefully) all related configs. But to point you where to look first I list all the problems:</p> <ol> <li>when I don't manually type https:// I got incorrect redirect in firefox</li> <li>wh...
2
3,986
my html code works in codepen but not in chrome browser
<p>I put this specific code into codepen, and it displays correctly and looks great, but when i export the file and open it up through local chrome browser it does not work properly. The static headline keeps displaying below the carousel instead of in the carousal, here is the code im using. </p> <p><div class="snipp...
2
2,491
Issue getting pipenv to work on OSX
<p>I'm having some issue getting pipenv to work on OSX</p> <p>I'm not inside any virtual env at the moment. To make sure I have the latest version, I ran </p> <pre><code>$ sudo pip3 install pipenv --upgrade </code></pre> <p>And that completes susccessfully.</p> <p>When I just run <code>pipenv install --dev --three<...
2
2,786
C# - Multithreaded TCP Server/Client
<p>I am trying to understand the correct way of how should I make good multithreaded TCP server. </p> <p>Here is what I have so far:</p> <pre><code>public class WorldServer { public List&lt;ServerClient&gt; clients = new List&lt;ServerClient&gt;(); public int port = 8080; public TcpList...
2
5,692
XULSchool make: *** No rule to make target '../bin/build', needed by 'install'. Stop
<p>I'm working through the xulschool tutorial <a href="https://developer.mozilla.org/en-US/Add-ons/Overlay_Extensions/XUL_School/Setting_Up_a_Development_Environment" rel="nofollow">here</a></p> <p>Everything's going pretty well so far but I'm having trouble with the makefile they included. "make" works fine but "make...
2
1,135
AFNetworking 2.0 : error 503 when multipart POST
<p>I am using AFNetworking 2.1.0 to communicate between my iPad app and my server.</p> <p>I subclass AFHTTPSessionManager and use the following without problem :</p> <pre><code>[self POST:kAPIPath parameters:params success:^(NSURLSessionDataTask *task, id responseObject) { successBlock(responseOb...
2
1,192
Nuxt / Vuex / Vue Reactivity Issue Increment
<p>Hi everyone I am I having some difficulty when working with Nuxt and Vuex.</p> <p>I am trying to run through the example Vuex / Nuxt Classic Mode. <a href="https://nuxtjs.org/guide/vuex-store/" rel="nofollow noreferrer">https://nuxtjs.org/guide/vuex-store/</a></p> <p>After clicking my increment button I dont see ...
2
5,512
How to set initial state of an Eclipse action contribution
<p>What I'm trying to achieve is to contribute an action to the IProject pop up menu. The action is defined like this in my plugin.xml:</p> <pre><code> &lt;extension point="org.eclipse.ui.popupMenus"&gt; &lt;objectContribution adaptable="true" objectClass="org.eclipse.core.reso...
2
1,621
How to efficiently parallelize brms::brm?
<h1>Problem summary</h1> <p>I am fitting a <code>brms::brm_multiple()</code> model to a large dataset where missing data has been imputed using the <code>mice</code> package. The size of the dataset makes the use of parallel processing very desirable. However, it isn't clear to me how to best use the compute resources...
2
1,467
Error: A valid UTF32 value is between 0x000000 and 0x10ffff when getting result
<p>I am getting an error when I hit a specific post in Facebook:</p> <p>Here is the code to run: Just replace to token with yours...</p> <pre><code>FacebookClient client = new FacebookClient(yourTokenHere); var result = client.Batch( new FacebookBatchParameter(HttpMethod.Get, "/198907640664_1960374304...
2
1,068
C#.NET MVC4 - null entry for parameter of non-nullable type for a method
<p>Within my c#.net project I am getting this error when I try to get an onClick event to begin. I think I may be missing an important assembly reference but cannot figure out why this error is occurring. The project was working fine up until recently and some modification I have made has caused this problem </p> <p><...
2
2,250
RISC-V interrupts, setting up MTIMECMP
<p>I am trying to write a program in RISC-V assembly for HiFive1 board to wake up with timer interrupt This is my interrupt setup routine</p> <pre><code>.section .text .align 2 .globl setupINTERRUPT .equ MTIMECMP, 0x2004000 setupINTERRUPT: addi sp, sp, -16 # allocate a stack frame, moves the sta...
2
1,502
Using React with Django, do I need react-router?
<p>Suppose I have an existing Django webapp with a bunch of urls in urls.py. Now suppose I want to add a number of webpages to this Django app, where the new webpages are built using React. </p> <p>From what I understand, React has its own routing capability (in react-router) so that if I go to <code>mydomain.com/page...
2
1,037
How to avoid SECRET_KEY error when starting Celery using Supervisor?
<p>I have a Django 1.62 application running on Debian 7.8 with Nginx 1.2.1 as my proxy server and Gunicorn 19.1.1 as my application server. I've installed Celery 3.1.7 and RabbitMQ 2.8.4 to handle asynchronous tasks. I'm trying to manage my various applications, particularly Celery, using Supervisor 3.0a8. The probl...
2
3,526
Copy and compare specific cells to one sheet, in VBA Excel (Watch out mindbreaker!!)
<p>i have a quite specific question about programming in excel. I'm moderately skilled in VBA but can't get my head around this one.</p> <p>I have multiple sheets containing an list of id's and values. From these multiple sheets i want to make one complete sheet with values.</p> <p>Example:</p> <p>Sheet wk1</p> <pr...
2
1,871
React-Leaflet: 'Invalid LatLng object' on running test when using boundsOptions
<p>I built an simple app using react-leaflet to show a map. The app itself is working and the map is showing correctly in the browser. But when I try to write tests with react-testing-library, I receive <code>Invalid LatLng object</code>' in execution when using <code>boundsOptions</code>. If I remove the boundsOptions...
2
1,261
how to catch exit signal in asp.net core on linux?
<p>I am writing a c# console app base on net core 3.1 linux</p> <p>It was expected to</p> <ul> <li>run job async</li> <li>await job end</li> <li>catch the kill signal and do some clean job</li> </ul> <p>here is my demo code:</p> <pre class="lang-cs prettyprint-override"><code> namespace DeveloperHelper { public cla...
2
1,291
Create Onsenui login page
<p>I am trying to create a login page, where a user is redirected if they are not logged in. </p> <p>In my controller I have a pushPage('login.html') in my controller LoginController() however it seems to be redirecting in an endless loop (i.e. login.html page just keeps reloading and index.html appears for a fraction...
2
1,354
How to convert floats to IntegerType using StructType in PySpark?
<p>I am trying to create a Spark data frame from a Pandas data frame, where I specify the column data types using StructType class. I've saved the pandas data frame as df and the spark data frame as data.</p> <p>Before I get into any of that, there's an error somewhere in the csv file, I made use of pandas' read_csv m...
2
1,078
Floating Label and Javascript Toggle Issues with HTML and CSS
<p>I have found a Floating Label script at CSSScript that is a fit for an upcoming project, but I' having issues decoupling the JS from the HTML that toggle the CSS style.</p> <p>Here's the <a href="https://jsfiddle.net/UXEngineer/qp121pgp/" rel="nofollow noreferrer"><strong>JSFiddle DEMO</strong></a> so you can under...
2
1,387
How to give permission to a federated user in boto to an s3 bucket?
<p>Tried figuring out from the documentation but can not create a federated user who can access the s3 bucket</p> <p>First the imports</p> <pre><code>&gt;&gt;&gt; from boto.s3.connection import S3Connection &gt;&gt;&gt; from boto.sts import STSConnection </code></pre> <p>Then create a bucket in s3</p> <pre><code>&g...
2
1,419
Missing nvcc compiler - theano
<p>I use ubuntu 14.04 and cuda 7.5. I get cuda version information using <code>$ nvcc --version</code> : </p> <pre><code>nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2015 NVIDIA Corporation Built on Tue_Aug_11_14:27:32_CDT_2015 Cuda compilation tools, release 7.5, V7.5.17 </code></pre> <p>$PATH and $LD_LI...
2
1,336
UWP UserControl with its own ViewModel as well as Dependency Properties using Template 10
<p>I am creating UWP app using Template 10 and MVVM. My requirement is to create UserControl which will have its own dependency properties as well as has it own ViewModel.</p> <p>My Requirement:</p> <ol> <li>Call Parent ViewModel command on Button Click.</li> <li>Bind TexBlock text from UserControl ViewModel</li> </o...
2
1,160
CORS cookies not setting by browser , cookies are present in response
<p>I am sending http request to API endpoint of node.js server, this response is containing cookies and showing in mozilla debugger. I am sending this request through <strong>localhost.org</strong> or by my virtual host e.g <strong>myapp.example.com</strong>. I tried AJAX XMLHTTPRequest and angular http as well also ad...
2
1,377
Why I can't stop Progress Bar with Timer?
<p>I am doing a <strong>TicTacToe Game</strong>. I want to control every player move with progress bar. If game is end, progress bar must be stopped. If one player moved but the other do not move progress bar must increase or decrease. Here is my codes </p> <pre><code>import UIKit class ViewController: UIViewControll...
2
1,742
how to do unit tests to dotnet core web apps in Jenkins pipeline?
<p>I'm trying to run a test on built dotnet core web app but I'm unable to perform it, as the method which I tried gives error as shown below </p> <pre><code>Started by user admin Running in Durability level: MAX_SURVIVABILITY [Pipeline] node Running on Jenkins in C:\Program Files (x86)\Jenkins\workspace\jenkins Pipel...
2
3,083
string index out of bounds exception, on an if else statement
<p>The problem code is below, if you need the entire main method to help me, please ask. The code complies but does not run as expected. I am trying to make the code report back an exclamation mark if the number is out of bounds/larger than the last position of the source text, which is a string the user inputs, so the...
2
1,081
Ktor - Handle large file operations without memory leak
<p>I am very new to backend development. Basically, I want to create a robust &amp; simple application that will accept a zip file URL in the params and then download the zip file from the URL and finally extract the zip and return the <code>bin</code> file inside it. Note: The zip file size can range from 5MB to 150MB...
2
1,115
I got an error [Vue warn]: Error in render: "TypeError: Cannot read property 'name' of undefined"
<p>I am working with vue and here is my code </p> <p>everything is working fine until I submitting the form. when I submit form and try to update emailForm -> tabs -> en -> data -> name then i got an error.</p> <pre><code>&lt;template&gt; &lt;el-form :model="emailForm.tabs" ref="emailForm" class="demo-emailForm" ...
2
1,377
SectionedAdapter ArrayIndexOutOfBoundsException in AbsListView$RecycleBin.addScrapView() Issue?
<p>I have a Sectioned Adapter that I am using, however I am trying to modify it so that the sections won't appear if they are empty using if (section.adapter.getCount() > 0). I have the following class:</p> <pre><code>abstract public class SectionedAdapter extends BaseAdapter { abstract protected View getHeaderView(...
2
2,096
How can I set the state in a widget that has been mounted in Flutter?
<p>I' m new in Flutter. I made an app that has a catalogue with categories, subcategories and items (as you can see in photo). My widget tree is: </p> <pre><code>Catalogue(cart):{[Category-List, Subcategory-List, Item-List:{ItemRow(ListTile)}]}. </code></pre> <p>I'm facing the following problem: I have items in my ca...
2
13,627
iOS - Animation of many different views
<p>I'm trying to implement animations on many different <code>UIView</code> and <code>UIImageView</code> to make them consecutively fade in, move up and fade out one by one. This includes a very long series of animation, and I use simple <code>UIView</code> animation blocks with delay to make the moves happen one after...
2
2,430
COM interface modifications have suddenly started causing exceptions
<p>A couple of years ago I inherited a C# app that uses COM objects defined in an unmanaged C++ DLL. I've been successfully tweaking the object interfaces ever since, but following a (possibly irrelevant) VS2012 upgrade, function signature additions and changes are suddenly being punished by random exceptions such as ...
2
1,286
no speedup using openmp + SIMD
<p>I am new to Openmp and now trying to use Openmp + SIMD intrinsics to speedup my program, but the result is far from expectation. </p> <p>In order to simplify the case without losing much essential information, I wrote a simplier toy example:</p> <pre><code>#include &lt;omp.h&gt; #include &lt;stdlib.h&gt; #include ...
2
2,671
Included jsp file with google map not showing the map
<p>I have a jsp page which includes a another jsp file which has a google map. But when I access the parent page the div in which the jsp file is included is getting a CSS property value "overflow: hidden" due to which the map is not shown.</p> <p>Code for parent jsp:</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//...
2
2,784
Custom combobox borders flicker
<p>I'm using a darker style for a few c# WinForms form fields. The combobox in particular is similar to this:</p> <p><img src="https://i.stack.imgur.com/tAyng.png" alt="enter image description here"></p> <p>I am using this code from this Stack answer: <a href="https://stackoverflow.com/questions/13221240/combobox-bor...
2
3,009
Right detail in UITableView not visible
<p>I have a <code>UIViewController</code> in which I've embedded <code>UITableView</code>. Because I don't want the <code>UIViewController</code> to get too heavy I separated the <code>UITableViewDataSource</code> and <code>UITableViewDelegate</code></p> <pre><code>class ViewController: UIViewController { @IBOutl...
2
1,045
How to add Newtonsoft 9.0.1 in a .NET 4.6.1 project?
<p>I'm unable to install <code>Newtonsoft 9.0.1</code> package in a 4.6.1 project via <code>nuget</code>. In .NET Core projects it seems to be OK.</p> <p>Error message:</p> <p><a href="https://i.stack.imgur.com/BfFbe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BfFbe.png" alt="enter image descri...
2
1,583
OAuth with Google Analytics API reports invalid token
<p>the following code runs through well, but some times reports "Invalid token". It happens, when I have foreign website in my ID list. But when I log in with email/password pair, it runs well till the end. Any idea what is wrong?</p> <p>Cheers:</p> <h2>Bob</h2> <pre><code>&lt;?php /* API ACCESS PANEL: https:/...
2
1,657
Webservice not responding in android
<p>This is the sample code for web services which am trying to implement . I have included all the required jar files to it and try to run the project it is giving me some error <img src="https://i.stack.imgur.com/Y0vFp.png" alt="like">this and this is my <img src="https://i.stack.imgur.com/BvnHw.png" alt="logcat"> a...
2
8,061
App link verification does not work
<p>I successfully implemented <code>deep-links</code>, but now I would love to implement <code>app-links</code> as well, but I don't get wanted results. </p> <p><em>AndroidManifest</em></p> <pre><code>&lt;intent-filter android:autoVerify="true &lt;action android:name="android.intent.action.VIEW"/&gt; ...
2
1,038
Spring Boot REST - error while updating
<p>My problem is about that i can't update my entities. Everything else is working well but when i want update by patch/put spring boot is telling me there is no way to do that.</p> <p>My user class</p> <pre><code> package com.serwis.model; import com.fasterxml.jackson.annotation.JsonIgnore; import org.h...
2
9,081
Canvas and android button
<p>so maybe my problem will be so obvious but I've tried many trials and any of them were succesfull. So I'm writing simple program to generate fractal on canvas. But I need to add some button on this same layer and I have a problem because I can only add them on RelativeLayout and there are being hidden by canvas. How...
2
1,538
Procedure or function xxxxx has too many arguments specified
<p>My stored procedure is as follows :</p> <pre><code>ALTER PROCEDURE [dbo].[sp5] @mat NVARCHAR(1000) = NULL, @party NVARCHAR(1000) = NULL, @place NVARCHAR(1000) = NULL, @truk NVARCHAR(1000) = NULL, @qty NVARCHAR(10) = NULL, @ptm NVARCHAR(10) = NULL, @mop NVARCHAR(100) = NULL, @tos NVAR...
2
1,322
Using Devise Current User as default user in User Select box
<p>I'm using Devise and Active Admin, and so far there are playing nice together. Instead of using the default Active Admin "AdminUser', I am using my own 'User' model, which is sometimes refered to as 'Author' within my app.</p> <p>I'm creating an Article form (Create/Update) and I have a User Select Box that is pre-...
2
1,164
Unit Test Fails for Unit Of Work Test
<p>This is my test:</p> <pre><code>[TestMethod] public void TestUnitOfWork() { UnitOfWork unitOfWork = new UnitOfWork(); unitOfWork.ContactRepository.Insert(new Contact { Id = Guid.NewGuid(), FirstName = "Dom", LastName = "A", Email = "dominicarchual@yahoo.com" }); ...
2
1,218
Grpc.Core.RpcException: Status(StatusCode=Unavailable, Detail="Transport closed")
<p>I'm using Google custom metric to write custom metrics to the cloud. My code looks like this: </p> <pre><code>var client = MetricServiceClient.Create(); // ... client.CreateTimeSeries(name, timeSeries); </code></pre> <p>When I running it on my machine, it's working great. </p> <p>When I running it on production,...
2
1,075
d3 ID selector can't select
<p>I am using d3 to create a force nodes model. I meet an error that ID selector can't find node with certain ID. What I want to do is when your mouse moves onto the node a text shows up and when mouse leaves it disappears. But my problem is it won't disappear because the selector can't find it.</p> <p>I am pretty new...
2
4,949
Spring boot application staring failed in IntelliJ
<p>I have spring boot application previously I have used to in eclipse it works there, recently switched to IntelliJ, In IntelliJ application is not staring, here I am sharing logs while starting</p> <pre><code> . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \...
2
1,837
jQuery $.ajax and $.each looping through array
<p>I'm making a call to the NY Times article search API and would like to append it to an HTML element as a new list element. However I'm having trouble using the $.each() function and iterating through the JSON data. I'm trying to post a hyperlink and article snippet.</p> <p>The error I'm getting is "Uncaught SyntaxE...
2
1,692
SPARQL for querying object property and its annotations
<p>I am trying to learn about semantic web technology to see if it can replace the current Relational model in an application. I am using protege to design the ontology and Jena for the application which will be hosted on Apache TomEE.</p> <p>I have created a simplified ontology to explain the query I am having. In pe...
2
2,028
Django Rest Framework returns relative path instead of full url with SerializerMethodField
<p>I am experiencing a strange issue. I have been developing an application using Django and DRF along with react in frontend. My app has two models, Place and Cover. Every place has a cover image and here is the database schema.</p> <p>Image Table</p> <pre><code>+----+---------------------+----------+---------------...
2
1,286
What is the proper input format for drawtext's timecode option in fluent-ffmpeg (node.js)?
<p>I am trying to generate short video clips from 3 images with a simple millisecond counter at the top left per user request. So far I was able to generate the clips using the <a href="https://www.npmjs.com/package/videoshow" rel="nofollow noreferrer"><code>videoshow npm lib</code></a>, no issues here.</p> <p>However...
2
1,639
Python performance characteristics
<p>I'm in the process of tuning a pet project of mine to improve its performance. I've already busted out the profiler to identify hotspots but I'm thinking understanding Pythons performance characteristics a little better would be quite useful going forward.</p> <p>There are a few things I'd like to know:</p> <h1>Ho...
2
1,071
Is it possible to use DataTables Column Filter Add-on with a gridview.
<p>I am trying to define the tfoot section and table rows for during the pre-render. Is there a way to define text input using DataTables Column Filter Add-on but i can not generate the tfoot table rows. What am i missing ?</p> <pre><code>using System; using System.Collections.Generic; using System.Linq; using Syste...
2
2,502
Avoid slow highlighting on Solr because of stemming
<p>I am quite new about using Solr, but would like to ask your help. I am developing an application which should be able to highlight the results of a query. For this I am using regex fragmenter:</p> <pre><code>&lt;highlighting&gt; &lt;fragmenter name="regex" class="org.apache.solr.highlight.RegexFragmenter"&gt; &lt;l...
2
1,095
load marker data to Google Flash Maps MXML Custom InfoWindow
<p>I tried to adopt this recipe by shane doolan see below(source: <a href="http://cookbooks.adobe.com/post_Google_Maps_Custom_Info_Window-17492.html" rel="nofollow">http://cookbooks.adobe.com/post_Google_Maps_Custom_Info_Window-17492.html</a>). I could pull data from mysql with php (like so <a href="http://code.google...
2
1,731
Java program that uses SQL - compile into .jar
<p>My code compiles and runs fine in Eclipse, but when I try to make it into a .jar it gives me a bunch of errors.</p> <p>The code, the .bat file I use to compile into .jar and my error message can be found here:</p> <pre><code>import java.sql.Connection; import java.sql.DriverManager; import java.sql.ResultSet; impo...
2
2,357
Need to optimise counting positive and negative values
<p>I need to optimise code that counts pos/neg values and remove non-qualified values by time.</p> <p>I have queue of values with time-stamp attached.<br> I need to discard values which are 1ms old and count negative and positive values. here is pseudo code</p> <pre><code>list&lt;val&gt; l; v = q.dequeue(); deleteold...
2
2,617
Sphinx4 speech recognition trasncribe demo not working accurately for short wav file
<p>i had just implemetned the transcriber demo for the transcribe the audio file .. My audio file is .wav file which consist only names like "BHAVIK" "ANKIT" "SAGAR"</p> <p>My grammer File Consist of this grammer as follows: -</p> <p>public = (JAY)|(SAGAR)|(BHAVIK)|(ANKIT)|(MIRAJ)|(YAGNESH);</p> <p>But Problem is t...
2
9,265
How to group by multiple columns with complex types in Linq
<p>I'm trying to preform a group by to get all of the students, by college, grouped by status. The problem is the database I'm working with has hundreds of fields in the StudentInfo table, which is why I think this is failing.</p> <p>I'm basically trying to get counts for the students by their statuses, and grouped by...
2
3,460
How use coredata in MVC
<p>I can use Core Data in Functions but i can´t create in MVC, like this:</p> <pre><code>class addBD{ func add(){ let entityDescripition = NSEntityDescription.entityForName(&quot;Radar&quot;,inManagedObjectContext: managedObjectContext!) let task = Radar(entity: entityDescripition!, insertIntoManag...
2
1,720
ClassNotFoundException with Parse and Facebook
<p>I am hoping you can help me with a problem I am facing. I am trying to integrate Facebook login to my app using Parse, and I get a ClassNotFoundException error, when I call the method </p> <pre><code> ParseFacebookUtils.logInWithReadPermissionsInBackground(LoginActivity.this, permissions, new LogInCallback() </code...
2
5,527
Does standard C++11 guarantee that `volatile atomic<T>` has both semantics (volatile + atomic)?
<p>As known, <code>std::atomic</code> and <code>volatile</code> are different things.</p> <p>There are 2 main differences:</p> <ol> <li><p>Two optimizations can be for <code>std::atomic&lt;int&gt; a;</code>, but can't be for <code>volatile int a;</code>:</p> <ul> <li>fused operations: <code>a = 1; a = 2;</code> can ...
2
1,693
How can I force a Bootstrap table to resize wider than its parent container?
<p>I am creating a spreadsheet-like application using a Bootstrap table. A user can toggle column visibility, add/delete columns, resize, etc.</p> <p>I need the table to be able to scroll horizontally when a user chooses to resize a column, as well as add new ones, but Bootstrap tries to fit the table into the parent ...
2
1,033
Why isn't the Identities property passed to my custom IAuthorisationPolicy?
<p>I'm trying to set up a custom IAuthorisationPolicy that I can give to ServiceAuthorizationBehaviour to install my own IPrincipal implementation. I've followed the instructions <a href="http://www.leastprivilege.com/CommentView.aspx?guid=b0debb25-1647-419a-81e4-9961257a5dce" rel="nofollow noreferrer">here</a>, and wr...
2
1,204
How to set png img over video background?
<p>I want to put a png over my background video, but the png is behind it.</p> <p>I tried using z-index, but then the video dissapears ( when I change the position from relative to absolute or fixed). Here is my hmtl and css code:</p> <pre><code>&lt;div id="page2"&gt; &lt;video autoplay loop muted id="video"&gt; ...
2
1,027
Applying class conditionally in sass/React using ternary operator
<p>I am fairly new to sass and React. I did not find this exact question when searching. Any suggestions would be appreciated. I wrote a basic real-time app using React, socket io, node and sass. I am trying to note which users are online/offline. I would like to do this by showing a green or red circle based on if the...
2
1,048
Neo4j TimeTree REST API Previous and Next Navigation
<p>I am currently using Neo4j TimeTree REST API and is there any way to navigate to the time before and after a given timestamp? My resolution is Second and I just realize that if the minute has changed, then there is no 'NEXT' relationship bridging the previous Second in previous Minute to the current Second. This mak...
2
2,744
(vhdl) std_logic_vector value
<p>I have a project with the following 3 files, and I am getting this error in the CA file:</p> <pre> Line 65: Type error near state_int ; current type std_logic_vector; expected type std_logic ERROR:HDLCompiler:854 - "" Line 40: Unit ignored due to previous errors. </pre> <hr> <p>CA FILE</p> <pre><code>library IE...
2
1,223
vagrant ssh-config is very slow
<p>The <code>vagrant ssh-config</code> command takes more than 12 seconds:</p> <pre><code>host% time vagrant ssh-config Host default HostName 10.0.0.2 User vagrant Port 22 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile /home/user/.vagrant.d/insecure_private_k...
2
1,150
Stemming function for text2vec
<p>I am using text2vec in R and having difficulty writing a stemming function that works with the itoken function in the text2vec package. The text2vec documentation suggests this stemming function: </p> <pre><code>stem_tokenizer1 =function(x) { word_tokenizer(x) %&gt;% lapply(SnowballC::wordStem(language='en')) } ...
2
1,066
Open soft keyboard for ListAdapter item with contains a view with a string
<p>I have a ListAdapter with in this case contains a single item. That item produces a view that has an EditText.</p> <p>When the view get displayed I want to open the soft keyboard to allow the user to edit the field.</p> <p>I tried to call in the getView() function of the adapter:</p> <pre><code>View edittext = vi...
2
2,121
Define my app as Google Assistant's default music service
<p>I am developping an Android Music Player application. I'd like to integrate it with Google Assistant to control playback and search songs by voice. I already implemented a Media Session in my app according to instructions from the <a href="https://developer.android.com/guide/topics/media-apps/interacting-with-assist...
2
2,651
Cannot load fixtures in Symfony 3.4
<p>I'm using the DoctrineFixturesBundle. According to the <a href="https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html" rel="nofollow noreferrer">documentation</a>, any class that extends <code>Fixture</code> will be automatically wired up so the console knows how to handle it. However, despite ...
2
1,181
DataTables are not styled with Bootstrap 3 classes when using RequireJS
<p>I am trying to use the <a href="http://datatables.net/" rel="nofollow">DataTables jQuery plugin</a> to style a table with the <a href="https://datatables.net/examples/styling/bootstrap.html" rel="nofollow">Bootstrap extension</a> that they provide. I am using <a href="http://www.requirejs.org/" rel="nofollow">Requi...
2
15,362
Email verification before registration confirmation using Meteor and React
<p>Just learning Meteor and Reactjs by following this <a href="https://www.youtube.com/watch?v=SHMHdIZ4l80&amp;list=PLKfAG4yMwKkSTkCFX7HXG5GAN-fvGAQqY&amp;index=7" rel="nofollow noreferrer">tutorial</a>, which is very nice to work with. This is a registration page, by default this does not verify via email before regis...
2
2,102
SUMPRODUCT ignore row if blank?
<p>I have the following results excel doc:</p> <pre><code>CAR|CLASS|CLASS FINISH POSITION| 1 |5 |1 | 2 |1 |1 | 3 |2 |2 | 4 | | | 5 |3 |3 | 6 |5 |2 | 7 | | ...
2
1,222
Layouting Dojo Mobile App
<p><code>Hi,</code> does anybody has any experience with layouting a dojo mobile application? I would like to have a header section in my app and on one page a sub navigation underneath the header followed by a scrollable content section and finally a main navigation at the bottom. Everything should be displayed at a t...
2
10,359
getLoginStatus javascript facebook disappear when page reload
<p>I implement the facebook connect and it works fine. </p> <p>This function return my name after login.</p> <pre><code>FB.getLoginStatus(function (response) { if (response &amp;&amp; response.status === 'connected') { FB.api('/me', function(response) { console.log('Good to see you, ' + respo...
2
1,291
jquery image slider not sliding?
<p>The blueberry Image slider isnt sliding, here is the java script code please help me modify or add enough code so that it will work properly. I have linked the blueberry.css and jquery.blueberry.js files too btw. thank you - student of web development</p> <pre><code>&lt;meta charset="UTF-8"&gt;&lt;/meta&gt; &lt;ti...
2
2,031
update data In Repeater Control Using Button Outside It
<p>I am having 5 div tags,in each div tag I am having repeater control.I want to allow user update information if he want.So on form load,I am retrieving all information from table,so one can update information.But I am unable to do this.I am giving the code for 3 repeater control.I tried this on button update click.Pr...
2
14,859
Agent Unreachable after restore VMware Horizon Connection Server
<p>After a power outage I got both of my View Connection Servers unbootable with BSOD and I could not recovery it and also I don't have backup of it.</p> <p>After all steps below I could not get things fixed, all VMs are &quot;Agent Unreachable&quot;</p> <p>Created a new VM for connection server (WITH THE SAME NAME AS ...
2
2,843
Recording individual average and cummulative average and highest average score
<p>I am trying to create a program that calculates the average scores for bowlers, the team average score, and the highest average score on the team.</p> <p>Problems:</p> <ol> <li>I am unable to figure out how to display all the individual player averages at the end without displaying everytime the loop iterates.</li...
2
1,235
Cannot do work in background periodically with alarmmanager
<p>I want to call a service in background by the hour. </p> <p>first problem is alarm manager is not working smoothly. Timer is terrible, sometimes early sometimes later.</p> <p>second problem is, RemoteServiceException : Context.startForegroundService() did not then call Service.startForeground() , I cant understan...
2
1,087
JsonParseException: Failed parsing JSON source to Json
<p>I am getting Json Parsing Exception </p> <pre><code>Type collectionType = new TypeToken&lt;ArrayList&lt;CGNotifications&gt;&gt;(){}.getType(); Notifications =gson.fromJson(result,collectionType); </code></pre> <p>Error is:</p> <pre><code>com.google.gson.JsonParseException: Failed parsing JSON source: [{"strNot...
2
1,364
HTML form with prefill doesn't get submitted in Chrome
<p>My code works in all major browsers, except for Google Chrome, where it's acting weird. I'm using Google Chrome 11.0.696.68. These facts apply for Chrome:</p> <ul> <li>If I give values to all input fields, I can submit the form without any trouble.</li> <li>If I leave the field 'day' blank and press the submit butt...
2
2,424
Is there a tool to generate simple c# classes from an xsd?
<p>I have an xsd (greatly simplified for this post): </p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;xs:schema id="serviceResponse" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"&gt; &lt;xs:element name="serviceResponse" msdata:IsDataSet="tru...
2
1,131
Display search field placeholder text
<p>I have an issue where I think some javascript is keeping my search field placeholder text from showing. I would like it so that when my page is loaded, the user can see at the top a search icon with the text SEARCH written beside it (the placeholder text) and this text will disappear once the user clicks the input a...
2
1,935
WPF: Tree view by parsing string
<p>Why is my tree displaying only up to 2 levels? For example, <code>NetworkControl.AddressData.MessageOriginatorID.Value</code> shows only <code>NetworkControl</code> as root and <code>AddressData</code> as a child but <code>AddressData</code> doesn't show <code>MessageOriginatorID.Value</code> as a child.</p> <p>Inp...
2
1,443