text
string
meta
dict
Q: Canvas Visibility Works Only First Time I have the following XAML: <UserControl.Resources> <!-- Reference: https://stackoverflow.com/questions/5495446/setting-the-visibility-of-an-element-to-collapsed-when-storyboard-completes-usin --> <Storyboard x:Key="FadeIn"> <DoubleAnimation Stor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to resolve ''Support for experimental syntax 'jsx' isn't currently enabled"? This problem occurs when I attempt to run unit tests with React Testing Library using Jest. I'm working on a React-TypeScript project and in the currently testing .tsx file have some images with .svg extension. When I try to run npm run...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What could be the reason for the error "SAVED_STATE_REGISTRY_OWNER_KEY"? Good afternoon, I am writing an application for working with the network on jetpack compose using a clean architecture, and I encountered an error java.lang.IllegalArgumentException: CreationExtras must have a value by `SAVED_STATE_REGISTRY_OWN...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pandas compare rows I have a question about comparing rows in dataframe. Sorry if someone already asked that question, I can't find a solution to it. For example, I have such a Dataframe: A B C Group_id 1 A-1 B-1 C-1 1 2 NaN B-2 C-2 NaN 3 A-2 B-2 C-2 2 4 A-3 B-4 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to correctly refresh aws credentials with Python I'm trying to use the RefreshableCredentials module from botocore in order to manage automatically the credentials update. import boto3 import botocore from botocore.credentials import RefreshableCredentials from botocore.session import get_session def get_aws_cr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dataframe : replace value and values around based on condition I would like to create a filter to replace values in a dataframe column based on a condition and also the values around it. For exemple I would like to filter values and replace then with NaN if they are superior to 45 but also the value before and after...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Error: Cannot find module 'tslib' with my own library First of all, I'm not at all familiar with the typescript configuration file, so it's very likely that the problem comes from there. I just published an npm package, but when I want to use it with simple JavaScript, I get the following error: "Error: Cannot find ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why ASP.NET-Core web & api is consuming more memory over server and how can I reduce it? I'm using ASP.NET-Core MVC for web and api. API is being used in ASP.NET-Core MVC project also but after upload to server it's using too much memory and may create problem in future to hang or slow down the server so can you ple...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MUI TimePicker Automatic changes 3digits time to four with adding 0 at start position I want the MUI timepicker works like Goodle Calendar picker. Should be able to type in "430p" instead of "0430p" to show 04:30 pm. I have some problems with MUI masks and the implementation. First, when I set moment format like 'h:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CMake Error at build: Missing item in FREETYPE_LIBRARY I am trying to install a tester program (https://github.com/o-reo/push_swap_visualizer) on my Microsoft Visual Code running on wsl-ubuntu. The developer of the program says that in order to install, I need to clone the program from a github and then run the comm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flip the pairs using loops in python Please write a program which asks the user to type in a number. The program then prints out all the positive integer values from 1 up to the number. However, the order of the numbers is changed so that each pair or numbers is flipped. That is, 2 comes before 1, 4 before 3 and so ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: "Invalid request error" while adding provisioning hook in IOT provisioning template creation Provisioning template creation is done successfully, but provisioning hook is not able to add. I tried adding Lambda invoke permissions but it was throwing me an error. How can I add lambda invoke permissions for this templa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to define a runtime variable in a control-M job script using if else statement I am trying to create a control-M script that depends from the environment, so i am trying to define a variable called "folder" that gets a value, according to the env (where the job is executed) and that variable "folder" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bash script - how to create dynamic value This is bash script #!/bin/sh filename=$1 path=data/$filename/$filename.csv echo $path aws s3 cp s3://bucket/key/$filename.csv $path we written it for based on input parameter (filename), read the file from s3 bucket and move to our local directory. for example sh demo.sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wordpress migration loses icons I have a wordpress website to migrate to another server. At the moment I am testing the result of the migration that is done using All In One Migration plugin. You can see here the original website instead here the result of the migration. Beside minor things like email addresses and ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Does there exist any predefined Observer in Boost odeint for Cpp for all kinds of error handling and warning messages? Like solve_ivp or odeint in python, which shows warning messages if there arises any discrepancy during runtime, in Boost odint we need to create observer for that. I just want to know is there any ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: SalesForce - How to get list on tables/entities with their numbers of records using SOQL I would like to push all NOT EMPTY objects/entities/tables from SalesForce to the Azure Data Lake. I'm using SOQL, and the only way is to use "SELECT QualifiedApiName AS TableName FROM EntityDefinition" within Lookup activity an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Download GeoJSON-Map from ArcGis-Server I'm trying to download a map of all roads in the German state of North Rhine Westphalia in the GeoJSON-format. I found an ArcGIS-hosted server using a REST-Api and tried to understand how it works but as I am completely new to using these services, I might have made a mistake ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554715", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Updating a reactive 'value' using itself in R Shiny I am trying to build a dashboard to keep track of my groups bugs in bugzilla. The query to retrieve this data is slow, so I would like to only retrieve changed bugs and update a local copy. I have a function 'get_bugzilla' which returns everything, or if provided a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Html button calling a rest get api This is my html code In this Code i call my REST POST API by button "CALL API WRITE" with callAPI fuction that work great, but i don't know how to implement REST GET API by button "CALL API read" with callAPIread fuction. I have implemented the fuction callAPIRead but now it not re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't dynamically map ports of backend and frontend Docker containers after scaling ,since ports are dynamically changing. Im using composer So guys,basically my task is to deploy a WEB application (SpringBoot backend,React+ViteJS frontend) into docker containers, which I've already managed to do. But they all need...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554721", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Angular how to update specific row in JSON array based on some condition Below is my Json array const ELEMENT_DATA: Emplyee[] = [ {name: "john",salary:''}, {name: "bill",salary:''} ]; in Angular or type script I want update the specific row in above Json based on value of the name. Example: if "nam...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Altering and filtering the output of react-dom (next.js 13) I am using Next.js. I want to wrap each single character rendered in some components with <span> tags; I want these span tags to have some style attributes, in order to render a mosaic animation. Each letter should fade in, or fade from one color to another...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Facebook pixel disablePushState not working anymore The disablePushState used to allow us to block the Facebook pixel from firing for history changes in a single page app but it seems to not work anymore. I tried using the script in my console too and the tags still fired. Any idea?
{ "language": "en", "url": "https://stackoverflow.com/questions/75554728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is SSH remote debugging available for IntelliJ community edition ? If not, are there any alternatives? I need to work on a Spark application running on a remote server, on which I have access through SSH. At the moment, my team develop locally, compile the project with Maven, send it with SFTP to the server, run it ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ReactJS Performance Best Practice Let's say I have a user table containing 10 rows, each row will have a modal accepting user id as its props versus only one modal and then access user id via redux for example. Which one is better for performance? By the way, I'm using chakra ui modal and I notice that the modal wil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Airflow Task Scheduler Failed to Run I am setting up the airflow in my local mac. I had the airflow webserver running and see the airflow web UI. I tried to get the task scheduler running so I did: * *set up local postgres postgres property *Change in airflow.cfg sql_alchemy_conn = postgresql+psycopg2://postgres:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Attempting to run threads concurrently inside while loop in Python 3.11 I am trying to get my head around threading in Python 3.11 and I am trying to work out why when I put a time.sleep(120) inside execute_subtasks that the next thread is not processed and the code appears to run sequentially instead of concurrentl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554738", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Could not find binding files Phaser 3 I am losing my mind over this. Its been months since I last touched my project and I finally got the motivation to work on it again. It was working back then but this has been a road block recently. I am losing my mind please help I cant find a fix. > phaser3-parcel-template@1.0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Schema validation does not report all missing children Given this example schema ("big.xsd"): <?xml version="1.0" encoding="UTF-8" ?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <xsd:element name="root"> <xsd:complexType> <xsd:sequence> <xsd:element name="A"/> <xsd:element ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why won't R plot all the values of my dataframe and why won't it connect the dots? I am trying to plot a molten dataframe (df.long1) containing two variables (v07, v08). While the code plots the first variable (v07) through geom_point, it won't connect the points with geom_line. df.long1 %>% ggplot(aes(as.numeric(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554742", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: GitLab - Fixing merge conflicts We have multiple branches master, development & branchTaskNumber, we take the brachTaskNumber from the master branch, and when finish we merge it into the development branch. When we create merge requests GitLab shows there are merge conflicts. We decide to pull the branchTaskNumber b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why isn't the 'wrap' option recognized in FFmpeg's drawtext filter? I'm trying to add text to a video using FFmpeg's drawtext filter, but I'm running into an issue with the 'wrap' option. Whenever I include 'wrap=500' in the filtergraph, I get the following error message: [Parsed_drawtext_1 @ 0x563e23b1f500] Option ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: React, Update String in useState does not work as expected I want to make a typing efect, but the 2nd letter is not added. For example: I want to write "Hello World" and it displays "Hllo World". my code: export default function Error({ errorMsg }) { const [errorString, setErrorString] = useState(""); let i ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reading from S7-1500PLC with s7.net and convert to c# compatible data type I can read the result from the siemens S7-1500 PLC but not sure how to convert it. I have below code in c# var lowSpeedSwing = (uint)Plc.Read("DB85.DBD50"); The data type is REAL in PLC. The result return something like 59864324. How I can...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Iterating fast over h5 file and perform some calculations *I need a super fast solution, that needs maximally 5 seconds on the 9000 datapoints I provide in the link. Reason is because the real data is actually millions of rows. *Link to the h5 file: https://drive.google.com/file/d/16aI3plRFa3M6nSIiT1XioUIgsPYl1Wg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554753", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cookies are blocked by Brave when using keycloak I have a running Keycloak instance on auth.example.com and my app is running on example.io. Brave Shield is blocking CORS cookies, so the cookie is not sent to the /protocol/openid-connect/token/ and therefore I get a 400 result. What is the best solution do deal with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: when i run a particular code i repeatedly getting the following error Azure Databricks start_date_str = dbutils.widgets.get("startdate") start_date = to_date(lit(start_date_str), 'yyyy-MM-dd') enddate = (spark .range(1) .select(date_add(start_date, 365 * 10).alias("enddate")) .collect()[0]["enddate"] ) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I use display Markdown in a qmd file? I am aksing myself how I can use display Markdown in a qmd file corretly. I have this code: ```{python} #| echo: true # Pandas laden import pandas as pd # csv Datei über read_csv laden file = "Priorisierung_der_Anforderungen.csv" df = pd.read_csv(file) Anzahl_Karten =...
{ "language": "de", "url": "https://stackoverflow.com/questions/75554763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamic Link not working in IOS when install and launched from appstore I have implemented Firebase Dynamic Links in my iOS app, and it is working perfectly fine when I run the already installed app from a dynamic link. However, when I install the app from the App Store with a dynamic link and try to launch it, the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AttributeError: 'tuple' object has no attribute 'items' While Optimizing Hyperparameters of a TemporalFusionTransformer I'm attempting to create a TemporalFusionTransformer with my own data, but following this example. I get this error when instantiating a TemporalFusionTransformer or using optimize_hyperparameters:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FluentNHibernate exception when there are slash in the default value I have been trying to map a string value using FulentNHibernate like below. Map(x => x.FilePath).Length(500).Not.Nullable().Default(@"C:\Program Files\server\data\conf\groups.txt"); But this gives an error. If I add text without slashes it works....
{ "language": "en", "url": "https://stackoverflow.com/questions/75554769", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VS Code Dev Container is using Docker for Windows instead of Docker in WSL2 I'm trying get VS Code running on Windows 10 to use Docker running in WSL2 but it is currently using Docker Desktop for Windows. I compare two installations, both very similar but one is using this command when opening the project in Dev Con...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Set Sublime Text project file to open split screen with specific project file on one side and REPL on other side? I work on R and Python projects in Sublime Text. I have a .sublime-project file for each project, which I currently use only to specify the folders that I want in the project. For example, myproject.subl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can i correct words is not defined error? def internetSearch(key_words): # Jumble the keywords up so we can get better results words = " ".join(reversed(key_words.split())) # Use regex to match any alphanumeric characters + spaces between them pattern = r"[\w ]+" # Generate an appropriate URL with thi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554772", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Simple SSL server-client connection in Elixir I'm working on a toy networking project and I want to add a TLS layer between the server and the client. I'm getting handshake errors that I'm trying to figure out how to debug. The TL;DR is probably: 'what arguments do I pass to :ssl.listen/2' but here is the minimal ex...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Angle line does not works right I want to make a pseudo-3D game. I'm a new in python, so I started a guide on YT. I made as they say. I made a WASD and LEFT-RIGHT controller for the point and it's view. But I saw a defect: instead of turning through north, it does like it erases and re-draws my line at the other sid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: RedisTemplate issue while upgrading Springboot to 3.0.2 and java to jdk 17 I tried upgrading java version from 8 to 17 and springboot version from 2.7.0 to 3.0.2. Spring is not able to create the redisTemplate bean here. I am using gradle version 7.6. Here is the Exception: 2023-02-23 17:02:14,779 WARN [main] o.s.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to align the first container based on second container? Below is my code in html and CSS. Current result and my desired result with red. .product-detail-container { display: flex; flex-direction: column; /* width: 97%; */ max-width: 1200px; align-self: center; justify-content: center; margin: 2.5...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Supabase client (JS): filtering by distance In supabase Javascript client is it possible to do a distance filter? If possible, I'd like to avoid implementing server-side logic. // Define the distance threshold in meters (50km = 50000m) const distanceThreshold = 50000 const targetLatitude = 10.724577 const targetLon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get null for rows where data doesn't exist in Postgres while performing joins I have 2 tables: Items and Rates. Items and Rates are linked using a FK on Rates. If the rate of the item is not present for the day then it is not stored. So for item 5 if no rate is present on 1st January there won't be a record ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554781", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set threat affinity mask in RTOS for Arm processor through CMSIS layer? How to set threat affinity mask in RTOS for Arm processor through CMSIS layer? I am exploring a large codebase of earbuds made on CMSIS/ RTX5 rtos. This device runs in multiple co-processor. There are multiple threads for multiple feature...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Because of policy issues, my game was rejected by google I use Unity 2019.4.31f1c1 to develop game and export android project,Then submit Review to Google .But my game was rejected of Google. Reasons for rejection are as follows: **Issue with your app Your app is using the Unity SDK which collects but may not be lim...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Use cloudflare worker env outside fetch scope I'm creating a cache-proxy with Cloudflare Workers. I'm using a self made class instance to abstract Airtable queries, that require couple of secrets to be instantiated. Now I must instantiate it inside fetch every time, as it's the only way I know to access Cloudflare e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I achieve a consistent design across multiple devices in Jetpack Compose I am working on a Jetpack Compose project and trying to achieve a pixel-perfect design based on a Sketch app design. However, when I run the app on two different devices, a Pixel 6 Pro and an Infix Mobility device, the output looks comp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Copy recordsets from ( Form & Subform) to a New record I'm making a Construction Access database, I have Main form and a Subform, 1.Main form fields ( invoice id..PK, customer name, name of project) 2.Sub form fields ( Invoice id.. FK, item code, item name, Previous Qty, Current Qty, Total Qty ) All I need is when m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: CSVHelper throws HeaderValidationException when changing the culture from de-DE to en-US I'm trying to read a CSV file using CSVHelper. It is working with the following code record Row(string anbieter, string produkt, string? ean, string projektnr, string produktkennzeichen, string produktkategorie, string produktli...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554796", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: tkinter Scrollbar is not working in my inventory project ===Employee Detail=== emp_frame = Frame(self.root, bd=3, relief=RIDGE) emp_frame.place(x=0, y=350, relwidth=1, relheight=150) scrolly = Scrollbar(emp_frame, orient=VERTICAL) scrolly.pack(side=RIGHT, fill=Y) scrollx = Scrollbar(emp_fra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: react-datepicker not working when build on production 'react-datepicker' working well in the local, but when deploy on production, it not working. I using 'react-datepicker' version 4.2.0 My code: It's working well in my local but when deploy on production, can not click button change month and delete input. I tri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does the `map` call serve any purpose here? Code: pub fn iter(&self) -> impl Iterator<Item = (&usize, &T)> + '_ { self.values.iter().map(|(key, value)| (key, value)) } Quoted from here, it seems following is enough: pub fn iter(&self) -> impl Iterator<Item = (&usize, &T)> + '_ { self.values.iter() } Any di...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Google Cloud Functions Python Sessions: "The session is unavailable because no secret key was set" I have created a simple login script that I want to host on Google Cloud Functions. The application works fine when I run it locally because I then run app.py which uses app.secret_key and starts a Flask app with app.r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554807", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find out that mqtt-paho publish failed due to ACL? I'm using paho.mqtt Python library. I have an ACL list set up on my MQTT broker. However, I can't see any difference between publishing to a topic I have rights to and publishing to a topic I don't have rights to. I set up on_connect and on_publish callbacks ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: chartjs, no cross lines but horizontal line on the same level untill a next point So in the example below, the top chart is what is default being displayed, the points on the chart are connect by lines going from point to point. I am looking for a way to have it like the bottom example so a horizontal line from a po...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I send keyboard input and API result from ViewModel to Screen? I am trying to connect ViewModel and Screen with compose. But I have no idea how to approach in a good way. @HiltViewModel class HomeViewModel @Inject constructor( private val remoteConfigRepository: RemoteConfigRepository, private val sh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to choose BeanInfoFactory when upgrading Spring framework from 5.3.24 to 6.0.5 Now I'm trying to upgrade Spring framework from 5.3.24 to 6.0.5, when I read the migration guideline about upgrading to Spring Framework 6.x, there is a paragraph about setting BeanInfoFactory. The core container performs basic bean ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554813", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ruby ActiveRecord query_cache not being cleared after saved change to a model (upgrade active record 5 to 6) After updating the active-record gem from 5 to 6 there were lot of failing specs related to the models not being refreshed even if there were a process that calls .save in the model and updates its data. I co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular Jasmine unit test cases for mat-Autocomplete filter I'm trying to write Angular unit test cases for filtering the mat-autocomplete options by inserting input data, but I couldn't able to do code coverage for value changes input. app.component.html: <div class="container"> <form [formGroup]="form"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Hand recognition with matlab I am trying to on going detect the edge of my fist from images, I am using Matlab environment. I don't know the lightness and colors of the image so I first photo the backround without the hand and for the next images I will reduse the backround photo from it. Next I convert the image fr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554816", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: incremental load to s3 using python I am looking for steps and few code to write incremental load/ingestion to historical load in S3 using python. please any one help me Need small help in incremental help
{ "language": "en", "url": "https://stackoverflow.com/questions/75554817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to implement EnumClass::$userInput on php 8.1 Enums? I have been learning the new enums introduction on php 8.1 with laravel for an eccomerce cms. i'm brandly new on SOLID principles. This this my Enum class: enum PaymentMethods : string { case PAYPAL = 'pay with paypal'; case STRIPE = 'pay with stripe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554821", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sum cells above at each blank line I have a VBA that inserts a blank line at each value change in Column A. I now need to add two SUM lines of values in the range above. As the below images: enter image description here Many thanks This is the Code used to insert the lines: Sub Break() Rows("2:2").Select Range(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calculate sum column filtering identical values on multiple columns I have data for multiple columns (S1,S2,S3) and I'm trying to create a sum column (result). I want to sum values for each row that has identical values in S1, S2 and S3 columns. Here is a sample data and the result I'm looking for. S1 <- c(1,1,1,0,1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GET request with nested arrays - python API so I've created a mongodb dataset that stores posts made by a user. Posts have nested arrays to contain comments under the post and comments also include a nested array to store replies. The issue is that I'm creating my GET API request to retrieve all posts and I'm gettin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting weird response while making POST request to reCAPTCHA server to validate the token In the frontend of my app I get reCAPTCHA-v3 token after user fills up the form, the system takes this token and from the backend (meteor.js) it sends POST request to reCAPTCHA server to validate the token. My goal is to valid...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554828", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: getiing curl error 60 when running laravel new app the error i am getting Failed to download laravel/laravel from dist: curl error 60 while downloading https://codeload.github.com/laravel/laravel/legacy.zip/37ab32cf760406f767f6a278748546214585c93f: SSL: no alternative certificate subject name matches target hos...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554834", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GitHub Copilot not working on company's network I have a problem with using GitHub Copilot on the company's network. At home it works perfectly, but every time I come to the office it doesn't work. It logs me out every time when it tries to generate something. The problem persists in all IDEs. I assume it's somethin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Automatic discount cross-sell product on Woocommerce Cart I've been thinking about the idea to make the total order value higher by giving the cross-sell product a discount on the cart page. These products are related, so giving them a discount would motivate people to also buy them. So I want to set a 10% discount ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554836", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vite not found in vite.config.ts cannot run vite apps npm create vite@latest error: Cannot find package 'vite' imported from .../vite.config.ts.timestamp-....mjs An update while writing my problem: I concluded that the error has to do with the vite.config.ts (vite.config.js) But I left everything I gathered so far, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554837", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible with template literal types to validate that one numeric part is bigger than the next? I am trying to define Record for migration functions, that use as key the direction of the migration: v${number}-v${number}, Since those are all UP migrations, they should be validated as v${first-number}-v${first-n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554838", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Error in running Plotly Dash Plot in Django with UWSGI and NGINX I have a Django project with UWSGI and NGINX. There are multiple pages and the page with Interactive Plotly Dash Plot cannot work. For the other pages, they work fine. When I go to some of the Interactive Plotly Dash Plot, some of them can only loads t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554839", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get first occurrence of each duplicate in an array? I have an array of objects: array = [{:id=>433, :name=>"test 1", :type=>"Staff"}, {:id=>434, :name=>"test 2", :type=>"Guard"}, {:id=>435, :name=>"test 3", :type=>"Office boy"}, {:id=>471, :name=>"test 1", :type=>"Staff"}, {:id=>473, :name=>"test 2", :typ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554840", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: VB Script to copy each line in a csv file the number of times specified by a column in the file I have a csv data file (first row column headers, subsequent rows data); the last column contains a number. I need a script that will read the csv file and output to another file, which replicates each line in the input f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Calculation of the Hurst Index by the RS method I have my own function for calculating the Hurst index: There is also a library in Python: hurst I'm trying to understand why the answers are different. This is how the Hearst index is calculated: where H - Hearst index, S - standard deviation, R - range of cumulative ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Autoresize html in webview android Within my app, I need to display emails that I retrieve via the API. The content content is HTML. So in the view I have inserted a webview which I am going to populate like this code val encodedHtml: String = Base64.encodeToString(it.toByteArray(), Base64.NO_PADDING) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554846", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django authentication on home page How can i compare the name of the logged in user on a django home page template with any other string this is what i tried A: You can simply try like this: {% if user.is_superuser %} // checks if the user is admin Admin Dashboard {% elif user.is_authenticated %} Dashboard...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554848", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Difference between `scipy.ndimage.fourier_gaussian` and own implementation I am trying to implement myself a 2D gaussian filter (to debug some C++ code, outside the scope of this question). I focus on the first step: multiplication of the image and the Gaussian kernel in the Fourier space. The input data and its TF:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554849", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do you fill missing dates in a Polars dataframe (python)? I do not seem to find an equivalent for Polars library. But basically, what I want to do is fill missing dates between two dates for a big dataframe. It has to be Polars because of the size of the data (> 100 mill). Below is the code I use for Pandas, but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554856", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: curl_multi_exec with binded IPs connection reuse/connect before request To bring some context, I want to execute some requests as fast as possible, testing, benchmarking for now. The endpoint is behind cloudfront. The logic is 1st to get to the server out of N connections. I've selected 4 IPs and I want to submit 2 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Create a voucher with QR code inside and export it to image I am creating a voucher with a QR code inside using flutter. I have an idea of using a stack with image of the voucher template inside, then I put QR code on the voucher template in a specific place. But I don't know if it's the simplest way or not. So the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554863", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use mssql datetimeoffset column type in yii2 framework I am writing an application that needs to store dates with time and timezone and it needs to use mssql. The yii2 framework column schema for mssql defines only datetime column type, and no datetimeoffset. What are possible approaches to this situation? If...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to access ObservableCollection from another ViewModel? I have a BaseViewModel where I define my ObservableCollection and then I populate it. In another ViewModel I have a Grid and I bind it to my collection, everything works. public partial class BaseViewModel : ObservableObject { [ObservableProperty] pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554868", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a bot available to multiple users on blocking operations? python, aiogram, pytube, ffmpeg I'm trying to deal with multithreading and asynchrony, but I can't figure out how to deal with this situation. There is a telegram bot that downloads videos from YouTube and cuts only the first minute of the video i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter in Android Studio not visible in Project pane I don't know what i clicked but now my flutter project is not visible in project pane on android studio. Here is how it looks now: Notice there is no Flutter project view. Below is how it normally is: Not sure what settings i made wrong. A: The Flutter project...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554881", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Regular expression based on specific digit WebElement I'm new in Java world and trying to use regular expression to extract specific value from the WebElement. This is the price value which is placed inside the WebElement: € 44,52* I would need to get rid of all symbols (€ and *) just to have it like 44,52 to be ab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554882", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: cant search through records when using timestamps , using typeorm Using Nestjs + typeorm / after adding timestamps to User entity, I can no longer find and search through related tables using this: async getSavedForums(user: User) { const savedForums = await this.saveForumRepo.find({ where: { own...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554887", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The best approach using part of an interface in another interface I have a project with nextjs and typescript. I have two interfaces like below export interface IAccordion { accordionItems: { id: string | number; title: string | React.ReactElement; content: string | React.ReactElement; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554889", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Running Docker Command in Jenkins using Kubernetes Plugin I want my docker to run in this way docker run -d -it --privileged <docker_img_name> /usr/sbin/init 456547fa74aa4b302d8b6f5679a6a079caf0e123654ecd5cda7b3587aa9e225d docker exec -it 456547fa7 bash pipeline { agent { kubernetes { label "Do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554890", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reduce replica size on low resources I am using Google Kubernetes Engine and some of my deployments are more important than others (For example, the staging environment can run on less replicas or even stop if needed). I want to dynamically change the amount of replicas of a deployment depending on the available res...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554893", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android directions api not working after putting google key application restriction for android We have created the google credential key, which we are using for maps as well as directions. When we are setting a Application restriction to NONE for Google Maps Direction Api just works fine. But When we set Applicatio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554894", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to structure nested objects into an array of objects? I have this JSON structure- let data = { "Branches": { "Marketing": { "Sub-Branches": { "Digital Marketing": { "Sub-Branches": { "Search Engine Optimization": null, "Social Media Marketing": null ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75554895", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }