title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
ReferenceError: Can't find variable: Permissions and ReferenceError: Can't find variable: ImagePicker | <p>I ejected my react-native project and am testing it with android studio. However, I keep getting the error:</p>
<p>ReferenceError: Can't find variable: Permissions
ReferenceError: Can't find variable: ImagePicker</p>
<p>I have an upload button that lets the user take a picture with their camera and upload a pictur... | 1 | 4,619 |
Open Rear camera in QR Code Reader for Mobile Website | <p>Hi got following code from <a href="https://www.sitepoint.com/create-qr-code-reader-mobile-website/" rel="nofollow noreferrer">sitepoint</a>:</p>
<pre><code> <!DOCTYPE HTML>
<html>
<head>
<style>
body, input {font-size:14pt}
input, label {vertical-align:middle}
.qr... | 1 | 1,308 |
Google Map api V3, setPosition/setCenter is not working | <p>There are two places where i need to show google maps.
I'm using same code for both maps(I mean I'm reusing same code for both maps).
Below are links where you can find screen shots of those two maps.</p>
<p><a href="https://drive.google.com/file/d/0B2JnvvXsAALUdlVzemRVMzNMajF4OFB1V0JXc0RuN1p4eWFV/view" rel="nofoll... | 1 | 1,139 |
"No matching function for call to... unresolved overloaded function type" | <p>I am trying to create a library where the user can modify the behaviour of a function on an instance-level and still manage to access the members of this instance. This post is the continuation of <a href="https://stackoverflow.com/questions/24206909/template-and-class-heritance">this thread</a> which is the continu... | 1 | 2,836 |
FirebaseRemoteConfigClientException on production (Android) | <p><strong>What have I done so far...</strong></p>
<p>I am using <code>Tasks.await</code> <a href="https://developers.google.com/android/guides/tasks#blocking" rel="nofollow noreferrer">blocking</a> mechanism for firebase calls in worker threads for avoiding callbacks.</p>
<p>I am using a worker thread (JobIntentServic... | 1 | 1,806 |
Some cookies are misusing the recommended “sameSite“ attribute | <p>I'm building a react application that uses atmosphere library to listen to a <code>SpringBoot</code> <code>websocket</code>, when the client tries to connect to the server, it throws an error in the console saying <code>Some cookies are misusing the recommended “sameSite“ attribute</code>. I added some attributes to... | 1 | 2,525 |
Notice: Trying to get property of non-object | <p>I'm still following the login/register tutorial I have went over the videos a few times to see if maybe I made a typing mistake somewhere but I can't seem to find anything the error I'm getting is "Notice: Trying to get property of non-object" </p>
<p>I did look around it was suggested to try the below solution how... | 1 | 2,546 |
Jquery Mobile List Click | <p>I've created a mobile listview below with Jquery and it's rendering just fine. What I want some help with is when you click on a particular list element - right now I have it set that it goes onto a new page and it shows the resteraunt id. What I want to try and do is that the same information of the specific listvi... | 1 | 2,040 |
Face Detection OpenCV4Android doesn't work | <p><a href="http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/O4A_SDK.html" rel="nofollow">http://docs.opencv.org/doc/tutorials/introduction/android_binary_package/O4A_SDK.html</a></p>
<p>I used this tutorial exactly to install OpenCV on my Eclipse and Android, everything is working fine except:... | 1 | 1,296 |
Azure AD B2C logout after session timeout | <p><strong>Situation</strong></p>
<p>I have a web application that is using Azure AD B2C as its authentication. We're using OWIN OpenIdConnect to handle this process. The session timeouts are set to 15 minutes (sessionState in web.config and on our AzureADB2C signin policy) and we have SSO enabled in the policy on the... | 1 | 1,099 |
DOMPDF not downloading file when using AJAX | <p>I'm trying to work with the BarryVdh/DOMPDF code in my Laravel project.
I made a page with a print button, with</p>
<p><code><a href="/print-facturen" class="btn btn-default printbtn">Print</a></code></p>
<p>This is calling the controller function :</p>
<pre><code> public function printFacturen(Req... | 1 | 1,309 |
iam:PutRolePolicy User: xxx is not authorized to perform: iam:PutRolePolicy on resource: role yyy | <p>I have a cloudformation stack to create my codepipeline/codebuild resources etc. When I try to run it, I get:</p>
<blockquote>
<p>iam:PutRolePolicy User: arn:aws:sts::0000000000:assumed-role/aaaaaaaaaa/AWSCloudFormation is not authorized to perform: iam:PutRolePolicy on resource: role bbbbbbbbbb</p>
</blockquote>... | 1 | 6,167 |
How to format output from php form to html email | <p>Firstly I am not a programmer - so I am trying to adapt things to what I need. I have been working for some weeks on a html form that produces a unique code and emails the data to me and the form owner. </p>
<p>I have managed to get all this to work and build it into my website. </p>
<p>However the last vestige ... | 1 | 2,319 |
Instruments memory leak iphone | <p>I posted this problem a few days ago but it was very muddled and my question wasnt very clear so I removed it. I've been digging around and the memory leak is still persiting. Hopefully this attempt will be clearer.</p>
<p>First off I've run the static analyzer and it reports no memory leaks.</p>
<p>I then ran Ins... | 1 | 2,267 |
Unable to load java script files in Jetty webapplication | <p>I have a very simple webapp where I am trying to plot graphs using <a href="http://www.flotcharts.org/" rel="nofollow">flot</a> javascript library. My JSP file goes this way where I am importing the required *.js files as follows. </p>
<p>Relative to the hello.jsp file at WEB-INF/pages/hello.jsp, scripts directory ... | 1 | 11,056 |
Bootstrap Typeahead w Laravel Uncaught TypeError: Cannot read property 'length' of undefined | <p>I am trying to use autocomplete in tags field of my form using Bootstrap Typeahead. When I type a letter now I have an error telling me in chrome developer tools : </p>
<pre><code>Uncaught TypeError: Cannot read property 'length' of undefined
</code></pre>
<p>My form is shortly :</p>
<pre><code> <form cla... | 1 | 1,246 |
Matplotlib - unable to save image in same resolution as original image | <p>I am unable to save the image without the white borders and at the initial resolution (<code>1037x627</code>)</p>
<pre><code>import numpy as np
import matplotlib.pyplot as plt
from matplotlib import pyplot, lines
import matplotlib.image as mpimg
from matplotlib.patches import Ellipse
x=[0,0,0,0,0]
y=[0,0,0,0,0]
a=1... | 1 | 1,071 |
Passing Data to view controllers that are embedded in container views | <p>I have view controllers that just need to get passed a NSDictionary called "otherUser". I am using a segmented controller to conveniently present 4 of these views to a user using container views. I know all of these views will be loaded at the same time and will stay loaded, which is what I want even though the toll... | 1 | 1,542 |
Debugging python in docker container using debugpy and vs code results in timeout/connection refused | <p>I'm trying to setup native debugging for a python script running in docker for Visual Studio Code using debugpy. Ideally I'd like to just F5 and be on my way (including a build phase if needed). Currently I'm bouncing between a timeout caused from <code>debugpy.listen(5678)</code> inlined within the VS code editor... | 1 | 1,405 |
Python YAML dump special character and multiple lines | <p>I have a <code>my_yaml.yml</code> file with the following content:</p>
<pre><code>my_yaml:
person: >
John|Doe|48,
Jack|Black|39
skills:
- name: superhero
abilities:
- swim
- run
special_chars:
- '! | " "'
- '+ | " "'
- '\ | " "'
- 'Á | "A"'
- 'É | "E"'
... | 1 | 1,340 |
hibernate criteria projection get columns of join tables | <p>I have this entities:</p>
<pre><code>public class User
{
private Integer idUser;
private String user;
private String password;
private Perfil perfil;
Id
@GeneratedValue(strategy = IDENTITY)
@Column(name = "idUser", unique = true, nullable = false)
public Integer getIdUser()
{
... | 1 | 1,211 |
Disabling Model Binding for Post Requests | <p>I am trying to implement the file streaming example from <a href="https://docs.microsoft.com/en-us/aspnet/core/mvc/models/file-uploads" rel="noreferrer">https://docs.microsoft.com/en-us/aspnet/core/mvc/models/file-uploads</a></p>
<p>As part of that, I have implemented the filter:</p>
<pre><code>[AttributeUsage(Att... | 1 | 1,440 |
Virtualenv: Command not found | <p>I'm having problems trying to create my virtualenv folders' since my terminal says that virtualenv seems not to be installed. </p>
<p>What did I do:</p>
<pre><code>sudo pip install virtualenv
</code></pre>
<p>with this response:</p>
<pre><code>The directory '/Users/ricardogonzales/Library/Caches/pip/http' or its... | 1 | 1,116 |
Deleting a row with a foreign key constraint with a Before Delete TRIGGER in MySql | <p>I have a table called 'estoque' with a foreign key that references another table called 'produto'. Then I've populated both tables with a few rows.</p>
<p>Here are my tables:</p>
<pre><code> CREATE TABLE `produto` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`NOME` varchar(45) NOT NULL,
`PRECO` flo... | 1 | 1,269 |
Recyclerview not populating with data after orientation change | <p>I have a recyclerview having different layouts for portrait and landscape. When the activity starts, the recyclerview populates with data irrespective of the orientation. But if the orientation is changed then no data is shown. And no data is shown on consequent orientation changes. </p>
<pre><code> public View onC... | 1 | 2,971 |
Makefile issue - No rule to make target 'gcc' | <p>I have just started learning make and I am having some trouble. I want to create an executable called sortfile. Here are the relevant files: <code>sortfile.c fileio.c fileio.h</code></p>
<p>Both <code>sortfile.c</code> and <code>fileio.c</code> use <code>fileio.h</code>.</p>
<p>Here is my makefile:</p>
<pre><code... | 1 | 2,911 |
UITableView reload - Xcode 5 | <p>I'm using an UITableView (with a Table Cell) that's embedded in a navigation controller. When the app starts, data from the SQLite3 database is read and added in the table cells.</p>
<p>I've made a button (on the navigation bar) that will direct the user to a screen where he can input new data. The 'save' happens w... | 1 | 2,634 |
React-native flex - View element does not display | <p>I am learning RN and am practising layouts with flex. In the code below the View element with text LOGO appears in the 'footer' but does not render in 'header'.</p>
<pre><code>/**
* Sample React Native App
* https://github.com/facebook/react-native
* @flow
*/
import React, { Component } from 'react';
import {
... | 1 | 1,140 |
How to stop the leading 0's from being stripped off when exporting to excel from a datatable? | <p>I am running into the same problem as in this question:</p>
<p><a href="https://stackoverflow.com/questions/22879/how-do-you-prevent-leading-zeros-from-being-stripped-when-importing-an-excel-doc">How do you prevent leading zeros from being stripped when importing an excel doc using c#</a></p>
<p>But I am not sure ... | 1 | 1,991 |
Saving the selected rows by checkbox to database in php | <p>I have a query to display all the records of the ebooks table from the database. </p>
<p>I displayed it in a table with a checkbox from the first column. </p>
<p>I'm trying to save the rows from the selected checkbox in the table width the Name of School but I don't have any idea. </p>
<p>I'm just a beginner in p... | 1 | 1,183 |
VSCode - Remote SSH - Git Pull/Sync Not working - It hangs without errors - SSH Key has no passphrase | <p>VSCODE SSH Extension GIT Pull/Sync doesn't work, it hangs.</p>
<pre><code>1.Install SSH-Extension
2. Connect to SSH Host -
3. Open existing git Repo from remote server which is cloned from our internal git server with ssh URL using RSA Key pair without passphrase
4. run git sync from git menu or git pull from a ... | 1 | 2,356 |
Inserting Large CSV's into MongoDB with Node.js and async.queue | <p>I am trying to upload and insert large csv files (100K's of rows; 10-100M+) into mongo.</p>
<p>The code below is the route I use to accept input from a form and insert the record first into a meta-data collection for all my csv's and then insert the records of the csv into it's own collection. It works for smaller ... | 1 | 2,321 |
How to create listener for send and receive file using SMACK in android? | <p>I want to implement a file transfer functionality in my chat application which I have developed in Android using SMACK and Openfire.But I got an error in sending and receiving a file.So can anybody help me to solve this problem.Thanks In advance.</p>
<p>Here following is a code for receiving a file.</p>
<pre><cod... | 1 | 1,908 |
App crashes when select Release mode but in debug mode works perfectly | <p>I want to reduce size of my application therefore I am using <code>minifyEnabled true</code> in release mode but due to this application crashes. Following is my </p>
<blockquote>
<p>build.gradle</p>
</blockquote>
<pre><code> buildscript {
repositories {
mavenCentral()
}
dependencies {
... | 1 | 4,200 |
Horizontal DISTINCT COUNT in SQL Server or a COUNT IF without counting duplicates | <p>I have over simplified the examples that follow, however please know that I really do need the results as I describe.</p>
<p>I have a table that contains information about customers including how they were referred.
For example <code>MyTable</code> (EDIT: My over simplification resulted in answers that would not wo... | 1 | 1,211 |
remove default decorator label from the Zend_Form_Element_Radio | <p>in my zend form after creating a radio button there is label wrapping radio button </p>
<pre><code><label for="type-per"><input type="radio" class="radio" value="per" id="type-per" name="type">Percentage</label>
</code></pre>
<p>the problem i having is , when i click the wrapping label , not on t... | 1 | 1,119 |
Class not found when using zxing | <p>So i'm developing an app that can scan QR codes. I downloaded the ZXing library, built it using apache ant to get the core.jar, put it in my project folder and added it as a jar to the build path. No when i try do the following:</p>
<pre><code>Intent intent = new Intent("com.google.zxing.client.android.SCAN");
in... | 1 | 1,923 |
Center an email sent to Gmail client | <p>First and foremost, please excuse my english and my html, i'm neither english nor developer. I'm trying to build an HTML mail for my client who desire to send it via Copy/paste in their Gmail client.
I've downloaded a template from mailchimp and customized it. The HTML looks like that :</p>
<pre><code><!DOCTYPE ... | 1 | 2,593 |
Web service exception: " An exception or error occurred in the container during the request processing java.lang.Exception: Host is not set" | <p>I have a web method which gets some name and returns its required input type(BOM, AML, BOM and AML or any other name) by reading a class file(maven plugin file). While trying to do this, i am getting below exception.</p>
<pre><code>[2017-08-02T17:14:33.902+0800] [Payara 4.1] [SEVERE] [AS-WEB-CORE-00037] [javax.ente... | 1 | 1,045 |
columns inside bootstrap dropdown menu | <p>I'm attempting to turn the standard drop-down navbar menu from get bootstrap into a mega-menu. The menus will have different column amounts(5,5,4,4,3). Each column is a menu list. I tried just two ul lists with col-md-3, but its not working correctly, its making two distinct menus.</p>
<p>codepen: <a href="http://c... | 1 | 1,199 |
Can't add new model and update database in mvc 5 project? | <p>I'm having an issue with the current project I'm working on. It works fine and runs without error with it's current classes and functionality. My issue is that I can't seem to add another model, it's corresponding controller and views and get it to actually work.</p>
<p>Usually I would simply add a new model class ... | 1 | 1,774 |
Flex ant task problem | <p>When I try to build a project that uses Flex and where the Flex SDK is on one drive and the project files on another I get the following error in ant:</p>
<pre><code>[mxmlc] java.lang.NoClassDefFoundError: flex2/tools/Compiler
[mxmlc] Exception in thread "main"
</code></pre>
<p>It seems to be a problem with the Fl... | 1 | 2,158 |
Loading Base64 Encoded Image String into JLabel | <p>I got the converter working here</p>
<pre>
public class ImageProcessor {
public static void Base64TImage(String base64) {
try {
byte[] btDataFile = new sun.misc.BASE64Decoder().decodeBuffer(base64);
File of = new File("yourFile.png");
FileOutputStream osf ... | 1 | 5,253 |
Swift sending data from child view to parent view controller | <p>I am developing an app where I have a view controller and subview. On the subview I am loading Google maps and on the main view I have a label.</p>
<p>My question is how can I pass data from the subview (map geo location) to the label on the main view and have this updated as the location is updated using Swift.</p... | 1 | 1,104 |
WPF Image Cropping | <p>I have a problem with image cropping. When I try to crop image with rectangle the cropping area is set to some strange value.
Here is xaml code:</p>
<pre><code> <Grid Name="GridImage">
<Image Name="LoadedImage" SnapsToDevicePixels="True" RenderOptions.BitmapScalingMode="HighQuality">
&... | 1 | 1,049 |
How to create symlinks in windows using Python? | <p>I am trying to create <code>symlinks</code> using Python on Windows 8. I found <a href="https://stackoverflow.com/questions/1447575/symlinks-on-windows">This Post</a> and this is part of my script.</p>
<pre><code>import os
link_dst = unicode(os.path.join(style_path, album_path))
link_src = unicode(album_path)
kdll... | 1 | 1,138 |
How can I convert a .p12 to a .pem containing an unencrypted PKCS#1 private key block? | <p>I have a <code>Certificates.p12</code> file that I wish to convert to a <code>certificates.pem</code> containing an unencrypted private key in PKCS#1 format. I have previously been able to do this by running:</p>
<pre><code>openssl pkcs12 -in Certificates.p12 -out certificates.pem -nodes -clcerts
</code></pre>
<p>Th... | 1 | 1,127 |
Unable to start receiver java.lang.NullPointerException | <p>Trying to make a widget that will pick a random audio out of 3 and play with a widget. Getiing a error "Unable to start receiver" any help would be great!</p>
<p>Line 40 = mp=MediaPlayer.create(context.getApplicationContext(), mfile[rnd.nextInt(NUM_SOUND_FILES)]);</p>
<p>Code:</p>
<pre><code>public class MyWidget... | 1 | 1,460 |
Draw a User Defined Rectangle | <p>My current code allows me to draw rectangles from a user defined spot but not in the way in whihc i desire. I need it to be like you would do it in paint, here is my current code:</p>
<p>namespace SimpleDraw2
{
///
/// Description of MainForm.
///
public partial class MainForm : Form
{
... | 1 | 1,936 |
Update Progress on processing after fileupload | <p>I have a webform with two upload controls and a number of textfields.
When the button is pressed the files get uploaded and then get processed.
The upload takes no time, but the processing does.
I know I can't have an upload control in an update panel, so I can't work out how to use the update progress control to s... | 1 | 1,494 |
Pulse Width Modulation using VHDL | <p>I'm trying to create a PWM generator using a 100khz clock and PWM ranging from .6ms to 2.4 ms but I'm stuck implementing this into vhdl I've been trying to use a state machine to do this but it has become more complicated than it should.</p>
<pre><code>library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
-- Uncomment the fo... | 1 | 3,239 |
Android Emulator Render Issue - After macOS Big Sur Update | <p><strong>After the macOS Big Sur, <code>11.0.1</code> update, the Android emulator began to display image rendering issues.</strong></p>
<h1>Issue</h1>
<p>The emulator display window is repeating the device image. An <a href="https://issuetracker.google.com/issues/173282117" rel="noreferrer"><em>issue</em></a> has be... | 1 | 1,516 |
Trying to send a nested JSON through a HTTP 'POST' request in Javascript | <p>I'm trying to send an array of json objects to a local server by an HTTP 'POST' request. I've been using an npm module found here: <a href="https://www.npmjs.com/package/request" rel="nofollow noreferrer">https://www.npmjs.com/package/request</a> to do the request. I've done this before and for the most part my code... | 1 | 1,062 |
Why an "Invoking rollback for transaction" on a @Transactional annotation | <p>I am confused with some exception handling within a transaction REST controller.</p>
<p>I have an admin service that looks like:</p>
<pre><code>@Override
public SearchedAdminsEvent search(SearchAdminsEvent searchAdminsEvent) {
Page<Admin> admins = adminRepository.search(searchAdminsEvent.getSearchTerm(),... | 1 | 8,672 |
Textbox value not getting cleared | <p>In the below code TextBox value is not getting cleared after clicking on Button.</p>
<p>Default.aspx</p>
<pre><code><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="serv... | 1 | 1,141 |
Group rows of data by the leading characters of a column value | <p>I have an array as shown below, what I wanted to do is create multiple subarrays based on the date substring of the <code>timestamp</code> column like (<code>2011-02-04</code>):</p>
<pre><code>Array
(
[0] => Array
(
[avgvalue] => 0
[maxvalue] => 0
[minvalue] =... | 1 | 2,339 |
Have I used Singleton with Realm Database correct? | <p>I have an app where the user can create/delete/edit to a list from a DialogFragment. Before I had a method like this in my DialogFragments: <code>MainActivtity.adapter.add(String name, String location, double price);</code></p>
<p><code>adapter</code> is my adapter object for the recyclerView. The class for the ada... | 1 | 1,125 |
How to parse JSON using DOJO AJAX and REST | <p>I am trying to send a request to a REST server using DOJO AJAX, however I get a null object as result (console):</p>
<p>You CLICKED = click clientX=34, clientY=13
JSON loaded from server: null</p>
<p>Here is my code:</p>
<pre><code>// JavaScript Document
// load requirements for declarative widgets in page conte... | 1 | 1,288 |
c# Drawing with gdi32.dll vs System.Drawing.Graphics | <p>So I have some code that creates a highlight effect on top of a picture box with gdi32.dll and I am wondering if there is a simpler way to do it with <code>System.Drawing.Graphics</code>? Basically with the gdi32.dll, I have to capture a screen shot after drawing, post that to my picturebox and then I am able to dra... | 1 | 2,482 |
Android MediaPlayer Streaming Error: 100: MEDIA_ERROR_SERVER_DIED | <p>I've developed an app which takes an advantage of the native Android's MediaPlayer. The source code of my class making use of Media Player is below.</p>
<p>The problem is that only on some devices after some miliseconds of playback (I hear only voice, the screen remains black) I keep getting <code>error(100,0)</code... | 1 | 1,389 |
How returns XxxSize from JComponent(s) added to the JLabel | <p>how can I correctly returns XxxSize from JComponent(s) added to the JLabel</p>
<p>1st. figure >> <code>lets LayoutManager works like as for JPanel, JLabel returns Size(0, 0)</code> </p>
<p><img src="https://i.stack.imgur.com/HVySy.jpg" alt="enter image description here"></p>
<p>2nd. figure >> <code>added some Pre... | 1 | 1,907 |
Swift NSURLSession NSURLRequest Cookies are not accepted | <p>I'm new to swift and OS X programming. For my first steps I wanted to create a command line tool which logs me into the webinterface of my mobile carrier, and then shows the amount of my data left. I began to write a wrapper around NSURLSession to make things easier for me.</p>
<p>Problem: My program won't accept c... | 1 | 1,199 |
XmlReader and MemoryStream, the returned xml misses tags | <p>Could someone explain this behaviour to me?</p>
<p>If you execute the snippet at the bottom of the post with the first string, it returns the exact same string as the one used for the input; that's what I expected.</p>
<p>input 1: </p>
<pre><code><?xml version='1.0' encoding='UTF-8'?>
<Company>
<... | 1 | 2,089 |
Symfony2, form multi steps with CraueFormFlowBundle | <p>I'm trying to build a multi-steps form with <a href="https://github.com/craue/CraueFormFlowBundle" rel="nofollow">CraueFormFlowBundle</a>. For the moment, I can go to the first step (users information), but I have an error when I click on the "NEXT" button.</p>
<p>My first step is a form data type based on my User ... | 1 | 1,596 |
Symfony Form Submit not Working | <p>I've recently decided to take the plunge and learn Symfony as before I was learning flat PHP.</p>
<p>I've been following various tutorials about how to add data to a database via a form in Symfony 3. I have a MySQL table called CRM_PERSON and I'm trying to submit a person's details (a person is known as a "lead" i... | 1 | 1,769 |
Java Mail get mails with pop3 from exchange server => Exception in thread "main" javax.mail.MessagingException | <p>Following code to get mails from an exchange email account:</p>
<pre><code>public class TicketMain {
/**
* @param args
*/
public static void main(String[] args) throws Exception {
final Properties props = new Properties();
//XTrustProvider.install();
// System.setProperty... | 1 | 3,243 |
set column value based on distinct values in another column | <p>I am trying to do something very similar to this question: <a href="https://stackoverflow.com/questions/4908245/mysql-updateing-row-based-on-other-rows">mysql - UPDATEing row based on other rows</a></p>
<p>I have a table, called modset, of the following form:</p>
<pre><code>member year y1 y2 y3 y1y2... | 1 | 1,596 |
SMS connecting to a phone from C# and getting a response | <p>I wrote code to send an SMS using my GSM phone which is attached to the computer through COM port. The code is below.</p>
<p>The problem is I do see that it is in the outbox of the phone and it actually appears to have been sent, but when I contact the recipient they say that I have not received the message.</p>
<... | 1 | 2,911 |
Forwarding error with Spring Cloud Zuul | <p>I'm using Eureka as a registry server where Zuul is being registered registered additionally to my application module cmpnyhbaseserialser.</p>
<p>However, when I make a POST request I get the following error:</p>
<pre><code>Forwarding error
com.netflix.zuul.exception.ZuulException: Forwarding error
at org.... | 1 | 9,619 |
How to place one element exactly to the same visible position, as another? | <p>I have two elements "src" and "dest"</p>
<p>"src" and "dest" are in different DOM-nodes, that can not have the same parent.</p>
<p>I need to place "src" element in the same visible position, as "dest".</p>
<p>"src" element must also have the same sizes, as "dest".</p>
<p>I have following code for case, when "src... | 1 | 2,327 |
JOOMLA: Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects | <p>I am using Joomla 2.5.6 and after an upgrade from previous version now i get only this error:</p>
<p>Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.</p>
<p>I have tried to change the .httaccess configuration but it's not working.</p>
<p>htaccess code:</p>
<pre><code>##
# @package Joo... | 1 | 1,143 |
Illegal_argument_exception when importing Twitter into Elasticsearch | <p>I am new to Elasticsearch and am attempting to do some data analysis of Twitter data by importing it into Elasticsearch and running Kibana on it. I'm getting stuck when importing Twitter data into Elasticsearch. Any help is appreciated!</p>
<p>Here's a sample working program that produces the error.</p>
<pre><code... | 1 | 12,264 |
I'm stuck with json.marshal in go | <p>I'm complete newbie in go, started few days ago. I want to connect to mongodb, search, create a service and use it for angular. I've done almost everything but I have problem with json.marshal(). Can someone tell me what am I doing wrong, or is there a better way? thx :)</p>
<p>The error is
"./main.go:96: multiple... | 1 | 1,209 |
android - setting presentation time of mediacodec | <p>I used bellow code to encode raw data to h264 in order to create video and it's encoded very well but video is playing too fast. It seems that there is a problem with presentation time. when record starts I set the value of "tstart" and for each frame calculate difference of current time from tstart and pass it to t... | 1 | 1,316 |
$el.append not working in backbone.js | <pre><code> console.log('Loaded inedx.js-->');
console.log(jQuery);
(function($){
console.log('In immediate block');
//Create new tweet view
var Tweet = Backbone.Model.extend({
defaults: function(){
return {
name : 'defaultName',
status : 'default status'
}
... | 1 | 1,080 |
Getting error "Typed property must not be accessed before initialization" - Laravel Livewire | <h3>Description</h3>
<p>I am type hinting model properties and trying to delete the invitation data. Below is the error which its throwing me back. Please help me with it, as I am unable to spot what is it that I'm missing.</p>
<blockquote>
<p>Typed property App\Http\Livewire\Backend\UserManagement\FormComponent\Invita... | 1 | 1,940 |
Angular 2 (CLI) Routing don't work (Cannot read property 'split' of undefined) | <p>Why routing works only for first imported component after AppComponent (example code below: routing works only for "PageNonFound")? Also, I noticed error after adding routing to my project</p>
<p>Error</p>
<pre><code>Error in ./AppComponent class AppComponent -
inline template:13:42 caused by:
Cannot read proper... | 1 | 1,186 |
Split a String into fixed length parts in SQL Server 2008 | <p>I am working with Split string method, I have done with splitting a string into fixed length chunks, but the issue is, it breaks the word , I want to keep intact the word and on the base of "SPACE" character ,Split down.</p>
<p>Below I am attaching the Function with test result as well.
Kindly guide or instruct me ... | 1 | 2,720 |
Android AccessibilityService does not connect | <p>I'm trying to extend AccessibiltyService to intercept Notification Events.
My problem is that my class is created by it never connects to the service.</p>
<p><strong>This is how my app works:</strong></p>
<ul>
<li>There is a service (StatisticsService) that manages the collection of
several statistics and which ne... | 1 | 1,741 |
SwiftUI NavigationView extra space at bottom of screen | <p>I am new to Swift and I'm trying to create a simple screen with the NavigationView in SwiftUI. For some reason it is adding extra space at the bottom when I wrap anything inside of the NavigationView. I wanted to see if anyone else is running into this issue.</p>
<p>Here is my HomeView:</p>
<pre><code>struct HomeV... | 1 | 1,589 |
Parse JSON into a ListView friendly output | <p>So I have this JSON, which then my activity retrieves to a string:</p>
<pre><code> {"popular":
{"authors_last_month": [
{
"url":"http://activeden.net/user/OXYLUS",
"item":"OXYLUS",
"sales":"1148",
"image":"http://s3.envato.com/files/15599.jpg"
... | 1 | 1,573 |
Rails 4 - Bootstrap modal form - setup | <p>I'm trying to follow <a href="https://coderwall.com/p/ej0mhg/open-a-rails-form-with-twitter-bootstrap-modals" rel="nofollow">this</a> tutorial to setup a modal containing a nested form in my Rails 4 app.</p>
<p>I have models for Project and Invite. The associations are:</p>
<pre><code>Project has_many :invites
Inv... | 1 | 1,134 |
D3js : mouseover of one element change opacity of several others elements | <p>Thanks to previous answers, I've made <a href="http://raphi.m0le.net/data/BAS/App_d3_strasrk/carte_ip.html" rel="nofollow noreferrer">a map and a related graph with D3js</a>.</p>
<p>The bar and the map are in specific divs, and I don't use the same data source. That's a part of my problem. </p>
<p>For the map, I u... | 1 | 1,576 |
Debug GO with Delve on my Mac: "combining dwarf failed: Unknown load command 0x32" | <p>The IDE is Visual Studio Code. Here is the log when I switching on the debugger:</p>
<pre><code># _/Users/leon/Documents/Projects/GoLang/TutorialLearningGoForWebDevelopment
/usr/local/go/pkg/tool/darwin_amd64/link: /usr/local/go/pkg/tool/darwin_amd64/link: combining dwarf failed: Unknown load command 0x32 (50)
exit... | 1 | 2,535 |
SceneKit - Stop continuously looping Collada animation | <p>I am using SceneKit to load a Collada (.dae) file. </p>
<p>Whatever I have tried, the animation repeats in a continuous loop whereas I only want it play once and then stop. </p>
<p>Here's the loading code where sceneView is my SCNView:</p>
<pre><code> //Load the scene and play
let scene = SCNScene(named: "... | 1 | 1,908 |
Checkbox / radio is checked="checked" in HTML but it looks like unchecked | <p>I'm trying to ensure that user can only select one checkbox, but it looks like nothing is checked. What am I doing wrong?</p>
<pre><code><div class="formField rsform-block rsform-block-typprofilu">
<br>
<input name="form[typprofilu][]" type="checkbox" value="Montreal (Oceľ)" id="typprofilu0" ... | 1 | 1,564 |
Failed to execute goal on project on the maven | <p>I Create jboss-javaee-webapp-ear-blank-archtype project And with version 7.1.3.Final , and after create that in Eclipse Kepler, i do maven clean & maven install and After Install take error under:</p>
<hr>
<pre><code>[***@localhost ear]$ mvn -X clean install
Apache Maven 3.2.2 (45f7c06d68e745d05611f7fd14efb659... | 1 | 5,501 |
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed in Python3? | <p>I am hitting this error when tried to run <code>pip install lxm</code> in <strong>Windows 10</strong>. Any prerequisites for <code>lxml</code>?</p>
<pre><code>C:\Python37-32\Scripts>pip install lxml
Collecting lxml
Using cached https://files.pythonhosted.org/packages/54/a6/43be8cf1cc23e3fa208cab04ba2f9c3b7af02... | 1 | 4,524 |
nmake - illegal character '{' in macro | <ol>
<li>Hello everyone!</li>
<li>I'm trying to compile some external libraries as a prerequisite for compiling source of MESHLAB (a tool for 3d mesh processing).</li>
<li><p>First I use the "qmake" command to generate the Makefile from my project file (external.pro). After that when I run nmake on the generated Makefi... | 1 | 10,837 |
call a component from another component in vue.js | <p>I have an alert component like in this video: <a href="https://laracasts.com/series/learning-vue-step-by-step/episodes/21" rel="nofollow">https://laracasts.com/series/learning-vue-step-by-step/episodes/21</a> And I have another component (Book). When a book was created how can I call Alert component in the success c... | 1 | 1,422 |
PHP mkdir failing without errors | <p>I've am trying to set up a small file sharing server on my home's local network and am running into some big problems with the uploader. the step it seems to be failing on is the directory creation step however, when I first posted this there were no errors in the Apache log files however, that turned out to be the ... | 1 | 1,534 |
iOS reload UITableView using UISegmentedControl | <p>Hi I'm trying to reload my table view based off of two different arrays. Which array should be loaded is determined by a segment control in the navigation bar. Currently it only will load the first array and nothing happens when the segment control is pressed. Below is my code any help as to why this isn't working i... | 1 | 1,344 |
Trouble using Google sign-in button in the emulator | <p>When I click the Google sign-in button, it shows the following dialog.</p>
<p><img src="https://i.stack.imgur.com/eKE4K.jpg" alt="Enter image description here"></p>
<p>I click on Update and nothing happens, but my logcat gives the following output.</p>
<pre><code>01-24 07:38:48.121: W/GooglePlayServicesUtil(1305)... | 1 | 2,194 |
Weblogic servers SSL issue on HTTPS | <p>I'm using weblogic 10.3.6 and I've deployed application A and B into the same box but different server instance.</p>
<p>Both servers are choosing 'Client Certs Not Requested' for the two way client cert behavior in SSL configurations.</p>
<p>Everytime we restart the servers, it was working fine on the same day. Ho... | 1 | 1,824 |
Open html5 <video> tag content (including video!) in new window | <p>I am interested in opening a video in a new window/tab using the tag, as I'm having intermittent issues with IE not being able to open linked .mp4 files. I have tried to cobble something in javascript together from other answers with my very flawed understanding, but I just can't make it work. Basically, I have vid... | 1 | 1,060 |
org.apache.jasper.JasperException: Unable to compile class for JSP and java.io.FileNotFoundException: programs_jsp.java (Permission denied) | <p>I am moving an application with JSP pages from Weblogic server to Tomcat and while doing it facing the following error. I created a war file to deploy on tomcat and placed the same in webapps folder of the tomcat and ran the <code>bin/startup.sh</code> script to deploy the war file on tomcat server. However when I l... | 1 | 1,051 |
Remove image background in node | <p>I am working on the project where I am capturing user's face from and putting it on the existing model.
To combine face and model image I am using gm library from node; and for face detection I am using opencv. I am able to do both detect face and put it on the model.
But the issue is my model is having transpare... | 1 | 1,117 |
Appcelerator studio fails to Launch my Android App | <p>I am new to Appcelerator, I have recently installed Appcelerator Studio on my Windows 7 64 bit machine. I have Android SDKs - 5.1.1 and 5.1.0. I have also changed the android version from 22.0.0 (default) to 21.0.0 using the "appc ti config" command as it was showing a warning with default android version.</p>
<p>I... | 1 | 4,700 |
How can python subprocess.Popen see select.poll and then later not? (select 'module' object has no attribute 'poll') | <p>I'm using the (awesome) <a href="http://packages.python.org/mrjob/" rel="noreferrer">mrjob</a> library from Yelp to run my python programs in Amazon's Elastic Map Reduce. It depends on subprocess in the standard python library. From my mac running python2.7.2, everything works as expected</p>
<p>However, when I s... | 1 | 1,041 |
Deleting an item from a collection in f, using React Redux | <p>I'm trying to delete an item from a collection in Firestore by referencing the id of the selected item. I'm successfully passing on the id by mapDispatchToProps until the action but stops short when trying to delete in Firestore by the delete(). I think the problem may be in the my method to delete in firestore as i... | 1 | 1,060 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.