title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
How to stop current job and start new job use quartz.net in asp.net mvc? | <p>I've made a crawler on a website it has to read a website and fetch some values from it website.I've made use quartz.net and Asp.net MVC. but what is my problem? in fact,My problem is that for example,he/she the first time start for scraping a <code>"Stackoverflow.com"</code> about 5 hours and then he/she is decided... | 2 | 1,563 |
Output the word in a string with the largest amount of vowels | <p>I mostly have the method done but I am confused when it comes to the If statement concerned with storing a variable with the word with the most amount of vowels, NOTE I am not allowed to use arrays.
below is my code</p>
<pre><code>//method for vowels and consonants
public static int Vowelcount(String sentence)
{
... | 2 | 1,137 |
How do I retrieve the modified date for the file? | <p>In my program, I am trying to get the last modified date for some items in my box folders, but I am unable to access that information.</p>
<p>According to the documentation for the box API and the javadoc for the java library, any of the following methods of <code>BoxTypedObject</code> should return the information... | 2 | 4,831 |
Wicket hidden field in form: exception when injecting values | <p>in wicket forms get a hidden field. I found on the web, that this hidden field is needed for some kind of event handling. (Anyone knows more details?)</p>
<p>I played around with XSS-Me (<a href="https://addons.mozilla.org/de/firefox/addon/7598/" rel="nofollow noreferrer">https://addons.mozilla.org/de/firefox/addon... | 2 | 1,094 |
Flask-Sqlalchemy, multiple databases with bind and foreign keys | <p>I have set up an application using <code>flask</code>, and a few models using <code>Flask-SQLAlchemy</code>. I want to store a few JSON-objects into a separate database, as this database will not be frequently read, only written to. Other data is stored in the main-database. </p>
<p>This works fine, except I would ... | 2 | 1,044 |
boost spirit expectation failure | <p>I want to parse a vector of the following struct:</p>
<pre><code>BOOST_FUSION_ADAPT_STRUCT(
event_model::OTNDescriptor,
(int32_t, qualifier)
(int32_t, ordinal)
(std::string, name)
(int32_t, type)
)
</code></pre>
<p>My grammer looks as follows:</p>
<pre><code>struct swat_types_ : qi::symbols<... | 2 | 1,583 |
How to extract the URL following an HTTPPost in Android | <p>I'm scratching my head at this problem that I can't seem to figure out. What I'm trying to do is extract the URL following the HTTPpost. This will allow me to go through the Oauth process.</p>
<p>Currently I'm extracting the whole website into my entity.</p>
<p>For example: The data will be posted to <a href="http... | 2 | 1,556 |
cabal: error while loading shared libraries: libHSzlib-0.5.4.1-ghc7.6.3.so | <p>I've done a fresh install of the Haskell platform on CentOS 7, like so:</p>
<pre><code>[amy@wombat115 ~]$ sudo yum install haskell-platform
Loaded plugins: fastestmirror, product-id, subscription-manager
This system is not registered with Subscription Management. You can use subscription-manager to register.
Loadin... | 2 | 3,184 |
Metadata refresh deadlock (spring-security-saml) | <p>every couple of days our web app that uses Spring Security SAML has deadlock. Deadlock happens on refreshing metadata.</p>
<p>I tried too understand what is the problem from source code but without success.</p>
<p>This is stacktrace from three threads that are in deadlock:</p>
<p>1.
Stack Trace
Metadata-reload [1... | 2 | 3,250 |
React Native Child Component update | <p>I'm trying to update the child component (that represents a listItem) when the user clicks on a Swipable button, in order to set it to "read". In my parent component "NotificationList.js" the data is being updated successfully and when I "console.log()" the data is updated. However, I want to change the ListItem bac... | 2 | 1,892 |
Change parent attribute value based on child value | <p>I have to change the attribute of a parent node based on a combination of parent attirbute value and and child value. My input xml is as below:</p>
<pre><code><filters>
<sheetFilter filterUsage="table" labelKey="WR" hidden="false">
<userLogin>U0002</userLogin>
<containers>
... | 2 | 1,572 |
react native ERESOLVE unable to resolve dependency tree | <p>The react-native android APP, that I am developping in windows local environment started to stop building a few days ago. I had warnings about jcenter() being deprecated, which I replaced with maven. I also had issues related to Slider by react native community,... Finally, I decided to delete files within node_mo... | 2 | 5,795 |
How to import xml files with mysql LOAD XML LOCAL INFILE | <p>i need help with importing xml file to a table , xml file is having millions of records .</p>
<p>first i was using simplexml_load_file and then put a loop to insert record one by one by that is taking a lot of time . i have used the infile for csv and that is working perfect , can anyone help , how can i do the sam... | 2 | 1,603 |
Laravel Datatables NOT working, NO error | <p>When i visit the page, i just get the "Processing" but nothing is happening. Ive looked at the javascript console in chrome and i dont get any errors.. so im doing something wrong, but i dont know what it is. At first i thought it was the JSON output not being properly formatted, but i check it against jsonlint.com<... | 2 | 1,962 |
Add IF ELSE Condition in PL SQL stored procedure | <p>I have a scenario where I want to add an <code>IF ELSE</code> condition in my below procedure:</p>
<p>I tried like below but it is not getting compiled</p>
<pre><code>PROCEDURE VSAT_EXCEL_REPORT
(
P_R4GSTATE IN NVARCHAR2,
TBLDATA OUT SYS_REFCURSOR
)
AS
BEGIN
OPEN TBLDATA FOR
IF P_R4GSTATE = "ALL"
... | 2 | 1,152 |
setContentView error on Google Maps V2 | <p>I'm try to add a map inside my android app. I Followed all necessary prerequisites. </p>
<p>So I made a simple activity to test it out. </p>
<pre><code>public class SpaineMapActivity extends Activity {
static final LatLng HAMBURG = new LatLng(53.558, 9.927);
private GoogleMap map;
/** Called when the ... | 2 | 1,935 |
Why Marker Manager doesn't work? | <p>I would use MarkerManager to group neighboring marker in one, I tested an example but it does not work. Different markers are displayed well, but they are not together when they should. The manager is not working as it should, I do not understand why.</p>
<pre><code><html>
<head>
<title>Test G... | 2 | 1,139 |
Volley Post Request not working to the API | <p>I used Volley to POST name, password and email of a user for registration purpose. I took reference from <a href="https://www.simplifiedcoding.net/android-volley-post-request-tutorial/" rel="nofollow">This tutorial</a>. And worked same as defined in this tutorial.</p>
<p>Here is my code:</p>
<pre><code>JsonObjectR... | 2 | 1,751 |
Submitting an html-form with java | <p>I'm trying to create a login app for a campus network. I've gotten pretty far but now I'm stuck.</p>
<p>I'm at a point where java returns me a page that contains a simple form that should auto submit:</p>
<pre><code><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<body onload="document.forms[... | 2 | 1,631 |
My first Google App Engine/Python app | <p>I am trying to write my first GAE/Python application that does the following three things:</p>
<ol>
<li>Displays a form where the user can enter details about themself (index.html)</li>
<li>Stores the submitted form data in the datastore</li>
<li>Retrieves all data from datastore and displays all results above the ... | 2 | 2,482 |
Cross-Compiling gcc failure (Python) | <p>I'm trying to compile Python to port over to a router (ASUS RT-N16) with DD-WRT (DD-WRT v24-sp2 (SVN revision: 14896)) on it. JFFS2 (and therefore ipkg) and Optware are not options. I need to do a straight cross-compile. I'm new to cross-compiling.</p>
<p>I tried following these directions:
<a href="http://www.cn... | 2 | 3,570 |
GridView Nested inside DataList | <p>This seems like it should be an easy answer, but I have searched everywhere for this and can't seem to find what I am trying to do and i'm new to this so I might be missing something... Hopefully someone can help. </p>
<p>The purpose of this is to display a packing list of scanners (the dl) I am sending for repair ... | 2 | 2,322 |
Initialize pyspark in jupyter notebook using the spark-defaults.conf file | <p>There are few different answers for instantiating pyspark on the web and SO. however some are outdated and some do not cover all the "desired and optimum"* characters of starting spark. Which is squeezing and making available every bit of RAM and CPU you have for the spark session. Thus, I am trying to figure out a ... | 2 | 1,105 |
Rails 3 single-table self-reference association doesn't work | <p>I need some help.</p>
<p>I'm trying to make a table of posts with a self-referencing association. One Post may have some replies (also Post). I include only the main parts. My Post class is:</p>
<pre><code># == Schema Information
#
# Table name: microposts
#
# id :integer not null, primary key
# ... | 2 | 2,729 |
How post data from servlet to Javascript or how post uploaded bytes to HTML from servlet | <p>I want to upload files to server, but I don't understand:How post data from servlet to javascipt or how post uploaded bytes to html from servlet. Class, who upload file is UploadFileServlet, class who out in consol-UploadStream and form-uploadFile.html. UploadStream print data to consol, but I want to redirect this ... | 2 | 5,411 |
Pyspark collectAsMap() UDAF alternative - Could not serialize object: Py4JError: An error occurred while calling o62.__getstate__ | <p>I am trying to apply aggregated function to columns in pyspark. The context is I have only Spark 2.2 at hand and no option of using vectorized pandas_udf</p>
<pre><code>sdt = spark.createDataFrame(zip([random.randint(1,100) for x in range(20)], [random.randint(1,100) for x in range(20)]), schema=['col1', 'col2'])
+... | 2 | 2,827 |
Django Sync DB in PyDev (Eclipse and Aptana) fails after answering "yes" to define superusers | <p>What may be going on here? This is a problem on two separate Macs of mine - one Eclipse install and one Aptana Studio. After I answer "yes" to create a superuser the first time I Sync DB, I get these errors.</p>
<p>Performing Sync db outside of PyDev (via terminal, etc) seems to work fine.</p>
<blockquote>
<p>... | 2 | 1,289 |
blank post.php with custom-post-type on wordpress 3 submit | <p>I'm developing a theme for the first time, like my first big project. I wrote out in my functions.php</p>
<p>Everything went smoothly. I have 3 custom meta boxes in a custom post type which is for Bands Gigs.</p>
<p>The meta boxes are Gig Venue, Gig Country, Gig Date.</p>
<p>everything shows up in the admin panel... | 2 | 2,498 |
Error while running object detection program Abort Trap : 6 | <p>I was trying to run realtime object detection python program using caffe model.
But while running it gives an error Abort Trap : 6. Can someone help me rectifying this error. Or provide me with an alternative way to perform object detection using OpenCV or any other deep learning framework. Any help would be appreci... | 2 | 1,707 |
MYSQL Select Permutations; Require unique values across row | <p>I want to perform a select resulting in a set of <strong>permutations, not combinations</strong>. In other words I want to preform a query which returns rows with <strong>various quantities and arrangements</strong> of the items in my table. <strong>No ID may be repeated horizontally within the same row</strong>. </... | 2 | 1,307 |
Specialized C++ template method never called | <p>And another template specialization problem, which I can't resolve:</p>
<p>terminallog.hh</p>
<pre><code>//stripped code
class Terminallog {
public:
Terminallog();
Terminallog(int);
virtual ~Terminallog();
template <class T>
Terminallog & operator<<(const T &v);
templ... | 2 | 1,049 |
Writing ZipOutputStream to OutPutStream blocking the connection | <p>Hi I am working on an android file explorer application. When a large folder is requested for download I am zipping the folder and writing it to the outputstream using the code below.But any further requests are blocked until the file is downloaded.What could be the problem ?Should I consider moving this to a thread... | 2 | 1,570 |
Escape single quotes in Jquery AJAX request | <p>I am using JQuery AJAX to pass data to my service and if I type a message with single quotes, it prematurely ends the query string and my AJAX request won't work. Is there a good way to handle this with my code:</p>
<pre><code>function addRow() {
//debugger;
var DM = $grid.pqGrid("option", "dataMode... | 2 | 3,338 |
localhost:3000/traceur SystemJS with AngularFire | <p>I picked the <a href="https://angular.io/docs/ts/latest/quickstart.html" rel="nofollow noreferrer">getting started with Angular2 tutorial</a> format and only added in the angularfire2 part.</p>
<p>I installed firebase and angularfire2 using the steps on the <a href="https://github.com/angular/angularfire2/blob/mast... | 2 | 1,083 |
Jenkins fails to parse POM with variables | <p><strong>tl;dr:</strong> <code>mvn clean install</code> works as expected, but Jenkins is not able to resolve variables in child poms.</p>
<p>We have a project with a main pom and multiple sub poms. It seems to fail in the sub pom with the variable <code>${project.version}</code> not being resolved (see the error me... | 2 | 1,167 |
How to change ConnectionString property of SqlDataSource by Code Behind which is in Child ReorderList? | <p>I have two <code>ReorderList</code> One is a parent and other is its child. I want to change dynamically the <code>ConnectionString</code> property of <code>SqlDataSource</code> through code behind but I am unable to change <code>ConnectionString</code> property of Child <code>ReorderList</code> even I tried <code>O... | 2 | 4,992 |
facebook sdk 4.0 equivalent for Session.StatusCallBack and OpenRequest in android | <p>i'm upgrading my android app to Facebook sdk 4.0 and Graph API v2.0and I'd like to know if there are equivalent classes for Session.StatusCallBack and OpenRequest. Here is my code , if anyone could help that'd be great :))</p>
<pre><code> OpenRequest op = new Session.OpenRequest(activity);
Settings.addLoggi... | 2 | 1,247 |
change the color of whole row on checkbox checked angular 4 | <p>how can i make the whole row clickable and also when how to change the row color when i click the checkbox?</p>
<p><strong>here is my html file</strong></p>
<pre><code><section class="others">
<div class="sub-header">Others</div>
<p class="text-center" *ngIf="otherTests.length === 0">No Tes... | 2 | 1,437 |
Javascript Export Table to Excel | <p>I am trying to output a table to excel using JavaScript. For some reason, it will output the first row, which is the column headings, but it doesn't get the subsequent data rows. </p>
<p>This is the code that gets the information from a php page, and then outputs it to the screen in a table.</p>
<pre><code> jQue... | 2 | 1,797 |
Nullable reference types: "Try" method pattern, getting warning for null when returning false | <p>I have the following method which is using the "Try" pattern.</p>
<pre><code>public bool TryGetValue(string subnet, [NotNullWhen(true)] out TValue value)
{
if (!TryFindNode(subnet, out var node))
throw new InvalidOperationException();
if (TValueIsDefault(node.Value) == false)
{
... | 2 | 1,063 |
Chrome HTML body scrambling the tags and ruing the design | <p>I having an issue with this webpage using chrome. When I visit the other pages its fine but when I visited my reservation.php page a empty space is inserted in my html in the inspect view yet in source view is fine. Its ruining my design and I have tried many fixes but still wont work. Its ruing my web page design. ... | 2 | 6,015 |
Openshift/kubernetes: map serviceaccount secret to an environment variable | <p>Is there a way to populate the serviceaccount secrets content to an environment variable?</p>
<p>Example: when a pod is started, it contains a <code>/var/run/secrets/kubernetes.io/secrets/serviceaccount/</code> folder that contains <code>token</code>, <code>ca.crt</code>... and other that is the result to map the <... | 2 | 1,485 |
Using the C++ list standard library to help in linked-list program | <p>I'm working on a C++ program that is supposed to utilize a linked list to create a hypercard stack (whatever that is). The problem is, I have no idea what I'm doing. I've written some code, but it crashes, and honestly I have no idea if it even meets the specifications for what I need it to do if it did work as writ... | 2 | 3,345 |
Background service stops after application is closed in Xamarin Android | <p>I am new to Xamarin development. I have created one background service which is used to track user location. It's working properly till the time application is running/open. As application is closed/destroyed, my background service stops working. I have already spent so much time to find out the reason behind this i... | 2 | 1,640 |
Print labels via a redirected printer | <p>My task is to print labels via a thermal printer. To this purpose a string of tspl(programming language that the printer understands) commands is generated and sent to the printer. The latter is done in C# with the following method taken from the microsoft example <a href="http://support.microsoft.com/en-us/kb/3220... | 2 | 1,454 |
WinForm Controls Navigation | <p>I would like to give user the option to navigate on WinForm controls by keyboard.</p>
<p>I want to navigate on some of the controls, not on all of them.<br>
For example- to navigate between radio buttons and skip on a button which also exist on the same form. </p>
<p>I set the TabStop property of the botton to "F... | 2 | 1,728 |
Not receiving data from Serial Port anymore? | <p>I am using the SerialPort.ReadLine() method to display the data received from a Serial Port (code below). </p>
<p>Previously the code looked like <a href="https://stackoverflow.com/questions/12886850/sending-the-right-gcode-string-to-a-serial-port"><strong>that</strong></a> and received data but it did not send dat... | 2 | 1,705 |
Looping through Javascript Object and adding to HTML Div | <p>I am working on a game and have run into a problem that I have been stuck on for hours. I have an object, and I want to write a loop which will take all the values in this object, and stick them into an html div. The way I am doing this is, I have taken a div, I am cloning it and giving all the child elements new va... | 2 | 1,213 |
Error: PyDictionary would not install on Python 3.10.2 | <p>I use pycharm ide for coding, But when I tried installing PyDictionary module it gave this error on console:</p>
<p><a href="https://i.stack.imgur.com/z6u2w.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z6u2w.png" alt="PyCharm screenshot" /></a></p>
<p>The system is running windows10 with Python... | 2 | 1,670 |
X509Certificate2 constructor parameter string fileName type | <p>What should be the format (.pfx, .cer or something else) of the file here in the first parameter?</p>
<pre><code>public X509Certificate2(
string fileName,
SecureString password,
X509KeyStorageFlags keyStorageFlags
)
</code></pre>
<p>More context :</p>
<p>I am getting following error while trying to ge... | 2 | 3,685 |
how to click each row in my table layout? | <p>How can I click each row and column of my <code>TabelLayout</code>?. </p>
<p>I don't know how to handle click event in a <code>TableLayout</code>. If I click a row that wish to show images in, I think I need to handle the click event. I am confused please help me friends.</p>
<p>This is my xml design and xml sourc... | 2 | 4,723 |
Using CSS, how can I style a div tag to full the <body> width, even when the viewport is scaled? | <pre><code><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style>
html {
margin: 0;
padding: 0;
border: 0;
}
body, div, span, applet, object, embed, iframe, pre, h1, h2, h3, h4, h5, h6, p, blockquote,... | 2 | 1,720 |
log4j with oracle gives exception- invalid sql statement | <p>I try to implement log4j logging in database example from that page, <a href="http://www.tutorialspoint.com/log4j/log4j_logging_database.htm" rel="nofollow">http://www.tutorialspoint.com/log4j/log4j_logging_database.htm</a></p>
<p>I edit my xml like</p>
<pre><code><appender name="DB" class="org.apache.log4j.jdb... | 2 | 3,563 |
select and unselect not working for dynamically created checkbox in js | <p>I've created dynamically in java script checkbox tree using bootstrap js and css. Select and unselect does not working: <a href="https://i.stack.imgur.com/QRPa9.png" rel="nofollow noreferrer">enter image description here</a></p>
<p>In the second picture is the html created dynamically from js:
<a href="https://i.s... | 2 | 3,743 |
csv extraction from a multi-level xml | <p>I'm trying to extract csv from xml. The leaf element names from the entire xml form the header line and all the corresponding text values are the data rows. If a given leaf element is not present in a node, then print blank value. Below sample xml and output would explain what I'm trying to do.</p>
<p>Input XML:</p... | 2 | 2,774 |
Importing a CSV file into postgres. Error: No such file or directory | <p>I'm trying to import a CSV file into postgresql database.<br />
First of all I tried following query:</p>
<pre><code>copy temporaryData
from '/home/milad/Desktop/myFolder/csvFiles/test.csv'
delimiter ',' csv;
</code></pre>
<p>But it gave me below Error:</p>
<pre><code>SQL Error [42501]: ERROR: could not open file &q... | 2 | 1,130 |
Powerline with Vim with ImportError: can't find appropriate configuration | <p>I've been trying to get <a href="https://github.com/powerline/powerline" rel="nofollow noreferrer">powerline</a> working for awhile and I can't seem to figure out what is wrong. I often use vim inside of tmux, but the error is the same inside of tmux and out.</p>
<p>This is the error I get when I invoke vim:</p>
<... | 2 | 2,638 |
Can't change raster's extent | <p>I want to crop an elevation raster to add it to a raster stack. It's easy, I did this before smoothly, adding a ecoregions raster to the same stack. But with the elevation one, just doesn't work. Now, there are several questions here in overflow adressing this issue and I tryed a lot of things...</p>
<p>First of al... | 2 | 1,764 |
MVVM, Data binding command | <p>I've started using databinding with MVVM pattern in Silverlight. There's one problem for me.
I have a listbox, when I select an item there one property in the View-Model have to change it's value. I implemented DelegateCommand and made custom CommandListBox class as follows</p>
<pre><code>public class DelegateComma... | 2 | 1,484 |
FluentValidation RuleFor attribute of Foreign Key | <p>When I run the program I get a System.NullReferenceException on <code>x.Album.Title == "Disintegration"</code> in:</p>
<pre><code>RuleFor(x => x.Contents)
.NotNull()
.When(x => x.Album.Title == "Disintegration");
</code></pre>
<p>How can I program this so that <code>Contents</code> is... | 2 | 1,657 |
ServiceContractGenerator CodeDomProvider Compile Errors | <p>I am trying to use ServiceCodeGenerator and CodeDomProvider to dynamically create a service reference. When compiling the code using CodeDomProvider it throws the following errors.</p>
<p>It looks like it is only for a specific web service. I am able to compile other web services but this one throws the compile err... | 2 | 1,179 |
powershell: Set-ADUser : The requested operation did not satisfy one or more constraints associated with the class of the object | <p>To test another Script, I created a quick and dirty Powershellscript to be able to create and delete a lot of Useraccounts in multiple OUs in 2 different domains.</p>
<p>While the creation works without problems, I can't manage to fill the accounts via Set-AdUser with some attributes, when setting up <code>$num</co... | 2 | 2,425 |
Gradle sync failed - Failed to resolve: appcompat-v7:26 | <p>I use this code in my app/build.gradle.</p>
<pre><code> android {
compileSdkVersion 26
defaultConfig {
applicationId "com.avizhegroup.android.dsmmaps"
minSdkVersion 21
targetSdkVersion 26
versionCode 2
versionName "1.1"
testIns... | 2 | 1,602 |
Error in jQuery DatePicker | <p>I need a DatePicker element in my page. I have the below code already in place:</p>
<pre><code><link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="http://code.jquery.com/ui... | 2 | 7,727 |
Solr indexing error - possible analysis error | <p>I just got an Solr 6.6.1 indexing error. Can you please help to figure out whether or nor this is a Solr defect? or is it just my configuration issue? </p>
<p>When I remove the stopword "pm", the indexing goes fine. I guess the stopword filter did something that makes the SynonymGraphFilter glitched. </p>
<p><stro... | 2 | 1,845 |
Writing data to a text file in a format | <p>Im trying to get some particular content from a site and place it in text file. i have used a listbox for loop of urls i want to process and another to see output of data. now i want all data in text file each item seperated by "~" sysmbol.</p>
<p>Exmaple Link i used in my.txt file: <a href="http://www.maxpreps.com... | 2 | 1,560 |
Autofac register types from Assembly | <p>I am using autofac in my solution to resolve library dependencies across the different projects. The idea is to make hotplug libraries in the sense that, there are only a few core libraries that the application is dependent on, they are prefixed <code>"vmecore.*.dll"</code>. Which must be registered with autofac bef... | 2 | 1,606 |
How can use sqlContext in spark udf | <p>I'm trying to load a json file in spark UDF and use it to query something. What i need to do is to do use a column value (storeId) from a data frame and use it in </p>
<p>But, i get a pickle error. If I try coding without the sqlContext then it work.</p>
<p>Is there any workaround or is this not possible. </p>
<... | 2 | 2,241 |
React Native Infinite Repeating Images Animation Not in Sync | <p>I am attempting to create an infinite parallax background animation in React Native using a set of images. I have successfully created an animation. However, it seems like the longer the animations run, the more they seem unsynced.</p>
<p>Overall, I wrote code which creates three animations in this order:</p>
<ol>... | 2 | 2,844 |
populating fullcalendar using SQL Server | <p>I have seen several questions around this topic on here, but can't seem to get my fullcalendar to display properly using the provided methods, so I was hoping someone could give me a hand with fixing my issue.</p>
<p>My JSON feed seems to populate correctly, although I see some saying that it only works with single... | 2 | 1,628 |
Dynamic XtraReport gives me a lot of spacing between lines in Detail | <p>I am writing a program that creates invoices dynamically using Excel files. Everything works fine, except that the report Detail section shows a lot of spacing between lines, up to 2' spacing. I am using a bound label to create the lines. I have read that using a <strong>XRRichText</strong> can help but it didn't. C... | 2 | 1,276 |
UnimplementedError: File system scheme '[local]' not implemented | <p>I am getting an error while implementing TensorFlow in TPU</p>
<pre><code>UnimplementedError: File system scheme '[local]' not implemented (file: '1.png')
</code></pre>
<p>I know this question has been answered <a href="https://stackoverflow.com/questions/62870656/file-system-scheme-local-not-implemented-in-google-c... | 2 | 1,153 |
common spring integration exception handler | <p>Currently we have a requirement to handle exceptions in a spring integration flow.</p>
<p>The current solution was to handle exceptions thrown from any POJO (transformer, aggregator, service etc) by means of Aspects. And in the aspects a tweet would be sent that an exception occured. However this aspects do not cov... | 2 | 3,656 |
How to set custom color to a Radio button at selected positionwhich is item of a listview | <p>I am not able to set customized color to a Radio Button in a listview at selected position. It is getting selected at different position and at the same time if i scroll the listview the items i selected are changing the position as well as the Radio button.</p>
<p>List of items were populated from Database and abl... | 2 | 3,682 |
How to change column name based on given month in sql server 2008R2 | <p>i want to show my pivot table column name as <code>Monday 1</code>,<code>Tuesday 2</code> based on the month from the given date...i.e if it is July the month then <code>Monday 1</code> <code>Tuesday 2</code> so on for all days of the month..
this is my coding how to achieve this </p>
<pre><code>set @query='SELEC... | 2 | 1,330 |
React Native FlatList only responds to touches sometimes | <p>I have used <code>FlatList</code> in multiple places in my app previously without any issues, but now when I created a new one it doesn't seem to register touches/swipes correctly. Only like 1/6 touches seem to register.</p>
<p>See the video here: <a href="https://photos.app.goo.gl/NZCtVYX6GLVCQN392" rel="nofollow ... | 2 | 1,493 |
Play Video using MPMoviePlayer Controller in ios5 | <p>i am play video on mpmovieplayercontroller from local project resource.i am starting app console showing some errors occurred and how to fix and play proper way in mpmovieplayercontroller or any alternative for mpmovieplayercontroller. below shows the error for i am getting in console output but app does not crash:<... | 2 | 2,186 |
std::vector of objects and sorting results in segmentation faults | <p>I been sitting over this problem quiet a few hours now and can not find a solution. I try to get rid of some Custom Array classes and want to change them to std::vector.</p>
<p>I have a class member declared like this:</p>
<pre><code>std::vector<BaseCluster *> baseClusters;
</code></pre>
<p>In the class con... | 2 | 1,393 |
Encrypt files in python and decrypt in android | <p>I'm trying to encrypt some files in my python web server and decrypt them in android app after downloading. I used <a href="https://stackoverflow.com/questions/9417092/python-aes-encryption-java-decryption">python AES encryption java decryption</a> question methods like this but I got padding exception in android co... | 2 | 3,123 |
How to pass weights to a Seaborn FacetGrid | <p>I have a set of data that I'm trying to plot using a FacetGrid in seaborn. Each data point has a weight associated with it, and I want to plot a weighted histogram in each of the facets of the grid.</p>
<p>For example, say I had the following (randomly created) data set:</p>
<pre><code>import seaborn as sns
import... | 2 | 1,541 |
Spring Boot embedded Tomcat not loading external properties file in ApplicationListener | <p>I have a SpringBoot app that is running with embedded Tomcat. This listener is responsible for loading the application properties from a MySQL database and inserting them into the Environment. It looks like this:</p>
<pre><code>@Component
public class DbMigrationAndPropertyLoaderApplicationListener implements Appli... | 2 | 1,412 |
Why can't Luke(4.0.0-ALPHA) open the Lucene4.0's index files? | <p>I used Lucene4.0 to make index files:</p>
<pre><code>File directorycreate = new File(indexpath);
Directory dir = new SimpleFSDirectory(directorycreate);
Analyzer analyzer = new IKAnalyzer(true);
IndexWriterConfig conf = new IndexWriterConfig(Version.LUCENE_40... | 2 | 1,329 |
Woocommerce checkout page changes not working | <p>I have tried several ways now to change the form field of billing and shipping. I am trying to do the following:</p>
<p><strong>in billing section</strong></p>
<ul>
<li>change address 2 placeholder content</li>
<li>change address 2 label</li>
<li>address 1 change class to 50%</li>
<li>address 2 change class to 50%</... | 2 | 1,391 |
Django ValueError: No route found for path 'ws/chat//' | <p>I'm working on making a simple chat app using <a href="https://www.youtube.com/watch?v=xrKKRRC518Y" rel="nofollow noreferrer">this tutorial from youtube</a> (github link here: <a href="https://github.com/justdjango/justchat" rel="nofollow noreferrer">LINK</a>). One potential issue is that the tutorial uses 2.x versi... | 2 | 3,010 |
how to write functional unit test cases in react native? | <p>I am new to react native. I have implemented functionality and snapshot unit testing but not sure how to write functional and API level unit test cases. I am using enzyme and jest. also I have used redux for state management. </p>
<p>following is my few files .</p>
<p>App.js</p>
<p><div class="snippet" data-lang=... | 2 | 2,102 |
Using different versions of same library - More than one file was found with OS independent path 'builddef.lst' | <h1>The problem</h1>
<p>i am trying to trim and compress a video using two libraries: <a href="https://github.com/Tourenathan-G5organisation/SiliCompressor" rel="nofollow noreferrer">Silicompressor</a> and <a href="https://github.com/titansgroup/k4l-video-trimmer" rel="nofollow noreferrer">k4l-video-trimmer</a>.
the p... | 2 | 2,065 |
Hide section if no option selected in angular ng-hide | <p>I have a two selection boxes. One that is populated depending on the selection of the first box.</p>
<p>I wish to hide the second box if nothing is selected in the first.</p>
<p>I have tried the following but cant seem to get the box to show once you select a option.</p>
<p>so far the second selection box is hidd... | 2 | 1,138 |
Change position of sticky header waypoint or offset. | <p>Basically, I am making a Wordpress site,using the theme Avada, and I would like the sticky header at the top to start immediately. </p>
<p>Here is the site I am working on: <a href="http://howtogopro.net" rel="nofollow">http://howtogopro.net</a></p>
<p>Here is the site I am trying to replicate is synergymaids.com<... | 2 | 3,432 |
Can't deploy Visual Studio Cordova app to iPhone using remote agent: CordovaModuleLoadError | <p>I am trying to deploy my Cordova app to my iPhone using Visual Studio 2015 RC by Remote Agent > Local Device. I have successfully installed, ran and connect the remote agent to my Visual Studio. According to this link, when I run Local Device, iTunes should pop up on my Windows PC and install the app to my iPhone:</... | 2 | 1,594 |
Android Java, draw on a scaled canvas | <p>i'm developing an android drawing application, it has a relativelayout with a custom view in it for drawing with. So far it all works except when I scale the canvas the drawing happens in the wrong spot, it's probably best to show the code rather than try to explain it. Yes I have tried with using path.offset but wi... | 2 | 1,954 |
Having trouble figuring out why a control is losing focus | <p>I've created a custom grid control with editable text blocks in each cell. The edit is triggered by a double click like so:</p>
<pre><code>void TextBlock_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
{
if (e.ClickCount == 2) Edit();
}
public void Edit()
{
TextBox.Text = TextBlock.Te... | 2 | 1,351 |
Android getting thumbnail Uri after getting picture from the Camera | <p>I do not want to use any bitmap resizing code if I can help it.
I have a method to get a MINI thumbnail uri when I get pictures from the Gallery but when I try to do the same with the Camera it does not work:</p>
<p>Here are the methods:</p>
<pre><code>private Uri getParsedUri(Uri selectedImageUri) {
Uri parse... | 2 | 1,317 |
mortal kombat console game python2 | <p>I just try to make a fighting game that work on console.It's almost finished but I have 2 problem.</p>
<ol>
<li><p>The game should finish when a user's hp decrease to 1.It doesn't finishing when hp is 0.It gives one more chance to other user.</p></li>
<li><p>Other one is,after that the game finish,I wanna ask to us... | 2 | 1,791 |
Slow query SELECT ... GROUP BY on two tables fields` (MySQL/InnoDB) | <p>I have a query to select orders, and for each order I need to get list of products it includes with summary quantity for each product.</p>
<p><strong>Currently it's very slow (10 seconds on my setup), I need to speed it up.</strong></p>
<p><strong>Update: switching over to MyISAM is not an option, I need transacti... | 2 | 1,049 |
Update ListPicker on SelectionChanged | <p>I have two list pickers. When first list picker have selection changed it should filter data of second list picker.
Second ListPicker xaml is like this</p>
<pre><code> <TextBlock HorizontalAlignment="Left" Style="{StaticResource PhoneTextNormalStyle}" TextWrapping="Wrap" Text="text" VerticalAlignment="Bottom"/&... | 2 | 1,140 |
Sequential grouping of start and end date ranges | <p>I have quite a problem that I have not been able to figure out. I created a view that when run, it gives me placement data for traveling workers. The important part is the <code>PlacementID</code>, and the <code>StartDate</code> and <code>EndDate</code>:</p>
<pre><code>TravelerID FirstName LastName PlacementI... | 2 | 1,848 |
Entity Framework Core PostgreSQL Linq to SQL Json Field | <p>Sorry for my bad English</p>
<p>Note: Npgsql does not supporting json query with EF Core Mapping directly</p>
<p>As yo know PostgreSQL is supporting json and hybrid data. And if you want to query, you can use syntax like this</p>
<pre><code>select *
from archive.ArchiveObject
where FileInfo->>'FileName' =... | 2 | 1,281 |
Zuul Locked Doors | <p>Ex. 6.44: Add locked exits to your game. The player needs to find (or otherwise obtain) a key to unlock the exit and enter a room. (You don't need to add a new class for doors or exits to your game). Make this as general as possible - in any room, any exit could potentially be locked.</p>
<p>I have no idea how to d... | 2 | 7,481 |
Error: while trying to restart mysql | <p>i am trying to restart mysql service, but the following error log is disturbing me.
help me to out from the situation...
here is the config file..
<strong><em>my.cnf:</em></strong></p>
<pre><code>[mysqld]
bind-address = 0.0.0.0
#server-id = 2
#master-host=192.168.10.110
#master-connect-retry=60
#master-user=slave
... | 2 | 2,251 |
Access TextView.setText() within Viewpager from onResume() method | <p>I'm fairly new to Android development so I ran into a problem with the onResume() method.</p>
<p>My code crashes when I try to write Name.setText() from within the onResume() method.
Writing the TextView from within the onPause() method works surprisingly without any problem.</p>
<p>How can I access this TextView ... | 2 | 1,321 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.