title stringlengths 13 150 | body stringlengths 749 64.2k | label int64 0 3 | token_count int64 1.02k 28.5k |
|---|---|---|---|
responsive media query not working | <p>I am really sorry if this question has been posted before but I couldnt find an answer, I wrote a very simple css file for two version device tablet and PC , but its not working. Now as you can see i am trying to use between resolution x and y but doesnt seem to be working at all. A bit of help please? Thanks</p>
<... | 2 | 1,193 |
How to prevent Solr out of memory extracting Word document? | <p>I'm uploading a 9MB word doc file with the update/extract request handler. I'm using solrj to do this. But I keep getting an out of memory error on the same file. I'm using autocommit but I don't think thats a problem cause it fails even when I turn it off.</p>
<p>Because of the gc, the cpu usage shoots to 95% and ... | 2 | 2,321 |
Spring Boot Web Socket RabbitMQ not available | <p>I have simple spring boot app with web socket configuration.</p>
<p>When i run my app with SimpleBroker(provided by spring) everything works fine, but when i want to use rabbitmq instead of SimpleBroker, i have some problems, my broker is "not available"</p>
<pre><code>@Configuration
@EnableWebSocketMessageBroker
... | 2 | 2,972 |
Longest Palindrome in integer array | <p>I want to find the largest palindrome in an integer array. I tried making my own algorithm and not looking at the online ones. But this is not working. I tried doing debugging but couldn't get it to work.</p>
<p><strong>Sample input:</strong></p>
<p>"1367611342142412431113424823782"</p>
<p>Output: 11342142... | 2 | 1,172 |
Gridview Delete Linkbutton not firing RowDeleting Event | <p>I am so frustrated. Using asp.net GridView. Using a LinkButton with the CommandName="Delete". Don't understand why the page isn't posting back. I've done this a million times in other apps. I've compared them against one another and nothing appears different. I will preface by saying this IS someone else's template,... | 2 | 3,350 |
How to configure nested dependency for spring tests? | <p>The error I'm getting has to do with parsing the properties before injecting in to the Test class. I end up with <code>${property.name}</code> when the property is injected. However the configuration of the Test class seems very wrong considering there are nested dependencies.</p>
<p>Specific error: <code>Caused ... | 2 | 1,517 |
Spring Boot, Security and OAuth2 - mobile app backend | <p>I am trying to protect my rest service which is a backend to my Android and iOS application. I want protect all endpoints on this service to allow to communicate only with my mobile application.</p>
<p>I figure out this flow (i am not sure if it is correct):</p>
<ol>
<li>Secure all endpoints by Basic Authenticatio... | 2 | 1,521 |
How do I setup the SFML library in Linux Ubuntu? | <p>I am using the CLion IDE on linux which mandates developing using cmake. I have followed <a href="https://www.sfml-dev.org/tutorials/2.5/start-linux.php" rel="nofollow noreferrer">this</a> to get the following pieces of code.</p>
<p>I have the following sample code : </p>
<pre><code>#include <SFML/Graphics.hpp&... | 2 | 1,090 |
REST Service returns HTTP 204 (Tomcat/Linux) | <p>I have a problem running my code on a linux distribution (Raspbian, Tomcat 7). The problem doesn't appear in the test environment under Windows/Tomcat 7/Eclipse:</p>
<p>My webservice just returns HTTP 204 and nothing else. The log doesn't contain any indication that there was an error during the request. It should,... | 2 | 1,205 |
Stripe::InvalidRequestError (This customer has no attached payment source) | <p>There seems to be a problem with sending customer data and token back to Stripe's server. I'm currently using the test api to make dummy transactions. But, I cannot get past this point for no reason at all. I've tried everything to fix this error. I will post the code and error message below.</p>
<p>Subscriptions_C... | 2 | 1,957 |
send/receive a struct with TCP/IP socket on windows 7 64bit | <p>searching here for my problem, I've found more discussion about this, but seems that solution it's not simple for send a struct with a socket. </p>
<p>I don't understand how can send struct with socket in safe mode.</p>
<p>I need to use struct to send my information, and receive it correctly, without loosing any d... | 2 | 1,145 |
Form Submit not working in latest chrome build (83) | <p>Chrome : chrome update Version 83.0.4103.97 (Official Build) (64-bit)</p>
<p>Flow </p>
<ol>
<li>Function <code>function_name</code> is called from a page (this page remains the main parent page in the whole scenario) which has a table with multiple records and a record has a hyperlink which fetches more data and d... | 2 | 1,251 |
choosing pivot for the quickselect using median implemented in java? | <p>I have found this code in github for <code>quickselect</code> algorithm otherwise known as <code>order-statistics</code>. This code works fine. </p>
<p>I do not understand <code>medianOf3</code> method, which is supposed to arrange the first, middle and last index in sorted order. but actually it does not when I ou... | 2 | 1,933 |
How to remove module not found error in angular? | <p>I make a simple example of controller here .</p>
<p><a href="http://plnkr.co/edit/dplJ6sf4kgiwJ5pXu4GE?p=preview" rel="nofollow">http://plnkr.co/edit/dplJ6sf4kgiwJ5pXu4GE?p=preview</a></p>
<p>and I want to test the controller .I am able to test my controller online</p>
<p>Here is my code to test my controller onl... | 2 | 2,372 |
Select all images on Pinterest for moving to another board | <h2>UPDATE: (<em>2015-10-16</em>) [SOLVED!] -- <em>Fixed with trigger() and by limiting to 50 pins with slice().</em></h2>
<p>Many thanks to <a href="https://stackoverflow.com/users/830936/abhas-tandon">Abhas Tandon</a> who offered that by using </p>
<pre><code>$(this).trigger('click');
</code></pre>
<p>instead of</... | 2 | 2,443 |
How do I set up basic authentication on specific actions in my asp net core 3.1 controller? | <p>I am creating a webapi using asp.net core 3.1 and I want to use basic authentication, which I will authenticate against Active Directory.</p>
<p>I create an authentication handler and service, but the problem is that when I decorate my controller action with [Authorize], the HandleAuthenticateAsync function is not c... | 2 | 2,981 |
Listing List Item Attributes with JQuery on Sharepoint, linking to more JS | <p>So my company has a Sharepoint 2007 server running, and I have been tasked with setting up a Project Management space through that service. My goal is this- to be able to generate PDFs, client-side, containing information from whatever List Item the user chooses.</p>
<p>What I have accomplished so far is determinin... | 2 | 1,224 |
Run multiple war's with gradle and tomcat in NetBeans IDE | <p>I'm using NetBeans 8.0.2 IDE, gradle and tomcat 6.
I've creates a root-project with some sub-projects:</p>
<ul>
<li>rootproject
<ul>
<li>frontend (war)</li>
<li>rest (war)</li>
<li>data (jar)</li>
</ul></li>
</ul>
<p>What I want know is, deploy the rootproject (or frontend) and then deploy the frontend-war and res... | 2 | 1,641 |
Why does `gem install` work but not `bundle install` | <p>In my project when I ran <code>bundle install</code> I got the following error:</p>
<pre><code>An error occurred while installing nokogiri (1.6.1), and Bundler cannot continue.
Make sure that `gem install nokogiri -v '1.6.1'` succeeds before bundling.
</code></pre>
<p>So I did try </p>
<pre><code> gem install nok... | 2 | 1,445 |
C# to Java Encryption and Decryption | <p>I'm trying to do an <strong>Encryption</strong> and <strong>Decryption</strong> in Java Android. </p>
<p>Below is my code for C#, I need to convert it to Java Android. Can someone help me how to do it?</p>
<p>I've been doing this for almost 2 days yet can't find any solutions on how to convert it. I'm newbie in An... | 2 | 1,092 |
How to debug TLS communication between an ESP8266 and MQTT broker (selfsigned credentials)? | <p>I am trying to get an Wemos D1 mini (ESP8266) communicate with a MQTT broker using TLS (garagedoor opener), but failing. I get it to work when testing using MQTT.fx, tho....</p>
<p>I am a first offender, but I have used my google-fu to capacity. Still don't get it.
I have looked at <a href="https://nofurtherquestio... | 2 | 3,312 |
Nivo Pie Chart Not Rendering | <p>I'm using the nivo charting library and am struggling to get my pie charts to render. I really don't understand why the pie chart isn't showing up. </p>
<p>Here is my core component code for the dashboard:</p>
<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div cla... | 2 | 5,360 |
Saving/updating a model with nested attributes and single table inheritance | <p>I have a model, <code>ModelRun</code>, that accepts nested attributes for another model, <code>ParameterValue</code>. (<code>ModelRun has_many :parameter_values</code>.) However, <code>ParameterValue</code> also employs single-table inheritance to save two subclasses: <code>NumericParameter</code> and <code>FilePara... | 2 | 1,184 |
ORA-00936: missing expression vb.net - oracle | <p>I am trying to insert a record into an oracle database and the code is as follows:
I am getting ORA-00936: </p>
<blockquote>
<p>missing expression at Dim t1 As Integer = cmd3.ExecuteNonQuery().</p>
</blockquote>
<p>I have checked 3 times and I am sure I am not missing any variable. Please help! :(</p>
<pre><co... | 2 | 3,257 |
Cannot Autowire UserDetailsService into WebSecurityConfigurerAdapter | <p>Hi I have a problem with Autowired UsrDetailsService, I found that many others have the same problem but no other solution works for me (and I dont know why)
I use java configuration (no xml)</p>
<pre><code>Error code
org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'security... | 2 | 2,805 |
Play Activator with Nexus as a repository proxy | <p>I'm trying to use Play's Typesafe activator but ran into a problem.
I'm on a corporate network and normally use oss nexus as a dependency proxy.
I've downloaded play, extracted it to a folder in the root of my disk (C:\activator). When I try to run it, it just gets no where as it can't reach maven or ivy repositorie... | 2 | 7,603 |
Opaque OpenGL textures have transparent border | <p>My problem concerns rendering text with OpenGL -- the text is rendered into a texture, and then drawn onto a quad. The trouble is that the pixels on the edge of the texture are drawn partially transparent. The interior of the texture is fine.</p>
<p>I'm calculating the texture coordinates to hit the center of my te... | 2 | 1,606 |
Error in preg_replace () → preg_replace_callback () rewriting? [Smarty_Compiler.class.php] | <p>After upgrading PHP to version 7, Warning appeared in Smarty_Compiler.class.php.</p>
<blockquote>
<p>Warning: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in /var/www/……/Smarty/Smarty_Compiler.class.php on line 271</p>
</blockquote>
<p>Looking at the error location ..... | 2 | 1,131 |
Even after adding mysql Jconnector to CLASSPATH, getting java.lang.ClassNotFoundException(Not using IDE) | <p>I'm trying to connect with mysql from java and these are my CLASSPATH variable values which I've set using GUI in windows(control panel->system->advanced system settings->environment variables).</p>
<blockquote>
<p>.;.;.;.;.;C:\PROGRA~2\JMF21~1.1E\lib\sound.jar;C:\PROGRA~2\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~2\JMF21... | 2 | 1,367 |
ConfigurationSection properties cannot be edited when locked | <p>I thought I had this problem licked yesterday, I got it working by change the order of my operations.</p>
<ol>
<li>Create new section</li>
<li>Add elements to section</li>
<li>Add section to config</li>
<li>config.Save()</li>
</ol>
<p>But today I am getting the same error again on the call to config.Save()</p>
<p... | 2 | 3,122 |
Collection aggregator not aggregating response properly Mule ESB | <p>I have flow, where I will have multiple <code>Item</code> under the root Tag <code>Items</code>. I have splitter where it splits each items and doing some processing. After that I'm collecting all the response using Collection aggregator.</p>
<p>In my flow, Observed collection aggregator waiting for something thou... | 2 | 1,606 |
Unit testing a function using java library azure-storage-blob mocked | <p>When working with azure BlobStorage I'm quite new to this topic but I managed to get it working in java. So we have some xml files saved there and collect the file list as strings. Now I've tried to create a unit tests to verify it stays working and since the getFiles() function is a very small I expected it to be v... | 2 | 2,477 |
Is GraphQL suitable for retrieving multi-level facet data from a back-end without making multiple queries? | <p>I'm refactoring a web application that makes heavy use of facet queries from a Solr back-end. In particular, these are multi-level nested facets: e.g faceting people on eye color then hair color (as in the code example below). The facet results should be counts not the actual records and their fields.</p>
<p>I'm... | 2 | 2,174 |
Parse Error in unexpected T_Variable. Subscription Mail Form | <p>So I have this form.</p>
<p>Its a very simple mail/newsletter form.</p>
<pre><code> <form action="http://localhost/website/subscribe.php" method="POST" id="signup_form">
<label for="email"><p id = "subText">Subscribe</p></label>
<input type="text" name="email" size="30" class=... | 2 | 1,246 |
Required parameter 'tag' is missing PHP | <p>i get this error Required parameter 'tag' is missing on android toast please help ,me i can't find my fault below i have android user code and the php server code above i use volley library for httprequests </p>
<pre><code>StringRequest strReq = new StringRequest(Request.Method.POST,
AppConfig.URL_REGISTER... | 2 | 3,572 |
My program says identifier is expected | <p>I'm trying to make a string binary search program. Trouble is I don't remember a straight forward way to convert a string array into a Integer array.</p>
<p>I've written a long and complicated way to convert them. However Netsbeans is saying my string array identifier is expected.</p>
<pre><code>/*
* To change t... | 2 | 3,055 |
Batch Program to Start Windows Audio in Safe Mode | <p>This is the code:</p>
<pre><code>@echo off
cls
echo.
echo Hello, %username%.
echo This program will enable the sound service.
echo.
:case_1
call:print "Attempting to start Windows Audio..."
call:check_audio "sc start AudioSrv" "case_2"
:case_2
call:print "Attempting to start Windows Audio again..."
call:check_au... | 2 | 1,029 |
How can I make a tree Node object display its contents when printed? | <p>This error is occurring when we call the lookup method. Can anyone say how can it be rectified? I am unable to debug it using the available documents online. This is an implementation of a binary tree class. I know it is something related to the equivalence problem.</p>
<pre><code>import deque
class Node:
... | 2 | 1,819 |
React: Uncaught TypeError: Cannot read properties of undefined (reading 'recipe_name') | <p>Just wondering what is going wrong here (I am new to react). My fetch request works and brings in data from backend when the user makes a query in <code>input</code>. But now I receive this error.</p>
<pre><code>RecipeDBTest.jsx:54 Uncaught TypeError: Cannot read properties of undefined (reading 'recipe_name')
a... | 2 | 1,440 |
Oracle complex Join | <p>I have three queries,query 1 and query 2 have to be inner joined on Customer_number
Resultant output from query1 and query2 will be further inner joined on 3 keys customer_number,account_number,bank_number.</p>
<p>Can anyone help me to write the queries for these.I am not able to derive it.</p>
<p>Thanks in advanc... | 2 | 3,162 |
default WM_DESTROY not properly cleaning up child windows | <p>I have a WTL 8.0 SDI application for Windows Mobile 5. In this contrived example below, I create a view, destroy it, then re-create it. But, when it's re-created assertions in the WM_INITDIALOG handler fail because the control's HWND isn't valid.</p>
<p>I note that I can fix this by handling WM_DESTROY in CMyView a... | 2 | 1,104 |
Navbar to scroll then remain fixed under a fixed header. ISSUES | <p>Can any one help me resolve some issues with my code? I am new at this and having some problems.</p>
<p>Some issues with my initial code. Not doing what I need it to. Any help is appreciated!</p>
<p><strong><em>I need this to:
Pink menu bar to stop scrolling and become fixed at the bottom of the fixed header. The ... | 2 | 3,042 |
firebase cloud messaging onMessage function not working if user block the permission | <p>I'm trying to send a web notification using FCM.</p>
<p>When page load, it will ask the permission and send the web notification to the user. Also, the latest data will append to the frontend without refresh. Below code works fine when a user gives the permission to receive the web notification in the browser.</p>
... | 2 | 1,306 |
my first app has stopped working error | <p>I am very new to app development. I am following the tutorial at developer.android.com and am making the "my first app" application as given on the site. I am using eclipse and Whenever i launch the app on my phone, i am given an error saying that unfortunately my first app has stopped working. What should i do??</p... | 2 | 1,947 |
Django Formset Delete Field Not Showing | <p>I need to manually render my formset in my template and I cannot get the delete checkbox field into the template when I render manually. However, it does show when I render {{form.as_table}}.</p>
<p>views.py</p>
<pre><code>QuoteManifestForm= modelformset_factory(QuoteManifest, QManifestForm, can_delete = True)
</... | 2 | 2,277 |
Java Persistence api: class uses non-entity class as target entity in the relationship attribute | <p>Good day. I try to have many-to-many dependencies with persistence api.
I fill an new user data and try to add it to the database, but get an exception:</p>
<p><code>Exception Description: [class main.java.entities.User] uses a non-entity [class main.java.entities.UserAccounts] as target entity in the relationship ... | 2 | 1,116 |
Load posts in div with slideUp/slideDown using jQuery | <p>I'm trying to load content from wordpress pages into a div on a custom template using links.</p>
<p>I have one div that is hidden, and should be displayed with slideDown when content is loaded into it.</p>
<p>I have several links to different pages that I want to be loaded into this one div by onClick, or somethin... | 2 | 1,401 |
JavaFX WebView - Communicating between Java and Javascript after page redirection | <p>I'm developing a JavaFX WebView application to let users navigate through an existing third-party website.</p>
<p>The pages on the site rely on $(document).ready() style functions in order to work properly and my Java Bridge object should be visible to the JavaScript side by then.</p>
<p>While my code works as exp... | 2 | 1,901 |
Bootstrap 4 - Glossy effect and z-index | <p>I'm working on login page with glossy effect and I have problem with (z-indexes). I made up a good overlay with responsive height as I need, because I have two different forms, but I can't click in to the input or click on the link, but the checkbox works fine, which I really don't understand. I tried to manually ch... | 2 | 5,212 |
Getting 400 Bad Request when trying to connect to website via winsock socket | <p>I made a socket I've slowly been adding on to for about a week now and I've come across a problem. I set up a port on my local 127.0.0.1 ip address to allow me to connect to my own computer and when I recieve the response from my computer it says "400 Bad Request. The request is badly formed.". I think it has to do ... | 2 | 2,539 |
Validate Dynamic Dropdown With Ajax | <p>I have a drop down menu of mobile brands. When a user selects a mobile brand a dynamic drop populates with the mobile model according to the mobile brand I want to validate that mobile model drop down for a blank select value. I am using ajax xmlhttp request for getting the mobile model drop down menu. </p>
<p>My e... | 2 | 2,411 |
how to set date in Datepicker dialog from edittext android? | <p>I have a <code>datepicker</code> dialog which put in an <code>edittext</code> to set birthday .. the dialog after setting the date return the current date .. what I need is to display the date I selected to the <code>datepicker</code> dialog after choose it?</p>
<p>The <code>Datepicker</code> dialog class:</p>
<pr... | 2 | 1,758 |
Android MediaPlayer won't pause | <p>So I have a button that plays the selected file. However I want to pause the play when the button is pressed again. I checked a few StackOverflow posts and tutorials and the pause method is what was used in most cases. However it is not working for me. The audio keeps on playing. Am I missing something or is there a... | 2 | 1,348 |
MP4 Video not playing on Android 2.3 | <p>I have a videoView in which I want to display an MP4 video from a URL. I tried it on Andoird 4.0.2 emulator and it worked fine. However, on trying it on A GingerBread hardware, it crashed. I also tried it on Gingerbread emulator, thinking there could be something wrong with my device, but still no progress. The log... | 2 | 1,221 |
ApplicationInsightDataClient GetCustomEventWithHttpMessageAsync not loading custom dimension | <p>I am using Microsoft.Azure.ApplicationInsights 0.9.0 -preview version to get custom events from application insights</p>
<pre><code> public async Task<ApplicationInsightsFooDto[]> Foo(TimeSpan timeSpan)
{
var activeDirectoryServiceSettings = new ActiveDirectoryServiceSettings
{
... | 2 | 1,336 |
How to use vue.js syntax inside a string template with dropzone.js | <p>I am currently trying to implement <code>dropzone.js</code> <a href="http://www.dropzonejs.com/" rel="nofollow noreferrer">Doc Ref</a> - into my application. But since i've managed to run the basic functionallity of dropzone.js</p>
<p>I want to customize the <code>preview-template</code> to hide and show the upload... | 2 | 1,624 |
json data binding in kendo ui mobile listview | <p>I am developing a mobile app using Kendo ui mobile and Phonegap.I have a JSON data, <a href="http://www.json-generator.com/j/bZnjoTdIuq?indent=4" rel="nofollow">Here</a> . I want to bind this JSON to kendo ui mobile listview. I have tried following code, but its not working. It not even showing the listview. Can any... | 2 | 1,234 |
iMac with mdnsresponder keeps waking up | <p>I am trying to figure out why my iMac 2011 wakes up so frequently (every ~2 min)
If anyone can help, I would be really greatful.</p>
<p>Here is my pmset log:</p>
<pre><code>2017-05-03 22:14:31 +0300 Wake Requests [*proc=mDNSResponder request=Maintenance inDelta=5662]
2017-05-03 22:15:28 +0300 Assertions ... | 2 | 2,315 |
Why would a Spring login form not reveal any error information for a failed login? | <p>My Spring MVC app is not allowing any logins and I can't figure out why.</p>
<p>I've added logging to the Login Controller but nothing is being outputted there.</p>
<p>The login page just seems to automatically redirect to the error page without going through the Login Controller.</p>
<p>Any ideas how to debug th... | 2 | 1,246 |
Possible memory leak (Android, Glide, Activity stack) | <p>I am facing a very common and nasty problem as OutOfMemory exception.
To introduce my APP, it is heavy picture content one. And I discovered, I receive a OOM at 256mb in my device (Xiaomi 5s). I cannot find the memory leak (tried <a href="https://github.com/square/leakcanary" rel="nofollow noreferrer">https://github... | 2 | 4,707 |
show message after form submit laravel | <p>hi I'm a beginner in Laravel I want to use <a href="https://sweetalert2.github.io/" rel="nofollow noreferrer">sweetalert2</a> in my Laravel website but it did not display in the view</p>
<p>I use branch dist from Github </p>
<p>so in my <code>**master_layout.blade.php**</code> this is my code:</p>
<pre><code><... | 2 | 1,693 |
Insert value of checkbox and number input into database | <p>I tried combining two answers from here:
<a href="https://stackoverflow.com/questions/18572351/counting-how-many-checkbox-are-checked-php-html">counting how many checkbox are checked php/html</a>
And here:
<a href="https://stackoverflow.com/questions/18574626/validating-input-types-checkbox-and-number-php-html">vali... | 2 | 1,631 |
How to get all node's relationships in neo4j using Java Connector Jar | <p>Here's my graph</p>
<p><a href="https://i.stack.imgur.com/PUvVC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PUvVC.png" alt="enter image description here"></a></p>
<p>I'm trying to get the details of the nodes and its relationship in java code and below is my code. I'm able to get the details... | 2 | 1,906 |
How to set up Azure Batch pool container configuration via ARM template? | <p>We are using Azure Batch, and we need to use Windows Docker containers on the VMs.</p>
<p>This is how it is done via Portal:
<a href="https://i.stack.imgur.com/lstGZ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lstGZ.png" alt="containers via portal"></a></p>
<p>And this is how it is done via ... | 2 | 1,155 |
Why this implementation of turnjs not work? | <p>I'm trying to implement this example locally:</p>
<p>The first is to import:</p>
<p>jquery library and turnjs.</p>
<p><a href="http://www.turnjs.com/" rel="nofollow noreferrer">Turn JS</a></p>
<p>HTML:</p>
<pre><code><div class="flipbook-viewport">
<div class="container">
<div class="flipbook"... | 2 | 2,045 |
Java - Consume Web Service With DefaultHttpClient | <p>Okay, I recently asked a question about consuming a Web Service using Java, while I was getting multiple compile errors.</p>
<p>I have literally spent the last 7 hours trying to get this working, doing research online. But Java web service calls come in so many different flavors it's proving almost impossible for ... | 2 | 2,660 |
User Default Values Changing to Previous Values after some time - Swift | <p>Please don't mark my question duplicate.
Gone through the following links and tried what they mentioned but no luck. </p>
<p><a href="https://stackoverflow.com/questions/42174609/userdefaults-in-ios-10-is-sometimes-showing-old-value">UserDefaults in IOS 10 is sometimes showing old value</a></p>
<p><a href="https:/... | 2 | 1,043 |
How do you get a single column of a gridview to auto-update without refreshing the whole page? | <p>I have a gridview with multiple columns, but only one of the columns should dynamically change. Each row has a "status" value that I require a database call to update. I have written a function to do that call, but the current approach I've written to update it refreshes the entire page. This is obtrusive, since r... | 2 | 1,268 |
Objective C Blocks: Is there a way to avoid 'self' being retained? | <p>I'm trying to write this down as concisely as possible, but it's not easy to describe -- so thanks for reading =)</p>
<p>I'm the main developer of the Open Source iPhone Framework <a href="http://www.sparrow-framework.org" rel="noreferrer">Sparrow</a>. Sparrow is modeled after the Flash AS3 Library, and thus has an... | 2 | 1,387 |
Ansible: How to use "and" and "or" conditions in when clause for | <p>The following task should be executed if 3 AND conditions in when clause are meet. One of the AND conditions has an OR conditional inside. There is an error while evaluating OR clause. Could you please inform why the OR conditional is not working?</p>
<pre><code>***- name: "invoke playbook for control tables up... | 2 | 1,118 |
NSScanner Looping retrieving multiple values | <p>I have the following text</p>
<pre><code><select name="username"><option value="177"> Bob1
</option><option value="221"> Bob2
</option><option value="227"> Bob3
</option><option value="164"> Bob4
</opt... | 2 | 1,077 |
Apache oltu Oauth2 token validation | <p>I need to validate a token generated by a oauth .NET application using Apache oltu code:</p>
<pre><code>OAuthClientRequest oAuthRequest = OAuthClientRequest
.tokenLocation("https://URL/idp/connect/identitytokenvalidation")
.setClientId("CLIENTID")
.setGrantType(GrantType.REFRESH_TOKE... | 2 | 1,998 |
Implementing parcelable in a class to pass it from an activity to another | <p>i have class student
i tried to use seriablizable but couldnt make it work... this didnt work too can any one find whats wrong with it?
that uses class semester and Course in its variables take a look</p>
<pre><code>public class Student implements Parcelable {
private double GPA, MGPA;
private LinkedList<Course&... | 2 | 1,272 |
Min and Max row numbers for specific data range (cell value dependent) | <p>I have a form that is submitted and using the date stamp generates the month name for each submission. what i need is a method to generate the minimum and maximum row number for each months data. so if January submissions start on row 1 and end on row 13, feb starts on 14 and ends on 30 march starts on 31 and ends o... | 2 | 1,245 |
polkit-gnome-authentication-agent-1 fail to start in docker without privileged flag | <p>I'm using next docker gui container:</p>
<pre><code>FROM centos:6
RUN yum -y install epel-release
RUN yum -y groupinstall "X Window System" "Desktop" "General Purpose Desktop"
RUN yum -y install openssh-server x2goserver x2goserver-xsession x2goserver-fmbindings x2goserver-printing pwgen
RUN yum reinstall glibc-co... | 2 | 1,597 |
JavaFX Combobox doesn't change to clicked value from the first and second click | <p>I have a <code>ComboBox</code> named <code>verreGcombo</code> that gets populated with items of type <code>Verre</code>, the problem I face is that when I want to select a value from it, it always fail to change its value on the first and the second click and sometimes more, so I always have to use arrows to navigat... | 2 | 1,463 |
vue.js getting started not working | <p>I'm trying out vue.js for the first time, and a beginner javascript programmer. I'm going through the vue.js <a href="http://optimizely.github.io/vuejs.org/guide/" rel="nofollow">getting started page</a> </p>
<p>My html code is:</p>
<pre><code><!DOCTYPE html>
<html>
<head>
<meta cha... | 2 | 1,026 |
How to define in Grails an uploadForm and 2 different actions? | <p>I have a gsp view, with an , and 2 input text.
I have a button to save and submit.</p>
<p>Now I would like to add another button with a new action, in my case a button to schedule save.</p>
<p>Note : in my controller I have define : def save (corresponding to button action save) and def schedule (corresponding to ... | 2 | 1,329 |
Error inflating NavigationView | <p>I am trying to figure out what could be causing my NavigationView to crash. When I run this app, it says there was an error with inflating my NavigationView. This is the associated error information: </p>
<pre><code>java.lang.RuntimeException: Unable to start activity ComponentInfo{com.koeksworld.homenet/com.koeksw... | 2 | 13,327 |
JDEPS Module Not Found Exception when listing dependancies | <p>I have been working with JLink to create minimal JRE for various Spring Boot applications. I have successfully done this manually by figuring out the required Modules via trial and error. After successfully doing this I have been attempting to automate this process using JDeps.</p>
<p>First attempt was to scan the b... | 2 | 3,409 |
Chat: Sending message to all clients on a server | <p>I have a server-client application set. (HOMEWORK)</p>
<p>So far I have figured out how to have multiple clients connect to the server and have the server aggregate the messages the clients send, as well as having the server send the client's message back to the client and displaying it in the chat pane.</p>
<p>My... | 2 | 1,091 |
maven-scala-plugin error running scala code in a Maven project in IntelliJ | <p>I'm trying to create my first "Hello World" Scala project using Maven as the build tool and IntelliJ as my IDE. I keep getting the following error when running <code>mvn package</code>.</p>
<pre><code>Failed to execute goal org.scala-tools:maven-scala-plugin:2.15.2:compile
</code></pre>
<p>Here is the full error: ... | 2 | 2,554 |
problems with searching in files and directories .. windows programming | <p>I'm studying this book (Addison Wesley Windows System Programming 4th Edition) and I think its useless Im working on a searching code that support the recursive so it can go in deepth in files and directories the code is working ( I guess ) no syntax error but the output is not what I want the out put of the search ... | 2 | 1,750 |
Returning the length of a char array in C | <p>I am new to programming in C and am trying to write a simple function that will normalize a char array. At the end i want to return the length of the new char array. I am coming from java so I apologize if I'm making mistakes that seem simple. I have the following code:</p>
<pre><code>/* The normalize procedure nor... | 2 | 1,198 |
Bootloading ATmega 328P-PU "target does'nt answer" | <p>I have fiddled with this for a cupple of days now.</p>
<p>Im bootloading a 328p with a now updated USBasp.</p>
<p>I got a new 328p from a new Arduino UNO which i can't bootload. Keeps giving me the:</p>
<pre><code>avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
... | 2 | 1,698 |
Echarts 4 graph plot: specify symbol per category | <p>I am trying to create a graph plot in Echarts 4, where each node belongs to one of two categories: <a href="https://codepen.io/autarkie/pen/LqqZjM" rel="nofollow noreferrer">https://codepen.io/autarkie/pen/LqqZjM</a>: </p>
<pre><code>var nodes = [{
"id": 1,
"category": 1
}, {
"id": 2,
"category": 0
}, {
"... | 2 | 1,199 |
How to remove __MACOSX while using ZipArchive | <p>After hours of trying to figure out why php "ZipArchive" does not work as expected, due to Mac OS adding a "__MACOSX" folder in the zip compression process. </p>
<p>How would I go about deleting "__MACOSX" folder in a zip archive during the upload process in a form?</p>
<p>Below is what I'm working with:</p>
<pre... | 2 | 1,328 |
How can I individualize the order of rows in heatmap.2 (gplots)? | <p>I am interested in visualizing the distribution of my outcome variable using <code>heatmap.2</code>, as provided in the <code>gplots</code> package.</p>
<p>This is what my <em>dataset</em> looks like:</p>
<pre><code>> head(data.w)
year Armenia Azerbaijan Bulgaria Croatia Cyprus Czech Republic Estonia Georgia
1... | 2 | 1,305 |
Undeclared indentifier compile error | <p>I am throwing myself in the cold blizzard of learning C++. I already know Java but C++ seems odd on certain thing.</p>
<p>Here is the thing : I have a class A and a class B. Class A have an instance of class B inside of itself. Class B needs to be able to call some class A methods so, I put a pointer to class A ins... | 2 | 1,276 |
How to send data from servlet to all logged In users | <p>My requirement is admin should send data to all logged in users. I have one servlet first one user send login HTTP req and gets login success response from servlet now session for this user is started.Similarly other user logs in. Now admin which is also one user can login and see two users user1 and user2 logged in... | 2 | 2,054 |
Coordinates Variables from Google Maps API to a php form | <p>so I'm looking for a way to pass the latitude and longitude from google maps api to a php textfield.
So far I have the following code but I'm stuck, any help would be much appreciated.</p>
<pre><code><!DOCTYPE html>
<html>
<head>
<script src="https://maps.googleapis.com/maps/api/js?sensor=false... | 2 | 1,070 |
How to implement ngIf in td | <p>I have a table where I insert data from DB, however, I want to edit those data which are qualified based on my checking and therefore should be 2 buttons, 1 for delete and 1 for the edit which would be enabled. If the row inserted in the table is not qualified I want to disable those buttons. What is the right imple... | 2 | 1,037 |
Need Help with Generic HTML/CSS Layout | <p>I've been designing websites for a while now and haven't had any complaints, surprisingly. But, there's one thing that bothers me quite a bit. I'm slow. It takes me, on average about an hour to style 1 webpage (a full webpage incl. content, images, text and so on) - and I don't know if that's how long it takes most ... | 2 | 1,160 |
boost mutex throwing (odd?) exception | <p>I am using a blocking queue example I got from this website, thinking it was pretty nice.
This blocking queue is using boost::mutex.
It is sometime throwing an exception : </p>
<pre><code>terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injec... | 2 | 2,932 |
How To create thumbnails for a slider using jquery | <p>I am trying to create a custom Jquery Slider which have thumbnail navigation. I suceeded in creating the slider. But not with the thumbnail navigation.
Here is my code</p>
<pre><code> $(document).ready(function(){
var i = 0;
var m_height = $('main').height();
$('.test_bg').css('height', (function(){
... | 2 | 1,052 |
Python requests library's '\t \n in response | <p>I am doing a request to an API. The problem that I have is with the response. It's UTF-8 JSON, but I received the message with <code>\t</code> and <code>\n</code> and I can't decode it.</p>
<p>Postman header information</p>
<pre class="lang-none prettyprint-override"><code>Connection →keep-alive
Content-Encoding →... | 2 | 1,236 |
invoking url with RESTTEmplate and binding response with JAXB | <p>using this code i hava an url to invoke
when i invoke this url using a navigator i hav an xml reponse that i want to retreive in an object named Response annotated by JAXB </p>
<pre><code>@Test
public void testRestTemplate()
{
List<MediaType> acceptableMediaTypes = new ArrayList<MediaType>();
a... | 2 | 1,346 |
Leafletjs Routing machine button collapse button not loading | <p>I am using django 1.10.5, booststrap 4.0 and LeafletJs 1.0.3 with routing machine plugin and geocoder.
Now I have the following problem, the collapse button of the control pannel for routing machine is not loading (its not showing up in the html code) when the map is bigger than 640 x 640px when the page is loaded t... | 2 | 2,674 |
Why this strange behaviour of ObjectOutputStream and ObjectInputStream throwing EOFException? | <p>I wrote a custom serializing/de-serializing logic for persisting some of the data as Java default serialization turned out to be both time and memory expensive. For this purpose I wrote <code>readObject(ObjectInput in)</code> and <code>writeObject(ObjectOutput out)</code> methods for the class(es) that needs persist... | 2 | 3,391 |
Beginner Scoring program button development in Java | <p>I'm trying to add a "green team" to an example scoring GUI I found online. For some reason, the code compiles, but it runs with only the original two teams. I've tried playing around with the sizes/locations somewhat clumsily, and since no change was observed with these modications (NO change at ALL), I admit that I... | 2 | 2,531 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.