title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
Default FirebaseApp is not initialized in this process com.forgottenitem.myevent1. Make sure to call FirebaseApp.initializeApp(Context) first | <p>I am new to android. Kindly assist me with this error message:</p>
<pre><code>2021-07-03 14:07:51.800 5006-5006/com.real.myevent1 D/AndroidRuntime: Shutting down VM
2021-07-03 14:07:51.803 5006-5006/com.real.myevent1 E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start activity Compon... | 3 | 2,127 |
How to make images change a little quicker? | <p>My code works just fine but for some reason when you click on the play button it takes a bit longer to switch over to the pause sign, and occasionally it takes a bit longer for the pause button to go to the play button. I also have one more question, when you click on the rain and beach icon there's a blue square bo... | 3 | 3,061 |
Horizontal list not working | <p>I am trying to make use of Bootstrap horizontal lists, but it’s not working correctly. How can I fix this issue?</p>
<p>I am trying to get this:<br>
<a href="https://i.stack.imgur.com/zzBFi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/zzBFi.png" alt="example"></a></p>
<p>Currently, I have thi... | 3 | 1,137 |
How to pass the submitted form data along with multipartfile(image) upload and save the data to a javabean on the controller end Spring MVC | <pre><code>My Html Content
<form role="form" name="frm1" action="http://localhost:8080/aricloud/rest/usermgmt/signup" id="signup" method="POST" enctype="multipart/form-data">
<div class="form-group">`enter code here`
<label for="username">Login Name</label>
<input type="text" class... | 3 | 1,047 |
Weird error in phpmyadmin using virtualbox ubuntu | <p>I have setup a virtualbox and vagrant using puphpet. Everything is working fine except for phpmyadmin. I have installed everything correctly but when I try to access <a href="http://ip_address/phpmyadmin" rel="nofollow noreferrer">http://ip_address/phpmyadmin</a> I receive this text:</p>
<pre><code>addJSON( 'option... | 3 | 4,845 |
Ember routes not loaded in order | <p>I'm having an issue where the <code>beforeModel</code> (or <code>afterModel</code>) on my route isn't called <em>after</em> the application controller has been setup. This is an issue because I need some data from the application controller.</p>
<p>In another route this works as I'd expect (that the application con... | 3 | 2,173 |
SWIG, Box2D, and C# | <p>What should be simple has turned into a convoluted mess of ugliness. So here's the story. I downloaded the awesome Box2D, took out the important c++ files and added an interface for SWIG. I then proceeded to create the Swig wrapper by using a makefile</p>
<pre><code>CC=g++
CFLAGS=-c -Wall -fPIC -I../
LDFLAGS=-share... | 3 | 1,144 |
Layout Pushing Div Down | <p>I'm having an issue where my layout is pushing a div lower than expected. It's a fixed three row layout, but the second row seems to be pushed down. Fiddle and code below.</p>
<p><a href="http://jsfiddle.net/76wfg/" rel="nofollow">fiddle</a></p>
<p>CSS</p>
<pre><code>body, html{
margin:0px;
padding:0px;
... | 3 | 3,208 |
Render array's nested object values react | <p>Here is how my <code>savedLinksData</code> array prints in my console:</p>
<p><a href="https://i.stack.imgur.com/2EKer.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2EKer.png" alt="enter image description here" /></a></p>
<p>Here is my code that attempts to get the <code>linkType</code> value:</... | 3 | 1,198 |
$lookup in aggregation is very slow | <p>I am using <code>$lookup</code> to join two collections for counting, but <code>executionStats</code> shows that the query is very slow (500+ms per query for a single lookup). Here is the collection size:</p>
<pre><code>> db.visit.find({}).count()
8174
> db.links.find({}).count()
89
</code></pre>
<p>Here is th... | 3 | 1,908 |
Using malloc and free in recursive file scanning function | <p>I am writing a function that takes in a file-path argument and scans through the directory structure and loads it into a tree. I'm using a recursive function I created called <code>scan_and_add_children(struct Node* root)</code> that takes in the root node. The idea is I loop through the files in a directory, add th... | 3 | 2,760 |
Create calculated field based on previous rows Oracle SQL | <p>I am trying to create a manually calculated column where I keep track of a current inventory.</p>
<p>Currently, I have a table that looks like this:</p>
<pre><code>| Group | Part | Operation Type | Transaction Amount |
|--------------|------|----------------|--------------------|
| Concrete | A | STO... | 3 | 2,731 |
history push does not match Route. Only changes the URL and defaults to catch all route instead | <p>I have React Router v5 with below code:</p>
<p>index.js</p>
<pre><code>import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import * as serviceWorker from './serviceWorker';
import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles';
const muiTheme = createMuiTheme(... | 3 | 2,527 |
xforms and getting a particular value from a list | <p>There is a small code that works with appache tomcat and chiba-3.0.0b2</p>
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml"
xmlns:xforms="http://www.w3.org/2002/xforms"
xmlns:events="http://www.w3.org/2001/xml-events">
<xhtml:head>
... | 3 | 1,281 |
Extending macro from 1 row to 56 rows. Application defined error | <p>Ihave never done Excel VBA macros.</p>
<p>The data I’m trying to get organized into a single column is in excel rows 22-78.</p>
<pre><code> 0 0.04 0.08 0.12 0.16 0.2 0.24 0.28 0.32 0.36 0.4 0.44 0.48 0.52 0.56 0.6 0.64 0.68 0.72 0.76 0.8 0.84 0.88 0.92 ... | 3 | 2,827 |
I need some help increasing the height of HTML canvas lines | <p>I am doing a project where the user selects what programming language they enjoy out of a radio box. It sets an object to the Local Storage and creates a bar graph and the bars go up depending on what choice the select. I'm having trouble though where if the user selects the language for the third time, it turns out... | 3 | 8,268 |
how to customize remote validation like a normal jquery ajax? | <p>Is there a way we can customize remote validation like a normal jquery ajax?</p>
<pre><code>$('#banner').bootstrapValidator({
framework: 'bootstrap',
fields: {
bannerType: {
icon: false,
validators: {
notEmpty: {
... | 3 | 2,300 |
jQuery client side password verification | <p>first of all I'd like to say <strong>I realise</strong> it's not a secure method.
This is only for training purpose.</p>
<p>The algorhitm should be:</p>
<ol>
<li>click on a div with id="login-bg"</li>
<li>app displays the banner</li>
<li>provide the code</li>
<li>if the code's ok set cookie and fade out the banner... | 3 | 1,494 |
Use neural netword to fit a reduced boolean function, but found the super-params not as expected | <p>This is the boolean function I try to fit.
[boolean function description][1]</p>
<p>Theoretically we need a neural network with 1 hidden layer which has 3 neurons at least.<br />
And that's actually how I built the neural network in Pytorch.<br />
However, despite the prediction of NN usually correct, the parameters... | 3 | 1,447 |
Issues Parsing Multi Nested Childs in XML using lxml | <p>Im having issues parsing out each child node within an xml file. The number of nodes can change per Instrument_Root. For instance, Instrument_Watch is NULL here, but will be populated in other instances after this. My goal is to have each child node parsed individually (Instrument_Ratings, Instrument_Attribute_Ratin... | 3 | 10,069 |
Unable to correcty call a void function in Java to output to the console | <p>I have the following class written in the Employee.java script:</p>
<pre><code>public class Employee {
//***************************************************************
//
// Developer: Erin
//
// Program #: 3
//
// File Name: Program3.java
//
// Course... | 3 | 2,324 |
Phonegap file transfer using ashx http handler - files are not found on server | <p>I'm trying to upload an image to a remote server using Phonegap's (3.4.0) file transfer and an ashx http handler. I'm using eclipse and running the app on a galaxy s3 device.
here's my code:</p>
<p>js:</p>
<pre><code>function updateUserImage(userId,imageURI) {
//imageURI is in the format of file:///...
ale... | 3 | 3,100 |
Integrating Facebook Audience Network in Xamarin | <p>I have been trying to integrate Facebook Audience Network so as to load native ads in my Xamarin Native iOS application. When I debug my application the code enters method "NativeAdDidFail" and the NSError says "No fill" and No other information is printed in the console.</p>
<p>This is what I ha... | 3 | 1,368 |
How to use Session to save value on current row of GridView, to be copied into TextBox? - VB.Net | <p>I'm trying to use <code>Session</code> to record the data of the 1st column of current row to be used in another Web From which will be opened using a <code>LinkButton</code> that is in the <code>GridView</code>.</p>
<p>Basically, if I click the <code>LinkButton</code> on the 1st row, the 1st column data of the 1st ... | 3 | 1,268 |
R-Shinny image path not working when multiple folders | <p>I have an R-Shinny app which displays images based on two <code>selectInput</code> as follows:</p>
<pre><code>ui<-dashboardBody(
tabItem(tabName = "title",
fluidRow(
column(6,
box(
background = "olive", width = NULL,
... | 3 | 1,400 |
(0x800a138f) Unhandled exception in IE8 after adding BreezeJS to Durandal project | <p>I'm hoping someone with some experience in Breeze/Durandal 2 on .NET 4.0 will be able to assist me with this error, as I'm pretty new to the mix.</p>
<p>I've been working on a Durandal 2/KO/Require SPA project that lately has been compiling fine and running on my IIS7. I need this app to be compatible with IE8, so ... | 3 | 1,131 |
PDF in pop up for mobile devices | <p>I am working on a project using the C# MvC .NET 4.0 framework with razor.</p>
<p>I have recently jumped onto the bootstrap bandwagon (Bootstrap v3.3.4 )in order to make our website responsive. I have been trying to find a solution for making pdf's appear as a pop up once clicked. This pop up would need to be scro... | 3 | 1,123 |
Writing a regular expression for my specific code | <p>I've been trying to get help with this for a few days now, I've asked a dozen questions, all of which get marked duplicate (Which after thorough investigation of the linked questions, I find out it's a different issue) and a few unhelpful comments. This time, I'm coming at it from a different angle.
So far, I've got... | 3 | 1,308 |
When we submit a form, what happened? | <p>Actually, I just want to get a very simple web application:</p>
<ol>
<li>a form in a webpage that I can upload a file within some parameters;</li>
<li>submit the form when I choose a proper file;</li>
<li>do some calculation using these parameters in uploaded file;</li>
<li>redirect to a new webpage with the calcul... | 3 | 1,569 |
LDAP binding on Windows vs. VCE | <p>I have been given the simple task to do Windows authentication against the AD from a Windows Compact 7 device in a C# app. Now - 14 days later I'm still struggling, so any help would be greatly appreciated.</p>
<p>Anyway - what I’ve managed to come up with so far is doing Windows authentication on my PC using the w... | 3 | 2,492 |
Rss Reader giving Android Runtime Error | <p>I'm building a RSS/Atom feed reader which check different tag and takes in only the tags that we need.</p>
<p>However, when I execute the code, I'm having an Android RunTime Exception.</p>
<pre><code>04-29 23:56:20.745: D/ProgressBar(18432): setProgressDrawable mProgressDrawable = null, d = android.graphics.drawab... | 3 | 8,389 |
MonoMac Create Mac Installer results in Merging Mono Failed. FATAL UNHANDLED EXCEPTION | <p>I am using MonoDevelop 2.8.8.4 and MonoFramework (MDK) 2.10.9_8. I'm also using Mac OSX Lion 10.7.3 and have installed XCode 4.3.1 for Lion SDK. My MonoMac application runs fine when debugging with MonoDevelop. Then I tried to create the Application Bundle by going to Project -> Create Mac Installer... </p>
<p>"In... | 3 | 1,261 |
Problem with import javax.persistence.EntityManager; | <p>Hey I want to make projects using databases. I've found some tutorials on youtube, but I have problem with Java JPA/Hibernate. Even tho I am following each step I just cant get to import in my class</p>
<pre><code>import javax.persistence.EntityManage
</code></pre>
<p>I am using IntelliJ and here is how I am trying... | 3 | 1,226 |
Selenium 'dies' when visiting some websites using Behat / Mink | <p>I'm trying to create a a custom scenario in Behat / Mink using the javascript capabilities of Selenium but I've hit a peculiar snag. I've stripped everything back to the bare bones to lay the problem out as simply as possible but in summary when calling visit() in Selenium, some websites run fine but other (includi... | 3 | 2,332 |
Leiningen isn't checking Maven directory | <p>I have a Clojure project that I'm writing using Intellij and the Cursive and Leiningen plugins.</p>
<p>My problem is, Leiningen isn't checking the central Maven directory when finding dependencies. <code>water-time</code> is my current project, and <code>helpers</code> is the project containing "helper" functions t... | 3 | 2,831 |
PHP contact form verification field | <p>Using the script below (taken from a template), I added a simple verification question to prevent spam (What is 2 + 2?). As of now, when the submit button is filled, the error.php page appears but the form is submitted as blank. </p>
<p>How do I ensure the form is only submitted after verifying the security questio... | 3 | 1,425 |
Swift: Trying to get my statusbar back - stopping view from writing below the safespace | <p>I got my function:</p>
<pre><code> func collectionView(_ collectionView: UICollectionView, layout collectionViewLayout: UICollectionViewLayout, sizeForItemAt indexPath: IndexPath) -> CGSize {
return CGSize(width: view.frame.width, height: view.frame.height)
}
</code></pre>
<p>And I want to mi... | 3 | 2,157 |
`hibernate.hbm2ddl.import_files` property stops working if I switch the datasource from `H2` to `postgresql` | <p>This is the config of my spring boot app:</p>
<pre><code>@Configuration
@EnableJpaAuditing
public class Cfg {
@Bean(destroyMethod = "close")
public DataSource myDataSource() {
org.apache.tomcat.jdbc.pool.DataSource o = new org.apache.tomcat.jdbc.pool.DataSource();
o.setDriverClassN... | 3 | 1,434 |
Family tree, cannot resolve child | <p>I'm clueless with this task. I need to make family tree like on this </p>
<p><a href="https://i.stack.imgur.com/kFbhi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kFbhi.png" alt="enter image description here"></a></p>
<p>But I cannot solve child in Main.java. With every name I have to write n... | 3 | 1,337 |
Unable to understand the boost::mutex error C++ | <p>I am new to multithreading and I have used the thread pool mechanism to synchronize interactions amongst two classes.</p>
<p>While compiling i am unable to understand the error.</p>
<p>The classes are as below:</p>
<p>InstrumentProcessor.h</p>
<pre><code>1 #ifndef INSTRUMENTPROCESSOR_H
2 #define INSTRUMENTPROC... | 3 | 4,752 |
How to add Values in a UITableViewCell | <p>Hey there I'm new to Swift and in this Community so sorry for my stupid question. Im trying to create a little quiz app with an UILabel for the Question and a tableView for the Answers.</p>
<p>I found a solution to show the Question in the UILabel but I don't have any idea how to put the Answers in the Cell from my ... | 3 | 1,047 |
Docker-Compose: how to configure container with VPN Split-Tunnelling? | <p>I need the network traffic of a Docker service to pass through VPN,
and also to be able to reach other containers outside VPN from that container.</p>
<p>I'm able to get the first requirement working by configuring an <code>OpenConnect</code> service</p>
<pre><code>version: "3.8"
services:
open-connect:... | 3 | 1,104 |
`ERROR RangeError: Maximum call stack size exceeded` - not able to load the page from nested project | <p>I am trying to load the page from nested project, but getting error as:
<code>ERROR RangeError: Maximum call stack size exceeded</code> - any one help me here?</p>
<p>both parent and child app has the <code>app.component.html</code> with <code>router-outlet</code> - will it be an issue?</p>
<p>my project app name ... | 3 | 1,281 |
Opening modal from dropdown list to add client | <p>Linked to my prior post yesterday on how to have a value of a selector change the behaviour of my javascript, I run into trouble opening a modal window. </p>
<p>The idea is that if "add client" is selected from the first dropdown list, instead of dynamically populating the second dropdown list with "projects", a mo... | 3 | 1,204 |
SignalR Hosting on Local Area Network | <p>I am developing winform application. It is working on two computer. MSSQLSERVER installed on main(host) computer. The program has working on main computer with no error.</p>
<p>I have a SignalR server(Windows Forms) that host on a computer of which IP is (192.168.1.5)</p>
<p>However, when i put that ip adress, pro... | 3 | 1,637 |
Post not working in Ajax to save the input to database | <p>I am trying to save an event via ajax on the full calendar.</p>
<p>I have tested the php for inserting the events and it is working fine. So I realized that the events are not being passed via ajax.</p>
<p>They are not being passed for insertion or updatation.</p>
<pre><code><script>
$(document).ready(func... | 3 | 1,410 |
Google maps view android.view.InflateException: Binary XML File - error inflating class fragment | <p>This happened overnight after finishing this piece of code which pulls coordinates (Latitude and Longitude) from an API and displaying those coordinates with Markers onto a GoogleMap. It was working fine until this morning when I decided to implement a refresh page code. Even after I removed it just to double check,... | 3 | 8,813 |
log4j 2,.17.1 upgrade issue in OWB based web application. application not coming up | <p>I am trying to upgrade log4j from 1.7 to 2.17.1 in my application. but my web based application unable to start.</p>
<p>although i tried my running application running on lower log4j version of 2.8.2 where application come up without any issue but in log 4j 2.9.0 and later version it doesnt comeup . any help is appr... | 3 | 7,505 |
Entity Framework Map Nested entites to View Model | <p>Here are my view models. The entities are exactly the same structure except the name has no ViewModel</p>
<pre><code>public class CelulaViewModel
{
public int Id { get; set; }
public string Nome { get; set; }
public int? CheckListId { get; set; }
public CheckList CheckList { get; set; }
}
public cl... | 3 | 1,413 |
AngularJS ES6 parent function not being called by child component | <p>I'm a bit new to the ES6 syntax/structure of Angular 1.x, and I'm running into an issue with passing a function from a parent controller to a child controller.</p>
<p>This is how the app is tied together (I use webpack + babel with this as the entry-point):</p>
<pre><code>const requires = [
'ngRoute',
];
//Ap... | 3 | 1,031 |
Using an adapter for two different situations | <p>I have a regular <code>RecyclerView</code> adapter that looks like this:</p>
<pre><code>public class MessageAdapter extends RecyclerView.Adapter<MessageAdapter.ViewHolder> {
private static final String TAG = "MessageAdapter";
private Context context;
private List<Message> messages;
p... | 3 | 1,611 |
When setting an Adapter it Gives a Null Pointer Exception in fragment | <p>I am a new android learner. I ran into this null pointer exception at <code>setAdapter()</code> for lListView<code>. Both the</code>ListView` and the Adapter are NOT null.
I have attached my logcat and fragament, adapter code. I have searched the Internet, and I thought it might have something to do with Fragment. <... | 3 | 3,358 |
Conflict between positional_or_keyword_parameters and var_positional_parameters? | <p>I just defined a function in the following when I learn about the knowledge about parameter:</p>
<pre class="lang-py prettyprint-override"><code>>>> def f1(a, b, /, c=0, *args,d, **kw):
print('a =', a, 'b =', b, 'c =', c, 'args =', args, 'd = ', d, 'kw =', kw)
</code></pre>
<p>And it seems to be running... | 3 | 2,589 |
Binding data in angular MAT-TABLE with nested interface not working | <p>Trying to bind data from <strong>JSON-SERVER</strong> response into my MAT-TABLE, but getting <strong>ERROR Error: Could not find column with id "ModuleNm"</strong></p>
<p><strong>test data</strong></p>
<pre><code>{
"modules": [
{
"Id": 0,
"ModuleNm": "V... | 3 | 1,097 |
Delete method with kendo-grid using angular and sweetalert2 | <p>My problem is that it didn't do anything after i tried to bind the data need to execute the method.
it only pops up the sweetalert but when i click both button, nothing happens.
any solution/guide for this?</p>
<p>i use an api to execute the method running in local.</p>
<p>HTML</p>
<pre><code><kendo-grid
[... | 3 | 1,136 |
Receiving Promise<Void> instead of NSMutableURLRequest | <p>I'm attempting to login to my app, however, all my APIRequests are showing as Void instead of APIRequest. This function was working back in Swift 2 and has since gone through some minor changes to attempt to migrate from PromiseKit 4 to PromiseKit 6. </p>
<p>The function does touch a lot of other things, please lea... | 3 | 1,891 |
How can I slow down a program to make the request to the server? | <p>I need to know that the server is returned to display in a cell right inoformatsiya after editing or return the previous line, if an error occurs. Or I can get data asynchronously, and later to update the results of a cell?</p>
<p>The first press of the button allows the editing, the second store information on a s... | 3 | 3,603 |
Make navigation menu span length of browser | <p>I am trying to get my navigation menu to span the entire length of my blog. Right now it is off center to the right and a bit too short. How do I make it longer?</p>
<p>Also, you'll notice that my navigation menu is not at the very top of the page, which is where I would like it to be. How do I fix that as well?</p... | 3 | 1,050 |
Drawables next to buttons? | <p>Ive been working on a simple app that has a feature where you can test your knowledge by answering multiple choice questions. After an answer is selected(by the radio button), i want to show either a check mark if the answer is correct, or an "X" if the answer is incorrect, to the right of the selected answer. For s... | 3 | 4,005 |
How to build a Docker image? | <p>I have a directory named docker which contains the following two files:</p>
<pre><code>docker:
|_Dockerfile
|_main.py
</code></pre>
<p><strong>The Dockerfile looks like this:</strong></p>
<pre><code>#Specifying the base image
FROM python:3.10
#here the dockerfile is pulling the python 3.10 from docker hu... | 3 | 1,042 |
How to add margin to nested comments? | <p>I am creating a Reddit clone, and right now have the ability to create comments, and sub-comments. Using CSS I was able to add a margin (indentation) to "child" comments (sub-comments). But my "grand-child" comments (sub sub-comments) retain the same level of indentation as my "child" comments. </p>
<p>How can I go... | 3 | 2,285 |
Do I need to use strict statement for this function? It's also expecting a ':' instead of a '.' for window.onload? | <p>Do I need to use strict statement for these functions? It's also expecting a ':' instead of a '.' for window.onload? It also says 'e' is not defined however I'm using it as an function event. Plus an unrecoverable syntax error? This is just a simple audio player for a website.</p>
<pre><code>var audio = new Audio()... | 3 | 1,034 |
SQL In Access, Transforming a data table into a structured data table? | <p>I'm using Access forms and tables for the purposes of our project. We have an Access form template that sends data to a table (Defaults) when something is changed, added or deleted on the form. The form stores the value in the "DefaultValue" and updates the table with it. Basically, it sends data to the table, updat... | 3 | 1,689 |
Knockout js devextreme longpress to open action sheet | <p>Hi all I have written the following code to find the <code>longpress</code> which works fine when I am not binding any data and trying gives me the right result</p>
<pre><code><div data-options="dxView : { name: 'lngPress', title: 'lngPress' } ">
<div data-options="dxContent : { targetPlaceholder: 'content... | 3 | 1,109 |
Multiple Clients Broadcasting on Same UDP Socket in C | <p>I am implementing some sort of auction. 5 users are connected to the same port using a UDP socket on the same address (<code>INADDR_BROADCAST</code>) and same port (<code>udp_port</code>) assigned previously by <code>server.c</code>. Each of them has 10 seconds to offer a price. If 10s pass, the turn will be passed ... | 3 | 2,868 |
WebAuthn Relaying Party ID for various Setups | <p>I have an Angular 11 Project, which implements a WebAuthn registration. The backend is SpringBoot 2.4</p>
<p>WebAuthn Login should work in two parts of the project, the "main" and the "viewer"
The domain setup is rather complicated:</p>
<h3>Main Project</h3>
<p><em>Urls</em></p>
<ul>
<li>Local: h... | 3 | 1,191 |
Error on PHP Form with json decode after AJAX Request | <p>After much research and confusion I've decided to ask on here.</p>
<p>Basically, I can make my AJAX request post in every way except JSON. I'd like to learn it so I can just start from JSON instead of learning it down the road. </p>
<p>The <strong>PHP code</strong> below errors </p>
<blockquote>
<p>Undefined in... | 3 | 1,528 |
Py_call_impl error with Tensorflow and RMSprop | <p>I'm attempting to run a package (via R4.0.2 - SAVERX - <a href="https://github.com/jingshuw/SAVERX" rel="nofollow noreferrer">https://github.com/jingshuw/SAVERX</a>) which uses sctransfer as a basis (<a href="https://github.com/jingshuw/sctransfer" rel="nofollow noreferrer">https://github.com/jingshuw/sctransfer</a>... | 3 | 1,244 |
WSO2 VFS FTP Proxy does not read parameters | <p>I have written a proxy service and deployed on WSO2 ESB 5 to receive some file content via http and use vfs transport to transfer that content to an ftp server. The service works as expected when I specify the connection parameters correctly but when I specify something wrong on the connection string to simulate a ... | 3 | 2,549 |
JavaScript get a String from a specific charackter to a space | <p>i have a shoutbox and want to a username highlighting in the messages. The Shoutbox look like this:</p>
<pre><code><dl id="sbPosts">
<dt data-id="1780530" data-user="username">
<a href="user/username" class="user">username</a>
<time&... | 3 | 1,284 |
Error in formule in crystal report | <p>I get the following error in crystal reports:</p>
<blockquote>
<p>the remaining text does not to be part of the formule</p>
</blockquote>
<p>The error points to the last line from my formula: <code>zone;</code></p>
<p>What is wrong with the formula? Can it be done in an other way?</p>
<pre><code>stringVar zone... | 3 | 8,617 |
Problems with strtok() | <p>I have been wrestling with this for a while. I know it's a lot of code to look at, but I have no idea where the problem lies and can't seem to narrow it down. I will bounty it.</p>
<p>I wrote this class to parse bbcodes. It uses strtok() primarily, and the class works great unless you put two tags right next to eac... | 3 | 4,221 |
add two images and one Label in TabBar, SwiftUI | <p>I have to implement a custom tabbar. I have attached the UI of required TabBar.</p>
<p><a href="https://i.stack.imgur.com/UKBD8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UKBD8.png" alt="TabBar Image" /></a></p>
<p>I need to add two image inside the each TabBar Item. First one is above the te... | 3 | 2,184 |
How do you represent different versions of the same entity type (class) in the same UML class diagram? | <p>I’m trying to figure out how to model a situation with following properties:</p>
<ul>
<li>there is a set of entity types Ei...Ej and a set of relationship types between those entity types Ri...Rj in the domain;</li>
<li>one can distinguish at least two different versions of those entity and relationship types that a... | 3 | 1,175 |
How can i filter array on object in javascript | <p>I have an array named <code>files</code>:</p>
<pre><code> files = [
{
id: "1",
title: "aras",
price: 100,
size: 25,
tools: [
"Hammer",
"Zip",
"Line",
... | 3 | 1,077 |
Failed to find the class io.confluent.connect.gcs.GcsSinkConnector while starting kafka-gcs confluent connector | <p>I am using confluent connector for kafka and Google Cloud Storage(GCS). I installed confluent using:</p>
<p>(I am doing this on Ubuntu 16.04 and all these commands were executed in the home directory.)</p>
<pre><code>curl https://packages.confluent.io/archive/5.0/confluent-5.0.0-2.11.tar.gz | tar xz
</code></pre>
... | 3 | 1,698 |
Java Flat File database full of compiling errors | <p>There are plenty of problems as I am new, I can find spelling and such, but I can't seem to call some of the methods, and referencing some objects also doesn't seem to work. I know it's a lot of code, but this is one puzzle I can't seem to solve, and my grade depends on this. My teacher has no free to help as he is... | 3 | 1,457 |
Pointer Based Data Structures | <p>So my homework instructs me to read in a .WAV file and fill out the header and data according to their respective endians. I believe I have malloced enough memory for my header and data struct, but when I run the program, I end up with a Segmentation Fault 11. I can't seem to find where I went wrong. Any help would ... | 3 | 1,386 |
Laravel - SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value | <p>The following is the detailed error that I am getting. I am learning to make APIs with Laravel.</p>
<p>SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value: 'false' for column <code>upwork_task</code>.<code>products</code>.<code>show</code> at row 1 (SQL: insert into <code>pro ducts</code> (<code>c... | 3 | 1,076 |
Adding text to a list view from threads | <p>I am new to VB and I am trying to add text from a thread to a <code>listview</code> in my Form1.</p>
<p>I have tried implementing the <code>invokerequired</code> method but still the new text is not added to my <code>listview</code>. </p>
<p>(please see function <code>addlvDataItem</code>)</p>
<p>This what I call... | 3 | 1,168 |
Encoding error that only shows in the Interactive Window | <h2>Summary</h2>
<p>I am making a program in python, and I've finished it, ran it in shell and it worked perfectly. However when I run the program in the Interactive Window, it produces an error while in the idle window, it doesn't.</p>
<h2>Crash information</h2>
<p>Picture of the error before the window crashes:</p... | 3 | 2,958 |
Elasticsearch Curator | <p>I am using ElasticSearch Version 1.7.2. I want to take a snapshot with help of the curator. I followed a link get to know that it gives me an incremental snapshot but I didn't get any incremental snapshot of my index.</p>
<p>I have 1 index <code>test</code> having 50,000 docs. I have taken a snapshot of that index.... | 3 | 1,058 |
Keep an element scrolled to the bottom | <p>I am creating a "log" screen that updates periodically in React. To make sure that the latest addition is always in view I would like the element to always be scrolled to the bottom:</p>
<p><a href="https://i.stack.imgur.com/tMXHL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tMXHL.png... | 3 | 1,029 |
aio_write() and lio_listio() of POSIX AIO don't work correctly in write operation | <p>I'm setting up a asynchronized writer and want operation order on file be guaranteed by that. I use it as writer in another program which read a pcap file. Consider I have already tried to use both linux-aio and POSIX aio in my code seperately, to write pcap file on disk. I need to know are aio_write() and lio_listi... | 3 | 1,682 |
XPath Exclude nodes based on attributes of multiple other nodes | <p>I'm trying to write XPath against the XML below that will get me all nodes in the list with @id='ResponseActionList' for a specific @rsp_cd where the @act_cd does not exist in the list with @id='ActExcludeList'</p>
<pre><code><resp-env>
<cmd-resp>
<static>
<list id="ResponseAc... | 3 | 1,133 |
crud delete all rows | <p>I'm trying to delete all rows from my database using crud and this is my delete response page.
I tried the query delete * but that didn't work so I've manually typed it up like this. The values are coming up as unidentified indexes. Can anyone help, tell me what I'm doing wrong or give an easier method please?</p>
... | 3 | 1,872 |
Python : http.server.HTTPServer : How to close ALL opened files? | <p>So basically, I am making an HTTP webhooks server in Python 3 and wanted to add a restart function because shell access is very limited on the server it will be running on.</p>
<p>I found this snippet somewhere on Stack Overflow earlier:</p>
<pre><code>def restart_program():
"""Restarts the current program, wi... | 3 | 1,177 |
Getting a value back from a child component after it is routed in ReactJS | <p>I am new to react and currently I am stuck in a scenario where I have 2 components,</p>
<ol>
<li>Launcher Component</li>
<li>Developer component</li>
</ol>
<p>In this, Launcher Component is called first.From that on button click it routes to Developer component. I want to pass a value back from Developer component... | 3 | 1,400 |
Unusual Behavior observed while calling main() in any other function in c++ | <p>I made a simple program to test whether I am able to call main in any other function like we call different functions in other function.</p>
<p>Therefore, I made a program to generate the maximum number by getting input of 3 numbers from the user. For this I made the function containing if else. Surprisingly (espec... | 3 | 2,671 |
Chrome extensions (can't get and click elements on new chrome tabs) | <p>That's it. Lemme explaim myself.
I coded a chrome extension that when clicking on a button, it will open a new resized tab (a paypal login) , but I can't manage to click the "log in button" of paypal because trying to</p>
<pre><code>document.getElementById('btnLogin').click();
</code></pre>
<p>isn't workin... | 3 | 1,299 |
Testing Asynchronous Code (useEffect + fetch) In React Components | <p>I'm trying to figure out how to test components that update state using useEffect to make an API call to get data. There are several things I think are important to know before I can talk anymore, and that is the files/packages I'm using.</p>
<p>First, I have a main component called <code>App.tsx</code>, inside <cod... | 3 | 8,353 |
Tracking Control Structures in Java for Static Code Analysis (Available Expressions) | <p>I am writing a program in Java that does Available expression Analysis on a given Java Program. I have managed to extract Generate and Kill set. To keep it simple, I am going with a constraint that will only analyze programs that declare ONE VARIABLE IN ONE LINE (The regex expression works for it with declaration an... | 3 | 2,055 |
Terraform variable error : The given value is not valid | <p>I am trying to create a monitoring alert policy using terraform. But in the plan stage i am getting the below error on the variable. Has anyone faced a similar issue in the past ? I am new to terraform and i can trying to create a iterable resource for monitoring alert policy in gcp.</p>
<pre><code> Error: Invalid ... | 3 | 1,456 |
Shared Preferences doesn't work with Bottom Navigation Bar | <p>I have faced an issue on getting data from Shared Preferences. It works anywhere except for win_loss.dart.</p>
<p>Below is the page pulled up right after user signs in. win_loss is pulled up as a part of home_page.dart (default page of bottom navigation bar). Shared preferences data can't be pulled and assigned to u... | 3 | 5,733 |
Exception while rendering XpsDocument after conversion from FlowDocument | <p>I'm developing an application that heavily uses the conversion from a FlowDocument to a XpsDocument. From time to time an exception is thrown:
NotSupportedException: "The URI prefix is not recognized."</p>
<p>My scenario is very complex and I condensed it to a simple test. If you type in some characters in the text... | 3 | 1,511 |
Error 500 for basic REST service in Lift Scala MongoDB while createRecord | <p>The REST service object code is: </p>
<pre><code>object Account extends RestHelper {
def createUser = {
for {
username <- S.param("username") ?~ "username parameter missing" ~> 400
number <- S.param("number") ?~ "number parameter missing"
} yield {
val u = GeoFence.createRecord.... | 3 | 3,405 |
Writing to Docker Filesystem as non-root, non-privileged user | <p>I have a node/docker app that runs some scripts, and downloads a file to the docker fs, which is then sent to an FTP server. The file is saved to the filesystem in a folder that resides in the same directory (app/src) as the node scripts, allowing easy access for the scripts to then ftp the file. Currently, the scri... | 3 | 1,665 |
Images not loading while building my nuxt app locally | <p><strong>Issue:-</strong> Images was not loading while building my nuxt app it worked well when I deployed it to netlify and in my other machine image was load correctly but one JS file did not load and it is related to one package</p>
<p><strong>Structure</strong></p>
<ul>
<li>assets
<ul>
<li>Fonts</li>
<li>Images</... | 3 | 1,465 |
hibernate - foreign key constraints fails even after child records are deleted prior to the parent records | <p>I have Two beans AgeGroupDetails and organizationDetails. We have organizationDetails primary key as a foriegn key in the ageGroupDetails table. I am deleting the ageGroupDetails table recored based on organizationId and then deleting organizationDetails table record based on organizationId. I have checked the logs ... | 3 | 10,743 |
ConnectionException when running a Oozie workflow | <p>When trying to run a Oozie workflow with a Java action, I get the following error.</p>
<pre><code>JA006: Call From sandbox.hortonworks.com/10.0.2.15 to sandbox.hortonworks.com:10020 failed
on connection exception: java.net.ConnectException: Connection refused;
For more details see: http://wiki.apache.org/hadoop/C... | 3 | 1,059 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.