title
stringlengths
13
150
body
stringlengths
749
64.2k
label
int64
0
3
token_count
int64
1.02k
28.5k
Unable to merge actions producing... prerequisites are different
<p>In Unreal Engine 4, I was working on some c++ files as part of a game dev project when I was told that I hadn't updated the project on my computer properly, and needed to get the current files from the source control onto my computer's instance of the project to keep working. This required overwriting the c++ files,...
2
1,445
Mouse cursor changing in 32 bit but not in 64 bit
<p>From these MAKEINTRESOURCE , GetClassLong ,LOWORD((LPSTR)cursor_name) and LoadCursor is any of them is not compatible with 64 bit? If not then what's the solution, my code is working fine for 32 bit but not in 64 bit, code is a huge applications, main functions used are listed above... the function has parameter mou...
2
2,067
LinearLayout weight does not work in DialogFragment
<p>I have a custom view which is basically simply to show some info for a transaction, this is the layout:</p> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_par...
2
2,190
Fill in web form, submit and download results
<p>I am wanting to fill in a <a href="https://nzffdms.niwa.co.nz/search" rel="nofollow noreferrer">web form</a> and submit my query and download the resulting data. Some of the fields have the option of a drop-down menu or typing in a search query, sections can also be left blank (if all sections are left blank the ent...
2
1,301
android webservice response "parse xml to pojo exception"
<p>I am trying to access soap webservices in android. </p> <pre><code> AndroidHttpTransport httpTransport = new AndroidHttpTransport(URL); ... ... String result = (String) httpTransport.responseDump; </code></pre> <p>I got the response <strong>result</strong> string as xml format given ...
2
1,264
Go SMB2 , reading and listing directory
<p>I'm trying to list directory contents on a share from Linux to Windows using Go. So far I've managed to Create/Remove new files inside a share with full Read/Write permissions.</p> <p>Go module: <a href="https://godoc.org/github.com/hirochachacha/go-smb2#Client" rel="nofollow noreferrer">https://godoc.org/github.co...
2
1,224
SQLAlchemy and pg8000 KeyError / Broken Pipe on Google App Engine with Postgresql
<p>My goal is to successfully execute Select statements on my Postgresql dv (on Cloud SQL), using SQLAlchemy's ORM in my Flask app on Google App Engine.</p> <p>I am able to successfully deploy the app, and it successfully connects to the database and issues the select statements. However, after about 1 hour of the app...
2
2,470
Spring Batch produces no logging output when launched from the command line
<p>As the title describes, no logs are getting produced when I launch my Spring Batch jobs from the command line.</p> <p>Background info:</p> <ul> <li>The logging framework that I'm using: log4j2</li> <li>Logging <em>usually</em> works fine when launched from within Eclipse (manual logging is done via <code>Logger lo...
2
1,702
VBA - Scrape HTML table without id
<p>I am trying to get data from a html table with VBA. After selecting a value from a list box, filling a text box and clicking a button the table appears. But the url of the website does not change.</p> <p>My program does fill the box, select the list box value and click the "search" button, but then I can't get the ...
2
1,860
Changing image name dynamically using the same source image
<p>Consider I have an image named "car.jpg". </p> <p>I have multi-language stores in my site and client wants to show the same image in various languages. Like car is called voiture in French so the image name should be "voiture.jpg", but it will show the same image i.e. car.jpg.</p> <p>Also while saving / downloadin...
2
1,077
Django unit testing Sekizai and django cms
<p>How can I write tests in django ? I read the documentation : <a href="https://docs.djangoproject.com/en/dev/topics/testing/overview/" rel="nofollow">https://docs.djangoproject.com/en/dev/topics/testing/overview/</a></p> <p>But we use django-cms and sekizai so when I do a simple test like:</p> <pre><code>from djang...
2
2,059
Recursive QuickSort suffering a StackOverflowException
<p>I am working on a Recursive QuickSort method implementation in a GenericList Class. I will have a second method that accepts a compareDelegate to compare different types, but for development purposes I'm sorting a GenericList&lt;<code>int</code>>.</p> <p>I am recieving stackoverflow areas in different places depen...
2
1,153
Maven returns exit 0 even though junit5 tests fail
<p>I have setup Maven to trigger some junit5 tests.</p> <p>When I run:</p> <pre><code>mvn clean integration-test </code></pre> <p>I see the project build and then it also runs the tests. I see a failure in one of the unit tests.</p> <p>Further down in the console output, I see:</p> <pre><code>[INFO] BUILD SUCCESS ...
2
3,828
OpenCV VS 2010 C++ CMake
<p>I couldn't find the answer to this probably simple question. I have been having problems getting OpenCV to work on my computer with either Dev C++ or VS 2010. </p> <p>My question is not about the specifics but instead is about what CMake contributes to the process. </p> <p>I have worked my way through a lot of C++...
2
2,261
Angular 6 mat-form-field with mat-select not selecting any values
<p>I am new to Angular 6, and I am working on a project where I am using material design with reactive form which uses form control. So the problem I am facing is that all other fields are working fine except mat-select, where it properly display the drop-down content but when i select it, the selected values are not ...
2
1,237
Email going to spam in gmail because SPF records fail - WordPress
<p>I have an issue with the email going to spam on one of my WordPress websites. I am testing a gmail account. I am not sure why the email is received from the host see.seekmomentum.com and not the domain of the account rodriguez-music.com.</p> <p>This is the SPF record that is setup: </p> <p>"v=spf1 +a +mx +ip4:198...
2
1,053
Call for undefined function in Wordpress plugin
<p>I'm currently writing a WordPress plugin that works with WooCommerce. I query WooCommerce orders and the goal is to use the adresses of those orders to plan a delivery route using the API from a Dutch route planner service.</p> <p>It's been a while writing PHP for me, the last PHP I wrote was 7 years ago, so my PHP...
2
1,057
Pycharm: DLL load failed: The specified procedure could not be found
<p>I am working on a Python project in Pycharm (<code>2020.1.2</code>) on Windows 10.</p> <p>For this project, I cannot use the standard Python interpreter, I have to use my own located at <code>C:\some\path\here\python\27_64\python.exe</code> (Python 2.7.3).</p> <p>Backstory may be important:</p> <p>I have added th...
2
1,224
AMP analytics events for scroll
<p>I am trying to add analytics to my AMP page.while tra</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-html lang-html prettyprint-override"><code>&lt;!doctype html&gt; &lt;html amp lang="en"&gt; &lt;head&gt; &...
2
2,217
How to calculate distribution (Histogram) of large amount of data in a distributed system?
<p>I am building a metrics reporting system on an instance fleet containing more than 100,000 front-end instances. For any request, every single instance will have a response time. And what I need is the distribution of the response time of every kinds of request over the whole fleet. For example the [Percentile 50, Pe...
2
1,108
MVC 5 VirtualPathProvider not working as expected
<p>I've created the following virtual path provider to load views from a DB and when the view doesn't exist on disk, I am seeing my DB method in be called and return <code>true</code> for the FileExists method. After that, no other methods are called and the page returns as a 404. Views that are on disk are still ren...
2
1,037
How can I fix Hangfire configuration error?
<p>It seems like I need to configure for logging. I can add jobs &amp; see them in /hangfire page but they won't fire if I disable app.UseHangfireServer().</p> <p>Since it's a simple folder based web site, I've copied necessary dlls to my bin folder from running sample Hangfire MVC project. How can I configure the log...
2
1,207
Downloading corrupted files with OkHttp
<p>The method I wrote to download files always produce corrupted files.</p> <pre><code>public static String okDownloadToFileSync(final String link, final String fileName, final boolean temp, DownloadStatusManager statusManager, ErrorDisplayerInterface errorDisplayerInterface) { Request request = new Request.Builde...
2
2,337
How to use a helper generic of type class of type
<p>I am trying to figure out how to <em>genericize</em> this helper method; so that it returns the same type that was asked for:</p> <pre><code>type TScreenHelper = class helper for TScreen public function FindForm(DesiredFormClass: TFormClass): TForm; end; </code></pre> <p>Right now the caller ha...
2
2,390
How to detect edge if edges of an object has same colour as background
<p>I am tasked to build a license plate detection system and my code does not work if the plate has the same colour of the paint of car (background).</p> <p>Take a look at this picture below. <a href="https://i.stack.imgur.com/FpxKi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FpxKi.png" alt="ent...
2
1,627
Python in SQL Server: NULL values in INT columns get mapped to -2147483648 rather than None
<h1>tl;dr</h1> <p>I am working with Python in SQL Server 2017. The Python code is wrapped in a stored procedure to which I pass a query. The query gets evaluated and the data passed to Python. If a string column (char, nchar, varchar, nvarchar) within the query contains <code>NULL</code>, it gets mapped in Python to <...
2
2,672
The visibility of the items change when scrolled ListView
<p>I am using a list view and an adapter for loading a list,each list item has a TextView,EditText and Image..I set the visibility of the arrow and the Edit text according to the position of the list row,everything works fine when I load the list for the first time... But when I scroll through the list,visibility of th...
2
2,163
Solr 6 on Windows fails when creating new collection
<p>I am using Solr 6.1.0 on a Windows 7 machine.</p> <ul> <li>I have downloaded Solr 6 from here : <a href="http://www.apache.org/dyn/closer.lua/lucene/solr/6.1.0" rel="nofollow">http://www.apache.org/dyn/closer.lua/lucene/solr/6.1.0</a></li> <li>I have downloaded the server JRE (8u92) from here : <a href="http://www....
2
1,845
How to open default camera and take a photo automatically in android
<p>I am new to <code>cordova</code>. working on ble device project.</p> <p>My requirement is,</p> <ul> <li>First click on ble device should open the camera.</li> <li>next corresponding clicks to take photos .</li> </ul> <blockquote> <p>AutomaticPhotoActivity.java </p> </blockquote> <pre><code>import java.io.F...
2
1,473
JSF and JPA with @ManyToMany and custom converter: LazyInitializationException
<p>I have an <code>@Entity</code> with :</p> <pre><code>@Entity public class Issue implements Serializable { @Id @GeneratedValue(strategy=GenerationType.IDENTITY) protected long id; @ManyToOne private IssueScope scope; //getter/setter } </code></pre> <p>I use the custom <code>IssueScopeConverter</code> to d...
2
1,077
Show activity indicator until all images are load successfully
<p>I have a collectionView cell which has five imageviews. I am using the following the answer given by javimuu to load images in the background. <a href="https://stackoverflow.com/questions/37018916/swift-async-load-image">Link</a></p> <p>It works well and all the images load in the correct imageview. But it is ver...
2
1,273
playing video in iOS 5
<p>I am trying to follow this tutorial <a href="http://www.techotopia.com/index.php/Video_Playback_from_within_an_iOS_5_iPhone_Application" rel="nofollow">link</a>, but i have issues. Can somebody please have a look and let me know what needs to be changed. I tried to looking up other examples but none seems to work. ...
2
1,383
How enabling SSL with localhost in ubuntu
<p>I want to run Https in my localhost 'lamp' in Ubuntu lunix 14.04. I'm a certificate and copied the certificate in: </p> <pre><code>/opt/lamp/ect/ssl.key/sslnewkey.key </code></pre> <p>and I've copied the key private in:</p> <pre><code>/opt/lamp/ect/ssl.crt/sslnewcet.crt </code></pre> <p>And I've added in /opp/l...
2
7,124
'htmlentities() expects parameter 1 to be string, array given' error on Laravel view
<p>I was testing the Request.php (submitting form with empty required fields) of my create view, and got the 'htmlentities() expects parameter 1 to be string, array given' error.</p> <p>I know the error was generated because of the code below. This is a part of my view (calls javascript functions) used to create futur...
2
2,257
HQL with one-to-many relationship is giving "ORA-00936: missing expression" exception
<p>I have 2 tables with One-To-Many relationship as per following:</p> <p><a href="https://i.stack.imgur.com/QcanK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QcanK.png" alt="Table Relationship"></a></p> <p>My entity classes and hbm configurations are as per following:</p> <p><strong>AuditDeta...
2
2,015
Codeigniter Database Values Not Showing In View
<p>I have encountered an issue where the data from my database is not showing in my view. As far as I'm aware, my Controller, Model and View are set up correctly. I've done this before so I know what's needed, but I can't locate my old file. I hope you guys can help?</p> <p>Controller:</p> <pre><code>&lt;?php if(!def...
2
1,592
PHP sort multidimensional objects by property value
<p>After hours of research i decided to ask this question, bcoz no solution found so far. I need to sort multidimensional objects by property value, objects are results of json_decode() of a multidimensional json, so i need to sort following objects by <code>order</code> property:</p> <pre><code> stdClass Object ( ...
2
1,235
knockout js data-bind attribute not redirecting the correct page
<p>I am maintaining a application developed by another developer. The application built with asp.net and vb.net and it used knockout js. </p> <p>I am trying to change one link in the code. Though I change the line it goes to the previous link.</p> <p>The present code is like following</p> <pre><code>&lt;a data-bind=...
2
3,234
Getting an array from a JSON object in Java
<p>How would I go about parsing this JSON object and getting the "groups" array in Java on Android.</p> <pre><code>{ "groups": [ "Total_Social_Beta_Testers", "Test_Group" ] } </code></pre> <p>Here's my code: </p> <p><strong>LoginActivity.java</strong></p> <pre><code> Response.Listener&lt;String&gt; responseListe...
2
3,102
Insert Custom LinearLayout in ListView Programmatically
<p>i know this question is still answered in many posts. and theoretically i know the answer, but in this case i can't get it work.</p> <p>I have a custom BaseAdapter</p> <pre><code>@Override public Row getView(int position, View convertView, ViewGroup parent) { ... Row view = (Row) convertView; LayoutIn...
2
1,781
Error installing AIR app
<p>I'm unable to install my AIR app now; I think it's because I was uninstalling it and quit halfway thru the uninstall. Here's the error I'm currently seeing: </p> <pre><code>Bootstrapper begin with version 2.6.0.19120 on Win x86 Installed runtime (3.3.0.3650) located at c:\Program Files (x86)\Common Files\Adobe AI...
2
1,239
Slack-API NodeJS bot response_url not working
<p>I'm currently developing my own slack bot using NodeJS.</p> <p>For now not a complicated bot, you just type a command and you have an answer. That works fine.</p> <p>Now I want to send an answer later, because my program call an external API. As I read here in the <a href="https://api.slack.com/slash-commands" rel...
2
3,137
Understanding the Storm Architecture
<p>I have been trying to understand the storm architecture, but I am not sure if I got this right. I'll try to explain as exactly as possible what I believe to be the case. Please explain what - if - I got wrong and what is right.</p> <h2>Preliminary thoughts: <em>workers</em></h2> <p><a href="http://storm.apache.org...
2
1,619
pass client id from within the gridview to javascript function
<p>I have a gridview that get binds dynamically. i have a linkbutton attached with every row that opens a modal popup window which I need to show some text which is in a hidden field in gridview. </p> <p>I need to call a javascript function that sets the value of the label in the popup panel with the text of the hidde...
2
1,037
How do you get a custom PowerQuery function that returns a one cell Table to return text instead
<p>I'm trying to teach myself to write PowerQuery M functions by scraping suggestions listed at the PowerBI Ideas website. I come from a VBA background, so M is quite foreign to me. </p> <p>I've got a function that creates a dynamic URL given a Category_ID and PageNumber that I feed to it. I have another couple of fun...
2
1,967
Dynamically scrollable Primefaces datatable
<p>We have a Primefaces datatable which has a non-fixed number of columns. Basically, some header columns contains "+" buttons that unfold other columns. Here are two pictures that show that behaviour: <a href="https://i.stack.imgur.com/V1Lvd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/V1Lvd.png"...
2
1,212
jmxtrans and kafka not working
<p>I am trying to get the Kafka metrics (version 0.8.2) to my grafana server. Unfortunately I can only get java.lang metrics, but no kafka metrics. Connecting with jmxtrans and jconsoel is now problem and I can see the MBeans of Kafka.</p> <p>Configuration of jmxtrans:</p> <pre><code>{ "servers" : [ { "port" : ...
2
2,121
Compiling libcurl for mingw32 (Windows) on mac os x 10.6
<p>I'm compiling libcurl for mingw32 as follows:</p> <pre><code>./configure --prefix=/Users/daniel/mingw32 "CFLAGS= -ABI=32" make make install </code></pre> <p>But when compiling a program using mingw32-gcc: </p> <pre><code>i386-mingw32-gcc -lcurl -o bin/remote-win.exe remote.c </code></pre> <p>i get:</p> <pre><co...
2
1,077
Occasional Crash with Custom View Controller Transition
<p>I've got a UIViewController that presents/Dismisses another view controller with a custom animation using the transitioningDelegate pattern introduced in iOS 7.</p> <p>I've noticed in my Crashlytics log files that this section of the code is occasionally crashing in production, and I haven't been able to sort out w...
2
2,756
How to simultaneously transition colour of nested children
<p>I am struggling to find the CSS that does 2 things, change the colour of all child elements, and do it as a transition. I've created a simple test case of the following <a href="https://jsfiddle.net/gr7gvz2f/" rel="nofollow">JSFiddle</a>:</p> <pre><code>&lt;div class="parent"&gt;Level 1 &lt;div&gt;Level 2 &lt...
2
1,262
Jasper with Spring -- so many logs from org.apache.commons.digester
<p>I have a thread <a href="https://stackoverflow.com/questions/12943030/outofmemoryerror-permgen-space-jasper-report-with-spring-running-on-tomcat">here</a> to demonstrate current issue in Spring with Jasper report. I have sorted out most of the issue with help from all geniuses from SO but still stuck on solving the ...
2
1,296
Rotate large images on Android
<p>I'm trying to rotate the large images made by the phone camera (8 megapixels). Just Bitmap.createBitmap with the rotated Matrix from the source Bitmap runs into OutOfMemoryError. That's why I'm trying to split into rotated pieces, and than combine them again into single rotated image to avoid holding in memory 2 lar...
2
1,741
Losing data in foreach loop
<p>Struggling with this project - I have a multidimensional associative array that is being parsed to pull out tablenames, fieldnames and data for insertion into a mysql db. In the array2query function, if the key:value is a top level pair, then the $tablename is set to 'project', otherwise $tablename=array name (disc...
2
1,059
Trying to get all installed packages on Windows 2012R2 and Windows 2008 Server
<p>I am trying to retrieve all the installed packages on Windows Server (2012R2 and 2008). Win 2012 has PowerShell V4 and Win 2008 has PowerShell V3.</p> <p>Tried using Poweshell command "Get-Package" but this works only for Powershell versions 5 and later.</p> <p>Tried to follow this below links but not able to get ...
2
1,881
Get a list of date Ranges from a list Of dates
<p>I am looking to get a list of date ranges (with Days) from a list of dates. </p> <p>There may or may not be consecutive dates but there may be consistent gaps in the week range (i.e. All Mondays, Wednesdays and Thursdays OR ALL Mondays and Sundays, it can be any combination from 1 to 7 days of the week)</p> <p>Exa...
2
7,473
URLSession.shared.dataTask Data is Always Empty When Hitting Node Express Endpoint
<p>I have a simple Node Express endpoint that I can successfully hit with curl:</p> <pre><code>curl --header "Content-Type: application/json" \ --request POST \ --data '{"lat":33.485834000000001,"long":-100.106417}' \ http://192.168.99.100:49160/login {"status":200,"data":{"userId":"bff37d9c-25a9-421b-aa58-eba0f...
2
1,226
PHPUnit not asserting Exceptions
<p>I am using phpunit 4.8.23 with laravel 5.2.</p> <p>One of my controller is throwing an HttpException as below.</p> <pre><code>throw new HttpException(403, 'auth_failure'); </code></pre> <p>and in Handler.php</p> <pre><code>if ($e instanceof HttpException){ return response()-&gt;json(array(...), $e-&gt;getSta...
2
1,027
iText7 adding SVG into PdfDocument and possible issues
<p>Regarding the answer of the question: <strong>How to add an SVG to a PDF using iText7</strong></p> <p>Here is a link <a href="https://stackoverflow.com/questions/50059456/how-to-add-an-svg-to-a-pdf-using-itext7/50059861#50059861">click here </a>! </p> <p>When I used the <strong>Sample java code</strong>, it came a...
2
5,909
Paginate search results in Cakephp
<p>I made a report of the databases created in a server, showing some row counters results from similar tables on those databases, using a table named Host to change the database configuration..Now I'm trying to add a simple search form in the same view to show only the macthed results. But I having problems with pagin...
2
2,465
Plotly Buttons with Dependent Interactions (Python)
<p>I am attempting to construct a Plotly 3D scatterplot with a large number of traces and several sets of buttons that determine which subset of the traces is visible. I would like for the buttons to interact in a manner that depends on the state of the other buttons. For example, suppose Button 1 and Button 2 belong t...
2
1,624
How to make a real flux request?
<p>I am starting to learn Webflux from Spring-boot. I learned that for an endpoint of a RestController you can define a Flux request body, where I expect a real flux stream, that is, the parts of the whole request come one after each other, and these parts can be processed also one after another. However after building...
2
2,856
ANDROID: Add checkbox after clicking a Button
<p>I'm trying to do an application that adds me new checkboxes whenever I click a button. Moreover the new checkbox has to take the name from the texteditor, that I already added. Could anyone help me?</p> <p>This is my MyAndroidAppActivity</p> <p><i></p> <pre><code> package com.example.myandroidapp; import android...
2
1,562
How can I save values from ratingBar in a database and show the mean of all values in a another ratingBar with the vote total?
<p>I already created register and login activities. When a user enters in the main activity, I want to show them a ratingBar made up of five stars (similar to the Play Store).</p> <p>When the user votes, the value of ratingBar should be saved in my database in a different table than the register table.</p> <p>This is...
2
1,640
Call oracle Stored Procedure with EF fail
<p>I have an oracle store procedure which take 2 strings and a date in input parametter and which give a ref cursor as output :</p> <pre><code>CREATE OR REPLACE PROCEDURE SCHEMA.MYPROSTO ( pPl IN VARCHAR2, -- Comma (;) separated pTy IN VARCHAR2,-- Comma (;) separated pDate IN mytable.myd...
2
1,059
Stateless & asynchronous web-server with PHP (and Symfony)
<p>TL;DR: I'm not sure this topic has its place on StackOverflow, but basically it's just a topic of debate and thinking about making PHP apps like we would do with NodeJS for example (stateless request flow, asynchronous calls, etc.)</p> <h2>The situation</h2> <p>We know NodeJS can be used as both a web-server and w...
2
1,501
ASP.Net TreeView control on MasterPage isn't always populated
<p>I'm working on my first ever ASP.Net project, and I seem to have been thrown in the deep end right away. All of my site files are stored in a database, so I'm using a VirtualPathProvider to access them. That part works well, but then I needed a site map that would dynamically pick up all the files since the user w...
2
1,946
Issue with configuration of cv2.VideoWriter and GStreamer
<p>I am having trouble setting up a GStreamer pipeline to forward a video stream over UDP via OpenCV. I have a laptop, and an AGX Xavier connected to the same network. The idea is to forward the webcam video feed to AGX which will do some OpenCV optical flow estimation on the GPU (in Python), draw flow vectors on the o...
2
2,657
Use width and max-width to wrap text in JOptionPane
<p>I don't have good HTML/CSS knowledge, so excuse any dramatic lack of knowledge. I'm working on a GUI in which I am producing a message dialog when an error occurs. This error message may be short or very long. I'm using the following code adapted from <a href="https://stackoverflow.com/a/14011645/3246372">this solut...
2
1,609
Read input from a .csv file of a linked list
<p>Im new with the knowledge of reading input from a file so i have no idea where i was wrong This is pretty much the code :</p> <pre><code>Reservation* res = new Reservation(); ifstream fin("data.csv"); while(!fin.eof()) { fin &gt;&gt; res-&gt;ID; fin.get()...
2
1,158
ORA - 00972 : identifier too long
<p>I am getting error (ORA - 00972 : identifier too long) while creating the view.</p> <p>Please find the view statement.</p> <pre><code>create or replace view ELVW_ATM_REC_HANDOFF_1 (Rectype ,Recseq ,Record_Type ,Record_Sequence ,MESSAGE_TYPE ,PAN ,PROCESSING_CODE ,TRANSACTION_AMOUNT ...
2
1,123
javascript slider not working
<p>I have this slider in a wordpress theme that it's not working. I have done all the settings right and it won't slide. Automatically or manually. From what I see eveyrthing seems tobe correct. I have also followed all the manufacturer instructions but can't seem to sort it out. Here is the website: www.casavulturului...
2
2,946
VBScript to Remove characters from Txt file except particular characters and align the result properly in single line
<p>I am trying to write VBScript to edit a text file, keep only relevent set of numbers in each line and remove all other characters.</p> <p>Here is the text file</p> <pre class="lang-none prettyprint-override"><code>Receive: Return Code: 0x00000000 00000000 08 . Receive: Return Code: 0x00000000 000...
2
2,389
How to split data to train and test ? Cross validation possible ? M-estimation or OLS?
<p>I have 26 observations to apply a simple linear regression but when I split the data to 70% for train and 30% for test data usually the results for the test data (R squared / P value) are not good. Is it because the samples for the test are too small ? 8 or 9 observation are not enough ? What should I do ? no random...
2
1,246
Remove duplicates Objects from List in Java
<p>I know this kind of question is asked in stackoverflow lots of time before. But my issue is little bit different and I could not find any similar scenario, so posting this question here</p> <p>Problem: I need to remove duplicate objects from ArrayList. Structure of my arrayList is as below</p> <pre><code>dataList....
2
1,535
Scipy Spearman Correlation Coefficient is NaN in Some Cases
<p>I'm computing Spearman correlation coefficients for interviewers. It works for Interviewer_1... I don't understand how Scipy interrupts interviewer_2 as having no correlation/0/nan.</p> <pre><code>import pandas as pd from pandas import DataFrame import scipy.stats df = pd.DataFrame({'Interviewer': ['Interviewer_1...
2
1,845
android runtime error using zxing barcode API , unable to find a class in the API
<p>I’m writing a vehicle barcode scanner activity using (zxing 2.2 API &amp; its core.jar) &amp; I’m starting to test the functionality before going further.</p> <p>I’m getting a "run time error" when trying to launch the activity.</p> <p><strong>Actual Error snippet : 10-08 04:36:49.308: E/dalvikvm(780): Could not f...
2
5,100
Android ACTION_IMAGE_CAPTURE intent crashes before returning to app
<p>I'm trying to receive the URI of an image taken via the Mediastore.ACTION_IMAGE_CAPTURE intent, but for some reason the default camera app (Google+) crashes before it even gets back to my activity and before my code reaches onActivityResult(). I suspect it has something to do with the way i'm crafting the intent, bu...
2
1,287
Focus removed while typing in edit text
<p>I have an <code>EditText</code></p> <pre><code>serialText = (EditText) findViewById(R.id.pinText); </code></pre> <p>Now onclick of somebutton, I should get the focus to edit text to write something. But when I click inside of edit text to write, focus is getting removed, i.e., whatever i type does not appear in th...
2
1,100
Sharing ng-model data between states in ui-router
<p>I cannot seem to be able to get this form to update my model. It worked using ng-route but I decided to changed to ui-router as I wanted to nest templates.</p> <p>I've tried a few things from here <a href="https://stackoverflow.com/questions/27696612/how-do-i-share-scope-data-between-states-in-angularjs-ui-router">...
2
1,198
Phoneme Recognition with PocketSphinx
<p>I need the real-time phoneme recognition from the microphone on Windows 8 Desktop. So I followed <a href="http://cmusphinx.sourceforge.net/wiki/phonemerecognition" rel="nofollow noreferrer">http://cmusphinx.sourceforge.net/wiki/phonemerecognition</a> and built pocketsphinx_continuous from the subversion source in VS...
2
7,268
thead position absolute not working in IE7
<p>I try to make a table header fixed when scoll down on pages. The problem is in IE7, the <strong>thead</strong> are not absolute but are showing in the "right" positions. It need to fly over the table. It works perfect in FireFox 11</p> <p>I have a table structure as follow:</p> <pre><code>&lt;span id="MyTable"&gt;...
2
1,832
Particle Sphere not fully drawn when looping through vertices
<p>I am drawing a sphere in THREEJS with particles. That works good.</p> <p>However i loop trough those points to animate(reposition them). Works just fine when i use widthSegments under 50(WidthSegement is the 2nd argument). Anything above 50 will stop being drawn.</p> <p>For reference:</p> <pre><code>SphereGeometr...
2
1,559
PowerShell script to execute if threshold exceeded
<p>First off, sorry for the long post - I'm trying to be detailed!</p> <p>I'm looking to automate a work around for an issue I discovered. I have a worker that periodically bombs once the "working" directory has more than 100,000 files in it. Preventatively I can stop the process and rename the working directory to ...
2
1,215
Intellij idea does not run IPython notebook properly
<p>i have conda installation with python 2.7.10 in windows 8, with installed ipython notebook and jupyter. when i try to run ipython notebook from console? it runs just ok. but from intellij idea i receive an error, like it doesn't see notebook installments:</p> <blockquote> <p>path\to\python\Miniconda3\envs\py27\py...
2
1,085
How to change Yup validation conditionally in ReactJs
<p>Hi all I have following code: <a href="https://codesandbox.io/s/material-demo-forked-gcqf5" rel="nofollow noreferrer">my code</a></p> <p>I have two custom inputs components first one is common input second one checkbox:</p> <pre><code> const MyTextInput = ({ label, ...props }) =&gt; { const [field, meta...
2
1,353
org.testng.TestNGException: Cannot find class in classpath:
<p>When i'm trying to run either TestNG Test or testng.xml I am getting this exception. </p> <p>I am using maven project and bitbucket Git for repostiory. I was able to run the testNG Test, testing.xml and also mvn test command as normal until today when I sync the maven project to GIT from Eclipse.</p> <p>I have tr...
2
1,163
http GET parameter SOMETIMES missing when using JSF
<p>I have a servlet filter that handles errors for both vanilla servlets and <code>JSF</code> pages.</p> <p>If an error is detected the user is redirected to an error page where he can give feedback. Then I try to read the value in the <code>ErrorBean</code> object. However, sometimes the error is not present - there ...
2
1,144
Multiple JSON File calls
<p>Can anyone help me out with the following. I have 2 JSON files:</p> <ol> <li><p>names.json: which has all the names age and address array (incase of mulitple residence) of each person. <code> { "people": [ { "name":"Peter Gabriel", "age":42, "address": ["location...
2
1,197
VBScript - Best way to confirm that the email has been received
<p>I sent an email to someone using this basic vbscript code and it works great but I want to confirm that the email has been received. Is there a way to do this? The code I use to send mail is:</p> <pre><code>Dim objMessage 'object mail Set objMessage = CreateObject("CDO.Message") objMessage.BodyPart.Charset = "utf...
2
1,292
Dynamically insert into SQLite from text file
<p>I am trying to create dynamical insert statements from text file, with only SQLite. </p> <p>What I have done so far, is to create the SQL query with necessary parameters, add those parameters during run time, and try to select.</p> <p>However I get error inside try block, when try to <code>cmd.ExecuteNonQuery();</...
2
2,549
I want the side bar display first and collapse after clicking the button and adding the dropdown to the side of the menu items using bootstrap
<p>I want the side bar menu using <code>bootstrap</code>.</p> <p>I want to hide the menu even in the large screen by clicking the button.</p> <p>When collpasing to the left side menu icons should display on the left side. </p> <p>Inside the menu item by clicking it dropdown to the side.</p> <p>Please tell me the so...
2
2,955
Deploy an AKS cluster inside an existing Vnet/sub-net using ARM templates
<p>I have an existing Virtual Network created with two subnets: <code>aks-subnet</code> and <code>persistence-subnet</code>.</p> <p>My goal is to create an Azure Kubernetes Cluster inside the <code>aks-subnet</code></p> <p>I am creating resource groups and resources <a href="https://docs.microsoft.com/bs-latn-ba/azur...
2
8,025
NullPointerExceptions in ColdFusion 9 and ColdBox on localhost
<p>I'm running CF 9.0.1 Developer and Coldbox 3.0.0 on my local machine (64-bit Windows Vista running 32-bit CF9 on Apache). I'm working on an application that I've checked out from SVN and deployed locally. Everything seems to be working correctly, but my application log is filling up with entries like this:</p> <pre...
2
1,347
Comparing two Bitmaps Issues
<p>I have a an Class that has a Bitmap property. I have implemented an Equals override for the object and I'm having an issue with Bitmap comparison. Here is what I have:</p> <pre><code>[Serializable] public class Contact { public string Name { get; set; } public Bitmap Photo { get; set; } public override...
2
1,428
Error: Unable to resolve module 'internal_package'
<h2>Background</h2> <p>I am using yarn as a package manager and I am attempting to create a mono-repo for a react-native application in conjunction with a web application using a common repo like so.</p> <p><a href="https://i.stack.imgur.com/GYoSu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GYoSu...
2
2,987
Displaying data based on checkboxes selection to html table
<p>I'm having really hard times displaying data based on multiple checkbox selection into a table.. I believe the while loop on post2.php might not be the right solution for this.. What i also have noticed is that the code works when string is posted, but not the array (multiple selection) <code>input type="checkbox" n...
2
1,372
Mongoose subdocs: cannot call method call to of undefined
<pre><code>TypeError: Cannot call method 'call' of undefined at Array.MongooseArray._cast (/Users/bodo/Documents/Repositories/EnabreNode/node_modules/mongoose/lib/types/array.js:78:15) at Object.map (native) at Array.MongooseArray.push (/Users/bodo/Documents/Repositories/EnabreNode/node_modules/mongoose/lib...
2
1,714
Send Web Push Notifications from Spring Boot to Angular app using ServiceWorker and Firebase?
<p>Ok the title is hopefully clear.</p> <p>So I'm having problem of sending <code>web push notification</code> to Angular app. I think it's some kind of configuration problem. I managed to register <code>ServiceWorker</code> within my web app but I don't now how to tell to Spring to send the notification to one particu...
2
1,817
IE8 jquery weirdness with .click() and .ajax() function
<p>Strange problem here...</p> <p><strong>UPDATE</strong></p> <p>After adding a lot more server side debugging, I found that <code>handleLookupButton($("#select-circuit").val());</code> and <code>handleLookupButton($(this).text());</code> both do call the ajax function with the same values. </p> <p>The problem is t...
2
2,699
Classification using categorical input data and image input data
<p>I have a tiny dataset of around 300 rows. Each row has: Column A: An image, Column B: Categorical text input, Column C: Categorical text input, Column D: Categorical text output</p> <p>I am able to use a sequential Keras model on the image input data alone (Column A) to predict the output (Column D), but the accura...
2
1,455