text
string
meta
dict
Q: Mock OutputStreamWriter with-in a function in JAVA I have similar issue which is Listed in Mocking fields inside of a method in Junit 5 . However I see that it's marked as duplicate. If I go to the posts pointed in the above link, they don't answer the issue i'm facing. I have a ServiceProvider with a function gener...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Single query for two database connection on SSP Class PHP I want to retrieve data from 2 database which is from the same server on single query. So here's query I want to implement. SELECT Customer.id, Receipt.Status, (SELECT b.created_date FROM systemB.History as b WHERE b.id_number LIKE Customer.id ORDER BY id DE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MongoDb Slows down, When mongoDb write operations are more than 10000/sec I am running a cron whose code is written in golang, and i am using mongoDb as database There was 128GB Ram into my system in which DataBase is stored, and I am using different system for the code. The cron is running with 17000 merchants para...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577100", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: How to make SQL only read CTE referenced in IN clause once? WITH RootItemIDs AS ( SELECT DISTINCT ParentID FROM C_Item WHERE ParentID NOT IN (SELECT ItemID FROM C_Item) ) SELECT COUNT(*) FROM C_OrderHeader oh JOIN C_OrderDetail od ON oh.OrderID = od.OrderID JOIN C_Item i ON od.ItemID = i.ItemID JOIN C...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577103", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Convert landmark to Blendshape mediapipe is so great. But I still can't find a solution to convert from mediapipe to blendshapes. I need the names of point in blendshapes via mediapipe. Is there a way to apply it to Javascript? I'm using Ready Player Me's 3DModel via react-three-fiber and it's working based on blend...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: I am facing NPM is know not run on NODE.js v11.3 I am facing npm is know not run on NODE.js v11.3 you wll need to update to newer node.js version at nodejs.org I am facing npm is know not run on NODE.js v11.3 you wll need to update to newer node.js version at nodejs.org
{ "language": "en", "url": "https://stackoverflow.com/questions/75577106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Remainder Operator Not Working For REALLY Large Numbers this problem is from hackerrank btw - (https://i.stack.imgur.com/ruG3o.png) I found that the output is always n^2 mod 10^9+7 when given an input of n. Here is my code: #include <cmath> #include <iomanip> #include <iostream> using namespace std; int numberofte...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to read scanned barcode from Newland Android NQuire to textfield in flutter, here is the api example for andriod. how to use this in flutter these are code to integrate scanner with android application, how to use this code in flutter (https://i.stack.imgur.com/IDnTG.jpg)](https://i.stack.imgur.com/IDnTG.jpg)](h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577108", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When is it safe to free sockaddr passed to bind? Bind expects a pointer to struct sockaddr (https://man7.org/linux/man-pages/man2/bind.2.html). Is it safe to free this structure immediately after the call to bind or is it safe to free this only when the socket is closed? If it is safe to free the structure immediate...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577109", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: No Matching Host Key Type Found when using SFTP I am using VirtualBox and have successfully login using ssh -oHostKeyAlgorithms=+ssh-dss user01@127.0.0.1 -p 2222 but when I was trying to use sftp to transfer some files to the Virtualbox, it gave me this error below Unable to negotiate with 127.0.0.1 port 2222: no ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why v-on:change does not work but v-on:input works in vuexy template? In vuexy template why does in v-select v-on:change does not work? Here loadSelectedSourceLeads is returning an array from api and working properly. <b-col cols="2"> <v-select v-model="filterSourceId" :options="fil...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577115", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to translate a file depending on other user currentActivelanguage ? Flutter So I got a variable String userTargetNotifLanguage that store the targetUser current app language (either english or non-english). I want to use it to send a PushAppNotification that I already build. sendPushNotifications( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Algorithm to find out the best statistics for a given outcome I have an excel file with a list of behaviors. Each entry has a lot of columns metrics statistics based on some events expressed as numbers. How can I compute the metrics analysis so that I can find out which metrics can give my desired outcome most effic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577119", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: MUI DataGrid Filter ServerSide - External API I am trying to set a filter from External API the mui-datagrid. I would like to pass in the value of the filter from mui QuickSearchToolbar . in external API Filter with Post Method inside Body raw : example request in postman [here][1]: https://pasteboard.co/fGf1rPTdVF8...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577121", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I send the file and formdata in aiohttp in Python? I am having an use case to send files and the other formdata that is being received from client (front-end/postman) to a file-upload service to upload the file. For this, I am using aiohttp. I am facing a couple of issues when sending it in the request body....
{ "language": "en", "url": "https://stackoverflow.com/questions/75577126", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Login with Google for Flutter app hosted on AWS. Flutter amplify seems too immature I want to add a login with Google to a Flutter app hosted on AWS. The most obvious solution was to use Flutter Amplify. But I can see the library is still too immature (amplify_flutter: ^0.6.12) and has seen breaking changes, even in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577127", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ng test doesn't work on hybrid Angular project I'm working on a hybrid Angular project (both Angular and AngularJS in the same project). Both the grunt serve and grunt test commands work fine. But it fails when I try to run ng test to run unit tests of Angular. It shows errors: ./src/app/ui/admin/Ggadmin.component.t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577128", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Create Panda DataFrame using nested dictionaries and a list: dict:{dict:{dict:[list]}} I have a series of nested dicts with a list as the deepest value. data = { "etherA": { "vlanY": { "local": ['mac01', 'mac02'], "external": ['mac03', 'mac02'] } }, "etherB": { "vlanZ": {...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577131", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Files with same name is not uploading through move_uploaded_file My folder name is 'upload-images'. I am using move_uploaded_file function of PHP to upload files into this folder and it is working correctly but if I try to upload a file twice it is not uploading. Means two files with same name is not uploading. Anyo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577133", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Git Bash is not showing on Visual Studio Code, altroalthough I installed I have a problem with Git bash. In my computer I installed git bash. But I can not take this app into Vs Code Terminal. I tried a lot of variants. My setting.json "Git Bash": { "path": "D:\\Program Files\\Git\\bin\\bash.exe", "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577138", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Deleted a row in sysobjects in sybase I was querying tables in sysobjects when I accidentally pressed "D", triggering the delete row option in the results pane. For some reason, I can still query the table using the select statement but when I use the lookup table option (F7), the table is not in the list. I tried t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577139", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Tableau Subscription email should stop if the report is empty or job failed We send out Tableau reports via subscription emails in our organization some are daily reports and some are monthly. Problem/issue is empty reports are being sent if the data is not uploaded on time and also it is happening when a sql job is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577140", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to draw a real time line chart from the bottom in recharts reactjs? I have a real time streaming chart built using the recharts and socketio library. The current chart is rendering like this : Real time streaming line chart In this chart, as you can see the line is being drawn from the top of the chart. What I w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577141", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: web3 php installation after giving error of class web3/web3 not found on live server same code working on my local but giving error on my live server. I am installing run this command composer require web3p/web3.php dev-master
{ "language": "en", "url": "https://stackoverflow.com/questions/75577143", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How can you pass regex to Junipers match command? I'm looking to limit the returned data from a Juniper switch in Ansible and I don't see to be able to get the match command passed across to the device. On the device I can run; show vlans | match "(\d+)" This returns a list of all active vlans on the device, however...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577144", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am having error while writing code for chatterbot Traceback (most recent call last): File "C:\Users\Welcome\Desktop\Mridula\Vsc\chatbot\chatbot.py", line 7, in chatbot = ChatBot('bot') File "C:\Users\Welcome\AppData\Local\Programs\Python\Python38\lib\site-packages\chatterbot\chatterbot.py", line 28, in init self....
{ "language": "en", "url": "https://stackoverflow.com/questions/75577145", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: type '(dynamic) => NotificationModel?' is not a subtype of type '(dynamic) => NotificationModel' of 'f' This code is having problem when I build my app. It can't convert datas in first run but after I restart the app, this part works fine. I don't get it. List<T>? fromJsonList(dynamic jsonList) { try { ret...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577149", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google APIs: How to manage client credentials in a NodeJS app that's supposed to run locally? So I made that tool to run some data fetching around and produce a csv file as a result. I've been experimenting with integrating that to Google Sheets to create a spreadsheet with formatting and all, instead of a sad csv f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577151", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get new version of timezone i am having issue with time zone which i am getting older version of timezone like calcutta instead of kolkata i have tried Intl.DateTimeFormat().resolvedOptions().timeZone and momentTz.tz.guess() but this both gives me older version of timezone
{ "language": "en", "url": "https://stackoverflow.com/questions/75577157", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to improve the performance of a parallel code using OpenMP I am working on two dimensional Poisson's equation parallel solver using OpenMP.The solver is developed using point by point Gauss-Seidel and Thomas algorithms. The codes were executed on GNU compiler without optimization using 4 threads and 8 threads. T...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577159", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: ValueError: array split does not result in an equal division during training with Vision Transformer the code is this import torch.utils.data as data from torch.autograd import Variable import numpy as np print("Number of train samples: ", len(train_ds)) print("Number of test samples: ", len(test_ds)) print("Detect...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577161", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to broadcast the both screen and camera? I want make a video call app. like school. the teacher shares own screen and also camera. like this Description How can I make it. I read documents and tried it. but only one is ok. only screen or camera. automatically chaned. there's no way with agora.io? I wa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577164", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Android Wearable OS - Unable to change text in TextView programatically We are working on Android Wear OS compitable application.We are facing issue on replace the value or text in TextView. Find the below code snippets for the replace text textView.setText("Temperature") or in Kotlin textView.text = "Temperature" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577168", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ES Lint Installation errors on Ubuntu I am trying to install ES Lint on Ubuntu and getting a bundle of errors and i am not able to figure out what the errors are and how to fix them. The command that i used to install ESlint: npm init @eslint/config I am running: * *Ubuntu 20.08 *Node 18.13.0 *npm 8.19.3 Here ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577170", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: I am facing ERROR while installing the Sql plus Adaptor error can anyone help me out please (https://i.stack.imgur.com/xdpvp.png)
{ "language": "en", "url": "https://stackoverflow.com/questions/75577172", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Unity not reporting errors for custom class called through event I'm setting up networking and in doing so, have a basic event system to allow classes to act on packets received. Upon receiving a packet (server side) of client information, I am trying to send back an Object containing a game state. I am able to Debu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577174", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Zoom out in QML Flickable When I use the scale to control the zoom in Flickable (in zoom out), the Flickable shrinks inside the item. I want to always Flickable fill parent with scale change. How can do it? Results of my code Flickable { id: flickable anchors.fill: parent anchors.centerIn: parent c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577175", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to check if a char is a certain letter or not i need to check if a char is a certain letter or not, but the code I have isn't working. int num1; char letter1; cout << "input n or y: "; cin >> letter1; num1 = 1; if (letter1 == 'y'){ for (num1 = 1; num1 <= 10; num1++){ cout << "loop "; } } t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577176", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Confusion between two different stateful widgets So I am developing this app, where this code represents one screen of it. Basically it has a graph and displays some information related to it. What I am doing is that in the tab bar, based on the tab I have selected, I am updating the height of the parent container. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577179", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to make RecyclerView item size dynamic based on number of items I have to implement a row that should look like this: The requirement is to always show a portion of the next item. There's also a requirement that when there are only two items, the two items should expand to occupy the whole width: . If there's o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577182", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel 9 Vue js 3 Changing a popup window's frame I have a button that when it's clicked, it will open a new popup window to another site, like this <button class="floating-btn" @click="openPopupTab"> <img src="/images/fab.png" class="fotoSticky"></button> and this is the methods <script> import axios from 'axios...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577188", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: to fetch path after # in url in Servlet I have a path as domain:port//path.selector.extension#param1=val1|param2=val2 How will I get the value after # from the above path in AEM Servlet.
{ "language": "en", "url": "https://stackoverflow.com/questions/75577192", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does PyTorch know to differentiate functions? I have some understanding of how PyTorch Autograd works - mostly based on the PyTorch documentation. Conceptually I get that we use the chain rule and multiply the derivatives along the way etc. My question is how PyTorch knows to differentiate the leaf nodes. Specif...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577193", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to Draw Different Types of Strokes Using CGLayer in Swift I'm trying to draw different types of strokes using CGLayer in Swift, but I'm not sure how to do it. Can someone please guide me on how to achieve this? Here's the code I have so far: func drawStroke(_ rect: CGRect) { let context = UIGraphicsGetCurren...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577194", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How does NCCL communicate over TCP? I am trying to understand the communication pattern between GPUs when doing distributed training using PyTorch over NCCL through allReduce. According to the doc, PyTorch will accumulate up to 25MB of gradient data and send them out for allReduce. I am wondering how exactly this is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577196", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can i setup github pages using an apex domain which already has an A record in use for locally hosted software so i have jellyfin and other locally hosted software setup like so: caddy -> jf.domain.tk { reverse_proxy localhost:8096 tls { cloudflare } } cloudflare: A: domain.tk -> public ip of server CNAME: jel...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577197", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a command a file Currently, my friend is on MacOs Big Sur and i want him to update to MacOs Ventura. He says that he doesn't want to so there's this command softwareupdate -i -a How do I make this a file so when he opens it, his Mac will update? I think it might have something to do with shell files but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577200", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Fortify issue - for sending unvalidated data to a web browser - django sends unvalidated data to a web browser, which can result in the browser executing malicious code For this line of code i am getting security issue .can anyone help me to fix this in python (django) data = json.loads(requests.get(url, auth=self.a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577201", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: iOS BLE and ESP32 BLE communication is not working The connection is setup and the app connects to ESP32 but I am not able to send or receive data. I want to send data as I have written in the code but when I check the serial monitor after the conversion from string to char, it is not accurate as how I want. It will...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577202", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to insert a String into Oracle as a date type I have a birthdate as string String memBirthDate = "19990715"; and I tried to insert this into oracle by using query below. <entry key="insertMember"> INSERT INTO MEMBER ( MEM_BIRTHDATE ) VALUES ( (TO_DATE)? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577203", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fetch different values in each function for the same sqlclient object in python unittest I am trying to perform an integration test on the project. We have a mysqlclient object which is mocked and able to assign dummy values on the first fetchall call. Can anyone help me in how to fetch different values each time th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577204", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: With argparse it it possible to process arguments only up to the last non-positional argument? I'm writing a tool which passes arguments to another command provided with the arguments like this: foo --arg1 -b -c bar -v --number=42 In this example foo is my tool and --arg1 -b -c should be the arguments parsed by foo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577207", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PHP Complex Number Selection I have wrote the following code: $row_array = range( 1 , $puzzle_size , 1 ); $yes_array = array_rand( $row_array , $total_numbers_to_display ); The values of $puzzle_size and $total_numbers_to_display depends on the difficulty level: $puzzle_size will be 8, 20 and 40 for easy, medium an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577208", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to delete an ascii moving JS element from page? I don't understand how I can remove the floating ASCII inscription from the screen. The site is incredibly balanced in terms of elements and very neat. If you touch anything, everything breaks immediately. I will be very grateful! I'm just starting to figure out JS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577209", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fabric.js - Save multiple images on a canvas element as pdf There are multiple images on a canvas element which i want to save as a pdf file. For this purpose i am using jspdf and fabric.js (I am relatively new to fabric.js and jspdf.). When there is only a single image it allows to save it as a pdf but when there a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577212", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cast string to date in pyarrow form a JSON string I have a JSON string: { "C_0_0":"2022-1-1" } I want to impose a schema . raw_schema = pa.schema([ pa.field("C_0_0", pa.string()), ]) new_schema = pa.schema([ pa.field("C_0_0", pa.date32()), ]) I am read...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577213", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Enable Execel type Filter using Angular js or Java Script How to Enable Execel type Filter using Angular js or Java Script
{ "language": "en", "url": "https://stackoverflow.com/questions/75577215", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Unable to conditionally route from kafka listener to different endpoints via spring cloud gateway I created a sample projects under (with just one of many possible approach) https://github.com/jobas2007/spring-cloud-gateway-demo (runs on 9000) https://github.com/jobas2007/book-service (destination with 2 services ru...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577216", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Selenium does not work (error) when running via nohup on the server When I run the script on a local PC, everything works, but when I run the script on the server (nohup), errors. The driver version is the same as the program version. python3.10 Errors: NoSuchWindowException: Message: no such window: target window a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577219", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to parse this JSON and append in Array using Alamofire This is my JSON Response- { "status": true, "message": "Sub category lists", "category": \[ { "cat_sr": "1", "cat_id": "C329847", "cat_name": "Grocery", "cat_image": "uploads/category/C32984...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577220", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how we fetch aws s3 all buckets and buckets data in flutter? In this post i want to ask how we can fetch all aws s3 buckets available and also i want to create s3 buckets through flutter app and want to edit/update/create/add data to all aws s3 buckets through flutter app. A: I'm assuming that "all s3 buckets" are ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577223", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Mongo Query on array I need to a match aggregation query for this sample schema { "items": [ {name:'Test1'},{name: null} ] } Query1: get documents if all name is null or unassigned Query2: get documents if at least 1 name is filled I tried "addFields" with sum null count but i was wondering if there is a bette...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577225", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dev tools doesn't show the changes in the code I've been trying to put a picture on the background, after I figured out the correct address, Dev tools will still show the old url, therefore picture isn't shown.devtools fail Tried to delete and retype the code, close open programms, etc.
{ "language": "en", "url": "https://stackoverflow.com/questions/75577226", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Examine CFI device and save data by Quartus command line I'd like to examine a CFI device and save data (POF or HEX) by command line like for chain device. c:\intelFPGA_pro\18.1\qprogrammer\bin64\quartus_pgm -c "USB-BlasterII [USB-1]" -m JTAG -o e;CPLD_U25_dump.pof;EPM2210 or through CDF file. How it can be done? I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577229", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get 2 sums in single query in sql laravel I want to achieve 2 results (aggregate functions) in single query in laravel. $user=Auth::guard('api')->user(); $data['current_month_score']= UserScore::whereMonth('created_at',now()->month)->where('user_id',$user->id)->sum('score'); $data['current_month_score']= U...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577230", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: using socketio, what is the difference between ws:// vs http:// REACT_APP_SOCKET_22_URL=http://localhost:2202 REACT_APP_SOCKET_22_URL=ws://localhost:2202 What is the difference between the above? The are environment variables in my .env file.
{ "language": "en", "url": "https://stackoverflow.com/questions/75577232", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Prevent files in the public folder to be executed in nest.js I want to prevent the users from executing the files that are in the public folder. In my app, users can upload any type of file, such as.js,.mjs,.ts, .py, or any other file that is possibly available on the web. If some malicious user uploads any executab...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577237", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to disable line break with prettier when using Emotion before prettier: <div css={css`display: flex; justify-content: space-between;`}> </div> after prettier: <div css={css` display: flex; justify-content: space-between; `} ></div> how to let pretter keep the css property of jsx in one ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577238", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: sychronous webclient communication between springboot applications when deployed to aws ecs I have deployed my springboot microservice to aws ecs.But i found that my eureka server is not avaliable after deployed to aws ecs which make my apllication cannot communicate between microservice which should be work in my l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577242", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why node-rfc package is not working in NestJS but it works in Fastify? I got this error: { name: 'RfcLibError', group: 5, code: 20, codeString: 'RFC_INVALID_PARAMETER', key: 'RFC_INVALID_PARAMETER', message: 'Parameter ASHOST, GWHOST, MSHOST or PORT is missing.' } I was trying get SAP data using rfc-no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577245", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hello, i'm rather new to coding in java and i'm having an issue with my game for a school project The issue im having with my code is that it compiles, and runs just fine, but whenever i pick the second option (Do tasks) on the first dialog option the code just stops and ends right there. Everything else works just ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577247", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Animating when content loads in Selte I have a website which lists hiking tours as cards in Svelte. I use {#each} to generate the cards: {#each tours as tour} <Card {tour} /> {/each} The contents of the cards are grabbed from a separate file in the directory, I'm not using APIs. I wanted to have animation for t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577248", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Magento 2.3.4 define constants like in laravel I do not find how to create constants.php in Magento 2.3.4 to define constants for single values and array like we done in Laravel.
{ "language": "en", "url": "https://stackoverflow.com/questions/75577255", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to send emails to gmail using phpmailer I am using phpmailer to send emails. I am able to send it to yahoo.com email IDs, however unable to send it to gmail and outlook ids. Below is the code that I am using. It would be great if somebody can help on this. <?php include './includes/uniques.php'; include './da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577258", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I create a DTO structure for JSON objects with a variable number of variables? I'm having trouble converting data from an API to a Java object in Kotlin. For example, if there are two pieces of information in the API, I should make a data class like this: data class Persons( val person1: Person, val ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577260", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Background blur in Amazon Chime Sdk iOS together with VideoRenderView private func customVideoOnly() { let videoRenderView = _view as! VideoRenderView _view.contentMode = .scaleAspectFit //---> custom view DispatchQueue.global(qos: .background).async { self.camer...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577263", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Better backup option? I have one customer with large database. Daily approx 45 MB grooving the database. The backup is stay on out customer server of corse, but we like to get one copy from this. And exapmple the backup file 1000 GB. And the customer in Janpan, so I don't like to copy any time the whole backup file....
{ "language": "en", "url": "https://stackoverflow.com/questions/75577270", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: go-ecdh public key doesnt exist I import ecdh like so: import(ecdh "github.com/wsddn/go-ecdh") func import_pub(c_pub string) crypto.PublicKey { // c_pub be like: xcoord;ycoord var err_pub crypto.PublicKey var return_pub *ecdh.elliptic.EllipticPublicKey var c_pub_elems []string = strings.Split(c_pub,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577272", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fix the order of variables in geom_point plotted on top of geom_col I have a data table with two categorical variables and one numeric variable. Here's code to generate the sample data: data <- data.frame(system = rep(c("X","Y","Z"), 10), region = rep(letters[1:5], 6), value =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577274", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to convert c# hash algorithm code into crypto js react public static class PasswordHash { private const int SaltSize = 16; private const int HashSize = 20; public static byte[] Hash(string password, int iterations) { // Create salt byte[] salt; new RNGCryptoServiceProv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577277", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Viro3DObject .mtl and other .jpg and .png files are not loaded in release app I am trying to add an AR object in my app and it is working fine (in Android/iOS) on debug app but when I generate the release app, I can only see the object in white color (there are no images and colors in that object) This is my curren...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577280", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: extracting file in the format of .h5.gz I am facing issue while extrating GPM DPR Data downloaded from Jaxa tropical cyclone data archeive the format of the file downloaded is .h5.gz . I know how to extract .gz but in this case it is not extracting . Please help . I am attaching a copy of this file you people can so...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577284", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: HTML img access of another drive I can't access a img of D drive inspite of giving full url in img tag I have tried "." To access but after 2 dots it is not working A: D:\Staff ID Cards\Name_Tag_Front\nameTagFooter.jpg Put this in your img src.
{ "language": "en", "url": "https://stackoverflow.com/questions/75577286", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Call api cascader antd when scroll down I'm using Cascader of Antd lib, I wanna call API to add options when scroll down
{ "language": "en", "url": "https://stackoverflow.com/questions/75577287", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Github project structure file requirements.txt I am learning from an article about deploying django in a container, here is the structure of the project: ├── .env.dev ├── .env.prod ├── .env.prod.db ├── .gitignore ├── app │ ├── Dockerfile │ ├── Dockerfile.prod │ ├── entrypoint.prod.sh │ ├── entrypoint.sh │ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577289", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Ontology mapping into database I have created my ontology on protégé and now i want to map it on a database. How to do that. My end goal to to connect my ontology to my database and for my chatbot to query from the database to answer questions I created my ontology already but am stuck about the next steps. Are ther...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577291", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hide "Languages" option from AVPlayer I am working on showing a VideoPlayer and I am seeing this Languages option on my Video Player. I have done basic setup for the Player. let player = AVPlayer(url: url) controller.player = player Is there any property to hide the Languages options from Player? Thanks in Advance....
{ "language": "en", "url": "https://stackoverflow.com/questions/75577292", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can't access the window global function in script.js file below is my code for the Window function which is present in a global.js file. so here is my question. i have a project which is a game. in this game i have a global function in a file named global.js which contains a function eventHandler this function is ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577295", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i want to convert array buffer to base64, which is best method I am working on angular12, via api i get pdf data, i am converting that data to arrayBuffer via method below: getArrayBuffer(url: string, queryParams: HttpParams = new HttpParams()): Observable<any> { this.spinner.show(); return this.http ....
{ "language": "en", "url": "https://stackoverflow.com/questions/75577296", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Are there ways to determine datatype for column in SQL? Are there ways to determine datatype for a column in SQL? I have a table called person. Person connects with a table called attribute. This table has columns called name and value. A value column can have text data that is integer, data or boolean. For example,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577297", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular project error on local debug: Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope When developing in local we keep getting an error of: service-worker.web.js:33 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:4200/ngs...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577298", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: org.hibernate.criterion.Criterion ClassNotFoundException in migrating to Hibernate 6.1.6 with spring-orm 6.0.0 I’m migrating a legacy application with spring-orm-6.x with Hibernate 6.1.6.Final version. While running the application, the at new HibernateTemplate(session), following error is being thrown: Caused by: j...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577299", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create dual language report in Qualys tool? How to create Qualys scan report in two languages? Changing the subscription language is not an option
{ "language": "en", "url": "https://stackoverflow.com/questions/75577300", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to import a single variable from a scss file angular? I have a global styles.scss file where I have declared some variables. I need to use this variable in a component's scss file. I know I can declare a class in styles.scss using this variable and then use this class in my components template file, but the elem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577302", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to create a jambonz app and connect your freeswitch server with it? I have tried creating a jambonz app but I am getting error while running it. Can anyone please explain how do I create a jambonz app and connect it to the freeswitch server? Error that I am getting while running the app even though I have specif...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577306", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which way is better to start with Revit API? I am interested in programming with Revit and I have been looking everywhere for information and found that there are several ways to implement scripts, addins, etc. using Visual Studio, Macros, PyRevit, Dynamo+Python and maybe others that I don't know about. What do you ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577309", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why developers spend their time on open-source projects without any monetary return I have been using many open source products such as Ubuntu as a OS, VS code editor, extensions in VS Code, Framework such as React, Next.Js, Vite, and countless npm packages. I am not complaining on why developers spend their preciou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577310", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: I want to get the pdf file the API in react native. I am trying this This is where i am getting my API's. I have used response type blob to get pdf file from the api but i m unable to do so.. const CourseApi = createApi({ baseQuery, reducerPath: 'CourseApi', tagTypes: [CACHE_TAGS.COURSE], endpoints: builder => ({ t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577313", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: sympy assumptions in nsolve not holding I am trying to solve 2 simultaneous equations, which lead to two sets of x-y values. I only want the x-y set that has a positive x. I set my assumption in x when defining it to be positive= True. Yet when I get my x-y solutions, I still only get the [-1.41421356237310], [2.000...
{ "language": "en", "url": "https://stackoverflow.com/questions/75577315", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: unexpected token ")" ?? can anyone help me this error [writen code]https://i.stack.imgur.com/GyMm3.png) error I this the problem is in the FOR loop but it seem alright to me
{ "language": "en", "url": "https://stackoverflow.com/questions/75577317", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }