text string | meta dict |
|---|---|
Q: Center CSS grid content and create background image I have been stuck on this for quite some time and I am new to css in general. My goal here to to make a 3 column layout where the first and last columns are empty, and they will serve as the margin (not sure if that is the correct word since I know there is a margi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573823",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "collate_fn" for Huggingface Hyperparameter Tuning I am following this tutorial on how to do hyperparameter tuning with Huggingface and Wandb.
Most of it works but I don't quite understand what the "collate_fn" Function is doing and how I have to adjust it for my use case.
My dataset is looks like this: "text" colum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573824",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Null result from multiple left Join in postgresql I have 3 tables in a database A, B and C which share the same column "name".
B has an attribute "title" and C has an attribute "age".
I am looking to write a SQL query where I will have to choose all the contents of A based on query input either B.title, C.age or all... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SCD2 Pyspark with unknown schema We can have SCD2 with known schema with pyspark, if schema is unknown how to perform SCD2, assuming the first column as primary Key
example
Day 1 Input records
Customerid Balance
1 100
2 200
3 300
Day 2 Input records
Customerid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573828",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: using Return in the Python programming language?
*
*How to use Return in the Python programming language?
*How to call a Python script from another programming language?
script and web development
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75573831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: how to turn python to .jar I don't know how to turn my python script to a .jar file
import time
import keyboard
import pyautogui
pyautogui.click(100, 1060, duration=0.5)
pyautogui.hotkey('esc')
pyautogui.keyDown('o')
for number in range(1000):
if keyboard.is_pressed('j'):
break
pyautogui.keyDown('... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573832",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Modify code from my last project. I'm a bit lost as to where to go with this one, so any help would be greatly appreciated I have the below task to modify and I've no idea where to begin. I'm new to coding and really confused!
Follow these steps:
● Create a copy of your previous Capstone project (task_manager.py) an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: MongoDB in Azure App Service, via Docker-Compose I'll keep this very simple as I've gone back to basics for this - my container configuration is a little more complex, but this demonstrates the problem really quickly.
I have the following docker-compose for Azure App Service:
version: '3.4'
services:
mongo:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Signup registration is not registering users to the database record? I am creating a signup registration to connect to the database record. Somehow instead it does not and when I inspect the element from the browser no error, but from the signup.php it goes through else check when there are no password match found.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Disable button presses when required fields are empty in react-hook-form I would like to know how to disable a button only when both Name and State in the following code are empty.In other words, I would like to know how to make it so that the button can be pressed only when both name and state are entered, regardle... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Firebase Store database map for booking date and time slot I'm looking to build an web application which allow users to make reservation for a date and time slots in that date. I tried to think for a database to use firebase store database to check whether specific date and time is taken or not.
Thank You
I'm going ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Save an image from a url using python I want to save the image from the captcha image from the following web page using python.
I will refresh the page using the following code and after every refresh I need to save in my local disk the captcha images.
from selenium import webdriver
path = "https://cfdiau.sat.gob.m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: this tables ONLY share 'key' column; how get ALL rows from ALL tables where `key` = (SELECT `key` FROM t5 WHERE `admin` = 'sam')? please note my Question is about MULTIPLE TABLES, by this:
Select rows where all criteria matches from a key value table
or
How to select from table where foreign key column is known
not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why there is no + operator for sets? >>> [1] + [2, 3]
[1, 2, 3]
>>> {1} + {2, 3}
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for +: 'set' and 'set'
Is there any special reason for the + operator not have been overloaded to execute set.union, simila... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: MATLAB - "else" does not run after "if" condition is no longer true I am having some trouble figuring out why my "else" section would not run after the condition sum(T(:,j)<Tm)==layers or T(:,j)<Tm is no longer true.
clc
clear all
rho = 0.9;
k = 0.0018;
cp = 1.92; ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Postman settings to prevent displaying pdf response I want to prevent postman from displaying my pdf response in the body. Even though I have set the response header "Content-Disposition": 'attachment Postman still is displaying the response.
The issue is I'm trying to convert a json array of 10000 objects into pdf ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Importing and installing certificate using CMD For a few weeks now I have been trying to find a way to install a certificate that is located on my desktop to "Certificates - Current User\Personal\Certificates" However what ever i try the command says it has don't it successfully but I don't see the certificate in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to create a installation setup for all OS systems I have a java web application that compiles a war file.
I want to create an installation setup wizard that installs all the required dependencies (JDK, tomcat, postgres...) and then runs the application.
I want a software installation wizard that runs on all os, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Parallelize python code to run on my GPU (NVIDIA Geforce GTX 1050ti) I have a stereo matching algorithm that produces a disparity map from the input of two stereo images. The code looks like this:
import numpy as np
import cv2
# Reading both the images
a = cv2.imread('left_Infrared_Infrared.png',0) # left image... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to select records by condition in postgresql , and from this set select records with the same value of some field? There is a table with million records.
like so
select c.id, c.mobile_phone, c.last_name, c.email
from user c
group by c.id, c.mobile_phone, c.last_name, c.email
HAVING count(*) > 1;
takes minutes.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I use MVC_post_processor_3 on an external .obj file? Basically, I want to use MVC_post_processor_3 on a 3D object I parameterized using my own code.
I checked documentations but didn't really find any example/demo of post processor. I'm unable to understand the parameters to the function properly. I tried to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error: -4904. Unable to install react-router-dom module in my react website I'm unable to install the react-router-dom module in a react website. Till now, the only module I've installed is the react-icons. I'm receiving the following error:
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75573865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Resolution problem in C# Winform application The screen is very large I have developed my winform application Now am stuck up on PCs with a lower resolution The screen is very large and does not show most of the components
I think the probleme in DPi
My code
AutoScaleMode = None
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75573867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-9"
} |
Q: join audioOnly and videoOnly files download using youtube_explode_dart join audioOnly and videoOnly files download using youtube_explode_dart.
I want to join Highest quality audio with highest quality video downloaded using youtube_explode_dart
in flutter.
joint the audio video stream
final video = manifest.muxed.w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to read certain rows and columns from multiple Excel files using Pandas - Python I have multiple excel files with each having one sheet. I have to extract the B column to J Column, rows should start from the 30th row to the 36th row from every excel file.
The name of the file is having date value, beside each fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Speed up updating pixel values of an image on an Android app written by Dart/Flutter My context
I am try to make an Android App written by Dart/Flutter in order to do edit an image as follow: My app does read an image from the phone's gallery, and then the image is shown in format of bitmap and is saved in a chain o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573878",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to add a large number of videos to your app without significantly increasing its size with android studio So i'm working on an app in android studio that involves uploading large amounts of data and specifically videos to the app. And by large i mean thousands of short 30 seconds videos where each video wouldn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to decrease an image size when loading the page in Django backed web application? My classic Django application is a simple blog post website showing the posted images line on a start page.
I allow users to upload images to their posts up to 100 Mb to have the ability to download the image if someone likes it.
B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I created custom textfield anf anf used it with react-hook-form and the field loses focus after typing each character This is my custom textfield component CustomTextField.tsx
import React from "react";
import { TextField, TextFieldProps } from "@mui/material";
import { styled } from "@mui/material/styles";
type IC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WhiteLabel error page when making GET request I get WhiteLabel error page with status 404 instead of String "All Movies!"
I am making GET request on http://localhost:8080/api/v1/movies
My controller
package pl.krywion.movies.app;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573888",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to access OAuth2-secured Spring cloud config server when using spring.config.import? I have a Spring Cloud configuration server that is secured with OAuth2 and use the old-style (pre-Spring 2.4) bootstrap approach to bind to the config server. In order to make it use an OAuth2RestTemplate I implemented a custom ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Apache "header ALWAYS set" not returning Access-Control-Allow-Origin * header on 404 In my (localhost, xammp) Apache httpd.cfg file I have Header always set Access-Control-Allow-Origin "*". This works as expected when I HEAD or GET an existing resource, read, the Access-Control-Allow-Origin "*" header is returned to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: React Native: How do I generate a box after user input with the text from user input? How do I generate a box after user input with the text from user input (selected, quantity, metric, day, month, year)?
I was also hoping to display and generate this box on another page in the Navigation stack but I am assuming I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Troubleshooting "fork/exec /usr/bin/ssh: operation not permitted" when running a Docker command within a docker container on AWS Lambda I have a Docker image that I use as a build server to build a Docker image for my web application.
Running Docker inside Docker is not trivial because most PAAS won't allow privileg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unexpected results using pandas .loc - trying to concatenate 2 columns based on a condition I have a df where I am trying to merge 2 columns based on a condition.
Create df
df = em_df[['Redcap_Case_num', 'EV_EM', 'COMP_EM', 'EV_RND', 'COMP_EM_RND'] ].head(3)
df.to_clipboard(excel = False, sep = ', ')
#Add EMFREAS ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: migrate dataType and paramType got Springdoc I have this SpringFox api description param:
@ApiImplicitParam(value = "token", required = true, dataType = "string",
paramType = "header")
I migrated it to SpringDoc using:
@Parameter(value = "token", required = true, dataType = "string",
paramType = "header... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How could you encrypt random numbers and sell securely them via an API (randomness-as-a-service) I recently got nerd-sniped by the question of how you could encrypt truly-random numbers (as opposed to pseudo-random numbers).
Assuming Alice is generating the random numbers, and wants to send them securely to Bob, how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: xampp localhost not sending email I'm trying to send mail from my localhost xampp and I have configured the php.ini and sendmail.ini file but I'm getting this error
Socket Error # 11001<EOL>Host not found
I have configured the php.ini [main function]
SMTP=smtp.gmail.com
smtp_port=587
sendmail_from = my-email@gmail.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: res.setHeader does not work in express.js I am working on express v4.18.2 I use the jsonwebtoken library, I am trying to perform a login process in one of my middlewares, if successful, perform a redirection and set an "authorization" type header with the bearer token, in the example I use setHeader and req.headers.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to represent polyhedron in voxel grid differentiably I am looking for a differentiable algorithm that would:
given set of points create a consistent polyhedron with those points as vertices - so for example polyhedron with maximal volume or any other consistent rule will give always the same polyhedron given the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to load Virtual Hard Drive before accessing the files within it When trying to copy a folder from a virtual directory to my hard drive using:
File source = new File("Location of Files in Z Drive);
FileUtils.copyDirectory(source, myDrive, filter);
Occasionally, I am thrown an error that the folder in the Virtual... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: ADF Pipeline Copy data "BadRequest" error - SQL to Parquet using expression builder for Mapping I get a very non-explanatory error running this pipeline:
{
"code": "BadRequest",
"message": null,
"target": "pipeline//runid/xxx",
"details": null,
"error": null
}
Environment: Azure Synapse Analytics (ADF v2)
Activity: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I need help on a findPath algorithm on TypeScript I need to answer an exercise which ask to code a findPath function in TypeScript.
This is guidelines :
Write a function called findPath which return path size to exit of a given cave in binary matrix
Entry coordinates (begin) and exit coordinates (end) and cave map (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you plot the outside of a curved line with a given thickness in JavaScript? I'm trying to create a line with a given thickness inside another line of a given thickness. For example,
<svg viewBox="0 0 100 100">
<path
stroke-width="4" stroke="black"
d="M 10,30 A 20,20 0,0,1 50,30 A 20,20 0,0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Load data from CSV to AGE Graph Vertices I am facing this error while trying to load data from cities.csv file:
test=# SELECT load_labels_from_file('community_test',
'City',
'/home/muneeb/cities.csv');
ERROR: label_id must be 1 .. 65535
test=#
How can I sol... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573934",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I can't add any classes to my next.js 13 component which is rendering sanity data within a portableText element I am trying to add styles to my elements. I've tried every method I can find online, including creating a custom component and passing it to the PortableText element, adding the component directly to the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to pass a prop to the main component in dioxus? I recently started writing UIs in dioxus and have a big struct that is passed to different components. I do not have full control over that struct as it is from a third-party library. This struct cannot cannot be const and can therefore not be global. It... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: org.springframework.web.servlet.DispatcherServlet.noHandlerFound No mapping for GET /Electronics/css/OutStyle.css my page is running but my css (created by me but bootstrap css is working)file not work in jsp page....
org.springframework.web.servlet.DispatcherServlet.noHandlerFound No mapping for GET /Electronics/cs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Fix "No primary or single unique constructor found for interface javax.servlet.http.HttpServletResponse" in Spring Boot application I want to build a Register and login module for my application and ran into the error in the title.
My login.html
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to draw multiple circle inside each other using canvas javascript I need to draw multiple circle inside each other like on the image below and I am puzzled on how to do it.
Please help!!!!
This is what I have so far:
<script type="text/javascript">
function drawRedCircle() {
var canvas = document.getElementBy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573949",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copy range of cells and charts from different tabs and paste into powerpoint I have a macro where I wanted to use referenced cells for the name of the tab and the range and chart name and telling it to paste into specific slide numbers. I keep getting errors because I'm not familiar with VBA and I've been trying to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Horizontal Naviation Bar with customized h1 text All I want is to put the icon in the left and let it be horizontally aligned with the title.
Here is the CodePen: https://codepen.io/mrlima/pen/WNgoGew
I'm really new to front-end coding, I'm much better with Javascript Algorthims, please, be patient with me because E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't enable remote in child window Can't enable remote in child window, throws @electron/remote is disabled for this WebContents error. Call require("@electron/remote/main").enable(webContents) to enable it.
Code:
main.js:
const {app, BrowserWindow, ipcMain} = require('electron')
const window = require("electron").... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Workarounds for virtual\non-virtual overloads A question that bothers my intern (and in return he bothers me, by inheritance).
A classic pitfall with overloading is an attempt to overload a virtual function with non-virtual counterpart. It's kind of counter-intuitive that non-virtual variant stops being visible in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change the time format when providing an initial value in Django? I made a form in Django and provided an initial value to the time field when rendering the form, the format is HH:MM:SS but if I do not provide any initial value the format is HH:MM. I want to specify an initial value and want the format to be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: State of timeEdit not updated in PyQt5 I have written a python code using the PyQt5 library to give a graphic to the application and would like the TimeEdit to be disabled/enabled when a CheckBox is clicked. That is, I would like when the CheckBox is checked TimeEdit to be enabled and when the CheckBox is not checke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Ask for authentication when calling a DBus method on a non-root, other user's daemon I have a little DBus-activated daemon that registers itself in the system bus but runs as the GDM user (the idea is to allow to set dconf settings and other things from a normal user), and it works fine. The point is that I want to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573959",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change Location of Licence Key Manager Keys on Thank You Page in Woocommerce I am using the "Licence Manager for WooCommerce" Plugin (https://wordpress.org/plugins/license-manager-for-woocommerce/) and trying to change the location of the ‘Your Licence Keys’ element on the thank you page.
So the current structure of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: c++ | Creating transparent parent window without using LWA_COLORKEY or effecting child windows I am trying to have my parent window transparent and my child window not effected by this transparency.
I did use LWA_alpha but that changed the transparency of the child window aswell which I do not want.
LWA_colorkey was... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Write a Java program to store 5 names in a text file . Read the file and display the names on screen. (Java) Write a program to store 5 names in a text file . Read the file and display the names on screen.
Use FileHandling (Buffered Reader/Writer)
Using Java
Can someone help me?
I tried making a program it did not w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Testing data types of response body I try to validate this response data
{
"id": "1",
"name": "Rahul",
"location": "noida",
"phone": "1234567890",
"courses": [
"java",
"selenium"
]
}
And for test I run this-
const jsonData=pm.response.json();
pm.test("Test Data Type of the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: ManyToMany dosnt returns Collection of entity My Entity "Caixinha" has a ManyToMany relationship with the Entity "Usuario", but when I search my "Caixinha", the Collection returns filled with a PersistenceBag. How do I get it to return a Collection of Usuario?
ENTITY -> "Caixinha"
@Data
@Entity
@Table(name = "caixin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Flutter: Variable updated in setState, not updating inside the future function in Future Builder. I am trying to generate api url dynamically I have searched on Stackoverflow and a lot on the internet, but haven't been able to find an answer to this.
My goal: I am trying to generate an API endpoint dynamically using... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I pass variable to ansible blockinfile module? I'm getting error after passing the variable to the blockinfile ansible module. I want to write the output result to a text file. It did work without any issue before implementing the variable option. Is there any issue if I'm defining and calling them in playbo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: reason behind spring.json.trusted.packages Can someone please explain the design decision behind the "spring.json.trusted.packages" for spring-kafka deserializer?
I have no issues in Serializing and deserialing some DTOs in spring mvc. I do not have to add this. but why does spring-kafka need this?
A: Because curre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Assign delayed objects of variable shape and position to a Dask array I would like to assign multiple small Dask arrays into parts of one large Dask array. My problem is similar to the one addressed in this post, expect my small arrays have a variable shape. My problem is also similar to the one addressed in this po... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573984",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to do spatial autocorrelation for 2 raster data of different spatial resolution How to create spatial autocorrelation map showing the relation between 2 raster data with different spatial resolution?
I am encountering neighborhood list error after resampling and giving moran test command.
As I am new to R langua... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573987",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i solve ValueError: cannot reshape array of size 108 into shape (5)? in microsoft recommender
given the following code
EPOCHS = 10
BATCH_SIZE = 400
train_num_ngs = 4 # number of negative instances with a positive instance for training
valid_num_ngs = 4 # number of negative instances with a positive instance... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Random letters showing in ppowershell script error making it so hard to find where the error stems from I keep receiving random letters powershell script error.
I made a changing mouse scheme script based on system os theme. I keep receiving random letters as shown in the image below when running the powershell scri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Get a range from the sheet and display the cell values within the select options I am creating a modal in Google Sheets to add tasks to the worksheet.
The modal includes several form tags of type select.
I would like the values of the cells of a specific range of my worksheet to be displayed as select options in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How can I use variables as the pattern and the replacement of replaceAll() method? I have a form, and once the submit button is clicked, an object is generated. Each key-value pair is built following this pattern: inputId: inputValue, so the object looks like this:
let inputsObj = {
templateList: 'blank',
agen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to fix unsaved transient instance during unit testing I want to write some tests to find an object by some given attibute; but before that i want to make use of the setUp method to initialize the object i want to test for. but this object is also dependent on another object which i want to create as a mock, but ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75573999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: find maximum in arbitrary expression tree I have a very simple language that gets compiled to an Expression tree, and then evaluated. Users can define mathematical operations, use variables and control flow. Moreover, from the script it's also possible to read an external input, which is fixed for a given evaluation... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: concatenate within a macro I am trying to concatenate within a macro like this
#include <cstdio>
#include <iostream>
#define BOILERPLATE(STAGE, REQ_COMP_FUNC) \
REQ_COMP_FUNC; \
STAGE;
#define REGIS(...) \
void regi() \
{ \
APPLY_TO_VARIADIC_PAIRS_IMPL(BOILERPLATE, VA_NARGS(__VA_ARGS__), _... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I display an image file with tkinter? I want to do a Tkinter-based python program which would allow me to open an image file and to display it in a Label widget. But when I run the program and I click the button to call the OpenFile() function, it does not display the image. How can I display the image in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can PHP curl return the transferred data if it disconnects after transferring half of the data? My code looks like this:
$ch = curl_init();
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, "http://212.183.159.230/1GB.zip");
$data = curl_exec($ch);
When it disconnects in the midd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Getting error "Module not found: Can't resolve" but the file if correct linked I'm getting a Server Error that doesn't make sense to me. I have the same export/import setup on another project with the same Typescript version (^4.9.5) but it won't work on another project even after restarting server.
The file is corr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django Admin display Count of related field I am building a Django project for a workshop (car/motorcycle).
Have a customer class in models and a service class. In the admin I want to display the number of services per customer, I am taught to use the get_queryset and define a variable for that count, but it doesn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: create a table in R language I'm new to the R language, is there any help in creating this table?complex table
I tried to build the table using a data frame and I don't know how to start
dt<-data.frame()
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75574009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling error on a vue component render function I have a FormBuilder Vue component that uses the h render function; this component resolves the modelValue programmatically with a method resolveModel(). This method throws an error if the modelValue is not found in the Form object.
// Component Setup Method
/**
* ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I connect Woocommerce WordPress to ninox database I have a Ninox database contains products.
I need to connect my Ninox database to WordPress website using woocommerce api.
Hello everybody.
I have a Ninox database contains products.
I need to manage the products /show, create, update,../ in my Ninox database... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Add options in select with multiple attribute What is the best way to add and remove options in select element with multiple attribute , using jquery
I tried to add by the same way of adding in select without multiple attribute, but it is not working, the options added , but not appear in the select ul
A: There are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In laravel 9 Can we pass single id of post with auth and on blade can we use that post id for two form submission? I have a multiple post on frontend page , like is 1,2...7,8,9 and so on, and clicking on any id that should ask first for auth that i have done, now i have two form that are submitted for different colu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How to remove the scrolling bar, the writing cursor and fit the screen resolution? I'm coding a game on c++. There, I want to remove the bar that is used to scroll down. And I want to remove the window too. I want full screen console. The player will not be able to scroll there. And will not be able to use other app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: logits and label must have the same shape) I am working on my first neural network, and i'm stuck on one error. Here is the code:
import pandas as pd
from sklearn.model_selection import train_test_split
df = pd.read_csv('iris.csv')
X = pd.get_dummies(df.drop(['variety'], axis=1))
y = df['variety'].apply(lambda x: 0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574020",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: package org.apache.avro.specific does not exist when i run spark program i am getting this error : java: package org.apache.avro.specific does not exist
I tried multiple version of avro but none of them work
mvn dependency:tree | grep avro
[INFO] +- org.apache.spark:spark-avro_2.12:jar:3.1.2:compile
[INFO] +- org.ap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiplying each adjacent element of 2 lists, the user inputs 1 list of the lists I found some code that works when I enter the lists manually. But when I enter a list through the console, it doesn't work quite like i'd like it to work.
# Initializing two lists
test_list1 = [1, 3, 4, 6, 8]
test_list2=[]
for i in ra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to rename identical values in a column within R? Say a data set:
a <- c(101,101,102,102,103,103)
b <- c("M","M","P","P","M","M")
dt <- as.data.frame(cbind(a,b))
dt
a b
1 101 M
2 101 M
3 102 P
4 102 P
5 103 M
6 103 M
Column a is subject_ID, and column b is subject_name. I want to uniquely rename subject ID ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: javascript selector problem with tilde how to make it a vairable I would like to know if it's possible et get this element in Javascript :
.side-menu:checked ~ nav
I've a burger menu using this selector to open it on mobile version, i try to close that menu when a link of it is clicked
my code :
<header class="head... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Answer Set programming implementation I am planning to do Masters' thesis related to answer set programming. I have spending time learning the theory about this problem solving concept.
But now most importantly I want to know how can I implement these theoretical concepts using mainstream programming language? that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Two Dart DateTime instances end up with different timezones in Firestore Consider these two DateTime instances in Dart (with Flutter).
DateTime birthdate = DateTime(
int.parse(birthdateList[2]), // 1995
int.parse(birthdateList[0]), // 05
int.parse(birthdateList[1]), // 17
);
DateTime now = DateTime.now(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to effectively debug and test a Logger class library that logs unhandled exceptions to disk? Issue
How can I debug and test a Logger class library that logs unhandled exceptions to disk?
I have created a Logger class library with a constructor that registers an event handler for unhandled exceptions. The event h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to enforce strict typing when setting a variable? I would like to ensure that the data I read from a YAML file is aligned with the type of the variable it goes into:
type Http = {
name: string
api: string
resp: number
status: string
statusEffective: string
}
export const monitorHttp = () => {
const ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Having trouble figuring out params, arguments, passing variables to functions in Python I understand this conceptually, but I can't seem to wrap my head around the syntax. Here is specifically what I'm working on - getting an average rating, from 5 inputs, and displaying an amount of stars as it relates to the avera... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to assign an image value from a stream from a text file I'm trying to implement a feature in a project where the user can upload their own image files to be used as an avatar, I get the stream from the image as jpg format and save it in a text file on the same line with the user's username where it's retrieved b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I delete all items driving a List view in SwiftUI even if a user is editing an item? I have the following simple setup for a macOS SwiftUI desktopapp. When I try to delete all items by emptying the items array it works fine unless the user has placed the cursor in one of the TextField items.
In those cases I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cytoscape.js not loading graph in Django I am trying to show graph in the HTML template of my Django application, I first tried with the actual data that I am working with (I am using the Neomodel to fetch the data from Neo4J and then transforming it to right JSON for cytoscape), but it did not work with it. After t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574046",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I add an object to an array mongoose schema I have a mongoose schema that looks like this:
const mongoose = require('mongoose');
const reactionSchema = mongoose.Schema({
guildId: String,
reactionRoles: Array
});
module.exports = mongoose.model('reaction', reactionSchema);
I want to be able to add o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574051",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: javascript keyboard events colliding I have an SVG 'app' that uses many key commands for control. The problem I have is that with all the various techniques I have researched and tried, I have not been able to find the correct way to isolate key combos without them colliding. For example, if I trap for Y and Ctrl Y,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to traverse from Use to the parent Instruction? Use::getUser() allows to find an immediate parent, but it can be a ConstantExpr. There is Value::uses() method, but it lists all uses, while I'd like to follow a specific path that led to this particular Use. I don't see any helpful methods in User either.
Do I hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75574055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |