title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
There is no ViewData item of type 'IEnumerable' that has the key 'x'.' | <p>In my view i have a problem and my dropdownlist fails and doesn't work don't know why </p>
<pre><code>@model DigikalaHR.View_Model.Entitys.Member
.
.
.
.
<div class="form-group">
@Html.LabelFor(model => model.TeamId, "TeamId", htmlAttributes: new { @class = "control-label col-md-2" })
&... | 2 | 1,494 |
n-grams with Naive Bayes classifier Error | <p>I was experimenting with python NLTK text classification. Here is the code example i am practicing: <a href="http://www.laurentluce.com/posts/twitter-sentiment-analysis-using-python-and-nltk/" rel="nofollow noreferrer">http://www.laurentluce.com/posts/twitter-sentiment-analysis-using-python-and-nltk/</a></p>
<p>Her... | 2 | 1,498 |
How to put a vector over a gradient? | <p>I have the following activity xml:</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
... | 2 | 7,214 |
How to use Spring NamedParameterJdbcTemplate with an Oracle Stored Procedure with Cursor Out Parameters | <p>I'm trying to use Springs's NamedParameterJdbcTemplate to call an Oracle stored procedure that has two input parameters with set values and the stored procedure returns 8 cursors with multiple columns/rows. I was able to call the stored procedure using Spring's SimpleJdbcCall using the following code (sensitive info... | 2 | 1,584 |
{"Unexpected character encountered while parsing value: <. Path '', line 0, position 0."} in google analytics api | <p>I’m using the sample <a href="https://github.com/LindaLawton/Google-Dotnet-Samples/tree/master/Google-Analytics" rel="nofollow">code</a> from GitHub.</p>
<pre><code> #region code
AnalyticsService service;
// Service account Authentication
String SERVICE_A... | 2 | 2,573 |
Automatic cast to subclass in getter/setter | <p>I have a rather weird question. Consider the following two classes:</p>
<pre><code>public class Node<T> {
private Node<T> parent;
private Node<T> left;
private Node<T> right;
private T data;
public Node(Node<T> parent, T data) {
this.parent = parent;
... | 2 | 3,151 |
CSS Horizontal Navigation menu list alignment | <p>I am trying to design a menu and submenu like <a href="http://kardan.edu.af/" rel="nofollow noreferrer">this</a>.</p>
<p>I tried to make enhancements in the menu I already have, but it doesn't start from the beginning of the menu. I tried to edit the CSS but I can't figure out where to fix this issue.</p>
<p>Here ... | 2 | 5,549 |
Error 403 while using exchangelib to access Outlook Exchange server to read emails | <p>I'm trying to read emails from the Microsoft Exchange server using EWS and exchangelib in Python for an email classification problem. But I am unable to connect to the exchange server.</p>
<p>I've tried specifying the version, auth_type, using a certificate (which gives a ssl verify error), using the smtp address i... | 2 | 1,628 |
UserManager.FindAsync returns null after password reset | <p>Following the official documentation (<a href="https://github.com/rustd/AspnetIdentitySample" rel="nofollow">https://github.com/rustd/AspnetIdentitySample</a>) and NuGet package, I'm having issues with logging in after a password reset for my MVC5 application. It seems as though Entity Framework doesn't refresh its ... | 2 | 2,451 |
Create a Side Menu Home Page with React Native Navbar + React Native Router Flux | <p>I have attempted to combine the usage of React Native Navbar & React Native Router Flux to simplify the make of my RN app. In doing so, I have gotten to a point at which I am switching routes via <a href="https://github.com/aksonov/react-native-router-flux" rel="nofollow noreferrer">React Native Router Flux</a> ... | 2 | 6,060 |
Boost::serialization and boost::mpi to broadcast derived class via base class pointer | <p>I am trying to use boost::mpi::broadcast to send a derived class to all nodes via a base class pointer. To do this, I am using the boost::serialization library to serialize my classes. My code, however, does not compile and I get the errors "class boost::mpi::packed_skeleton_iarchive’ has no member named ‘append’"... | 2 | 1,356 |
how to remove list item or clearing listview using shared preferences? | <p>I have following base adapter custom class, creating listview and items. but i want to remove all items from the list when I click reset button.
My code :</p>
<pre><code>public class Scores extends Activity implements OnClickListener {
public static final String MY_PREFS_NAME = "PrefName";
SharedPreferences pref;
... | 2 | 1,984 |
Unable to bind the runtime of the zero reference | <p>I'm getting for yourself is not a known bug, this piece of code in another action normally works</p>
<pre><code>Unable to bind the runtime of the zero reference
Description: An unhandled exception occurred during the execution of the current web request. Examine the stack trace for more information about this err... | 2 | 1,525 |
MySQLSyntaxErrorException: Unknown column 'category' in 'field list' | <p>I have been coding around to create a shopping cart for my online store project. I have a table named "products" and an entity class from this table as followed;</p>
<pre><code>package entities;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.Basic;
import javax.persistence.Column;
imp... | 2 | 3,675 |
OctoberCMS Form not submiting (AJAX handler not found) | <p>I created a component inside my plugin directory and in default.htm i put my form html and include my component in my partial. But when i when i submit form i'm getting "AjaxHandler Component:onSend was not found"</p>
<p>default.htm</p>
<pre><code><div class="filter-holder">
<div class="container">... | 2 | 1,479 |
No static field navigationView of type I in class Lcom/mapbox/services/android/navigation/ui/v5/R$id | <p>Good morning, I have created a new project and I have written the example code to use the browser and it has worked. But now that I try to copy it to my main project does not work for me. The error is as follows:</p>
<blockquote>
<p>E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.apparcag... | 2 | 5,620 |
libxml2 namespace prefix for schemaLocation is not defined | <p>Few days ago I started to learn libxml2 for parsing xml documents on Linux (Ubuntu 14.04). But unfortunately I have a lot of problems with it. </p>
<p>First, I have an error message when I use function <code>xmlParseDoc()</code>:</p>
<blockquote>
<p>doc.xml:1: namespace error : Namespace prefix xsi for schemaLoc... | 2 | 1,370 |
React Material UI Card Content expand | <p>I am trying to place 3 different expandable cards on my site using React & Material UI. However I am having difficulties in figuring out how to make each card expand on its own? Currently they all expand when I click on either of the three expand buttons. Any help appreciated. Thanks, Kati</p>
<p>My code is:</p>... | 2 | 4,430 |
UIView subviews not appearing | <p>I have a view controller with a <code>UIView</code>. Inside that <code>UIView</code> I add elements like a text label. When I run my code it is not there.</p>
<pre><code>import UIKit
class EventDetailViewController: UIViewController {
//variables that will hold data sent in through previous event controller
var ... | 2 | 2,014 |
Removing Google Map V3 additional styles and links from head | <p>I am working in CMS Made Simple 1.11.11 and normally, this is what my <code><head></code> looks like on most pages...</p>
<pre><code><head>
<base href="http://np.dev/">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" conten... | 2 | 1,391 |
Why doesn't s3fs work like a normal file system with Apache MINA SSHD? | <p>So I'm trying to create a Java SFTP server which acts as a front end for Apache S3 buckets. You connect via SFTP and manage S3 files in buckets like they were files on the SFTP server.</p>
<p>I've used <a href="https://mina.apache.org/sshd-project/" rel="nofollow">Apache MINA</a> (v1.2.0) as the SFTP server, which... | 2 | 1,338 |
JUnit test with Embedded tomcat server , how to specify automatic ports for both http and https connectors? | <p><strong>Description</strong></p>
<p>I have made a JUnit test that focus on trying to test a call to a SOAP web service.</p>
<p>I am using an embedded tomcat server for my test in order to run my test with a mock server.</p>
<p>I am also using both http and https connectors.</p>
<p>I need to use automatic ports f... | 2 | 1,311 |
Android Hello World Qt 5.2 | <p>I can't get the hello world project to compile when I try it on an AVD. Below is the error I get when I try to compile it. </p>
<pre><code>14:57:28: Running steps for project AnotherTest...
14:57:28: Starting: "C:\Qt\5.2.1\android_armv5\bin\qmake.exe" "C:\Users\Darrel\Desktop\New folder\AnotherTest\AnotherTest.pro"... | 2 | 2,341 |
How to publish android library without R and BuildConfig | <p>I made an android library publish it to jcenter for several versions. But when I use it, I found R and BuildConfig reference from my own library.How to avoid upload R and BuildConfig.
Here is my build.gradle:</p>
<pre><code>version = "2.1.3"
def siteUrl = 'https://github.com/boybeak/DelegateAdapter'
def gitUrl = '... | 2 | 1,281 |
mongodb / mongoose mapreduce - concat all values to single array | <p>I am working on a small application running on <strong>node.js</strong>, which connects to <strong>mongodb</strong> through <strong>Mongoose</strong> ORM. One of the Models is a Person model
Model Schema:</p>
<pre><code>{
id : Number,
name : String
concatVals : String
}
</code></pre>
<p>Example:</p>
<... | 2 | 1,508 |
very slow filters with couchDB even with erlang | <p>I have a database (couchDB) with about 90k documents in it. The documents are very simple like this:</p>
<pre><code>{
"_id": "1894496e-1c9e-4b40-9ba6-65ffeaca2ccf",
"_rev": "1-2d978d19-3651-4af9-a8d5-b70759655e6a",
"productName": "Cola"
}
</code></pre>
<p>now I want one day to sync this database with a mo... | 2 | 1,400 |
Confusion of creating a child theme properly in wordpress | <p>Trying to create a child theme from wordpress twentyfifteen theme.
Wordpress codex says </p>
<blockquote>
<p>Note that the previous method was to import the parent theme
stylesheet using @import: this is no longer best practice. The correct
method of enqueuing the parent theme stylesheet is to use
wp_enque... | 2 | 1,204 |
Fine Uploader S3 / jQuery / PHP - Failed upload = Reason: XHR returned response code 0 | <p>I have been kicking around trying to implement the S3 uploader into my application and getting closer but no cigar. Here is my setup in a nutshell:</p>
<ul>
<li>Running: 5.2.0 S3 with jQuery</li>
<li>Server: PHP 5.6.6 on ArchLinux</li>
<li>Max file size 25MB (defined in both s3.php and s3demo-cors.php)</li>
<li>De... | 2 | 7,600 |
Submit form in steps via AJAX | <p>I have a form that looks like this below in a PHP file (inside Wordpress plugin). The form is also processed inside of this same file.</p>
<p>I am wanting to save this form in "steps". For example, user will select 4-5 choices on page 1, then I want AJAX to post choices. Then user proceeds to page 2, choices are a... | 2 | 1,943 |
How to add TextWatcher to Activity in android | <p>I am very much new to android and trying to learn various techniques including Search bar using Edit Text options.
I am currently parsing Twitter using JSON and storing it in a list activity.
Also, implementing is the search bar using EditText option such that when a user enters anything it receives a new arraylist.... | 2 | 2,494 |
Calling custom designed UIAlertView inside custom designed UIAlertView | <p>I'm struggling against this problem for days. </p>
<p>I have a custom designed UIAlertView (A new UIAlertView inherited class whose name is ProductAlertView) and I want to open a new custom designed UIAlertView (that is also a UIAlertView inherited class). When I create this new custom designed UIAlertView inside t... | 2 | 3,834 |
How to get the room (or screen) coordinates from inside a Gamemaker Studio 2 shader? | <p>I'm mostly new to writing shaders, and this might not be a great place to start, but I'm trying to make a shader to make an object "sparkle." I won't get into the specifics on how it's supposed to look, but to make it I need a value that changes with the object's position in the room (or on the screen, as the camera... | 2 | 1,055 |
Socket connection from NextJS to a node backend | <p>I am trying to implement a basic socket connection from my NextJS client side (running on localhost:3000) to my NestJs server (running on localhost:3003).</p>
<p>The server code looks like this</p>
<p>ChatGateway.ts</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
... | 2 | 1,229 |
Android ListView Repeating Old Data After Refresh | <p>I have a Fragment page listing data in the listview from a json through a webservice. I have a pull down <code><SwipeRefreshLayout></code>. i use to swipe the fragment page to refresh the data which which will call the webservice again and load the data in listview.</p>
<p>The code below does not empty the ol... | 2 | 1,969 |
Error while using Google API in Vue mounted hook | <p>Need assistance on this. I have the Google map api loaded on the created hook of the parent component. But I keep on getting this error Error in the created hook: <code>ReferenceError: google is not defined</code></p>
<p>Below is how the Google map script was called.</p>
<pre><code>mounted() {
let mapScript = ... | 2 | 1,233 |
TimeoutCancellationException when running tests for a Retrofit coroutine in a Kotlin flow | <p>I have a repository that creates a flow where I emit the result of a suspending Retrofit method. This works in the app, but I would like to run tests on the code.</p>
<p>I am using kotlinx-coroutines-test v1.6.0 and MockWebServer v4.9.3 in my tests. When I try to run a test, I get:</p>
<pre><code>Timed out waiting f... | 2 | 5,238 |
Have two collapsed buttons corresponding to sidebar and navbar, want only only one at a time to be expanded | <p>I have a web app with a <code>sidebar</code> menus and some <code>navbar</code> dropdowns. When <code>@media screen and (max-width: 768px)</code> the <code>sidebar</code> collapses into a button the left on the <code>navbar</code>; the <code>navbar</code> buttons collapse to the right on the <code>navbar</code>.</p>... | 2 | 3,651 |
Rails Strong Parameters ActiveModel::ForbiddenAttributesError NOT showing up | <p>I am using Rails 4.0.2, Ruby 2.0.0p353</p>
<p>I am trying to use strong parameters in my Rails project but I can't get the ActiveModel::ForbiddenAttributesError to appear.</p>
<p>If there are params that are <strong>not permitted</strong>, those params will be set to nil or 0, but I thought that the error ActiveMo... | 2 | 1,390 |
Wordpress posts repeating | <p>Hey guys I am using the Imbalance2 theme for WordPress and I have created a new loop to deal with a different page as I have got one category directing to a page, however the posts that are on the page when first loaded are just repeating as I scroll down the page. It is using an ajax thing to load on scroll. Below ... | 2 | 3,632 |
Knockoutjs: manually bind specific dynamic iframe in foreach to parent | <p>I had a similar question at: <a href="https://stackoverflow.com/questions/20507736/knockoutjs-bind-dynamic-iframes-in-foreach-to-parent">Knockoutjs: bind dynamic iframes in foreach to parent</a>, that got answered but now I am trying to take this sample a bit further, working with ajax calls and loading async conten... | 2 | 1,314 |
How to render input value in Volt Phalcon? | <p>I'm trying to get value of a form field but don't know what function is used for this?</p>
<pre><code> {{ MyForm.render("first_name") }}
</code></pre>
<p>I want to render only <code>first_name</code> value not the whole input tag.</p>
<p>FORM:</p>
<pre><code>class EbEvaluationForm extends CxAdminBaseForm {
... | 2 | 2,921 |
Can't decrypt signed S/Mime Message | <p>I'm at the moment realizing an S/Mime decryption using PHP. What i got so far:</p>
<pre><code> $keys = array("public"=>$atm."/public-keys/".$usr.".smime",
"private"=>$atm."/private-keys/".$usr.".smime");
if(!file_exists($keys["public"])) die("Public Key not found");
if(!file_exists($keys["p... | 2 | 1,342 |
SceneKit animation doesn't play in iOS | <p>I have an example of animations fully working for OS X, start, pause, change speed etc.</p>
<p>Now I started porting this to iOS and can't even start the animation. I simplified the code to a minimum - it works in OS X, but not on iOS.</p>
<p>What I do is</p>
<ol>
<li>Show a scene with a (animated) character in i... | 2 | 1,459 |
jquery country select when country is saved already? | <p>I have an issue with this jquery code below. Please give me advice or code if you can help</p>
<p>So I have a country drop down list, a state drop down list for USA, and a state input field for non USA users.</p>
<p>When you select USA from the country list it hides the othstate field, when you select any country... | 2 | 1,088 |
Facing error while building app with "Webpack": 4, LoadConfigError: Cannot find module 'sigmund' | <p>I'm using Webpack 4 and getting error when I'm building my app.
I have also attached both snapshot of the error that I'm facing and Webpack configuration code.</p>
<p>Please help me to resolve this issue.
I'm using:
OS: Ubuntu 18.04,
Webpack: 4
NodeJs: NodeJS LTS 10,
NPM: 5.6.0</p>
<p><a href="https://i.stack.imgu... | 2 | 1,788 |
Why do RECEIVED email headers seem to be out of order chronologically? | <p>When reviewing the headers, it appears that the 2nd server to receive the message didn't relay it until AFTER the reported delivery date in the final header.</p>
<p>At c9mailgw11.amadis.com, the reported time was 22:47:49 -0800 (PST). However, the final server, BY2PR0401MB0966.namprd04.prod.outlook.com, reports the... | 2 | 1,181 |
twitter4j 401 authentication error persisting AccessToken | <p>I am having a hard time trying to figure out what's going on. I have the typical app structure that spawns one OAuthActivity that takes care of getting a twitter token, then my main application activity uses that token for various twitter-related operations.</p>
<p>My OAuthActivity works. I get an auth token, and t... | 2 | 5,165 |
Spring @Configurable/@Autowired not working under Linux | <p>I have a multi-module Maven project where I am using <code>@Configurable</code> and <code>@Autowired</code> to inject dependencies (CTW). The project have been developed on OS X and Win8, and now I am trying to get it to work with Linux (Ubuntu 14.04). Maven runs just fine but when running the application locally th... | 2 | 1,714 |
matplotlib double y axis | <p><a href="https://i.stack.imgur.com/Awhme.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Awhme.png" alt="the chart"></a></p>
<p>runoff and value have 13 data, respectively. The double y axis are used for comparing the two sets data every year. But the figure is wrong due to unaligned red symbol a... | 2 | 1,205 |
Parsing JSON and customizing it for SIMILE's Timeline Widget | <p>I have a valid JSON dataset:</p>
<pre><code>[
{
"date": "2008-02-04 19:30:00",
"authors": [
{
"first_name": "Nassim Nicholas",
"last_name": "Taleb"
}
],
"icon": "djlongnow_media/seminar_icons/salt-020080204-taleb.jpg",
... | 2 | 1,878 |
React App converting JS to ES5 to target IE 11 | <p>I currently have a react app which is not running / rendering in IE, I think due to an ES5 / ES6 problem.</p>
<p>The error I get is this: Syntax error.</p>
<p>On the line highlighted below.</p>
<pre><code> if(process.env.NODE_ENV == 'production') {
=> module.exports = require('./cjs/react.production.min.... | 2 | 2,838 |
Secondary Navigation/Menu bar that pushes web content down on hover of primary navigation button | <p>I am trying to create a simple navigation menu that when you click on one of the buttons, a secondary menu pops up below, but pushes the content below down with a sliding action. </p>
<p>There will be 6 buttons in the primary menu, spanning the width of the containing div at 960px. Then when you hover on "Products"... | 2 | 1,915 |
Fragment inflation from different flavors | <p>I am learning Android and I cannot find the solution to a fragment instantiation error when they are in different flavors.</p>
<p>Setup:</p>
<ul>
<li>I have a main fragment that is loaded into the main activity.</li>
<li>I have two favors: paid and free.</li>
<li>The main (common) part of the app doesn't have the ... | 2 | 3,716 |
Vanilla AJAX request passes Laravel validation but values aren't available in the controller | <p>I'm trying to use AJAX (vanilla JS) to submit a form to a Laravel 5.5 controller that will search the Amazon products API.</p>
<p>The AJAX is submitting the correct keywords and category inputs and the request is passing a form request that requires both keywords and category, but the keywords and category are not ... | 2 | 2,300 |
Plot Count/frequency of tweets for word by month | <p>I have connected R to Twitter and am scraping using the <code>searchTwitter</code> function in R, and cleaning the resultant data for punctuation, lowercase, etc. Now I'm trying to do the following:</p>
<ul>
<li><em>count</em> the number of tweets with the word "<em>auction</em>" that have been tweeted per month si... | 2 | 1,074 |
@Autowired dependency injection returns null pointer for static field | <p>I'm working on a project in which I'm trying to inject dependency into a class but <code>@Autowired</code> annotating does not seem to work for some reason.</p>
<p>I have the class <strong>ApplicationServer</strong> </p>
<pre><code>package project.eHealth;
import java.io.BufferedReader;
import java.io.IOException... | 2 | 3,601 |
quarkus native reflection configuration for whole package | <p>I'm building quarkus native and using Stripe sdk as external library.
In order to support Stripe sdk it I needed to create <strong>reflection-config.json</strong> file and set in the application.properties <strong>quarkus.native.additional-build-args=-H:ReflectionConfigurationFiles=reflection-config.json</strong></p... | 2 | 1,118 |
Hide grid items with JavaScript | <p>I have a 2 x 2 CSS grid. Each grid item briefly describes a service (small business website) and each grid item has a button to learn more about said service. When a user clicks one of the four buttons to learn more, I would like that grid item to expand to take up the entire 2x2 grid (this I have working) and for t... | 2 | 1,241 |
How to access HDFS on remote machine using Pig? | <p>There is Hadoop installed on a remote machine (example.host.com) . Pig is also installed on that machine.</p>
<p>How to access the hdfs on that machine from other machine?</p>
<p>I do not want to copy the files from remote. I just want to run queries on those files that are stored in avro format having schema as w... | 2 | 1,566 |
Crypto++ symmetric algorithms and authenticated block modes combinations | <p>I've implemented a C++ wrapper library for <a href="http://cryptopp.com" rel="nofollow">Crypto++</a> v5.6.2 and have a question about combinations of symmetric algorithms (e. g. Blowfish) and block modes (e. g. GCM).</p>
<p>I am able to encrypt and decrypt data via Blowfish/EAX, but I can't achieve the same by usin... | 2 | 1,517 |
MySQL Query for Advanced Search multiple criteria | <p>I'm working through an advanced search query where users select checkboxes based on multiple criteria. I'm a beginner so I'm hoping I can find out if I'm on the right track. I'm aware the query is quite the mess. </p>
<p><strong>Edit: I realized this needed to be two questions, so I've revised to be strictly a que... | 2 | 1,106 |
on scroll div gradually fadein fadeout | <p>I am trying to creating fadein fadeout effect with scrolling but not figure out how . it is like <code>http://www.popsci.com/</code> . There If scroll then background image (div id fixed-image ) get fading. Them code something like. But I cannot figure out yet how to easily apply in my code. Would guys please check ... | 2 | 1,259 |
Using a Shiny slider to control output on a ggplot | <p>I am a complete novice with R and Shiny.</p>
<p>I have been trying to develop a tool to explore economic data. I am using GDP index data. So far the tool allows you to load different sectors but I would like to control for years as well. Here is what the <a href="https://i.stack.imgur.com/ccizS.png" rel="nofollow n... | 2 | 1,279 |
QML bring child item to front | <p>I'm trying to implement a way to bring a <code>ListView</code> in front of parent's siblings (in the case below: trying to get <code>list</code> to show above <code>field</code> items). When typing "show" on any item other than the last, I would like to see the <code>list</code> above all others. I know how QML's vi... | 2 | 2,419 |
React Router Appears to Block Custom CSS | <p>I've been working on a React Bootstrap Navbar for my web app and have had some frustrations with styling it. Essentially, I am trying to set a custom background color for my navbar using custom CSS and classNames, but whether or not the color displays seems to depend on the route the user is visiting. </p>
<p>The c... | 2 | 1,287 |
c++ local vs member variable performance | <p>The intention of the question is efficeincey a good reason to use local variable than member , I am not trying to test compiler optimization here ... Please </p>
<p>If you think my comparision isn't perfect , kindly provide an alternative code.</p>
<p>Any one can explain in detail why ?
Why Local acess is faster e... | 2 | 1,509 |
Toggle dropdown menu on li but prevent toggle clicking on ul | <p>On mobile im using javascript to toggle the dropdown.
When clicking on a list item the dropdown should get visible and on a second click toggle back.</p>
<p>The problem: if i like to use a search bar inside my dropdown menu the dropdown get toggled back to unvisible clicking inside search bar.</p>
<p>Jquery:</p>
... | 2 | 1,071 |
Why is my code Selecting & Hightlighting more than 1 row in my MshFlexgrid? | <p>I have a VB6 project that is using a SQL2008 database. The project consists of two Combo Boxes , a MSHFlexGrid, and Two Command Buttons(cmdLoadSeries & cmdExit). The user will make a selection from the first Combo box and press the cmdLoadSeries command button which populates the 2nd combo box and the MSHFlexg... | 2 | 3,496 |
How to access a deep nested objects in Ruby on Rails? | <p>Hello i am facing a problem with accessing objects that are nested too deep. I'm hoping one of you can help me out or faced the same issue? Because of my application navigation I can't re-factor my nesting objects in a more simple way because i always need to use the root object for example "Users"</p>
<p>This is m... | 2 | 2,259 |
How do I handle collision detection in Scenekit with Swift? | <p>I have been trying to set up a simple Scenekit scene with some physics so I could learn about how SCNPhysicsContactDelegate, categoryBitMask, collisionBitMask and the physicsWorld func work. Not sure if I need to set up a contactTestBitMask as well.</p>
<p>Learning about contact detection sent me down a long path o... | 2 | 2,017 |
Mapbox markers disappearing when too far away from map center | <p>I have a Mapbox map with markers (I also use MarkerCluster). I get these HTML markers in JavaScript to determine their position (from viewport, not their coordinates), so I can add some indicators of markers that are not in viewport. But I realized that when I'm too far away from a marker (when zooming or dragging t... | 2 | 3,392 |
How to set_names on a list column using the tidyverse: tibble, purrr, dplyr | <p>Short version, I would like to be able to <code>set_names()</code> on a "list-column" returned from a <code>summarise()</code> function. So if I have a list-column that uses the <code>range()</code> function, I would like to be able to set the names as "min" and "max". </p>
<p>Below are the details and a reproducib... | 2 | 2,150 |
mailx command giving authentication unsuccessful error even after right credentials | <p>I want to send mail using <code>mailx</code> command, in more specific way.</p>
<p>So, I googled how to use <code>mailx</code> command, I searched some questions and answers on stackoverflow, I found common answer for it which is</p>
<p><code>mailx -r "fromAddr" -s "subject" toAddr</code>
: when i tried this comma... | 2 | 1,100 |
How to group an array of objects in JavaScript on specific fields using Lodash? | <p><strong>EDIT:</strong>
I believe this is a different problem than a simple <code>_.groupBy</code> because I am trying to group by all keys and returning an hashmap not an array.</p>
<hr>
<p>I have an array of the following objects:</p>
<pre><code>items = [
{ created_at: "01/01/2016", name: "bob", age: 21, heigh... | 2 | 1,083 |
Split and filter the column of data frame in Spark | <p>I am working with apache spark. I have the following txt file. </p>
<pre><code>05:49:56.604899 00:00:00:00:00:02 > 00:00:00:00:00:03, ethertype IPv4 (0x0800), length 10202: 10.0.0.2.54880 > 10.0.0.3.5001: Flags [.], seq 3641977583:3641987719, ack 129899328, win 58, options [nop,nop,TS val 432623 ecr 432619], ... | 2 | 2,868 |
How to convert JSON data to xls format | <p>I have tried the code snippet to convert JSON to csv format but I need to add xls format for the same. Please advise how to convert json to XLS for same code,
I have referred from <a href="http://jsfiddle.net/hybrid13i/JXrwM/" rel="nofollow">http://jsfiddle.net/hybrid13i/JXrwM/</a> link,
<div class="snippet" data-la... | 2 | 1,956 |
Posting to blogger with PHP | <p>I'm getting problem to to get my php script posting to blogger using client http authentication.</p>
<p>I've followed the tutorial from <a href="https://developers.google.com/blogger/docs/1.0/developers_guide_php" rel="nofollow">https://developers.google.com/blogger/docs/1.0/developers_guide_php</a></p>
<p>Here is... | 2 | 1,264 |
Laravel Call the methods of a Artisan Command from a Parent Class | <p>I was wondering if you could help me with the problem that I found a few hours ago and I have not been able to solve it. I happen to be trying to develop a small package in <code>Laravel</code>. This package will contain several <code>commands</code>, but for now I need those <code>commands</code> to inherit some me... | 2 | 2,378 |
Downloading a PDF file with DownloadManager | <p>I'm trying to download a PDF file from a server.</p>
<p>External storage is saved:</p>
<blockquote>
<p>static final File fSdcard = new
File(Environment.getExternalStorageDirectory().toString(), "VDTEC");</p>
</blockquote>
<p>Name of file:</p>
<blockquote>
<p>static final File fManualMult = new File(fSdcard... | 2 | 1,231 |
set javascript variable using html attribute | <p>I am trying to re-create the functionality of <a href="https://chriscoyier.net/" rel="nofollow noreferrer">https://chriscoyier.net/</a> where you have a form with radio buttons, and as you click a radio button, the text changes.</p>
<p>What I started with was:</p>
<p><div class="snippet" data-lang="js" data-hide="... | 2 | 1,369 |
Randomly Moving a object using swing Component | <p>I have created a square using swing components that moves right, left, up and down when clicked by buttons assigned to them. Now I am trying to move this object in a random fashion when clicked. This is my code.</p>
<pre><code>import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
@SuppressWarnings("ser... | 2 | 1,371 |
Loop inside loop only running once | <p>For educational purposes I'm trying to build a <a href="http://jade-lang.com/" rel="nofollow">PUG</a> Parser.
I have two loops, one loops the lines of the PUG-Code, the other loops unclosed tags I saved last iteration.</p>
<p><strong>In my code it seems like the inner loop is only run once, because when I put <cod... | 2 | 1,447 |
@Cacheable and initialization during startup | <p>I would like to initialize all entries in cache during startup of my spring boot application (loading stuff from DB). Ideally, this is done before the application is already ready. So I implemented all loading in <code>@PostConstruct</code>. I remarked, that the cache is not already setup in <code>@PostContruct</cod... | 2 | 1,247 |
Slow emacs startup | <p>My emacs takes a few seconds to start up every time, which is slower than I'd expect. During that time, it says "contacting host: " marmalade-repo and melpa. </p>
<p>Is my current config a reasonable one? Is there a way I can speed it up, while still being able to install packages when I need them?</p>
<pre><code>... | 2 | 1,188 |
What is the problem with this HTML in my email? | <p>I cant seem to get the email to display correctly in hotmail and gmail (see attached image) but it all works fine in my client. </p>
<p>What is the problem with my code/Or is this an issue with gmail/htmail?</p>
<blockquote>
<p></p>
</blockquote>
<ul>
<li><strong>How it does look:</strong></li>
</ul>
<p><img s... | 2 | 2,898 |
How to pass credentials from nginx auth_request module to authentication server | <p>i am trying to authenticate client requests with nginx ngx_http_auth_request_module module but unable to forword the authentication parameters to authentication server</p>
<p>Below is the nginx configuration i am using </p>
<pre><code> http {
upstream myapp {
server localhost;
}
... | 2 | 1,055 |
POST 403 forbidden CORS response when uploading an image to AWS S3 bucket ReactJS | <p>Hello so I am trying to upload images to AWS S3 from my React application using an NPM package called react-s3. I am using an AWS Educate account and have setup the access and secret key correctly. After I select the image and console log the output it gives me a 403 forbidden error as follows.</p>
<p>POST <a href="... | 2 | 1,039 |
Autofac MVC4 Action Filter Injection causes infinite loop | <p>I am running into an issue with Action Filters and Autofac. I have an action filter which uses a dependency to determine if the request should be redirected or not. I am applying this filter explicitly to only a sub set of controller actions. The redirect will direct to an action does not have this filter applied. H... | 2 | 1,041 |
Is this webpack warning safe to ignore? | <p>I found a strange warning in webpack. While parsing <code>process.env</code> using <code>babel-loader</code>. A warning(<code>TypeError: result.setExpression is not a function</code>) occurred in<code>webpack/lib/Parser.js</code>. I'm on a big project and want my core to be super solid. So is it safe to ignore this ... | 2 | 2,591 |
how to useCallback in useEffect when fetching data in async mode | <p>can any one help me with that
actually i am trying to add useCallback function but it's seems not working it's loading
not showing any data
every time i change page and came back to the "users" url it's start re-render
plz help me with this
plz if any one can help me i would be a help for me.</p>
<p>here i... | 2 | 4,997 |
Print button not displayed for Data Tables in jquery | <p>I have the following js fiddle <a href="https://jsfiddle.net/jek1uobr/" rel="nofollow noreferrer">https://jsfiddle.net/jek1uobr/</a> .Though I have added the print button it is not displayed in the datatable.</p>
<pre><code> $(function () {$('#example').DataTable( {
orderCellsTop: true,
dom: 'Bfrtip',
... | 2 | 1,058 |
PHP Session gets lost: Subdomains AND https (SSL to non-SSL) | <p>I think I read and tried all relevant topics about "sessions, cross-domain and ssl" here on stackoverflow . Unfortunately nothing works.</p>
<p>My case: </p>
<blockquote>
<p>loginForm.html (non-SSL) -> authUser.php (SSL) -> showAccount.php (non-SSL)</p>
</blockquote>
<p>The problem is, that these files are pla... | 2 | 1,047 |
Python: Synchronize Input and Output Between Threads | <p>Currently, I am trying to do a small project with sockets in Python, a two-user chatting system.</p>
<pre><code>import socket
import threading
#Callback. Print doesn't work across threads
def data_recieved(data):
print data
#Thread class to gather input
class socket_read(threading.Thread):
sock = object
... | 2 | 1,028 |
Unable to sort data in ExtJS DataGrid when grouped | <p>I'm using ExtJS 3.3.0 with a datagrid that consumes a JSON data store (Ext.data.GroupingStore).</p>
<p>When I'm not grouping by a column, I can sort just fine, however when grouping by a column, the sort algorithm seems to fall apart.</p>
<p>I have another data grid that does server side sorting (and grouping and ... | 2 | 2,666 |
SQLDataBase setDatabaseName doesn't work in QT | <p>I have two method in one class that contain these code, In method GetDefinitionOfWord, at first i've been call GetDictionaryFilePath that correctly return the name of DB, but in method GetDefinitionOfWord when execute db.setDatabaseName(GetDictionaryFilePath(ID));</p>
<p>It doesn't set the database name and can't o... | 2 | 1,664 |
Submit form and prepopulate custom fields in DocuSign Envelope | <p>For some reason I can't get my code to show the custom fields I am wanting to add in the left pane(e.g. First Name, Last Name, etc.). On submit my form should go to the envelope and prepopulate my custom fields. I've searched the DocuSign docs and also different threads on here. Any help is much appreciated. Thank y... | 2 | 3,953 |
Android: Stop EditText from going outside of tablerow | <p>So i have a tablelayout in android with some table rows. In each row i have a textview and an edittext. My setup looks like:</p>
<pre><code><TableLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingLeft="5dp"
android:paddingRight="5dp"
android:padding... | 2 | 1,329 |
Duplicate key value violates unique constraint for primary key | <p>I have a problem where I get <code>duplicate key value violates unique constraint "my_obj_pk"</code>.
Where <code>my_obj_pk</code> is a primary key of a table mapped to Spring entity and based on <code>id</code>:</p>
<pre><code>@Entity
@Table(name = "MY_TABLE")
@SequenceGenerator(name = "MY_OBJ_SEQ", allocationSize... | 2 | 1,885 |
Initialize input populated by ng-bootstrap datepicker to blank | <p>I have two inputs, each populated by their own ng-bootstrap datepicker that pops up when I click a button. The input populates properly when you choose a new date, but my problem is if I want to initialize the inputs to null or simply another value. I know my <code>getDate</code> function gets in the way of that, I'... | 2 | 1,653 |
How to filter WSUS superceded updates using UpdateScope filtering | <p>I'm creating a simple powershell script that reports missing updates for a certain compmputer, but although I've used some scope filtering in my report superceded updates are still appearing.</p>
<p>Why 'LatestRevisionApprovedUpdates' filter doesn't have any effect with the superceded updates?</p>
<pre><code>$upda... | 2 | 1,188 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.