title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
how to get the values from database and get posted automatically into the dynamic textboxes | <p>I have a javacript function for adding and removing dynamic textboxes just as shown below<a href="https://i.stack.imgur.com/m6VrW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m6VrW.png" alt="enter image description here"></a></p>
<p>And when i click on save values are saving into database.But ... | 3 | 3,838 |
Timeout exception when trying to download any remote index in Archiva 2.2.0 | <p>Archiva 2.2.0. is up and running on a VM (CentOS 6.6).
The VM can access the internet behind a proxy. </p>
<p>For example, <code>GET repo1.maven.org</code> works well:</p>
<pre><code>...
<body>
<div id="top"></div>
<div id="container">
<p>Browsing for this dire... | 3 | 2,367 |
TypeScript: Make properties allowed on object depend on values in other property array | <p>Say I have a generic type that takes a parameter:</p>
<pre><code>type AnimalProps<T> = T extends any ? /* do something specific based on T */ : never
</code></pre>
<p>Then say I want to alter a type with AnimalProps based on a specific property of said type:</p>
<pre><code>type AnimalLookup<S> = AnimalPr... | 3 | 4,494 |
ESP-IDF BLE scanning an advertisement package | <p>i am working on the ESP32 chip and am trying to get the all avaliable information from advertising. For this purpose I use the nRF connect app by NORDIC with prepare advertiser <a href="https://i.stack.imgur.com/Y01Oo.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y01Oo.jpg" alt="enter image desc... | 3 | 1,191 |
Split and route large XML with namespace using WSO2 ESB and smooks | <p>I need to process an XML file which has a namespace declaration on its root element and containing +133K sub elements, its size is around 500MB; to achieve this i'm using WSO2 ESB 5 and smooks mediator.</p>
<p>Basically what i'm looking for is to split the input file into little chunks with a predefined structure a... | 3 | 9,963 |
Calling method on runtime without firing any event in angularJs | <p>I am working on AngularJS+Html application. I want to call an event automatically as div created at runtime.</p>
<p>Div is created with <code>ng-repeat="obj in objList"</code>. As first div created with <code>{{obj.shortName}}</code> its corresponding div load the value from <code>vm.relatedLists</code>.
<code>vm.r... | 3 | 1,142 |
Using PHP to generate SVG with unicode characters to be included in Inkscape | <p>I have to make some PDF calendars, so I decided to automate the process creating the bulk of the days in SVG with PHP, saving the result and importing it in Inkscape for further graphics.</p>
<p>Generally this procedure works smoothly, and I've used it many times for graphs, diagrams, etc., but now I've an issue wi... | 3 | 1,913 |
How do I access rails helpers and embedded ruby inside assets javascript files in ruby on rails? | <p>I have a show and hide div that shows and hides comments when clicked. By default before it's clicked it shows a message count plus some down arrows e.g. </p>
<p><strong>"55 Comments [down arrows]"</strong> </p>
<p>and when clicked it changes to:</p>
<p><strong>"Hide comments [up arrows]"</strong></p>
<p><strong... | 3 | 1,312 |
Sharepoint 2010 Blue Ribbon Tag | <p>I've created new master page in Sharepoint 2010 and mistakenly I missed Blue Ribbon. I've tried various ways to get back that blue-ribbon, can someone give me exact and only code sample of blue-ribbon for Sharepoint 2010.</p>
<p>I copy / past following code from v4.master but still not working:</p>
<pre><code><... | 3 | 9,276 |
Is it possible to connect the if-code to the else-code in the flow diagram (Java)? | <p>I've been working on this problem for 3 hours and I'm stuck</p>
<p>I have two conditions and I don't necessarily want to split them up using an <code>if-else</code> statement, what I mean by that is given this flow diagram:</p>
<p><a href="https://i.stack.imgur.com/vLqlg.png" rel="nofollow noreferrer"><img src="http... | 3 | 3,199 |
OnTouchListener fires touch events for a view, but OnClickListener does not | <p>My situation is this: I have a small form which, when clicked, expands into a larger form. I initially don't want any elements in the small form to be focused, so I create an invisible LinearLayout which takes focus when the Activity is created. If I expand the small form into a larger form, one of the elements di... | 3 | 5,518 |
Fragments android orientation loss of fragment | <p>I'm having a struggle with fragment loss on orientation change.
At first my fragments seem to be responding well to orientation changes and nothing is wrong.
But the exception is when I navigate back to a previously made fragment. Since I'm checking that in my fragmenthandler activity.</p>
<p>I chose to use a big i... | 3 | 1,309 |
Google map grid only android | <p>I tried to upload my apk to the android console, but it gives me the following message:</p>
<blockquote>
<p>You uploaded an APK that was signed in debug mode. You need to sign
your APK in release mode.</p>
</blockquote>
<p>All I did was: I took the .apk from lib directory and then I zipalign it using command l... | 3 | 1,312 |
Setting Rowsource property issue | <p>I keep getting an error message every time I try to test the macro, after assigning it to a cell in my excel file.</p>
<p>This is what the error says: Run Time error '380'
"Could not set the RowSource property. Invalid Property Value."
I've included a screenshot of this message and a copy of my (borrowed) ... | 3 | 1,509 |
Date picker for Calender to Sheets Script | <p>Below is a script I found and modified to track events by grabbing event information from our Calendar(s) and populating a spreadsheet (with mild reformatting) based on a selected date range. </p>
<p>Currently I have to manually change the dates within the script each week to get the events that I need. I would ... | 3 | 1,571 |
Replacing part of the text in a Nokogiri node while preserving markup in contents | <p>I'm trying to replace instances of a unique string across a bunch of files by scanning the content of the nodes with Nokogiri and then performing a <code>gsub</code>. I'm keeping part of the string in place, and transforming it into an anchor tag. However, the majority of the nodes have various forms of markup in th... | 3 | 1,782 |
HTML5 Canvas | Bouncing Balls | Looping through an image array and placing different background images on each ball, centered | <p>I am having a bit of a nightmare applying different background images onto balls that bounce around in the canvas under the effect of gravity and the bounds of my canvas, eventually settling down and stacking at the bottom.</p>
<p>I have created an image array, that I am trying to loop through and create a ball for... | 3 | 5,736 |
Pong via Python Turtle issues | <p>I've been looking at this for hours and can't figure out why it won't run properly. Any ideas? I've tried messing with different x and y coords to see if that was the problem but nothing works.
The program just runs twitches and ends, when it should be playing through a game of pong until the user exits out.</p>
<p>... | 3 | 1,568 |
Capacitor BlueToothLE Characteristic UUIDs question | <p>Newbie BLE guy here. Not sure if this is possible or not, but is there a way to convert a characteristic's uuid or a descriptor uuid into their real names (e.g. heart rate measurement). I don't have documentation from the mfg on what each if the services and characteristics are.</p>
<p>Also, what does BleClient.read... | 3 | 1,234 |
weird 'id's and checkboxes behaviour with React Hooks | <p>I am building a simple 'To do list' using React Hooks. Right now I am having two problems:</p>
<p>1) first two list items have identical 'id' values (even though I increment the counter...)
<a href="https://i.stack.imgur.com/EYio4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EYio4.png" alt="en... | 3 | 1,521 |
Oracle database column ambiguously defined / invalid identifier | <p>I've tried to write a SQL statement to select from some tables. But when I run it, I get an error, and I don't know how to fix it.</p>
<p>When I just select from <code>vertrag</code> and join <code>pgrdat</code>, <code>abrkreis</code>, <code>mandant</code> and <code>komm_dat</code>, everything works fine.</p>
<p>H... | 3 | 1,710 |
Duplicate entry: com/google/common/base/FinalizableReference.class | <p>I am getting en error while try to run the project. </p>
<p>Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.</p>
<blockquote>
<p>com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/common/base/FinalizableReference.class</p>
</b... | 3 | 1,356 |
Binding nested control using MVVM pattern | <p>I have a problem with binding nested control with my MVVM pattern. This is my XAML code:</p>
<pre><code> <ItemsControl Grid.Column="1" ItemsSource="{Binding NotificationContacts}">
<ItemsControl.ItemTemplate>
<DataTemplate>
<toolkit:Expander>
... | 3 | 1,290 |
Scheme: Compiling with continuations | <p>im currently writing a compiler in OCaml for a subset of scheme and am having trouble understanding how to compile with continuations. I found some great resources, namely:</p>
<ul>
<li>The cps slides of the cmsu compiler course:<br>
<a href="https://www.cs.umd.edu/class/fall2017/cmsc430/" rel="nofollow noreferrer"... | 3 | 1,216 |
How to implement an array increment function within JSX code using React.js JavaScript | <p>I'm trying to develop a React program that changes information in a component each time the button "rectForward" or "rectBackward" is pressed. I'm passing the information in the form of an array of objects into my Body component from "importData" as seen below. That data is then converted into each object's indvidua... | 3 | 1,296 |
Fix duplicate name situation due to entities created before Orion 0.17.0 | <p>Since Orion 0.17.0 attribute type is no longer used as attribute "identification key". However, I have entities created with a pre-0.17.0 version that have attributes with the same name and different types. For example, the following entity, which have "ActivePower" duplicated:</p>
<pre><code>> db.entities.findO... | 3 | 1,264 |
How to Change a C++ Class member's Type | <p>Is it possible to be able to assign a "flexible" type to a class member? This would be somewhat like <code>std::variant</code> or <code>std::any</code>, except <code>std::variant</code> requires types to be stated in advance and <code>std::any</code> requires <code>any_cast<Type></code> (which isn't a problem,... | 3 | 1,251 |
Switch between :global and :local css modules for animating elements using sass mixins | <p>I wanted to switch between :global and :local while using keyframes and animation and the below given code works:</p>
<pre><code>@mixin keyframe ($animation_name, $isGlobal: false) {
@if $isGlobal {
@-webkit-keyframes :global(#{$animation_name}) {
@content;
}
@-moz-keyframes :global(#{$animatio... | 3 | 1,270 |
Why is JSON with curly braces invalid? | <p>I'm trying to pass valid JSON to dataTables but any result that uses curly braces in the array is not accepted. </p>
<p>Working JSON Data[demo]: </p>
<pre class="lang-json prettyprint-override"><code>{
"data":[
[
"Rhona Davidson",
"Integration Specialist",
"Tokyo",
55,
"2010/10... | 3 | 2,499 |
Form display message when all items have been deleted from list | <p>I am trying to delete items from a list that populates from a drop down list and want the to display a message saying there are no items in the list once all items have been deleted.
The lines commented out should make it work however I cant seem to to get i right.
If anyone could help that would be appreciated.<... | 3 | 1,284 |
Background image based on mobile or desktop | <p>I created a webpage that only display background image and text on footer that worked great for desktop user visitor but for mobile user visitor the image are not auto resize to they screen size.</p>
<p>Here this is my css </p>
<pre><code>body {
margin-top: 50px;
margin-bottom: 50px;
background: none... | 3 | 1,254 |
iOS - Failed to upload video file from swift to FastAPI server | <p>I took the code for uploading the video file from <a href="https://stackoverflow.com/questions/49649315/">this question</a>, however, an error occurs.</p>
<p>This is the code to select a video from an album:</p>
<pre class="lang-swift prettyprint-override"><code>var videoURL: URL?
extension ViewController: UIImageP... | 3 | 1,120 |
Fails for larger test cases : Minimum Characters required to be added to make a String Palindromic | <p>Question: <a href="https://www.interviewbit.com/problems/minimum-characters-required-to-make-a-string-palindromic/" rel="nofollow noreferrer">Minimum Characters required to make a String Palindromic</a></p>
<p>Issue: Code works fine for test cases, but while submitting it says, code is failing for <strong>larger te... | 3 | 1,056 |
Passing a BindableObject to the views | <p>From the Apple's sessions and Tutorial we have two options to pass BindableObject to the views.</p>
<ol>
<li>Use declare <code>BindableObject</code> as a Source of truth in the top view in the hierarchy with <code>@ObjectBinding</code> wrapper and pass it to other views with <code>@Binding</code> declared.</li>
<li... | 3 | 1,156 |
Constructor dependency injection with Dagger2 Android | <p>I want to inject MyRepositiry class to my MyPresenter. The only thing that I don't quite understand if <code>@Inject PostRepository mRepository;</code> would be enough in this case or I need to do this:</p>
<pre><code> public AddPostPresenter(PostRepository postRepository, AddPostContract.View view) {
this.mRep... | 3 | 1,033 |
Windowsphone textblock limitation | <p>I have implemented textblock in Listbox ItemTemplate/data template. It is databound to "Data" which is getting read from an xml file. Everything works fine but, the text is getting trimmed in textblocks and a there ia a blank space. I know the reason and it is due to limitations in textblock. Now i tried to use, ... | 3 | 1,348 |
Install header file of R package | <p>I am working on an R package with the following directory structure at the root:</p>
<pre><code>CMakeLists.txt
configure
configure.win
NAMESPACE
DESCRIPTION
README
src
cmake
examples
man
R
</code></pre>
<p>I build and install like so :</p>
<pre><code>R CMD build .
R CMD INSTALL mypackage*.tar.gz -l /home/myname/... | 3 | 1,630 |
Not able to use viewpager tabs in Android project | <p>What I am doing: I am trying to use the view pager tab indicator.</p>
<h3>What I have done:</h3>
<ul>
<li>I have linked the library</li>
<li>I have reflected the styles.xml in all the values folders</li>
<li>Copied all the necessary drawables from sample</li>
</ul>
<h3>Manifest:</h3>
<pre><code><activity
... | 3 | 2,040 |
find sequences from rows of data | <p>I'm working with a dataframe containing a series of "events" and the dates on which they occurred. These events are sequential, where one follows another, but there are multiple separate sequences.</p>
<p>The data is structured so that each row shows an event (<code>event_name</code>) and an event that fol... | 3 | 1,752 |
Randomly displaying HTML list items in vTicker jQuery plugin? | <p>I'm using vertical text slider or scroller jQuery plugin called '<a href="https://richhollis.github.io/vticker/" rel="nofollow noreferrer">vTicker</a>'.</p>
<p>And I wanted to display the lists randomly but there was no option for this feature in vTicker.</p>
<p>I posted this question to another forum and someone to... | 3 | 1,216 |
how to use [disabled] with two options in ionic angular | <p>this is my page.html:</p>
<pre><code><ion-content *ngIf="charged">
</code></pre>
<strong> Id ordine: </strong>{{order.id_acg}}
Peso articolo(g):
Altezza(cm):
Larghezza(cm):
lunghezza(cm):
... | 3 | 1,629 |
How to prevent negative numbers and numbers above certain limit, and let the user loop among the available numbers, in an input field using keyevents? | <p>I have a reusable component called <strong>TimePickerComponent</strong> which I am using to display an input field where the user can put hours and minutes. I have some arrows that appears on hover to let the user going up or down with hours as well as another arrow for the minutes (I put in attachment the screensho... | 3 | 2,800 |
How to combine duplicated rows into a single row? | <p>I have a table with each row representing a person. In this table there are a lot of duplicates that I want to get rid of. I want to deduplicate based on <code>name</code> and <code>age</code> only. However, the information in columns can be spread between different rows for the same employee. For example:</p>
<div... | 3 | 1,181 |
How do I fix cfWheels ERROR: Wheels.TableNotFound? | <p>I am new to Cfwheels and MVC. Cfwheels website is up and running.<br>
I have successfully completed <a href="https://guides.cfwheels.org/docs/beginner-tutorial-hello-world" rel="nofollow noreferrer">https://guides.cfwheels.org/docs/beginner-tutorial-hello-world</a> .<br>
Now I am trying to just test the cfwheels to... | 3 | 2,278 |
Cannot remove table after callback function is called | <p>I'm trying to remove a table after some callback functions but table rows just keep getting inserted instead. I don't understand why the table is not being removed after the callbacks. I see that it actually calls the <code>removeTable</code> function and it knows that the <code>table.length</code> is more than 1 bu... | 3 | 2,006 |
Expressjs / Nodejs route works with POST, but not with PUT | <p>I'm changing nothing but changing the route method from "Post" to "Put", and for some reason that breaks it. </p>
<p>The POST route works fine:</p>
<p>In route in App.js with POST:</p>
<pre><code> app.post('/editlisting/update',listing.update);
</code></pre>
<p>the editListing.jade file that submits to it:</p>
... | 3 | 1,241 |
Mystified by Form Checkboxes | <p>I've put together a quiz, with the questions and answers stored in a database. It works for multiple choice questions, and I figured out how to make it work with a fill-in-the-blank question, too.</p>
<p>But I haven't figured checkboxes out yet. I have one question that offers users a choice of five answers, each a... | 3 | 1,786 |
How do I poblate a recyclerview that takes data from two tables? | <p>I'm working on a recyclerview that has two textViews inside.</p>
<p>One goes for the hour placed on one table
And the other one goes for the medicine name that's connected as a foreign key via id.</p>
<p>Thing is, how can I actually call those? I can't get two adapters in one RecyclerView, so how can I deal with thi... | 3 | 1,166 |
Cycle detected through use of UIKit Textfield Representable in SwiftUI | <p>I am using a boolean (searchVM.showSearchView: Bool) to simultaneously turn opacity of a SearchView to 1.0 AND show/hide a UIRepresentableKeyboard.</p>
<p>This gives me the same functionality as Google Maps when you tap on the search bar and (simultaneously) the white search view appears, textfield focused, and keyb... | 3 | 1,121 |
Linked List: How to implement Destructor, Copy Constructor, and Copy Assignment Operator? | <p>This is my C++ code:</p>
<pre><code>#include <iostream>
using namespace std;
typedef struct Node
{
int data;
Node* next;
}Node;
class LinkedList
{
private:
Node* first;
Node* last;
public:
LinkedList() {first = last = NULL;};
LinkedList(int A[], int num);
~LinkedList();
v... | 3 | 2,277 |
Binding when assigning value in ViewModel does not work | <p>In the View I have a stacklayout which I assign the IsVisible property which has a Binding. This Binding I assign the value in the ViewModel but when assigning the value in the ViewModel, nothing happens.</p>
<p>The View and the ViewModel are correctly connected because other Binding works correctly but this one doe... | 3 | 1,955 |
Wrong rlimit information in hs_err_pidXXX.log file when JVM crashes | <p>I have a java application running with jdk 1.8.0_102. When the application crashes (out of memory - see below) a file hs_err_pidXXX is generated with several information about the jvm, system, memory, threads etc...</p>
<pre>
#
# There is insufficient memory for the Java Runtime Environment to continue.
... | 3 | 1,234 |
Why do I keep getting `Exit code 1` error while launching anything in Anaconda? | <p>Could anyone please help me out with this!!!</p>
<p>Anaconda was working fine a while back but all of a sudden I am getting the following error:
<a href="https://i.stack.imgur.com/7SiJY.png" rel="nofollow noreferrer">Navigator Screenshot</a></p>
<p>After this I tried reinstalling it but it still resulted in the same... | 3 | 2,586 |
Why does using the "camelcase-keys" package cause a Firebase "initializeApp()" error? | <p>I am trying to build some Firebase Cloud Functions, and also use the npm package <a href="https://www.npmjs.com/package/camelcase-keys" rel="nofollow noreferrer">camelcase-keys</a> to transform the keys of an API response.</p>
<p>But whenever use that imported package I get this error:</p>
<blockquote>
<p>Error: Fai... | 3 | 1,192 |
Conditional statement to give different results elementwise when NA is total or partial | <p>I have this data set with 6 variables containing either positive, negative or NA. A new column is required to be generated based on the values of these variables in the following manner:</p>
<p><code>P</code> if ANY of the 6 variables contain a positive result.</p>
<p><code>N</code> if NONE of the 6 variables cont... | 3 | 1,342 |
Reshape data obtained using TriMatch package in R to another data keeping matched triplets serial ID for further analysis | <p>How can I reshape data A (obtained using <code>TriMatch</code> package in <code>R</code>) to data B and keep matched triplets serial ID to allow further analysis?</p>
<p>Used code to get data A and its structure:</p>
<pre><code>formu <- ~ Age+FEMALE+renal_insuf+Diabetes+MI+LVEF_pre+ Crea+ NYHA+treated_Hypertensio... | 3 | 3,940 |
Need to correct this calculator program | <p>Unable to get the second value (var b) for calculation.</p>
<p>In this calculator program I got the first value (var a) from display.text and cleared the display.text.Then getting the second value (var b) for adding/Subtrating, the second value still assigned to var a and getting error</p>
<blockquote>
<p>unexpected... | 3 | 1,035 |
Angular 6 Expression has changed after it was checked. Previous value: 'null: 3' | <p>I guess I just do not understand how ngFor works. Why does angular check the value so many times? Keep in mind, that I want the value to be updated. Please explain, because I feel completely lost.</p>
<p>To give some background info:</p>
<p>I have a product page that checks the shopping cart items and displays how... | 3 | 2,171 |
CSS star-rating system disappears on selection | <p>Can someone please explain why this css star rating <strong>disappears</strong> when I click either of two highest ratings? I'm using Chrome and got the code from here: <a href="http://code.stephenmorley.org/html-and-css/star-rating-widget/" rel="nofollow noreferrer">http://code.stephenmorley.org/html-and-css/star-r... | 3 | 1,340 |
How to return a class to a onPostExecute? | <p>Update, please see below.</p>
<p>How do I return my class LocationData and my ArrayList listOfObjects to the onPostExecute()? I want to use it in my UI and right now it is in the background in an AsyncTask. Also I want to add markers with:</p>
<pre><code>mMap.addMarker(new MarkerOptions()
.position(new LatLng(... | 3 | 6,166 |
Failed CreateWindowEx. How do I get my window (with the button) to actually pop up for once? | <p>I can only assume most of this works because I can't get past the CreateWindowEx check.
If someone would double check all of my fun button code that would be great too.</p>
<pre><code>#include <windows.h>
#include <tchar.h> //I was told I needed this line but I don't believe I do.
#define ID_BTNENCRYPT ... | 3 | 1,262 |
Change nested object values in a powershell object | <p>I have the following object, and I would like to change a nested value in the object without changing all the other nested objects. The object I would like to change is in a variable.</p>
<pre class="lang-bsh prettyprint-override"><code>$object.Tophashtable.MidHashtable1.array1[0].linenumber = 1
... | 3 | 3,458 |
How do I correctly format my code to run this menu program in Java? | <p>This is a beginner question. I'm about to start an online bootcamp and am stuck on my last pre-work project (which is a cumulation of everything we've been instructed to self-teach ourselves). I'm really lost and can't wrap my head around this.</p>
<p>Here is what I've come up with so far:</p>
<pre><code>import java... | 3 | 2,013 |
How to remove message event handler in javascript. Event not closing and duplicating | <p>I am creating a script for a custom menu with clickable buttons that can be used for either opening new windows with new buttons or placing functions behind buttons for playing music in-game etc.</p>
<p>The problem I am facing is that whenever you close the menu by clicking on the "Close" button and openin... | 3 | 1,445 |
Using code in other class | <p>My code works perfectly in the player class, but when I try to put it in a different class, it does nothing. My player doesn't lose lifes, and he doesn't die.</p>
<p>Here it doesn't work:</p>
<p><em>Spikes class</em></p>
<pre><code>using UnityEngine;
using System.Collections;
public class Spikes : MonoBehaviour
... | 3 | 2,288 |
Running as Eclipse Application causes JVM Crash - “EXCEPTION_ACCESS_VIOLATION” | <p>I am developing an eclipse plugin and use an eclipse application run/debug configuration to run it for testing purposes. Since I changed to JDK1.8 the nested eclipse application crashes. This happens if try to navigate to a class from a dependent project using ctrl+click or if use auto-completion on a class from a l... | 3 | 10,564 |
jquery queue to parent rather than specific children? | <p>I am making some animation on children of a div, the children are animating one at a time on hover, while the other are stopping, and sometimes being removed too.
What I wanted though is a callback for when all the animation has stopped/ ceased / or is no longer moving - in other words.</p>
<p>...I tried to make s... | 3 | 1,455 |
How do I keep only one sidebar menu open at a time in react app? | <p>I have a Sidebar component with dropdowns. I want to be able to keep one menu open at a time and other sidebar menu to auto close.
Here's is a sub-component of the sidebar below...</p>
<pre><code> function General() {
const [open, setOpen] = useState(false);
const location = useLocation();
const handleCli... | 3 | 1,289 |
VB.NET Error "Cannot find Column" upon GridView sorting | <p>Currently I am working on VB.NET code to implement GridView sorting for one of the columns (State). The page has two buttons - 'Add' and 'Update'. Both buttons give different views but same dataset and some of the columns being similar (including the sorting column), each of which are represented in MultiView. One o... | 3 | 2,233 |
kubernetes - unable to expose Prometheus using NodePort | <p>I have Prometheus installed on GCP, and i'm able to do a port-forward and access the Prometheus UI</p>
<p>Prometheus Pods, Events on GCP :</p>
<pre><code>Karans-MacBook-Pro:prometheus-yamls karanalang$ kc get pods -n monitoring -o wide
NAME READY STATUS RESTARTS AGE IP... | 3 | 1,857 |
NLP Update cannot be used with tuples after spacy 3 update | <p>here's my code for training a pre existing model. I'm receiving this error message due to updates in SpaCy but I couldn't solve the problem.</p>
<p>ValueError: [E989] <code>nlp.update()</code> was called with two positional arguments. This may be due to a backwards-incompatible change to the format of the training d... | 3 | 1,360 |
get Jsonarray as response by android volley by sending some data | <p>Can someone tell me....how to get jsonarray as reponse by android volley library...I used the method called <strong>jsonArrayRequest</strong> but there is one thing....I want to get jsonArray response by sending some data to the php script.....My php script contain three variables ...and i will pass these three vari... | 3 | 4,566 |
How can I run a function when internet connection is established? | <p>The app is a quiz, and if user finishes the round he may send the points in firebase. If user is not connected to internet, I save the points in device memory, so when connection is established the points are send in firebase.</p>
<p>The best would be to let this happen automatically and show a message...
I'm trying... | 3 | 1,237 |
Glassfish inteliji index.html not found | <p>i got a project with modules</p>
<p>APP - project
modules:
-business
-dao
-model
-webapp</p>
<p>i'm trying to deploay only webapp on glassfish server ( it's jsf project ) but every time i try to create artifact i have server error 404 , not found index.xhtml or HTTP Status 404 - /index.xhtml Not Found in ExternalC... | 3 | 2,517 |
How do I properly set up a scrolling NSTableView using Auto Layout? What I've tried has odd glitches | <p>I am trying to use <a href="http://blog.bjhomer.com/2014/08/nsscrollview-and-autolayout.html" rel="nofollow noreferrer">Auto Layout to set up scrolling in NSScrollView</a> to scroll a view-based NSTableView. I have a few issues.</p>
<p>The most obvious is: if all the rows are visible, the table can still be scrolle... | 3 | 3,075 |
integrate <?=nl2br($emlak->aciklama);?> php code into $title=" " | <p>I have tried different formats but could not get the right code to function --within the $title quotes. I would like to use the first 80 characters of the page product description to appear in the title of the page (not the page description below the title)</p>
<p>I would like to integrate this php code</p>
<pre><... | 3 | 10,360 |
How does insert and delete method of SortedList in Java work | <p>This is more about my lack of ability to understand the SortedList Class. The ListNode I understand: it is a node made up of 2 things: A comparable object and a ListNode object which itself has the same 2 things.</p>
<p>I do not understand how the insert and delete method work in the SortedList Class down below.
It... | 3 | 1,373 |
top rounded corners in my jquery | <p>I have this jquery for my menu buttons, what I want is to get top-corner rounded for my menu, this is a whole code:</p>
<pre><code> <html>
<style type="text/css">
#menuBarHolder { width: 860px; height:45px; background-color:#000; color:#fff; font-family:Arial; font-size:14px; margin-top:20px;}
#menuB... | 3 | 1,270 |
why form submit more than one time with one time press enter key? | <p>I am a developer but I am facing a problem with form submissions with ajax request. I am developing a post comment system in which many posts are displayed on a page wall. We can comment on any post. I have implemented pagination on wall post in which onscroll post is loaded dynamically.</p>
<p>When posts are loade... | 3 | 2,056 |
unzip a file into /tmp folder using lambda function from s3 bucket | <p>I have a bucket by the name "testing_lambda". Also within this "temp_lambda" folder, it stored a zip file named "test.zip".</p>
<p>I wish to use lambda function to first read the file from that bucket folder and then unzip it to a /tmp folder within the lambda function before continue ... | 3 | 1,583 |
Creating a Event Management System SDL2 | <p>I have created game in Python with pygame. Now I want to port this game to c++ using SDL2. In the python build of this game there was a sort of event manager system. A class that read the event queue then stored these events in a list so they could be checked multiple times during game loop. The event manager would ... | 3 | 2,027 |
NoReverseMatch error Django with slug | <p>I'm trying to make the index view show a list of "Journal"s, with each linking to a view that lists "Manuscripts" in the Journal. I also want <code>journal_view</code> to be located at a slug for the name of the journal, and likewise for <code>manuscript_view</code>.</p>
<h1>This is the traceback I get:</h1>
<pre>... | 3 | 1,400 |
UnicodeDecodeError in Python Classification Arabic Datasets | <p>I have Arabic datasets for classification using Python; two directories (negative and positive) in a Twitter directory.</p>
<p>I want to use Python classes to classify the data. When I run the attached code, this error occurs:</p>
<p>>
File "C:\Users\DEV2016\Anaconda2\lib\encodings\utf_8.py", line 16, in decode
... | 3 | 1,198 |
.not Selector is acting like a toggle? | <h2><code>.not</code> does not mean "not"?</h2>
<p>First off, I know there are a lot of threads on the <code>.not</code> selector and I've tried several stack overflow solutions, but I haven't had any success so far.</p>
<p>In my current project, I'm adding and removing content visibility using jQuery. My iss... | 3 | 1,546 |
Why do I get empty brackets as a response to a http GET request | <p>I have a Maven Project in Java. I can successfully bring out data from my database in my testclass. However, when I do a GET request from Postman to webb Service it simply wont give me a response with the array in JSON format. It only returns an empty []. I have been at this now for more than 30 hours and can't fix ... | 3 | 1,071 |
JavaFX, bind object field to TreeItem for automatic update of TreeItem | <p>Is there a way to bind an object's field to a TreeItem so that when the field is changed, the TreeItem is automatically updated in the TreeView?
I have objects with several fields that are set in TreeItems in a TreeView. The objects fields are updated sometimes at 5 to 10 times per second via their setters and I wo... | 3 | 3,067 |
Bluetooth Discovery not working properly | <p>I am new to android.
I am trying a simple android app that will:
- user click button to enable BT
- user click button it will scan the nearby devices and give a list or try to connect to a specific device (app will be used in robotics)
The anble button is working fine and enabling the Bluetooth but whe I push the sc... | 3 | 4,587 |
Bash help tallying/parsing substrings | <p>I have a shell script I wrote a while back, that reads a word list (HITLIST), and recursively searches a directory for all occurrences of those words. Each line containing a "hit" is appended to file (HITOUTPUT). </p>
<p>I have used this script a couple of times over the last year or so, and have noticed that we of... | 3 | 1,220 |
lein ring server throws java.io.FileNotFoundException inside docker container | <p>I am containerize my clojure project in docker. The container is successfully build and has both java 1.8.0_151 and lein 2.8.1 running on it. However when I try to start a ring server I get this exception. Yet when I run the same code in the mac environment everything runs normally. </p>
<p>exception: </p>
<pre><... | 3 | 2,608 |
Send SMS From application to mobile using Sinch | <p>I am writing a code to send sms from my application using sinch. When I run this code I am getting error 403.My code is :</p>
<pre><code>try {
String phoneNumber = "Mobile Number";
String appKey = "Key";
String appSecret = "Secret";
String message = "Hello, world!";
... | 3 | 3,390 |
Rails: ArgumentError in PostsController#create wrong number of arguments (1 for 0) | <p><a href="https://github.com/LaFrish/wdi8-yearbook" rel="nofollow">Github Repo</a>
Hi, I'm a noob and need help. Making a yearbook for my bootcamp class and having some hiccups. Current error is: </p>
<pre><code>ArgumentError in PostsController#create
wrong number of arguments (1 for 0)
Extracted source (around lin... | 3 | 8,623 |
Code works in jsfiddle but not in html document. Why? | <p>I am trying to create a sapui5 table from xml view but it doesn't seem to be working when I run it from visual studio but when I run it in jsfiddle it runs just fine. What is the reason for this?</p>
<p>Here is the code in my xmlTest.hml:</p>
<pre><code><!DOCTYPE html>
<html>
<head>
<scrip... | 3 | 1,745 |
What datatype is this? is it wordpress specific? | <p>Hey can anyone tell me what datatype this is? it wont parse as i've stripped out sensitive data. Am I correct in thinking its json? </p>
<blockquote>
<p>a:7:{s:12:"competitions";a:893:{i:1;s:10:"Ersie";i:5;s:19:"General</p>
<p>News"1510126584;s:0:"";i:1019;s:0:"";i:8284;s:0:"";i:191016;s:0:"";i:284;s:0:"";i:... | 3 | 2,538 |
Call to a member function detail() on bool laravel 8 | <p>my product model</p>
<pre><code> public function detail(){
return $this->hasOne('App\Models\ProductDetails');
}
</code></pre>
<p>my productDetails model</p>
<pre><code>protected $table='product_details';
public $timestamps=false;
protected $fillable=['product_id' , 'show_slider','show_opportunity_day','sh... | 3 | 1,645 |
How to stop a user from entering a letter in a switch case when the letter is the first input entered | <p>When using a switch case with integers, I am able to successfully stop the user from crashing the program with a try/catch when they enter a letter (a, b, c, etc, not case specific). However, I can only stop it after an integer is entered. For this example, it is NOT my actual code, it is only an example as it is a ... | 3 | 1,306 |
Angular 1 - Service to detect change redux state change | <p>I am trying to create a service that will detect a change in the redux state of my application to be able to redirect to different pages.</p>
<p>The error that I am getting is:</p>
<pre><code>Error: [$injector:unpr] Unknown provider: translate2FilterProvider <-
translate2Filter
</code></pre>
<p><a href="http:... | 3 | 1,377 |
Ant script no longer invoked when source files modified in Eclipse | <p><strong>Summary</strong><br>
I'm developing a Java application within Eclipse Luna. I've been trying to develop an Ant script that will increment my project's version number whenever I recompile the source code. However, my script is not being invoked when the source files change.</p>
<p><strong>Details</strong><br... | 3 | 2,734 |
Corrupt recording with repeating audio in IOS | <p>My application records streaming audio on iPhone. My problem is that a small percent (~2%) of the recordings are corrupted. They appear to have some audio buffers duplicated. </p>
<p>For example listen to <a href="https://s3.amazonaws.com/evature-static/corrupt_recording.flac" rel="nofollow">this file</a>.</p>
<hr... | 3 | 2,027 |
How to display ganttchart with mysql database values in laravel? | <p>I want to make a ganttchart, where I can retrieve data from database using mysql. </p>
<p>Highcharts do no include ganttchart, so i tried google charts. I am able to retrieve values from database and its can be seen in the page source, but not getting the output.</p>
<pre><code><html>
<head>
<scr... | 3 | 1,047 |
WHILE vs IF when using recursion in Python | <p>I am trying to build Quick Sort algorithm in Python. After finding the first pivot index with <code>partition</code> it runs recursively on the left and right side. This is where I get maximum depth recursion error while calling <code>quick_sort</code> function recursively on each side. Dive into the debugging, but ... | 3 | 1,083 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.