text string | meta dict |
|---|---|
Q: How to connect two Hibernate JPA transactions with Spring @Transactional? In a Spring/Hibernate application two transactions are performed within one method. After the first transaction has been executed and the entity has been saved, the database returns the corresponding id. This id is required for the second enti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make full-screen Modal inside Material Top Tabs Navigator I trying to make a full-screen modal (react-native-paper) inside Material Top Tabs Navigator (react-navigation). However, the modal's gray-ish background not covering topbar and header. May I know if it is possible to achieve that?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Regex - Identify sequence of N numbers or characters without more than X consecutive zeros I need to create a regex that allows me to identify a sequence of characters or numbers in a bigger string that also does not contain more than 3 consecutive zeros.
Let's suppose that I've got the following string:
*
*0d0649... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Can't seem to find gpus using multi_gpu_model (keras.utils) I tried to use multi_gpu_model from keras.utils to train a model on four different gpus. But I got this error message instead:
ValueError: To call multi_gpu_model with gpus=4, we expect the following devices to be available: ['/cpu:0', '/gpu:0', '/gpu:1', ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Read a latex file and convert to data frame I try to read a bib file and convert it into dataframe.
It works properly
library(bib2df)
path <- "C:/Users/User/Downloads/test.bib"
df <- bib2df(path)
but the column with authors has the first name. Maybe the problem has to do with punctuation. Is there any way to fix ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Count the number of elements of a vector that lie between a given range For example, I have the following elements.
vector<int> n = {10, 20, 50, 35, 40, 48, 100};
Then I wanted to count how many elements exist within the range of 1 to 30. So the answer will be 2 since 10 and 20 is within the 1 to 30 range.
I can do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Angular - getting values from Http get (backend) to APP_BASE_HREF I have an app where I have locale as prefix.
I did that by some crappy logic with recognizing the locale by pattern, replace that locale when needed etc. but this logic is really hard to maintain and to do any changes around that logic - its ultra eas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Response from subdomain is pending I set up a droplet on digital ocean with a domain name (https://example.com).
Going with browser to that url shows the index page.
Then I set up another droplet on digital ocean with a subdomain (https://sub.example.com).
In nginx for sub.example.com I put a proxy like this:
locati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to change some font colors of txt files opened by vim just like vim help txts I want edit txt file with color just like vim help files
open help txt with vim, but no color
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: StaggeredGridView cannot pass an instance - The getter 'viewModel' isn't defined Working with StaggeredGridView, I cannot pass an additional instance like the viewModel below to a Material class, this is the error I get:
Error: The getter 'viewModel' isn't defined for the class
'_MainPageState'.
Material Items(Ico... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Oracle Apex 22.21 - REST data source - multiple table inserts on one trigger This question is a follow up to another SO question.
I have an app with a REST Data Source taking in JSON responses from an API. There are two tables ORDERS and LINES. The ORDERS table contains a column LINES which is a JSON Document type.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Docker failed to start with http bad request iam not able to find what i did wrong please find and resolve for me.this the image .
and the full text error showed.
Docker.Core.HttpBadResponseException:
{"message":"1 error occurred:\n\t* starting WSL integration service: synchronising agents: starting added distros: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Resolving final object shapes for type aliases using the TypeScript compiler API I am building a utility function that would take a source file path as its input and produce a Record<string, Record<string, any>> result from exported JSX components (e.g. { MyComponent: { name: string; age?: number } }).
I'm using ts-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Docker: OCI runtime create failed: runc create failed: unable to start container process: exec: no such file or directory: unknown Why am I keeping getting this error?
I run on my computer
docker-compose -f docker-compose.local.yml build
docker-compose -f docker-compose.local.yml up
And then I get this error message... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Cannot connect to MongoDB database using dotenv and mongoose because parameter is not a string I'm trying to use dotenv and mongoose to connect my node.js code to my mongodb database, but keep getting the error: The 'uri' parameter to 'openUri()' must be a string, got "undefined". Make sure the first parameter to 'm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to implement CRUD operations for a many-to-many relationship model? Good afternoon, forum users. Tell me how to do CRUD operations for the many-to-many relationship model. I have two entities: Employees and Works. There is also an intermediate entity EmployeeWorks.
EmployeeService:
public interface IEmployeeSer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: appropriate way to change the data type of a date column from character to date-time in R I am new into the R world. So, I have a data frame that have two date columns that comprises of date and time, but stored as a character, so I want to use the difftime() function to make a column that could store in seconds the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I write a function that accepts a method with a receiver as parameter? I thought I understood how passing a method as an argument works, clearly I don't. I am trying to get the outer function to call a method on the receiver which I declared explicitly. Here is my code;
package main
type Foo struct {
}
func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 'numpy.float64' object does not support item assignment alignment sequences I am developing a program to calculate the sp scores of aligned sequences from the Percent Identity Matrix obtained on Clustal Omega.
I have problems with element casting in python. I'm trying to store the values read from a text file in an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linking filters in R Shiny I have a problem creating a simple application in R Shiny. I have several filters and I need the options in the filters to change depending on the selected values at others filters. I borrowed this example (https://stackoverflow.com/a/56206037) and modified it slightly. In the input datafr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Updating data from Realtime database using getStaticProps I have an application with markdown posts and comments taken from a Realtime Firebase database using getStaticProps.
At first, I get all of the paths:
export async function getStaticPaths() {
const files = readdirSync('posts')
const paths = files.map(fil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make an api call whenever the screen is focused I want to make an api call whenever that screen is focused, in mobile application I have an idea that we can use useFocuseffect () but in web how can I implement this please let me know in web how can I make an api call whenever that screen is focused
A: You ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I can no longer manage to evolve my python code hello I have a problem with my code I scrape personal files on a web page until everything works the first file is scraped and then for the others cloudflare is blocking it's been 2 months I'm blocking it help please !!!
from selenium import webdriver
from bs4 import B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-7"
} |
Q: MS Access table end dates to duplicate record I am attempting to create an employee database in MS Access but I have hit a stumbling block. We have annual pay reviews and promotions and I don’t want to have to manually update each record. Also, my headcount report needs to be date based so I need to be able to selec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Implementing Cellular Automata with Genetic Algorithm I am trying to implement evolutionary Cellular Automata with python. I know there exists PyGad module for genetic algorithms, but I am not sure whehter it would be possible to use it for CAs implementation.
I tried to adapt PyGads GA implementation to CA, so far ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ECS Tasks on Fargate 1.40 fails on health checks because it can't reach localhost So I've already looked up this issue and found a few solutions and they did get me a step closer but it's still not completely working.
So I'm setting up an ECS Service without a Load Balancer so I'm using the task health check, runnin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Apache Echart: set axis label interval when both axis are type 'value' I have a bar graph, with both xAxis and yAxis of type 'value'.
I'm trying to set the interval of the label/ticks to shows the label for each data on the xAxis.
Using axisLabel: { interval: 1 } doesn't work.
Using axisTick: { interval: 1 } doesn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In React js using panelon-react how to color change image 360 view ``Give me some suggestion, I have created a 360 view of an image in react using panelon-react, there are many objects inside the image, such as door, ac etc. So I have placed buttons above all these images, now if I click on that button the color pic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get header and body post request in node js I am a newbe in nodejs, I created a simple server with help of https://nodejs.org/en/docs/guides/getting-started-guide/ link then i want to get body and header of post request and work on it. how to i do?
const http = require('http');
const hostname = '127.0.0.1';
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: {% else %} condition is printing while opening the prediction page {% else %} condition is printing while opening the prediction page
Whenever I open the prediction page it prints the {% else %) condition even without giving input values. It everytime prints the {% else %} condition while refreshing the page.
<div c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Redux toolkit Could not find react-redux context value - React Native I am this weird issue with React-native app, I am creating a React-native project and using Redux-toolkit for state management. Somehow it's keep giving me this error.
Error: could not find react-redux context value; please ensure the component i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Fixed in HTML failing to send long text into mysql with PHP I have code tag in HTML then I send it to MySQL phpmyadmin via PHP. But when I type long text in that tag, it often gets errors or fails to send. How to fix it?
I want when I or the user type a long sentence or content, it can be uploaded. That's what I n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I resolve this error in trying to copy text from an already open webpage? I'm using google colab to run stable diffusion and I want to make a txt file with all the prompts and settings. These are located in a div class element under the generated image in the web ui. I want a python code to copy the text (wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: ggplot selection: should I use 'subset' or 'ifelse' to filter data? I'm trying to draw two density plots together of two different variables from 2 different datasets.
My datasets are something like these:
dataset1
Real Wage 1 PPA
1244 105
1577 90
1865 105
1756 105
1634 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Proper way to Extract parameters from a URL in a Node.JS app I have code in a Node.JS app, only partly working.
Though I think I have figured out in which case there are problems, I do not know the proper solution to fix it.
Here is the relevant code for the question:
app.get('/Path', (req, res) => {
.....
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Child thread running after interrupted I am trying to understand multithreading and below is a program i was trying out. The output is however something i was not expecting. The thread prints another string from the array after it has been interrupted. Could someone please explain why this is happening even though t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HTTP server 404 not found error in servlet using tomcat enter image description here
Error show in servlet.
I am trying to run on tomcat but show like that.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Why I get this error when I try run this command "npm run build"? When I write this command
npm run build
in terminal, I get this error
enter image description here
You can take a look at Package.json file
enter image description here
I 'm trying to bundle my project with parcel
{
"name": "add-notes-app",
"v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571377",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Why are the widths of these HTML elements uneven? I created some div elements and gave them the same width of 5px.
This is my CSS code:
div {
background-color: black;
width: 5px;
height: 100px;
display: inline-block;
}
I was expecting all the divs to look the same, but some of them are 1px larger. Can anybo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: is there another way for a pop up in react? what i want to happen is that when i click my button it shows a pop up like snack bar or an alert but none of that is happening.When the button is clicked it shows the selected doctor and date but it does not show a the snack bar or even the pop.I would appreciate it if th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OctoberCMS create repeater field with morph to many relationship In my model defined images field as jsonable:
protected $jsonable = ['images'];
I have like this field in my model fields.yml file:
images:
label: 'Images'
prompt: 'Add image'
maxItems: '1'
span: left
containerAttributes:
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unable to display the intended Dialog box from xml file image of xml layout
image of output on emulator
I'm trying to write a code to display custom dialog box on clicking menu options using xml layout file. On running the app in Android studio I'm not getting the desired dialog box, i.e the EditText fields are not ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Components in Div is centered, cannot move left side or right side of the screen I am working on gmail copy project. So i have to create a div which conatins component like inbox,send,draft etc. Whenever I create a component its centered and if i try to move, the icon disappear and the components are arranged irregu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VBA: Do While Loop does not want to looping I have a table where I need to divide each number by the last one from the column and just iterate through each column once condition will be met. Then it should go out from the loop and move to the first loop. I give this loop argument that each time it should iterate by ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571400",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: V4 user permission not working with other relation
*
*Strapi Version: 4.6.2
*Operating System: Mac os
*Database: PostgreSQL
I have a problem with a user relation to a different entity.
I can send a request to retrieve the relation as written in the documentation.
In my case is
owner = 1
1 is user id
name: "a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571401",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I avoid writing every permutation of L and R value references for a function which does not allow universal references? This example code below is designed to express the need to achieve 2 goals on multiple instances of other code:
*
*Maintain full type specification in template function bar.
*Avoid writi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: importing module inside of a list comprehension in python The below program will show loading in console. Can we make it one line?
For that to happen we need to import time module inside of list comprehension.
How can we import module inside of list comprehension?
import time
[print(f"\rLoading... " + (('|', '/', '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Deploying Machine Learning Models in GitHub Pages I recently built a machine learning model that detects whether an object below a ship is a mine or an ordinary rock. I planned to showcase this on a free GitHub page, but since GitHub pages only support static websites, the interactive model would not work if I uploa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: InvalidCastException error when opening an Excel file Background - Program written a few years ago in Visual Basic 2019 in VB. It provides a
database facility for my radio interests - I run a copy on (a) a Laptop and (b) a PC each
sharing access to the .accdb file on OneDrive. All ok until a couple of mon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I receive character mode input instead of line mode input with nodejs net module? I'm currently having an issue with replacing a user input without them pressing the "return/enter" key on their keyboard. This is to allow for entering passwords without them directly showing in a terminal window.
Example for th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AI Framework for detecting visual similarities in photos I would like to determine whether a photo of a person is more likely to fall into the category of positive matches or negative matches based on a pre-provided set of positive and negative matches of pictures of people.
In doing so, I would like to consider thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: SecondaryTable annotation is working locally but not on test environment So we are in Java 8 (v202 on test env, 230 to 301 locally) and we use spring boot 1.5.4.RELEASE / hibernate (5.0.12) / jpa 2.1.
We have a class like this:
@Entity
@SecondaryTable(name = "FOO_BAR")
@org.hibernate.annotations.Table(appliesTo = "f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The remote address when opening the website through playwright is different from the remote address when opening the website manually a. This is the remote address I see when opening the webpage manually
b. remote address I see when opening the webpage through playwright
Due to the variance in the remote address m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python Celery: 2-way communication between worker and task requester I am trying to achieve 2 way communication between the worker and the task requester, once the task has been scheduled. So far I was only able to achieve one-way communication (worker -> requester):
@app.task(bind=True)
def long_task(self: celery.T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Automate the Page using Selenium VBA "https://wideo.co/text-to-speech/" I want to download mp3 from the website "https://wideo.co/text-to-speech/"
But I unable to get the Elements from this website. Neither tag nor Name works.
Sub wideoAutomate()
Dim obj As New WebDriver
Dim ddl As Selenium.WebElements
D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to publish a library for both browser and Node using wasm-pack? I'm writing a wasm library that I want to be available in both the browser and Node. Does this mean I need to run both wasm-pack publish -t bundler and wasm-pack publish -t node? Is there a way to publish both builds under the same package instead o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571436",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: I am looking for multi-sensor fusion (camera, LIDAR) based multi-robot cooperative slam open source code or information I am looking for open source code or information on cooperative multi-robot slam based on multi-sensor fusion. I have searched for a long time but only found an open source code based on monocular ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting summaries from clustered data using sklearn we can cluster embeddings (as in this example from OpenAI).
This makes sense, but how would it be possible to generate a short summary for each cluster?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to sort a dictionary with specified 2 keys I am trying to sort a dictionary in python, let's say I have {'c' : 1, 'b' : 3, 'g' : 3, 'a' : 1}
The first thing I would like to do is to sort the dict descending from the highest value.
Then, if I have keys with the same value, I would like to order the keys with the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: php calculating total cases from 2 different inputs so, this seems really simple, but I have been scratching my head for about an hour now.
Simple math, but I cannot replicate with code.
1 case = 4 bags, 4 bags = 8 bottles, 8 bottles = 1 case.
<form method="post">
<input type="text" name="cases" placeholder="cas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Splitting strings in a list of strings and appending them Given a list of strings, I want to split each string separately when it finds a specific character.
For example:
I've got an array with a single string in it
Array = ['SomeText SomeMoreText EvenMoreText']
At every space I want everything to the left of it to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Algorithm needed for product aging in a storage I am facing a methematical problem. I am trying to solve this issue for 3 days now and still do not have any solution yet. I hope you guys have any idea how to solve the problem. I add an example table to this post.
Description:
I have a storage for "boxes". For each i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571445",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-7"
} |
Q: Hwen i run a c in vsc there problem I am facing open launch json When I run a c program in VSCode a file is opening named launch.json.
I am a beginner in coding.
I tried to get output although the expected output is hello world but I get a file opening named launch.json
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to use vue-compare-image in vue 3 Such as this package vue-compare-image npm
Can anyone help me, please
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Amazon S3, Message:The specified bucket does not exist
ERROR Service:Amazon S3, Message:The specified bucket does not exist. Elastic Beanstalk configuration update
I' m trying to update my elastic beanstalk configuration to assign new IAM user credentials to the specified S3 bucket, although the bucket is created ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Wildfly - Deployment failed and was rolled back I am getting the below error while using the wildfly plugin.
[ERROR] Failed to execute goal org.wildfly.plugins:wildfly-maven-plugin:1.0.2.Final:deploy (deploy) on project DreamFolks: Deployment failed and was rolled back. -> [Help 1]
JBoss/Wildfly is up and running f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: After updating Aeron to version 1.40, I get the following error during reset and I have to delete /dev/shm to fix it java.lang.IllegalStateException: active Mark file detected
at org.agrona.MarkFile.mapNewOrExistingMarkFile(MarkFile.java:621)
at org.agrona.MarkFile.(MarkFile.java:136)
at io.aeron.archive.ArchiveMark... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: MockK Swift equivalent I'm using MockK in my Android project to mock object and their behavior for unit tests.
I have a Factory class interface:
interface ComponentsFactory {
fun createState(): State
}
In my project I have:
class ComponentsFactoryImpl : ComponentsFactory {
override fun createState(): State ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Pulling Value using User Defined Value from website where value is coming from third party using plugin I hope everyone doing great.
I'm trying pull some data for Schema Code using User Defined Variables when DOM is ready but, when DOM is ready the value is "Undefined".
Variable is pulling value when Window Load tri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can compile Kotlin code in android Java project I am trying to use Kotlin classes from some other project into a Java project. This Kotlin code also has a service. Based on suggestions found on Kotlin website I have directly copied the Kotlin packages to Java project and configured Kotlin runtime.
But after sync I a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Firebase Document Amount with Function via Flutter @override
void initState() {
getData();
super.initState();
}
String? currentuseruid = FirebaseAuth.instance.currentUser?.uid;
int? notificationamountData;
getData() async {
try {
var userSnap = FirebaseFirestore.instance
.coll... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nextjs 13.2.1 - UnhandledRejection error in Next.js project: "TypeError: trace.getSpan is not a function" I'm working on a Next.js project and I keep getting an UnhandledRejection error with the following message:
TypeError: trace.getSpan is not a function
I've searched for solutions online but couldn't find anythin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to link fortran library compiled with no-underscores with some compiled with underscores I'm trying to compile and build the linear solver MUMPS (Fortran) on Windows with mingw, and link it with Matlab's blas and lapack (intel MKL). I'm compiling everything fine with mingw, however the final linking fails due to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to use a git filter to implement a local code style different from the repository style? A few elements of the coding style of the project annoys me. For example, I prefer 80 character line length, I never want the condition and the statement on the same line for an if (for breakpoint placement), etc.
I would li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Kubernetes PVC overwrites pod data after mounting In my kubernetes cluster I am trying to run Laravel. However, I am trying to mount the files from /var/www/html to my pv on my host machine /mnt/data/project/laravel-api, but after starting the container, the directory on the host machine stays empty.
This is my pers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JOptionPane makes my program crash when I join thread I am writing a program to rename files. Once the user selects the folder the files are processed in a thread. After the thread finishes the program closes the GUI and opens the selected folder. For this reason i'm using the join() method.
File folderToProcess = g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Smal instance in classification I am working on a benchmark dataset for text classification. The dataset has about 300 classes, and approximately 50 of these classes have only one instance. In a paper that used fine-tuning BERT, the authors split the dataset into training, validation, and test sets. However, they di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to add timestamp to already existing objects using a value within the object? I have a MongoDb database with around 1000 records, I had the timestamp option set to false and none of them has the createdAt and updatedAt attributes. Now i've set the timestamp to true and I want to update all the objects with creat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Cannot format Instant while formatting DateTime using Jackson2ObjectMapperBuilderCustomizer In my Spring Boot app, I can easily format LocalDate and LocalDateTime with a global config:
@Configuration
public class AppConfig implements WebMvcConfigurer {
private static final String DATE_FORMAT = "dd.MM.yyyy";
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the execution order of alias names in SQL? I'm trying to understand when exactly alias names (AS) in the SELECT clause are executed in SQL.
I know that the basic execution order is as follows:
FROM
GROUP BY
SELECT
Then why is it that when we use an alias in SELECT, do we need to use that alias in GROUP BY, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Iterating over huge S3 zip file's entries without download- and as fast as possible I am trying to find a fast and efficient solution to iterate over a zip's entries, while it is located in S3. The zip file is huge (60-100GB+), and downloading is not a viable solution since we are limited in storage.
The iteration i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GridsearchCV for the preproessing of ML model based on accuracy I want to find 2 optimal values for a preprocessing of an ML model.
The 2 (Integers) values will be used to remove some of the input data.
The optimizations will be based on the ML model accuracy.
How can I use gridsearchCV to optimize the preprocessing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I receive input in the form of escape codes? I am learning how to use terminal escape codes on Windows. I know how to move cursor position and how to do a few other things. But how do I receive input?
For instance, if I want to navigate around with the arrow keys, how would I do that?
A: Keyboard input is u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pull Linked Records from Airtable Hello I am trying to figure out how to pull the values of table and send them to a user in discord. My Airtable is set up as follows: I have one table with all the items available from the users, the table is named All-Items. I have a set of other tables each named a user ID. Inside... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't connect to MySQL database that was tunnel on ngrok service from different network I have this C# Winforms application that contains MySQL database connection string in it, in this case I used ngrok to tunnel the server, the user should be able to insert some data from the application to the database, now I hav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Omit theme loading of unused components and avoid network load in Vaadin 23 I just realized that my Vaadin Web Application loads at least 3mb of unused JS theme libraries out of an 8Mb overall javascript network loading footprint.
How can this be prevented?
The three most prominent
*
*1600kb vaadin charts @vaadin_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Selenium search and sendkey drive.find_element(By.NAME("search_query")) search.send_keys("bitcoins") time.sleep(3)
I want click the youtube search,then write bitcoin and search it
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Calling Sub Class Method On Parent PHP Class I have 2 PHP class that related each other, rather than using __construct, I tryin to using extends to combine these 2 class. But why sub class method cant called from parent class? There's no either result or error displayed but warning about reach memory limit.
here my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to maximize Precision for each class in target instead of for the whole multiclass classification model using Hyperopt in Python? I try to build multiclass classification Machine Learning model in Python. I use Hyperopt to tune my hyperparameters as below:
1. Define Parameter Space for Optimization
space = {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Duplicated Identifier issue happens when creating a custom global type in Angular library In my project, I would like to create a global Type in Angular library.
My folder structure is
project
--- components
--- src
--- lib
--- core
--- typings
--- index.ts
--- public-api.ts
I created a glob... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Pycharm: python manage.py runserver returns nothing I am struggling to get the http link from pycharm. I must say I am pretty new to software engineering and I am only following tutorials. I am currently stuck on this problem and I can't find any answer.
Henter image description hereope someone can help me to figure... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: python: Transfer of Objects for their further exploitation [python] AYOGRAM and PYROGRAM
How could I account save to:
waiting state.update_data(account=account)
account = Client(name=f'{phone}', api_id=api_id, api_hash=api_hash, in_memory=True)
sc = pending account.send code(phone)
standby status.update_data(account... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571511",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: To make up the screen in Android Studio
The minimum version of the Android API is 23 (6.0) Lower part of the
screen
*
*By clicking on the button with the camera icon, the icon is
replaced with a camera / crossed-out camera (you will need 2 camera
icons)
*By clicking on the microphone button (you will need 2
micr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: PHP GraphQL Syntax error issuing a query using file_get_contents I'm trying to develop a simple php client and I have some trouble.
My code is this:
$Tok = 'my token';
$Url = 'the api endpoint url';
$ItemId = '$book - 093121'; // This is the id I search for
$headers = ['Content-Type: application/json... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Find and return key/object number based on search in js I have a large xml file that I need to edit based on a search of the file. I am only editing a single character. The data is layed out like this. I can successfully change the very first result as it is item "0". I need to search all fields named "event name" f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571517",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: D3 not all nodes are updated after replacing data and restarting simulation I am trying to replace data for node visualisation. I was able to add new data but when I am restarting the simulation the nodes which were added are not updating position.
var svg = d3.select("svg");
var width = svg.node().getBoundingClie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: seaborn clustermap - "euclidean" metric gives infinite values error but dataset is fine I have the following dataset: radiomics_data.csv
I'm trying to use seaborn clustermap to .... plot a clustermap of these values:
def clustermap(data: pd.DataFrame, title, use_sns=False, rad_plot: bool = False):
font_size... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571522",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Importing DLL or SO libraries in C Well, I just made a DLL file and I'm trying to import it and use it's functions.
I just guessed that the #include <lib.dll> will work but DLLs aren't header files!
Well, someone please help me
| {
"language": "en",
"url": "https://stackoverflow.com/questions/75571524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Sampling from uniform distribution row wise Consider the following data:
df <- data.frame(id=1:5,
x_min = c(0.1,0.2,0.3,0.4,0.5),
x_max = c(0.15,0.23,0.38,0.44,0.57))
I intend to draw a random sample from a uniform distribution for each row. Why I'm getting the same values for colu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: When I try to route using '/predict' i am getting 405 method not allowed error? same when i use POST in url 'http://127.0.0.1:3000/predict' in postman import pandas as pd
from flask import Flask, jsonify, request
import joblib
app = Flask(__name__)
@app.route('/predict', methods=['POST'])
def predict():
if req... | {
"language": "en",
"url": "https://stackoverflow.com/questions/75571527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |