text string | meta dict |
|---|---|
Q: Sorting two lists simultaneously in python I have two lists, a and b, and I want to sort them simultaneously (by a), but if two positions in list a are equal, then the sort looks up b. Is there a fast way of doing this, without creating extra temporary lists?
This does the trick:
a = [1,2,1,3]
b = [5,0,0,1]
z = sort... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there a way to insert a tag into an existing Golang struct? type ECG struct {
PatientName string
}
func (ecg *ECG) AttachXMLTag(s string) {
}
So the struct would look like this after using it's AttachXMLTag method:
type ECG struct {
PatientName string xml:"testingtag"
}
I need this to happen dur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I define entityManagerFactory bean in my configuration I am working on a spring boot project for a simple employee management system using JPA. This is my first project in spring. I am getting an error with this entityManagerFactory bean as described in the title. I am trying to understand where to define the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: laravel post request doesn't read fields I have a function in which I tried to pass data by post request to my API.
$responseD = Http::withHeaders([
'Accept' => 'application/vnd.api+json',
'Content-Type' => 'application/vnd.api+json',
'Authorization' => 'Bearer ' . session... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do I edit complex Json data with Python? I have a json production as below. Inside this json object, there is a json array with a unit name. There is more than one object in this array, but the number is not fixed. The keys and values of the first Json object in the Json Array named unit are known. These value... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google API driveactivity.query gives insufficient scope error I'm trying to use the node js snippet listed at https://developers.google.com/drive/activity/v2/quickstart/nodejs to query the drive for changes.
const drive = google.drive("v2");
console.log("oauth2Client is ", oauth2Client);
const service = goog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: List data in DropdownButtonFormField I am unable to list data in a DropdownButtonFormField. My list is of type ScheduleModel and the DropdownButtonFormField needs a String type, I don't know how to do this conversion. The error I get is "Bad state: no element".
product_screen.dart
GetBuilder<ProductController>(build... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does WinHTTPRequest responseText return a different value to MsgBox than Debug.Print dynamic web pages I encountered something rather curious today while preparing to write a pure vba simple javascript engine. Pulling the document from http, I'd expect to get what it outputs in MsgBox. The plaintext code of the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a stacked-bar plot inclined 45 degrees as per W.E.B. DuBois' style in R using ggforce among others? Given the following data, I have tried different approaches in R with no success. Can someone Help?
structure(list(Category = c("Government", "Society", "Persons",
"Property", "Miscellaneous"), Percent ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569075",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PLEASE help answering this "while loop" question Can't figure out how to fix this code. What needs to go in the blank spaces? enter image description here
def sum_divisors(number):
number = 1
divisor = 1
if number < 1:
return 0
while ____:
if number > 1 **and number != 0 **
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-8"
} |
Q: Why i Cant persist the partido Entity? i have this Entity in mi JAVA EE project.
/*To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor. */ package modelo.entidades;
import java.io.Serializable; ... | {
"language": "es",
"url": "https://stackoverflow.com/questions/75569078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Is there a way to disallow the default constructor of a specific class with EsLint? For example:
I have a class "Dog" in typescript. I want an error everytime there is an occurence of the default constructor "new Dog()" in the code.
Is this possible with EsLint and how can I do it?
Thanks in advance.
I experimented ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: digitally signing pdf embedded on web page I have a pdf document embedded on my razor page. I want the users to sign the document digitally. Normally, when I open the pdf document using adobe, I can see a menu bar saying "sign document by typing or drawing signature", something like this:
I am not seeing anything l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wordpress : Too Many Images Versions I have a small problem which is probably at noob level.
I haven't noticed how extremely one of my wordpress sites is cluttering up my webserver.
It's an eCommerce site and for every image uploaded. It creates 28 versions of them. So with over 800 items there is a considerable num... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python PySide 6 QLineEdit, PushButtons problems I am new in PySide. Could someone tell me what is wrong with this code beacuse kolejny_btn cant clear the QLineEdit named osoby
I dont know what to do I was seacrhing everywhere and I couldnt found this problem
Here is the code:
from PySide6.QtWidgets import QApplicati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WARNING: tensorflow error -train-single-image # =========加载fashion_mist数据集===================
import tensorflow as tf
from tensorflow import keras
fashion_mist = keras.datasets.fashion_mnist
(train_images, train_labels), (test_images,test_labels) = fashion_mist.load_data()
# 上方的变量一次对应 训练的图片, 训练的标签, 测试的图片, 测试的标签
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569087",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What does await function - processor usage What is happening with this function while waiting, where is it in the task list. Is it in the job queue?
How is it triggered does it get queued or already there or otherwise?
I know how it works, this is a test example. I mean from the technical side how this waiting loop ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Android - Accessibility system permission request does not work on XIAOMI I'm testing accessibility feature for my android app. The idea is to request permission by redirecting the user to the accessibility screen config. After the permission is enabled by the user, the app closes the accessibility permission screen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best approach for using std::ranges/std::views with std::expected in C++23? Let me describe a scenario, first we have a function which returns us some sort of data which we can't be sure about the validity of, i.e.
auto random_predicate() -> bool
{
int v = uniform_dist(e1); // uniform distribution 1 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Aframe and Depthkit RGBD video There is an aframe component about depthkit, but it seems that it has not been maintained for a long time. I tried it and it doesn’t work. Does anyone know how to play depthkit’s RGBD video in aframe?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75569099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R markdown - is not recognized as an internal or external command, operable program or batch file I was in the middle of making an R markdown document when all my code chunks started returning the same error "is not recognized as an internal or external command, operable program or batch file." What's going on here?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why NextJS does not show images when ı add a photo in public folder after "npm run build"? I am developing a project using next js. In the project I have developed, I use an API to copy images under public/images.
I noticed something like this. After compiling the project with the npm run build, the copying process ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R error message when forecasting stl no applicable method This code runs fine.
library(fpp2)
fit <- stl(elecequip,
t.window = 13,
s.window = "periodic",
robust = TRUE)
fit %>% seasadj() %>% naive() %>%
autoplot() +
guides(colour = guide_legend(title = "Forecast")) +
labs(leve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to correctly write a SQL statement that change the data type from varchar to date and set the new value of this field using the original value? I am not so into database and I have the following problem.
I am using PostgreSQL and I have the following situation: I have a table named striep containing a column per... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python GCP Cloud function connecting to Cloud SQL Error: "ModuleNotFoundError: No module named 'google.cloud.sql'" I am creating a cloud function to retrieve data from a source and load into my gcp mysql instance. It is configured on the same VPC network and I gave the proper IAM roles to the Cloud SQL instance as w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why saving a file to Android "External Storage" sometimes saves it to the "Internal Storage", sometimes to the "SD Card", and sometimes not at all? I am quite confused with the concept of External Storage. I have a following code underneath where I wanted to save my bitmap drawing into the Internal Storage.
File... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to save user input in a dropdown I am creating a chrome extension which includes a watchlist. Goal is to be able to add the values on the input and get it saved inside of the watchlist instead of me having to change the html code and add them as options.
<div>
<label for="crypto-input"></label>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: importing firebase_admin from firestore in kivy fails to work when deploying with buildozer I am attempting to compile an apk using buildozer but having some issues, my code works untill I attempt to import firestore from firebase admin using the following code
from firebase_admin import firestore
As soon as I unc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Exception Value : no such table: users_customuser I am working on a group django project, and I created a 'customuser' model in an app called 'users'. I have created the model and changed everywhere that referenced django's base user model to reference my user model.
In our app, we want the CustomUser to hold a list... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CriteriaBuilder left join unrelated entities This is my database schema:
*
*The title and content columns have a 1 to 1 relationship with the translations_keys
*There are many translations_values for each translations_keys
I'm trying to read posts with related fields translated according to the requested languag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569127",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trying to make a sortable column in Wordpress to report the number of words in a post I am trying to make a sortable column in Wordpress to report the number of words in a post. The code successfully. Can you tell me what is wrong with this code?
add_filter('manage_posts_columns', 'add_my_column');
function add_my_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Find elements that are found in every person order Having such table, for every ID I need to write SQL query to find those materials that are in every order for specific ID
ID
ORDER_ID
MATERIAL
'ID1'
12
'wood'
'ID1'
12
'gold'
'ID1'
12
obsidian'
'ID1'
68
'wood'
'ID1'
68
'gold'
'ID1'
68
'obsidian'
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to use railway PostgreSQL Database with Django It is my first time working with the railway PostgreSQL database, I used postgres connection URL and my connection is working fine but I can't find the database table I created in models.py
Models.py
from django.db import models
# Create your models here.
class To... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: react-cookies usage with react hooks I'm using react-cookies for cookie management but keep getting the error
"react.development.js:209 Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
*
*You might have mismatching ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Web scraping a dynamic content with Android Simple story here: I've written a Java app that reads dynamic content from a website using Selenium, parses it and saves it to a remote database. For convenience, I would prefer doing this from an Android device. AFAIK I can't really run Selenium on Android, so what are my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to prevent the flash of conditional rendering? I have a register/login page where i check for the user id in the redux state, after a successful login or register , the NotFound component flashes before redirecting to the home page.
login page
const Login = () => {
const router = useRouter()
const dispat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Wordpress issues with custom filters Wordpress issues with Advanced Custom Fields and filtering products.
Hi guys, could someone help me with a problem I'm having in Wordpress with filters.
I need to create a horizontal filter with the ability to add custom fields to it.
I have downloaded the Advanced Custom Fields ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to select only tags which does not have a specific tag inside of it I want to be able to use querySelectorAll to query all i elements which does not have a font tag inside of it. I have tried the following selector, but it is not working:
document.querySelectorAll('i > *:not(font)')
<i>
<font color="00800... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Jest unable to mock an api call successfully Unable to mock api call successfuly in Jest test
networkHelper,js
import axios from 'axios';
export const getOptions = (url, userKeys) => axios.get(`${url}value=${userKeys}`)
.then((res) => res);
Test in jest is as follows:
options.test.js
const mockData = [
{ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Background Clip property issue on screen resizing I am creating a little site with the help of HTML/CSS. I am using this code to add linear gradient to my text:
background-image: linear-gradient(-86deg, #F11267, #FF417C);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
Bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create an instance of a class that have a constructor with a service injected and configured in the main in .net 7.0 with activator I will try to be very clear.
I am writing a Queue Azure Function in .net7.
I have some Managers that implements an interface. I know which manager instanciate only when a new mes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569151",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do Girvan-Newman algorithm always give at least two components? I am playing community detection algorithms, which play roles like clustering nodes in graphs.
My question is, whether the community algorithm (in particular, Girvan-Newman algorithm) always give two components?
For example, if the graph is like
It mak... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error restoring strapi postgresql database to docker container working on a strapi application locally, with postgresql, everything is good.
deploying my app to a remote server using docker-compose with several images:
my strapi app, postgres, and pgAdmin.
the deployment works, but my db is empty. I want the data th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to overwrite previously published artifacts for publishToMavenLocal task? I have an Android app which I want to publish to the mavenLocal repo:
afterEvaluate {
publishing {
publications {
release(MavenPublication) {
groupId 'org.mylib'
artifactId 'mylib'
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding longest series with data bigger than 0, date of start and end of that series I am looking for formulas in Excel which are:
*
*count of longest series of numbers bigger than 0
*date of the start of that series
*date of the end of that series
Purpose - looking for longest series of snow depth bigger than ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to get the list of applications in the Application Switcher in the same order using osascript? I'm trying to use osascript to get the list of applications that appear in the application switcher (forgive me if that's not the correct name, but what appears when you run cmd + tab)
osascript -e 'tell app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sharing a database reference between dll functions written in Rust I'm working on an API written in rust, the API connects to a MySql database and does some basic read/writes to it.To make it as simple as possible, this is approximately what the two relevant rust functions do
#[no_mangle]
pub unsafe extern "C" fn In... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jquery post not sending data Here is the frontend for my status update button:
function n() {
if($("#txtStatusMessage")
.prop("disabled")) return !1;
var t = $("#HomeContainer").data("update-status-url");
var i = document.querySelector('#txtStatusMessage').value;
var n = $("#statusForm");
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Trouble targeting element I am having trouble targeting an element in a nested <ul>.
In the following block, I am trying to target the <a> that comes after the parent <li>
<ul class="wc-block-product-categories-list wc-block-product-categories-list--depth-0">
<li class="wc-block-product-categories-list-item">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I receive three different warnings in scipy integration in python I have the code structure below. I would like to get some numerical results here.
import numpy as np
import scipy
from scipy import integrate
alpha = .99
t = np.linspace(0, .85, 5)
s = np.empty_like(t)
f = np.power(t - s, -alpha)
Int = integrate.simp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change ident casing in macro? In my ecs, I successefuly implemented a rust macro that takes any number of components, and create an iterator on each components tuple of the given components that are on the same entity.
Now, in the macro, I am creating a struct with fields that are named after the given components. A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is stopping Mikros from working like it should? I'm trying to test Mikros analytics on a new Unity project but I can't seem to get it to work. What am I missing.
I’ve downloaded the files multiple times, imported them directly to the project, downloaded them through the package manager, opened the Unity launch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Bot doesn't resond on server using prefix command I'm using bot with cogs and I have a problem where bot doesn't answer on prefix commands but only on any server, DMs work fine and the bot is asnwering there as normal, also mentions and slash commands works fine as needed
I'm using config.json to connect prefix to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: kaggle dataset download 403 Forbidden Tried to download a kaggle dataset and got 403 Forbidden.
$ kaggle datasets download -d abdz82/yolov1
403 - Forbidden
A: This is a novice mistake but others may have the same issue as it is a bit confusing.
I thought the page that have Data tab is the page where I could downl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I improve the API of a pure function that returns state in Haskell? I am attempting to write a function which given some function f memoizes f in such a way that after defining g = memoize f followed by g x all subsequent invocations of g with the argument x simply returns the cached result.
However, I am st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to set grafana to retrieve data from log files stored in a windows server I created on my local pc, a Grafana container via Docker, with the help of docker-compose example from the Grafana official site:
version: "3"
networks:
loki:
services:
loki:
image: grafana/loki:2.7.0
ports:
- "3100:310... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Interactive completion/help generator and runtime for CLI programs? This may be one for the dinosaurs among us: Back in the early '90s I used a tool to generate interactive interfaces for custom CLI programs.
It started with preparing a man-page-like structured text input for each program that was processed to yield... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: React native android release build React native android release build not working on “classpath('com.android.tools.build:gradle:7.2.2')”.
If anyone has faced this issue and know a workaround for it. Please mention. Thanks in advance.
I updated my gradle version from 7.0.2 to 7.2.2 for stripe but the app stops workin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copy cells based on matching index numbers on excel? 1 Table to copy cells from
2 Table to paste cells on
The idea is to take the 2 cells in front of the one with index 3 in the first table and paste them in the second table where the indexes match. Since I have over 100 indexes and this process will likely be repea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Converting my triggers from SQL syntax to T-SQL syntax not working tables
I have two tables and I want to write 2 triggers. The first trigger will log the newly added PurchaseNum and the other one will call the ItemNum to minus PurchaseNum when there is insert on purchase table and both ItemID on two tables matches.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to get Mongodb collection data from a table in MySQL In Yii2, I try to get another field data (which inside a Mongo collection) from a table (DB activerecord) in MySQL table.
My summary table/model looks like this.
'merchant_id' => '123'
'report_date' => '2023-02-22'
'total_transaction' => 91
'total_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: не преобразовывается css файл I'm just learning to program and I have such a question, the css file is not converted to html , but it is in the page code (chrome) . clearing the history and cache did not help. thanks in advance for the answer, I don't know what to do anymore
tried clearing cache and history
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75569207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Incorporating a previously defined object into text block in LaTex file in R Studio I have a LaTex file in R where I have a code chunk that is calling a dataset and assigning the dimensions to an object. I want to be able to set the code to not evaluate so that I can put the variables into a text block that will sho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: azure ad b2c run user flow doesnt return token with claims on it I have configured a user flow to get the users email surname given name and city, and when I press Run User Flow and add the callback URL to be jwt.ms, I dont see the email and all of the above claims on the token. Why?
A: I checked needed claims when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access to XMLHttpRequest has been blocked by CORS policy when put controller in folder im beginner with laravel and react i'm trying to make request to controller it worked fine when puting controller direct in controller file but when i put studentController inside folder like
Api/studentController i get
Access to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the magic of async move {}? I am working with tokio and I spent whole day trying to create a vector of futures.
I always got into a fight with borrow checker until finally someone suggested to use async move {} trick.
I am failing to comprehend why this one works (unlike the naive approach).
Can somebody hel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculate cumulative distinct I have on the datebase a table containing:
*
*created_at
*order_id
*customer_id
I want to calculate the cumulative distinct number of customers per day.
I wrote this query
SELECT
created_at::date,
COUNT(DISTINCT customer_id) OVER (ORDER BY created_at::date) as cumulative_us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Check if a date is between any of N pairs of dates I have a table in Redshift consisting of ~ 5 Million rows. The Period Starts and Ends column are varchars that could have any number of pairs of dates, that together represent a date range, so the first entry in Period_Starts matches with the first entry in Period_E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: "How can I use R to extract only one channel from a multi-channel WAV file in order to enable soundecology to calculate indices?" I have a multi-channel WAV file with four channels, and I need to extract only one of the channels (let's say channel 1) in order to enable soundecology to calculate indices. How can I us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android studio Run window keeps disapearing at runtime My run window keeps disappearing during whenever I rebuild and restart my app in android studio. Yes, I am well aware, I can go to View > Tool Windows > Run or Alt + 4 to restore it, but is there a way to permanently pin it there, and keep it from disappearing e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting the name of individual examples in a .feature file There is a scenario that I want to run multiple times using a .feature file, so I am using scenario outline with examples as follows:
Scenario Outline: Successfully creating an account
When an account is created with the following information: "<username... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: the hash method in HashMap's trouble In HashMap, count the value of hash is by '(h = key.hashCode()) ^ (h >>> 16)'.
I thought count hash is adequate by the compute of 'key.hashCode()',
why still more higher 16 bit XOR lower 16 bit ?
static final int hash(Object key) {
int h;
return (key == null) ? 0 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: HTML table fetching data I have created a website using app script wherein I have a table that displays data from the spreadsheet. It's all good but when a new data is added on the sheet I need to refresh the whole page in order for the new data to appear on the website, also I'm seeing a pop-up notification or erro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to get columns from a for in loop in PLSQL? I am trying to grab the columns of a for in loop in PLSQL dynamically see example below:
FOR X IN (SELECT *
FROM TABLE (APEX_DATA_PARSER.PARSE(
p_content => APEX_WEB_SERVICE.MAKE_REST_REQUEST_B(p_url => v_url, p_ht... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to save duplicate files with sequential numbers after the file name? I am trying to write a little program to generate barcodes for my products. I have two variables, one for the barcode, and one for the quantity. When the program as the user how many barcodes they want to be saved, it just saves one file and ov... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Display Grouped Items in Wordpress I have searched everywhere for the code to display grouped items on a single-product.php. What im trying to do is display the child items on the parent grouped product. Anyone know what the snippet is to display those items?
A: If you set a product to grouped and save the children... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why am I not getting scroll-bars with MigLayout manager? I'm writing a desktop application.
The environment is following:
*
*Java SE 10
*Eclipse IDE
*Java Swing
*MigLayout
The source-code, the important parts.
textPane = new JTextPane();
textPane.setDoubleBuffered(true);
textPane.setLayout(new MigL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does tox cause coverage failures against mypy with Python 3.10.9 I am attempting to set up a continuous integration environment using mypy, pytest, flake8, pytest-cov, and black. My directory structure for this test project titled hello is the following.
hello
|_hello
| |___init__.py
| |_add.py
|_tests
| ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I change the value of a destructured object in React? I'm learning react by following a guide, but it's outdated. I want to change the value of 'weight' that is inside the person object, but whenever I toggle the onChange I get an error that says "person.setState is not a function."
const person = {
wei... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Manim LaTeX does not work due to dvi converting I am trying to create a math animation (manim) as a side project. But when I try to use LaTeX, it gives an error.
ValueError: latex error converting to dvi. See log output above or the log file: ...
I tried looking at other solutions, but none of them helped me. Here ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why System.getProperty("abc123") not Getting Picked Up on Windows? Works absolutely fine on AWS Elastic Beanstalk. But on Windows 10, the command;
System.getProperty("abc123");
Returns a null-value.
Local setup is NetBeans + Tomcat + Windows 10. Following guidelines from AWS, working when I deploy to AWS, but not w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't add a simple POST handler to an ASP.NET Core MVC web app I inherited an ASP.NET Core MVC web app that won't allow me to place a simple ASHX handler nor an ASPX page in the wwwroot folder. Yet in that wwwroot folder, I can place plain old HTML files and those work.
But when I try to access (or post to via Postm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to implements a multi module android application? I'm trying to develop an Android app with multi modules.
I have created my project, it was working fine until I try to create a module.
I have this:
{AppName}
|--> app (contains the main activity,...)
|--> {moduleName}
|----> ui (contains some UI stuff)
On IDE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot read properties of undefined (reading 'init'), ReactJS, gapi error I am using react-google-login to sign in to my react app with gapi-script and gapi.
The versions are:
"gapi": "^0.0.3",
"gapi-script": "^1.2.0",
"react-google-login": "^5.2.2",
The google login button is not rendering when I open the page, and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: why I still got duplicate messages in kafka after I set enable.idempotence = true I have a question on how to avoid sending duplicate messages to kafka server. I noticed that I was able to send the same message again and again and they do appear on the message system.
I tried setting the enable.idempotence to true... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change state of all togglebuttons on one kivy screen on button press? I've been teaching myself Kivy (and OOP) by working on an app to collect data in real time. It involves a couple screens, but I'm having trouble with my fourth screen, which dynamically populates a GridLayout based on the selections on the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Responsive, Custom CSS in WordPress I am working on an assignment for school, and don't have much coding experience. I had to design a website using Wordpress, and I'm using the 2019 theme. There is a page in the website called "Our Team", and the instructor wants it structured a certain way, and it must also be res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How can I use Firebase in a flutter application? I already took the APK of the application, but the part of the use of the API did not work. I investigated and I have to do a process to add firebase to my application. How can I do it step by step. I already read the documentation but it doesn't help me much.
The ide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Retrofit reciving API Data but List is empty I'm trying to receive user data from an API for a personal project. but whenever i try to access the List of Data it's empty.
I would try to call something like this(users.values.get(0).name) inside of the ViewModel and my app will keep crashing. giving me a null pointer ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make an image clickable in React I'm recreating my portfolio website using React. The following code snippet works on an html page but when I add it to my new App.js file it doesn't load the image. All files and folders exist in src on the react app.
<a
href="https://github.com/tylerking841"
target="_bl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does Gunicorn create too many processes? I have a Flask app that I deploy using Gunicorn. The app is dockerized and deployed through a docker-compose.yml file. The machine has 2 virtual CPU cores.
What I'm struggling with is understanding why does Gunicorn spawn multiple processes (3 processes as displayed by Li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\USER\\OneDrive\\Documents\\image.jpg' So i have sucessfully run this code on Jupyter Notebook but when i put it in Google Colaboratory it shown this error below. How do i fix this ? Many thanks in advance.
*
*This is the code:
from PIL import Imag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Error Starting R: can't open it on mac for the new version I just downloaded a new version of RStudio, but I cannot open it
screenshot of the problem:
I tried to reinstall RStudio and re-start my computer, but it did not work.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75569288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flatten and extract keywords from json field in csv I have a column named diff in my df, where the value is like a json string of the format:
{'info': {'version': {'from': '2.0.0', 'to': '2.3.4'}}, 'paths': {'modified': {'/dummy': {'operations': {'added': ['PUT']}}}}, 'endpoints': {'added': [{'method': 'PUT', 'path'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569289",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use a NodeJS npm package with React JS I am trying to use the websocket-stream npm package with React to stream mic audio through a websocket, but it is implemented using NodeJS core modules, so the documentation recommends using Browserify to package the module for browser use, but how would I do this? I am ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Reverse engineering local MS-RPC calls via rpcrt4.dll made by a Win32 app without IDA? I'm trying (as a reverse-engineering beginner) to reverse-engineer some local MS-RPC calls made by a Win32 app.
It's a vendor-supplied app for a laptop that controls some hardware configurations and I want my own app to impersonat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does this code print false in the last line fun main() {
val names: HashSet<Person> = HashSet()
val person = Person("AA", "BB")
names.add(person)
names.add(Person("FF", "JJ"))
names.add(Person("KOK", "UHGU"))
print(names)
print(person in names)
person.name = "TEST"
print(name... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Inline Images in Table Cells not Copying into New Document I have a program that copies the contents of various documents to a newly created document upon submission of a form. I am running into issues copying inline images embedded into tables.
When submitting the form, I get an email alert stating "Service unavail... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Excel cant delete images in cells which contain a link without removing link on each image individually I consider myself fairly adept with Excel, i use it rather extensively for work and can write what i would consider intermediate formulas and do some really complex conditional formatting, etc. This problem is odd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: R-shiny. Serialization size probem I have this app:
library(shiny)
library(gbm)
ui <- fluidPage(
actionButton("test","Serialize Object")
)
server <- function(input, output,session) {
observeEvent(input$test,{
mdl<-gbm(data=iris,formula=Sepal.Length~Petal.Length+Petal.Length+Petal.Width,distribution="gauss... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75569310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |