text
string
meta
dict
Q: halide generator has green image when compiled on gpu When compiling halide generator for gpu target CUDA I get green image (on cpu image is correct). Here is the algorithm: output(c,x,y) = Halide::cast<uint8_t> (input(mux(c, {1,0,2,3,0,2}), x, y)); And the schedule: Target target = get_target(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ffmpeg works with laptop webcam but not with android camera I am working on Macbook with M1 Chip with this ffmpeg version locally installed. ffmpeg version 5.1.2 Copyright (c) 2000-2022 the FFmpeg developers built with Apple clang version 14.0.0 (clang-1400.0.29.202) With this, I am able to use my laptop's webcam ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592308", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to make a API call through React redux thunk I am trying to connect to my web API which is working fine through postman but when I try to make call to API via react redux it justs skips the API call code. The code written in Jobthunk.js to call API export const DeactivateJob = (JobId) => { return dispatch => { d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: (Flutter) Android Navigation bar does not disappear after some time when swiped from below I want users to still see the status bar so I have done it like this: if (Platform.isAndroid) { SystemChrome.setEnabledSystemUIMode( SystemUiMode.manual, overlays: [SystemUiOverlay.top], ); } When user s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592312", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Solana TPU client, sometimes the transaction doesn't go through I'm having some trouble utilizing TPU client (I want to send my transactions directly to TPU leaders instead of RPC url). The language is TypeScript and the package I'm using is https://www.npmjs.com/package/tpu-client To test the client I tried sending...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NavigationLink(value:, label:) does not work with NavigationDestination(for:, destination:) I have an issue with NavigationStack and .navigationDestination. This is a slightly simplified version of a view body in my app. VStack { // other views List { Section("Recent Activity") { ForEach...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592316", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to find the index of an array of objects after it is linked to a variable? Consider this code which creates a sequence of links to (not copies from) elements in the items array - class Item { constructor(text) { this.text = text; }} let items = [new Item ('a'), new Item ('b'), new Item ('c'), new Item ('a')] let...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I setup hasura docker compose and traefik to access outside api for actions I'm setting up 3 docker-compose file one contains the treafik proxy, the other one is my api to handle actions, and lastly a hasura service. My problem is having my hasura actions connect to the other service define in a different do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592318", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: eks: kubernetes api returns empty externalIP for ingress-nginx-controller When I execute kubectl get svc -n ingress-nginx, I see an lb address listed under EXTERNAL-IP. NAME TYPE CLUSTER-IP EXTERNAL-IP ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592320", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Possibility of check if nuget libraries execute background threads Is any possibility to see inside IDE or in logs if nuget libraries execute on background threads? I looked inside android studio logcat and app inspection but I nothing found there
{ "language": "en", "url": "https://stackoverflow.com/questions/75592324", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FastApi how to find where HTTPException is raised I'm working on a new FastApi project written by other programmers. one api is raising a Httpexception and i can not find the specific location. what is an easy way to find it? A: the easies way is to add a general Exception handler to catch all exceptions, print th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592325", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Queries regarding print() function print("Line 1") print(">>>") type(print("Hello")) print() print("Line 2") print(">>>") print(print("Hello")) print() print("Line 3") print(">>>") a = print("Hello") b = a print("a:", a, "b:", b) Q1) For Line 1, why is it that type(None) not be executed since print("Hello") retur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592329", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-5" }
Q: How do I edit this collider to fit my spike sprite size exactly? Hello, I am using tilemap collider and composite collider on my spike tilemap object. Used by composite is checked on my tilemap collider. These colliders are all 2D. How do I edit this collider to fit exactly to the spike sprite image? I tried editin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592330", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: copy with memcpy structs double pointer member content to another struct I want to use C to copy all content i from struct member indexs to struct A with memcpy. I don't know how to do that. Can you please show me how it done if even possible? Let say we have 3 defined struct's: struct A { int destination[100]; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592333", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to set get the custom gitlab runner install node modulus in a docker container? A runner registered with gitlab-runner register throws: npm ERR! code ERR_SOCKET_TIMEOUT npm ERR! network Socket timeout npm ERR! network This is a problem related to network connectivity. npm ERR! network In most cases you are behin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592335", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to pass a string variable to remove() in c Okay, so this is the function I'm using remove(): int fmove(const char * filepth, const char * destpth) { FILE * fp; fp = fopen(filepth, "r+"); FILE * fpdest; fpdest = fopen(destpth, "w"); if ((fp != NULL) && (fpdest != NULL)) { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592340", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Do we allow upload the two certificates with same SubjectDN to the same trust-store in Java keystore Do we allow upload the two certificates with same SubjectDN to the same trust-store in java keystore?. Any RFC reference we have which says this is not allowed?. We have Certificate authority which can issue certific...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592341", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to hide svg with react-native-reanimted when height is collapsing I'm trying to achieve an animation on blur and focus of TextInput with react-native-reanimated when the keyboard is opening or dismissing, the height will collapse but the problem here is if we have an SVG inside Animated.View it will not collapse...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592344", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: flutter | detect if user force kill the app i am trying to detect if a user force quit the application on flutter. i have been looking this answer to implement it but it is not working when any user close the app by force kill. i need a callback like AsyncCallback for it. any solution to do that? the solution on the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592349", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get location of "log.output-file" or "server.log" in trino using java Like is there any method through which i can get the location. I have tried Paths.get but it didn't work.
{ "language": "en", "url": "https://stackoverflow.com/questions/75592351", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django/Wagtail SnippetChooser template 1.How i can change/override SnippetChooser template ? 2.How i can add custom filters,queryset manipulations when choosing snippet ? I can't find any info about this in documentation of wagtail A: * *https://github.com/neon-jungle/wagtailmodelchooser *https://github.com/wagta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592353", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Kivy app flashlight not working for Android I have been trying to create a simple Kivy app that turns a flashlight on and off. I have been trying to fix this for a while to no avail. There isn't much information on the internet for this fix. I have decided to take a snippet of the code. (The rest is just gui design ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592356", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Constructors and aggregates for the same struct? Constructors and aggregates are mutually exclusive for struct. But what in this case is happening here in return statement of MakeOne(): #include <iostream> #include <string> #include <optional> struct Aggregate { int age; std::string name; }; std::optional...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592360", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Merge deep group hierarchy parameters using Postgre SQL query I have the following values in PostgreSQL for a 3-column table. The keys in the object represent the column names and the values their values, each column are tpye of varchar and their values are transitioned to their respective types after the result com...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592363", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I make sure that my github action workflow is working as intended? I have a simple python script which classifies balls according to their type. The script is working as intended on my local machine. How can I make sure that the git action workflow is running as well? I need to run the script every night. Bu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592365", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Understanding why async function doesn't finish I'm trying to use Google Drive API. I saw in a tutorial how to access it and how to read files. I'm creating a simple Desktop app with .NET Maui but I have a problem understanding what is happening with the function I use to access the Google Drive. public partial clas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592367", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wrap column names in backticks with doctrine migrations We use Doctrine annotations for our DB schema. Currently we are running Mysql 5.7 and would like to upgrade to 8.0.4. One of our field names are rank which was introduced as a reserved word in 8.0.2. As such, we get an error like this: SQLSTATE[42000]: Syntax e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592368", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Exo Player: How to allow our video stream urls to be played only by our apps? We have video content hosted on our server and these video stream urls can be played from any where Ex: * *From our http://ourwebsite.com using video player *From our android app using exo player *From any other website using video pla...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592369", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Translating FEN strings to chess peices with dynamic chess board divs Given a valid FEN string, I want to change the classes of certain board places to have the chess peice go in that spot. However, because it is too tedious to do myself, I am generating a chess board dynamically. I am also (currently) not worrying ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592370", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring JPA randomly suspends insert and goes in endless wait I am calling a @Transactional method with a rollback on JPA for Exception.class. This function makes various inserts and selects successfully and also calls 2 SPs in sqlserver in different scenarios, just 1 case where. Problem: I am booking an appointment ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592378", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pandas Datafram JSON data extract and join HTML tag Hi below the datafram each row has JSON array data on metadata.reference column, am trying to create datafram without JSON array and want to add HTML tag. import pandas as pd df = pd.DataFrame([ { "serverid": "admin@admin.com", "ipaddress": "10.10...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592379", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: sign_in_button.click() not working from selenium.webdriver.common.keys import Keys I can't find any solution for this. Can anyone suggest why from selenium.webdriver.common.keys import Keys is not working and clicking from selenium.webdriver.common.keys import Keys driver.get("https://www.linkedin.com/jobs/search/?...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592380", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: API Communication Bug -- Swift I am just starting to learn the Swift programming language and building a weather mobile application with Swift (UIKit). However, I am using non-Latin characters when communicating with the API, so I cannot establish proper communication. When I convert the non-Latin characters in the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592383", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Timedelta only shows 2 digits in some cases I got the following lines of code: from datetime import datetime def my_function(): start_time = datetime.now() # Do something end_time = datetime.now() return (end_time - start_time).microseconds print(my_function) If the function executes "slow enou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592384", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: Cannot launch camera in React Native Using react-native-image-crop-picker I am trying to add a function that handles opening a camera in React Native App. However, once I try to click on Take A Photo button, it does gives an error that says Error: Cannot launch camera So here is my code for handling it: const...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592389", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# - WebAPI - Ampersand in url My WebAPI (.Net 4.8) act as a proxy between clients and a document API. These documents sometimes had "&" in their ident (It's bad but I'm not responsible of this document API) When I try to get a document : https://localhost:44875/ged/Ident1&/content My WebAPI respond 400 Bad Request ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592390", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why my flutter function isn't working properly? Can u check my widget code and tell me what's wrong the in the _saveForm function?? Bcuz, whenever i'm adding a new product in my list and saving it, it's not getting saved in my user products screen. I'm adding the codes from every widget related to this function. I'm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592392", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deploy Jackrabbit jca 2.21.15 on Wildfly 27 I've been trying to deploy jackrabbit for a really long time. I had used different versions of jackrabbit and wildfly a few years ago without success (I don't even remember the error). I thought I'd try with the latest version but it seems to be even worse than before. My ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592393", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Issue with loop_control and loop_var in Ansible playbook Here I am trying to run ansible playbook in order to fetch all the namespaces followed by the secrets of "type=kubernetes.io/tls" so that we can check the expiry of data in tls.crt file. I am able to fetch namespace list as well as secret list but unable to pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592394", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: JAMES can't process activemq queue I have a JAMES server that has been running for years now. all the sudden we notice it stops processing messages and cpu went sky high. (it serves as a relay) after a few tests, we noticed that the ActiveMQ store is 14 GB. we tried moving the store and then james started working ag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592397", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get add data as json in firebase to a particular field of a particular collection? I have a collection of user in firebase which has fields as {name: "Raj", phone: "9876543210", friends: null, bio: "Test Bio"} I want the "friends" field to update with user2 details whenever any the user2 clicks on the "Add as...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592399", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to solve the problem of results mismatch between different GEMM algorithms in Tensorflow? Trying to use XLA in Tensorflow and faced the problem of Results mismatch between different GEMM algorithims while training the model. The training is not interrrupted however not sure if the convergence is effected by this...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592401", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error during publish NET 6 app to AWS Lambda I am trying to publish my NET 6 Svc to AWS Lambda from VS 2022. * *Created the file %USERPROFILE%.aws\credentials [default] aws_access_key_id=xxxx aws_secret_access_key=yyyy *Right click on project, Publish AWS Serverless Application Here I see the profile: default, R...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592402", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to connect 3 table in mongodb and node js in my case, I've 3 tables * *users table name: { type: String, required: [true, 'Email is required'], trim: true, lowercase: true, }, role: { type: String, required: true, enum: ['SUPER_ADMIN', 'ROOT_STANDERD', 'COMPANY_ADMIN', 'RETAILER_ADM...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592405", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Assign clusters to new data using a model based on previously gained data In an experiment, we gained data through an online survey. We used this data to conduct a cluster analysis (using the library(mclust) library). According to the clusters gained through our analysis, we then selected certain people for further ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592408", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: passing an array of objects in postgresql using node var query = `select * from map_balances where balance_userid = $1 AND balance_vendorid = $2 AND balance_amount >= $3` var values = [accesstoken,token,arr.map(e=>e.vid),arr.map(e=>e.amt)]; client.query(query,{arr:values},async(err,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592409", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Async call (fire and forgot call) in try and finally block in Python I have a try and finally block like below: def get_data(): try: resp = {'id':101,'val':500} return resp except: print('Error!!!') finally: log = {'start_time':111111,'file':test} DB[log_coln].upda...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592410", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Inherited class methods with different signatures in python Let's consider the following code snippet: class A: def foo(self) -> None: raise NotImplementedError class B(A): def foo(self) -> None: print("I'm B(A)") class C(A): def foo(self, x: int) -> None: print(f"I'm C(A), x={x...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592412", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to properly configure spring boot for oauth2 with for example github to have a home page? What I want to achieve is having a home page, lets say on path "/". On this home page, there should be a link to log into github. <body> <a href="/oauth2/authorization/github">Login with GitHub</a> </body> What I want ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592415", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can I test MySql createConnection response using jest? I just started unit testing and now I find myself in the position where I wish to test if the connection was created successfully or if the response of the function is successful. (I am aware that this part is debatable in which is it e2e or unit but I still...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592416", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Firebase and BigQuery data discrepancy in MAU In section “User activity over time” in FireBase I observed a a significant increase in “30 day active users” metric on Android in last 14 days (from 122k to 170k). I can’t obtain the same result with data exported by Firebase to BigQuery, where I don’t see any change. T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592418", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Basically, how would a person who knows nothing about coding copy the code of an entire website on a basic, school-provided Chromebook? I really need help finding out how to add the code for a Site to Google Sites. I Google searched it and found something on this site, but it was too complicated. I need step-by-step...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592419", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to notify UIViewController's UINavigationController to push another UIViewController on navigation stack using Combine? I'm trying to notify my TUCSearchRepoListViewController to push one of the controllers on top of navigation stack based on action that happen inside of the TUCRepositoryListView. The TUCReposit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592420", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Violation Avoid using document.write(). Brovser-sync issue Had a message in console that says to avoid using document.write(). how it looks in html Its took a while to find how to fix it or even find where problem is, couse have this part of code: <script id="__bs_script__"> //<![CDATA[ docu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592423", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pasting Multiple Excel Ranges onto Body of Outlook Mail Using VBA I'm try to make a macro that creates and sends out a report using the tables made in an excel sheet. I'm trying to paste multiple ranges into the outlook body but instead of coming one after another, all of the tables end up inside the first table. Be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592424", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ctrl + K is erasing the text instead of indenting it Here's what happens when I press ctrl + K to indent a code block.
{ "language": "en", "url": "https://stackoverflow.com/questions/75592425", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Can ffmpeg get rtp/h264 source at soket, unpack and send upd/264? One service publish rtp/h264 video. Exterlan player utility wait for h264 stream without rtp packing. Ffmpeg can connect to first side, unpack h264 from rtp and send it as stream to second side? Need low latency.. no try now.. its first step - get inf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592427", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Regarding Microservice architecture I’m new to Kubernetes and don't know how to create a good Kubernetes infrastructure. Which protocol should I use for pod-to-pod communication for both internal and external for fast and secure response? I could use gRPC or graphql or…? I’m also confused where should I use api gate...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592430", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How to use Web.Contents in PowerQuery with headers and body? I need to get data from an API but it is a 2 step process. I need to pass headers and metrics (i.e days, gameTitle etc) as body to get a "ReportID" to then store it in a variable to use it to then request the main report. So in python, I can do something l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592431", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: You must supply options input to rollup (vite) when make npm run build show this error, i use laravel 10.0.3, and vite 9.0.1. this error just show vite version 9, but when use vite version 8, all this is stable and run. any solution for this problem, thanks The problem is that I can't read the full path filename, it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592432", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to avoid duplication when using 2 foreach php Hello i have this code in php where i want 2 arrays to have their values put together, this is the code: <?php $values = [1,2,3]; $names = ['K', 'O', 'E']; foreach($values as $value){ foreach($names as $name){ echo $value.$name; } } ?> What i get is:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592434", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How does "area" work in Python with tabula? I would like to retrieve a part of a pdf using tabula python and more precisely with area. I have this for now: from tabula import read_pdf table_pdf = read_pdf('Test BL.pdf', guess=True, pages='all', stream=False, relat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592435", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I view the commit history highlighting a specific commit in GitHub? GitHub lets the viewer to see a specific commit to be viewed in a few ways through URLs like https://github.com/<account>/<repos>/commit/<hash>. However, is it possible, from the page of a particular commit, to display the history surroundin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592437", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to optimize PowerShell script working with files? I am downloading IP addresses (ipv4 and ipv6) database which has IP number in csv format from ip2location where each file has around 7000000 rows, I am reading the data and converting them into IP addresses than converting IP addresses to CIDR notation and storin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592444", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Does Poco::Data::Session get returned to Poco::Data::SessionPool automatically when session's object gets destroyed? I'm using Poco::Data::SessionPool class to manage database connections. I need to take a session object from the pool to perform a query. The question is, does this session get back to pool automatica...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why I don't get any info from my form into the Google spreadsheet? I don't know what I did wrong calling the Google Spread API. I don't get any errors in the console. I set the propriety in Google Spreadsheet that everyone can edit my spreadsheet but I don't receive the form info from my website. Here is the code: `...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592447", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: react error: Error: Objects are not valid as a React child (found: object with keys {name}). If you meant to render a collection of children, I have a react native app. And I try to display some names of array objects. So this is the simple example: /* eslint-disable prettier/prettier */ import React, { useContext ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592448", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: need a free tool as well as a tutorial for zigbee simulation I need advice with IEEE802.15.4 MAC/PHY and zigbee implementation in OMNeT++, Matlab, or any other free software that will allow me to simulate, analyse, and alter a zigbee network. I'd like to investigate the impact of power, bandwidth, and other variable...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Couting repeated sentences from corpus I have a number of CSV files containing emails in one of the columns. Each row has one complete email. Some of these emails are auto-responses and occur multiple times. What is the best way to read through all the emails and count those sentences that keep repeating? With just ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592451", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do pass value in href parameters? If value is null i need to set that value is Zero? I need to pass 3 parameters compulsory in hyper link like <pre> <a href="<?= base_url('report/print/') . $loc . '/' . $dept . '/' . $e_name ?>" </pre> if $loc or $dept or &e_name is none i need to be set that value is zero,othe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592453", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: zsh: command not found: create I'm following this course on python and pandas and wanted to create a playground, but it keeps telling me "zsh: command not found: create" FYI I have Anaconda installed I tried ls command and other commands, it works fine. But not this one How can I fix this? A: Ok, I figured it out s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error -2753. The variable pageLoaded is not defined property errorSmallPayment : 501 global dlog, doClicks using terms from application "Mail" on perform mail action with messages these_messages for rule this_rule my initScript() dlog's w("Start from rule. " & (my getVersionString())...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592457", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: std::string&& vs std::string_view as arguments for functions Getting a C2668 ambiguous call to overloaded function for a function with string&& and an overload with string_view when using literal strings or pointer variables With following defined functions void func(std::string&& s) { // use s } void func(std::...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can´t see the jfoenix elements, when i am running my application (Intelij and Maven) I have used a jfoenix.jar file to add the Jfoenix elements to my Scenebuilder, then I went into Intelij and added this to the pom.xml: <!-- https://mvnrepository.com/artifact/com.jfoenix/jfoenix --> <dependency> <groupId>com.jfo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592460", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Remove special characters from a string in oracle apex I have an item having value as :P1_CODE = 'AAAA-BB-CC-123' From the above i just want AAAABBCC123 (Need to remove the special character) A: If "special character" is a minus sign, just replace it: SQL> select replace('AAAA-BB-CC-123','-') from dual; REPLACE('A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592465", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: in socket io using laravel and flutter When creating a connection, the error appears I/flutter (10586): Connection Error: It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/) fl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592469", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: No Output Directory named "build" found after the Build completed. You can configure the Output Directory in your Project Settings Error: No Output Directory named "build" found after the Build completed. You can configure the Output Directory in your Project Settings. i got this error here is my repository https:/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: jquery validation rules for corresponding radio button on checkbox checked I have following models public class Course { public int? id { get; set; } public string? name { get; set; } public string? tooltip { get; set; } } public class Department { public int? id { get; set; } ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592473", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Generating an OAuth Access Token from COBOL CICS WEB CONVERSE - 'error_description : grant_type is required' This is the first time our COBOL CICS team has attempted to obtain an OAuth Access Token. We have been at this for some time have asked a number of colleagues from various disciplines for advice but to date h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592477", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MYSQL consuming too much CPU but not enough memory I have a VPS with 8GB RAM and 4 core CPU. My server is running WHMCS for a long time now without any problem. I am using Ubuntu with Plesk. Suddenly the mysql is using a lot of CPU (>70% to 90%). But the RAM usage is <5%. What configuration I should use to overcome ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592479", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: writing tests for react-native integrating RTK Query with Components I am using RTK Query Hooks in my expo react native project.Now I am willing to write test for the component contains RTK Query Hook?. Can Someone else share me the steps how to writing test for integrating RTK Query in react native components. I tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592480", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to post a request with JSON:API compliant data to json server? I am trying out a simple project wherein I want to post JSON:API compliant data to json-server. But whenever I am trying to post, only the id is being saved and the data is not persisted. The db.json file looks like this initially. { "data": [ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592483", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 'pytesseract' module not found I am using visual studio code with the python extension installed on Ubuntu, I have created a python file named "image_extraction" and installed selenium, fuzzy-wuzzy, and other modules. Everything works just fine except pytesseract despite that the terminal says that the pyterresract ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592484", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Signaling invalid parameters in C function I have a function where I want to forbid the caller from entering invalid values (width or height <=0). In Java or C++ i would throw an exceptions, but there is no such thing in C. I read that one approach would be to create an enum with error codes and return them, however...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592485", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring boot component scan includes class not in the package list I have a spring boot application package com.discordlistener.historicalmessages.parse; @SpringBootApplication @ComponentScan(basePackages = {"com.gmailclient", "com.discordlistener.common", "com.discordlistener.historicalmessages.parse", "com.dis...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592487", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Splash Screen Image not showing on full screen using core SplashScreen library implementation 'androidx.core:core-splashscreen:1.0.0' I am using this library to show a splash screen and this shows my splash screen image in only a part of the screen I want the image to fill the full screen. Here's my themes.xml <reso...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592490", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pagespeed sees images as PNG and JPG instead WebP HTML code is now rendered with WebP images (more than 1 month). But Pagespeed steel sees images as PNG and JPG instead WebP. What could be the reason? I've realized WebP converter/resizer, that sucessfully outputs WebP images to HTML code (instead PNG and JPG). But P...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592491", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Kendo dropdownlist doesn't cascade from another kendo dropdownlist When I add a new kendo dropdownlist, it doesn't cascade from other. I use a ASP.NET core, but i generate kendo dropdownlist by jquery, mb you can explain, how to make it another way. function addExCond() { var elem = $(` <div ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592492", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: std::chrono unexpected result when calculating date I'm using std::chrono to add year, month, day etc in turn. I assume that local time is 2023.2.28 UTC. My timezone is UTC+0800 and the date of my computer is correct. #include <iostream> #include <ctime> #include <chrono> using namespace std; using namespace chrono...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592494", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Show output of test on second monitor In the past I used PyCharm, now I am using vscode for Go. In the past I liked to see the output of my test on a second display: This was handy since I have one display for the code and one display for the output. Of course I could use a plain terminal on the second display, but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592496", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to copy a response from one API post to another API post Using API requests, I'm trying to GET an execution result for a test (PASS/FAIL), and in some way copy that response and paste it into the request body (JSON) of a different API request that will POST that execution result (PASS/FAIL) some place else. E.g....
{ "language": "en", "url": "https://stackoverflow.com/questions/75592498", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Expo SDK 47 IOS build error EAS Fastlane while using two bluetooth receipt printing libraries for scanning bluetooth devices and printing receipts Getting this error on building for IOS ❌ duplicate symbol '_A' in ┌─ libRNBluetoothEscposPrinter.a(RNBluetoothEscposPrinter.o) └─ libepos2.a(AccesscodeEngine.o) ❌ ld: 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Read data from azure blob storage and create chunks of it and Upload it as separate blob files I am trying to read csv file of millions record trhough readableStream from azure blob storage and creating chunks out of it (10k/20k each) and wants to upload it back to the azure blob storage as separate file. The curren...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592501", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Monitor & Receive Notifications on the Record Table change creating multiple stored procedure in a Database I have implemented a record change notification using the help of the following document Monitor & Receive Notifications on Record Table Change This is working as expected. I have implemented the listening cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592507", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Failed to invoke Async Functions (Api Calls) sequentially So I have to make two api calls in my app. The first one is a POST request that creates a new game model. The second one is a GET request that uses a value from the first request. I tried to write a function so that it could all be invoked sequentially. Howev...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Having issue with pdf | printing packages flutter The following code create a pdf file and the data is coming from ListView.builder. When the data is more than a single page to be fitted on then the program does not show anything from the data onto the pdf but when the data is enough for single page to fit on then i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am getting an error while running a python file i was trying to run a bot using nextcord bot this always poped up @bot.slash_command(name='play', description='Plays a song.') async def play(ctx: nextcord.SlashContext, url: str): player = MusicPlayer(ctx) await player.add_song(url) Error: > async def play(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592516", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: How do I pre select a marker on react-native-maps? I trying to display a preselected marker in a react-native app. I am using react-native-maps for displaying maps. Selecting/tapping a marker in a map shows a small toolbar on the bottom that has driving directions button. When I am displaying a map that only has 1 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: h5py: unable to open file in append mode on server I am trying to open a hdf file using h5py in append mode. This file is located on a samba file server: import h5py path = "run/user/1000/gvfs/smb-share:server=xyz.com,share=folder/file.h5" h5f = h5py.File(path,mode="a") this gives me the following error: OSError: [...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592518", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Composer DAG stops parallelizing when importing google.cloud.aiplatform I've been having issues developing an Airflow orchestrator that periodically runs multiple processes on Vertex AI. I need the DAG to parallelize around 50 tasks. What I've found is that I can't import google.cloud.aiplatform and run parallel tas...
{ "language": "en", "url": "https://stackoverflow.com/questions/75592520", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }