title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
TF object detection API detection model retraining: "object_detection.protos.TrainConfig" has no field named "fine_tune_checkpoint_version" | <p>I'm retraining ssd_mobilenet_v2_coco_2018_03_29 using Tensorflow Object Detection API and I get this particular error on both Windows and Ubuntu environments.
My environment below is Windows 10 with python 3.6.9, cuda 9.0, and tensorflow 1.15 I used protobuf 3.13.0.
I did the installation test and it was okay, so no... | 2 | 8,161 |
Working with knockout.js & flipclock.js | <p>I am developing a basic time tracking chrome extension and have run into an issue integrating FlipClock.js (a jQuery plugin) with Knockout.</p>
<p>The goal is to have a foreach binding template the relevant HTML and instantiate a FlipClock; up to a total of four FlipClocks. Currently, I'm getting the following erro... | 2 | 1,211 |
com.google.zxing.NotFoundException for all possibility to decode image containing barcode | <p>i'm using zxing core and integrated with my android app which takes picture. I'm giving bitmap picture input to RGBLuminanceSource. But every time i'm getting NOTFoundException. I do not want to integrate with zxing barcode scanner via intents or CaptureActivity. Here is the code.</p>
<pre><code> Map<Decod... | 2 | 2,373 |
Ruby - Writing a program that guesses letters in a word | <p>Background: Using a class, I'm building a hangman-like game where player 1 enters a word to be guessed, and player 2 attempts to guess it. The number of guesses allotted to player 2 is relative to the word in question, but repeated guesses do not count against the player.</p>
<p>Each guess should provide continual... | 2 | 1,151 |
Get header/caption centered above 2-column table | <p>I've temporarily inherited the responsibility to look after the website front end to our project as our web maintainer has just left and there isn't a replacement yet (and I'm a summer student anyway, so I'm off soon too...). I'm not very experienced with HTML/CSS/etc, and I'm having some problems getting a table fo... | 2 | 1,536 |
Select data from MySQL using android volley post request and display it in recyclerview | <p>What I want is that when someone(user) click's a button on main activity two values will be send to the php file with the help of volley POST request, say minvalue and maxvalue, and it will select the data accordingly from mysql database.</p>
<p>Here's my code for POST request:</p>
<pre><code>public void FilterPow... | 2 | 1,740 |
Use Model Display name for Blazor Validation message from Custom InputSelect | <p>As we know Blazor doesn't support Int option select for <code><InputSelect></code> (but support string & Enum) and we get the following error message:</p>
<p>Error: System.InvalidOperationException: Microsoft.AspNetCore.Components.Forms.InputSelect<code>1[System.Nullable</code>1[System.Int32]] does not sup... | 2 | 1,408 |
error encounter during mezzanine's deployment with Apache2 wsgi | <p>I tried the mezzanine, and excited about it. deploy it to ubuntu server + apache2 + mod_wsgi.
but i cannot insert a image, cannot see the browse window.
and when i try visit /gallery/, always an error occcurred.
i am new and desperate, please kindly help.</p>
<p><em>WSGI.PY</em></p>
<pre><code>import os, sys, s... | 2 | 1,784 |
Configure common log4j xml for multiple sub projects | <p>I am trying to use a common log4j xml for subprojects in tomcat. There is a Parent project deployed already and part of the parent project are three other projects. Two projects A and B already exist and the logging works fine. I am adding a new project C and updated the log4j like below. I do see the ProjectC.log f... | 2 | 1,285 |
Laravel 5.2: Session store not set on request. Error for Blade Templates with old() | <p>I am testing with PHPUnit 4.0, Laravel 5.2, PHP 5.5.9, and keep getting the error ERROR: exception 'RuntimeException' with message 'Session store not set on request.' in /var/www/html/vendor/laravel/framework/src/Illuminate/Http/Request.php:85</p>
<p>To rule it out, middleware is enabled.</p>
<p>If I remove {{ old... | 2 | 1,449 |
Overflow in Table TD width relative width | <p>I am struggling with this problem for quite a while now and can't find a proper solution to my problem.</p>
<p><strong>What I have:</strong></p>
<pre><code><div style="width:150px; border:1px solid #000;overflow: auto;">
<div>SOME TEXT</div>
<table style="width:100%; border:1px solid #... | 2 | 1,427 |
sequence contains more than one element code first add-migration | <p>The below is the entity, when I am going to add-migration, it is giving me exception. </p>
<pre><code>public class MyEntity
[Key]
public int ID { get; set; }
public string Name { get; set; }
[NotMapped]
public HttpPostedFileBase DiagramFMCDocumentUpload { get; set; }
//[ForeignKey("DiagramFMCDocumentID")]... | 2 | 2,031 |
Move to new view after contact is select from CNContactPickerViewController | <p>I'm writing a concept chat app. I'm now at the point where a new chat could be started.</p>
<p>What I want is that when the user selects a contact using the <code>CNContactPickerViewController</code>, the picker is dismissed (this is working) and the contact details are send to a new chat view (this is not working).... | 2 | 1,498 |
Preventing threads from processing further once call to stop is being made | <p>I have a windows service which will start and stop the execution of some process that is being done with the held of Threads.</p>
<p>I have two classes as follows:</p>
<pre><code>public class PerformTask
{
Thread _thread = null;
public void StartTask()
{
_thread = new Thread(new ThreadStart(DoS... | 2 | 1,550 |
DotNetOpenAuth.Messaging - Protocol error: This message has a timestamp of {0}, which is beyond the allowable clock skew for in the future | <p>I got a error from openid provider</p>
<blockquote>
<p>2010-08-26 16:54:30,240 (GMT+4) [26] ERROR DotNetOpenAuth.Messaging - Protocol error: This message has a timestamp of 26.08.2010 16:54:37, which is beyond the allowable clock skew for in the future</p>
</blockquote>
<p>What is the reason of such error?</p>
... | 2 | 11,737 |
Datatables yadcf plugin filling select filters with data from server | <p>First of all I'm grateful for this amazing plugin.</p>
<p>I'm using yadcf version 0.8.8.beta.10.</p>
<p>I'm trying to fetch select filter data from server. But when table is initialized select data is taken from dom. If I hit filter button to call exFilterExternallyTriggered(table) or I press column sort button da... | 2 | 2,433 |
Parallel processing with bash '&' command | <p>I am trying to run a single R file multiple times at the same time with different arguments. <code>GNU Parallel</code> is not an option for me because I am running this on a server where I'm not authorized to install Parallel. So I chose the bash command &.</p>
<pre><code>command1 & command2 & command3 ... | 2 | 1,034 |
Best way of patching datetime in Django unit tests | <p>I am using a home brew <code>datetime.datetime</code> mock to patch out datetime throughout the code (see at the very bottom), but other people seem to hit problems understanding how it works, and hit unexpected problems. Considered the following test:</p>
<pre><code>@patch("datetime.datetime", FakeDatetime)
def my... | 2 | 1,687 |
Form Validator to check option and select check not functioning | <p>I am having a issue with this script, I need the Form Validator as programed on the bottom to first check whether the radio with the select is targeted and then and only then request a time from that specific radios dropdown. It seem to be complete if i can get the:</p>
<pre><code>if (document.getElementById('first... | 2 | 1,698 |
How to test onclick api call with react | <p>I have 3 react components and when the user clicks on USER_CARD in header then an api is called and the response is displayed in TwitterList component. I have no experience with unit testing, so what are the unit test needs to be done and how? I have read about enzyme and jest but not sure about the implementation.<... | 2 | 2,485 |
Asp.net Routing wrong MIME type for .css files served with UrlRoutingModule and PageBuildProvider | <p>I need to route request like:</p>
<ul>
<li><a href="http://www.site.com/channel1/somestring" rel="nofollow">http://www.site.com/channel1/somestring</a></li>
<li><a href="http://www.site.com/channel1/otherstring" rel="nofollow">http://www.site.com/channel1/otherstring</a></li>
<li><a href="http://www.site.com/channe... | 2 | 1,314 |
How do I access another field using vuelidate | <p>I'm making some validators on a form for shipping using vuelidate. Currently I'm checcking if the postalCode is in the right format. This field is dependent on the country field though (because different countries have different postal code formats. I'm having trouble accessing the viewmodel itself though, and I don... | 2 | 1,068 |
mysql.rb:6:in `r equire': cannot load such file -- mysql/mysql_api (LoadError) | <p>On Windows 7, Getting following error when trying to start server [rails s]</p>
<pre><code>C:/Ruby200/lib/ruby/gems/2.0.0/gems/mysql-2.9.1-x86-mingw32/lib/mysql.rb:6:in require': cannot load such file -- mysql/mysql_api (LoadError)
from C:/Ruby200/lib/ruby/gems/2.0.0/gems/mysql-2.9.1-x86-mingw32/lib/mys
ql.... | 2 | 1,195 |
Building Qt Android App fails | <p>I'm using Qt5.4.1 on Ubuntu 14.04. I've installed Android SDK Tools 24.1.2, Android SDK Platform-tools 22, Android SDK Build-tools 22.0.1 and API22 in the Android SDK Manager.</p>
<p>I have installed java-7-openjdk-amd64 and added the paths to the Android SDK, Android NDK, java-7-openjdk-amd64 and apache-ant-1.9.4 ... | 2 | 3,469 |
Show contents as per the selected tabitem in WPF | <p>I have an application named <strong>App Window</strong>. In which i need to display the installed apps in the tab items. Each tab item contains the data about its corresponding application. If a new app installed, then window will create a new tab item for the newly installed app. </p>
<p>*I have done upto creatin... | 2 | 1,675 |
Camera2 API running in background service | <p>I have used the <code>Camera2</code> API to implement a background video recorder running as a service and recording from the front cam. For this I have created a new <code>SurfaceView</code>, set its size to 1x1 and moved it to the top left corner. My code is shown below. I'm using Android 5.1.</p>
<p>With the Cam... | 2 | 3,423 |
Error: [Expression expected] using ByVal modifier | <p>I was hoping to get help from you, because I am encountering errors for a project using VB.net. I am having errors in using the ByVal modifier. And the 7 errors all says "Expression Expected".</p>
<p>I get Errors on lines 97, 103, 103, 112, 112, 146, and 146. A total of 7 Errors.</p>
<p>Here they are:</p>
<p>97:<... | 2 | 3,218 |
How to display dynamical content from a remote file in bootstrap modal using php? | <p>I have following table that shows some info and calls a remote modal box.</p>
<pre><code><table>
<tr>
<td>ID</td>
<td>Name</td>
<td>Family Name</td>
<td>Country</td>
<td>OK</td>
</tr>
&l... | 2 | 1,593 |
strstr char array inside struct array | <p>I have a struct defined as;</p>
<pre><code>struct player {
int no, age;
char name[20];
} players[10];
</code></pre>
<p>Array is filled from file. What I try to do is, take input from user, add input to char array, send it to search(char lookup[]) function and <code>strstr</code> name field in a loop.<... | 2 | 1,336 |
How to display ContentView in a CollectionView in Xamarin Forms | <p>I am trying to use an ObservableCollection of controls (ContentViews) in a CollectionView. The collection of ContentViews are currently being created and populated in the ctor of my ContentPage. I then set the ItemSource of the CollectionView to the property on the page that hold the ObservableCollection. My problem... | 2 | 5,196 |
how to append data in xml using powershell | <p>I have below script which will create xml with data.</p>
<p>======================================================================</p>
<pre><code>$xmlPath = "D:\Users\admin\Desktop\Report.xml"
$date = Get-Date -UFormat %m/%d/%Y
if ( ! ( Test-Path $xmlPath ) )
{
# Create The XML
$global:xmlWriter = New-Obj... | 2 | 1,215 |
How to rollback a transaction in Date Entity Framework | <p>I am trying to use the Data Entity Framework to create my Data Access Layer. In the work I have done up to now I have used ADO.Net. I am trying to get my head around how transactions work in EF. I ave read loads but its all confussed me even more than I was before!! I would usually do somethink like (simplified f... | 2 | 1,553 |
Present a popover from a UITabBarItem in swift | <p>I found a lot of examples showing how to present a popover from a UIBarButtonItem, but I want to know how to present it from a UITabBarItem instead. </p>
<p>Here's what I have so far</p>
<pre><code>let selectedItem = self.menuTabBar.items![3]
let menuViewController: ActivityPopoverViewController = storyboard.... | 2 | 1,053 |
JavaScript White Space Validation not working | <p>I have written JSP code and I need to check white space validation, But it is not working can someone tell me the reason. While clicking submit button it must validate for white space and characters.</p>
<p><strong>JSP Code</strong></p>
<pre><code><%--
Document : LapsePeriodicFeedBack
Created on : De... | 2 | 2,135 |
jQuery Mobile with my Contact Form | <p>Can't get jquery mobile to work with my contact form. </p>
<p>Have validation using jquery.validate.js. If I use this, the select menu does not work on mobile.</p>
<p>Also on Submit, it gives "error loading page".</p>
<p>These are the JS and CSS files being used in this order. Please help</p>
<pre><code> &l... | 2 | 1,031 |
Passing parameters to server side code on a jqGrid edit row | <p>I am trying to use JQgrid and edit my objects. However, I don't know how to pass parameters to the server side code. Here is my jq code:</p>
<pre><code> jQuery("#tblList").jqGrid({
url: 'CityList.aspx/GetList',
editurl: 'CityList.aspx/GetList',
mtype: 'POST',
datatype... | 2 | 1,277 |
AttributeError: 'int' object has no attribute 'tk' | <p>I'm essentially trying to continuously update a graph embedded in a tkinter GUI window and am using the <strong>after</strong> function to call the update function after a specified time (10 ms). I get the above error as the callback is executed, however, and I am quite new to tkinter and Python OOP so I could very ... | 2 | 1,096 |
importing mysql data with pyspark: An error occurred while calling None.org.apache.spark.api.java.JavaSparkContext | <p>I am new with <code>pyspark</code> and want to work with <code>SQL</code> data. Here is what I done so far. </p>
<ul>
<li><p>I can import <code>JSON, TXT, CSV</code> file formats into spark with no problem. </p></li>
<li><p>I cannot for some reason connect to mysql (hosted locally : <code>127.0.0.1</code>)</p></li>... | 2 | 2,739 |
Generate Odoo11 Custom Reports with Wizard. Format error: Not a PDF or corrupted | <p>i'm trying to print an Odoo custom report based on a wizard.
it takes inputs from a wizard view. The wizard lets the user select a project with start_date and end_date. and click print button. so the list of activities that match the wizard form fields filter should be printed in a <code>PDF</code>. but i got a <cod... | 2 | 2,322 |
color grid cells in the United States and Canada | <p>I would like to color grid cells in the United States and Canada. My goal is very similar to this question: <a href="https://stackoverflow.com/questions/11164974/r-plot-filled-longitude-latitude-grid-cells-on-map">R Plot Filled Longitude-Latitude Grid Cells on Map</a> However, that question only deals with the Uni... | 2 | 1,353 |
Cannot bind operator << in cpp | <p>Guru,</p>
<p>Given two classes defined as follow (attributes, methods, and implementation omitted) :</p>
<pre><code>struct A { friend std::ostream& operator << (std::ostream& o, const A& c); };
struct B { friend std::ostream& operator << (std::ostream& o, const B& c); };
</code>... | 2 | 1,652 |
Restart asyncio loop in exception? | <p>I want each time a exception is thrown like 502 HTTP error or Floodwaiterror to restart the loop or continue but i dont know or figure out how to do it </p>
<p>Code:</p>
<pre><code>import time
from telethon import TelegramClient,errors
from telethon.tl.functions.photos import UploadProfilePhotoRequest
import os
i... | 2 | 2,556 |
Why Does UITableViewCell Have Auto Layout Constraint Conflicts | <p>I have a UITableViewSubclass (style: UITableViewCellStyleValue1) that has a custom label that is essentially a replacement for the normal <code>textLabel</code> label. It should be left aligned with the normal <code>textLabel</code> but has a width to end 8 points to the left of the normal <code>detailTextLabel</cod... | 2 | 1,541 |
Pig Latin in MIPS Assembly | <p>In my MIPs Assembly Programming class I've been tasked with writing a program that converts a string into simplified pig latin.</p>
<p>Simplified pig latin assumes all words in the string are at least 2 characters long, and every word has its first letter shifted to the end followed by "ay". Also, assume there are ... | 2 | 1,105 |
$destroy event not being called on navigation | <p>I have registered for hardware back button event <code>registerBackButtonAction</code> inside my controller and using <code>$destroy</code> event to unregister the event. But the event is not getting called when I navigate to different page (state). What am I missing?</p>
<pre><code>.controller('HomeCtrl', function... | 2 | 1,106 |
Understanding Memcache | <p>I am a newbie android developer. I am trying to build a app engine based application. I could make it work on for now but I realised I need to use memcache to optimize database accesses. But I have a bad time understanding some basic concepts. So my questions are as follows:</p>
<ol>
<li>Is memcache programming onl... | 2 | 1,404 |
Why does scipy.interpolate.griddata hang when used with multiprocessing and OpenBLAS? | <p>I have random samples of 3D data (x,y,z) where x and y are spatial dimensions and z is a function of its position on the plane: z = f(x,y). I want to evaluate this function over a regular grid using interpolated values from the samples.</p>
<p>Each set of samples is in a different file and needs to be interpolated ... | 2 | 2,166 |
Bootstrap4 sticky-top (sticky navbar) not working properly | <p>I have made a navbar in my html page and added the Bootstrap 4 class <code>sticky-top</code> to it. </p>
<p>The problem is that, it sticks to the top till half of the screen is scrolled, but then the sticky property doesn't work and the navbar goes upward as the page is scrolled.</p>
<p>Why is it happening that it... | 2 | 5,406 |
How does History in jQuery Mobile work? (in particular when involving the back button) | <p>This history thing on jqm is driving me nuts... and every time I think I have the solution, it slips from my grasp.</p>
<p>Here's the thing: I'm developing a dynamically generated content app. The pages are generated from JSON files and rendered using jsRender. They are loaded into the DOM (I'm using a jqm multi-pa... | 2 | 1,037 |
Different authentication for different classes using Restler | <p>I'm trying to build a REST api(using Restler) which takes in username and password for login and generates a session key. Once sessionkey is generated, user will be able to pass this session key to access other classes in the api. Is it possible to get the name of the class that invokes <code>__isAuthenticated</code... | 2 | 1,275 |
Propagate Click from QML Combobox | <p>I have a Listmodel where the delegates get selected/highlighted when they are clicked on. However when I click on a Combobox, which is part of the delegate, the delegate does not get selected. </p>
<p>Is there something like propagateComposedEvents which could propagate the click to the MouseArea of the delegate? <... | 2 | 1,210 |
ImageView still visible after setVisibility(View.INVISIBLE) | <p>I am trying to make a camera app that shows an overlay when a picture is taken.
When this overlay is shown the other UI components (except for the FrameLayout that shows the picture) should go invisible.
But it seems that while my 2 imagebuttons go invisble, my imageview(ivCompass) doesn't.</p>
<p>Here is the code ... | 2 | 5,465 |
Keith-Wood Datepick (month to a line) | <p>I want to use keith wood datepick as it is in the example :
<a href="http://keith-wood.name/datepick.html?#layout" rel="nofollow">here</a></p>
<p>the first one that draws a month in one line.</p>
<pre><code> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<htm... | 2 | 1,629 |
Akka remoting in Java : no result from remote | <p>I am running sample example for akka remoting (2.0.2) in java (1.6) and not getting results from remote. It seems that my local node is not able to connect to remote note.</p>
<p>LocalNodeApplication code is on local system and RemoteNodeApplication code is on remote system.</p>
<p>Please refer code :</p>
<p>Loca... | 2 | 2,557 |
not get the value of latitude and longitude in google map in android | <p>I am using the GoogleMap. and It is display current position currectly but latitude and longitude are display 0.0 in system.out.println in displayMap() method. My question is why not display current latitude and longitude?</p>
<p>I send you my code. please check my code and suggest me that how to fetch value of cur... | 2 | 1,842 |
Mybatis mapper file, parameter was changed to null in foreach statement | <p>Okay, I am trying to generate sql for a <code>Map<String,List<String>></code>, I am having a nested foreach statements to generate sql. This is my mybatis xml mapper file:</p>
<pre><code><select id="UserScaleResult.listAccordingToScaleBrief" resultType="java.util.Map">
select distinct uu.id as... | 2 | 1,446 |
Update-Module not finding PSGallery repo in script as a scheduled task | <p>I have a scheduled task which runs an exported function from my PowerShell module which is hosted at <a href="https://powershellgallery.com" rel="nofollow noreferrer">powershellgallery.com</a>. The function performs a check against the built-in PSGallery repository to see if a newer version is available and if so, u... | 2 | 1,302 |
"TypeError: e is null" when trying to preload webpage with jQuery | <p>I am trying to preload a webpage with jQuery based on this answer:
<a href="https://stackoverflow.com/questions/23724793/preload-webpage-with-jquery?noredirect=1&lq=1">Preload Webpage with jQuery</a></p>
<p>I have <code>loader.html</code>, <code>second.html</code> and <code>loader.css</code> all in the same fol... | 2 | 1,290 |
Powershell scheduled job; Internet Explorer not visible | <p>I'm trying to create a PS logon script that will listen to a serial port, pass on the data to its original application, parse the data, and use the result to open an internal server and display an information page relating to the data.</p>
<p>I've gotten it working from an active powershell session, but when I run ... | 2 | 1,703 |
Execute two query from mysql in same page by passing value in url | <p>I have created a page in php
I want to show when user type in weektable.php it should show all the value i.e it should execute this query</p>
<pre><code> $sql = "SELECT * FROM `battery`";
</code></pre>
<p>above query display all the value.</p>
<p>and when user type in url weektable.php?sort=w it should execute th... | 2 | 1,072 |
Clearing state and input values between parent and child components in React | <p>Two part question here: First, can anyone explain to me why this.state.taskName and this.state.taskBody and their corresponding inputs aren't clearing after submitting the form? In handleSubmit() I'm using this.setState() to set their states to an empty string, but it doesn't seem to be working. It also wont let me ... | 2 | 1,846 |
Render problem in Preview of Navigation Drawer in Android Studio | <p>I am having a problem with Preview of generated Navigation Drawer layout in Android Studio 3.4.</p>
<p>I've tried to change layout Theme or change API version for Preview but none of these seem to help. The Render problem's error trace looks like this:</p>
<pre><code>java.lang.IllegalArgumentException: java.lang.C... | 2 | 2,468 |
Apache fop, XSL FO: Occasionally adds empty page at the end of flow in page sequence (not the last one) | <p>Using apache-fop 1.0 also tried 2.1 with the same behaviour.</p>
<p>My Questions:</p>
<ul>
<li>Why is the empty page generated? </li>
<li>How can the page numbering be as
weird as Page 4 of 3? </li>
<li>How can I omit the empty page, while keeping
the page numbering?</li>
</ul>
<p>The Scenario:</p>
<p>Using the... | 2 | 10,883 |
ASP.NET Core 3.1 'Cannot resolve scoped service from root provider.' | <p>I am trying to identify the issue I am facing here with my middleware injection. I have added an 'Audit' trail to my application by forwarding requests via HttpContext to my SQL Server DB which then can be viewed by admins in my application under my Events Controller/View.</p>
<p><strong>My StartUp.cs is as follows:... | 2 | 3,051 |
Asynchronous function call inside for loop | <p>I am having a problem trying to make my for loop behave synchronously when I am making an asynchronous call in each iteration of the loop.</p>
<p>Here is my code:</p>
<pre><code>pipeline: function(userContext, options, done){
var orderData = [];
options.data.forEach(function(store, index){
store.... | 2 | 1,061 |
Intent not opening pdf file | <p>i found this answer <a href="https://stackoverflow.com/a/10689094/11520105">https://stackoverflow.com/a/10689094/11520105</a> ,and i tried this code ,it pops up dialog to select pdfviewer and when i tap Adobe reader then it simply just launches adobe reader but doesn't launch pdf file</p>
<p>code snippet</p>
<pre>... | 2 | 1,172 |
I am using db forge for database migration.add_foreign_key add keys from first created table to second one | <p>I am using db forge for database migration in ci.When I add foreign key in first created table. It works but in second table foreign key from first table inherit so it create problem to create the sencond table. Here is my code</p>
<pre><code><?php if (!defined('BASEPATH')) exit('No direct script access allowe... | 2 | 4,734 |
Can MULE post XML-file over HTTP from local directory? | <p>I need to transfer XML-files over HTTP POST. Can Mule be configured to do this. I've been trying with an easy flow, inbound file --> outound HTTP but it's not working. Does anyone have any experience of this?</p>
<pre><code> <flow name="rpg_uploadFlow1" doc:name="rpg_uploadFlow1">
<file:inbound-endp... | 2 | 1,312 |
AMQJSC0001E Connect timed out error while connecting from Paho to mosca | <p>Im new to IoT world ,
I'm trying to connect server through mqtt protocol, using paho in FE.
Backend is in node and mosca as broker.
while i try to listen to top from angularjs app , getting these following message.</p>
<pre><code>WebSocket connection to 'ws://127.0.0.1:1996/mqtt' failed: WebSocket opening handshake... | 2 | 1,828 |
Spring Data exception furing MongoRepository init | <p>I am getting an exception when using <strong>pf4j</strong> with <strong>Spring Data</strong>.</p>
<p>My project structure is a web application <strong>org.home.server.communication</strong> (war) which is deployed into Tomcat and uses <strong>Spring MVC</strong>. It loads loads a <strong>pf4j</strong> plugin - <str... | 2 | 8,472 |
Teradata import error - import complete but no data inserted into columns | <p>I am using Teradata's SQL Assistant to load data into a table. File has matching columns with same layout. Any ideas of why this would complete the import but not insert any data into the table?</p>
<p>Here is the SQL for the table and for the insert...</p>
<pre><code>CREATE MULTISET TABLE DLAB_MARKETING.ProfileAt... | 2 | 1,693 |
nim: Use a static library | <p>I've tried to get an audio library statically linked to my program. I use <a href="https://github.com/zacharycarter/soloud-nim" rel="nofollow noreferrer">this</a> nimble package. To get it run, i had to build the soloud library as described <a href="http://sol.gfxile.net/soloud/premake.html" rel="nofollow noreferrer... | 2 | 2,322 |
Search View with collapseActionView|always does not work on Action Menu | <p>In an AppCompat activity with context action bar</p>
<p>Trying to add android.support.v7.widget.SearchView to the action mode menu
the searchView doesn't expand</p>
<pre><code>using appcompat-v7:25.2.0
</code></pre>
<p>menu Resource file</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<menu xmlns:... | 2 | 1,157 |
MS SQL: return HTML from SQL PIVOT RESULTS with dynamic name/number of columns | <p>I am using MS-SQL 2008 and have a dynamic SQL query in a Stored Proc. that generates results using PIVOT. The last columns of the pivot table can change both in the number of columns and the names based on user provided parameters. </p>
<p>The user is able to select/provide the number of months prior to the curre... | 2 | 2,076 |
gst-rtsp-server gst_rtsp_client_close | <p>I am using gst-rtsp-server and I want to be able to close an ongoing stream from the server. I am trying to use the <code>gst_rtsp_client_close()</code> function. However, when I call it the application sometimes becomes unresponsive. In the log I can see: <code>GLib-CRITICAL **: g_main_context_unref: assertion 'g_a... | 2 | 2,083 |
NDSolve inside NDSolve in Mathematica | <p>I need to use NDSolve which in turn uses the solution from another ODE as function in terms of output from another NDSolve.</p>
<p>If I use the exact solution from the first differential equation inside the NDSolve, it's OK. But when I use the same solution in the form of function (which uses InterpolatingFunction)... | 2 | 1,472 |
Use of "USB4JAVA.jar" to get information about attached devices in linux | <p>I google about getting information of USB attached to linux OS and found that USB4JAVA is very helpful to do the same. I found sample code as below. Now after running it i got Exception of "java.lang.ExceptionInInitializerError". </p>
<p>Code that i used :</p>
<pre><code>import org.usb4java.ConfigDescriptor;
impor... | 2 | 2,530 |
Can you have an expander do an overlay overtop of other visual tree elements in WPF? | <p>The problem is cosmetic more than a data problem. Is there a simple way to put element of </p>
<pre><code><Expander>(contents)</Expander>
</code></pre>
<p>in a popup or something else to make it just overlay over top the other elements? </p>
<p>XAML: (I just did a simple For loop to populate the bindi... | 2 | 1,097 |
Interceptor break web service ssl connexion | <p>I have an ejb endpoint webservice secured with ssl (glassfish 3.1.2 and jax-ws)
I'm logging users activties using an interceptor :</p>
<pre><code>@Statless
public class WebServiceInterceptor {
@Resource
WebServiceContext wsContext;
@AroundInvoke
protected Object audit(InvocationContext ctx) throws... | 2 | 5,396 |
Update ViewPager's Fragments from another class: | <p>Following this question:</p>
<p><a href="https://stackoverflow.com/questions/16671695/how-to-recreate-all-fragments-in-viewpager">How to recreate all fragments in ViewPager:</a></p>
<p>I have those classes:</p>
<pre><code>public class ViewPagerAdapter extends FragmentPagerAdapter
{
private List<Fragment> f... | 2 | 1,288 |
WPF DataGrid disable cell edit based on value | <p>I have a WPF <code>DataGrid</code> populated with an <code>ObservableCollection<ZeroConnection></code> named <code>ZeroTable</code>. If <code>ZeroTable.NetID == 0</code> the <code>DataGrid</code> row should be disabled and that works. Furthermore if <code>ZeroTable.Number == ""</code> editing of that particula... | 2 | 1,884 |
how to display multiple images on laravel view | <p>i need help displaying multiple images on laravel, so far I can upload and save the images to the path <strong>public_path().'images/listing/'.$listing->id.'/'.$name;</strong>.</p>
<p>but I not sure how to display each individual image path correctly on my blade file and display the saved images</p>
<p>my Listin... | 2 | 3,213 |
SwiftUI access global state from ViewModel | <p>I am experimenting with SwiftUI and having a hard time figuring out the proper architecture for my app.</p>
<p>What I am trying to achieve is simple. I want to have an initial screen that either show a sign up screen or the home screen for a given user depending on current authentication state. I cannot figure out ... | 2 | 1,048 |
JAVA Implementing Interfaces | <p>I am working on an assignment in my JAVA class I'm stuck on. Basically I have a Product class as shown below. Then, I have a ProductDBImpl class that is to implement a ProductDB interface which is also shown below. The ProductDB is supposed to be a database of different products. Finally, the ProductDB interface is ... | 2 | 1,735 |
changinge from sqlalchemy to postgresql and got the error with relationship | <p>Hi I had database many to many relation and for bestfriend one to one relationship which works perfectly with sqlalchemy now I change it to postgresql and got the</p>
<p>errornvalidRequestError: On relationship <code>Users.is_bestfriend</code>, 'dynamic' loaders cannot be used with many-to-one/one-to-one relationsh... | 2 | 2,527 |
Issue installing python 3.8 using pyenv | <p>I tried installing python using the command pyenv install 3.8.11</p>
<p>Please let me know if you need more info. Thank you for looking.
output:</p>
<blockquote>
<p>BUILD FAILED (Ubuntu 20.04 using python-build 20180424)</p>
</blockquote>
<pre><code>Inspect or clean up the working tree at /tmp/python-build.202108211... | 2 | 1,927 |
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (1045, "Access denied for user 'root'@'localhost' (using password: NO)") | <p>So i am trying to build a simple blog website where i am using Flask and flask_sqlalchemy.
Here i am trying to add the information ( Name,email id etc) <a href="https://i.stack.imgur.com/q5F8d.png" rel="nofollow noreferrer">UI part</a> and then on button click , it will save to localhost/phpMyadmin.</p>
<p>Here it i... | 2 | 5,807 |
Converting from nested <c:forEach> to <display:table> | <p>I have the code below that I want to convert to <<code>display:table></code>, but I am not sure how to display the content of the second <code><c:/forEach></code>.
Basically, my table displays students and enrolments related to them. Each student contains a list of enrolments. Each pair one one student ... | 2 | 1,790 |
How do I fix SyntaxError: Cannot use import statement outside a module using Jest? | <p>I have tried just about every single tutorial and approach to get Jest to recognize import statements. However, I cannot find a working solution in 2021.</p>
<p>Things I have tried:</p>
<ul>
<li>All of the advice from <a href="https://stackoverflow.com/questions/35756479/does-jest-support-es6-import-export">this</a>... | 2 | 1,802 |
Import Users and user groups from LDAP in Liferay portal 6.2 | <p>I'm trying to import users from an Ldap server.</p>
<p>Here is my Ldap users :</p>
<p><a href="https://i.stack.imgur.com/O5YgY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O5YgY.png" alt="enter image description here"></a></p>
<p>Liferay Portal ldap settings:</p>
<p><a href="https://i.stack... | 2 | 1,918 |
How to get SVG background image to bottom of container? | <p>I'm trying to use a SVG as a background-image on a pseudo element. The image isn't as tall as the container so I want to position at the bottom of the container and have the background color take up the top, making it look seamless. I can get the image to the bottom of the container if I use negative margins but I'm... | 2 | 1,189 |
Encryption method for iPhone and Android | <p>I have tried to generate an encrypted text using AES algorithm In both ( Android and IPhone ) platforms but the problem is even we use the same encryption decryption library (AES-128) and with the same fixed variables ( Key , IV ,mode) but I get two different result for them.</p>
<p>I appreciate any help . :(</p>... | 2 | 2,086 |
How can i get UIPickerview to update UILabel automatically | <p>I have a converter app, and i want it to update the label whenever im typing the numbers (that should be converted) into the text field. I want it to update automatically so i dont need to pick the units on the wheel again for it to update. </p>
<p><img src="https://i.stack.imgur.com/cF0eR.png" alt="enter image des... | 2 | 1,102 |
Perlin Noise function returning same results for different inputs | <p>I am using a perlin noise function to generate data for a game I am making, but for some reason it keeps returning the exact same results for different inputs. I spent like 4 hours trying to debug this on my FBM function and couldn't figure it out so I tried Ken Perlin's improved noise function and the same thing ha... | 2 | 1,126 |
How do I make a Pause/Play cycle button on an image slider using jQuery and make the image fade in and out smoothly and without flashing? | <p>Im still very new to javascript and finding it a little hard to get my head around it.</p>
<p>I would like the pause/play button to be one button and cycle through when it has been clicked on. </p>
<p>I was also wondering how to make the image transition more smoother with the fade in and out? I've tried changing ... | 2 | 1,215 |
AcquireTokenByAuthorizationCode throw new exception in single tenant application using ASP.NET MVC using Azure Active Directory | <p>I tried <a href="https://docs.microsoft.com/en-us/learn/modules/msgraph-build-aspnetmvc-apps/5-exercise-add-auth" rel="nofollow noreferrer">this tutorial</a> because I want to use the Microsoft Graph API to create massive teams in Microsoft Teams.
The only difference with the tutorial is that I used the next choice ... | 2 | 1,749 |
401 Unauthorized when making request to Azure Mobile Service | <p>I have an Azure Mobile service which I am using for authentication. I have a custom auth provider which, once validated, returns the following information:</p>
<pre><code>JwtSecurityToken token = AppServiceLoginHandler.CreateToken(claims, signingKey, audience, issuer, null);
return Ok(new LoginResult()
{
Authenti... | 2 | 1,335 |
Custom property of jqgrid cannot be changed? | <p>I want to use a custom property of jqgrid to persist some ASP.NET session value on the page, but cannot seem to get it working.</p>
<p>The grid is defined as below, with a custom property called "MyVariable".</p>
<pre><code>$("#myGrid").jqGrid({
url: RootAbsolutePath + "Customer/GetCustomerList",
datatype:... | 2 | 1,062 |
C# The process can't access the file because it is being used by another process (File Dialog) | <p>I have a rich text box that is being updated with log information. There is a button to save the log output to a file. When I use the code below to try to save the output to a file, I receive "The process can't access the file because it is being used by another process" exception. I am not sure why I am receiving ... | 2 | 1,281 |
is it possible to store thread objects inside hashmap? | <p>I have scenario where I invoke some 10 <code>Thread</code>s, and each <code>Thread</code> has to wait till <code>Notifier</code> class notifies I want to notify specific <code>Thread</code>s, what I am doing is i am using <code>HashMap</code> with <code>Thread</code> id as <code>key</code> and the <code>Thread</code... | 2 | 1,440 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.