text
string
meta
dict
Q: Why my graph and legends dont render in the PDF in my production server? I have a code that download a PDF. In my localhost, the PDF is beeing downloaded and showing everything all right: But when I upload the code to production, the PDF be like that (doesn't show the legends and % inside the graph: Here is the co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to solve the undefined reference to `WinMain' error for links made on command line? I'm doing a test. I have created an empty qmake project with Qt creator. I added a file main.cpp. A small code in main.cpp just displays a button. I want to use the created main.o file to build the obtained application in Qt Crea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583960", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: requests.get not returning any nested data I've been trying for a while to force requests.get() to return nested JSON data, but all fields more than one layer deep return "null" in response.text or "none" in response.json. I am unable to use requests.post as I don't have write permissions for this API. I've tried se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583962", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vue component not updating when with Pinia store reset I have a Vue component that modifies a Pinia state and is reactive to the state being updated. This component is something similar to: <script setup> import { useStore } from '@/stores/myStore/'; import { reactive } from 'vue'; // Getting the store and using re...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583965", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP Foreach loop div:last-child To this masonry gallery, i put the info of products coming from a database. The gallery have 2 / 3 / 4 columns in a row, depends on screen, I want to put border-left on all div's, except on the last div from each line. With the current code, the last:child applies to the last product....
{ "language": "en", "url": "https://stackoverflow.com/questions/75583969", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: need to develop an overlay in leaflet that can interact via drag events so i need to develop in leaflet something that stays static on the map as it moves but can still interact with all the other polygons via drag events, trying to do this cutom control didn't work since events don't seem to register within it , i ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583971", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to access a pointer in a function with llvm api for c++ I want to write a dedicated language for some purpose. Basically it will be a bunch of functions that I will call from C code. Meaning I will pass a C pointer to struct to them. I want to experiment to check that I know how to manipulate those pointers with...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583973", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Autocomplete React component resetting state after place is selected I am using the Google Autocomplete component and when onPlaceSelected I am saving the place into a state array (input) of the parent component. However, whenever a place is selected the previous value is set to an empty array and then adds t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583982", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Below python dictionary I have need to covert in table format to get save with excel file Below Dictionary I have {'dictionary_item_removed': [<root['rspFixedArea']['rspResponseTm'] t1:0.024536, t2:not present>, <root['rspVariableArea'][0]['rspClmLevelData']['rspSrvcLn'][0]['rspLnStsXwalkData'][0]['rspLnSts507Cd1'] ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: can I generate automatically a file that has the locations of bus station positions based on a map from OpenStreetMap? I'm a new user of SUMO simulator. I downloaded a map from the OpenStreetMap website and as far as I understand I need to run a netconvert command in cmd to get a .net.xml file that I can open it wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Joining two result sets with matching records The below code is a common table expression. Inside this, we have union all to encapsulate the logic. WITH CTE_Products AS ( SELECT productID, productName, companyName FROM businessContacts UNION ALL SELECT productID, productName, companyName FROM nonBusinessContacts ) S...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting the dark mode color for unit testing in Swift Package from a Color(UIColor) object when loaded from asset catalog I am creating a standards library (Swift Package) that has strict requirements around the colors used in client applications. The colors are set up in an asset catalog and then referenced at runt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Some users experience issues (buffering/stopping) when viewing HTML embedded videos referencing an mp4 file hosted in AWS S3. Solutions to fix? I have zoom recordings hosted in S3 which range from 30 minutes to 2 hours in length, with a file size of no more than 2.6GB. These Object URL of these videos are then used ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583993", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: In react native, how can I create a system where a check box is checked, then the other one one is unchecked automatically? Here are just two plain check boxes. I'm using Expo Checkbox for a checkbox in react native. I'd like to create an system where a checkbox is checked, then the other one is unchecked automatic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# Pass Value From User Input Form I am new to System.Windows.Forms so please excuse a newbie question. I have created a simple user-input form with two text boxes and a button. The intent is that the user types a value into tbox_H and tbox_V, and those values are passed back to the code that initiated the form. The...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583995", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to regenerate kubeconfig on a freshly setup kubernetes cluster I setup a kubernetes cluster using this tutorial 2 days ago - https://www.linuxtechi.com/install-kubernetes-on-ubuntu-22-04. The setup went fine, and I could run kubectl commands, create deployments, etc. However when I login now, 2 days later and tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583996", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to succesfully publish a WCF on local folder? I created a REST service in C#. Currently, I am testing it with a sample function called Welcome that accepts some string. Inside the Visual Studio IDE when I right-click -> View in Browser, my service works with no issues http://localhost:123456/Service1.svc. And th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75583999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SQL to retrieve entire path from a parent child table I'm oversimplifying my problem a bit. I have a table with the following format: id parent_id name 1 [null] id1 2 1 id2 3 2 aa3 4 3 bb4 5 2 abc 6 [null] abc1 I want to retrieve, in SQL ideally the path to root - (ie. node with parent_id = nul...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584000", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Htaccess Rewrite First Paramater To Virtual Directory I want to rewrite only the parameter type of an url to a virtual directory. THIS example.com/v1/example/?a=b&c=d&e=f … SHOULD LOAD example.com/v1/index.php?type=example&a=b&c=d&e=f … One of my tries: RewriteEngine On RewriteRule ^v1/example/?(.*) v1/index.php?t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584007", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I am getting "Failed to connect XCAutomation" while trying to connect i phone(16.3.1) with apium studio 23 I am getting "Failed to connect XCAutomation" while trying to connect i phone(16.3.1) with apium studio 23.1.9. Does anyone have any solution for this ? I am getting "Failed to connect XCAutomation" while tryin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Play - Organic impact after featuring I have an app on the google play store, and it has been features under Strategic games, up to the ~15th place for some days. Before the featuring, my organic was growing up to 3000 installs/day. Now that the featuring is finished, my organic has reached a new level of 300...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584009", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: The result isn't printing in the MessageBox I have a task: create two arrays, do PXOR operation, check third element in the result array and if it lower than 15, determinate all max elements in both arrays, then check fourth element and if it positive, do this calculation: a/b-d*c, if negative: a/b So, I've did a co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584013", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: First person camera, how to hold object in "hand" I've been trying quite a some time to figure out, how to hold or show object in front of camera. I tried this code: Ray ray = GetMouseRay(GetMousePosition(), camera); DrawModel(model, Vector3Add(ray.position, ray.direction), 0.1f, WHITE); But that doesn't seem to wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: unable to import module serial I'm getting the following for a script on my Raspberry Pi: import serial ImportError: No module named serial while the module is already installed with pip: $ pip install pyserial Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already sati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584017", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting cell_data fielddata values from vtk file with Python VTK package I have a minimal VTK with these contents # vtk DataFile Version 5.1 vtk output ASCII DATASET STRUCTURED_GRID DIMENSIONS 3 2 3 POINTS 18 double 0 0 0 1 0 0 2 0 0 0 -0 0 1 -2.4492935983e-16 0 2 -4.8985871966e-16 0 0 0 2 1 0 2 2 0 2 0 -0 2 1 -2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584021", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use applPDUILTxPending() in CAPL How do you use applPDUILTxPending() in CANoe? Also, what is the difference between longID & shortID of a PDU? I have tried the example code given by Vector but it does not work. dword applPDUILTxPending (dword busContext, dword longID, dword shortID, char name[], dword & aPayl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a nested dictionary from an SqlAlchemy output (Python)? I have the following output from an SqlAlchemy select operator. | device_id | event_name | event_count | | :--------:| :-----------------: |:-----------:| | 123456 | speed more than 100 | 3 | | 123456 | speed less than 12 |...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584023", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Track my own button clicks when visiting a site For work I spend a lot of time on Linkedin and want to log the accounts I send connection requests to. Is it possible to track when I click a specific button on a webpage (connection request button), and pass the contact name and company into a spreadsheet? I've been l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584024", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error Running DTEXEC 64 bit from command line I'm migrating all my SSIS packages and solution to Visual Studio 2022. When I try the packages inside visual studio they run ok without problems. But when I try it from cmd and I get this error: Microsoft (R) SQL Server Execute Package Utility Version 16.0.5131.0 for 64-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584026", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure Pipeline: Visual Studio version '16.0' not found. Falling back to version '17.0' We keep getting the above warning whenever a build runs. Other than the warning it runs fine. How can I make it go away (much as it makes me chuckle a bit in it's nonsense way)? The pool for the build is this... pool: name: Azur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584029", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: need help in setting up cookies using Curl I have sent a request and received cookies with curl. I have used curlopt_cookiejar and curlopt_cookiefile. How can I setup the values to use in my new cookie using curl? There are multiple values. I have tried many things but failed. If anyone can help, please try to send ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there any way we can convert our angular page to pdf and pass it to the application's document upload service without downloading the file? I want to convert my page to pdf and directly upload it using upload service without downloading the file in the system. I tried using jspdf but can't see a option just to co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting an error while opening exe : Failed to execute script , due to unhandled exception maximum recursion depth exceeded I made a simple project on my own and it's also working fine as expected but when I'm going to converting it into .exe with pysintaller, after completion and opening the exe file it's throwing ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the purpose of the attribute srclang of the element track? As the title says, my question is what is the purpose of the attribute srclang of the element track? I don't see any visual difference in the caption options when I include it. Also, I checked if this attribute has something to do with accessibility ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does Bucket4j provide customization for applying different rate-limits to different APIs? I am planning to use bucket4j in spring mvc web application for limiting the requests to multiple APIs. Does Bucket4j provide some flexibility with limiting for different endpoints / https methods (GET/POST/PUT) ? Also, is ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584044", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can the body statement and iteration expression of a for statement be in disjoint scopes? According to the C++ standard (cf. § [stmt.for]): The for statement for (init-statement condition; expression) statement is equivalent to {     init-statement     while (condition) {        statement        expression; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584049", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: No such package '@com_google_javascript_closure_library//closure/goog/soy' I met following error: ERROR: /home/lemito/cpp-starter-kit/cpp/sources/clo/BUILD:35:19: no such package '@com_google_javascript_closure_library//closure/goog/soy': BUILD file not found in directory 'closure/goog/soy' of external repository @c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AppendChild() isn't a function javascript I have a problem with a Drag and Drop code. This is a code const p = document.querySelectorAll(".p") const s = document.querySelectorAll(".s") p.forEach(parrafo => { parrafo.addEventListener("dragstart", event => { parrafo.classList.add("dragging") event...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584056", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Custom font not working in Stenciljs application I'm new to Stenciljs and I'm trying to get a custom font to work inside my app. I downloaded the otf file(Not sure if I need an npm package for this) Here's the code: filestructure: -src --components --assets ---Anurti-Regular.tiff ---Anurti-Regular.ttf friends-listen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: WordPress: publication day and title as an array I need to get an array of posts for the current month, which will contain the day of publication and the title, something like this: $events = array( array('16' => 'Post Title #1'), array('23' => 'Post Title #2'), array('23' => 'Post Title #3'), array(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584058", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why my table goes beyond the page border? I am out of any ideas. My piece of code for a very long table goes beyond the page border. I spent 4 hours reading through and testing all possible solutions but no success: Here is the example screenshot from the word: below is a snippet of my code \documentclass{article} ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584059", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: compilation of netcdf-c-4.9.1 issue I tried building netcdf-c-4.9.1 by first running ./configure and then running make. Unfortunately, when running make, I encountered the following errors: ../liblib/.libs/libnetcdf.so: undefined reference to `H5free_memory' ../liblib/.libs/libnetcdf.so: undefined reference to `H5...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584060", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Power BI ( PowerQuery) - Checking if values from three columns exist in three other columns I'm pretty new to PowerQuery I'm facing a little issue. I have two tables in powerquery with the following structures ( samples ): Table 1 ( model ) PSET Parameter Attribute PSet_Location PM_MacroArea&FloorCode 7 PS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584062", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Click event listener doesn't trigger on select option I want to understand why the click event is not triggered when an option from select is selected. I created a select with few options and added click event on the document as follows document.addEventListener('click', (event) => console.log(event.target)); <lab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584063", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add Digital Signatures and Date in base64 string Pdf in C# Is that possible to add/append a digital signature in base64 string pdf? If yes, how can I achieve that. If No, Please guide me to an alternative solution for that. A: It IS possible but generally not practical to * *Attach a signature as an append...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584064", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: winforms - How to make dynamically update stripstatus label when button save clicked in c# I just learned C# and just recently I tried to create a simple word process. I'm confuse how to make dynamically update my stripstatus label when i try to save the document. Here is my code so far: using System.IO.Enumeration;...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584066", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Specify the Unused Return Type of a Generic Function? I have a function which returns a struct with PhantomData, where I discard the result. An example of this looks like: use std::marker::PhantomData; struct Foo<T> { marker: PhantomData<T>, } fn foo<T>() -> Foo<T> { // something useful Foo { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584067", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: lattice() facet and regression lines I am trying to do a plot using lattice() in R. My data is something like this: model density days x 1 A 25,000 Cells/Well 0 2987.964286 2 B 25,000 Cells/Well 1 286.000000 3 C 25,000 Cells/Well 0 1954.250000 4 D 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: select all first records I need select only the first record for each person. If Status=1 is active record else is historic record app NoPerson Status Name CreationDateTime ======== ======== ======== ======== ================ 1 1 0 Ali 2022-08-30 11:31:53.117 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: What prometheus metric can be used to see the contents of the request? I would like to count the number of requests made to my application from one of the client. The client string is present in http REST request. I want to use prometheus. Is there any metric provided by prometheus that i can use to filter out the c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584075", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error while accessing the next iterator in case of map When I run this sample code to access the next iterator it gives error. int n; cin>>n; int arr[n]; map<int,int> mp; for(int i = 0; i < n; i++){ cin>>arr[i]; mp[arr[i]]++; } for(auto it:mp){ cout<<it.first<<" "; auto cur = it; advance(cur,1); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584076", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: error TS2322: Type 'FC<{}>' is not assignable to type 'ReactNode' Does anyone know what this is? Test suite failed to run error TS2322: Type 'FC<{}>' is not assignable to type 'ReactNode'. Did you mean to call this expression? import React from 'react' import { BrowserRouter, Routes, Route } from 'react-router-dom' ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connection Timed Out: MEMORYDB REDIS AWS (Node.js) const worker = async () => { await mongoose.connect(MONGODB_CONNECTION_STRING); const client = createClient({ url: REDIS_URI, password: AWS_SECRET_KEY }); console.log(client); console.log('Startinggggggg'); await new Promise((resolve, reje...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584078", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CORS policy Issue, when adding withCredentials: true to Axios headers. (JavaScript, React, Express) I am trying to build a full-stack application with React in Front-End and Express in Back-end. The problem I currently have is that I am getting the following error Access to XMLHttpRequest at 'http://localhost:5666/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584082", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to avoid re-rendering of React component which contains periodically updating hook? I have React hook useUpdate, which keeps updating every 1 second. This hook is placed in useCache hook, which should memoize result of useUpdate and return constant value. useCache hook is placed in App component. I need to App c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: While loop in JS to get folder path I am trying to make work a while loop in JS but I do not know much about js syntax. Each time I test the following code I get an error 'out of memory", so I think I need to fix the code but cant' find what is not working const template = [ {title: 'template 1', parentFolder:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584085", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: db.collection("products").find() not executed I have a simple code using express + mongodb to display a collection. The string "in db.collection" is never displayed when I call the route. But the string "in productResearch" is displayed. Any clue ? Thanks #############################################################...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584086", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AttributeError: 'function' object has no attribute 'get_extra_actions' I was setting two endpoint for registring and login using DRF and DRF_simpleJWT, and i run into error when i tried to test them. I am using rest_framework.viewsets.Viewset class as parent for my veiwset but it's not working.What should I try, or ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: UserForm ListBox / Spreadsheet update error (Run-time error 381) I am working on creating a series of UserForms meant to create, update, and delete data in a spreadsheet. The idea is to have all of the UserForms accessible on the first sheet of the excel file via Command Buttons. The problem I am running into is wit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584090", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HikariPool is stuck with simple repository test via Groovy sql and Spock In my Spring Boot application, I am writing Groovy Spock tests where I test my repository class if it can really insert data into the table via connecting to a real database. Config class: @Configuration @ComponentScan @EnableAutoConfiguration ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I show 2 days earlier than actual date in react date picker only using javascript Hi I am currently working with Shopify app. They are using react and I do not have access to their code base or API. so my problem here is send correct delivery date to shopify system. Currently, the app is set for customers to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584101", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert cell to blank based on time condition I have a dataframe that looks like this: > dput(df) structure(list(Person_ID = c(123L, 123L), Disease_Name = c("Heart Disease", "Lung Disease"), Disease_start = c("4/11/17", "4/11/17"), Procedure_start = c("4/11/18", "4/11/16")), class = "data.frame", row.names = c(NA,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: reverse array in javascript from eloquent book Actually I know there are easier ways to reverse arrays in js, But I need someone's help to understand this reverse method. Thank you for your help. function reverseArrayInPlace(array) { for (let i = 0; i < Math.floor(array.length / 2); i++) { console.log(array[...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: autcomplete jquery-ui , parameter doesn't recognized as string my parameter in autocomplete function isn't recognized in jquery-ui when i do a console.log, i see an autocomplete-url and [Object object] after that's my code : `import algoliasearch from 'algoliasearch/lite'; import { autocomplete, getAlgoliaResults } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Zapier Webhook - create and update WooCOmmerce Is it not possible to create a zap web hook that both creates a new and also updates multiple products in WooCommerce from an external platform? I only see the option to either create or update, not both?
{ "language": "en", "url": "https://stackoverflow.com/questions/75584106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Debugging neo4j setting a new property based on the value of distance of shortest path (degree of separation) In Neo4j, I have about a thousand nodes labelled Person, and they all have outbound connections to about 200 nodes that are, let's say, Place. Each person connects to many places. I want to add a property to...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Average by Prod if null in R df <- structure(list(Month = c(1, 2, 3, 1, 2, 3), Product = c('A', 'A','A','B','B','B'), Amount1 = c(100,NA,200,200,400,NA), calculated1 = c(100,150,200,200,400,300), Amount2 = c(100,NA,300,200,NA,500), calculated2 = c(100,200,300,200,350,500)), .Names=c("Month","Product","Amou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584112", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python - code transformation from hexadecimal \XE1 to á (a with spanish accent) #When I try to transform in my code the letters from hexadecimal code to Spanish accent didn´t work. #My IDLE is Spider Table [Transform to Spanish letters] (https://i.stack.imgur.com/rGcZQ.png) #Example: #Definition three examples of a ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add restirction that only Azure CDN can access the static website in storage accounts container. No direct access of static website blob URL I have created a blob container and made it a static website hosting, where inside the $web folder I have put all the build files of my react application. Please refer t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584115", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Passing Data to another view from a view with an initializer Im working on a messaging app atm and on the ChatView screen where you can see the thread of messages passed between users, I want to give my users the ability to visit the profile of the user they're communicating with. To get to the ChatView class, a use...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584116", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ERROR! conflicting action statements: ansible.windows.win_service, update_password According to Ansible here update_password Is a valid argument yet the following code is failing. - name: Ensure MyService ansible.windows.win_service: name: MyService start_mode: auto state: started username: .\myac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to locate an element using Selenium by its visible text I have this common situation where I want to locate an element by it's visible text, but the text is next to an i tag used for icons (not sure if this is valid HTML or not). It's the way a certain button component is set up that's used all over the site und...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: No copy constructor when executing A a = b+c I have an example class Point defined like this: class Point { public: int m_x, m_y; Point() { printf("Default constructor\n"); }; Point(int x, int y) : m_x(x), m_y(y) { printf("Init constructor (%d,%d)\n", m_x, m_y); }; Point(Point const &p) : m_x(p.m_x), ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584122", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I give gifs in my pygame zero game? I want to give some bomb explosion gif in my Pygame Zero game Thanks for your answers
{ "language": "en", "url": "https://stackoverflow.com/questions/75584123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Batch System windows application I am working on a batch system windows application, SCADA system for feed process. I used a Mitsubishi FX3G PLC, I have a 3 weight indicator connected serial RS232 to the computer, I have managed to get and process the data from the indicator, the next step was to control 11 tanks wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584130", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: create groups from continuous variables with increments I'm trying to create categorical groups from continuous variables with increments. score <- sample(1:100,20,replace=TRUE) df <- data.frame(score) I want to create new categorical columns based on increments of 20 (exclusive) in score column. It would look some...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584132", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to display data on the bottom of the spreadsheet using spreadsheet gem in rails I am using spreadsheet gem to exact data into a spreadsheet. The sheet shows the correct data in rows and columns. The issue I am facing here is I want to add additional data at the bottom of the spreadsheet as below and I am not abl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584134", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Telegram Bot - Error __init__() missing 2 required positional arguments I put the two parameters (token and chat_id). However I get the messagem: TypeError: init() missing 2 required positional arguments: 'token' and 'chat_id' How to fix the error of following code? class Telegrambot: def __init__(self, token: str, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584136", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: XML file organizer into sub folders by tag value briefly: I'm doing a project, where I need to separate XML files in different folders by a value found inside its tag. The specific case: I'm new to using Python. This specific script has in mind to look for a tag in an XML file (the file in question is the "NF-E 4.00...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Extract SQLCODE from Exception pragma in oracle I am attempting to pass an error as a parameter to a procedure in PL/SQL. To do this, I am passing a number (error code) to the procedure. In a few cases, the error I am trying to pass is predefined and named using EXCEPTION_INIT, and I would like to use the name, but ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Uncaught type error: Cannot set properties of null (Setting 'textContent) I am trying to get the user information that is written in a form to post the information provided once submitted to another HTML page. This is the page with the form: <form id="newBlog"> <label for="btitle">Title of your blog</label>...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584142", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to sync changes from CodeMirror over TogetherJS in Svelte? I am trying to sync the text that I am typing in my editor from CodeMirror over TogetherJS. However, whenever I type something when TogetherJS is enabled, the text glitches or sometimes only the text that the host types is visible on screens. To see the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can I include repeated measures in adonis2 PERMANOVA (vegan package)? I am looking to determine whether there are differences in a plant community between years using PERMANOVA. There was a herd of cows grazing a series of plots each year and the plants within these plots were remeasured each year after grazing. Now...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: google test - Checking two different functionalities with single piece of code What is a correct way to use one implementation of unit test to test two completely different functionalities. In other words, I would like to have two (or more) tests that execute identical code for testing, but differ only in one place ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584147", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Labeling pies charts in scatterpie with ggplot2 I am using scatterpie in ggplot2 on a stamen map to create pie charts for admixture population genetics. I have successfully created a scatterpie plot layered onto a stamen map and now want to add labels to the pie plots. I would like to label them according to popula...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584148", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Custom Css not working on my worpress website I want to add sticky button on my website I write this css code ` @media (max-width:567px) { .single_add_to_cart_button { position: fixed; bottom: 0; width: 50%; z-index : 10; margin-bottom: 0; } }
{ "language": "en", "url": "https://stackoverflow.com/questions/75584152", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Color of Characteristic Curves using mirt I am trying to figure out how to change the colors of the category characteristic curves using R's mirt package. Here is the code I am using to generate the plot: plot(mod_id, type='trace', which.item = c(1), facet_items=T, # 7 items in scale as.table = TRUE, auto.key=l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584154", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make Tensorflow GPU and keras https://www.tensorflow.org/install/pip says that # Anything above 2.10 is not supported on the GPU on Windows Native I am trying to use keras-cv, which requires tensorflow 2.11 Is there any way to make keras-cv work with tensorflow gpu? I am using windows 11
{ "language": "en", "url": "https://stackoverflow.com/questions/75584155", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AT command Send Expect via Minicom does not recognize quotations Currently I have the following script running via minicom. minicom -b 115200 -D $MODEM_DEVNODE -t vt100 -S csq.txt -C csq_results.txt < escape.txt csq.txt send AT+QENG="servingcell" expect "OK" sleep 5 send AT+COPS? expect "+COPS: When I enter AT+Q...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584156", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to filter a select-string to only display the found word with wildcard I am using Select-String -Path "some\path\smthing.xml" -pattern "smthing*" which displays the whole line that contains this pattern. The problem is that there are random numbers after smthing and are always different so I can only use wildca...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584160", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: azure ad b2c run user flow doesnt return token with scopes on it I have configured a user flow. I select Access Tokens -> Resource {One of my APIs} Scopes {All of my related scopes} and press Run User Flow and add the callback URL to be jwt.ms, I dont see the scopes on the token. Why? A: For the scopes to be includ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584161", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connecting on already running browser with Python I would like some help to see if there is a way around this problem. I'm testing to make a script that can connect to the browser that is launched by the user. What I can do with success: I CAN connect to a browser that is launched by this command: "c:\Program Files ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Terraform: Can't access each.value.name in for loop I've seen similar questions here, but nothing that addresses accessing a member. I'm guessing this is something easy and my mind just isn't working. I have a nested for loop that is producing what seems to be the output I need, but when I try to use this in a resou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584169", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Typescript type not supported by scrypt I'm trying to use an array in my smart contract, however I'm getting this error: Type instantiation is excessively deep and possibly infinite let tokenid: FixedArray<ByteString,1000>; Is it possible to use such type, and if so how should I use it? A: It is a issue. try to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584177", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Flink column date doesn't load Hello I'm working with Flink SQL and everything is OK except when I try to work with timestamp/date columns As you can see I only can read my timestamp column as string/varchar type and when I try this in my select: TO_TIMESTAMP(Col1) as ts, .. cast(Col1 as timestamp) as ts, .. CONVER...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Layer two geom_sf layers in ggplot with two different scale_fill_gradientn? I have a dataset that looks like the following: library(tidyverse) library(sf) library(giscoR) temp <- data.frame(Country = c("United States", "Brazil", "Mexico", "Canada", "Argentina", "Chile", "Peru",...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584181", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I scrape from the web using python's beautiful soup For my class we were tasked with scaping raw data and processing it. I want to scrape data from UFC fights from http://statleaders.ufc.com/en/career. For example in class we used a different website that had weather data information and we used the line tabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am beginner in flutter and i am not understanding how a Class can be called like a function in flutter? what is the reason behind calling of class in the flutter i called class the in the dart program but it doesn't happen like it is happening in flutter.Then the classes in dart and flutter is different or same?
{ "language": "en", "url": "https://stackoverflow.com/questions/75584183", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use regex in Swift to capture string? I try to get json({id:123}) from "this.set({id:123});" with regex("this\.set\s*(\{.+?\})\s*;") in Swift, but not success. Anyone known how to solve it? thank you very much. test string "this.set({id:123});" my regex "this.set\s*({.+?})\s*;" I how to get {id:123}
{ "language": "en", "url": "https://stackoverflow.com/questions/75584187", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Pandas.io.datareader not working in Google Colab So I am following a book Python for Finance. A simple code is laid out in the first chapter, but it doesnt work. import numpy as np import pandas as pd import pandas.io.data as web goog = web.DataReader('GOOG', data_source='google', start='3/14/2009', end='4/14/2014'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75584188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }