text
string
meta
dict
Q: Axiom support within Spring WS Spring has removed the AxiomSoapMessageFactory in latest version of Spring Web Service JAR. We have our existing app which uses previous version of Spring WS. Please let me know what options I have when I upgrade Spring for backward compatibility. I googled and didn't see any possible ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608854", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I make many to many relational tables nullable in Prisma? I have these tables: model User { @@map("user") id Int @id @default(autoincrement()) firstName String @map("first_name") lastName String @map("last_name") followers Follows[] @relation("following") f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Php Webpage crashes Every time I try to run Ldap_connect() Function I was trying to connect to Ldap Server using a simple Code. It is as follows, <?php // Ldap auth $host = 'ldap.forumsys.com'; //CHANGE THIS TO THE CORRECT LDAP SERVER $port = '389'; $password = "password"; $ds = ldap_connect($host, $port); //echo $...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Opening file in share mode as in WinAPI I'm trying to open a file in FILE_SHARE_READ and FILE_SHARE_WRITE modes with the native IO library, but it seem to not exist as an option. I tried to use the OpenOptions struct but it seems to lack the option of shared read/write. Does anyone know a way around without using wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deploy ServiceAccount, ClusterRole & ClusterRoleBinding failure My NodeJS microservice is deployed to k8s cluster. I would like this microservice to access the k8s API server. For that, I guess I need to create a ServiceAccount for it. So I did this: apiVersion: v1 kind: ServiceAccount metadata: name: my-app-serv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I make a div appear on the click of a button I wanted to darken the screen on button press but I can't figure out how. I tried making in image show when the shop is open, and close when it's closed. I made a div to darken the screen with the following class: How would I fix this and how can I make it better?...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to check if a package is installed, and if not install and load it? I need a command to check if a package in installed in R and if not then installs it and load the library. Probably like If package="xyz" is installed then "do nothing" else "install package" and "library" I tried system.file(package="xyz"), but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python setup.py create namespace without corresponding directory I have a library with the following structure: ├── mylib │ ├── lib │ │ └── __init__.py │ ├── tools │ │ └── __init__.py │ ├── py_script │ └── __init__.py and I would like to do an editable pip install such that I can use mylib in other ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: With HTTPS, when a server sends data to a browser, how is it encrypted? With HTTPS, when a browser sends data to a website, it's asymmetrically encrypted with the public key, and decrypted with the websites private key. I'm guessing it's the service provider that actually does the decoding, so Route 53 if you're usi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: My exit game button stops working after i press the retry button in really quick succesion I made a turtle race game and added a retry button and an exit button. Both of them work, however, I have found that if you click the retry button in quick succession a couple times and then clicking the exit game button it do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608870", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: R Exact and Fuzzy joins using multiple columns I am working on data that contains a list of treatment providers in one file and rural-urban codes in another file. The ultimate goal is to link the rural-urban codes to the treatment centers' locations via county and state locations. I have tried to do this with fuzzy ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608872", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: List Jira information on Talend (TOS) I'm trying to list all JIRA Cloud issue with project information with Talend (TOS DI 8.0) in a SQL Server Database. but the tJiraInput seems not working. I don't know if it's because of the tJiraInput or my JQL Has anyone ever succeeded ? How ? Thank you for your help ! Luderic ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why react using the term "node" with null,undefined,true and false? it is not clear to me when I read in react doc (beta) that : null, undefined, true and false is empty nodes ? I know this not going to render anything if I pass it as a children to react element which is empty but why to call it nodes any reasons? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Outputting the Start Date & End Date Given the Week Number and the Year I'm having a bit of trouble trying to get my =arrayformula() function to output the right response and would appreciate some help! Here is the scenario: Users lock in their data metrics in the '!Revenue Log'. The TempDataSet sheet runs a query o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608876", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i'm trying to create a live chat support with next js and firebase I'm trying to create a live chat support with next js and firebase and I don't know much about multi-tenancy or how each users can get a unique link to install the widget on there website. I don't really know the right term for it since this is my fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pydantic BaseModel schema and instance serialization/deserialization not working I am attempting to serialize a Pydantic model schema and then deserialize it in another script. The serialization process is working as expected, and it has created two JSON files: model.json and data.json. In test_save.py, I defined th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608885", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Remotely Reset Managed Device as if Just Provisioned Is there a way to remotely "reset" a company owned device to the "just finished setup" state? Some of our users find a way to log into different systems (like Samsung and Google accounts for S series devices) and we want a way to reset the device to a "guaranteed ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608886", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Featuretools group by issue I have a set of dataframes/entity set for rugby league/sports data: players, teams, venues, games, team_stats and player_stats players: player_id, player_name teams: team_id, team_name games: game_id, venue_id venues: venue_id, venue_coordinates team_stats: game_id, team_id + relevant tea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use a button's attribute in an if statement (Tkinter) I can't find anything online for this. I have made a button which has an image on it. The button changes its image every time you click on it. The problem is that I want to use the image in an if statement. What I mean is: if (photobutton's' attribute "ima...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Works in localhost but not working in github pages I have deployed my angular app. When I tried to select json file name from dropdown menu and tried to read with handler of dropdown menu, I got this error in github.io page. In localhost, I have no issue regarding this and it works well in localhost. Why does it wor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jupyter Notebook Dark Mode -> Reset to Default By loading conda install -c conda-forge jupyterthemes and changing theme with: jt -t theme-name You can for example apply a dark mode for jupyter notebook. What is the easiest way to set it back to the default white environment? Loaded dark mode for jupyter notebook
{ "language": "en", "url": "https://stackoverflow.com/questions/75608896", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Postgres DB can't find all rows that fall under conditions I have a table, for example create table test ( id bigint, test jsonb ); I inserted two rows INSERT INTO test (id, test) VALUES (1, '{"a": 10, "b": 20}'); INSERT INTO test (id, test) VALUES (2, '{"a": 9, "b": 20}'); Then I executed a simple que...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608897", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Axios and NodeJS, download image file From frontend I'm calling to an backend service with: return axios({ method: 'post', url: someUrl/${payload}`, responseType: 'stream' }) .then((resp) => resp.data) .catch((err) => err); And I'm receiving a file like this: "����\u0000\u0018Exif\u0000\u0000II*\u0000\b\u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608899", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React router dom resetting path for any path with a trailing "/" I think? I have a react app with a node/express backend that redirects users from https://example.com to https://www.example.com. This all works well, however I'm having an issue with just two routes. My app routing structure is below. However, for two...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608900", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Forecast a value n steps ahead (in statsmodels) I have kind of a time series forecasting problem; I have a very typical time series, but I am not interested in the forecast for the next time step or even over the next n time steps (classic multi-step forecasting). I am interested in the point value of the time serie...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608904", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to reactively subscribe to URL change and get URL in Angular RxJS? I have application with routing, which changes by buttons click (see screen below). I'm trying to get URL into text box every time it's changes. How to do it? So far I been able to attach to ActivatedRoute.queryParams , but it fires only if there...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608906", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React JSX formatting values like template filters in Django I am fluent in Django but new to React. I am building a simple React app that displays numeric values. I want the values to all be displayed in a standardized way, e.g. currency decimals formatted as $#,##0.00. I found this question on Stack Overflow and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608909", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PermissionError: [Errno 13] Permission denied: 'celerybeat-schedule' When I dockerize celery worker for my django project without root user I'm getting this error. PermissionError: [Errno 13] Permission denied: 'celerybeat-schedule' My Dockerfile is: FROM python:3.8 ENV PYTHONUNBUFFERED 1 ENV PYTHONDONTWRITEBYTECODE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608913", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error : When open a word document using openxml in c# Getting the below error message when open a word document using openxml in c#. System.UnauthorizedAccessException: 'Access to the path 'C:\Test\OpenXMLTest.docx' is denied.' Please advise Word document is not saved, error on close the WordprocessingDocument
{ "language": "en", "url": "https://stackoverflow.com/questions/75608914", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Protect and unprotect workbook structure I am trying to create a macro to Unprotect (so I can run some of my macros) and when the macro ran successfully protect the workbook structure + worksheets again, protecting the workbooksheets works fine until I added the (un)protect of the workbook structure, it is giving me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608916", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hierarchically mapping in Pandas I have a data frame and in one column I have multiple different preparation instructions (bagging, bubble wrap, boxing, etc.). I want to map them to another set of instructions but keeping hierarchy in mind such that what is first defined should take precedence over something that is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608917", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: I want to calculate Covariance manually using R Without using cov() function,I want to calculate Covariance manually using R I want to calculate Covariance manually using R Without using cov() function A: The equation of covariance is: covariance Before we get the covariance we would need to calculate for the mean ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608923", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use a value from a text file inside of a Google Chart's javascript guage? Good afternoon! I'm very new to javascript, php, and HTML, so I'm hoping someone can point me in the right direction! So I am trying to create a gauge for a monitoring dashboard I'm creating, and am trying to pull a value from a text fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608925", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: play video with secure link in laravel ffmpeg I convert my video file to m3u8 with ffmpeg and upload in download host. I have no problem when I want to display Blade in Laravel without a secure link. Now, I am asking my friends to help me display those videos using a safe link, something like this link: https://dl4....
{ "language": "en", "url": "https://stackoverflow.com/questions/75608926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# AWS Lambda Reading Encrypted AWS S3 Excel to CSV (AES) We have some S3 buckets in AWS where we store csv files. These files are "encrypted" using our own routine (not truly an encryption, but I digress). Encryption on the buckets themselves is NOT enabled. When our Lambda's (which are built on c#/.NET 6) ingest t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608927", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Oh My Posh custom theme backgound_template color being ignored I made an Oh My Posh custom theme for my PowerShell prompt. All the code works as expected, except background_template condition is NOT able to set the background color when the condition is true. It correctly detects the condition as true, however, co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608930", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Specified permission for specified member with argument in Textchannels! discord.py I'm coding right now on a system for creating text channels with specified permissions for members. I got a error which I don't understand. My Code: @app_commands.command(name="create", description="creates marketplace channel") ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608931", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Fail to extract gender information from a single name in R I have a problem extracting the gender information from the first name. I have a bunch of email addresses and I used one regular expression pattern to extract the first name information. It contains some non-first names information and then I need to tell wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608934", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: subclassing int in a Cython extension type using __new__ I want to cythonize code that uses a subclass of "int", which behaves actually like a set (similar to C++ bitset). The pure python object is instantiated with __new__: class BitSet(int): def __new__(cls, intlist=()): val = 0 for k in intlis...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608936", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pipe to a variable with ssh? Would it be possible in bash to create a variable and use this variable in the pipe? So something like this: MYCOMMAND="ssh user@host 'tee -a Log/my.log'" echo "Hello" | $MYCOMMAND Doing it like the example above gives tee -a Log/my.log: No such file or directory How to do this? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608939", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gitlab CI/CD AWS S3 Upload Pipeline fails on dev branch I have a gitlab repository containing a landing page written in nuxtjs. The pipelines aims to build the project, generate static files then deploy them to aws s3 buckets. The following CI/CD file works perfectly on the main branch, but it fails on the developme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608941", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to open chrome devtools console with TypeScript compiler? Currently, I have this dev script running : dev: "npx tsc --watch", What I am trying to do is similar to running this command: node --inspect dist/app.js which will open up chrome devtools, so I can easily destructure complex big objects but I cannot p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608945", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send data from a user input field to a Next.js api route? I am trying to send data from a user inputed input box on a client side webpage to a Next.js api route. However, when I send the input to the api route, the data does not populate in the api. Here are the steps I am taking: * *POST a url typed in by ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608948", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MassTransit Transactional Outbox Inheritance Events I have a class which inherits from another class. Both of this classes are events and I consume them using MassTransit and RabbitMQ. Example: public class EventBase {} public class CreatedEvent : EventBase {} public class CreatedEventConsumer : IConsumer<CreatedE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: price and title not matching of amazon scrapped using puppeteer const puppeteer = require('puppeteer'); async function pricelist (page) { const title = await page.$$eval("h2 span.a-color-base", (nodes) => nodes.map((n) => n.innerText) ); const price = await page.$$eval( "[data-component-type='s-s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608950", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Wordpress Menu Links - How to Highlight 1 Menu Link from Multiple Pages I have a question about Wordpress Menu Link items & pages: Quick Overview I have a question about getting Wordpress to associate 1 Wordpress menu header link with multiple different Wordpress pages. Background: To split test our homepage, we cur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608954", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I show my Navbar.Brand image on mobile screens? I have created a Navbar using React Boostrap however the brand image disappears on mobile screens. See below. Navbar on desktop Navbar on mobile As you can see the logo goes into the menu when on mobile. How can I overwrite this so that the logo is on the nav...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608955", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Undocumented behaviour in .rsrc section of PE In Microsoft's documentation for PE Format it is mentioned that Resource Directory Strings are stored before Resource Data Entries. The general structure of the .rsrc section is: * *Resource Directory Tables (and Resource Directory Entries) *Resource Directory String...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Anyone know how I can make a 2nd plot of this indicator at the same time but on a different time frame Im looking at the following indicator (the code is public): https://www.tradingview.com/script/tqitSsyG-Bollinger-Band-Width-Percentile/ I am trying to add a 2nd plot at the same time as the original of the main BB...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What functions can I use to investigate the nature of a column in a dataframe to see why it is causing unexpected behavior with the table1 function? Why is the table1 giving nonsensical output? I have dataframe data and column named $date$ which contains numbers 2015, 2016, 2017, 2018, or 2019. The table and summary...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: Login sessions require session support. Did you forget to use `express-session` middleware? Passport.js is working not sure why using passport.js trying to get my log in to work. not sure why it itsnt working. I am making a chat app so im also using socket.io. index.js adding passport for it to work, also usi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Open screen from script in react-native I'm writing a react-native app that in one of scenarios has to show screen with details on event, that is triggered by background js script. App uses NavigationContainer, the screen I need to pop up is Profile, where I need to pass custom parameters. const [winId, setWinId] = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608963", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to extract and save an embedded PDF I'm trying to extract and download this PDF: https://www.piggyback.com/online-guide/final-fantasy-x/it/ I've tried multiple solutions but nothing seemed to work. Do you have any suggestions? Thanks in advance :)
{ "language": "en", "url": "https://stackoverflow.com/questions/75608964", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Docker spring-boot environment variable to file: better implementation I have a spring boot application, which picks up a series of properties from a file, and which path is set as an environment variable. So when I start the spring boot application, I pass the following variable: --other.properties.path=external/di...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Animate a circle along a path curve in SwiftUI So I am trying to create, what I thought was going to be a simple animation. I have a circle (technically a path) that fills up based on a percentage. Sort of like SwiftCharts doughnut chart. I'd like to have a ball at the end of that percentage that animates along the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to change the name of the EC2 instances created by an AutoScaling Group? I am new to CDK and I don't manage to find a way to change the Name tag of the EC2 instances created by an AutoScaling Group when used as a capacity provider for ECS. Here is my code: const cluster = new ecs.Cluster ( this, "ECSClus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608972", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Upgrading Cucumber 4.5.x to v5.0.0 I'm trying to upgrade an old test framework with Cucumber 4.5.x to a newer version. The project is a Maven, IntelliJ, Java, Selenium and Cucumber project. But it seems that Cucumber either tries deliberately to mislead me, or that their documentation is incomprehensible to me. Firs...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: ffmpeg to create an arbitrarily sized grid of gifs I would like to create a composite gif using ffmpeg from a list of input gifs found in some directory. Currently, I am manually using filter-complex to concatenate these gifs vertically and horizontally to create a grid of gifs (e.g. 4 gifs laid out as a 2 by 2 grid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Open CV python error when drawing rectangle over reference image I'm following this tutorial on YouTube on how to use object detection. I am able to detect the object in the image with an accuracy of 100% percent, but when I try to draw a rectangle it gives me an error message: in <module> cv.rectangle(haystack_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I display a line of text from a CSV file into a website? I have the below code, trying to create a basic truth or dare app, as a fun / silly way to learn to make a website. I have a basic version that's working, but at the moment the javascript sets the dares on the webpage. Was hoping to have it pulled from...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: get rid of folder prefix in declare module typescript type files So my project structure looks like this: src/ button/ j-button.ts j-button.test.ts And I build my project in vite which outputs dist/ j-button.js then I have "types": "index.d.ts" in my component lib package.json But my index.d.ts file t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MYSQL CTE Checking for Circular Reference on managerial hierarchy but not getting any output I have two columns, one for employee position IDs and one for Manager position. Iam trying to check for any circular reference within the hierarchy structure but I am not getting any output. I also need to make sure the quer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python library to calculate a flow from sink to source over all possible paths I'm working on a social graph. Nodes are people, and the edges are the strength of the connections between people. I need to calculate how strongly two people are connected by summing all possible paths between them. One problem is dealin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Word Interop call to SaveCopyAs throws COMException "That method is not available on that object." In the Office 2013 Primary Interop Assemblies, the Word interop assembly has a method SaveCopyAs. (This method is not present in the Office 2010 PIAs.) I need to call this method in a C# VSTO Word add-in, but it fails ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Random symbols instead of output in assembly program Here is the code: model tiny .code .startup mov dx, offset tm mov ah, 0ah int 21h mov dx, offset testm mov ah, 09h int 21h mov dx, offset tm add dx, 2h mov ah, 09h int 21h ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JSON File update 2 values without break its structure or other values Hello I have the next code to try to update a JSON file: with open('orderprepare.json', 'r') as f: finalorder = json.load(f) finalorder['ItemList']['Quantity'] = 500 with open('orderprepare.json', 'w') as f: json.dump(finalorder, f) Bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608998", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: nested json sql I have a json column in a sql table called "report_json ". The strucute of json is as below { "drugs": { "Codeine": { "bin": "Y", "name": "Codeine", "icons": [ 93, 100, 103 ], "drug...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Access to XMLHttpRequest at 'localhost:5000' from origin 'localhost:3000' has been blocked My ReactJS app cannot successfully send form data to Python flask backend, even with a CORS statement in the backend. This is the error message: Access to XMLHttpRequest at 'http://localhost:5000/' from origin 'http://localho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How do I add secret file credentials to a job in jenkins casc? Currently I have a job in my jenkins casc instance which accesses credentials as follows: freeStyleJob('myjob') { wrappers { credentialsBinding { usernamePassword('userVariableName', 'passwordVariableName', 'credential-id') ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609001", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: postman gives Missing X server I am running ubuntu 20.04 LTS with vncserver. I get into it with a ssh tunnel using vnc viewer. I have X11 installed. GUI apps like xdm, xclock, and visual studio code work with no issues. But when I run postman I get the below error. Can anyone help, please? one@work ~ % postman ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: node and tcp connections I'm throubleshooting a scenario with a node sever where there are too many ESTABLISHED connections, even when there are no active requests. This from a test environment but same behavior is found on PROD. This is the number of Established connections on each IP of the test machine: 572 127.0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I automatically change the version number in the setup.py file? I am packaging a django app in "whl" format with python setup.py bdist_wheel command. setup.py: setup( name="myapp", description="Test app", python_requires='>=3.7', version="0.1", include_package_data=True, zip_safe=Fa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mismatched Tag ExpatError when using office365 package in Python Jupyter Notebook I get a mismatched tag error when running a simple Python script. I am interested in accessing my company's Sharepoint site, and downloading some files automatically. I am using the Office365-REST-Python-Client. I am compling the code ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how do i fix(udpate) this code of my event handler in react Js i use to have the following handler for updating my local state and for multiples inputs in my react component const [input, setInput] = useState({ name: "", minW: "", }) const handlerInput = (e) => { setInputs({ ...inputs, [e.target.name]:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: C++ Implicit conversion operator, Visual Studio Intellisense shows error, but code compiles and runs fine I have a String class I made myself that has the following constructors and implicit operators defined in it. //Constructors String(System::String^ String, bool CreateGCHandle); String(wchar_t Character, int Cou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609016", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to change the order of elements in an array using a given index I have a long list of tuples in an array of size (264, 1, 3) which I want to reorder using a given index (for example, move elements 30:44 to the bottom, move the first value to the 56th value, etc.) I tried to create an index that looks something l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609018", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: VS Code Debugging with lldb-mi does not print to terminal Running VS Code in Windows and configured it to compile/debug with clang and lldb-mi when I debug and set breakpoints going step by step I cannot see the output in debug terminal or terminal. This is the code I use for testing: #include <iostream> #include <v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609019", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can you override hashcode using only 1 field? I was wondering how many and which fields of an entity you should use while calculating your hashcode, I thought that if the only purpose of hashcode/equals is to define if objects are equals or not, than any unique field should be enough to define that objects are equal...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Append new entry to database with line breaks and without deleting previous data Currently, I have an update form which stores my student's grade data in my sql database. Subsequently, I can pull that data up on their 'profile page' in a pre-populated (text area). I am storing the Class, Semester and Grade as a sing...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Error: Could not find or load main class Main but Main class have the same name and has main void I'm new in Java, I am experienced in C++ but I don't know what is going wrong with this Main.java: public class Main{ public static void main(String[] args) { SumarDos sumarDos = new SumarDos(); suma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is std::vector ill-formed? address sanitizer goes crazy when I try to manipulate with std::vector<std::aligned_storage<sizeof(T), alignof(T)>> vec: * *Sometimes placement new ::new(&vec[some_index]) T(std::forward<Args>(args)...) at the element vec[some_index] of the vector vec works well, unless T is a small std:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609026", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: TensorFlow error : TypeError: 'int' object is not iterable - I can not find where is the problem first I am a greenhorn in ML, so its probably a stupid mistake :) I downloaded this dataset: https://www.kaggle.com/datasets/muhammadtalharasool/simple-gender-classification Turned to variable gender_2 Use OneHotCode: ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Disable ColorFilter/Opacity on Stack child CameraPreview is my background on Stack widget. I want to set a black opacity or color filter around center container. Expanded( child: Stack( children: <Widget>[ Center(child: CameraPreview(_cameraController)), Center( child: ColorFilte...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Beginner Python - Little help on simple code I am super new to Python and programming and am trying to digest some basics I've learned. I am stuck on a running a question in python and returning differing statements depending on the reply - yes/no. Here's my code; answer = input('Would you go on strike') if answer =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609030", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: javascript solona phantom plugin hiding estimated changes transactions how can we hide the changes written in the estimated changes section in the solona phantom plugin. if you want, I can also throw the source code
{ "language": "en", "url": "https://stackoverflow.com/questions/75609031", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Problem while solving a minimal 1D Poisson-Nernst-Planck equation I am trying to solve the Poisson-Nernst-Planck equation in Python with the library FiPy. It is basically a set of equations that describes - in my example - the separation of two ion concentrations in a solution with a potential gradient. Like mixing ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: Python FTP download fails with "421 Timeout - try typing a little faster next time" I have my domain on a server and the server runs a script each night to perform a backup. The backup is saved on the server in a specific location with the date appended to the end of the filename and in a .tgz format. My goal is to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: variables should be passed by reference error in php I am using php 7. I have a php code as shown below in which when user enters all 5 values in both text fields at Line B and Line C and hit the save button at Line D, I am getting the error "Only variables should be passed by reference at Line A". The goAhead() met...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Add , update Drools rules dynamically I intend to create a data quality stream process with Java to read data from Kafka and apply some quality rules. The main expectation is to add new rules or update an existing one at runtime, dynamically. So I should not stop the process. Is it possible with Drools? Let’s say th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't Connect two fpga's Zedboard using cisco switch I tried to connect two cartes fpga zedboard using a cisco switch catalyst 2960 but it wont work , i assigned for each fpga the adresses 192.168.1.11 and 192.168.1.12 and 192.168.1.1 for the switch , i could ping from pc to any of the two cartes using the switch bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609037", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Autodesk Viewer Integration I am trying to integrate the Autodesk Viewer into my website. I just want the users to see 2d or 3d view of files stored at my account of Autodesk. I went through the whole documentation but it's a bit hard for me to understand how is it working. There are 4 steps: 1) Authentication code ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am trying to code my own derivative calculator in Python but it is losing accuracy after h<1e-7 I am trying to program some simple math concepts in order to familiarize myself with the Python language, and one of the first things I tried was a derivative calculator, but I ran into a problem as values got smaller a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609044", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Simulating rounds of coin flipping that stops when it gets a significant result, and plotting the probability of a significant result I have a question on a problem sheet that I'm not sure how to answer: "An experimenter is flipping a fair coin (p=0.5) in a multistage experiment with rounds of 10 coin flips (stoppin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609045", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I get access to internal UBER api or the private api? I am building an app, it is an app that combines an already existing app with uber app, meaning I should be able to open and fully have full data of uber drivers and users in order for our app to manipulate this information and then use it to match uber w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609046", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I enter the trade without waiting for candle closing in Pinescript Strategy? I have a strategy based on rsi , macd , ema and ADX. I trade with small profit rates. But when the conditions are met, it enters the trade at the close of the candle. I want it to be processed as soon as the conditions occur, like a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change in vue composition api I try to emit value change in new Vue Composition Api, like this <template> <select @change="handleChange()" > <option value="text">Text</option> <option value="image">Image</option> </select> </template> <script lang="ts"> export default { name: "Select", setup(p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to disable closing a React Navigation drawer on overlay click I don't want to close drawers if the overlay is clicked. Is it possible to disable that? Or, better, remove the overlay all together? Currently, I am just making its color transparent but it would be better if I could just get rid of the overlay. So ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609050", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AttributeError: 'Vehiculo' object has no attribute 'Menu' Hola estoy empezando en python y quiero saber como puedo hacerle para mandar llamar desde una subclase los metodos que contiene la clase madre esto es lo que tengo: import pymysql class Vehiculo: def init(self): self.conexion=pymysql.connect(host='numeritosav...
{ "language": "es", "url": "https://stackoverflow.com/questions/75609053", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django ValidationError not being raised; key not present in cleaned_data I have the following form fields on a ModelForm subclass: forms.py class ProjectUpdateForm(ModelForm): start_date = DateField(...) due_date = DateField(label="Due Date", required=True, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get Mouse Cursor Position on Form in a Python FMX GUI App? I've built a simple Form using the DelphiFMX GUI Library for Python. The Form has a MouseMove event attached to it. What I basically want is the X and Y coordinates of the mouse on the Form when you move the mouse around and then display the coordinat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75609057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }