text stringlengths 15 59.8k | meta dict |
|---|---|
Q: Get all name values from html option tag in javascript I have this following html code
<select>
<option>Joe</option>
<option>Buckey</option>
<option>Elen</option>
<option>Rimzy</option>
</select>
<button>Submit</button>
what I want is, when I click the submit button it should store all the name values which... | {
"language": "en",
"url": "https://stackoverflow.com/questions/42281222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: undefined method `params_require' - New into rails I try to code a small blog in rails and when I tried to save a post through the website i get an Error. I can create a post with the console but thats not the goal.
this is my code for the create method:
def create
@post = Post.new(post_params)
if post.sav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43070393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hive: Unable to insert data in table with 100 or more partition columns Error: in column "PART_NAME" that has maximum length of 767 I am working with hive, I needed to create a table with 'n' normal column and 100 or more as partition columns and I am able to create that table successfully.
now When I come to load t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44714575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Adding behavior to LINQ to Entities models What's the preferred approach when using L2E to add behavior to the objects in the data model?
*
*Having a wrapper class that implements the behavior you need with only the data you need
using (var dbh = new ffEntities())
{
var query = from feed in dbh.f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1370123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How I can fix the following error in replication RDF in virtuoso OpenSource? I'm trying to do replication RDF triples in Virtuoso, but I have an error when connecting with the pulbicador server via repl_server. function () says:
Error 42S22: [OpenLink] [Virtuoso ODBC Driver] [Virtuoso Server]
SR242: No system stat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/32042476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why doesn't this SVG fit inside its parent DIV for small DIV sizes? My expectation is that the triangle should be inside the container div. This works as expected for widths bigger than 14 pixels or so, but for small div sizes the SVG gets bumped down.
<div id="square" style="width: 9px; height: 9px; background-colo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33746161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Fill program in C I am trying to create a program in C that, given the user's input of a character boarder for a shape, fills the shape in.
http://pastebin.com/aax1dt0b
#include <stdio.h>
#include "simpio.h"
#include "genlib.h"
#define size 100
bool initArray(bool a[size][size]);
bool getshape(bool a[size][size]);... | {
"language": "en",
"url": "https://stackoverflow.com/questions/10421398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why we use const array in a function, even the original array are not const? I hope that these code express my question more clearly.
double xxxx(const double* const array){
//...
}
int main(){
double* array = new double [5];
xxxx(array);
}
Is it actually create a new const array in the stack and heap by the input... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48798993",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: rangeHighlights not showing with bootstrap-slider bootstrap-slider working, displays as intended, however the rangeHighlights do not seem to be appearing.
Copied the html/css/js code from http://seiyria.com/bootstrap-slider into my projects as it is on the site.
What am i doing wrong here?
$('#ex22').slider({
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47402564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Affecting Single Element with jQuery What I'm trying to do is when in my function user will hover over .yell-button then .yell-box-txt will disappear.
The only problem is that I have more then one buttons on the site and whenever I'll hover over one of them all text fields are disappearing.
this is my function:
$('.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1859557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Unknown error occurred while loading Library/Artifacts unity
Unknown error occurred while loading 'Library/Artifacts/91/919a792b1979b62f241964f8b62a0554'.
This error I get after download entities on unity
A: Two suggestions: download the latest version of the package; Try deleting the entire "Library" folder, aft... | {
"language": "en",
"url": "https://stackoverflow.com/questions/72994705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fetching the frequency of a unique number within an array for a list of db queries in sqlalchemy/postgresql I am having a hard time figuring out a way to find a solution to the above question. Here are the details.
Let's say we have Table X which contains different products, and each product has a unique integer id ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54499824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any way to stop AWS from starting CodePipeline automatically if I deploy it via CloudFormation? If you create a CodePipeline via CloudFormation. It starts it automatically, that can be a problem because the pipeline can rewrite the same stack...
Is there any way to disable this behaviour?
Thanks.
A: Had sa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62540778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: logback logging with maven-jetty-plugin I want to use logback logging with maven-jetty-plugin. Apparently, the system property logback.configurationFile is read after maven-jetty-plugin is started and has initialized slf4j, so the file ./src/test/resources/logback.xml isn't read by jetty.
As a result, I get all log ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8087794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Vue wait for render template and display it I have a problem with rendering in vue.js. I made a simple login/registration app. When the user is logged in, the register link should be hidden. It works but when I reload page there is small delay. I try to use v-cloak but it's not working. How can I fix it? I recorded ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49578349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is a better design for sending and returning data objects from a service layer I am probably thinking about this too much but was wondering if there was a more efficient way to do the following. Please note that my main concern is the use of the Data Transfer Object. This works excellent just seems messy to me.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25656421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Graphics.DrawLine lags when PictureBox SizeMode is set to Zoom I have a winforms app where I draw on an image in a picturebox. The drawing part works really well, except for lag when PictureBox.SizeMode = PictureBoxSizeMode.Zoom. The reason I set the SizeMode to Zoom is so I could zoom in and out of the image while ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59850734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ipad Javascript slider I'm looking to create a slider/scroller with javascript for the iPad. I created one using JQuery UI, but it's not supported on iPad.
I'm looking to create something simple, where the user can drag an image left and right along a track. I've looked all over the place for some simple insight on ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9185138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to do post request to external api using rest template? While I am executing this i getting an error like this ("Content type 'text/plain;charset=UTF-8' not supported]"). Please help me to get this problem resolved.
public String saveCourse(CourseEntity courseDetails ) {
HttpHeaders headers = new HttpHea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/73412891",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I queue and execute multiple promises asynchronously with a single callback? I am using the http request library got. With this package, http connections are asynchronous, fast, and easy to type out. The "got"cha is that got is a promisified package, which brings up several challenges for me. One is that I d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/36700240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Simulate ring (algebra) in SQL I'm creating small profile viewer and I want to simulate ring in SQL. How it works? For simple:
I have 5 users on my table. When I get one from middle to my experiment (like user number 2,3,4) next and previous user is CURRENT_USER_ID +- 1. But when I choose user number 1 or 5 it's not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30574647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TransactionScope in MVC application I have an MVC 4 application, and while registering I have come across issue where data is saved in usertable but not in other table i.e user_detail etc.., to avoid that I tried to use tranascationScope well it worked for the registemethod as below.
public ActionResult Register(mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/24739388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are the possible solutions to make an application compatible with updated versions of Windows from XP to 8.1? Regarding the use of .NET Framework versions, what are the possible solutions to make an application compatible with updated versions (only with high-priority and important updates - not the optional up... | {
"language": "en",
"url": "https://stackoverflow.com/questions/22375382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Typecasting in WSO2 I have a property in my wso2 integration studio that stores the result of an arithmetic operation. The value of this property that is displayed in the logs is 12.0, how can I convert this property to integer type and make it 12?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/73231316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What type of input does ResNet need? I am new to deep learning, and I am trying to train a ResNet50 model to classify 3 different surgical tools. The problem is that every article I read tells me that I need to use 224 X 224 images to train ResNet, but the images I have are of size 512 X 288.
So my questions are:
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/67995015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using PDO to return a single set of values rather than an array A very nice person on this site helped me with the following script (and it worked a treat)
<?php
$db = new PDO('mysql:host=HOST;dbname=DATABASE', $user, $pass);
$stmt = $db->prepare('
SELECT
yeast,
rating,
description,
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/25991775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tensorflow theano.tensor.set_subtensor equivalent I am implementing an operation in keras, such that it can work on both theano and tensorflow backend. Suppose the input of the operation is:
array([[ 0, 1, 2],
[ 3, 4, 5],
[ 6, 7, 8],
[ 9, 10, 11]], dtype=int64)
then its output should be:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41516058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: cannot find symbol:method getFactory()
symbol: method getFactory()
location: variable mapper of type org.codehaus.jackson.map.ObjectMapper
I already added below jar
Below is how I import them
<%@ page import="java.io.*,java.util.*, javax.servlet.*,java.text.*" %>
<%@ page import="javax.swing.*" %>
<%@page impor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38630974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to get download link after upload photo to firebase storage
I tried to get a download URL like this but it is not getting correct URL. I am a beginner in Firebase, how can I do it?
A: You can get the download URL like this
fileRef.getDownloadUrl().addOnSuccessListener(new OnSuccessListener<Uri>() {
@Over... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54177632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Lazy List with Images. How to cancel thread? I have found this example Lazy load of images in ListView from Fedor which is absolutely great for what I need.
I have a question. if beside the Clear Cache button there would be a button with Cancel. How could I in onClick cancel the image download thread from the UI ?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3837277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: disable y-axis max and min values on nvd3 boxplot I am using nvd3 boxplot and would like to remove the max and min values being shown in the plot. For example, I do not want the values 7 and 68 to be displayed on the y-axis for the chart below.
Any suggestions as to how I can do it.
Thanks.
A: An alternative to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34500985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to coalesce when all records are missing a column? I'm reading multiple JSON files into a dataframe in Scala. A few files are missing a column (e.g. the column header) while other files have it.
I want to add the column for those records where it doesn't exist and populate with a default value "Missing". How to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54111196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Persistent volume claim - mount path I have a pv like below
apiVersion: v1
kind: PersistentVolume
metadata:
name: azurefile
spec:
capacity:
storage: 5Gi
accessModes:
- ReadWriteMany
storageClassName: azurefile
azureFile:
secretName: azure-secret
shareName: cloudshare
readOnly: false
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/61034079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to change values of a dropdown on key press using jquery i need to change values of a "Focused" dropdown on keypress using jquery.
i need,
*
*how i get a foucsed drop down or how i can check whether the drop down has focus.
*how to change this drop down values in key press like 1,2,3 etc. using JQUERY.
tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5101835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What can be the possible causes for "Unknown path components"? I created a Facebook app and some custom Open Graph Actions and Types.
When i use the sample code from the Open Graph Dashboard to create an action i get the following error:
{"error":{"message":"Unknown path components: \/NAMESPACE:ACTION","type":"OAuth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13513249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Filtering Products by an Option in Spree With Spree Commerce 3.0-stable, I need to write a custom product filter to show only products where at least one variant matches the selected OptionValue.
I've got a filter that displays the correct list of options in the checkboxes, but selecting an option doesn't change w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/35190934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unwanted (meta?) data in Ruby/Rails I have two models (questions and answers) that slightly follow the popular Railscasts:
class Question < ActiveRecord::Base
has_many :answers
accepts_nested_attributes_for :answers, :allow_destroy => true
end
class Answer < ActiveRecord::Base
belongs_to :question
attr_ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/9973476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PrimeFaces Datatable Column Sorting is not working in IE8 but it works fine in Firefox PrimeFaces Datatable Column Sorting is not working in IE8 but it works fine in Firefox.
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5033224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Report item width of items in TreeView via NM_CUSTOMDRAW? Is there a WM_MEASUREITEM type item for custom drawing treeview items via NM_CUSTOMDRAW? I'd like to be able to report the width the item will actually be once I paint it in the post paint so a horizontal scrollbar doesn't show up when not needed (because I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/74911059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IONIC 3 how to get current date/time from google servers for specific country? I'm working on IONIC 3 app, I have a button When it is pressed, some informations about the user location are sent to firebase .. i want to send the current date/time too with the geolocation informations .. but not the device's date/time... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49242974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Read from text file C++ (fname, lname, class, seat number), store and verify I have a text file of the classlook like this:
FName LName Class SeatNum
FName2 LName2 Class2 SeatNum2
...
and the list goes on.
How to read lines of strings and store them into different variables?
How to combine Class & SeatNum to be an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27836150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: I have a PHP problem like I have update my code, but now it shows error like SQLSTATE[3D000]: Invalid catalog name: 1046 No database selected users.php:
'''
class users {
private $id;
private $name;
private $email;
private $login_status;
private $last_login;
private $db_conn;
function se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/59349317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Error while writing pixel values in a raster file using node gdal Using the following code to raster file:
const gdal = require('gdal');
const dataset = gdal.open('raster.bip');
const band = dataset.bands.get(1);
band.pixels.write(0, 0, 1, 1, new Float32Array([-1111]));
But getting following error:
/Users/alok/Sma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44105609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using DNS SRV records with C# Is there a built in (to the .net framework) class or function to resolve a SRV entry to the corresponding records?
IE: _dmsc._tcp.network.local to an array of information (host, port, weight, priority)
A: Alternative solution:
P/Invoke to the DnsQuery function and pass DNS_TYPE_SRV.
An... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1126664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: PostgreSQL: How to avoid divide by zero? I am trying to get the average occupation rate from table occu_cap but I am getting the error "ERROR: division by zero". There are 0 values in both columns.
I've been looking at using NULLIF(column_name,0) but I can't figure out how to implement this into the code below.
SEL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71806757",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Robot Framework and Django I am trying to use Robot Framework to acceptance testing my django app.
The thing is, that to test my django app I need to call
./manage.py runserver
To start the server. Can I make Robot Framework to do it for me? And stop it after the tests of course.
Or, even better, it is possible to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27056510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Jquery how do I add +1 to a number in a table So I am generating a table with php/mysql, and in this table are numbers in rows. I have a button that when clicked, adds +1 to this number value in the MySQL database. The problem is, I have to refresh the page for the new number to show up in the table.
I am attempting... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5982603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pass a cython allocated buffer to python I am aware of this post about passing over Cython malloc'ed data to Python. I however wonder if casting to a memoryview before returning avoids the memory leak:
def someCythonFunction():
try:
mPtr = <double *>PyMem_Malloc(N * M * sizeof(double)
for n in ra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/44436046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: multiple successes in Coq branching and backtracking? I am having trouble understanding the concept of multiple successes in Coq's (8.5p1, ch9.2) branching and backtracking behavior. For example, from the documentation:
Backtracking branching
We can branch with the following structure:
expr1 + expr2
Tactics can be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38256705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Positioning an input rotated 90 degrees inside a div I made input range vertical via javascript like this:
var range_pitch = document.createElement("input");
range_pitch.setAttribute("type", "range");
range_pitch.style.webkitTransform = "rotate(90deg)";
range_pitch.style.mozTransform = "rotate(90deg)";
range_pitch.s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34485570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: spring-boot 404 error in serving .js, .css files to html templates I am using spring boot and was trying to host HTML pages that use angular js.
My folder structure is :
I referred to a lot of other question on SO and even spring.io guide on spring boot and what I understood was that we are supposed to keep our htm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38553929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Kotlin's Dukat is generating code with a tons of error Here's my current gradle.build.kts
plugins {
kotlin("js") version "1.5.31"
}
group = "me.fan87"
version = "1.0-SNAPSHOT"
repositories {
jcenter()
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-nodejs:0.0.7")
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/71776082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Concatenate two dataframes of different sizes (pandas) I have two dataframes with unique ids. They share some columns but not all. I need to create a combined dataframe which will include rows from missing ids from the second dataframe. Tried merge and concat, no luck. It's probably too late, my brain stopped workin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/54427502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating form fields from user input I found a code that creates some form fields based on a number chose by the user.
<script type='text/javascript'>
function addFields(){
var number = document.getElementById("member").value;
var container = document.getElementById("container");
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/23063908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Security concerns regarding unique JWT token in asp.net web api c# I have created an asp.net MVC web API application which uses JWT token to authorise the users after normal login.
I am able to implement it correctly but I have following concerns regarding security:
*
*If someone copies the token of valid user a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/41037410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Drawstring on a panel change when other panel move over I draw a rectangle panel with every button click. After that add a line on the edge of the rectangle and text on the center. But when I drag a panel move over other panel. The panel string will change. Please advice. I can't upload an image. How can I upload an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/27638710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can extract points which are formed a convex hull of 3 dimensions polygon in Matlab by using convexhull functions? I use different convex hull functions in Matlab to find points coordinates which are formed the convex hull. however, these functions return the matrix of triangles.
How can I specify those points?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11850771",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Insert of generic values in HashMap C I have a function(create) in order to create an hashmap.
My hashmap is bigger than 11 , but this is an example and I'm searching to make code more clearly as possible.
The hashmap will contain a couple KEY-VALUE in each node. My aim is to create a generic Insert function in whic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65130924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to display command line arguments in a single line? I want to write a program that would display my command-line arguments in the console one after another. I found in oracle tutorials that you can surround passed arguments with "" to put them in one line, but how can I do the same with code?
I made something li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65025820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: C# Custom Object Validation Design I currently have to validate custom Field Objects for my application. Simply put, each Field object consists of information about the validation for the field, as well as the value of the field.
I am validating fields in bulk, so currently, I have a validation class, that has a met... | {
"language": "en",
"url": "https://stackoverflow.com/questions/1290251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Have a method for INPUT without using FORM in PHP I'm being creative and making something new. I am wanting to use <input> without <form> but don't think it's possible to make the input a method (POST) without using <FORM>. I'm currently trying to use
if(isset($_POST['name'])) {
// Do Something
}
but having my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/26049605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: gstreamer plugin library not linking against opencv shared object library - “undefined symbol” on CentOS I have a plugin that uses OpenCV and it works perfectly on Kubuntu. Now I am trying to run the code on CentOS but when I run the pipeline, I get:
$ gst-launch videotestsrc ! opencvelement ! ximagesink
WARNING: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11728951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to get the local maven repository path? I have the problem that when using the windows maven under cygwin, the local repository path is not /home/user/.m2/repository, it is /cygdrive/c/Users/user/.m2/repository.
Is there a way, with some python library or Aether or something like that, to find out the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/29798889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use jQuery with in xhtml? i am using facelets,richfaces,and ajax, in XHTML
i am facing error while creating datepicker!
What is the solution for my problem?
the code is:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/3888881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the meaning of "system environment" in IntelliJ's golang plugin? I was attempting to use intellij's golang plugin, but it sais there is no GOPATH defined.
*
*the plugin allows you to configure some sort of "GO Libraries" window, however
*Its not clear what the configuration is meant to do, and there are ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/33831719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how i can access session in route.php in codeigniter 3.0 how i can access session in route.php in codeigniter 3.0
my application is multi language support so i can used session for language change my application data , lable,static captions language change
now i want to extend my application
means when language cha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39696871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Loading image while form loads php script to an iframe I have a form which submits a php file to an iframe.
Here is the form:
<form action="del.php" method="post" target="output" >
Server: <input type="text" name="server_id" value="" />
Name:<input type="text" name="name" value="" />
Password:<input type="password"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/14820888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How I can leave the counter code? My Problem:
I don't know, how I can leave my counter-code (CountDownTimer), IF the user click the imageButton within the counter of 2 seconds
My Code:
final ImageButton avatarScroll = (ImageButton) findViewById(R.id.imgBtnAvatarback);
avatarScroll.setOnClickListener(new View.OnClic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39203996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: accordion, tab menus, assign select class for both I have two menus: the Accordion menu and Tab menu, for the Tab menu, there is an assigned class selected to a link that is opened, I want to assign the class (for example) open_menu, in the same way for the accordion menu. actually if the class open_menu will be giv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4836433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What methodology/process/tools support remote and "on the bench" development? I work for an IT services company that develops products as enablers for further services consulting. We have technical consultants/developers that need to be able to develop remotely and when back in the office "on the bench".
What method... | {
"language": "en",
"url": "https://stackoverflow.com/questions/11998864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AS3 & XML - How do I construct xml data in as3? I am playing around with saving .xml files from data in my game. I know how to convert an xml object to a ByteArray and write that to a FileReference. What I need to know now is how to go from an empty xml object (using var xml:XML = new XML()) to a fully populated xml... | {
"language": "en",
"url": "https://stackoverflow.com/questions/8691028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Program that would ask for min, hours , AM and PM I would like to create a Program that would ask for min, hours , AM and PM but what I want it to do is add one to the current entered mint when it it displaying the curent time. For example : I will enter the hour: 5, enter the minute: 23 enter AM or PM: AM and give... | {
"language": "en",
"url": "https://stackoverflow.com/questions/19473365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Perform a task after all UI tasks are done As written in the title, I'm trying to write a piece of code that executes after all UI tasks. I've tried to use the Dispatcher with no success, and ended up using a BackgroundWorker with Thread.Sleep(1000) which feels risky to me.
Code snippet - using BackgroundWorker:
Bac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/38324606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Google tag manager events not appearing in google analytics A client has requested that we implement google tag manager on to track submission of all the forms on his website. We have set up all of the tags and triggers per the instructions that we found online but it appears that only 1 tag is actually working. We ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46587982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to automatically run a VB6 compiled software as Administrator and in Compatibility mode We have an ERP application which is built in VB6 and it was running just fine till a few of our customer upgraded all their systems to Win7.
This software is programmed in such a way that it registers a few plugins (found in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7074476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to render parts of form from ActionListener in JSF I have a simple file upload mechanism in one of my jsf pages. Once the file has been uploaded, I have an ActionListener that fires. At this point, I have access to the name of the file that the user uploaded, and I want to add this to an outputText component. Ho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/13427444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to prevent replacement annotation from changing position and text size? I'm using iTextSharp to replace Typewriter annotations with Textboxes that have the same content and position, but some of the resulting Textboxes end up in different positions with different text sizes, despite seemingly having exactly the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/40878364",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Bioconductor package development S3 vs S4 I'm working with a lab developing a package for consideration submission to Bioconductor.
Currently, it uses S3 class objects. Everything that I've seen so far in bioncoductor uses S4. Before we attempt to submit, we are wondering if the S3 would disqualify the package. Look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/63496282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: D3 - How to bind the same data to multiple object? I am trying to draw multiple shapes using the same data in a selection, so let's say I have:
myData = [
{
shape: 'rect',
attr: { width: 100, height: 100, x: 100, y:100 }
} , {
shape: 'circle',
attr: {cx, cy, etc...}
}
]
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/17731263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to prevent updating/deleting a MySQL record when not using a primary key? I have a MySQL table containing information about songs, which has a primary key and a secondary unique key. In my web-application the song's primary key is not 'sent' to the client, but a secondary unique key is that is not displayed by ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/62267189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a (cheap) way to check if a entity exists? I have some keys and the only thing I want to know is if there is a matching entity in datastore. currently I'm doing:
entities = db.get(keys)
for entity in entities:
if entity:
# some stuff
else:
# some other stuff
While this works... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7745246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Controller's Post method always has null property values on parameter (ASP.Net Core WebAPI & F#: ) My Controller's Post method always has null property values on parameter when triggered.
Environment:
I'm using ASP.Net Core WebAPI with F#.
Attempt:
I tried to apply a suggestion from this link to my Startup.fs fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/57165150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Project '' is not up to date. Input file '' is modified after output file '' I'm creating a typescript project (Project type - Web Application with Typescript), that includes typescript, javascript and other static files.
I'm using the Visual Studio 2015 build environment, and the Microsoft.TypeScript.MSBuild.1.8.11... | {
"language": "en",
"url": "https://stackoverflow.com/questions/39530644",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How to write two media quires in a single css file? I have the following code in my css file
@media (max-width:1000px) and (min-width:400px) {
.tooltiptext {
margin-left: 10em !important;
}
.homeInternetToolTip .tooltiptext i {
left: 9% !important;
}
}
@media (min-width:1000px) and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64288828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to ping ip in js or node js I create electron app which check availability of ip. To check availability you should ping ip. I use fetch api and with domens it work all right, but if i try to ping ip in local network like 192.168.1.190 i getting rejecting, but if i ping it by cmd ping it getting me successful res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/65576395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: gwt-rpc deserialization rpc string I have gwt-rpc response string, for example:
//OK[1,["19.04.2011 10:49"],0,5]
I need to deserialize it. In the best way I want to do it with php, but as I know there are no ready solutions. So, is gwt-rpc serialization algorithm is open source and I can try implement it in php?
O... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5712831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Type issue when using data from php with Swift I try to fill a table view with data downloaded from my database with Alamofire. I created a new NSObject class as followed :
class Repas: NSObject {
var date: String
var choix: String
var note: Int
init(date: String, choix: String, note: Int) {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/30714622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Message from paypal sandbox: "The currency of this PayPal transaction must match the currency of the merchant account" Paypal mobile SDKs are deprecated, people suggested to use braintree. I'm creating a demo iOS app.
This the error message i'm getting from server side: "The currency of this PayPal transaction must ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/64798664",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculated measure which returns average number of site key per day I am trying to create a calculated measure which returns average number of site keys per day.
Fact table looks like below.
Formula for measure is sum of number of distinct keys of each day divided by number of days for that month..
Calculated Meas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/47714086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Image upload endpoint using jax-rs WITHOUT Jersey How do you create an endpoint for someone to upload a image using jax-rs without jersey?
this is the code I have written:
@POST
@Path("/uploadImage/")
@Consumes(MediaType.MULTIPART_FORM_DATA)
public Response uploadFile(@QueryParam("uan") String uan, InputStream strea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/48502369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to have use vanilla CSS files in Magento 2 via a child theme? I understand that it's built to compile .less files, but I'd really like to be able add vanilla CSS files in a nice way.
A: Yes this is absolutely possible. The less files just get compiled into css in the pub directory. To add your own st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/34748829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: angular Manually trigger validation on input I have a template-driven form with an <input> bound to [(ngModel)] and would like to manually trigger all Validators I placed on it, would it be possible ?
If you're interested to know why I would like this kind of behavior I would say that in the case of a custom Validat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/49305098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Request explanation on the behaviour of pointers in array I m running this using rextester (online compiler). I followed a tutorial but there is something I don't understand.
I thought it would be better to write my question directly inside the code.
//gcc 5.4.0
#include <stdint.h>
#include <stdio.h>
uint8_t var... | {
"language": "en",
"url": "https://stackoverflow.com/questions/46534693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Query to conditionally select a row from a table depending on join existence I have a query that joins 3 tables and I am trying to retrieve a conditional set of rows depending on whether the record exists in the third table.
If there is a match in the 3rd table then I just want the matching records from the 1st ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/51455691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Chart.js time scale not showing data I have a Chart.js chart which was displaying fine, until I added a time scale to it. The configuration looks like this:
this.chart = new Chart(this.ctx, {
type: 'line',
data: data,
options: {
legend: {
display: false
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/43118452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: writing and adding newline after every line in json first = (str(personaggio["data"]["Character"]["name"]["first"]))
last = (str(personaggio["data"]["Character"]["name"]["last"]))
immagine = (str(personaggio["data"]["Character"]["image"]["large"]))
print (f"{first} {last} {id}")
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/70416437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to build an iPad app on the iPad? I would like to minimize the number of devices I would have to purchase to do iPad development so it would be nice if it did :)
I suspect the answer is no because I really doubt apple was kind enough to put an objective c compiler on the device. I guess an alternate q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/5425785",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: repeating a button in a php while loop The following is a markup I have for displaying my database:
$html = '';
$database_enquiry = tep_db_query("(relevant database enquiry in here)");
while ($database = tep_db_fetch_array($database_enquiry)){
$html .= '<tr>';
$html .= ' <td>'.$myV['myVariable goes here... | {
"language": "en",
"url": "https://stackoverflow.com/questions/15159964",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jquery calculated result should show image due to result I have a calculation which should show different images or text due to the result that is given.
for example, if the result is between 3 and 7 there should be image 1, if it is between 8 and 12 -> image 2.
i made a jsfiddle with the actual state: http://jsfid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/20655242",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to generate a wsdl using zend soap I'm trying to generate a wsdl file using the autodiscover class from the Zend framework. The resulting definition doesn't seem to become available and subsequent functionality doesn't work.
Below is the code that I'm using...
<?php
/**
* Returns Hello World as a string.
*
*... | {
"language": "en",
"url": "https://stackoverflow.com/questions/4680651",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.