text
string
meta
dict
Q: Karate UI "no such session' Error in Linux using LinuxChromeDriver I am running Karate UI scripts on a remote Linux server to trouble shoot for Jenkins CD Pipeline functional test implementation. I have my karate-config set up to point to different executable paths depending on the OS: if (os.type.equalsIgnoreCase(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608387", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: CORS issue on Azure Search to call ListIndexes When trying to call List Indexes endpoint of Search API, seeing a CORS error on pre flight request during development, API - https://learn.microsoft.com/en-us/rest/api/searchservice/list-indexes How can we add I local host as allowed origin in azure search API ? I did ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: ImageMagick: Defining (maximum) file size when combining TIF images to PDF with convert I have a varying number of images (TIF files) that should be combined to a PDF file. While doing so, the images should also be compressed to reduce file size. I am looking for options to a) define the (maximum) file size of each ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to split a string from Firebase Firestore into a list of strings using “\n” as separator I’m trying to split a string that I get from Firestore into a list of strings using “\n” as the separator character. Here’s my code: db.collection("categories") .get() .addOnCompleteListener(new OnCompleteListener...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there an apt repo for mysql8.0 with increased MI_MAX_KEY_LENGTH? Or is there to automatically build from source with an increased? We run several databases where we need to increase the default value of MI_MAX_KEY_LENGTH. This appears to need to be set when the daemon is built. This makes keeping up with the regu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to upload CSV data into PSQL using the pg library? In my project, I initially started an instance of a PG database using a new Pool within the pg library. Subsequently, I want to also upload the CSV data into an existing table within that database but I believe my current pg query is causing some issues because ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608397", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Add Delay to a view that joins two tables I have to create a view that basically queries table A, and ensures that the same item exists in table B, so if the item from table A does not exist in table B, a record is created in my view, and an external procedure triggers an alert. The problem that I have is that the r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Argument of type 'string' is not assignable to parameter of type 'BufferSource | undefined'.ts(2345) I have a function to generate a secret hash when given a password and a salt. import { Base64 } from 'js-base64' export const generateSecretString = ( password: string, salt: string ): string => { const utf8En...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608402", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does anyone know how to make a spiral Animated? I was trying to make an animated spiral that should spin around, but when i tried it out it did not start spining but no errors occurred. If anyone could help me, thanks My code i have right now: CanvasRenderingContext2D.prototype.drawArchimedeanSpiral = CanvasRend...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608406", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xcode Embed WatchOs Content - change app name for one scheme based On my build phase i have the following step : My app have many scheme (flavors) how to change the name here which seems not be editable ? I would one based on my current scheme. For example : ClientA.app in build/Debug-clienta-watchos ClientB.app in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608407", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to type hint a particular dict type but allow empty dict in Python 3? I want to transfer data between different python-files. I create a new type so that different py-files all know what kind of data can be expected. I used the following code. from typing import NewType MyDataType = NewType("MyDataType", dict[s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Anthos Service Mesh reports discrepancies for deleted clusters In my Google Cloud project, I've created multiple GKE Autopilot/ASM-enabled clusters. Several of those have been deleted. When I open a cluster and go to the Anthos Service Mesh view, I see a "Discrepancies found" warning similar to the following: Discre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rbind with paste isn't returning combined matrix Running rbind on two paste functions, yet not getting a proper matrix in return rbind(noquote(paste0("v",1)), noquote(paste0("v",2))) The code I am running that returns a vector "v1" "v2" instead of a matrix that combines the two matrices, v1 and v2
{ "language": "en", "url": "https://stackoverflow.com/questions/75608414", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Calculate the square in m2 and total curve lenght of the object(Mesh) loaded from svgLoader Im loading svg via svgLoader. Then im doing all like the docs says. And at the end i got the object in my scene. But now i need to calculate the total curve lenght of the object. And also i need to calculate Total front area ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608415", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: "Cannot use instance member '' within property initializer; property initializers run before 'self' is available" I think it's pretty common problem, but I haven't found the solution. Here is the code: class ViewController: UIViewController { @IBOutlet weak var monthLabel: UILabel! let date = Date() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to fix 'numpy.float64' object is not callable? Can someone help me fix this error " 'numpy.float64' object is not callable " ? S is a numpy array values_interest = [0.01,0.1, 0.15] #différents taux d'intéret K = 15 sigma = 0.1 T = 10 t = 0 fig, ax = plt.subplots(figsize=(15, 6)) for i in values_interest: ga...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608422", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Starting a thread in a suspended state I have a class TADE. This class has a static method addTST(...) which saves a thread to a std::map<std::string, std::thread>. I want to pause the thread right after I have created it (it is sufficient for what I want to do), but I don't know how threads work. If someone knows a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608423", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Qt3D emissive materials possible? (C++) I was wondering whether it's possible to make some type of emissive material in Qt3D using C++. I've been checking the documentation for anything related to this in the different materials available in Qt, but have been unable to find anything with such a parameter. Any pointe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608428", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GDB debugging, detaching after fork from child process, so how can I do to exit GDB or continue with it? I am using GDB debugging, it shows "Detaching after fork from child process.." so in this case, how can I get out of GDB, or continue with it? Because I cannot get any response for whatever command I enter. And, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608436", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add widget to and reference from list in python? I want to add widget to list and reference thereafter at runtime but i get error: My code: import tkinter as tk from tkinter import ttk p = tk.Tk() 1. p.geometry('600x350') widget_list = [] for i in range(10): button = ttk.Button(p, text=f"Button #{i+1}...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608441", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i want to create a quiz question using a text box so i want to make a text box quiz question using a text and submit button in html that then sends it to a javascript file to check if its the right answer. i tried using a get.elementbyid for the answer of what they put in than an if else statement to check if it was...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608442", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ "using-declaration" of templated operator of templated base class I'm trying to use the "using-declaration" syntax of C++ to expose some methods and operators of a templated base class. I can expose some methods and operators of the base class, but not a templated operator of the templated base class. Here is an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: useEffect not working to update localStorage data I'm trying to save a list of completed to-dos when dragging it to the completed to-dos list, using the following code: useEffect(() => { localStorage.setItem("completedTodies", JSON.stringify(completedTodies)); }, [completedTodies]); But this useEffect only re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rewrite with multiple query strings and non-fixed number of value I need to redirect a URL with non-fixed number of value. Here's the URL: https://test.example.com/navigator/viewer?indexclass=xImgTX&businessunit=TX&documents=DOC1~DOC22~DOC1122 businessunit= parameter can be any string, in this example, it is tx, but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608450", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ProgressView Initializer 'init(_:value:total:)' requires that 'String' conform to 'BinaryFloatingPoint' SwiftUI How do I fix "Initializer 'init(_:value:total:)' requires that 'String' conform to 'BinaryFloatingPoint'" here (ProgressView)? The problem is with the ProgressView in this code, is there a way to fix it? C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608451", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Run Yeoman via `yarn dlx` I am looking to dabble in VS Code extension development. Their documentation suggests using Yeoman to generate the base project. I use yarn as my Node package manager, so I need to use yarn dlx to run the command (yarn global installs are no longer a thing). I ran into the issue that the ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608453", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: sending 3d files as attachment with php I have a contact form with an upload function. Customers should be able to send all common text and image files. The permitted file extensions are validated via a Javascript. There are no problems with sending image and text data. In addition, I would also like to send 3D file...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608454", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Recordsestclone; not a valid bookmark I'm trying to copy a record from subform, FrmEmergencyContactSub and insert it into another subform FrmWidowSub. Dim strCriteria As String Dim rsMember As DAO.Recordset strCriteria = "Members_FID = " & Me![Member_ID] Set rsMember = Me.FrmEmergencyContact...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608455", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I create a question answering system using BERT / RoBERTa which answers based on a novel it's trained on I wanted to know if it's possible to create a question answering system using a random book from project gutenberg something like this https://www.gutenberg.org/cache/epub/2701/pg2701.txt I found a lot of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608459", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How do you define plugin versions in buildSrc and only have them applied when used by the project? I want to set a common coding style for my multi-project Gradle build. I have a rudimentary .gradle file like this for my.conventions plugins { id 'idea' id 'java' id "com.diffplug.spotless" } java { t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608463", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using CSS Variables in SVG as background image I have an SVG Image which is to be loaded on my webpage as the background. Hence the css for it is: body{ background: url('path/to/the/svg/image.svg') . . } I have a css variable named accent-primary-color, which defines the accent color of the page (and is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608466", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JS Slider add autoplay, stop and play buttons I'm writting a javascript slider and I want the slider to autoplay. The problem with my code is that the autoplay only works partially, because it slides only to the second slide. How to make the slider autoplay through all the slides? Also I would like to do a stop/play...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608468", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to test buffer in webflux I want to write a unit test for my below gist private Flux<String> replayWithData(final Replay replay, final Checkpoint checkpoint) { return service.findAll(replay.getData()) .buffer() .flatMap(id -> processAndReplay(id, replay,checkpoint)); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a self-closing HTML tag with JS need help. How can i create a single tag i have a HTML doc with JS script. HTML <div id="root"></div> JS const div = document.querySelector('#root'); i try this const mySingleElem = document.createElement('single'); mySingleElem.setAttribute('name', 'test'); div.appen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to access custom LOD for texture? I have a 2x2 texture. I load LOD 0 (2x2 pixel array) and LOD 1 (1x1 pixel array). I then call texture2D(tex, uv, lod) in my fragment shader, but even when I specify 1.0 for the last parameter, I still get back pixel values from LOD 0. In the example below, I would expect the tri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608473", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Need help searching/deleting aws lambda function versions that are older then 5 and not live. Need some assistance with paginator to find all of them I am trying to update my python script that will look through my aws accounts and delete lambda function versions. The idea is to keep only the latest 5 and live. At t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608474", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: javascript dealing with src in img tag that do not yet exist but causes error I am writing a frontend that allows the user to compose a html template for a email newsletter. During this process, the user will insert an image into a img tag. In the front end I display the image to the user as <img src="data:image/png...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608476", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i make a proper menu for a text based game? I'm currently making a small text based game for fun in python but i am not fully sure how to make a menu in which works obviously like a proper menu where after you do some stuff, it sends you back to the menu. I have some ideas on this but i feel like it isn't th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608477", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Trying to decode websocket binary data I am trying to reverse engineer a website that displays a table whose rows are constantly updating. As we are dealing with constantly updated data, I looked for websocket connections through Chrome's inspect elements. These is only 1 connection that exchanges several messages ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608478", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to fetch jenkins global credentials in automation script How to use jenkins global credentials in my selenium automation script? I have to access the secret credentials value in my automation code, using this secret i need to call a rest API. Tried to use jenkinsClient api but the password is . Tried below ca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Composing several functions using a compose utility I am supposed to create a function that takes some functions as arguments, and returns a composition of those arguments in the following way: Given functions fnN, fn(N-1), ..., fn1, and a value v, the function should return the result of compose(fnN, fnN-1, ..., fn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to account for different # of days per month bimonthly reports I am looking to schedule a report to run biweekly and send the report on the 1st and 15th of each month, showing all results (from my SQL query) with a date from the previous ~2 weeks. But, I am not sure how to account for the different # of days pe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608482", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: PowerShell Verify password change was successful by creating and using credential object PowerShell 5.1 I would like to test credentials after changing password for an array of computers for a User1. function SetUser1Paswword($hosts, $credential, $newPassword) { Invoke-Command -ComputerName $hosts -Credential $c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608486", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how to concatenate the [CLS] token from BERT last layer with the TF-IDF features? I want to concatenate the last layer [CLS] token with the features extracted by TF-IDF vectorizer? I am doing this in keras. But unable to concatenate the [CLS] token with TF-IDF features? Can someone guide me about it? Thanks
{ "language": "en", "url": "https://stackoverflow.com/questions/75608489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I efficiently (approximate) retrieve the maximum occurrence in a sub-group dataframe contains two columns: data = [ ("A1","B"), ("A1","B"), ("A1","C"), ("A1","B"), ("A1","C"), ("A2","B") ] df = spark.createDataFrame(data,["ColA","ColB"]) df.show() ColA ColB A1 B A1 B A1 C A1 B A1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608490", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Are nested ifs equals to and logic? I wonder whether these two Python codes are always the same or not. if condition_1: if condition_2: some_process and if condition_1 and condition_2: some_process I searched but did not find any specific answer to this question. So, for example, you are trying to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608494", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Can't connect to the gitlab from jenkins I try to establish connection from the jenkins to the gitlab. So: * *I created the gitlab token: /*** need to point: I tried all possible options for gitlab host: https://gitlab.com https://gitlab.com/username https://gitlab.com/username/repository But nothing works *...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608496", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use different axis limits in plot using ggpol's facet_share I want the the x axis (before using coord_flip() the y axis) in the following plot to start at one value (say at 20) for the left chart and at another value (say at 80) for the right chart. I tried using ylim() inside coord_flip() but that does not work for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608497", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to bring excel data using .NET 6.0 using Microsoft.VisualBasic.FileIO so I have an excel table and I need to bring the rows from that sheet to be seen in the console. that's the code using Microsoft.VisualBasic.FileIO; using TextFieldParser parser = new TextFieldParser("C:\\Users\\Me\\Documents\\Excel.xlsx"); p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Deserializing JSON with UTC/Zulu Time String using System.Text.Json I am having some issues deserializing JSON that has a Zulu formatted time string. I continue to receive an exception that states the string is not a data and time. I have the following string being returned from and REST service. { ".issued": "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ERROR MESSAGE 4104 "The multi-part identifier "Target.Accountkey" could not be bound." I WAS MERGING 2 TABLES FROM 2 DIFFERENT DATABASE USING THREE PART NAMING AND EXECUTE IT AS A STORED PROCEDURE. ERROOR MESSAGE "Msg 4104, Level 16, State 1, Procedure Msp_DimAccount, Line 9 [Batch Start Line 6] The multi-part ident...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608502", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Compiler Net +3.3V has only one pin (Pin C3-2) error in altium designer I am facing a problem altium designer. I am newly learning pcb design in altium designer. I am facing a problem which say's that, main.SchDoc Compiler Net +3.3V has only one pin (Pin C3-2). I am not getting idea what is problem and How to s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608505", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Studio Room Database Hello I am developing a mobile application in android studio and I am using the room database. I have a problem like this. I want all the data in the database to be deleted 1 month after the user starts using the application. how can I do it? For example, after the end of March, the data...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608506", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot update mac os and error while installing rosetta i am so glad to any help you can provide. I just bought a new macbook air m2 and after i has connected to wifi everything works fine. I mean i can surfing in browser and open web pages and also i can download anything in browser. The problem begin when i tried ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Read and filter large JSON file I have a large .jsonl file (25GB) with hotel data. I'm have a method and trying to get data from file List<string> hotelRawData = ReadDataLines("hotelData.jsonl"); private static List<string> ReadDataLines(string path) { List<string> lines = new List<string...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I'm trying to calculate trailing 6 month, 1 year, 3 year, and 5 year order sums and it's not summing up correctly I'm trying to calculate trailing 6 month, 1 year, 3 year, and 5 year order sums for the ITEM id and it's not summing up correctly. I'm expecting 20 total orders in Trailing 6 month and 1 year and I'm get...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608514", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gitignore in pycharm I don't understand why git in pycharm keeps tracking my .gitignore file despite .gitignore is in the file itself The same issue with .env file in the root of the project How can i solve this issue? A: Try the following commands: * *git rm -r --cached . *git add . *git commit -m "Gitignore i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Set time zone in iso standard I'm trying to set my local time zone in ISO-8601. Been trying with toISOString() but can't get it to work. This is the line i need to change. i.timestamp = new Date(i.timestamp).toLocaleString('SE') Best regards, Joel A: const now = new Date(); const localTimezoneOffset = now.getTimezo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608520", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically adding jars to Docker with sbt-native-packager How do you add jars that are created via assembly to a docker image created by sbt-native-packager, I've tried a few things but I think it may be ordering None of these work: mappings in Universal ++= { val dir = target.value / "scala-2.13" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to wait for an async connectedCallback to finish before testing the (Lit) Web Component? I'm using the Lit Framework right now but I think this type of thing would happen with regular web components as well. My connectedCallback is async, but, with a Lit fixture, I don't think it waits until connectedCallback is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: React Native 0.66.5, json() hangs on certain API calls when in debug mode only In my React Native app, I recently updated react-native from 0.65.3 to 0.66.5. I make API calls with the following code: return fetch(<URL>) .then(response => { return response.json() .then(...) .catch(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Carbon Design Data Table with Pagination in Svelte I am trying to output a data table with a pagination-footer using the Carbon Design System in Svelte. I can not figure out how to combine the pagination-footer with the data table it self. This is how I tried it. The pagination-footer is displayed but it does not ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608537", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to check if an array property contains a certain value? I have a graph with two vertices, and each contain a property named interests, which is an array of strings. I wanted to compare how many strings both arrays have in common and also if the array contains a certain string. I have tried the following query, b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: workbook: dynamic worksheets not accessible in subroutine So I'm creating a workbook in a subroutine called CreateWorkbook, dynamically adding worksheets using SQL query, and assigning worksheets to an %ws object. When exporting, the workbook has all tabs. However, I'm having a problem accessing those worksheets in ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608541", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Swifter error "AppRegistryNotReady: Apps aren't loaded yet." with Django models I'm trying to populate a database with django models and I've used the Swifter structure to parallelize a pandas apply, like this: df.swifter.force_parallel(enable=True).apply(lambda row: migrate(row), axis = 1) When apply function load...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to configure JsonSerializer for RollbarConfiguration of Spring Boot? I added rollbar configuration to my spring boot application but after adding rollbar then my LocalDateTime format is broken. Here is my config file for rollbar: @Configuration() @EnableWebMvc @ComponentScan({ "com.aleflet.alefletbacken...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to upload a file with metadata map wrapped in DTO? I am trying to expose an endpoint to upload a file with metadata map. I want to have it in one POJO - see ConvertFileRequest below. I cannot pass metadata as json to the request parameter map in @WebMvcTest because "no matching editors or conversion strategy fou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does website appear differently on Android than iOS? Just wondering, why does my website displays differently on iOS and on Android? I made plenty of websites and never faced this issue. I understand that its a different web browser and all the Apple stuff, but this happened to me for the first time. Does someon...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608547", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Valgrind runs infinitely with realloc but code works So, I am trying to copy char per char of a file in a chunk of memory that expands accordingly with the file's size... At the end the code print all ok, but if I use valgrind it will run forever. #include <stdio.h> #include <stdlib.h> #include <ctype.h> int main(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608551", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Updating Microsoft.WindowsAzure. to Microsoft.Datasync I have a Xamarin Forms App that uses the below: using Microsoft.WindowsAzure.MobileServices; using Microsoft.WindowsAzure.MobileServices.SQLiteStore; using Microsoft.WindowsAzure.MobileServices.Sync; Where can I find information on using the latest packages for...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608552", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: In Angular is it possible to have code run before a Import Module is built? I need to setup my environment variables before an the import of a module occurs as this module's forRoot depends on these variables. app.module.ts import { IssuerService } from './issuer.service'; import { BrowserModule } from '@angular/p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run Training and Validation in one python script on google colab (Tensorflow 2) I am setting up object detection for my own data. For this I use this tutorial (https://colab.research.google.com/drive/1QCU_dCR0ozI8j6X2btEDCsaUk5p_b1uw?usp=sharing). Now I want to run the validation as well as the training. Can you tel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Svelte Stores are not updating value when updated from another page I'm new to Svelte (and Web Dev as a whole), and I'm trying to change the value of a store from another page. The value of the store is shown on the first page, while there is a button to change the value from a separate page. However, when I hit the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can use View Protocol as a case in enum? I want make one of my enum case work with View protocol, I made this code below but Xcode make error and the error is not clear to solve. enum Test { case a(value: String) case b<Content: View>(@ViewBuilder content: () -> Content) } How can i have case b wor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608568", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: GORM UUID not being created before association insert I am using UUID as an primaryKey for my models, but when INSERTing or UPDATEing the UUID is nil (or the UUID equivalent). Here is the model code: // --- base.go import ( "github.com/google/uuid" "gorm.io/gorm" ) type Base struct { Id string `json:"id...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Animation script not working on Player in Roblox studio I tried making a crouch animation that plays when you press left ctrl on the keyboard. I was expecting it to work, but it doesn't.The animation is for the player. And yes, it is an r15 animation. Any help is appreciated! So I am trying to make it so when you pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608580", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I change xlookup funtions in many cells to simple references at one time? For example, I have many cells that have xlookup funtions like e.g.) formula =XLOOKUP(I9,$A$2:$A$500,$C$2:$C$500) / result = 35 This functions show right answers. But I wnat to change those funtions to simple absolute references. e.g.) =$...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608585", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Print variable defined as dicts in PuLP I am new to using PuLP in python and I would like to know how I can select a specific variable from my model to print and export to Excel. I have been guided by some examples where they define the variables with indexes such as LpVariable.dicts, but when I open it in the conso...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When I'm using callback in nodejs it is taking 0.1 ms in performance but when I am using same thing to promise its taking 4+ ms.why? like: Using Callback import {readFile} from 'fs' const t1 = performance.now() readFile('./data.txt','utf-8',(err,data) => { if(err) throw err console.log(data) }) const t2 = pe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 'nothing provides' message installing httpd Error pic error trying to install httpd I tried using yum and dnf but the error was the same. Also tried using --nobest but "conflicting request" message appeared. I have the same problem trying to install mariadb-server.
{ "language": "en", "url": "https://stackoverflow.com/questions/75608595", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does JavaScript add a timestamp to my Date when pulling from Postgres DB? I am having dates mismatching when pulled from my postgres db. In the database, the date is stored as a Date value represented as 2023-03-01, but when I fetch it from the db to use in my JavaScript code, it comes through with a timestamp a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to deal with the problem of such an error? Why am I getting an error? How do I build a file for this error? I'm trying to understand and can't, what's wrong here? Or how do I create a file with its parameters? Or how do I know what the parameters should be in this file? I would love to help! I would love to help...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to pass data from two dropdown buttons between pages in PageView Widget? I am building an onboarding feature with three pages: * *Page 0 contains the PageView Widget and loads Pages 1 and 2 with widgets.add() method *Page 1 is a welcome screen *Page two contains two dropdown buttons which should pass their v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with extracting "role" claim from JWT token in Spring API I am working on a Spring API that uses JWT authentication. I am trying to extract the "role" claim from the JWT token to determine whether the user is an admin or not. However, even though the JWT token contains the "role" claim, I am still seeing Role ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: javap command not working with %JAVA_HOME% being set Im deep diving into the JVM architecture and I wanted to inspect the constant pool for one of my java classes which belongs to a Spring Boot project. I have my compiled java class and I am trying to run: javap -v name.class on my class. This command is based on t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ImportError: attempted relative import beyond top-level package FastAPI I recently started working with FastAPI and faced such a problem. My project structure: My_Project └───backend │ alembic.ini │ sqlite.db │ requirements.txt │ ├───alembic │ │ env.py │ │ script.py.mako ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how do i use async>httpGet(port,url in im rather new to lua so thats why i ask these question how do i make a toggle to press where if i press it it only regesters the press for one tick but not for everything the button is ouputing to only one thing like once it adds one to the number it stops adding instead of go...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can't click on download button, with Selenium+ Python I am trying to download a file that is on the site cutyt.com but after hours of attempts I can't get it done. Either it says that the element is uncallable or element is not clickable at point ... The code of the button I want to click on Layout of the site Eleme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pivoting Values from a column into rows I'm looking to use python to pivot values from one row into new columns, and then combine the rows. For example: Name Random info Role Name A Yada Owner Bob A Yada Approver Jimmy B Nada Owner Sally B Nada Approver Susie Would become this: Name Random Inf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Communication between InfluxDB and Grafana im using grafana v9.3.6 in a WAGO compact controller 100 which has linux operating system with an armv7l processor. Im trying to send data from Grafana to influxDB. The way I’m trying to do this is by creating a “text box” variable in Grafana named s_p, and I need the value...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: anaconda: downloading a clone from github and conda installing it from its location According to the developer, no pip update has been released and therefore he advised to clone the repository and pip install. However I am struggling to do this because I have originally installed this package via Anaconda and I am n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error with ConsensusClusterPlus function and subsampling by pFeature parameter The following function returns an error which I am unable to resolve. pl.eset <- matrix(runif(50*30), nrow=50, ncol=30) ConsensusClusterPlus::ConsensusClusterPlus(pl.eset, pFeature = 0.50, reps = 500,distance = "euclidean", clusterAlg = "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Firestore efficiently inserting documents in subcollections I'm creating a firestore document that's not at the root level of an existing collection but somewhat deeper: const response = await addDoc( collection( firestore, 'stats', //collection 'dayStats', //document 'years', //c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Where and how my class need { and } in PHP I am trying to do php mvc project and I made a app/core/app.php file, in this file do not get it where should I put {} I am getting this error : '{' expected [Ln 3, Col8] my code : <?php class App { protected $controller = "home"; protected $method = "index"; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Using static methods in controller Javalin after seeing few projects on GitHub I've been thinking, should I use static methods in my controller? I use Javalin and I created NoteController class to service all requests. What's the difference between my idea and the other one, to use static methods and don't create in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to resolve promise in Typescript? While running tests on the following Typescript code I got this error on Terminal: 'Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves.'. Here it goes the requirement regarding Interface code method...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do i make i uncheck a checkbox in a map in flutter? I have a checkbox that is iterate with a map, but when one checkbox is clicked, all the checkboxes are checked at same time, they are supposed to be individual checkboxes. This is a picture and a code for better explanation Image : This is my code : class _Rej...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Numpy operations for generating a 2D array from a 3D array I have an array A with shape [2, 512, 21128] and another list [7,41] I want to create a new array with shape [2,21128] from A[0,7,:] and A[1,41,:]. I can use a loop to do such things, is there any convenient way to do this? I try to find it online but I act...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Counting similar observations and dividing counts by given population Snippet of code I want a way in Stata to count observations by GeoIDtract and then divide the count by the total population. For example, the tract 36005000100 has 5 observations and total population 7411. So I would want 5/7411 which would give ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75608631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: version `GLIBCXX_3.4.30' not found i'm facing a problem when i'm trying to run an old version python code . the problem is : ImportError: /home/gouda/anaconda3/envs/breast/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (required by /home/gouda/anaconda3/envs/breast/lib/python3.6/site-packages/cv2/cv2....
{ "language": "en", "url": "https://stackoverflow.com/questions/75608632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }