text
string
meta
dict
Q: fluent UI Search component list issue Hi I am tring to use fluent in angular and create a search component but having issue with adding elements in list. I tried below without sucess <fluent-search placeholder="search" list="ice" id="ice-cream-choice" name="ice-cream-choice"> </fluent-search> <datalist id="ice"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Modelling 5 separate equations into 1 equation I have 5 functions of the form y = beta*(1-exp(-alpha*(x)**n)). Each func has specific parameters as displayed in the table below. The input is a 52x5 matrix and the output is a single value. The aim is to optimize the 52x5 matrix to produce the largest y value. Each co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: When writing to flash on a STM32G031 Page erase enable occasionally causes hardfault When writing a value to flash on a STM32G031 Page erase enable occasionally causes hardfault. Some times it works ok, some times it faults on the page erase enable line FLASH->CR |= FLASH_CR_PER; Anyone have any idea what is wrong?...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to get the logs when deploying the deploy.js file 1_deploy.js const {networks} = require("../hardhat.config") const {developmentchains} = require("../helper-hardhat.config") module.exports = async function ({getNamedAccounts,deployments}){ const {deployer} = await getNamedAccounts(); const {deploy,lo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I use flutterflow widgets on flutter? My friend and I have designed the frontend of our app on flutterflow. However, there is a limitation when it comes to customizing the functionalities and implementing api on the webpage. Is there anyway I can import the codes in another ide such as vsc with dart and flutter ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Import "torchvideotransforms.video_transforms" could not be resolved how to import these two lines? from torchvideotransforms.video_transforms import Compose, Resize from torchvideotransforms.volume_transforms import ClipToTensor -->Import "torchvideotransforms.video_transforms" could not be resolved. I've already i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: drugs-marketplaces belonging of the site account to the bts wallet Good day to everyone, explain how the system for linking a user account to a btc account on the hill of drug marketplaces is implemented? how does the dispute system work on such sites? through a smart contract? I want to know how the system of such ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566987", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Reference another function parameters in TypeScript Is there any way to mirror class method parameters visible in parent class? Example to clarify: export abstract class AbstractDoIt { protected abstract handle( ...params: unknown[] ): Promise<void> | void; /* "final", not overloaded method */ public do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: OpenAI API is not accepting file uploads i'm trying to upload/send a file to OpenAI API, not for fine-tuning, i want the file to provide more context as it is containing code that i'd like the API to answer questions about, but it returns an error like: { "error": { "message": "'search' is not one of ['...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How can I reduce the complexity of this recursive function? It's basically to find the first key value in a nested json but I get a warning that is too complex just want to know if it's possible to make it more simple. private string FindBookName(string bookJsonString) { string bookName = ""; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Zookeeper and Kafka Bitnami charts failing I'm trying to perform the following: https://docs.bitnami.com/tutorials/deploy-scalable-kafka-zookeeper-cluster-kubernetes/ However, after installing the Helm chart for Kafka I get the following: NAME READY STATUS RESTARTS AGE kafka-0 0/1 Runnin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fractional multiplications - unexpected results of positive numbers I am getting unexpected results when multiplying 2 fractional numbers. If i use a calculator (google) to check my sums, i get the correct answer (or the answer i am expecting) This is an example of the sum i am trying to do abs(-0.000124372349263532...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566997", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spread all keys except one javascript My data object looks like this: const data = { name: 'John', lastName: 'Doe', age: '25', token: 'askldaskld123klm' } how do i spread all keys execpt one? I have tried doing this: const userData = { data.token, ...data ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75566998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access, update and delete cached data in RTK query? So I am using RTK query in my app and I have used it in multiple apps before (and it seems easy and saves a lot of time). But I have a question regarding authentication. So how I have been handling authentication is I created a separate slice to store the us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 3.5mm microphone not working good on windows 10 I have a problem with my 3.5mm socket, when I connect a microphone it's sound is very bad, low and noisy. How can I solve that? Is that socket not good to use and should I buy a usb microphone or buy a converter from 3.5mm to usb. My pc have usb type c so can i use a t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to change Django default date format I want to change the default Django date format from year-day-month to day-month-year format I tried adding DATE_INPUT_FORMATS=[‘%d.%m.%Y] in settings.Py file but the changes still doesn’t reflect while using the form here is my form.py file code class PersonalDetailForm(Mode...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567004", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to create a data frame in R with named numerics and lists This might seem like a trivial question, but I am having problems with this. I have a list of named numerics (I got them out of a nls by error = coef(summary(m1))[, "Std. Error"][2] errors[i] = list(error) , I hope it's not a problem that they are named ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567005", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use data.table to select all dataframe rows that meet a condition and if the condition is not met in a group, select the first row of group? I'm trying to use data.table for this because the actual dataset this is intended for is huge. I'd like to use data.table to select all dataframe rows that meet a condit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Using MutationObserver on complex pages I'd like my Chrome extension to insert some text in spans which are constantly updated as you scroll. On this page, I can get all the elements I need with this code: var agoEls = [...document.querySelectorAll("#metadata-line span:nth-child(4)")]; How do I run the code so that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Descriptors in python for implementing perl's tie scalar operation I need some help with descriptors in python. I wrote an automatic translator from perl to python (Pythonizer) and I'm trying to implement tied scalars, which is basically an object that acts as a scalar, but has FETCH and STORE operations that are c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "5" }
Q: I am using Modals in my Create user view but it doesn't pop up .when i click on the button,it doesn't open the modal.but it works in update view only.i have tried different modals codes, but again it only works in update view. i put them in both different and same sections and /or dive, it didn't work. here is one o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567026", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using to_pickle to store large Dataframes I have a dataset of around 3-4 GB and am saving it in tar.gz format using to pickle command which results in the output file of ~400MB. I want to confirm if there are issues with to_pickle which might modify or damage the underlying stored data. I read somewhere Pickle has w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567028", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: compiling c++ project with sqlite3 through cmake So I'm working on a university project and I decided I wanted to add a database (we have to make a game that runs on the console). I'm currently using GitHub Codespaces, so basically VSCode running on Linux. After a lot of struggling I managed to get cmake to work wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: what is the default collation sequence that Google BigQuery assumes Ignoring the forthcoming collation feature (in preview), where can I find Google documentation that clarifies the collation sequence and weight that BigQuery uses for comparisons. For example, dataset (and table) defined with default collation vs un...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create method that returns text made of all questions which contains words stated in an array in methods arguments? I have assigment in college to write a method that returns text with all questions which contains words stated in an array in methods arguments. This is what i have tried so far: public String t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Select a value from a select element using selenium in Python this is my first time using selenium, and I have trouble. I am trying to access this website, open the ISD dropdown, and select the option "Wayne RESA (82)," which is the value 119. I have this code isd = Select(WebDriverWait(browser, 10).until(EC.visibil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567034", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why am i getting null for my context? TypeError: this.context is null I am new to Next Js and TypeScript and i am getting the following error: Unhandled Runtime Error TypeError: this.context is null This is my Layout.tsx: import { FC } from 'react' import { Head } from 'next/document' import { Box } from '@mui/ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mocking fields inside of a method in Junit 5 I have a class for which I need to mock the inner fields so that I can increase the test code coverage. Below is the overview of the code. I am not sure how to mock fields inside of a method Note: The path is hard coded and as this is the old implementation, I am not allo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to select an element a couple of elements below another element? <div class=" arrange-unit__09f24__rqHTg arrange-unit-fill__09f24__CUubG border-color--default__09f24__NPAKY"> <p class=" css-na3oda">Business website</p> <p class=" css-1p9ibgf" data-font-weight="semibold"> <a href="/biz_redir?url=http%3A%2F%2FSou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567042", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Dependencies are already present when running npm init --yes I am trying to re-run npm init --yes on our project. When the package.json was generated, I noticed a list of dependencies I was unfamiliar with. Is this alright/normal? I was expecting that when I run npm init --yes, I should have no dependencies installe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Target of assignment expands to non-language object when assigning variables inside a for loop I want to use a for loop and assign my results accordingly. Combine <- c() geneVariant <- c() for (i in rownames(miRNAExp)){ assign(paste0('Combine.', i), i) <- combiner(DiffExp, miRNAExp, i) assign(paste0('geneVariant...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shift dataframe values for all columns to make monotonically increasing I have a dataframe of measures in multiple columns, that are aggregated. This means that the function they represent is a monotonically increasing one. Now, due to reset of an apparatus, all measurements are reset to zero, after which the aggreg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Is there a way to delete or replace a character in a text file in c I need to make a C program that removes empty lines as homework since we didn't study a way to removing characters from files my first attempt was to overwrite all the characters but both fprintf and fputc inserts characters. #include <stdio.h> #de...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567052", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to delete existed bytes of the DocumentFile Android Studio - Java? I have created a DocumentFile from Intent.getData(). DocumentFile.canWrite() returns true. But I can not clear the existed bytes of the DocumentFile. Help me I have tried all methods, String s = ""; outputstream.write(""); None of these methods ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android studio overriding my custom button design I have a custom button drawable in my android studio project (white border and transparent) and I'm using app:background="@drawable/button_custom" in the button xml. For some reason android studio is overriding it to a red button which is the primary theme colour. I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to load .txt with numpy 2d array of dictionaries (objects)? I tried to load a .txt file with numpy with the numpy.loadtxt("grid_data.txt", dtype=object) function but it did not return the expected result. I am working on a game which is a grid-like game so I want to save data for some tiles. I'd like to use dict...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: What is the pythonic way to return value from an object, created by static method? Say I have a class (object) that handles data used in the program. With that, the data itself is created by a static method next to the class. What is the pythonic way to pass that data further: should I do it through a dedicated func...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how to use hashAlgo=SHA256 in RSA PKCS1_OAEP in python I have a function using the link below to sign or encrypt for me with the RSA algorithm. [https://stackoverflow.com/questions/75297468/how-to-use-hashalgo-sha256-in-rsa-pkcs1-oaep-encryption-in-pycryptodome] and use this link: [https://pycryptodome.readthedocs.i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to repeat equations in functions? (C Programming) I'm trying to make a basic button press counting program in C for every time a specific button is pressed, "WPAD_BUTTON_A" an equation occurs. "b", which is 1, gets added to the variable, "a", which is 0, and prints it. When it does this, it prints out the answer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how to let pyautogui interact with system windows linux python i have a startup code i wrote it with python , its just to login in the computer and open chrome automatically , here is the code : import pyautogui from time import sleep def NewTab(): #for Chrome pyautogui.keyDown('crtl') pyautogui.press('t') ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does flutterfire have its own config? On an iOS Flutter app with Flutterfire, there are two different Firebase config files: firebase_app_id_file.json and the standard GoogleService-Info.plist. What is the difference between them? Are they both required? I’d rather have a single source of truth. firebase_app_id_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a user with password for Azure SQL Edge using SQL Server Management Studio? I am running the Azure SQL Edge Docker image and connect to it via SQL Server Management Studio. Security - Users - New User only gives me these options: I am new to SQL Server, but I would have expected an option to create a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apache in EC2 (Server_Name) not getting cloudfront domain? I am trying to setup cloudfront with EC2. The website hosted in EC2 runs with apache web server. Ec2 server URL: ec2-xx-xx-xxx.xxx.compute.amazonaws.com cloudfront URL: xxx.cloudfront.net Apache conf xxx-cloudfront.conf ServerName xxx.cloudfront.net RewriteR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I re-initialize MySQL on WampServer to allow for lower_case_table_names = 2 I used Duplicator Pro to move my live site to a virtual host on WampServer on my Windows 11 Pro desktop. Everything works fine except for two recurring errors in the PHP_Error.log file: [19-Feb-2023 16:15:21 UTC] WordPress database e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Error proxying request + Nestjs API in Docker I have a nestjs monorepo where I a have a gateway app that I built to handle all requests. When I use the project outside of docker I am able to query correctly however once I use docker-compose to run my project I get the following error Error occurred while proxying re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567072", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Move margins of subplots I would like to move all the subplots a little to the right, so that there is more space before the zero on x-axis. The margins results in symmetrical spacing. How can I do this? Here is a MWE: import matplotlib.pyplot as plt x = [0, 1, 2, 3] y = [1, 3, 4, 2] fig, ax = plt.subplots(2,sharex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Migrating from Neutrinojs to Webpack - issues I currently use neutrinojs to build my react code, but it is no longer maintained. I want to switch the building of my project to webpack. Is there any automated tool to do this? This is how my neutrino config file looks like, const airbnb = require("@neutrinojs/airbnb")...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567080", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I set the maximum pool size in gocql? I wanted to know how can we explicitly set max pool size in gocql? I mean changing the number of queries which will be run simultaneously. We are having 200ms avg response time in Grafana, but we are seeing 24ms avg read latency in Cassansra exporter panels. Can it be rel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to install valgrind on windows Im facing a problem on using valgrind to check memory leaks in C. It tells me "valgrind: command not found. I'm using windows and I installed mingw. If any one can help me I'll be grateful. enter image description here A: Valgrind runs on Linux, FreeBSD, Solaris and macOS (and not...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why doesn't onOpen execute. Fails without error message My onOpen is failing without showing the reason why. I haven't touched it for months. It was working up until yesterday. Any ideas what could be causing it? And how to fix? I've also notices I can not save changes to app script. Code.gs function onOpen(e) {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567091", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Splitting .txt file lines using strtok I am trying to read a text file and take the first two datasets separated by ; (for example library and 1) into char *p1 and char *p2. Then I am allocating memory for a linked list: start = allocMemory(p1, p2, start); and passing those datasets to the allocMemory function as ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Inject extension-code with Selenium using chrome fails because of unsafe-eval I want Selenium being able to use the API's from extensions. This is what I've tried: background.js async function sha256(message) { // get hash const msgBuffer = new TextEncoder().encode(message); const hashBuffer = await crypto.s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to fix error: no matching member function for call to 'push_back' class Solution { public: vector<int> topKFrequent(vector<int>& nums, int k) { unordered_map<int, int>ord; for(auto x: nums){ ord[nums[x]]++; } vector<pair<int, int>> com; for(auto i: ord){ com.push...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Do I need azurerm_mssql_server for azurerm_mssql_database? Currently I create my Azure SQL database like this: resource "azurerm_mssql_server" "sqlserver" { name = azurecaf_name.names.results["azurerm_mssql_server"] resource_group_name = azurerm_resource_group.default_rg.name l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567099", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: metadata operation failed error (LNK2022) when running windows c++ CLR app So i've tried to run this little CLR c++ app. Which should just open a form. I've created a form header and all, compiles with no errors... * *I set the entry point to main. *Set the subsystem to windows. But when running, i receive the e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can I implement multiple units simultaneously into a reminder command in d.py? Short story long, here's what I'm trying to do; I am in the process of making a reminder command for my discord bot, and I need it to take in multiple arguments, each containing a keyword (in this case a letter) that defines which uni...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567102", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scrapy returns empty with one selector im trying to extract, however it works just fine with other selectors I am creating my first Scrapy script in Python and I am trying to get information from this https://lens.google.com/search?p=AfVzNa_oPFWK2g2P_PJ4xi21nkmzjWr-cgfP1HhoBWgqt3GOgUmN1Lpvr-r2h9LNRJGkXzpYoG7aEjfdGqR...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django RichTextUploadingField in ckeditor related issue I am facing a problem in RichTextEditor - I use RichTextUploadingField as a field in model and I add data to admin panel. After calling by api it is showing this image after api call but the problem is frontend developer can't use it to show this image. Is ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run play against the control machine, once, at the end of the playbook Having a playbook that contains 2 plays, * *one that will run a command through the shell module and save the output to a result file on the Control Node (localhost) for all the hosts in the inventory *and another one that will only run on the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: With telethon is it possible to forward a message to a group topic? There is nothing in the documentation about forwarding or sending messages to topic. I have tried using client.forward_messages but, since there's nothing in the documentation about topics, I was left flailing and guessing what might work. E.g.: awa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to replace double for loop with numpy? Let's say i have a list. I then have to go through every element in that list and compare it to every other element in that list. Based on this comparison, i then need to add this element to another list. Currently, i solve this with for loops. But i want to optimize this b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to get errors for each object committed in SQLAlchemy? I'm building an app for importing products from a JSON format and i have to return the errors for each row (object of Product) that was not successfully inserted in the database. I'm already handling some errors with pydantic, but there's a possibility of da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calculate proportions of survey responses that picked one option also picking each of the other options in a multiple choice question I am processing responses from a survey where a respondent can choose from a list of barriers that affect why they might or might not publish their writings (dput() of the data is app...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567115", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Failed to solve: failed to read dockerfile: open /var/lib/docker/tmp/buildkit-mount1736287518/Dockerfile-app: I'm trying to run a Docker Compose project involving MySQL, Angular and Springboot. This is my docker-compose.yml version: "3" services: nginx: container_name: nginx image: nginx:1.13 restart: always ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Make ImGui Window undraggable and unresizable How do I make my ImGui Window undraggable and unresizable? I create the ImGui Window/Widget using ImGui::Text("Hello, world %d", 42); A: I got it! Thanks to @HolyBlackCat's comment Just add ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize Flags to the ImGui::Begin L...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeScript: How to get typeof 'OR' type? I have a React Hook that accepts two completely different array types, and I am wondering if I can somehow get their types 'Chat[]' or 'NewGroupMember[]' in my code. I was thinking of passing a 'type' value into my function so I could keep track and check in my switch case st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Web Scrapping with R for javascript enabled web page. (using rvest and xml2 packages) I'm trying to scrap data from Bloomberg Billionaire Index from link: https://www.bloomberg.com/billionaires/ . I have tried this code I have tried this code install.packages("rvest") install.packages("xml2") library(rvest) library(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567121", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting "unsupported block" error while writing terraform to add lambda function in AWS secrets manager to rotate secret I'm writing terraform script to attach a lambda function to AWS secrets manager to rotate a secret. The code looks like this: resource "aws_secretsmanager_secret_rotation" "my_secret_rotation" { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Make nested enum hide or pop up in the Inspector in Unity using UnityEngine; [CreateAssetMenu] public class CharacterData : ScriptableObject { //VARIABLES public float maxHealthValue; public float currentHealthValue; public float healthValue; public float damageValue; public enum CharacterTyp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: LoadBalancer or Nodeport service not connecting to pod inside minikube from localhost I'm trying to use LoadBalancer as a service to a pod. The container inside the pod (single container pod) is listening to port 8080 for receiving packets over UDP. I have checked the container manually and it is doing fine its part...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567127", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Setting up a test with Koin in ktor How would you go about setting up a test with koin in ktor. So what i mean is that i wanna test my ktor application so my routes for example... This i wanna do with the help of dependency injection with the help of Koin. When i try to start koin and setup my test modules i get the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567128", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hiding mobile browser searchbar by using mobile app meta tags? Okay so I know that things like scrollTo doesnt work anymore. But I found an idea to use meta tags to make any browser believe that your website is a mobile app and because of that hiding the searchbar on pageload. My take on this was to add the tags to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567129", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Json: How do I determine if a field exists? Using kotlin-serialization, the process of obtaining JSON data from openweathermap is implemented. The field may or may not be present on any given day, such as rain or snow. An error occurs when executing the following code WeatherResponse.kt @SerialName("WeatherData") @S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567131", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get recursive comment replies just in SQL So I'm making a blog site, where people can comment on blogs, and obviously I want people to be able to reply to each other in the comments. And I want to show the comments the same way reddit does, there would be a comment and under that comment would be all the replies for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567135", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: IF Else IF statement in Google Apps Script Hello below my code is working fine. When A1 Cell is updated with File1 it will open a File1 link. but i need to add more else if statement to get open different link. Example : if A1 is updated with File2 it will open File2 link if A1 is updated with File3 it will open Fil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567141", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Doctrine: Should I create an intermediate entity for many to many relation? On recent meeting I got a requirement that for all many-to-many relations, we should create intermediate entity and have many-to-one and one-to-many relations. For example, we have entities "User" and "Role". I need to create an intermediate...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can handle " error:0308010C:digital envelope routines::unsupported " i'm working on a project on laravel 8 i want to use laravel-mix but i receive this error after i run npm dev : Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:71:19) at Object.creat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Cannot execute test when it is redirected to another application It shows an error in the URL when an application is redirected to another application with an authentication token in the URL. I have an application that is redirected to another application when a menu item is clicked. The second application is loaded...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567147", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gmail login using curl in 2023 #!/bin/bash email="email@gmail.com" password="pass" user_agent_file="/home/kali/Desktop/New Folder/user-agents.txt" login_url="https://accounts.google.com/signin/v2/identifier" # Choose a random user agent from the user-agents.txt file user_agent=$(shuf -n 1 "$user_agent_file") # Se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a TS Type based on an object property and ensure type and property checking? Let's say I have this array of objects: const formTest = [ { label: "test", name: "grossSalary" }, { label: "test", name: "privatePension" }, ]; I'd like to build a type based on all name properties. So that formTest ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567150", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i have an exception each time i try to use hibernate template with spring what could be the problem exactly if any one can help An exception occurred while executing the Java cl ass. Error creating bean with name 'customerDao' defined in class path resource [beans.xml]: Cannot resolve reference to bean 'hibernateTem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add a speaker to webots project (in C)? I want to use wb_speaker_speak(WbDeviceTag tag, const char *text, double volume) in my webots project (in C). Here is my try (for simplicity I've avoid main and other related functions): 1 #include <webots/speaker.h> 2 static WbDeviceTag Speaker; 3 Speaker = wb...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calling remote session bean in Payara Server - where to put the remote beans remote interface in Netbeans project? I'm trying to start a new project using Netbeans (16 and 17) and a Payara 6. My first tests is around getting the session beans to call eachother. There are two beans a and b. I can call bean a from a S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to store values from select query when using odbc_exec in php I currently have the following php code : $select = " SELECT count(*) FROM [MEMBERS] WHERE [MEMBER_ID] = 'carl'"; $result = odbc_exec($connection, $select); if($result){ if(check if count matches){ do something ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567158", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: while implementing a concept in javascript i have been facing some odd behaviour from addEventListener function i created to get scrollY value javascript let temp for(let i=0;i<3;i++){ temp=document.createElement('div') temp.id=`sq${i}` temp.classList.add('square') temp.classList.add('new') temp.style.top=...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WPF .Net update Progress Bar while loading Classes I am creating a WPF MVVM Application where I have a Main Window and different Pages displayed in a Frame. I want to add a Loading Screen with a Progress Bar which updates while the Instances for the Pages get created: Dim customer_page as new Pg_Custommer Because t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to expand a mapped array and show details of the clicked item that is inside a 4x4 grid in react using material ui what I have achieved so far I am trying to achieve the layout shown in the picture I have achieved everything except expanding the list and showing details of the clicked item. what I want to achie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567166", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using bootstrap how can I build this layout with the cards arranged one way on widescreens and another way on mobile? Im using bootstrap 5.x and I can't quite get this layout. Can someone suggest a way to achieve this so the cards are like the left image on desktop/ wide screens and like the right image on smaller w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567167", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I add Buy and Sell arrows with this condition? Please what is the syntax for adding a buy and sell arrow with conditions below. I am familiar with the famous crossover and crossunder. I want the buy arrow to print below bar whenever RSI is above 50 and sell arrow above bar whenever arrow is below 50. (rsi15m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fetch Event from Firebase JSON to FullCalendar ??? (google web app) This is my JSON from Firebase URL {"allDay":"","end":"2023-02-01 18:00:00","id":"EV1","start":"2023-02-05 09:00:00","title":"Event 1"} And I try to fetch them from firebase direct URL something like https://mydatabase.firebaseio.com/Calendar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why my code is not showing receiver message?, Sender is unable to see receiver message. The sender can see his messages but he is unable to see receiver message. Can anyone solve my issue. I think my query is correct but I can not solve my issue .If the issue is with query please make the query in correct way .Pleas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Django Filterset object is not callable I'm trying to use a custom filterset class with DjangoFilterBackend to filter my products by some details that are different based on their category, but I get the error "'ProductFilter' object is not callable". My filtering works fine when I don't limit the choices based on c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Draw star using tkinter I'm trying to set a background image on my Tkinter canvas and draw a star above it. Here's my code: import tkinter as tk # Create a new Tkinter window root = tk.Tk() # Load the background image background_image = tk.PhotoImage(file="C:\\Users\\Stefa\\Downloads\\galaxy.jpeg") # Create a new...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trait Object function with parameters I'm trying to make a simple template engine (for sending messages with a different content), but faced a problem that I could not make a "virtual" method parametrized. trait Evaluatable { fn evaluate(&self, dest: &mut impl std::io::Write); } struct A {} struct B {} impl Ev...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567190", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to sort text alphabetically in Python? I would like to sort a text alphabetically in Python. I manage to sort all the words according to their first letters, but when several words have the same first letter, I don't know how. Can anyone help me? Thanks def liste_mots(text:str) -> list: x = text.lower() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567193", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: implementation 'com.google.android.gms:play-services-ads:21.5.0' cause crash of application implementation 'com.google.android.gms:play-services-ads:21.5.0' where I add this line to gradle to monetise my application ,the application crash after starting. thank for all to help me. A: thank for all, I found a solutio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567195", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: code for a function S(x) of calculating the sum of a series with a given accuracy in language C The function S(x) should be implemented as two separate functions S(x, N), where N is the number of terms of the series, and S(x, eps), where eps is the specified calculation accuracy. When calculating the value of a fun...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567198", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Solving a set of an arbitrary number of coupled differential equations with odeint I am new to python and want to solve a system of coupled ordinary differential equations of the following type df_ab_dt = W*f(a, b-1, t) + (X + Y)*f(a, b, t) + Z*f(a, b+1, t), where b = [i for i in range(b_max+1)], with b_max being a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Extract Bangla text from pdf that contains Embedded Subset, TrueType (CID), Identity-H encoding in C# I want to extract bangla text from a pdf file using iTextSharp NuGet in c#. In this pdf text is like this: মোঃ শুকুকুর আলী , মোঃ জালাল মিয়া. I want to read this texts as like this. But when I read this in c# using ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CRA with Refine hello guy I was creating a react application using CRA with Refine and added Google Auth but it is giving me this errorenter image description here I was trying to login in to the application using google AUTH
{ "language": "en", "url": "https://stackoverflow.com/questions/75567204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }