title
stringlengths
13
150
body
stringlengths
749
64.2k
label
int64
0
3
token_count
int64
1.02k
28.5k
How to use modern CPU instructions in Delphi? (Java faster than Delphi?)
<p>A friend sent me a comparison between a recent version of Delphi and Java (source code available if you want it). Believe it or not (better believe it) Java is now significant faster than Delphi because Delphi compiler won't take advantage of modern CPU instructions! A big breakthrough for the 'slow' Java. </p> <p>...
1
1,337
jsdom and $(document).ready
<p>I looks like when I run a page through <code>jsdom</code>, the <code>$(document).ready</code> block in the page script isn't being executed.</p> <p>Here is the html:</p> <pre><code>&lt;html&gt; &lt;body&gt; If everything works, you should see a message here: &lt;h2 id="msg"&gt;&lt;/h2&gt; &lt;script&gt; ...
1
1,351
Validation JQuery : Uncaught TypeError: Cannot call method 'call' of undefined
<p>I always get error </p> <pre><code>Uncaught TypeError: Cannot call method 'call' of undefined </code></pre> <p>when I type correct email in my form. Custom massages doesn't work too. Function <code>?module=auth&amp;amp;action=registration</code> work properly (it returns string 'false' or 'true').</p> <p>I use th...
1
1,239
Base table or view not found: 1146 Table 'Vojodb.users' doesn't exist
<p>I like to save data to database. But it showed an error <strong>SQLSTATE[42S02]: Base table or view not found: 1146 Table 'vojodb.users' doesn't exist (SQL: insert into <code>users</code> ** i had search in stackoverflow how to resolve my problem. i had try to add **public $table = "users"</strong> in User Model. Bu...
1
2,405
Upload image to MongoDB with Nodejs and express
<p>I'm trying to upload a image using multer in nodejs. I configured multer to save uploaded images in the "upload" directory and when the form is submitted, the image is sent to the directory as it should. But I'm trying to save the path to that image (req.file.path) to a mongodb database and this is not working. I'm ...
1
1,061
How to use .scrollTop() inside jQuery UI Dialog?
<p><strong>Link to <a href="http://jsfiddle.net/TGsM5/17/" rel="nofollow">problem</a></strong>: </p> <p>Using <code>.scrollTop()</code> method inside a jQuery Dialog is not working for me, the HTML markup is this: </p> <pre><code>&lt;div id="toogleMAmaximized" style="background:#000000"&gt; &lt;div id="missionsM...
1
2,058
Implementing Oauth2 with spring security in web application
<p>I have a web application in jsf , spring and hibernate. My current login is using spring security. I also have an android app with the same functionality as the web application. Now I want to synchronize my android and web app to store the data on same DB. So I want to implement oauth2 and spring rest in my web app...
1
14,035
Spring boot error 404
<p>I am studying Spring Mvc and Spring Boot and came across the following problem that until now could not identify. After running my main method I get the following message.</p> <p><strong>Whitelabel Error Page</strong></p> <p><strong>This application has no explicit mapping for /error, so you are seeing</strong> <s...
1
6,363
Crash in background- Sprite-Kit related
<p>As the title says- my Sprite Kit game crashes every now and then in background, always with this error-</p> <pre><code>Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x00000001 Triggered by Thread: 0 Thread 0 Crashed: 0 libGPUSupportMercury.dylib 0x3220193a gpus_Retur...
1
2,157
sort Gridview doesn't work
<p>I have asp.net page contain gridview as following </p> <pre><code>&lt;asp:GridView ID="GridView1" runat="server" AllowPaging="True" OnPageIndexChanging="gridView_PageIndexChanging" OnSorting="TaskGridView_Sorting" AllowSorting="True" AutoGenerateColumns...
1
2,120
Adding a .jar file to classpath through maven
<p>I'm having some trouble in getting maven to download a number of .jar files my application depends on. The code in which these dependencies are needed is bellow:</p> <pre><code>import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import com.fasterxml.jack...
1
2,021
primefaces tabView skip the form validation when tab change
<p>I'm using PrimeFaces 3.3 and Mojarra 2.17.</p> <p>I have a page that contains a <code>p:tabView</code>. The second tab contains a textbox and <code>required="true"</code>. When I navigate from the second tab to first tab, it will validate the textbox is empty and display an error message (I have a <code>PhaseListen...
1
1,277
Only one item displayed in RecyclerView
<p>I am debugging and I get the correct number of items from Server. And It also calls onCreateViewholder and onBindViewHolder as many as the item size.</p> <p>However, my RecyclerView only show one item in the list.</p> <p>And most of the problem after my search was when the height of RecyclerView is <code>match_par...
1
1,294
Node.js - How to emit socket.io events from outside app.js?
<p>i've been trying to organize my app in a simple yet effective way, other than processing all my events at the bottom of the app.js file. </p> <p>i have to say, my apps are simple, i'm not a pro developper, so i'm looking for something simple. Other solutions i've found were all too complicated</p> <p>my project's ...
1
1,231
The XML Tag doesn't appear when the Value is Null in the Query in Oracle
<p>How can I retrieve the XML tags when the field is NULL? This is the Query:</p> <pre><code> SELECT XMLElement("FlowerSeeds" , XMLAttributes('http://euroconsumers.org/' as "xmlns") , xmlforest( d.cli_pre_l "Name" , d.cli_nom_l "FirstName" ...
1
1,032
Python Dash refresh page not updating source data
<p>I have written a basic plotly dash app that pulls in data from a csv and displays it on a chart. You can then toggle values on the app and the graph updates.</p> <p>However, when I add new data to the csv (done once each day) the app doesn't update the data on refreshing the page.</p> <p>The fix is normally that you...
1
2,445
How can I click each item individually when using BaseAdapter in ListView?
<p>I have a problem with clicking on the item in a custom <code>ListView</code> which contains <code>ToggleButton</code>, <code>Button</code>, <code>TextView</code> and <code>Spinner</code> in each row. The question: How can I do that when I click each view individually, different action is called for each view? My cod...
1
1,603
SetupAPI (setupdi functions) don't link
<p>I want a function to enumerate serial (COM) ports on Windows. For this purpose I mostly copied code from <a href="http://www.codeguru.com/cpp/w-p/system/hardwareinformation/article.php/c5721/Determining-What-Serial-Ports-Are-Available-on-a-Windows-Machine.htm" rel="noreferrer">http://www.codeguru.com/cpp/w-p/system/...
1
3,649
Cordova Ionic Native File plugin - Where does it store the files in iOS?
<p>I been trying to save a file on iOS. Right now I been running through Xcode right to my phone.</p> <p>When I run the app it says that is saved successfully. But I don’t see any file when I use a file manager app like FileApp, FileManager, iCloud and the Apple crappy Files app.</p> <p>My question is that I heard fr...
1
1,180
DexArchiveBuilderException: Failed to process /xxx/.gradle/caches/transforms-1/files-1.1/play-services-location-11.2.2.aar
<p>When I try to compile my project I get this weird error:</p> <pre><code>What went wrong: Execution failed for task ':android:transformClassesWithDexBuilderForProdDevelopmentDebug'. </code></pre> <blockquote> <p>com.android.build.api.transform.TransformException: com.android.builder.dexing.DexArchiveBuilderExcept...
1
2,194
How does one use glide to download an image into a drawable?
<p>I have learning Image Slider Using ViewPager. For that, I want the images to be dynamic. Glide is easy but I think I am not using it properly. Here's what I am trying to do.</p> <pre><code>//Initialize by default Images private static final Integer[] IMAGES = {R.drawable.image1,R.drawable.image2}; // Load images ...
1
1,026
"Total rows" in custom Power BI visualizations
<p>I have a question about creating the <a href="https://github.com/Microsoft/PowerBI-visuals" rel="nofollow noreferrer">custom visualization</a> in Power BI.</p> <p>I want to implement a "total row" functionality which is available in the built-in matrix visualization. The main concept is to automatically sum-up ever...
1
1,730
How can i use mdi icons in angular 6
<p>I am trying to configure <a href="https://materialdesignicons.com/" rel="nofollow noreferrer">mdi</a> icons with <a href="https://material.angular.io/" rel="nofollow noreferrer">@angular/material</a> in my mini-project. I have tried several tutorials but with no avail.</p> <p>When registering the icon set following...
1
1,155
Linking static files directory in Django
<p>I've multiple directories of static files. Each app has its own static files directory for making it modular. How can I access the static files dirs of all the apps. Initially I was putting all the static files under only one folder. Now I'm keeping the static files inside the apps and then want to access it from in...
1
1,447
Sort XMLDocument using linq
<p>I can't seem to figure out how to do this. There are several other examples on here, but nothing really matches what I want to do:</p> <p>Consider the following XMLDocument object:</p> <pre><code>&lt;Policy&gt; &lt;Covers&gt; &lt;MyCover1&gt; &lt;properties&gt; &lt;sortOrder...
1
1,332
IOS 8 CLLocationManager Issue (Authorization Not Working)
<pre><code>#import "MyLocationViewController.h" #define NSLog(FORMAT, ...) printf("%s\n", [[NSString stringWithFormat:FORMAT, ##__VA_ARGS__] UTF8String]); @interface MyLocationViewController () @end @implementation MyLocationViewController { CLLocationManager *locationManager; } - (void)requestAlwaysAuthorizat...
1
1,173
Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'edit/2'
<p>I have a simple app working with angular4, but I got the following error:</p> <pre><code> :1440 ERROR Error: Uncaught (in promise): Error: Cannot match any routes. URL Segment: 'edit/2' Error: Cannot match any routes. URL Segment: 'edit/2' at ApplyRedirects.noMatchError (router.js:1719) at CatchSubscriber.e...
1
2,988
Spring Security: antMatchers not matching URL pattern
<p>Out of the blue, the security of my application is broken. It doesn't match the patterns in <code>antMatchers.(&lt;patterns&gt;).permitAll()</code>, and is trying to authenticate all the URLs. Code below</p> <pre><code>public class WebSecurityConfig extends WebSecurityConfigurerAdapter { @Autowired public void con...
1
2,227
How to get DataSet.ReadXml to parse a DateTime attribute as a typed DateTime
<p>I have an XML string which contains Dates formatted "dd/MM/yyyy hh:mm:ss".</p> <p>I'm loading this XML into a dataset using <code>DataSet.ReadXml()</code>.</p> <p>How can I ensure that this Date is stored in the DataSet as a typed DateTime so that I can Sort, Format and RowFilter on it accordingly.</p> <p>My test...
1
1,431
Problems Getting jQuery to Work in External js File
<p>I have just started messing with jQuery and have had luck getting it to work within actual aspx and html files, but I'm now trying to get it working in an external js file.</p> <p>In my html file in the head I have:</p> <pre><code> &lt;!--Declare jQuery files--&gt; &lt;script type="text/javascript" src="http://aja...
1
1,304
How to properly use Dagger2 with the new Android Architecture Components
<p>I'm trying to use the new Architecture Components, but I'm also still new to dagger and I'm missing stuff.</p> <p>With the below code, I'm getting a NullPointerException, can't locate where. Also if there's something else I need to fix or improve, please suggest.</p> <p><strong>CODE :</strong> <strong>ViewModel</s...
1
3,467
How does the Iterator::collect function work?
<p>I am trying to understand the full capabilities of <code>collect</code> function by going through <a href="https://doc.rust-lang.org/std/iter/trait.Iterator.html#provided-methods" rel="nofollow noreferrer">some documentation</a>. I am running into some challenges, specifically in the last example quoted on the page ...
1
1,625
OFF_HOOK STATE is never invoked for outgoing and incoming calls
<p>I have written a BroadcastReceiver to detect outgoing and incoming calls. I am monitoring the network status when the user is on call (i.e when the phone state is off_hook). unfortunately off_hook state is not getting invoked for both incoming and outgoing calls.</p> <p>Here is the BroadcastReceiver:</p> <pre><cod...
1
2,083
Nested iterator class, begin() and end() sentinel issues
<p>I am having issues with my nested iterator class. The end() sentinel is returning 0, and I am very lost! Any help would be appreciated. I want this program to be able to take any type of input, e.g. an int, create the vector, and be able to fill the array until the end() sentinel has been reached, such as typing Q, ...
1
1,199
locale as URL parameter with ReactRouter v4 and redux
<p>I am building an multilingual application with React &amp; Redux using :</p> <pre><code>{ "react": "16.2.0", "redux": "3.7.2", "react-redux": "^5.0.6", "react-router-redux": "^5.0.0-alpha.9", "react-router": "^4.2.0", "react-redux-i18n": "^1.9.1" } </code></pre> <p>SOLVED (using <code>path-...
1
1,558
Lazy load of images on ListView with AsyncTask launched on the getView (adapter)
<p>I have a ListView with items that have some text and one ImageView. I would like to use and AsyncTask in order to load the ImageView (lazy load). I know there are some libraries in order to do that. The problem is that is not possible to get the images just with a URL, like</p> <pre><code>imageLoader.displayImage(i...
1
1,072
Android permission denied when saving file from a non-UI thread
<p>I having trouble with the download of an image from a new thread and saving it into a file.</p> <p>on some devices it works flawelsly </p> <p>on others, such as the HTC INCERDIBLE, I am getting an exception</p> <p>I managed to figure out it is in this line:</p> <pre><code>InputStream is=new URL(url).openStream()...
1
1,438
Getting parameters of post request in node js
<p>I am struggling since I am trying to retrieve all the parameters of a POST request in node.js, but it's not gonna work.</p> <p>Here the post request from the webpage:</p> <pre><code>var email = $('#email').val(); var name = $('#name').val(); var surname = $('#surname').val(); var role...
1
2,510
Show overlay with spinner in bootstrap div container?
<p>I'm trying to use on Ajax Start/End JQuery to show/hide overlay gray background with the spinner when ajax call is in the process. This works fine in terms of triggering the class that shows the overlay and the spinner but overlay class doesn't show over entire body. For example one of my forms has scroll bar and su...
1
2,788
FilterChainProxy doesn't autowire
<p>I write so code:</p> <pre><code>@ContextConfiguration(locations = { "classpath:/test/BeanConfig.xml" }) @RunWith(SpringJUnit4ClassRunner.class) //@WebAppConfiguration public class CandidateControllerTest { @Autowired FilterChainProxy springSecurityFilterChain; ... } </code></pre> <p>Where I must write...
1
2,889
$(this).parent("tr").remove(); doe not delete the tablerow from the view
<p>This is a question that follows on from my previous question; <a href="https://stackoverflow.com/questions/16670608/mvc-button-not-firing-click-event-in-a-tablecell?noredirect=1#comment23985513_16670608">MVC: Button not firing click event in a tablecell</a></p> <p>Because I am creating a grid dynamically, I have to...
1
1,240
Log4j on Linux server
<p>I have Linux server on which I run tomcat with my axis2 webservice.</p> <p>I use the following for Log4j: xml configuration file, which is located in the same directory as my webservice java file.</p> <p>XML:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;!DOCTYPE log4j:configuration PUBLIC "-//L...
1
1,113
Show images in table from database in Asp.net-mvc3
<p>I have a table containing user information with image field and storing image in binary data.</p> <p>I want to show this images on my view page in a table with user information.</p> <p>my code is.. Controller</p> <pre><code>public ActionResult About() { var data = db.dbtable.ToList(); return View(data); }...
1
1,221
Moodle apache proxy
<p>I'm having troubles setting up a moodle instance behind an apache proxy.</p> <p>Here's my apache front-end that proxies to the running server.</p> <pre><code>NameVirtualHost www.example.com:443 &lt;VirtualHost www.example.com:443&gt; ProxyPreserveHost On ProxyRequests Off ServerName www.example.com ServerA...
1
1,035
Change color of selected tab in shinydashboard tabBox
<p>Is there a way to change the color that indicates the active tab of a shinydashboard tabBox? I have changed the "skin" of the dashboard to "red". While this affects the highlighted active tab of the sidebar, it does not seem to have an effect regarding the selected tab in a tabBox. </p> <p>I have only found solutio...
1
3,676
Why is my custom PermissionEvaluator not working?
<p>I can’t understand why my security doesn’t work properly. Method hasPermission() in Evaluator class not even called. I think there is something wrong with my security config.</p> <p>My Security config:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt; &lt;bean:beans xmlns:bean="http://www.springframework...
1
3,823
How to return an iterator from a function and use it?
<p>I'm trying to teach myself Rust by working on a little calendar project.</p> <p>Here I'm trying to generate a list of dates spanning three whole months around a given date. I'd like to return an iterator that can iterate over these dates. Here's my first attempt:</p> <pre><code>fn three_months_range(tm: time::Tm) ...
1
1,992
How to compute the validation loss? (Simple linear regression)
<p>I am currently learning how to use PyTorch to build a neural network. I have learned keras before and I would like to do the same thing in PyTorch like 'model.fit' and plotting a graph containing both training loss and validation loss.</p> <p>In order to know whether the model is underfitting or not, I have to plot ...
1
4,261
Error when building arm-elf-gcc
<p>I'm trying to build a arm-elf-gcc cross compiler.</p> <p>So firts I installed binutils 2.18 with the following configure options:</p> <pre><code>./configure --target=arm-elf --enable-interwork --enable-multilib </code></pre> <p>This seems to work fine.</p> <p>next I installed gmp, mpfr and libmpc </p> <p>so now...
1
1,366
WCF certificate chain trust authentication: "The caller was not authenticated by the service."
<p>I would like to use certificate-based encryption and verification when communicating with a WCF service. So I created test certificates, "TempCA" as my root CA and "SignedByCA" as a client certificate signed by that CA.</p> <p>When I put the client certificate in "Local Computer\Trusted People" and use <code>certif...
1
1,074
Bubble sort Descending and Ascending in C won't sort
<p>I'm giving a user choices to whether sort the elements in ascending or descending order. I know my code can sorts the elements right but somewhere in main I think I'm making mistake in calling my function to print the ascending/descending element in their proper order. Or do I have to have another if statement like ...
1
1,930
Datatables (Row Details): Uncaught TypeError: Cannot read property 'style' of undefined
<p>im trying to implement the datatables row details</p> <p>this is my table that has an id of "user_datas"</p> <pre><code>&lt;table id="user_datas" class="table table-bordered table-striped" width="100%"&gt; &lt;thead&gt; &lt;tr&gt; &lt;th&gt;NAME&lt;/th&gt; &lt;th&gt;SEX&lt;/th&gt; ...
1
1,723
Google API - Translate a string into EN language :(
<p>I am trying to make a simple web based application which will translate a non-english (non-EN) string into English (EN) language. For this I am using Google's Translation API (v1- JS).</p> <p>At first I am detecting the language provided in a div tag (note that page encoding is set to UTF-8).</p> <p>Then I am tryi...
1
1,394
What is the best way to do inline serialization of JSON data using JACKSON?
<p>I've got a bean defined as such :</p> <pre class="lang-java prettyprint-override"><code>public static class TestBean { private String a; private Long b; public TestBean(String a, Long b) { this.a = a; this.b = b; } public String getA() { return a; } public Long...
1
1,803
Abort message: 'couldn't find an OpenGL ES implementation'
<p>I am trying to run lollipop on my device and when I flashed the image i am getting i am getting the following log</p> <pre><code>--------- beginning of crash F/libc ( 1565): Fatal signal 6 (SIGABRT), code -6 in tid 1565 (surfaceflinger) I/DEBUG ( 1572): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *...
1
1,136
SQLSTATE[HY000] [1045] Access denied for user 'rentacar'@'localhost' (using password: YES)
<p>I am new to Laravel. I just created a project, embedded a html Admin template Frest (also tried Admin LTE). When I tried to create tables using php artisan migrate i got this error</p> <pre><code> Illuminate\Database\QueryException SQLSTATE[HY000] [1045] Access denied for user 'rentacar'@'localhost' (using ...
1
1,417
Android startActivity not working
<p>I'm having small problem with my app. <code>startActivity(Intent intent)</code> is not working.</p> <pre><code> switch (id) { case R.id.action_add: if (auth.getCurrentUser() != null) { if (vf.getDisplayedChild() &gt; 0 &amp;&amp; vf.getDisplayedChild() &lt; 3) { ...
1
1,293
Getting NullPointerException for json object
<p>I am keep getting NullPointerException error at line <code>JSONObject json = userFunctions.uploadFileData(guid, photoName);</code> in my code below. I have no idea why am I getting this error. Please help me how can I solve this problem.</p> <p>Here is my code</p> <p>here is the method in which this error occurs</...
1
1,794
How does Worker.setForegroundAsync work behind the scene?
<p>Currently, after quit the app, to complete a long running task in foreground (So that it will not be killed by OS), this is what I did by using <code>WorkManager</code>.</p> <ol> <li>Use <code>Worker</code> to call <code>ContextCompat.startForegroundService</code>, for starting an <code>IntentService</code>.</li> <...
1
1,514
How to connect to our own dedicated server using photon networking in unity?(Self-hosted)
<p>In below script am trying to connect my game with my own server. But every time I get an error like</p> <blockquote> <p>-(JoinRandomRoom failed. Client is on MasterServer (must be Master Server for matchmaking) but not ready for operations (State: ConnectingToMasterServer). Wait for callback: OnJoinedLobby or OnConn...
1
1,137
How to serve precompressed gzip/brotli files with .htaccess
<p>Im trying to serve precompressed gzip/brotli files for html, js and css. With the following code.</p> <pre><code>RewriteEngine on # Brotli # If the web browser accept brotli encoding… RewriteCond %{HTTP:Accept-encoding} br # …and the web browser is fetching a probably pre-compressed file… Rewr...
1
1,040
terraform on azure - create keyvault with private connection
<p>Would like to get some pointers on setting up a key vault with a private connection. Looking at the examples on the TF site and other sites I put this together but it crashes.</p> <p>In short, it creates the KV, assigns some policies, and then creates the private link which is in turn associated with the service end...
1
1,171
How to use same JRBeanCollectionDataSource on multiple sub reports?
<p>I call two subreports with same datasource, however when I print this report, only my 1st sub-report is populated with table.</p> <p>This is how I pass the <code>statsData1</code> to report.</p> <pre><code>List&lt;BasicStats&gt; summaryList = new ArrayList&lt;&gt;(); summaryList.add(new BasicStats("A", 5d, 6.5d, 2...
1
9,130
Dynamically displaying data from a clickable table row into a modal
<p>I'm attempting to create a component that consists of rows of data, which when clicked, open a modal with information relating to that table row. For example, when a user clicks on "team 1", a modal would appear showing a new table displaying each of the users assigned to that team.</p> <p>I've managed to achieve t...
1
1,038
DataTable.Load(FbDataReader) does not load everything into DataTable
<p>There is a closely related question here: <a href="https://stackoverflow.com/questions/229425/net-datatable-skips-rows-on-loaddatareader">.NET DataTable skips rows on Load(DataReader)</a></p> <p>I have a SQL Query that returns 169 results. The result looks like this:</p> <pre><code>CustomerID Customer Name Termina...
1
1,025
[Errno 56]: Socket already connected fix?
<p>I am working on a ICMP pinger program and have run into a problem. When i run the program i first do <code>sudo su</code> in the terminal so i have root access since we're required to use raw sockets and then when i run the program i get this traceback</p> <pre><code>sh-3.2# python3 icmp.py Pinging 31.13.66.112 usi...
1
1,701
How to stop multiple reads of an RFID card
<p>I'm using an 125Khz RFID module RDM6300 with arduino nano. While the card is near the RFID reader the loop will read the card multiple times. I want it to read only once while the card is near the reader then read it again if a new connection is being made. *This code is not writen by me, this is the source: <a hre...
1
2,556
I get the DateTime constructor's ArgumentOutOfRangeException when checking IsDBNull
<p>I have a ODBC data source, one of the columns is a DateTime. If I attempt to do anything with the field (<code>IsDbNull</code>,<code>GetValue</code>,<code>GetValues</code>) I will get an exception if the value is this databases equivalent of null.</p> <pre><code>System.ArgumentOutOfRangeException occurred HResult...
1
1,127
Phaser -- How to check if sprite is moving?
<p>I am trying to check in my update() function if a ball sprite has stopped moving after being thrown. I tried the following:</p> <pre><code>if (ball.body.velocity.x &lt; 1 &amp;&amp; ball.body.velocity.y &lt; 1) { alert("ball not moving"); } </code></pre> <p>But the alert is being fired even when both conditions...
1
2,106
maven-jaxb2-plugin multiple schemas in different packages Error
<p>I have a problem with <code>maven-jaxb2-plugin</code> . What I am trying to achieve is to generate-sources from x different wsdl's into different packages. </p> <p>I would like to avoid method with multiple <code>&lt;execution&gt;</code> so I could leave pom.xml untouched when I add another wsdl.</p> <p>I configu...
1
3,142
how to get current image source of current item position and highlight that item-caroufredsel
<p>i want to highlight current item , how do i get the image source and current thumbnail ? <a href="http://jsfiddle.net/RL8MV/2/" rel="noreferrer">http://jsfiddle.net/RL8MV/2/</a></p> <pre><code>$('#carousel span').append('&lt;img src="http://coolcarousels.frebsite.nl/c/28/img/gui/carousel_glare.png" class="glare" /...
1
1,411
Cannot locate modules of Django App on AWS Elastic Beanstalk
<p>I'm trying to make a Django app run on AWS Elastic Beanstalk, but am stuck with what appears like it might be a PYTHONPATH or virtualenv problem, and I can't figure it out.</p> <p>When I try to load a page in my browser, I get the yellow Django error screen (I'm still in debug mode):</p> <pre><code>Exception Value...
1
1,132
change js confirm to a twitter bootstrap modal
<p>I have some JavaScript that displays a confirm dialog box to the user to confirm their action with passed in variables.</p> <p>However, I must change the plain confirm dialog to a twitter-bootstrap modal.</p> <p>I have tried several times, read a lot of SO posts and read the twitter bootstrap docs, but I cannot ge...
1
1,034
How to override an inherited class property in Delphi?
<p>In one file, I have a baseclass with a ID-property:</p> <pre><code>type TBase = class private class function GetID(ACombo: TCombo): Integer; virtual; class procedure SetID(ACombo: TCombo; AValue: Integer); virtual; public class property ID[ACombo: TCombo]: Integer read GetID write SetID; e...
1
1,145
calling a function from inside jquery click function
<p>I am trying to call a javascript function from a jquery click function but not able to do so.</p> <p>here is my code.</p> <pre><code> OnSubmit: function(){ $("#problemsubmit").click(function(){ var value = $("#probleminput").val(); $('#prob_submit_mssg').text(value); ...
1
1,806
No IDP was configured error in app using spring-security-saml
<p>I'm writing a web app with Spring Boot and Spring Security SAML based on the sample code at <a href="https://github.com/vdenotaris/spring-boot-security-saml-sample" rel="nofollow">https://github.com/vdenotaris/spring-boot-security-saml-sample</a>. When I try to access a secure URL in my app I get this exception:</p...
1
1,717
Mono exceptions after compile on virtual host
<p>I have compiled mono to a local user on a Debian headless virtual host without sudo.</p> <p>I am getting the following thrown exception on running a program.</p> <pre><code>mono Program.exe </code></pre> <p>What is the origin of the exception below, and how do I resolve it?</p> <pre><code>Unhandled Exception: Sy...
1
4,481
Error detecting database type: Cannot create PoolableConnectionFactory (FATAL: no pg_hba.conf
<p>I am using pgAdmin3 and used the pkg to install postgreSQL and pg. I am trying to connect to postgreSQL through tomcat. When I do ./startup.sh from my tomcat /bin directory the log file shows this error: </p> <blockquote> <p>Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean w...
1
1,059
Error sending mail through Yahoo?
<p>Error sending email from yahoo. I have tried ports 25,995,465,587! I am out of options now. I would highly appreciate if someone could tell me what the problem is? isn't smtp available on yahoo now!!! i read somewhere that it is a paid service or something? is that correct and is it because of that, that i am not ab...
1
2,018
How can you remove namespace declarations in ksoap?
<p>Right off the bat, here is my Soap call implementation, minus the irrelevant bits.</p> <pre><code>public class MySoapClient implements AbstractSoapClient { private String NAMESPACE = "http://www.examples.com/wsdl/MyService/"; private String METHOD_NAME = "getPersonDetails"; private String SOAP_ACTION =...
1
1,678
NSURLConnection needs a NSRunLoop to execute?
<p>I'm trying to fetch the contents of a URL from a method called connect. It reads its configuration settings and attempts to fetch the URL. It appears to need the run loop to execute. I though it would just execute once and be done. It seems that I don't need to have that run loop running for any reason other tha...
1
1,040
creating a virtualenv gives a permission denied
<p>I'm trying to create a virtualenv, but I'm getting a Permission denied error. I'm using the following code</p> <pre><code>python2.7 -m virtualenv -p `which python2.7` test </code></pre> <p>Which gives this error message: </p> <p>--edit-- </p> <p>I get a permission denied error </p> <pre><code>Traceback (most re...
1
1,465
How to deal with the missing data in stan?
<p>I am a newbie to stan and I am implementing the probabilistic matrix factorization model. </p> <p>Given a user-item rating matrix:</p> <pre><code> item user 1 3 NA 4 5 NA 2 0 3 NA 1 5 1 1 NA NA NA 0 .... </code></pre...
1
1,060
Too many redirects with reverse proxy
<p><strong>Setup:</strong></p> <ul> <li>cloudflare DNS </li> <li>docker-compose</li> <li>nginx reverse proxy </li> <li>wordpress fpm </li> <li>nginx php handler</li> </ul> <p><strong>Problem</strong></p> <p>Too many redirects, like in these logs:</p> <pre><code>Attaching to wp_db, wp, wp_web wp_db | 2020-01-27...
1
3,428
Query active directory Using Java for samaccountname's Tied to a Specific Group
<p>Hi the below LDAP query returns a list of members' "givenName", that are in a specific group. However, I would to return a list of members' "sAMAccountName", that are in a specific group. I'm not very familiar with LDAP and unsure how to accomplish this. Any help is appreciated.</p> <pre><code> public LdapContex...
1
1,144
How To Pass A Parameters To AsyncTask (Ksoap2)
<p>Hi All I want to pass a Variables to AsyncTask</p> <p>I've This Variables</p> <pre><code>private static String NAMESPACE = "aaa"; private static String METHOD_NAME = "bbb"; private static String SOAP_ACTION = NAMESPACE + METHOD_NAME ; private static String URL = "ccc"; </code></pre> <p>and I've This Task</p> <p...
1
1,839
Phonegap push notification plugin with iOs
<p>I'm using phonegap-plugin-push to send push notifications to Android devices.</p> <p>I'm trying to figure out how to send notification to iOs.</p> <p>I've registered at <a href="https://developers.google.com/mobile/add?platform=ios&amp;cntapi=gcm&amp;cnturl=https:%2F%2Fdevelopers.google.com%2Fcloud-messaging%2Fios...
1
1,379
DbSet Object reference not set to an instance of an object
<p>I'm trying to make a universal 3-tier application with generic repositories for any data provider/orm. I just rewrote the code and got stuck on the error of Object reference not set to an instance of an object while trying make action in DbSet. I'm completely confused.. at least nudge me in the right direction.</p> ...
1
1,041
Uncaught TypeError: Cannot set property '0' of undefined
<p>I am using <code>Facebooks Javascript API</code> to import to my website the <code>albums</code> and <code>photos</code> of a Facebook page.</p> <p>My javascript code looks like this :</p> <pre><code>&lt;script&gt; var albumPhotos = new Array(); var albumThumbnails = new Array(); window.fbA...
1
6,302
The 'EurekaPackage' package did not load correctly - Visual Studio 2013
<p>I installed VS 2013 Premium. On first launch I get this error</p> <blockquote> <p>Microsoft Visual Studio</p> <p>The 'EurekaPackage' package did not load correctly.</p> <p>The problem may have been caused by a configuration change or by the installation of another extension. You can get more informati...
1
1,234
Android SearchView empty string
<p>I'm trying to use a SearchView and I got everything to work, except when I want to search an empty string.<br> The onQueryTextChange does react when I remove the last character, but I want the user to be able to press the search button when the searchfield is empty.</p> <pre><code> final SearchView.OnQueryTextListe...
1
1,246
ScrollMagic - Uncaught ReferenceError: ScrollScene is not defined
<p>Why does the latest version of <a href="http://scrollmagic.io/" rel="nofollow noreferrer">ScrollMagic</a> gives me this error below?</p> <blockquote> <p>Uncaught ReferenceError: ScrollScene is not defined</p> </blockquote> <p>This is my test code following this <a href="https://scotch.io/tutorials/building-inter...
1
2,193
Compiler error in declaring template friend class within a template class
<p>I have been trying to implement my own linked list class for didactic purposes.</p> <p>I specified the "List" class as friend inside the Iterator declaration, but it doesn't seem to compile.</p> <p>These are the interfaces of the 3 classes I've used:</p> <p><strong>Node.h:</strong></p> <pre><code>#define null (N...
1
1,202
Java: Adding classes from external source to classpath
<p>So here is my issue. I am creating a piece of software that is similar to a DOS command line. I would like people to be able to add other commands by simply dropping a jar file containing classes extending the base <code>Command</code> class into a folder. Nothing I have tried yet works.</p> <p>Here is what I have ...
1
1,539
Android Soft Keyboard isn't resizing my view
<p>I know there are a thousand questions about this, but I've crawled through them and none of their solutions are working for me.</p> <p>My activity has a tabbed interface with this kind of layout:</p> <pre><code>&lt;RelativeLayout&gt; &lt;LinearLayout tabBar&gt; &lt;Button tab1 /&gt; &lt;Button ...
1
1,164
gridview is not updating in update panel
<p>I have a grid view inside the update panel Like this.</p> <pre><code>&lt;asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional"&gt; &lt;ContentTemplate&gt; &lt;asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" BackColor="White" Bo...
1
3,043
ninja: build stopped: subcommand failed when building llvm10 on Fedora 35
<p>I have been trying to build llvm10 from source. I downloaded the source from llvm's github and have been trying for the past few days to complete the build but each and everytime towards the end of the ninja process, the error pops up -<code>ninja: build stopped: subcommand failed</code></p> <p>I am using the follow...
1
2,085
Why does getActivity returns null in Fragment in ViewPager?
<p>I have a MainActivity and from there I have ViewPager with two Fragments. I want to change properties of Views of FragmentOne from FragmentTwo. So what I have is a callback method from FragmentTwo to the MainActivity. The callback method is shown here: </p> <pre><code>@Override public void newMessage(String message...
1
3,879
How to fix SolrException, EOFException: read past EOF: MMapIndexInput?
<p>I've got this problem that I can't solve. Partly because I can't explain it with the right terms. I'm new to this so sorry for this clumsy question.</p> <p>Below you can see an overview of my goal.</p> <p>I'm using Magento CE 1.7.0.2 &amp; Solr 4.6.0.</p> <p>I'm integrating the solr file with my site in host.When...
1
2,220
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/graphics/drawable/DrawableWrapper;
<p><strong>Application is running but when an alertdialog is opened then we get this error. It's been 4 days, didn't find any solution.</strong> </p> <pre><code> 03-06 16:05:23.355 5505-5505/com.boltt.health E/UncaughtException: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/graphics/drawa...
1
5,500