title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
Facebook information not populating Parse database | <p>when users log-in through facebook in my app, I query for their picture and their name and use that info to populate Core Data and my Parse.com backend. However, it's not working. Here's the code that does everything: </p>
<pre><code>#pragma mark - ()
- (IBAction)authButtonAction:(id)sender {
AppDelegate *appD... | 3 | 2,374 |
Vue setTimeout filter issue | <p>I'm trying to implement notification system in Vue,
I have Notifications component, where I store error messages to show.</p>
<pre><code> data(){
return {
alerts: {
error: []
}
}
}
</code></pre>
<p>On an event in root component, I push msg in error arr... | 3 | 1,148 |
How to reduce aggregration time mongo db | <p>I have written this query to aggregate data</p>
<pre><code>db.attendancesCollection.aggregate([
{
'$match': {
'Date': { "$gte": start_date, "$lte": end_date },
'Location': found_location["locationName"],
'locationId': { '$exists': True },
'wo... | 3 | 1,355 |
How to filter data using dropdown list in mvc | <p>My site already have the search,sorting function. I wanted to add a filter function also but am facing a problem which is the dropdown list at the view page will not return a value to the controller that will filter out the data but somehow it won't and I didn't want to hard code the dropdown list if that is possib... | 3 | 2,898 |
jquery mobile dynamically extended listview doesn't work | <p>I've got a menu as listview in JQM. On every page it hould be normal, only on one of the it gets extended by 2 items. Now, I've been searching through Internet and nothing works. Things I've tried:</p>
<pre><code>-location.reload()
-trigger('create')
-$("#menuList").listview().listview('refresh');
-$("#menuList").c... | 3 | 1,103 |
My text is going to the left when it exceeds the image height | <p>Im having a problem with my css, when my paragraph is long, I want that my text continues aligned with my test that are alongside the image.</p>
<p>But Im not having this, Im having my text to go left when it exceeds the image height, as you see in my image.</p>
<p>And also, I'm having a blank space, marked by the... | 3 | 1,082 |
Exporting UFT 12 results into html throws the error “A reference to variable or parameter 'IDS_BC' cannot be resolved.” | <p>We have recently upgraded from QTP 11 to UFT 12. The vbscript I used for QTP 11 worked great, but it is not running with UFT 12. It says </p>
<blockquote>
<p>"A reference to variable or parameter 'IDS_BC' cannot be resolved.” </p>
</blockquote>
<p>It says it might be undefined or out of scope. IDS_BC appears ... | 3 | 1,229 |
JS Form Validation Fails, Yet Form Still Submits? | <p>It's pretty much as the question suggests, I have a HTML form with JS validation. Now, I'm still debugging fine details with the validation, but the problem is that the onSubmit function fires the errors when they should be, but the form continues to submit - I have no idea why. I've check the million and one simila... | 3 | 5,291 |
Dynamically filled Drop Down List loses contents on postback | <p>I have spent the last two hours reading every possible combination of solutions for this problem, and I still don't have it working. So obviously I'm missing something. If have a Drop Down List that I populate with a database call. When the selected index on the list changes, I post back and populate a list box with... | 3 | 2,301 |
C++ string returning a space when accessing a valid index containing a P | <p>I have the following assignment:</p>
<blockquote>
<p>The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)</p>
<pre><code>P A H N
A P L S I I G
Y I R
</code></pre>
<p>And then rea... | 3 | 1,933 |
Swing GridBagLayout acting out | <p>In a program I'm writing I want to have 10 text fields aligned vertically.
Instead I get this:</p>
<p><a href="https://i.stack.imgur.com/Zvleu.png" rel="nofollow"><img src="https://i.stack.imgur.com/Zvleu.png" alt="What it looks like"></a></p>
<p>code here:</p>
<pre><code>import java.awt.*;
import java.util.Rando... | 3 | 2,746 |
IBM Domino calling wkhtmltopdf by shell on Linux | <p>We have this running well on a IBM Domino 9.0.1 Windows server, but when moved to Linux (Domino 9.0.1, on Linux 4.15.0-43-generic #46-Ubuntu SMP Th) the process fails. We convert html files to PDF to send to users.
Windows, in short, works by calling:</p>
<pre><code>sCmd = {C:\Program Files\wkhtmltopdf\bin\wkhtmlto... | 3 | 1,055 |
sublime text 2 , emmet and html snippet not expanding | <p>I have read two answers on here for a similar issue, one mentions an example with colon, another mentions an example where there is a popup. I am new to emmet. This one is just <code>html<tab></code></p>
<p>When emmet is disabled, I can see it expands <code>html<tab></code> based on the file <code>html... | 3 | 1,244 |
Applications are disconnecting from Kafka cluster | <p>Dears,</p>
<p>Our applications are disconnecting from Kafka cluster. Applications logs show warning like this one:</p>
<pre><code>14:15:24.445 [kafka-producer-network-thread | producer-1] WARN o.a.k.c.NetworkClient - [Producer clientId=producer-1] Bootstrap broker A.B.C.D:9093 (id: -2 rack: null) disconnected
</c... | 3 | 1,719 |
Buttons repeats in select menu | <p>I am trying to do a footer with 5 fields. One of them would be a select button, but I don't know why I get two select buttons!! </p>
<p>This is my code: </p>
<pre><code><div class="ui-bar ui-grid-c" style="height:30px;width:100%;border-top:solid 2px black;">
<div class="ui-block-a" style="width:55%;"&... | 3 | 1,226 |
PHP flatten a Multidimensional Array with keys | <p>I wrote some PHP code to line up the children of an array. I wrote a recursive function.</p>
<p>Everything is listed correctly one below the other, but some arrays do not have the "Name" key.</p>
<p>Does anyone have any idea how I can get it to show everyone's "Name" key?</p>
<p>My PHP Code:</p>
... | 3 | 1,650 |
Trying to import my css file in react but it doesn't work | <p>I'm creating an app in react. Having webpack installed I'm trying to add some styling but it doesn't seem to work.</p>
<p>My app.js:</p>
<pre><code>import React from 'react'
import ReactDOM from 'react-dom'
import IndecisionApp from './components/IndecisionApp'
import './styles/styles.css'
ReactDOM.render(<Ind... | 3 | 1,133 |
sidebar moving to the bottom | <p>I decided to start a new personal project today which is a forum type of thing (just for practice).
I set up the basic layout and wrote some of the PHP functions but when I add a new post, the sidebar moves down and underneath the posts.</p>
<p>here's some pics:
<br>
<br>
<img src="https://i.stack.imgur.com/jDaCP.p... | 3 | 1,475 |
Why JPQL generated query differs from original | <p>I am reviewing a JPQL query like that:</p>
<pre><code>SELECT SELECT SUM( func('NVL', l.prim_emiti_ced_periodo, 0)
+ func('NVL', l.prim_dev_n_emiti_ced_fin, 0)
- func('NVL', l.prim_dev_n_emiti_ced_ini, 0))
primas_cedidas_netas,
SUM( func('NVL', l.com_prim_emiti_ced_periodo, 0)
+ func('... | 3 | 2,908 |
Error installing pandas on lambda AWS using serverless framework | <p>I am trying to deploy a AWS lambda function called <code>transform_load</code> that imports pandas using the serverless framework. I am using the requirements plugin to zip the requirements so that I won't run into memory issues.</p>
<p>When testing the function I am getting the error below. The python and numpy ve... | 3 | 1,074 |
React router 3 wont render | <p>I am trying to go to a route that shows a sidebar and some content but I get <code>undefined</code> as part of my route and it just goes to a blank page. I am not quite sure why this is happening but any help would be appreciated. I am pretty sure it has to do with there not being a route to get the courseId as a pa... | 3 | 1,398 |
boost::function parameter definition not working | <p>I created two special types that I want to use in my get_property_function.hpp in my application:</p>
<pre><code>typedef boost::function<std::string ()> GetFunction;
typedef map<std::string, GetFunction> PropertyToGetFunction;
typedef boost::function<std::string (LPARAM)> GetEventFunction;
typede... | 3 | 7,213 |
I'm creating stored procedure in SQL using WinRDBI for an assignment and I can't understand why the procedure doesn't work | <p>For my assignment I was tasked with creating a Stored Procedure for the first time, I have been using WinRDBI since it is required by the professor here is my code here is my code:</p>
<pre><code>CREATE PROCEDURE uspGetDeptStats(
@DEPARTMENTNAME VARCHAR(15))
AS
BEGIN
SET NOCOUNT ON
DECLARE @FIRSTNAME AS VARC... | 3 | 2,535 |
How do I retry an input step in groovy pipeline if input is determined to be invalid later in that stage? | <p>I am building a Jenkins declarative pipeline for code release automation.</p>
<p>Our pipeline has a few different steps.</p>
<p>First, an email is sent out to one set of approvers who are directed to an input step where the input is pretty meaningless.</p>
<p>Second, an email is sent to a second set of approvers who... | 3 | 2,948 |
mouseclick and mousemove events giving offset errors in react canvas | <h2>Premise</h2>
<p>I am trying to convert my simple javascript canvas into React.js code. I am having trouble setting up mouse click and mouse move events in React.js. </p>
<h2>Error</h2>
<p>I am getting </p>
<pre><code>Uncaught TypeError: Cannot read property 'offsetLeft' of undefined
at HTMLCanvasElement.cli... | 3 | 1,447 |
Exception throws during the User Transaction begin method | <p>There is a block of code in Java (a loop) which uses User Transaction for validating the transaction.
The user Transaction object is declared before the loop.This method is used to validate certain things.
It is working fine but now frequently getting issue For eg: if the user pass four values three got successful... | 3 | 1,112 |
how search between date using post in codeignitier | <p>Dear Expert need Help first see my view code in codeigniter :</p>
<pre><code> <div class="form-group">
<label for="tglawal" class="col-sm-2 control-label">Periode</label>
<div class="col-sm-3">
<div class="input-group date">
<div class="input-group-addon">
... | 3 | 1,656 |
ReSharper inspectcode.exe 2016.3 throws exceptions | <p>I have downloaded ReSharper's inspectcode.exe version 2016.3, but even "inspectcode.exe --help" doesn't run smoothly and displays many errors.</p>
<p>First it prints "running...", then five exceptions, and at the end help text.</p>
<p>What can be the solution for this? With version 9.1.1 there isn't any problem.</... | 3 | 2,766 |
Acces to files outside WEB-INF | <p>I'm going to use <a href="https://web3j.io" rel="nofollow noreferrer">web3j</a> library inside servlet on <a href="http://tomcat.apache.org/" rel="nofollow noreferrer">Tomcat8</a> web-server on Linux server (Ubuntu 16.04). </p>
<p>I need to read the file from the servlet. The code in servlet is: </p>
<pre><code> ... | 3 | 1,418 |
Foreign Key field always showing up as None in views.py, but not empty in database | <p>I have a django app that I want set up to have a worksheet object that has a list of section objects, where each section object has a list of answers.</p>
<p>In the excerpt from my <strong>views.py</strong> shown below, I am trying to pass the first section associated with a worksheet to the render function. </p>
... | 3 | 1,252 |
Sphinx can not find a word, but can find phrase containing the same word | <p>I have run into a problem with working sphinx configuration.</p>
<p>Data about configuration:</p>
<pre><code>Sphinx 2.1.2-id64-release (r4245)
</code></pre>
<p>sphinx.conf source & index</p>
<pre><code>source articles
{
type = mysql
sql_host = localhost
sql_u... | 3 | 1,271 |
ASP.NET - C# Reflection: AddObject results in "Ambiguous match found exception" during Runtime | <p>I am developing the Save Profile section of a web application (in ASP.NET/C#), however, I am getting an "Ambiguous match found" exception whenever the code tries to save a new profile through invoking each of the "AddObject", during runtime. The code is as follows partly: </p>
<pre><code>using System;
using System... | 3 | 2,700 |
Missing icons in unordered list | <p>I have this unordered list with fontawesome icon instead of the default list style. My problem is that in the second level the icon is only displayed for the first list item.
I am using the pseudo before to display the icons and when I check it with inspector the pseudo before is there for each list item, but it is ... | 3 | 1,829 |
The drag-and-drop element gets stuck to the cursor in older Internet Explorer | <p>To reproduce the bug, open the following web-app in Internet Explorer 6 (and I believe the same error appears in some later versions of Internet Explorer, because it also appears in the Internet Explorer 11 when run in Compatibility Mode, which is supposed to emulate Internet Explorer 8):<br/>
<a href="http://flatas... | 3 | 2,315 |
Mongodb replicaset secondaries showing not reachable/healthy and lastHeartbeatMessage shows No connection could be made | <p>Mongodb replicaset secondaries showing not reachable/healthy. It was working fine once the machine restarted it shows both secondary as reachable/healthy. I configured first secondary in the port 27027 and second secondary in 27037. When i Checked rs.status() i got below result.</p>
<pre><code>rs0:PRIMARY> rs.sta... | 3 | 4,856 |
reactivity disappears after the object was in the array | <p>Why, after passing through the reactive array, did the element's reactive property turn into a non-reactive one? Can you explain please.</p>
<pre><code><script setup lang="ts">
import { ref, Ref } from 'vue'
interface Obj {
a: number;
r: Ref<{s:string}>;
}
cons... | 3 | 1,549 |
Convert React-Spring Example to Styled-Components | <p>Tried copying <a href="https://codesandbox.io/embed/j0y0vpz59" rel="nofollow noreferrer">this example</a>, but I'm using gatsby & styled components; So I'm trying to convert the plain css file to styled-components. However, the cards aren't moving or reacting at all when I click or drag, did I do something horri... | 3 | 2,300 |
Changing the zoom level in all link destinations in PDFs | <p>A code that changes zoom level using <code>iText</code> in <code>Java</code> is given in at <a href="http://developers.itextpdf.com/examples/actions-and-annotations/changing-zoom-factor-link-destination" rel="nofollow noreferrer">iText home page</a>. I would like to convert it to <code>C#</code>. After countless hou... | 3 | 1,776 |
SherlockActionBar is not working on Android 2.3.6 (Force Close) | <p>However, on Android 4.0.3 it is working fine.
Isn't Sherlock supposed to give <code>ActionBar</code> for 2.xx versions too ?</p>
<p>I added : <code>android:theme="@style/Sherlock.__Theme.Light"</code> to the manifest file.</p>
<p>I am not running anything on the application only this:</p>
<pre><code>public class... | 3 | 1,368 |
Local nginx wildcard installation not loading JS files | <p>I have installed a nginx server configuration on my localhost. It's a multi store PrestaShop 1.6.1.4. You can see the nginx configuration right here:</p>
<pre><code>server {
listen 80;
listen [::]:80;
root /var/www/html/devsite;
index index.php index.html index.htm;
server_name .devsite.com;
location / {
rewrite ... | 3 | 1,511 |
LibreOffice problems drawing hash marks in shape using Python | <p>I am trying to create a hash mark pattern inside a shape using LibreOffice 5 on Windows 10 using the Python 3.3 that came with LibreOffice. Two thirds of the code is similar to this <a href="https://stackoverflow.com/questions/36852645/create-flowchart-in-libreoffice-using-python">post</a> with additional questions ... | 3 | 1,114 |
updating high chart on real time in angular js after a particular time | <p>I want to update high chart on real time in angular js after a particular time span and it should get reflects on html without user interaction in angular JS.
Below are code for Controller,Directive and HTML. I am using rest web service to fetch the data from back end.
Controller :</p>
<pre><code>function dashboard... | 3 | 3,357 |
startUpdatingLocation is working only when wifi is ON but not when only 3G in ON | <p>i have tried to get the longitude/latitude of the user current location, my code is simply this :</p>
<p><strong>MyLocationManager.h</strong></p>
<pre><code>@interface MyLocationManager : NSObject
+(MyLocationManager*)sharedInstance;
-(void)checkAndStartLocationManager;
-(void)stopUpdatingLocation;
@end
</code></... | 3 | 1,264 |
Embedding image in html body want show as well | <p>I need to send mail with which have mixture of pictures and texts. My problem is that can't send image inside of body, it always appear at bottom op body.</p>
<p>So my question is <strong>how to send write position picture inside of email body</strong>?</p>
<p>Here is code which don't work as well</p>
<pre><code>... | 3 | 1,065 |
How to call method of child component from parent component in vuejs | <p>I have a parent component</p>
<pre><code><template>
...
<dropdown-city @currentCity="updateCity"></dropdown-city>
<map ref="mymap" @myMap="updateMap"></map>
...
</template>
<script>
export default {
...
methods: {
upd... | 3 | 1,358 |
someting wrong with jquery/ajax | <p>i have this bit of code bellow, and when i tried to display data in a console.log() it gaves me this in browser console :</p>
<pre><code>formDataformData : [object FormData]
app.js:4946 btnName : dwfrm_requestpassword_sendbtnValue : Valider
app.js:4947 url : https://dev05-eu01-smcp.demandware.net/on/demandware.stor... | 3 | 1,814 |
Designing mongodb schema with searchable nested arrays. | <p>I'm new to Mongodb coming from relational databases and I'd also like to point out I'm using SpringBoot with JPA. If I were to build an automotive classified site where I would have thousands of Users and 100s of thousands of listings, how would I go about setting up the schema? I've read some articles that say norm... | 3 | 1,174 |
how to get only first row of datatable with modified specific row value | <p>I have query to just summary of total no of jobs running. now I just want some specific result if there is unique rows found like unique category id with assign job then ok with multiple record set. but no category found if is null then just only pass first record from datatable with modified text with 'ALL' as cate... | 3 | 1,674 |
Border Bottom left to right when Div Hover using CSS | <p>I am trying to do <strong>blue border animation at the bottom</strong> of box-like below image.</p>
<p><a href="https://i.stack.imgur.com/M0uld.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/M0uld.png" alt="Image"></a></p>
<p><em>But in my code, it displayed in the box.</em>
<strong>My code is<... | 3 | 1,246 |
UI Automation - InvokePattern.Invoke() blocking execution until user interaction in integration tests | <h2>Edit: I went with the route of using <a href="https://github.com/FlaUI/FlaUI" rel="nofollow noreferrer">FlaUI</a>. I have updated the tag on this question to include it and also posted my solution as the answer.</h2>
<p>I'm writing some integration tests for an app that monitors certain windows forms apps to see if... | 3 | 1,063 |
How to use cameraview in android | <p>I'm facing an issue regarding cameraview. Do I have to import something since the error goes "cannot resolve flurgle" for import com.flurgle.camerakit.CameraView;
My permissions in manifest file are already set.</p>
<p>Heres the code using cameraview(taken from "<a href="https://blog.mindorks.com/android-tensorflow... | 3 | 2,225 |
How do i know that my results are good when working with a CNN? | <p>I am trying to classify time based bio signals using CNN. Now my classifier says that it has an accuracy of 91%, which would beat the the record w.r.t these signals So i want to find out if my results are genuine or not. I am skeptical about the result as the way it trains is also funny. There aren't many explanatio... | 3 | 2,354 |
Why is my sorting algorithm not sorting correctly? | <p>I was given <a href="https://stackoverflow.com/a/63259283/13378247">this</a> sorting function in the best answer to a question I posted. It worked on the example data, but does not appear to work on my actual data and I am not sure why.</p>
<p>My data can be see here: <a href="https://api.npoint.io/7571e85ef470a2a7... | 3 | 4,646 |
how to work with conditional segue | <p>i have been trying to implement condition segues depending on particular conditions, but i don't know where i am lagging behind.If anyone can help me it would be more than a thankful
below is the code:-
There are two segues which have to be handled, <code>segueOtp</code>& <code>segueError</code></p>
<pre><code>... | 3 | 2,363 |
XML generation very slow and using lots of memory in Rails 4 | <p>I'm generating an XML file to share data with another system. From my troubleshooting, I've found that this process is both slow and consuming lots of memory (getting lots of R14's on Heroku.)</p>
<p>My index method on my Jobs Controller looks like this:</p>
<pre><code>def index
respond_to do |format|
format... | 3 | 1,639 |
How to add space between two tags vertically(P.S My margin -top is not working) | <p>I was Building a website where I encountered a problem that my h1 content is overlapping with my navigation bar. I have used margin-top tag in css and its not working.</p>
<pre><code><div class="main">
<div class="header">
<div class="header_resize">
<div class="menu_nav">
... | 3 | 1,572 |
jQuery - Changing CSS from Array on keyup | <p>Each time I click a radio, the <code>.tag</code> div receives the <code>data-color</code> of the corresponding radio.</p>
<p>How do I apply the same principle to <code>input type="text"</code> where each radio value <code>data-color</code> is put into an <code>array</code> and the <code>background-color</c... | 3 | 1,860 |
Nginx Autoindex with XSLT | <p>I try autoindex with XSLT stylesheet on NGINX.</p>
<p>now i can't print out the folder name on the main body ?
i try a few things but all not work it still view directory on all folders.
here is my last try.</p>
<pre><code> <?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:... | 3 | 1,859 |
Actions must be plain object error | <p>I have this error: </p>
<pre><code>Uncaught Error: Actions must be plain objects. Use custom middleware for async actions.
</code></pre>
<p>Although, as far as I see I'm completely on Redux Async tutorial.</p>
<p><strong>My store:</strong> </p>
<pre><code>import { createStore, applyMiddleware, compose } from 're... | 3 | 1,332 |
Cannot get property of object (TS) | <p>I have ts code</p>
<p>Here it is</p>
<pre><code> export function load_form_actions() {
$('#step_2_form').on('ajax:before', function(data) {
$('#step_2_submit_btn').hide();
$('#step_2_form .yd-button-pop').hide();
$('#step_2_spinner').show();
if ($('input[class=error]')) {
re... | 3 | 1,906 |
dropdown menu disappear if the link is clicked when the browser is resized | <p>my dropdown menu in navbar works fine when the browser is maximized but if i resize the browser to a mobile size then the dropdown menu does not show up as well as the menu button toggled up. here is my navbar code with dropdown. I am using bootstrap 3.when i clicked EBBL the dropdown menu does not show up and the w... | 3 | 1,842 |
struts interceptor running twice | <p>I have just created some a struts interceptor.</p>
<pre><code> <interceptors>
<interceptor name="alertableActionInterceptor" class="com.mycompany.web.interceptor.AlertableActionInterceptor" />
<interceptor-stack name="eposWebAuditStack">
<interceptor-ref name="ale... | 3 | 1,041 |
EXCEPTION_ACCESS_VIOLATION in Repast | <p>I have installed Repast on my windows 10 computer, but if I try to run one of the demo codes I get an error. </p>
<blockquote>
<p>Error loading EGL entry points.</p>
<p>A fatal error has been detected by the Java Runtime Environment:</p>
<p>EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000000000... | 3 | 6,136 |
Cannot call RecycleView from other activity | <p>My RecycleView is in my Activity and then I want to set it in my other class. But it always say <strong>NullObjectReference</strong> with my RecycleView. I dont know why because i have initialize it. Is there something wrong? Here is my code</p>
<p><strong>My Activity</strong></p>
<pre><code>public class MainActivit... | 3 | 1,186 |
CSS3 : 2 buttons in new line using flex concept | <p>I have a div . when I hover on it, I get 2 buttons side by side which i don't want. I have used the below code.</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-css lang-css prettyprint-override"><code>.main_div{... | 3 | 1,182 |
JSX this.state.STATE.map is not a function | <p>Issue: this.state.previousWords.map() is nor recognized as a function</p>
<p>I have a hangman app that is trying to render previously seen words onto the page in their own line. The issue happens when a new word is added to the array in the state previousWords: []. When the page tries to re-render this it errors sta... | 3 | 2,743 |
Take mean based on each group for each day in R | <p>I have a dataframe of return values of cryptocurrencies, each sorted into a group of 5 based on price (dataframe has 1,847,012 entries)</p>
<pre><code>2014-01-02 XRP 0.064041998 1
2014-01-02 Dogecoin -0.220306670 1
2014-01-02 FLO 0.043457042 1
2014-01-02 CasinoCoin -0.080614279 ... | 3 | 1,191 |
usaco: friday the thirteen error | <p>I'm currently working on a problem (Friday the thirteenth) on the USACO site and I've coded a program which, given a number N,computes how often the 13th lands on each day of the week from Jan 1st,1900 to Dec 31st,1900+N-1.The algorithm is inspired from a mental calculation trick : <a href="http://www.jimloy.com/mat... | 3 | 3,195 |
Excel macro doesn't open on startup when called from MS Access | <p>I know this issue has been hashed over many times but mine isn't addressed there.
I have an excel macro that is used for different projects. It's coded with variables, the variables are passed from MS Access and therefore, this macro can be used for any project.</p>
<p>Not only it runs fine when double clicked, but ... | 3 | 12,458 |
How to call Delphi DLL from C# (Method's type signature is not PInvoke compatible error)? | <p>I have some Delphi code which is currently calling a DLL (also written in Delphi). Here is the Delphi code:</p>
<pre><code> TDLLDataHeader = record
s : string[255];
i : integer;
stage : integer;
number_of_fields : integer;
... | 3 | 3,593 |
Counting the length of the Collatz sequence - custom iterator produces slowdown? | <p>I've been solving the UVA problem #100 - <a href="https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=36" rel="nofollow">"The 3n + 1 problem"</a>. This is their "sample" problem, with a very forgiving time limit (limit of 3 sec, their <a href="https://uva.onlin... | 3 | 1,142 |
.Remove(); does not Remove and .Save(); does set asmv infront of every Node | <p>as I said in the Title:</p>
<p><code>.Remove();</code> does not Remove</p>
<p>and </p>
<p><code>.Save();</code> does set <code>asmv2</code> infront of every node</p>
<p>Code:</p>
<pre><code>private void DeleteXmlPopulates()
{
string filePath = "C:\\Example\\Example.exe.manifest"
var xml = XE... | 3 | 1,624 |
VHDL Demultiplexer output to switch signal between port | <p>Please go easy on me, I'm new to this... :) I have a signal in which I would like to toggle the output between one of two available output ports TX_ADDR and TX_DATA based on the value of a count CNT. The idea is to pipe some value first 32 bit value I get serially to an address bus, then to the data bus, then th... | 3 | 1,410 |
Error sending data to PHP form | <p>I'm trying to send an email from my application with a PHP contact form, but the details can't be sent from the application for some reason. Please tell me what is the problem.. I've attached the the php form i'm using at the end.</p>
<p>when I try to send an email using the web-browser and writing: <a href="http:/... | 3 | 1,214 |
STM32F407VGT6Z UART Communication - No data appearing in serial terminal | <p>I am trying to send the string "Text " to my console on the PC to which my STM board is connected. Listed below is the configuration for the console:</p>
<p><a href="https://i.stack.imgur.com/VQvTp.png" rel="nofollow noreferrer">CONSOLE CONFIGURATION</a></p>
<p>Nothing actually appears in the console when ... | 3 | 2,001 |
Mocha before doesn't let me go next | <p>I have a problem with mocha tests, i'am trying to make initial setup to make some tests. Unfortunately i have no idea why mocha doesn't show me any errors. Promise.all is working correctly and shows me results but it doesn't let me go to the next step -> tests.</p>
<p>It is working if only i remove second promise ... | 3 | 1,343 |
Issue with Refactoring the existing code using Streams (Java8) | <p>I'm new to Streams and using Java 8 version. I'm trying to refactor my existing code by using Streams.
Here is the code snippet:</p>
<pre><code> List<AddressAccessibility> addressAccessibility = entity.getAccessibility();
List<String> entries = new ArrayList<String>();
for (Add... | 3 | 1,467 |
CS0433 Type exists in two assemblies | <p><strong>Short version</strong></p>
<p>At runtime, I'm getting a type mismatch error from <code>Microsoft.Office.Interop.Excel</code>, because Visual Studio thinks this Interop .dll is also part of my assembly and it can't decide which of the two equally named types it's perceiving (<code>XlYesNoGuess</code>) to use ... | 3 | 3,097 |
sending a png from c++ server to java client | <p>I'm trying to send a png image from a c++ server to a Java (android studio) client (the image is saved on the server). I read that I need to encode the image in base64, send it, decode it, convert it to a byte array and then to bitmap. (I should probably mention at this point that I'm not that familiar with android ... | 3 | 1,334 |
Table View not loading after deleting or inserting core data | <p>I am using core data to store events into an agenda app I am making. I have a segment controller that allows the app to sort via date or tags. When I add or delete an event to the table view, nothing is changing in the view and the segment bar breaks, nothin happens. However, I when I restart the app, all the elemen... | 3 | 4,105 |
fixing submenu to top of nav | <p>I have created a dropdown navigation with two sub-menu's. </p>
<p>I am trying to get the second sub-menu to start from the top (just underneath the primary nav/black bar) and not at it's current position but I am not sure how to do this. </p>
<p>Here is a codepen I made <a href="http://codepen.io/anon/pen/ByaaYM" ... | 3 | 2,744 |
Foreman start works, but heroku.app doesn't | <p>I'm trying to create a simple chat application, but heroku is giving me errors:</p>
<pre><code>2014-05-09T20:19:43.315159+00:00 heroku[api]: Enable Logplex by zwhitchcox@gmail.com
2014-05-09T20:19:43.315241+00:00 heroku[api]: Release v2 created by zwhitchcox@gmail.com
2014-05-09T20:20:06+00:00 heroku[slug-compiler]... | 3 | 2,103 |
how can I call my button value that is on another page? | <p>I'm new on Reactjs and i came across this issue, i made the function of an input on page number 1, where I type a numeric value, I call this function on the second page where I call the function and where I also define the paypal parameters:</p>
<p>Function input of the first page:</p>
<pre><code>function ButtonBID(... | 3 | 1,460 |
Results not factoring into excel vba spreadsheet | <p>(EDITED, Issue partly resolved, see comments) I'm new to VBA so this might be tedious but: I'm having some issues with code I've written to try to add discounts to an invoice. I have it so that if a 1 is written in a certain row under one discount column in 'Org List', that discount number is reflected in the cost c... | 3 | 2,404 |
How to hide div contents until button is clicked? | <p>I want to have only the button appear on the webpage load and then the following div appears when clicked. I have tried other solutions that other people have recommended and whenever I use display: none; on the .ytvid it will not appear at all anymore when the button is clicked. I thought that by having the jQuery ... | 3 | 3,604 |
xml load error DTD must be defined before the document root element | <p>I am trying to load an xml file but getting the following error.</p>
<blockquote>
<p>DTD must be defined before the document root element.</p>
</blockquote>
<p>the xml file is generated by others, i found that there are html elements in the xml file. How do i delete the html in the xml file using c#?</p>
<p>Upd... | 3 | 3,287 |
When I try to install teiid in domain mode, teiid-jdbc socket-binging portall 31000 is not opened | <p>My server group is using ha-sockets, and configuration in domain.xml is as following, after start server and slave, ss -lnap check the opened port, 31000 is not in list.</p>
<pre><code> <socket-binding-group name="ha-sockets" default-interface="public">
<socket-binding name="... | 3 | 1,043 |
Why is my DataGrid going off screen no matter what solution I try? | <p>I am new to C# and WPF trying to get what I should think is a simple thing, but it doesn't work.</p>
<p>I have a data grid being populated by SQL, and no matter what I try, I can't get the <code>Height</code> of the <code>DataGrid</code> to stay within the window. It always just extends down. I want it to be dynami... | 3 | 1,185 |
MuleStudio - Failed to Deploy application | <p>I am having trouble starting a Mule application from MuleStudio. Any pointers?</p>
<p>Here is my Configuration xml :</p>
<pre><code><?xml version="1.0" encoding="UTF-8"?>
<mule xmlns:http="http://www.mulesoft.org/schema/mule/http" xmlns="http://www.mulesoft.org/schema/mule/core" xmlns:doc="http://www.mul... | 3 | 1,169 |
Req.file undefined when uploading file with React to Multer/Express with Material UI component but Postman works | <p>After endless searching I must post this question. Why am I getting req.file undefined when attempting to upload a file via React/Material UI to Multer/Express when it's working with Postman? The "fieldname" is the same across my components, I am now trying to use formData but still no success.</p>
<p>Clie... | 3 | 1,582 |
Ruby - providing multiple lambda or proc arguments to a function? | <p>I've implemented a rudimentary extension on <code>Hash</code> with delegation via the <code>forwardable</code> module, in the following source code (public domain here)</p>
<pre class="lang-rb prettyprint-override"><code>module OptionsConstants
THIS = lambda { |a| a.itself }
end
require('forwardable')
class Ass... | 3 | 1,888 |
My code is not extracting Images from all PDF files | <p>Kindly help me, my code which extracts images from PDF file, is not extracting images from all PDF files. Although it works good for Some PDF Files. Please help me.
Here is my Code :
ExtractImages.java</p>
<pre><code>package pdttotextconvertor;
import java.io.IOException;
import com.itextpdf.text.DocumentExceptio... | 3 | 1,714 |
(VBA, Excel) Sort Wall Points Clockwise Starting at an Arbitrary Point | <p>I'm new here and am also relatively new to VBA. I've been struggling with this problem for a while and can't seem to find a solution.
I have points that correspond to either endpoint of a wall or intersections of a wall (Shown in an attached image).</p>
<p><a href="https://i.stack.imgur.com/7z9CR.png" rel="nofollo... | 3 | 1,524 |
error: reached end of file while parsing in Android Studio | <p>This is my 1st time using Java and Android, I’m trying to launch a simple application with <code>WebView</code> script.</p>
<p>Everything was okay but I am facing issue when I’m trying to add loading bar for my web view page. The problem: </p>
<pre><code>error: reached end of file while parsing
</code></pre>
<... | 3 | 1,300 |
php email script does not produce an HTML version or attachment extension. what went wrong? | <p>here's (all) the code:</p>
<pre><code><?php
/*
WHITE SPACE MATTERS IN THIS DOCUMENT
*/
include("_php/ChromePhp.php");
// define receiver of email
$to = "person@place.com";
// define subject of email
$subject = "<--== KABAM! HTML Email from WR! ==-->";
// define message to send. ... | 3 | 1,354 |
Image not allowing neighboring div to align correctly | <p>I'm designing an online clothing store, and on the product's page I want the product info (on the right) to align with the center of the image (on the left) while both of the divs are centered with the page. However, it seems that no matter what I do, the product info is always pushed down to the bottom corner of th... | 3 | 1,791 |
Hide and Show Elements Based on Date Change from DatePicker | <p>The following solution works, but I would like to keep adding elements for the entire month.</p>
<p>When I remove the dates that are ="none" the previous dates start stacking on top of each other.</p>
<p>Is there a way to simplify the javascript so I wouldn't have to keep adding each date to the if-else st... | 3 | 2,075 |
Find xml attribute values in a SOAP response with javascript | <p>I'm working on an outlook web add-in, I use <a href="https://docs.microsoft.com/en-us/exchange/client-developer/web-service-reference/getitem-operation-email-message" rel="nofollow noreferrer">GetItem</a> to get the ChangeKey from the Exchange Web Service SOAP response, a value I need to compose further requests. Th... | 3 | 1,392 |
How to find a separate attribute among the records and form a separate collection on it? | <p>There is a class that contains the following information
The name of the student, his group, grades in geometry, algebra and computer science</p>
<pre><code>def __init__(self,surn,numbgroup,markgeometry,markalgebra,markinformatika):
self.surn=surn
self.numbgroup=numbgroup
self.markgeome... | 3 | 1,414 |
Connecting to MongoDB running in a Docker Container using persistence.xml | <p>I have a Java EE 11 application deployed and running on JBoss WildFly 16.0.0.Final in a Docker Container.</p>
<blockquote>
<p>CONTAINER ID IMAGE COMMAND<br>
CREATED STATUS PORTS<br>
NAMES 867d2b0c179b gostophandle:latest "/opt/jboss/wildfly/…"
4 secon... | 3 | 4,073 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.