text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Deploying Java / JSP / Struts 2 web app on IIS on Windows server My client has a Windows Server and wants me to deploy a Java / JSP / Struts 2 based web application on the windows server that has IIS as an application server that is installed.
My web application uses MySQL 5.5 for storage of data.
I easily host my w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24743974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React: Using NavLink in a shared component library imported as a node_module I have a working shared component library that I import into my front end app as a node_module using package.json.
I have built a PaginationLinks component that uses NavLink:
PaginationLinks.js (in shared component library)
import { NavLink... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64177642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: how to replace double backslash with single backslash in string (Python) I have a list of strings:
list_of_strgs = ['if a+b > 10 and b+c < 20:',
'if a+b > 10 ||| b+c < 20 &&b<2:',
'x&& &&& and and x or | ||\\|| x']
In the third list, I need to replace the double backslash with a single backslash.
I tried this (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68763768",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VLOOKUP not working correctly between two different workbooks I'm trying to get some values between two different workbooks.
One workbook is named 'BSC_AGRvF.xlsm' and the other is 'BSC_AGERE_SQL_v1.xlsx', both are being used on excel office 365.
I used =VLOOKUP(A2;[BSC_AGERE_SQL_v1.xlsx]Variavéis'!$A$4:$E$1000;4;FA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58801806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: One of Many Entity Relation On Symfony 4, I have an Entity (Address) which can be associated with ONE Of Many entities: e.g. Accounts, Contacts, Employees ..etc.
I essentially want to have "entity_type" and "entity_id" columns in Address but I am unsure if this is the best way to proceed since I would still like to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52760423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ruby-amqp and rspec messaging cleaner I am currently working on a messaging system with ruby-amqp, for testing I am using rspec.
If a test fails, I still have messages in queues after the test is finished. Is there a way to clean up all queues like the database_cleaner gem does it for databases?
A: You may delete t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10380378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Facebook : how to get number of friends? I would like to be able to retrieve some people number of friends on Facebook. However, I got some issue to achieve this goal. I tried two different ways:
1. With FQL:
I tried following query:
SELECT username, friend_count
FROM user
WHERE username = jonathan.petitcolas
But, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11598792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert float seconds to milliseconds using regex with Notepad++ I want to convert all seconds contained in the XML tag to milliseconds using regex with Notepad++.
Before converting:
<keepTime>3</keepTime>
<keepTime>4.5</keepTime>
<keepTime>0.7</keepTime>
<keepTime>1.85</keepTime>
The results I want after convertin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67256656",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Docker Build Error failed to solve with frontend dockerfile.v0 Python i want to build docker image in local with my mac air m1 chip. but unfortunately i have an error like this. may i know why this error happen and what is the solution ? i think my problem is about connectivity with my network but i am not sure.
i h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71953392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TeamBuild build error: Unknown ProviderOption:DefiningProjectFullPath. Known ProviderOptions are:skipInvalid I have a solution created with VS2013 with this projects:
*
*WebApp (Asp.net mvc5 web app)
*Common (c# library project)
The solution is versioned on server TFS2013.
I Create and edited a build definitio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36934898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to declare Exchange Web Service I have in my c# application a new web service that I generated using Add Web Reference tool.
It is called ExchangeWebServices in my Solution Explorer.
But when I try to add the sample code that I found on StackOverflow: 652549: read-ms-exchange-email-in-c-sharp it won't compile.
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22299299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Variable changing when used in a forumula in php I hope that someone can help me figure this out because it is driving me crazy. First off some background and values of the variables below.
The $TritPrice variable fluctuates as it comes from another source but for an example, lets say that the value of it is 5.25
$... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21465410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Elastic Beanstalk does not deploy the app after autoscaling So because of NetworkOut < 2000000 for 1 datapoints within 5 minutes policy in the autoscaling group my instance got terminated. Then it created a new instance but did not redeploy my app on the new instance. Why is that? Shouldn't it be automatically depl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67696277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error while sourcing shell script In order to complete an installation, I need to source the following .sh file:
function addvar () {
local tmp="${!1}" ;
tmp="${tmp//:${2}:/:}" ; tmp="${tmp/#${2}:/}" ; tmp="${tmp/%:${2}/}" ;
export $1="${2}:${tmp}" ;
}
if [ -z "${PATH}" ]; then
PATH=/share/MontePython/plc-2.0/bin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44907080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I got this error NOT NULL constraint failed: accounts_user.password The problem is when i try to register this error show up:
django.db.utils.IntegrityError: NOT NULL constraint failed: accounts_user.password
I tried to migrate and did all recommended things like migrations but it didn't work.
This is my files
vi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60362818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to do URL rewriting in Classic ASP In Classic ASP I want to convert links into user friendly urs.For example
http://www.sportsmanager.us/links/AboutUs.asp?Org=504&Link=7514
should convert to
http://www.sportsmanager.us/links/demo/AboutUs
Please let me know is it possible in classic asp.We have window server 20... | {
"language": "en",
"url": "https://stackoverflow.com/questions/6717438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JS Dropbox API Account Secret I am using the Dropbox Core API for a web application. On my server, I want to have a profile for each user, that is linked with his Dropbox account. How can I ensure, that only this user has access to his information? Can I get some sort of a secure unique Dropbox password hash for the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22336809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to define a CustomUser and still use the standard admin screen? A few different questions on the same topic:
I have defined a new CustomUser classes to the following, which is simply an extension of the default UserClass.
class customUser(AbstractBaseUser):
email = models.EmailField(verbose_name='... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33701199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: 'ManagementForm data is missing or has been tampered with I am using the following code in my django app which is working fine if I use it as it is but when I extend the base to the following html it throws the following error:
django.core.exceptions.ValidationError: ['ManagementForm data is
missing or has been t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61320538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: inter servlet communication I have two servlets: LoginServlet and MailServlet. LoginServlet queries a mysql table using jdbc to get a string(eMail). What I want is to forward this string to MailServlet which in turn will send an email to that e-mail ID sent by LoginServlet.
My question is how do I call and send the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/2840638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I record a timestamp of when a record is created in Mongoose schema? I have an application that I'm building that allows users to enter records on a webpage. I want to display the date/time of when each record was submitted, I've tried several different methods and finally have the date/time to display in a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70296156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to improve my current code to get correct result I have some events. event are show in application every week depend on inserted day.like
event one > Friday
event two > sat
event three > sun
so event one show in application every Friday 2 am to 2 am
I am confused how to manage and 2 am to 2 am. I already create... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29990403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to disable users from accessing previous page by browser back button after logout in angular2? I am trying not to allow users to go to previous page using browser back button after logout. I wish to show users a messge like "Please login to continue".in Angular 2
A:
create a new file called authorization.guard... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51590678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: restructure json data into a same structure , by removing unwanted data This is my JSON Data using Mongo :
{
"status": 1,
"message": "",
"data": [
{
"_id": "5f489968a26b303c54d0a174",
"name": "Mobile",
"SubCategory": [
{
"_id... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64042989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Dynamically insert data into an APEX page item when a page item is entered a value I have a form in APEX that is used to add data into a table. Most of the items in the form are free form texts but there few items that are needed to auto filled when you enter a value in on of the page item.
For example.
There is for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63945584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to detect if user pressed back button in their mobile (browser) with JS I'm developing a PWA and there is a conflict between a library I use for loading and back button
The only thing I need to detect is whether user clicked back button in their mobile (PWA) or not. Then I can handle the rest.
I searched but did... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74839712",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get result of two tables in sql? These are my two tables:
*
*Questions: QuestionID, Question, SubjectID, Totalmarks, IsActive
*RoundDetails: CandidateID, QuestionID, MarksObtain
How to write query to get result of all questions details from Questions table and also result should display whether candidat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29516403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: ComponentOne reports : using IEnumerable as datasource I have business objects that implement IEnumerable and I and need to use them as datasource of a ComponentOne report. But, the "myreport.DataSource.Recordset" is only accepting a DataTable.
Could I have some help to find how can a C1Report datasource be fed wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5211945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AngularJS, Javascript - How to compare two dates that are of mm-yyyy format? I have two strings in mm-yyyy format (eg: 05-2012) and I need to compare them.
I tried using $filter and Date.parse, but no luck thus far. I don't want to append the string with a dummy 'day' part, unless there is no other way.
Below is m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22359012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL REPLACE with Multiple [0-9] I have a string that I want to replace a group of numbers.
The string contains groupings of numbers (and a few letters). 'A12 456 1 65 7944'
I want to replace the group of 3 numbers with 'xxx', and the group of 4 numbers with 'zzzz'
I thought something like REPLACE(@str, '%[0-9][0-9]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70430718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using f:event to inject a ConversationScoped bean into a ViewScoped bean I can't inject a ConversationScoped bean into a ViewScoped bean, because the ConversationScoped bean could be shorter lived than the ViewScoped one, or vice versa, depending on whether or not the ConversationScoped bean is long-lived.
To get ov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4686311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Git Jenkins Continous Integration Push Issue I have a git bare repository hosted on a server. I checked out a local git repository, made quite a few changes and then pushed it to the server. I also have a jenkins build box which uses a git hook to schedule a build on the develop branch and merge changes to master br... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26448945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Running PHP inside of PHP? I am still learning and I found that I can't run PHP within PHP, after reading into it makes sense why you cannot do it (D'oh!), what I am struggling to find is the correct way to do this.
I have two buttons which link to different modals, if I do not use them within a IF Statement they wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73628491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ubuntu etcd.service start failed with (code = exited, status=1/FAILURE) When I have written my etcd.service file, and run with the systemctl start etcd.service command, it gives this error:
etcd.service - ve489 etcd service
Loaded: loaded (/lib/systemd/system/etcd.service; enabled; vendor preset: enabled)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72674204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: mysql: see all open connections to a given database? With administrative permissions im mysql, how can I see all the open connections to a specific db in my server?
A: As well you can use:
mysql> show status like '%onn%';
+--------------------------+-------+
| Variable_name | Value |
+-------------------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1620662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "152"
} |
Q: Permission ATTR{idVendor} for USB devices on linux mint to use table mobii protab2 XXL I am using linux mint, and consulting VendorIds from http://developer.android.com I don't know how to detect my tablet device correctly. My tablet device is Mobii protab 2 XXL, fabricated by Point of view.
I have created 50-androi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9929649",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: CLIENT_MISSING_INTENTS' enter image description here
i need help with that error when first coding discord bot
here code
const client = new Discord.Client()
client.on("ready", () => {
console.log(`Logged in as ${client.user.tag}!`)
})
client.on("message", msg => {
if (msg.content === "ping") {
msg.reply("p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69201388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Error 10038 (Socket operation on invalid socket) when trying to send a string from Winsock2 C program I'm trying to make a C library that mimics Python socket library.
When i run my main function, an error occurs on simplesend(sucket, "foo");
the whole main function:
int main(){
struct SIMPLESOCKET sucket;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74667888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Destroying file after HTTP response in Django I'm now making website that downloads certain images from other website, zip files, and let users download the zip file.
Everything works great, but I have no way to delete zip file from server, which has to be deleted after users download it.
I tried deleting temp direc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/58581479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Omniauth localization in ruby on rails How do omniauth localize in ruby on rails project?
I want use :ru localization.
In my project I use:
gem 'omniauth-twitter'
gem 'omniauth-facebook'
gem 'omniauth-vkontakte'
gem 'omniauth-mailru'
gem "omniauth-google-oauth2"
A: I'm not sure that omniauth allows you to provid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/21497319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I deal with old collected metrics in Prometheus? I am using a Gauge Vector in my application for collecting and exposing a particular metric with labels from my application in the Prometheus metrics format. The problem is that once I have set a metric value for a particular set of labels, even if that metric ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48324007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Nested query with aggregation in Mongo I have a document in MongoDB:
{
"_id" : ObjectId("111111111111111111111111"),
"taskName" : "scan",
"nMapRun" : {
...
"hosts" : {
...
"distance" : {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27201111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R Logistic Regression using summary table Can I run multiple logistic regression in R using data not from whole database, but only using summarized values?
In other words, can I still run the logistic regression and build a model only when I have a table like this:
Age Group
No outcome
Outcome
female, 18-39
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73553056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kubernetes: Tasks that need to be done once per cluster or per statefulset or replicaset So i heard about initConainers which allow you to do pre-app-container initialization. However, i want initialization which are done either at the cluster level or statefulset, or even the whole pod.
For instance, I want to perf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57386429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to reference an assembly in GAC I'm trying to deploy an assembly in GAC, I did that successfully using Gacutil.exe utility.
Now, when I try to add a reference for it from Visual Studio - Add Reference - .Net tab, I don't find it!!
Any help!
A: I had this problem, the GAC'ed dlls arent included in the references... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5016966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: MAX IF INDEX Function? Currently, I have a table like the one below.
Jan-16 Feb-16 Mar-16 Apr-16 May-16 Jun-16 Jul-16 Aug-16 Sep-16 Oct-16 Nov-16 Dec-16
Forecast 5 8 7 - - - - - - - - -
The monthly forecast figure... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36393667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Python got many issues with Spyne Well, here's my Python code:
#!/usr/bin/env python
from spyne import Application, rpc, ServiceBase, Unicode
from lxml import etree
from spyne.protocol.soap import Soap11
from spyne.server.wsgi import WsgiApplication
# Wsgi это Web server Getewap Interface - стандар взаимодействия... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61124164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to send array of dictionarys in swift by using alamafire(Post method) I am running with an issue where my server is expecting an array of dictionarys from the app side. Please suggest where I'm going wrong here, code below
{
let param : [String : AnyObject] =
["trf_id" : Constant.constantVari... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38889421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ubuntu WSL with docker could not be found The command $ docker could not be found in this WSL 1 distro.
We recommend to convert this distro to WSL 2 and activate
the WSL integration in Docker Desktop settings.
See https://docs.docker.com/docker-for-windows/wsl/ for details.
Not able to change to WSL2 and not able to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63497928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "135"
} |
Q: Intellij IDEA create new class from undefined import Suppose I have a java file that has an import that currently is not referencing any real class, because I plan on defining it myself. Is there an easy way to have intellij create a stub class for me in my module by making the file in the right folder based on the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24788538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ant runnable jar not working I created a runnable jar using ant but it is not running. when I run the jar I am getting following error
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/teamdev/jxbrowser/events/NavigationListener
at com.MainClass$2.run(Unknown Source)
at java.awt.even... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14134094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Outlook 2016 Credentials in Credentials Manager I'm writing a client application to access my mailbox using the Redemption/MAPI library. I used to be able to start a session by doing the following:
1.) Create a credentials MS.Outlook.15:{user's email} in windows credentials manager
2.) Create a profile
3.) Open a se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47345185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Webpage in Iframe is showing without css? I have an IFRAME in a page. And i have loaded another web page in that IFRAME.
But this newly added web page is not showing properly, i.e., web page is displaying without css.
If i open same web page in another window it displays normally with css.
I have searched a lot but ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26313726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unchecked operations in java I am completing a lab assignment and get this error when I compile. The program runs fine, bit would like to fix what is causing the error. The program code and the complete error is below. Thanks as always!
import java.util.HashSet;
import java.util.Scanner;
public class Problema4 {
pu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/52962860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Inject aspx forms and functionality with jQuery Can you inject aspx forms along with their functionality into a div using the jQuery ajax load method. I am essentially trying to create a modal popup that allows me to load remote web forms into the popup and have the user use the form and submit.I have the modal buil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1089013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.sp.gymtest.User.getName()' on a null object reference I am a beginner in java and this project is for one of my modules, so I really have no idea what is wrong with this.
I am trying to create a real-time chat system using Firebas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75346168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: tomcat session not serializable for spring component with @Value injection It's a rather strange problem. In Spring I've configured a bean as session.
@Component
@Scope(value="session", proxyMode=ScopedProxyMode.TARGET_CLASS)
public class UserSession implements Serializable{...}
There is an interceptor which who in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20414696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Make responsive larger image of a div I'm trying to make a responsive email template, with a letter that gets it out from an envelope.
The letter is smaller than the envelope and I can't resize it in the same way as the div.
If I put width: 100% on the envelope, I get the same div resize so not good.
If I put margi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41169142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Quick image search using histograms of colors I want to search images using their histograms of colors. For extracting these histograms I will use OpenCV, I also found examples which describes how to compare two images using histograms of colors. But I have some issues:
*
*Google and another search-engines uses t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40820900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to put text after the input field in python? In python if I wanted to have someone enter a loan amount in dollars, I could code something like this:
# Loan amount
L = float(input("Enter the loan amount: $"))
But what if I want, let's say the interest rate, which is a percentage. If I coded:
# Interest rate
I = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34408264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: is an android API essentially just using GET/POST to get information? I'm trying to get the root of an API and I'm just wondering if most APIs are essentially using GET/POST requests to send and receive information?
My thought is that anything that android does with an API has to connect to some server somewhere, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36843461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Magento 2: Error during compile Incompatible argument type I have below error while running
php bin/magento setup:di:compile
Errors during compilation:
Ves\Blog\Model\ResourceModel\Author\Grid\Collection
Incompatible argument type: Required type: \Magento\Framework\DB\Adapter\AdapterInterface... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46726636",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why despite "drush" being installed via `composer global install` during image build, I cannot find the tool from within a running PHP script? I am developing a PHP web application inside of a Docker container. Using volumes: inside of my docker-compose.yml file, I have specified a local directory so that any files ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67788318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: TypeError: undefined is not an object (evaluating 'items.filter') in react native Why I am getting that error TypeError: undefined is not an object (evaluating 'items.filter') when using react-native-dropdown-autocomplete in my react native app?
I am getting data from fetch method and store that data in arrayholder
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68712441",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: rails helper recursive block strange behaviour Following code should accept nested code and yield in 'li' tag
def sidebar_link(text,link, color = nil)
recognized = Rails.application.routes.recognize_path(link)
output = ""
content_tag(:li, :class => ( "sticker sticker-color-#{color}" if color) ) do
if recogni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13684126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I get, "SyntaxError: function statement requires a name" in FF, and "Uncaught SyntaxError: Unexpected token (" in IE, when importing D3 into Angular5 UPDATE: My lead was able to solve this probllem. Please see answer below, and I hope that this helps at least some people
The following code throws the exception, but ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48916085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: yupError.inner is undefined while integrating schema with Formik I tried integrating the Yup's Schema validation with formik. But receiving error as yupError.inner is undefined
Here's a link to codesandbox!
I have'nt tried much. But found this bug report. which was later realized to be resolved. But still i'm reciev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57260806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Query cannot be updated because the FROM clause is not a single simple table name We just moved our SQL 2000 databases to a new SQL 2008 box. After the move, we bound the IP address of the SQL 2000 box to the new SQL 2008 box. This works, except in a VB6 application running on a Windows 2000 SP4 box where we are g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1942063",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript : add/remove json element in json object I need to modify my JSON Object by add/remove Json element. Here is my JSON Object,
var candidate = {
"name":"lokesh",
"age":26,
"skills":[
"Java",
"Node Js",
"Javascript"
]
};
I need to remove the element "skills" and output shou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38010518",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Does std::string::c_str() always return a null-terminated string?
Possible Duplicate:
string c_str() vs. data()
I use strncpy(dest, src_string, 32) to convert std::string to char[32] to make my C++ classes work with legacy C code. But does std::string's c_str() method always return a null-terminated string?
A:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12697788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Convert multiple numbers or text from a column into a row without duplicates
See the image. I want the column to be converted into the row as in the image. Even if there are multiple text or numbers with commas in any single row within the column, then those needs to be considered as duplicates. How do I make the r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41491280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL: Fill column from other table with different identifier/key and different number of data set Assuming the dataTarget column is empty, how do I fill it with data from the dataSource like shown below?
Source
id otherSubId dataSource
------------------------------
4000 10 DataA
4000 20 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44931455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how do i change the file attributes? I am using the the GetFileAttributes() function in my code. Its return the value as 0x2010. Because, Its saying, "FILE_ATTRIBUTE_NOT_CONTENT_INDEXED". I need output as 0x10.
Please help me to resolve this. I am using empty folder to get file attributes.
A: The output is 0x10. I.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23004454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can someone please explain this macro definition? The macro definition is as follows:
#define open_listen_fd_or_die(port) \
({ int rc = open_listen_fd(port); assert(rc >= 0); rc; })
open_listen_fd() is a function, that returns integer value.
My question: What is the significance of third statement rc; ?
A: You'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64040245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Java non-recursive filesystem walking I need to create app which uses non-recursive walk through filesystem and prints out files which are on a certain depth.
What I have:
public void putFileToQueue() throws IOException, InterruptedException {
File root = new File(rootPath).getAbsoluteFile();
checkFile(root, depth);... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9606312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Loop through nested JSON array using PHP I have a JSON array as follows:
[
{
"custClass": [
{
"code": "50824109d3b1947c9d9390ac5caae0ef",
"desc": "e1f96b98047adbc39f8baf8f4aa36f41"
},
{
"code": "dab6cc0ed3688f96333d91fd979c5f74",
"desc": "d0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50755781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Change background color from js I would set the background color of an element by onclick javascript function.
My code is:
function changeBg( el ) {
if( $( el ).css( "background-color" ) === "rgb(255,255,0)" ) {
$( el ).css( "background-color", "red" );
}
else {
$( el ).css( "background-c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/45055096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Custom EditText vertical alignment I created a custom EditText (actually, I just set a background drawable). The problem is that its text is always top-aligned, and I want it to be vertical-center-aligned. I've already tried to set its gravity to CENTER_VERTICAL, but it doesn't work. This is the drawable I created:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5017513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to prevent or disable deletion of array formula in a particular cell in the google sheet? I have an array formula in the particular cell. And I want to prevent / disable for accidentally deleting this array formula. I would like ask for advice on how to do it.
A: Simple, protect the range using Data/Protected S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67005323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to stop recursion in dynamically generated HTML table See jsfiddle for working example of issue.
http://jsfiddle.net/grdhog/Wng5a/5/
When I add a row to the table. I send it first to the server by ajax then completely rebuild the table from an ajax json call.
When I delete a row I sent it first to the server by ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23308805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to avoid refreshing and flickering while loading json with p5.js I'm trying to use p5.js to render a 3d cube on the webpage, and need to load one constantly updating JSON files to get the color features. The JSON files would be updated per second as I run a python script.
The problem is, my result web page keep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/60761089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: View is not getting displayed after starting a service I am starting a service from activity.The problem here is the service gets started started but the activity is not getting displayed.
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setCont... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10595002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the purpose of the implicit mode in Spring open id connect? I'm currently using the Authorisation Code Flow of openid connect in spring which is the default mode. In this mode, the response type used is code and I get an access_token and an id_token. So here, all seem ok.
But when I try to use the Implicit F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/50489850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Deserialize XML into a C# object How can I desearlize the below CatalogProduct tags into my CatalogProduct object using C#?
<?xml version="1.0" encoding="UTF-8"?>
<CatalogProducts>
<CatalogProduct Name="MyName1" Version="1.1.0"/>
<CatalogProduct Name="MyName2" Version="1.1.0"/>
</CatalogProducts>
Note i don... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4135150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Why there might a memory leak occus when using Handler There is a warning if we use non-static Handler: 'handler should be static, else it is prone to memory leaks.'
I have read below links and I know what their mean.
https://stackoverflow.com/a/7909437/619424
https://stackoverflow.com/a/11336822/619424
But after re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14078136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Uploading file using getElementByClassName I have the code as shown below. I am trying to upload multiple files onchamge,
document.getElementsByClassName('fileUpload').onchange = function () {
alert("changed");
/* var field = document.getElementsByClassName('fileUpload');
var file = field[0].files[0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32112372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: modifying vtk array in python without copying it I want to be able to modify vtk arrays in python without the need to copy them, modify them and then add them back to vtk polydata. In C++, I assume that this is feasible using references. Is there a solution a similar solution in python?
A MWE is as follows
from os i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/69181589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can an Ember-data PromiseArray be rejected? I have a list of a couple thousand people that has a search and filter functionality. The search box is doing a google like search as you type and there is a drop down to filter by the person's status. If you select the drop down and start typing quickly sometimes th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24813232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: html form unable to find setter method for attribute name I get error html form unable to find setter method for attribute name when I add name attribute in form action
like
<html:form action="updateBOEMedicalAccept" name="updateBOEMedicalAcceptForm">
I need name attribute to use it in javascript
like
document.upd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/12813588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Search and lookup Search values from one dataframe in another dataframe and populate new column based on look up values in pandas I have 2 dataframes - df1 and df2 which look like below. I need to search the values from df2['Pid'] in all columns of df1 (columns - a through f) and then create a new column df1['ind'],... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62421990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: insert icons to text messages with javascript I have angularjs phonegap application with backend on nodejs.
I have a simple chat page with input for text of message, but user can choose a smile picture from list and put it among text. I didn't find any solutions for my questions.
Thanks.
A: To use emoji icons with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24287506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to work with a Generic List of a Generic Type in a Generic Class In the example console app below, you will notice that the program is attempting to create a basketball team and, then, add a player and a coach to the team.
The design of the application implements generic classes (Team and Person) which concrete ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5275123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting type of not initialized variable There is main a variable which has uninitialized variables. I need to retrieve the Type of uninitialized varible type with reflection. Because I am generating the values dynamically but can't get the types of main variable's type of vars.
In the picture Quick Watch is showing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9021005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to call enum with a value from a another method In Interfaces.cs I have:
private enum InstructionType
{
ADD = 1,
UPDATE = 2,
DELETE = 3
}
What I want to do is call each TransactionType individually in IWorks.svc.cs that will handle the logic for adding updating and deleting.
How is this done?
A: If... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29600579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can extract Custom Property value from lambda expression? I have the following class definition
Person.cs
class Person {
[Column("first_name")]
public string FirstName { get; set; }
[Column("last_name")]
public string LastName { get; set; }
}
I wrote an HTML Helper extension to extract the ColumnAttri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/68228703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Parsing in C# using JSON.Net (very confusing!) I want to parse the following JSON:
{"0":{"igloo_id":"0","name":"Igloo Removal","cost":"0"},"1":{"igloo_id":"1","name":"Basic Igloo","cost":"1500"},"2":{"igloo_id":"2","name":"Candy Igloo","cost":"1500"},"3":{"igloo_id":"3","name":"Deluxe Blue Igloo","cost":"4000"},"4":... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22925446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I have a web page store changes made by javascript? I have a form on a simple web page that has a series of checkboxes. These options represent items that may be retrieved from a database upon clicking the submit button. In addition, there is a place to add an extra option to the page at the bottom. Here i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7919891",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: HTML Meta and Body parts from JSON Is it possible to load html meta attributes from JSON?
for example:
<!DOCTYPE html>
<head>
<title>{{title}}</title>
<meta charset="{{charset}}">
<meta name="description" content="{{description}}">
<meta name="keywords" content="{{keywords}}">
<script type="text\javascript" src="som... | {
"language": "en",
"url": "https://stackoverflow.com/questions/37046428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to echo the results from 2 columns within the same table - PHP I just want to echo out two columns from the same table using php. What I have below which pulls out all the members first names:
<div class="grid-2">
<p><b>MY DETAILS</b></p>
<?php $query = "SELECT * FROM `tblMember`";
$result... | {
"language": "en",
"url": "https://stackoverflow.com/questions/55024093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CKEDITOR - Wordwrap seems to be posted I have a very interesting issue, using CKEDITOR. I'm doing the following:
I have an instance of CKEDITOR, and I have a form with hidden inputs. Before submitting the form, the value of CKEDITOR is entered in a hidden input field. So I have:
$('#form_hidden_input').val(CKEDITOR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32452283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.