text
string
meta
dict
Q: pyproject.toml in an isolated environment I am trying to use pyproject.toml (and specifically setuptools_scm) in an isolated environment. My minimal pyproject.toml is: [build-system] requires = ["setuptools-scm"] [tool.setuptools_scm] write_to = "mypackage/version.py" However, when trying to install my package in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Playwright parallel execution skips tests I am currently implementing tests for a system accessible via rest. The tests are programmatically created to check access rights for different users and endpoints in the target system. The code creating the tests looks something like this: test.describe('Access tests', () =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AutoHotKey v2 Audio Output Device Toggle I am trying to make a hotkey using AutoHotKey v2 that toggles through the audio output options using nircmd setdefaultsound. The following program is what I have: it does not give errors, and it gives the MsgBox but it always says "Headphones" and it does not actually change ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628648", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I calculate the number of cases where at least one of four variables is true? I hope you're doing well! I've got four dummy variables in SPSS and am trying to work out what the syntax would be to calculate the number of cases where at least one of the four variables = 1 (meaning it's true). I believe the math...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Advanced JavaScript Pattern Creation Problem I am working on a project from my for fun, and I was asked the question "Write a program to output the letters H, T and L as created by * characters. Create four variables that store * patterns and use ONLY THOSE to output the letters." So what I have to do is create tex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628652", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MariaDb ColumnStore stored procedure returns Expected to read 4 header bytes but only received 0 I m calling a stored procedure using the following code: dbContext.Database.ExecuteSqlRaw(sqlCommand.ToString()); I have the following Stored Procedure: CREATE DEFINER=`user11`@`%` PROCEDURE `UpdateDimDateEntity`(IN DimD...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Validate start date and end date with vue js `I'm new to vue and I'm having trouble validating dates, I want to validate dates so that the system prevents filtering if the final date is less than the start date or vice versa, I would like to validate dates with vue using :allowed-dates="allowedDates()" to not let se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: xcode - ios buil issue when branch is switched Can you delete Development pods and install them again with pod install command? I am getting this two issues from RNAnimtated library in the moment I switched my branch and I thought that deleting and installing the development pods would be the solution but I am not s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: dotnet tool available globally but can't run command Running dotnet v7 dotnet --version # => 7.0.100 I installed dotnet-warp using the command dotnet tool install --global dotnet-warp I am able to run dotnet tool list -g with the following result Package Id Version Commands dotnet-warp 1.1.0 dotnet-warp ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Elastic Fleet server API Deployment I am trying to create fully automated script for SIEM deployment. There is one issue. I am not able to install fleet server. I want it to be fully automated no UI interaction. So first i need to create policy using API which i was able to do. Then I need to add fleet server integr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Complete removal of 'Get Started' in Windows 11 'Installed Apps' and 'Start Menu' I have only been half successful in removing 'Get Started' from Windows 11 'Installed Apps' and 'Start Menu'. powershell -inputformat none -outputformat none -NonInteractive -Command "get-appxpackage *getstarted* | remove-appxpackage" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628668", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Issue trying to run robotframework script on Jenkins Recently i'm facing an issue when try to run a task from Jenkins that simply run a .robot file. I've been searching and trying different options from another colleagues that faced similar issues in StackOverFlow but i can't achive to run the script correctly. Plea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628669", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's wrong with this code for the Palindrome Problem in LeetCode? I am working on the Palindrome Number problem on LeetCode. The instructions are as followed: "Given an integer x, return true if x is a palindrome, and false otherwise." I used the following code to change the integer to a string and reverse the str...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628670", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: MongoDb how to get a list of unique fields from a pojo doc I'm new to Mongodb and I'm trying to get what I thought would be quite a simple unique call on a field. What I want is a list of all the unique or distinct (one of each) marketIds: sample doc -> added to local mongodb as a pojo (with a double array codec) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I re distribute my weight such that expected outcome is the same I want to calculate expected outcome after resting a price, I tried using scaling matrix but it did not work. Appreciate any help. double originalPrice = {5, 8, 18, 58, 80, 49.399167162403300} double originalWeight = {0.34146341463414637, 0.39...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to render manually a component in Blazor? I am trying to render manually a set of components in Blazor Web Assembly, however I am having trouble with Attributes and ChildContent. Here's how I render manually a component: private RenderFragment CreateComponent(List<cMenuItem> menuItems) => builder => { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Reading multiple json files & creating multiple dataframes I want to read 2 different json files in 2 different directories in ADLS & create 2 different data frames. Although different dataframes are getting created but its only writing out the latest json file "json2" in this case. I understand the problem that the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MongDB-JSON document size >16MB throws error when saving We have few JSON Documents those are greater than 16 MB when saving to MongoDB, iam getting "Payload document size is larger than maximum of 16MB" as an error.Is there an approach to store this documents along with documents that are less than 16MB in the sam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WebStorm-compatible referencing a config file in JSDoc I have foo/defaults.yaml file in my project. Then there is foo.js that uses data from this file. I would like to make a JSDoc comment the following way: /** Actually launches real Foo missiles. The default values are read from @link foo/defaults.yaml. */ async l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set default option in select component with null-value in vuejs? There is a select with v-model. Initially, there is null. In option, I also specify null for the default value - everything works, the default value is substituted. But as soon as I put this select into a separate component, for some reason it s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to suppress unnecessary xml namespace prefix declaration? I receive this xml <message xmlns="http://www.ns1.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <elem1 id="att1"> <elem2 i:nil="true" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" /> </elem1> </message> and I need to transform...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Remove duplicates from merge node pandas DataFrame I'm trying to plot a graph with plotly express which represent a count of clinical trial per sponsor, per conditions, per count and per date. The following code is working fig = px.bar(df, x="Sponsor/Collaborators", y="count_x", color='Conditions') fig.update_layout...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: rust async trait fn taking parameter of type Vec has error T may not live long enough The following code does not compile due to parameter type T may not live long enough #[async_trait] trait Foo<T>: Send + Sync { async fn foo(&self, x: Vec<T>) -> Vec<T>; } #[async_trait] trait Bar<T>: Send + Sync { async f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SCSI commands that can benefit from a full duplex SAS connection One of the distinguishing features of SAS is a full-duplex connection between the HBA and device. SATA provides only half-duplex connections. I used to think that SAS drives could simultaneously ingest and retrieve data using both directions of a full-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to check object count inside the class ios swift This is the question I got from an interviewer in an interview. I have a class with a variable in it and every time when I am creating an object of the class the variable count should gets incremented. Let's say if I have 3 objects of class I should get object.var...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Creating unique_id (PRIMARY KEY) after new user created I'm designing a simple service and will ask for new users to create an account (code below). My Users table contains following columns: user_id_inc (Increments), username, userEmail, userPwd, Role, unique_id (Primary key). When asking for details I only ask for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamic SVG import in Preact + Vite I am trying to set up dynamic svg imports since my app uses many icons and I don't want to impact startup time to load all icons i.e. load them only when used. I have been following other SO questions and implemented something similar to this answer in a React + Webpack project. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_active' into field I got this doubt, I'm creating a custom user model in Django and at the moment to apply the migrations, it throws me this error raise FieldError( django.core.exceptions.FieldError: Cannot resolve keyword 'is_active' in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Angular button directive incorrectly appending child element I'm using this loading directive for a button. My problem is when using the directive it appends the progress loader below the button, not inside of it. I've console logged the this.elementRef.nativeElement and it returns the correct button element. button...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ScrollIntoView scrolls into different section depending on the page it's triggered from I have a reactjs website , and I'm using router v6 since I have different pages in the website , I also have different sections I want to scroll to from different pages. the problem is when I scroll to a section from a different ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Dialog not showing again even when triggered Flutter I am showing dialog in my app, so what I am doing is I am doing it on two pages, on home and on watch page, but It must show only once on both and not again. What happens now is when you done with a dialog on home, and you go to watch page it does not show, meanin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have "Transaction Expired" error when sign nonce transaction on mainnet using solana/web3.js On devnet it works fine, but only on mainnet it doesn't work. I created a transaction like below: const transaction = new web3.Transaction({ feePayer: publicKey!, blockhash: nonce, lastValidBlockHei...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Issues with finding element using Python Selenium I am trying to copy data from the following website: https://imljail.shelbycountytn.gov/IML. The site has two buttons, both labelled "Search." The button I want to press has the following code: <table width="300" border="0" align="right" cellpadding="0" cellspacing...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Persist data locally in react I am doing a job for college, theoretically it was supposed to be easy, instead it got complicated here... The first image is the home screen when I click to add: On the second screen I need to create a new post but there is one detail, I'm using an API to test: https://jsonplaceholde...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Need help to fix shell script to convert string to json response I am trying to convert below string which is stored inside a txt file into json formatted string High Severity Results: 0 Medium Severity Results: 1 Low Severity Results: 2 Information Severity Results: 0 Scan Results Location: Https://www.checkmarx.ab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: transter data from statefull widget to another I want to transfer the data from text field in floatingActionButton witch is thefloatingactionbutton in MainWidget to MainWidget class in to the text kind of want to give and get the data from these two class void main() async { runApp(new MyApp()); } class MyApp exten...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to get all observeEvents in a running shiny-app? I have a Shiny-app where you can create groups and subgroups from a dataframe. Because I cannot know in in advance how many groups there will be, I also create buttons and observe-Events dynamically that allow the user to rename/delete buttons. An examp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cloud Function to copy file to another bucket. Memory limit of 2048 MiB exceeded with 2050 MiB used. Consider increasing the memory limit, I'm developing a cloud function to copy files from source bucket to another buckets with different projects. The number of files in source bucket will be created around 500,000 f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create an iterator for nested structure behind Rc<>s? consider some code like this: struct Foo { parent: Option<Weak<Foo>>, some_collection: BTreeMap<u32, u32>, } struct Container { items: RefCell<Vec<Rc<Foo>>>, } struct Ref<'a> { container: &'a Container, foo: Rc<Foo>, } I need mutability...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot reshape tensor with its real dimensions I have a really complicated transformer model and i need to count MRR from scratch. (I think the problem with dataset batches (1248 = 3932) but I don't have enough expertise to solve it)* So i wrote that code (separated the problem line): def _count_mrr(self, y_true...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Best way to use a single logger in my python project, overwrite root logger or replace import everywhere? Title is a bit vague but I think my code examples make it clear. I want to start using a custom logger in a large project of mine. Currently, in every file that I use logging, I import logging and use that like ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is this integer argument giving me a pointerEvent object in JS? im passing an integer to this callback for an EventListener and it messes up the argument for some reason Function Definition: const deleteTask = function (i) { let temp = []; alert (i); // shows "[object PointerEvent]" for s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Android app code issue which i coded on snack.expo.dev i getting error at 119 row as "Parsing error: /Rohit.js: Unexpected token, expected "}" (119:11)", unable to resolve it, please help me My codes are as below, i am gettign error at row 119 of code as "Parsing error: /Rohit.js: Unexpected token, expected "}" (119...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Decline Interview for Business Analyst role? Have an interview for a BA role in 3 days. There will be a SQL test however I don’t use SQL on a regular basis in my current job and I failed a similar interview last week ( the question was on rank/partition but could be done through GROUP BY). My knowledge is pretty bas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Regex to match html tags excluding some I want remove all html opening/closing tags (including attributes) that are not present in my list const allowedTags = ['a', 'b', 'i', 's', 'u', 'sup', 'sub', 'strong', 'cite', 'code', 'del', 'em']; Example input <b><i><img src="http://example.com"/>Test<strong>Passed</strong...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why won't excel let me round down in one specific circumstance? First timer here! I have a problem that I cannot solve in Excel. In every scenario but one rounding works normally. In this unique situation, I need to round down. Examples: .65 to .6 .065 to .06 .0065 to .006 so on and so forth. HOW ON EARTH CAN I DO...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: error when applying functions like replace_na() from tidyr on labelled columns of dataframe in R I get error below when I want to apply a function on the labelled columns. here as an example I applied mean() function. library(tidyr) library(dplyr) library(Hmisc) df <- data.frame(a = LETTERS[1:5], ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create union type from array of objects I have an array of objects: const arr = [{ value: 'value1', key: 'key1' }, { value: 'value2', key: 'key2' }] What I want to achieve is to get an union type having the values of value key. type Values = 'value1' | 'value2'; How can I define the type to generate it aut...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Fabric.js IText interaction issue, moving but not editing Trying to add IText component to the canvas that will be editable, resizable, rotatable etc. It can be moved after adding, but cant be interacted in other way no matter what i do fabric version - 5.3.0 that is my canvas canvas.value = new fabric.Canvas(canvas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reuse Fragments within a Nav Graph in a multi-module architecture? Context I have a multi-module architecture, with multiple feature modules, it kinda looks like this: I have multiple feature modules that depend on a :core_library library module that contains all the common dependencies (Retrofit, Room, etc....
{ "language": "en", "url": "https://stackoverflow.com/questions/75628754", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Lost connection to server at 'handshake: reading initial communication packet', system error: 0 My customer's BlueHost web server got hacked and somehow injected with malware. That was removed/fixed by using SiteLock, but in the midst of that "fix", remote connections to the MySQL database was broken. The error: Lo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: c++: How can I read double scalar data from a vti grid using the vtk library? I am trying to read the double values from a grid in my vti file. However, the return value I get from GetScalarPointer generates a segmentation fault when I try to access any element inside of it, e.g. with scalarPtr[0]: #include <vtkSmar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a dedicated logical CPU(P) for Netpoller Goroutine? On my machine, below is the configuration: $ lscpu Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Add background image to quarto website home page In a quarto website, how do I add a background image filling the entire page but only to the home page? I have a working solution which adds the background correctly, but does it across the entire website. In the example below, I do not want the report page to have th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can't use the "use client", it broke my fetch with next.JS 13 I am a beginner in React and Next.JS, I am currently trying some small project to get used to Next.JS 13 and I tried just getting data from the API : https://www.dnd5eapi.co/ . I first fetch some data inside my page.js in the /app directory. So far no pro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to print row and column heading while printing in phpoffice phpspreadsheet I want to print row and column heading only on printed page using phpspreadsheet version and i am using xlsx . Can someone help with this please ? I tried showRowColHeaders function from phpspreadsheet documentation which only work on exc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to solve error when creating a new NX Workspace? For my new projects I want to create a monorepo with NX. Therefor I used the command npx create-nx-workspace in the cmd on Windows 10 in the directory where I want to create it. But it stops and throws an error with no message. Any Idea? Cmd: C:\Users\aerith\Deskt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628766", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: prevent default and return false are not working I'm trying to upload a file to the server but my problem is that the page is refreshing each time i click on submit even if i use 'preventdefault' or 'return false' i got the same result and i changed the console setting and find out that my first URL was http://127...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How strongly can system software interfere with R package functionality? Background: I am trying to establish a setup where I can create a persistent build for a docker image which will in turn power the core of an R Statistics process. At this point I've figured out how to install exactly the R Packages that I am r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Problems after updating Windows I just updated to Windows 11 22h2 and suddendly, when I try to use pip, I get this error. I have looked online but what I found is either not helpful or too obfuscated th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Making a game like snake but it doesn't get longer, and when I use my detection method, it always reads the fruit and player pos as 0 so it goes off The code is supposed to detect the player and fruit location, then see if they are close enough, it shoud complete the command. But when I run the program, it only dete...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run promtail as a service on Windows I would like to run Promtail as a service on Windows server. I'm using nssm to manage the service. Here is my config: config.yml: server: http_listen_port: 9080 grpc_listen_port: 0 client: url: https://example.com:3100/loki/api/v1/push external_labels: instance: abcd...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reading 3-dimensional data from many files I have many text files with data written in such a structure: #ABTMTY mdjkls 993583.17355 ebgtas 899443.47380 udenhr 717515.59788 paomen 491385.80901 gneavc 275411.91025 wesuii 119744.95306 ploppm 59145.56233 #MNTGHP mdjkls 5668781...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Mongoose Update: don`t receive callback app.get("/", function(req, res) { Item.find({}, function(err, foundItems) { if (foundItems.lengh === 0) { Item.insertMany(defaultItems, function(err) { if (err) { console.log(err); } else { console.log("Successfully saved defau...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Make postgresql query faster I have a Query that filters Events by different properties. The query was tested with 1 million events and it took 13 seconds to complete the request. There are two Queries. The first Query filters the events with pagination, like it will return the last 50 results that exists. The secon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The same repository for several BLoCs in flutter Is it a good idea to use the same repository for several BLoCs? A: It is a broad question to be asked well according to me, using the same repository for many BLoCs in Flutter is typically not advised. A repository should be created to fulfil the data requirements of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628784", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google sheet ranges Is it possible to we can pass column ranges in numbers like rows example basically if we want to count column A we write =COUNT(A:A) I want to count column a by its column index =COUNT(1:1) A: Mmm, what you can do is to create some kind of OFFSET from A1. Let's say you input the column number in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gitlab runner with docker-machine executer won't pick up any job Created a gitlab runner with the following config: concurrent = 1 check_interval = 0 [[runners]] name = "AWS EC2 gitlab runner for docker+machine" url = "xxx" id = 12 token = "xxx" token_obtained_at = 2023-03-03T12:51:47Z token_expires_at ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Disable double tap magnifying glass in Safari iOS I'm making a web browser game and I found out that double tapping in Safari iOS brings up this magnifying glass feature: I want to disable it, but can't manage to find out how. I tried user-select: none (actually -webkit-user-select: none for Safari), touch-action: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Testing in nuxt 3 (vitest/jest) I have a nuxt 3.2.3 app and i want to test it. Nuxt is supporting both Jest and Vitest for testing, but i read somewhere that Vitest is the recommended one. On the other hand @nuxt/test-utils package which should be used as well already using Jest, so why should i add Vitest on top o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What's a good way to select the steepest local maxima C#? I'm trying to find the 4 steepest local maxima (corners of a piece) in a polar coordinate plot generated from a Jigsaw Piece, example plot: My current implementation, which uses the same idea as this answer and works perfectly, but when combined with a "stee...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to prevent formidable from streaming file to s3 bucket if options.maxFileSize is exceeded? I'm trying to upload files to my s3 bucket using the nodejs formidable package. Using the maxFileSize option throws the expected error, but I noticed that the file still gets uploaded to the bucket in the background. I sus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Does onSelectOption prop need to be memoized on LexicalTypeaheadMenuPlugin? In the official mentions plugin example for the Lexical.js library, the onSelectOption callback's reference is stabilized via useCallback: const onSelectOption = useCallback( ( selectedOption: MentionTypeaheadOption, nodeToReplace:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Remove click function, but keep hover I want to remove the click function on the item with outermost li element of the html component below. But I want the list elements in the component to appear when hovering over it. In short I want the hover function to remain. At the same time, the click and hover functions of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628805", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to easily modify the UID of a Mifare Classic Card? I want to modify the UID of a Mifare Classic Mini 13.56MhZ card, in order to duplicate the one I use to access my dormroom. I believe the security of the door is only based on the UID. I made a lot of research on the web but couldn't find a precise answer. I kno...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTML table dynamically loads from a local CSV file, filter table using a dropdown list I have an HTML table that is created dynamically from a local CSV table. I added a dropdown, wish I want to filter the table from unique elements from column 2. I am able to get the table to load, no problem, and the drop down als...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Secure WebSocket Server (TLS and wss) I run a static HTTPS page on a webserver providing a valid certificate. On my page, there is a JavaScript creating a websocket connection. new WebSocket('wss://IpOfWebsocketServer'); The first thing the websocket server receives is a request from the client. But the request itse...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Visual Elements not updating in real time with Taipy GUI Is it normal that when I attempt to add a value to my list or change my data using a button, I do not observe any modifications on the GUI? Despite this, after refreshing the page, the accurate list is displayed. from taipy.gui import Gui import pandas as pd ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Conan gives error in getting the dependencies To get and build the dependencies with conan i gave this command: conan install .. --build=missing --settings compiler.libcxx="libstdc++11" it resulted in this error, ERROR: The default build profile '/home/sohail/.conan2/profiles/default' doesn't exist. You need to crea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 'When a BPF activestageid is modified' trigger in Power Automate not triggering - using When a row is added, modified, or deleted trigger I want to trigger my Power Automate flow when my BPF moves to 'Approve' stage, but the trigger just isn't firing. Here is my trigger. (note: in this version I've even set it to t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: esp32 component can not identify include of main esp-idf library in vscode I am trying to ad lvgl library in esp32 project. I have done what first parts of the guide said about git cloning of 2 repos for lvgl and esp32_drivers. These are now under my /component directory. Lvgl is set to 1 in conf and also i have unc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Symfony : Erreur with try catch it's the first time that I publish so I don't know if I respect all the modalities. Please excuse me in advance. When a user registers with an already registered email I get an error because my email must be unique. So I have to intercept the error to avoid which crashes my site enter...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628826", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS Athena is creating an extra empty row per result I have 4 JSONs stored in an S3 bucket which I'm using to populate a table in Athena; however when I query all (select * from [table_name];, an extra empty row is created for each of these JSONs. I was wondering why this happens, and if I can prevent this (beyond a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shopware6 Api Autnication via postmann I am trying to get authenticated via postman, curl or wget using shopware admin Api. However I am not able to get through. 1020 code! Could you please check where the problem is. * *What I have? url to admin panel Shopware 6.4.11 version usrename password access-key id ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Inject values from maven settings file My maven settings file looks like this: <profiles> <profile> <id>artifactory</id> </profile> <properties> <TestProperty>test_property</TestProperty> </properties> </profiles> <activeProfiles> <!--make the profile active all the time --> <activeP...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I add a list of input values to be recognised instead of just the one in javascript? The code below works fine but I would like to know if I can add more values to equal true like this.. if (text_value.includes("north", "east", "south", "west" ) === true) or something similar? I'm terrible at JS so go easy on me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to solve driver issue? Exception : No dongle found / Windows 10 / Python 3.11.0 I hope to post at the good place to solve my problem because I did a lot of tries and nothing was solving permanently my issue. Worst now I can't repair it anymore. The use system is Windows 10 Pro 21H2 / 19044.2604 Build and it is m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cannot run a command from a PyQt window I'm trying to write a small GUI (with PyQt) with a few buttons that run commands I use often. I want these commands to be executed in the terminal from with I launch the GUI. On Linux, from another terminal, this can be achieved with the_command > /dev/pts/x. Here the code I w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628841", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: cosmo upgrade to 5.0.0 fails bean creation for vertx-web I am trying to upgrade my com.visa.commons.cosmo dependency to 5.0.0. I see that it automatically brings in io.vertx dependency of 4.3.7. My application compiles fine but when I try to run it, it throws below error while bean creation. Exception in thread "mai...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628845", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add form in root form group, unit test case My concern is to writ the angular unit test case jasmine for the following line. this.rootFormGroup.control.addControl("loginForm", this.loginForm); Please help me to writ the test case. Thanks in advance.
{ "language": "en", "url": "https://stackoverflow.com/questions/75628847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Webpack 5 exports not respected in VSCode I have a local module with webpack 5 exports defined as: {... exports: { '.' : './src' } } It is respected by webpack, but VSCode always shows the root of the imported module in suggestions. Any reason and way to fix this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75628849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add a Click event on a CheckBox Listbox in Powershell WPF? I'm looking for a way to add a click handler inside a CheckBox Listbox in Powershell WPF. I need to pass the checked items in the listbox to an array variable whenever any checkbox gets checked/clicked. Is there any click/mouseLeftButtonUp invocation ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628850", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: sharing the result of search in another component in angular 13 I have a home component where you can find a search filter and I want display the result of this search in a table in a second component. how can I do it plz ? note that the coponents are not child and parent component. thank you in advance A: Make a s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Robot Framework does not update creation date ScreenShot Generate an automation of a web page, which at the end made a "Capture Page Screenshot", the problem is that if the image exists previously, it is not updated with the new image, please help. I need you to tell me if there is another way to capture a screensho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628853", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Remove Gatsby/Gatsby-Cli - previously installed with brew I want to remove my global version of gatsby from my M2 Mac. When I do this: gatsby -v Gatsby CLI version: 5.0.0 Then I do: where gatsby /opt/homebrew/bin/gatsby Then I do: brew remove gatsby Error: No available formula with the name "gatsby". Did you mean ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Uncaught Error: Class "book" not found in C:\wamp64\www\projectindex.php but IDE can define it PHP project, trying to connect to database and persist object. Object can't be seen by the compiler for some reason. <?php require __DIR__.'/vendor/autoload.php'; use Doctrine\ORM\EntityManager; use Doctrine\ORM\Tools\S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unpacking a list into multiple variables Is there a way to unpack a list of lists, but into multiple variables? scores = [['S', 'R'], ['A', 'B'], ['X', 'Y'], ['P', 'Q']] Into: a = ['S', 'R'], b = ['A', 'B'], c = ['X', 'Y'], d = ['P', 'Q'] Seems like something that should be quite simple and yet I'm unable to find a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Adding lines to allready exisiting file I am currently working on an optimization problem where I want to add some information from each IPOPT iteration to a file by using a callback function. I am able to collect the information I need but when I try to add it to the file it only adds a few weird iterations. This i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628858", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: how to free disk space from docker container in vm ubuntu server Having tried various ways to free space nothing got freed but just a few hundred kb claimed for my vm ubuntu server. Now, it's close to the status no sufficient space to run properly. Initially, I installed docker with .yml for postgres and redis image...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Cypress - The "original" argument must be of type Function After I imported this package like this: import zephyr from 'zephyr-scale-api'; Without the import, the tests run properly. And I wanna run my test, I got this error message: The following error originated from your test code, not from Cypress. > The "o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75628862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }