title
stringlengths
13
150
body
stringlengths
749
64.2k
label
int64
0
3
token_count
int64
1.02k
28.5k
Why Zurb Foundation Top Bar not functioning?
<p>I am learning Foundation 4.0 for a top bar design. My goal is just like the tutorial, to have slide effect of the menu item when the width goes narrower. I am following the document: <a href="http://foundation.zurb.com/old-docs/f3/navigation.php#topbarCode" rel="nofollow noreferrer">http://foundation.zurb.com/old-do...
2
2,865
finding exception in uploading file in jsp
<p>i don't know what's wrong with my code ,it is showing this error:it was executing earlier but now i dn't know why it is not running.. i can't understand this classfileexception as i hv added servelet-api.jar file also in my lib</p> <pre><code> exception org.apache.jasper.JasperException: javax.servlet.ServletExce...
2
2,016
Could not find information about 'NameError: date'
<p>I am working with pelican static site generator for my blog, I was using correctly, but strangely I found that <code>.md</code> articles are not compiling and it throws me these strange errors.</p> <p>I looked at my article pages, everything is fine, this is my article header</p> <pre><code>Title: some title slug:...
2
1,194
Black Holed Request Cakephp
<p>On my index page I have check boxes in each row of my table.</p> <p>To edit selected items, I use javascript/jquery to grab the class of the checkboxes, build an array of the ids and then post it to the edit selected method in my controller.</p> <p>Now, this all works perfectly, but when Security in enabled in my ...
2
2,129
Building this pipeline on Azure Data Factory V2
<p>I am currently trying to set up this pipeline on Azure Data Factory V2 (as you can see in the picture attached). In summary this ERP system will export in a monthly basis this report (CSV file with actual and forecast data) and this will be saved in a blob container. As soon as this file CSV is saved, an event trigg...
2
3,223
Spring Boot ErrorController not working with OpenShift
<p>I am trying to send a standard error response when the request is not fulfilled on the server due to any reason. For that, I implemented ErrorController interface and overridden getErrorPath method. It's working on my local machine but when I deploy that onto the OpenShift server with Tomcat 7.0.54. It does not work...
2
14,470
How to Reply to an Email without Overwriting the whole Body Message?
<p>I wrote a program that finds the specific mail in Outlook. Then opens the reply section of the mail and changes the To recipient, CC recipient and adds a body message coming from excel sheet. </p> <p>When I run the program, it overwrites the whole body message including the previous messages.</p> <p>How do I add a...
2
1,032
Error when logging in with webgoat on Kali
<p>I've installed tomcat7 on the Linux distribution Kali (via apt-get) and downloaded the latest webgoat release from: <a href="https://github.com/WebGoat/WebGoat/releases/download/7.0.1/webgoat-container-7.0.1.war" rel="nofollow">https://github.com/WebGoat/WebGoat/releases/download/7.0.1/webgoat-container-7.0.1.war</a...
2
2,435
SwipeGestureRecognizer not working properly for left, up, and down in swift
<p>I'm trying to implement swipeGestureRecognizer for all four directions in a swift app, on a bunch of dynamically generated UIViews. So basically, I want each of these views to respond to swipes in all four directions. Here is my code</p> <pre><code> import UIKit class ViewController: UIViewController { ove...
2
1,108
Exception in thread "main" java.lang.Error: Unresolved compilation problems gdrive
<p>Here's my code.</p> <p>My program to upload files to gdrive:</p> <pre><code>import com.google.api.client.googleapis.auth.oauth2.GoogleAuthorizationCodeFlow; import com.google.api.client.googleapis.auth.oauth2.GoogleCredential; import com.google.api.client.googleapis.auth.oauth2.GoogleTokenResponse; import com.goog...
2
1,038
Nginx - PHP-FPM 7.1 Docker Containers, long delay for response when accessing PHP file in sub-directory
<p>I've been trying to resolve this for a day now, and it has beaten me.</p> <p>Here's the setup:</p> <p>Nginx in one docker container, php-fpm 7.1 in another docker container. Containers both have access to the same volume for files. </p> <p>Communication is working, and it displays a phpinfo file with no problem...
2
1,848
How to fix BeanInstantiationException?
<p>I'm writing an application with Spring Boot and I have a problem, I tried searching for solutions on the internet but failed. Anyone can help me This is my code, thank you very much.</p> <p><strong>FTPController.java</strong> </p> <pre><code>@Controller @RequestMapping("api/files") public class FTPController { ...
2
2,859
Cannot read property 'code' of undefined at Constructor.render (Photo.js:14)
<p>So this issue is caused directly after a browser (page) reload, and follows 4 distinct steps.</p> <ol> <li>'Load Posts has been fired (actionCreators.js:26) - This is an asynchronous thunk call to firebase':</li> </ol> <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">...
2
3,360
Windows Driver programming, Thread function data argument gets corrupted?
<p>I'm testing this code:</p> <pre><code>int handler(void* data) { KTIMER *Timer = (KTIMER *)data; DbgPrint("*** timer1.sys: Inside handler ...\n"); DbgPrint("handler: Address of data: %p\n", data); if (STATUS_SUCCESS == KeWaitForSingleObject(Timer, Executive, Ke...
2
1,219
CORS authenticated requests to Google Sites feed/API blocked
<p>I'm currently building an ASP.NET web application to simplify the provisioning of Google Sites, pages, Gadgets on Google Sites and ACLs for Google Sites.</p> <p>I have encountered the issue which many a developer has already come across: cross-origin resources. According to the Google documentation on CORS requests...
2
1,927
Generate PDF files from view with Images from network URL in Android
<p>I am generating a PDF file using the native PDF Libraries (android.graphics.pdf.PdfDocument) </p> <p>the document should contain a header that is a static imageView, a few textviews, and a RecyclerView with a bunch of images,</p> <p>everything except the recyclerview is displayed correctly, </p> <p>the recyclervi...
2
1,693
Show images in Intents UI using SiriKit
<p>I'm developing a simple photo search using SiriKit. I'm able to search and display images on main viewcontroller but I'm not able to show images on Intents UI using IntentsUI framework. I followed this <a href="http://jamesonquave.com/blog/adding-siri-to-ios-10-apps-in-swift-tutorial/" rel="nofollow noreferrer">tuto...
2
2,751
Bash missing all shell commands
<p>I'm trying to convert by boyfriend's old computer into a development environment because mine broke and I can't afford a new one, but it seems to be missing damn near every shell command I'm used to. It doesn't have <code>ls</code> even! </p> <p>The <code>help</code> command gives me this:</p> <pre><code>bash-4.4$...
2
1,715
Assimp Faces all have indices (0,1,2)
<p>I'm using Assimp to load in OBJ files to render in OpenGL using my own rendering pipeline.</p> <p>But when I load in a file, <em>every</em> face has indices (0,1,2), rather than appropriate entries into the vertex array.</p> <p>Every example I could find does something similar to this (which is what I'm doing):</p...
2
1,065
Laravel validation doesn't validate html entities
<p>I'm working with Laravel 5.5 and I'm trying to make validation of a form which shouldn't pass if user write html entities, for example: <code>&lt;h1&gt;Hola&lt;/h1&gt;</code>, <code>&lt;script&gt;alert(1)&lt;/script&gt;</code>. But it insert all field in DB.</p> <p>My controller:</p> <pre><code>protected function ...
2
10,796
angularjs - Watching service properties in a controller scope... changing them from a directive... no update?
<p>Let's say I have a very simple service with a few properties on it. If I use the service in a controller, put the service's properties on the scope so that they are bound to my view, and update them from the controller, they update in the view. This is the behavior I'd expect. However, if the same service's properti...
2
1,304
Google Maps, Directions and Places API to Generate Dynamic Directions
<p><strong>UPDATED CODE</strong>: OK, I have this working the way I want it now, though I would like to order the results of the nearBy search by distance.</p> <pre><code>// Google Maps var lat = $('#map').data('lat'); var lng = $('#map').data('lng'); var markerImage = { url: '/img/marker.png' } var eventTitle =...
2
2,524
In ggplot2 how to show emmeans contrast significant p values in plot edited
<p>I have been copying my boxplot graphs to word and manually putting in the significant p-values. When I use the recommended code <strong>stat_compare_means(comparisons = my_comparisons, label.y = c(85, 90, 95)</strong> I end up with numbers that are not accurate. What I am looking for is for a bracket with signific...
2
1,470
Django: Column does not exist
<p>So I just pushed an update to the web server and did <code>makemigrations</code> then <code>migrate</code> and everything seems ok, then when I refresh the website page I got this error</p> <p><strong>Traceback:</strong></p> <pre><code>Environment: Request Method: GET Request URL: http://0.0.0.0/ Django Version...
2
3,526
Build error due to conflict between Androidx and Android Support recent version
<p>I am stuck with a build error due to some conflict as defined in the title. Here is my error:</p> <pre><code>Manifest merger failed : Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91 is also pr...
2
1,275
using bootstrap splitting the page to two vertical space
<p>I am trying to split the page into two and I want to do it horizontally using bootstrap: The top 1/3 of the page and bottom part the rest. Once it split it bottom part I want to get 4 columns. </p> <pre><code>&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;meta charset="UTF-8"&gt; &lt;title&gt;Tornado...
2
2,139
Why is Java/Linux appending 0xa to end of file?
<p>I'm writing a file using <code>FileOutputStream</code>, and I'm noticing the hex seems to include a terminating <code>0x0a</code>. Here is the output from the file:</p> <pre><code>0000000: d100 0b00 0000 4865 6c6c 6f20 776f 726c ......Hello worl 0000010: 6429 0043 0500 0000 7072 696e 740a d).C....print. (No...
2
1,675
Unable to connect to MSSQL Server from Linux VM using FreeTDS
<p>I've set up FreeTDS + UnixODBC on my RHEL VM and have a MS SQL Server that uses Windows Auth be default.</p> <p>I'm trying to connect to this MS SQL server using windows auth.</p> <p>Following are my config files for freeTDS and ODBC</p> <p><strong>freetds.conf</strong></p> <pre><code>[global] tds versio...
2
1,957
Highcharts: how do I add full data to multiple series in a chart
<p>This is a question similar to one (Highcharts parsed drilldown not showing on page but does in console) but is trying to do things slightly different (that one works (thanks Pawel/Salman), so I'm asking as a new question). I am creating a column chart with multiple series with drilldown. The data comes from a CSV ...
2
4,248
Angular reactive form is invalid on page load
<p>I have a form where three of my inputs (two fields and 1 checkbox) are <code>ng-invalid</code> when the page first loads. The checkbox is the one I'm most concerned about, <a href="https://i.stack.imgur.com/Hif0m.png" rel="nofollow noreferrer">because it appears with a red border</a> (&quot;this field is required&qu...
2
1,548
Dynamic unordered list rendering from json with jQuery
<p>I am trying to build a dynamic unordered list with nested child ul list levels(actually 4+ sub levels), I am having hard time rendering the actual markup I need, so at a later stage I can make it more functional, I created at the following link <a href="http://jsfiddle.net/creativestudio/jk69je6t/" rel="nofollow nor...
2
6,964
Class implementing IEventDispatcher cannot use Event metadata tag
<p>Okay Flex gurus, we have following class</p> <pre><code>package { import flash.events.Event; import flash.events.EventDispatcher; import flash.events.IEventDispatcher; import mx.controls.Alert; import mx.core.IMXMLObject; [Event(name="progressReady", type="flash.events.Event")] public ...
2
1,638
Call SSIS Package from c# Console Application For Each Loop
<p>I have a Console Application which is invoking SSIS Package.Below is the code which is working Fine.</p> <pre><code>public static void ExecuteSSIS_Staging() { DataAccessLayer objDAL = new DataAccessLayer(); LogManager_SSIS objlogM = new LogManager_SSIS(); String strDestinationFilePath = ...
2
1,044
How to set value of a cell while inline editing in a Kendo MVC Grid based on a dropdownlist selection?
<p>Hope the title makes sense. So I have a grid with just three columns, the idea is that when adding a new row, the first column is a dropdown for a complex type, and I want the second column to show a value from the dropdown selection dynamically, and the third column is just a text box. I have read through a several...
2
1,351
Insert data into Sql Compact
<p>I have Handheld device that connect to Sql Server database, read the Sql server data and get it on the SQL Compact database that is located on device. This is my code:</p> <pre><code>public void InsertData() // Function insert data into SQL commapct database { dt = new DataTable(); dt = SqlServer_GetData_dt...
2
1,240
Detect running screensaver with xlib
<p>I'm trying to detect wether a screensaver is running or not.</p> <p>Here's the code that I've got so far:</p> <pre><code>/* LDFLAGS='-L/usr/X11R6/lib/ -lX11 -lXext -lXss' make xidle */ #include &lt;stdio.h&gt; #include &lt;X11/Xlib.h&gt; #include &lt;X11/Xutil.h&gt; #include &lt;X11/extensions/scrnsaver.h&gt; int...
2
1,086
Android: The Application XXXXX (process com.ough.XXXXX) has stopped unexpectedly . please try again
<p>I am new to android development, I tried to run my first app with eclipse, and the emulator gives me an error :</p> <blockquote> <p>The Application XXXXX (process com.ough.XXXXX) has stopped unexpectedly . please try again.</p> </blockquote> <p>I tried to seek for an answer in the web, but it seems not helping ...
2
1,909
In aframe, how do you make the property visible="false" ignore the raycaster?
<p>I have some objects in aframe with visible="false" meaning they aren't visible but they are still interactable even though you can't see them. Is there a solution to this?</p> <p>Found a few similar cases online but no clear solution.</p> <p><a href="https://github.com/aframevr/aframe/issues/3551" rel="nofollow no...
2
1,157
Multilevel Expandable Listview
<p>I'm trying to add values into the parent groupPosition[0] particularly. But its reflecting to all the groupPositions of parent list item. Plesae help me guys.</p> <pre><code> public class MainActivity extends Activity { ExpandableListView explvlist; ArrayList&lt;String&gt; StringArray = new ArrayList&...
2
3,882
Load different components on tab change
<p>In the context of an SPA I want to have 3 different 'views' (for want of a better word). The first one is a set of filters that can be applied to large list of restaurants, the second one is a listing of filtered restaurants, and the third one plots locations on a map.</p> <p>All the demos I can find so far basical...
2
1,087
What is this Eclipselink error and how to solve it?
<p>Here is the relevant stacktrace:</p> <pre><code>[EL Warning]: 2017-05-11 16:35:34.18--ServerSession(4115088)--Exception [EclipseLink-32] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.DescriptorException Exception Description: Trying to set value [0] for instance variable...
2
1,712
Null Pointer Exception while unmarshalling XML with @XmlAnyElement annotation
<p>I'm currently trying to unmarshal some XML into a java object using JAXB and I'm getting a strange Null Pointer Exception. This is only an issue while unmarshalling. I can marshal with these classes just fine. Here are the relevant pieces of code (irrelevant portions are denoted by "..."):</p> <ol> <li><p>The JAXB ...
2
1,983
Autolayout + constraints for dynamic table height based on total rows
<p><strong>First of all this ain't about dynamic cell's height. So don't mix it up.</strong></p> <p>I have a scenario in that I created three cards </p> <ol> <li>Detail card: Show specific details for location</li> <li>Chart card: Show different charts based on selection</li> <li>More details card: Card shows more de...
2
2,762
How to run the Java applications, from Google chrome app?
<p>How to run Java using Google chrome app extension? Following .exe works but when i use .jar its failing.</p> <p>What is am i doing wrong?</p> <p>C# works:</p> <pre><code>{ "name": "com.google.chrome.example.echo", "description": "Chrome Native Messaging API Example Host", "path": "C:\\Users\\Documents\\Visu...
2
1,533
Pushing HTML page to one side
<p>I'm trying to implement a sidebar to my Twitter Bootstrap 3 application. When I click a button, a fixed positioned <code>nav nav-pills nav-stacked</code> appears on the left side of my page. And I gave <code>z-index:1000</code>, so it appears on top of my content. </p> <p>Fiddle: <a href="http://jsfiddle.net/maven...
2
1,234
Self-logging: Busybox shell script that logs stdout to a file
<p>My question relates to an answer posted by jbarlow to the following question: <a href="https://stackoverflow.com/questions/3173131/redirect-copy-of-stdout-to-log-file-from-within-bash-script-itself">redirect COPY of stdout to log file from within bash script itself</a></p> <p>I used the suggested script as listed b...
2
1,133
Lots of unexpected "Cannot retrieve value using the binding" errors
<p>When debugging my wpf project I see a lot of binding errors logged in the output window like this one:</p> <blockquote> <p>System.Windows.Data Information: 10 : Cannot retrieve value using the binding and no valid fallback value exists; using default instead. BindingExpression:Path=AreRowDetailsFrozen; DataItem=n...
2
1,752
Why onMessageReceived() method is not passing intent properly when the app is in background?
<p>Actually I'm trying to pass intent to an <code>activity</code> on click of the <code>push-notification</code> and it's working fine when the app is present in <code>foreground</code>.But when the app is in background although I'm receiving the <code>push-notification</code> without any problem but by clicking that n...
2
2,453
Android file picker from external storage not working on API level > 24
<p>I have running code of choose <code>file</code> from <code>file manager</code> , its working fine on <code>API level 23</code> but after that it is giving problem on latest devices. Now by google i knew that to use it on latest device i need to use content provider , i applied some code but it's not working . I want...
2
1,029
Let users visit other users (profiles) in my own written social community?
<p>The thing I'm asking for is how the users can visit other users profile.</p> <p>The past week I have been scripting a social network I'm doing, and I'm kind of stuck right now.</p> <p>I don't know where to start and read or anything.</p> <p>So I'm asking you guys to kindly help me =)</p> <p>Im thinking of the ur...
2
2,510
Tornado - how does application and request logging work?
<p>I'm using tornado 3.2.1, python 2.7.3, supervisord 3.0 on AWS EC2 using Amazon Linux AMI.</p> <p>I'm trying to get request level logging (e.g. "200 POST / (127.0.0.1) 0.75ms" (this is the definition of request level logging, right?)) to write to a log file and exception stack traces to log to another log file. I se...
2
1,168
Macros vba to list all inaccessible network folders
<p>I have a vba code that scans a folder and its subdirectories for excel files and lists the connection strings and sql command. But my problem is my program doesn't list the inaccessible network folders that gives you the error "Access Denied." I wanna be able to list the path to the folder and indicate on the second...
2
1,674
Function in external javascript file called only on reload In react js
<p>I have a external js file linked to my html and bundle.js file generated by webpack linked to html .</p> <p>In index.html code is</p> <pre><code>&lt;script src="js/main.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="bundle.min.js"&gt;&lt;/script&gt;` </code></pre> <p>The issue is functions in main...
2
4,658
Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project myserver
<p>This is my pom.xml file,</p> <pre class="lang-xml prettyprint-override"><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt; &lt;modelVersion&gt;4.0.0&lt...
2
2,382
Action class getting null value from jsp page through ajax call
<p>How can I get the JSP value from action class through Ajax? When I enter the username want to check to database the username is present or not. For that purpose, I am using Ajax.</p> <p>Here my JSP code:</p> <pre><code> $(document).ready(function(){ $("#username").change(function(){ ...
2
2,012
Calling Method in React Native using Refs Does Nothing
<p>I'm making a simple <a href="https://en.wikipedia.org/wiki/Pomodoro_Technique" rel="nofollow noreferrer">pomodoro</a> app in React Native, and I came across a problem with calling a method from a child component. In the code below, the method I am trying to call is <code>reset</code>, which I call from <code>resetTi...
2
1,547
Test a nested method call on a mocked class using ScalaMock
<p>I am new to both ScalaMock and mocking in general. I am trying to test a method which calls a method in another (mocked) class and then calls a method on the returned object.</p> <p><strong>Detailed information:</strong></p> <p>So I am using ScalaTest and there are five classes involved in this test...</p> <p>Sub...
2
1,797
fastLm() is much slower than lm()
<p><code>fastLm()</code> is much slower than <code>lm()</code>. Basically, I just call <code>lm()</code> and <code>fastLm()</code> with the same formula and data, but <code>fastLm()</code> seems to be much slower than <code>lm()</code>. Is this possible? I just don't know how could this happen?</p> <pre><code>dim(dat...
2
2,082
getting error "Apex type not found for element Name" in partner wsdl
<p>I am new in SOAP Web service. I want to synch two Salesforce instance. For this I am using Partner WSDL. I have installed this WSDL into my instance and I have created one custom class:</p> <pre><code>public with sharing class ConnectionManager { private String uName = 'xxx'; private String Password = 'xxx'; privat...
2
1,303
name is too long to represent
<p>I am getting this error on running my adf App.</p> <pre><code>&lt;LifecycleImpl&gt; &lt;_handleException&gt; ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6 javax.faces.FacesException: javax.servlet.ServletException: java.lang.InternalError: name is too long to represent ...
2
3,607
How to run producer and consumer console on windows
<p>i created an demo project to check the functionality of <strong>kafka with spring boot</strong>. i successfully created this demo. but when i go to run this project then producer receives msg but <strong>consumer giving me warning in the console</strong>. i don't understanding why this is giving me warning, please s...
2
8,993
Using Django registration with a Flat UI template
<p>I have created a template design for signup page using Flat UI. Now i want to use Django registration to register a user. I have goggled various resources but they are very complex and using Django inbuilt form to create a form.</p> <p>I need simple steps that i can follow</p> <p><strong>signup.html</strong>(home/...
2
1,135
Android Camera2 API - lack of privileges on resume
<p>I'm developing the app using Camera2 API. My problem looks like that: when I hit the device's sleep button while the camera fragment is working and after that I wake up the device, the application restarts</p> <pre><code>12-10 10:59:10.423 5081-5081/com.snapsportz.nexus5camera.app E/AndroidRuntime: FATAL EXCEPTION...
2
2,724
Streaming .wav audio fails, but plays when downloaded separately
<p>I am having trouble over streaming of wav audio files with androids MediaPlayer.</p> <p>The URL for wave files are verified and downloaded separately on device successfully. Those downloaded files plays with no issue, but when same file is streamed to the player, it won't play at all and gives error.</p> <pre><cod...
2
1,957
R ggplot facet: varying x axis formatting and varying aesthetics by facet
<p>I was hoping someone could help with 1) varying the format of the x-axis across panels in a facet plot 2) showing the loess smoother only on the left side of the facet.</p> <p>The left side is longer history, the right is last twelve months. The real dataset has more data (more time and more variables), and so thes...
2
1,816
Slick slider dots not showing
<p>I'm very new to <code>liquid</code> and I've managed to add a product slider to a website that I'm building for a client but instead of the slider dots there are numbers and instead of being horizontal they are vertical.</p> <p><a href="https://i.stack.imgur.com/gLiAc.png" rel="nofollow noreferrer"><img src="https:...
2
2,671
how to get mongoDB object by mongoTemplate query in java, by nested array of object key value
<p>Single Document has an array of attributes with attribute-Id and value. I want to retrieve the object by matching the attribute-Id and the values corresponding to each attribute object in the array with multiple operators. ISSUE: While performing the Search GET API, any attribute id which has the value being searc...
2
2,142
How to add a marker with some details for Bar Chart using MPAndroidChart in Kotlin?
<p>I created a stacked <strong>BarChart using MPAndroidChart</strong> library and now when the user <strong>clicks</strong> on a bar, I want to display a <strong>marker</strong> with some details as in the image bellow: <a href="https://i.stack.imgur.com/7U1nv.png" rel="nofollow noreferrer"><img src="https://i.stack.im...
2
1,107
subset data based on a date time difference or window
<p>I have location data that has a date time stamp. These locations were supposed to be collected at regular time intervals, however it doesn't always happen that way. I need to extract those locations that are within a time window. So, for instance, locations that are 12 hours apart. If I start with the Datetime f...
2
1,666
What is the best way to implement "redefined" attribute in Java?
<p>Thank you in advance for reading.</p> <p>The "redefined" I'm talking about is the concept in UML Specification which is widely used.</p> <p><strong>My understanding is that:</strong> a "redefined" attribute's type is the subclass of the "redefining" attribute's type. While the owner of "redefined" attribute is the...
2
1,049
Magento 1.6.2 Previous Next buttons for moving from one product to another in a sub category
<p>i want to create a previous next buttons for moving from one product to another in a specific category.</p> <p>i was using this code in view.phtml, but now its giving undefined variable error for $search_parameter.</p> <pre><code>&lt;?php // Previous and Next product links in product page $_product = $this-&gt;ge...
2
1,070
My android app Crash when trying to load a facebook Native Ad (java.lang.NoSuchMethodError: No static method isChildDirected())
<p>My application crashes when trying to load a facebook Native Ad, here is the log Error :</p> <pre><code>2020-11-14 12:31:15.968 5710-5710/? E/AndroidRuntime: FATAL EXCEPTION: main Process: com.demopackage.name, PID: 5710 java.lang.NoSuchMethodError: No static method isChildDirected()Z in class Lcom/facebook/...
2
3,017
Python's Requests on IIS with Flask | Connection Error
<p>I've been working to get Flask applications up running on my IIS server and have made some progress thanks to the below link:</p> <p><a href="http://netdot.co/2015/03/09/flask-on-iis" rel="nofollow noreferrer">http://netdot.co/2015/03/09/flask-on-iis</a></p> <p>With that stated, I am running into a head scratcher ...
2
1,474
JTable cell changes when clicking Button?
<p>I have a table with a tablemodel containg some names and a CellRenderer which extends a Panel I made which contains a JButton. Everythign works great except when I click on the button the values in the Cell disappear as long as I hold the JButton clicked!? bellow the Panel and the Renderer. Any ideas?</p> <pre><cod...
2
3,609
Error using Avro 1.7.4 Specific API with .mapreduce
<p>I'm trying to write a Mapper (using the .mapreduce) api that takes an Avro 1.7.4 file. I'm using the specific API (the maven avro plugin) to generate my objects from an .avdl file.</p> <p>I've verified that the Avro file is generated correctly and can use the avro-to-json function in the Avro tools jar to read the ...
2
1,184
MediaPlayer start()/stop() mUri is null
<p>I have an activity that looks like,</p> <pre><code>public class TestActivity extends Activity { private SensorManager mSensorManager; private ShakeEventListener mSensorListener; private MediaPlayer mPlayer; private boolean mIsPlaying; /** Called when the activity i...
2
1,470
MP4 video remains hidden on mobile Flex app
<p>I'm currently struggling on my Flex mobile project using video player. Basically, the problem is that I don't seem to be able to play, or at least see, .MP4 videos at all (no video, no sound, the player view is simply empty) on a iOS mobile device. As soon as I replace the source with a .FLV video, everything is wor...
2
1,150
Localization with Hindi language in JSF 2.0
<p>I'm using <a href="http://vikku.info/indian-language-unicode-converter/hindi-unicode-converter.html" rel="nofollow">this</a> English to Hindi Unicode converter. The code produced is placed in the <code>MessageBundle_hi_IN.properties</code> file. </p> <p>When a constraint is violated like a mandatory text field. A c...
2
1,874
Upgrade smooks 1.4 to 1.5 breaks CSV parsing (null input)
<p>After some struggle with smooks bean binding and CSV mapping, I managed to parse a specific CSV with empty values as shown <a href="https://stackoverflow.com/questions/8977975/mapping-csv-to-java-in-smooks-programatically-cant-handle-empty-double">in this question</a>. Somehow, I got some odd errors while creating s...
2
3,576
Ruby: undefined method `<<' for nil:NilClass
<p>I have a CSV that I like to save all my hash values on it. I am using nokogiri sax to parse a xml document and then save it to a CSV.</p> <p>It parse and saves the first xml file but when start parsing the second one, it stop and the error I get is this:</p> <p><strong>The error:</strong> <code>NoMethodError: unde...
2
1,285
Crashing in Release Mode and error encounter in Debug Mode
<p>Its my first question on stack overflow, so please answer me.</p> <p>I am using libvlc library 2.1.5win64 for window 7 with Qt 4.8.5, C++ and Cmake 2.8 to build a project that capture a streaming video from VLC server in rtsp protocol. I am facing two problems very badly.</p> <blockquote> <p>1: My program is bulding...
2
2,057
How to store image using Downloader Manager downloaded image name in external storage in android
<p>Hello I am downloading image from Url using Downloadmanager. and i perfectly manage to download that image.but i dont know where it store the image for future reference. </p> <p>I want to store it in download folder.how to do that to store in download folder.</p> <p>Here is my code</p> <pre><code>public class Mai...
2
1,324
Clion won't index auto-generated ui header files
<p>I was having a look at the <a href="https://github.com/keepassxreboot/keepassxc" rel="nofollow noreferrer">KeepassXC's source code</a>, with Clion as my IDE of choice. After a bit of digging and navigating through the source code, I noticed that one of the source file has the following <code>#include</code> directiv...
2
1,104
AngularJS How do I make sequential $http calls to access more data?
<p>For the AngularJS $http service,</p> <p>How do I loop $http calls in order to access sequential data, while each call needs the previous return data to be used in the next call?</p> <p>I want to make sequential $http requests which require return data from the previous call. I am trying to fetch all of the followe...
2
1,215
How does the `my_input_fn` in the getting started with TensorFlow allow enumeration over the data?
<p>I'm looking at <a href="https://colab.research.google.com/notebooks/mlcc/first_steps_with_tensor_flow.ipynb?hl=en#scrollTo=yP92XkzhU803" rel="noreferrer">first steps with tensor flow</a> as part of the <a href="https://developers.google.com/machine-learning/crash-course/" rel="noreferrer">google machine learning cra...
2
1,841
Avoid getting Race condition in Android Volley in Android app
<p>I'm new to <code>Android Development</code> and I'm trying to develop my first Android app which gets data from some <code>public APIs</code> using <code>Android Volley</code>.</p> <p>I'm using <code>singleton Volley Request Queue</code> which is initialized in the launcher activity. I am successfully able to parse...
2
2,586
Mongoose findByIdAndUpdate successfully updates document but ruturns error
<p><code>findByIdAndUpdate()</code> successfully updates document, but returns error which i don't understand.</p> <p>Here is schema:</p> <pre><code>const userSchema = mongoose.Schema({ phone: String, password: String, token: String }); const User = mongoose.model('User', userSchema); </code></pre> <p>An...
2
1,883
Converting raw XML query to Savon 2 Format
<p>I'm forced to enter the world of soap and having a bit of an issue, using Savon. </p> <p>The wsdl is: <a href="http://evernet.nwmls.com/evernetqueryservice/evernetquery.asmx?wsdl" rel="nofollow">http://evernet.nwmls.com/evernetqueryservice/evernetquery.asmx?wsdl</a> And if I use the test form for this data provider...
2
3,388
No modal dialog is currently open exception in selenium
<p>When I use switch to alert command it shows No modal dialog is currently open exception.</p> <pre><code>driver.switchTo().alert().getText(); </code></pre> <p>I also set capability for the browser as ignore.</p> <pre><code>capabilities.setCapability(CapabilityType.UNEXPECTED_ALERT_BEHAVIOUR, UnexpectedAlertBehavio...
2
1,694
Extract all the elements that meet the condition from an XELEMENT var + LINQ to XML
<p>I have two XELEMENTS <code>XR</code> and <code>XTemp</code>. </p> <p>MY <code>XR</code> Contains :</p> <pre><code> &lt;result xmlns="http://abc.com/test"&gt; &lt;report&gt; &lt;unit unit_number="1" id="S1"&gt; &lt;classification&gt;Subject&lt;/classification&gt; ...
2
1,220
Captcha recognizing with convnet, how to define loss function
<p>I have small research project where I try to decode some captcha images. I use convnet implemented in Tensorflow 0.9, based on MNIST example (<a href="https://github.com/aymericdamien/TensorFlow-Examples/blob/master/examples/3_NeuralNetworks/convolutional_network.py" rel="nofollow noreferrer">https://github.com/ayme...
2
1,636
Laravel 5.5 pivot join to get pivot values with main MySQL result
<p>I'm trying to join a pivot table on a MySQL query. Basically I'm selecting the users, where one user has multiple sub categories.</p> <p>So in essence with my "sub_categories relationship, one user has many sub categories. But because I am using RAW select, I cannot select / use the relationships. Instead I have to...
2
2,095
How to create an array to hold structures?
<p>I was asked to create some structures: student, teacher, course, program and then make an array to hold 5 students structures, and assign values to the fields of students in the array, I'm stuck in creating the array to hold the structures, here is the code:</p> <pre><code>using System; using System.Collections.Gen...
2
1,470
How I can remote to my ActiveDirectory Server with C# and Powershell Class
<p>I must built a Webapplication that can add a new User in the ActiveDirectory about a powerhell command and I don't know how I can do this. </p> <p>If I do this for the exchangeserver it works. </p> <p>here my code for add contact in exchange Server:</p> <pre><code>string URL = "http://server141.test-company.com/P...
2
1,350
Bootstrap dropdown menu in small devices
<p>I have a dropdown list (with 15-20 items) on <code>navbar</code>. All the dropdown items are not visible on mobile phone.</p> <p>I have tried below inside <code>bootstrap.css</code>:</p> <pre><code>.navbar-collapse.in { overflow-y: visible; overflow-y: auto; } </code></pre> <p><a hre...
2
1,626
Lollipop navigation bar overlapping Dialog with Gravity.Bottom
<p>I'm following the technique outlined <a href="https://stackoverflow.com/questions/9467026/changing-position-of-the-dialog-on-screen-android/9467151#9467151">here</a> in order to have my Dialog float to the bottom of the screen and take up the full width, similar to a drawer. This works on every version of Android th...
2
1,448
Vuetify navigation drawer closing only after item is clicked twice
<p>I'm very new to Vue so I'm not sure how to check this, but my vue v-navigation-drawer is below, it's located in app-root.vue. It was working at first, closing when you click on a drawer item, but now you have to click twice in order for it to close. </p> <p>The first click takes you to the page and then the second ...
2
3,490
Dojo build css and custom javascript
<p>I've set up a single html page that uses three dojo widgets and I'm trying to create a custom build from it using dojo 1.7.5. The build succeeds leaving me with a dojo.js that includes the files I need using this build file:</p> <pre><code>var dependencies = { action: "release", selectorEngine: "acme", stripConsole...
2
1,222
Center Text Below Image in Table
<p>I built an HTML table and centered the images within it (TABLE 1 example). The image will be a link, but the text will not be a link. I need some help centering text/headline that is in the same "td" tag as an image. </p> <p>I included code for TABLE 2, but this is just an example of another table that has the CONT...
2
1,460
How can I simply pass data from a component one page to a component on another page in React/Next.js?
<h3>Sumary</h3> <p>I have a simple next.js app with two pages, index.js and results.js. The index page has two Location AutoComplete fields which return the address and LatLng of a location after a user selects it from the dropdown of reccomended locations. Once returned, this data is stored in a variable called <code>...
2
2,783