text
string
meta
dict
Q: Java.util.Scanner doesn't work properly in OSGi I'm working on my first OSGi project for university and part of the task is to take user input from the console with the Java.util.Scanner. I program in eclipse using the Equinox framework. Within the project there are two bundles that use the scanner. The JUnit test o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to read a JMX MBean attribute using Ansible? I use an Ansible playbook to start my JVM application and want to have a health-check task to ensure the application is running. That application has no HTTP interface but exposes several attributes via MBeans. So can I get access to those attributes from Ansible?
{ "language": "en", "url": "https://stackoverflow.com/questions/75616524", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Spring Boot OAuth2 authentication with Google failing due to missing client_secret I'm trying to implement OAuth2 authentication with Google in my Spring Boot Angular application, but I'm getting an "invalid_request" error with the message "client_secret is missing". I have configured the client_id and client_secret...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616525", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: firebase core initialize error I started getting this error after updating flutter ''' Launching lib/main.dart on sdk gphone64 arm64 in debug mode... : Error: The method 'initializeCore' isn't defined for the class 'FirebaseCoreHostApi'. - 'FirebaseCoreHostApi' is from 'package:firebase_core_platform_inter...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616528", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Publish a BIRT report from KnowAge report designer to the server I have the problem that I can't publish the report created in KnowAge report desginer in the KnowAge Server. Can you help me please? Thank you
{ "language": "en", "url": "https://stackoverflow.com/questions/75616533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I get rid of spacing below the footer in my website? We encounter a problem with spacing below our footer on certain pages on the website. Especially short pages. Our website is a Wordpress-Site with Elementor Pro. We did not have this issue till recently. The only thing we recently did is updating Elementor,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I need help using basic graphics shapes in Java Im stuggling with using shapes and Graphics in Java. I will try to explain how my program works because the code is too confusing. I have a JFrame which has two JPanels within it. One is called Sidebar and the other is MainPanel. The Sidebar is on the left hand side an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Error in install pods when I try to submit by eas to a react native expo application I have tried changing the firebase config and updating the dependencies including expo and firebase. The console logs in this step are as follows (The error occurs in the last logs): Using Expo modules [Expo] Enabling modular header...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set whisper.DecodingOptions language? I'm trying to run whisper and I want to set the DecodingOptions.language with France (instead of using it's language detection). I have tried to write: options = whisper.DecodingOptions() options.language = "fr" but I'm getting error: FrozenInstanceError: cannot assign t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616542", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I plot a graph from a specific date to the last date available I've just did the following graph: But juny 22 is not the last date available. How can I plot this graph from des. 19 to the most recent date? plot2 <- ggplot(taxa_atur, aes(x=time, y=values, color= geo, group=geo))+ geom_line(linewidth=1, aes...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616545", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the difference between PostgreSQL text and unlimited varchar data types? PostgreSQL suggests to use either text of unlimited varchar for columns without specific higher limit: If you desire to store long strings with no specific upper limit, use text or character varying without a length specifier, rather t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to allow (enforce) page breaks INSIDE elements with CSS? Normally users can assign a CSS stament like page-break-inside: auto !important; or break-inside: auto !important; to a of element to allow (pdf) page breaks when printing out. As I found out this doesn't work for elements. Is there a similar css attri...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am currently working in Apps Script, and I am needing to extract all comments from a certain sheet using Google Drive API. Is this possible? function listComments() { // setting the sheetId to the current sheet I am using var sheetId = '(mySpreadsheetId)'; var arg = { pageSize: 100 } Drive.Comment...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fetch() does not send request (CSP issue) I have a Jenkins job which creates a webpage (as an artifact) and it sends a POST to a flask app. I have already tried adding all sorts of CSP and even allowing all of them, but it's as if it's being ignored by the browser. I tried it through my own profile in my browser (an...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: DRF can't filter anything I am trying to use filtersets in DRF. But nothing is working : my query params are ignored. And when I force them from navigation bar, nothing appends too. enter image description here I 've tried with ModelViewSet and ListAPIView, and that fails again and again. It's like my DjangoFilterBa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616551", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: mock-server running as war inside Tomcat I am running Tomcat 10.1.6 and deployed mockserver-war-5.15.0.war. I get the following exception Exception jakarta.servlet.ServletException: Class [org.mockserver.mockservlet.MockServerServlet] is not a Servlet org.apache.catalina.authenticator.AuthenticatorBase.invoke(A...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616552", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure web app mapping not uploading to AzureFiles I have a .NET 7 app in a linux environment that has an endpoint "/api/uploads" that accepts a file and saves it to a folder "uploaded". I am trying to get this "uploaded" folder to be mapped to AzureFiles, I have tried the following mount paths "/uploaded", "wwwroot/...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trigger component re-render in React with Redux after external script initialized I want to trigger a re-render of my React component after an external script has been initialized (because the external script is defining some window variables that are used in the component). Currently I have this: const mapStateToPr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why is this O(sqrt(n))? Can anyone explain why this is O(sqrt(n))? Is the best way to approach this by putting numbers to it? i:=1 p:=0 for (p<n) do p = p+i i+=1 Picture Here I thought it was O(n), but if I put n = 5, I see that it's not iterating through n times. I'm not sure how to mathematically figure it...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Regex for 1 lower case, 1upper case, 1 number, 1 special character, in any order, 12 chars What is the regex for 1 lower case, 1upper case, 1 number, 1 special character and 12 chars in total, please? I have been playing with this regular expression: ^((?=.*\d)(?=.*[a-z])(?=.*[?!&])(?=.*[A-Z]).*)$ to comply with th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to parse a new device tree BLOB in a kernel module? I am building a kernel module for PCIe device on Linux v5.15.60 on x86. This module connects to my FPGA (containing multiple soft cores) and creates a platform_device. For an other driver to use it. The FPGA embed its own device tree blob in a memory region rea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Center-based positioning in flutter I am trying to build an nearly-infinitely scrollable layout (in both dimensions) like the one in Figma's Viewport or Blender's Node Editor. Currently I am setting the layout to be very large instead of infinite as It does not make any difference in practice. The image below shows ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How does a backend-frontend relationship work? I could not find anywhere the relationship between a backend a frontend. Would a backend work like so? I do not know how to explain this so I will give a scenario of using a backend theoretically and please tell me if this is how a backend works. User logs in a website....
{ "language": "en", "url": "https://stackoverflow.com/questions/75616571", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run $(Linux commnad) in a Python subprocess.run? I run: proc = subprocess.run(["echo", "$(echo 1111dGUv+rG551123eFwBhCMde6BIS90c3AAAAA= | base64 -d)"], check=True, stdout=subprocess.PIPE) print(proc.stdout) Got: b'$(echo 1111dGUv+rG551123eFwBhCMde6BIS90c3AAAAA= | base64 -d)\n' But wish to have $(echo 1111dGUv+rG55...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is d3.js missing some functions? I am trying to use the directed acyclic graph for multi-parent child nodes for my diagram, but the dev tools in Chrome or other browsers keep telling me that "d3.dagStratify()" is not a function. And I looked in the source code after I logged it into the console and, yes there wasn't...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: SQL: Need help to group by this is my table: Start Stop City 2022-01-01 2022-02-15 Rom 2022-02-16 2022-03-31 Rom 2022-04-01 2022-05-10 London 2022-05-11 2022-06-11 London 2022-06-12 2022-07-10 Paris 2022-07-11 2022-08-10 Rom I like to get this result: Start Stop City 2022-01-01 2022-03-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616575", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why the div with class name "topnav" is not being displayed in palegreen color? .topnav{ background-color: palegreen; } .topnav a{ float: left; } <div class="topnav"> <a href="">Home</a> <a href="">News</a> <a href="">Contact</a> <a href="">About</a> </div> Using above code I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Handle Schema evolution while consuming messages from Kafka using PySpark I am new to Kafka. Currently I am working on a requirement - Usecase: I am consuming messages from Kafka (The messages are produced in the Kafka by upstream team). The Upstream team doesn't maintain the schema versions and haven't implemented ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use pnpm in diferent Gitlab CI stages I'm struggling with Gitlab CI and pnpm. I have a simple pipeline with npm, two stages, install and test, using cache: stages: - install - test install: stage: install tags: - node:LTS script: - npm install cache: key: node_modules paths: - no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616581", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: some one can find the problem please , all things are exact the probleme on second ligne (values....) $insert_products = " INSERT INTO`products`(product_title,product_description,product_keywords,category_id,brand_id,product_image1,product_image2,product_image3,product_price) VALUES('$product_title','$product...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: React testing library is not calling the onReady listener of Stripe's PaymentElement component I'm using the Elements and PaymentElement components from @stripe/react-stripe-js and disabled the loader to implement a custom solution. This works fine in the UI: const [isStripeLoading, setIsStripeLoading] = useState(tr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Firebase domain .firebaseapp.com works while .web.app does not After successful deploy, only one domain (projectname).firebaseapp.com works. The (projectname).web.app shows Firebase message "Site Not Found - Why am I seeing this? ..." The index.html does not have any Firebase App setup . The Firebase console>hostin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616589", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Laravel request continues even if connection closed blocking new requests I'm running a Laravel 10 application through a Docker environment. I have a controller which saves an entry to my database, and then runs a for loop that keeps the request open in something like Postman, then, once the complete key returns tru...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there an exhaustive list of what elements can be children of what elements in HTML5 I've seen bits of information here and there about elements that are valid children of other elements. For example <tr> cannot be a child of <span>, etc. Is there a resource that provides an exhaustive list/table of what parent/ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Xamarin: shiny, push notification, and messaging center I'm using Shiny for Xamarin and, in the end, I want to use OnEntry method to navigate to a specific page, for now I'm content with displaying the alert only. I'm trying to use MessagingCenter but it doesn't work with background notifications. public class MyPus...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Controller in express.js project not working (sequelize + postgresql) I am creating an api and am having issues understanding why my controller is not working. Code in product.controller.js const Product = require('../models/product.model.js') const getAllProducts = async (req,res)=>{ try { const produc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Place one of three values in a cell at radom I had a code that would place 1 or 2 values in a cell at random (The values were either "SF" or "BM") and I used to do it this way Worksheets("Sheet1").Range("A1").Value = IIf(Rnd() > 0.5, "BM", "JC") The problem is that I want to add a new third value "KS" and doing the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Redmine: Error trying to change from cookie sessions to database I'm trying to move from cookie-based sessions to a database. I'm running this command. I get the error below. It's trying to connect to a local MySQL server. I do not have a local MySQL server. I have a dedicated MySQL server that Redmine connects to j...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: mock-server: How to delete the expectation I have a expectation created in mock-server { "httpRequest": { "method": "GET", "path": "/view2/id", "queryStringParameters": { "id": [ "1021901022" ] } }, "httpResponse": { "statusCode": 200, "body": "Able to fetch-10219...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pgadmin 4 cannot connect to server at port 5432 timeout Here I have installed pgadmin 4 on windows 10. Trying to connect to the client server at port 5432. Couldn't able to understand why it is not connecting to it. Here is the error message I try to do the troubleshoot it says it is "NOT LISTENING ", also configur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AJAX Call push null data to controller, action recieves null I am trying to push my data to the action/controller. I tried to push it as int, object, or string but nothing changed. I couldn't fix it, every time it returns null or 0 as a count. I debug the cshtml side, I can get my data properly. The problem is: Acti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616607", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I build a module in both ES6 and CommonJS? I have 2 repos, Repo A is Angular v12, Repo B is Angular v13. Repo B is a dependency of Repo A. When I upgraded to the latest version of Repo B in Repo A, and run the tests of Repo A I get an error in Jest: SyntaxError: Cannot use import statement outside a module. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FastApi keep a game state for every instance I am currently working on a small board game while trying to get accustomed to FastApi, and what I do is keep the game's state in some variables in the app object app.players = { 0: Player(), 1: Player() } app.game = Game(app.players) app.turn = 0 app.winner = NO_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am trying to get the current year date and exact date last year metrics from the table, but struggling to get it correct columns of the table are like: | current year date | last year date | time of the week | current year total sales for product A| last year total sales for product B | The time of the week column...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616618", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create a variable called wordNot where it’s value is the first appearance (ie. the position) of the substring “not” (from the sentence variable) Create a variable called sentence. The value of the variable should be a string that contains the words “not” and “bad”. Create a variable called sentence. The value of the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: My largest bound violation is CPLEX showing in e^6 range. What does it indicates? But the solutions are within my expectations The solution tab of my problem is as shown above. How can I interpret the quality of my model . Solutions are upto my expectations but the maximum bound infeasibility shows a larger value....
{ "language": "en", "url": "https://stackoverflow.com/questions/75616627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Question about slot sharing group,how to calcuate the slots I am running flink application locally, and my machine has 12 cores. When I run the WithoutSlotSharingGroup,it shows there are 1 task manager and 12 slots on flink web ui,which works as expected. But when I run the WithSlotSharingGroup, it shows there are 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pairwise RankNet loss graph flatlines after 1 epoch for both val and training loss. What's going on? The Pairwise Ranking Algo I built both appears to be overfitting (val loss < training loss) and stops improving after the first epoch. The val loss doesn't appear to ever improve. Is there a problem in my code that ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Errors building DLL with matplotplusplus dependency In my first ever Visual Studio C++ DLL template project I'm attempting to #include <matplot/matplot.h> but I'm receiving a lot of errors on build caused by this include. The errors are pasted at the end of this question. I've installed the library using vcpkg insta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616631", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I got 403 forbidden when trying to save changes to Litespeed Chace What is the solution for dealing with the 403 error? So the case is I want to save changes to the Litespeed Chace plugin and get a 403 error message. The message reads 403 Forbidden Please forward this error screen to iqinews.com WebMaster. Access is...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Custom Scrollbar Positioning I have a div with class parent. It has two children div.title and div.body. div.body is scrollable in y direction, and div.title is fixed at the top of div.parent using absolute positioning. div.title must be a translucent element by design. The problem is that a part of the scrollbars g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to use Label Encoder in a dataframe which is nested in another dataframe My dataset is: https://www.kaggle.com/datasets/angeredsquid/brewers-friend-beer-recipes I loaded like this: import json filename = 'recipes_full copy.json' with open(filename, 'r') as f: try: json_data = json.load(f) p...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616635", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sharing data between threads, getting error "value moved into closure here, in previous iteration of loop" The aim of the following programm is to make a websocket server that listen HTTP request on a separate http-server and send the request into a string to the websocket-client. The websocket client is done and wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616636", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: SwiftUI view referenced from model fails to update When I try this code, the rectangle isn't updated when I press the Move cursor button below. It works as expected when used directly, without a model. Why is this? class TestZStackModel { var view: TestZStackView! = nil func setRect() { view.cursorRe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616637", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Event listener that removed the element didn't work without being redeclared (basically copied) on list items after list update and reset. Why? My homework was about building a page with a list that had to be manipulated in JavaScript only: items added, deleted, updated, checked/unchecked with some very little CSS h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616638", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Keep a printer-history for objects with a specific interface in java I'm making a printer-class where I need to keep track of the print-history of objects with the Employee interface. public void printDocument(String document, Employee employee) { System.out.println(document); } How could I sto...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616639", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to detect whether a CircleCI pipeline build was manually triggered? I'm reviewing a CircleCI config.yml file where a pipeline parameter has been added for the purpose of detecting whether a build was manually triggered (i.e. via "Trigger Pipeline"): workflows: run_tests: when: and: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: display lidar data from gazebo simulation Recently, I have been trying to display a Lidar in Gazebo. However, I am completely new to ROS, so it is difficult for me to understand everything. With the help of several tutorials, trial and error, and other resources, I have managed to display a small vehicle with a Lida...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Must size_t be defined using a typedef as one of the five standard unsigned integer types? The C11 standard writes: 6.2.5 Types, ¶4: There are five standard signed integer types, designated as signed char, short int, int, long int, and long long int. The five standard unsigned integer types would thus be unsigned ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to import dotnet.wasm/dotnet.js into an Angular component? I have a very simple WebAssembly project created with the VS Webassembly console template in VS2022, dotnet7 as described here. main.mjs import { dotnet } from './dotnet.js' const { setModuleImports, getAssemblyExports, getConfig } = await dotnet .w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Emails not showing up in Microsoft Teams I'm trying to send emails to a Microsoft Teams channel using Microsoft Graph Client to the channel's email address, but the messages aren't showing up in the channel. I've verified that the email address is correct and that the email message was sent successfully - the messag...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to implement beautiful 3D models on Android that can receive control from other devices and change in real time (e.g. the color of each point) How to implement a beautiful 3D model on Android that can receive control data from other devices and change in real time (e.g. the colour of each point) I've tried low-l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: GKE: Failed to create snapshot content with error cannot find CSI PersistentVolumeSource I am setting up a backup solution in GKE for my Redis cluster and I get this error when I try to use VolumeSnapshot object in K8s. I have enabled the the CSI driver addon in the cluster and I deployed the Redis cluster with Bitn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I find the closest, positive value, from a dictionary's item's keys? (Python) Assuming I have a dictionary in this structure: data = { '111': {'a': 'xxxxxx', 'b': 'xxxxxx', 'c': 301}, '112': {'a': 'xxxxxx', 'b': 'xxxxxx', 'c': 302}, '113': {'a': 'xxxxxx', 'b': 'xxxxxx', 'c': 377}, '114': {'a'...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Web.config -- Setting multiple attributes in different nodes based on a value in another node attribute value Issue: I want to read a value in the web.config file and based on that value, transform a specific attribute in two other nodes where that attribute exists with a new attribute value. Value to read: ClientNa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I get the level 1 and 2 residual variances from a lmer model in R? I am trying to fill out a results table for my masters thesis in psychology but have been unable to compute the values that I need. I have conducted a daily diary study with data nested in days (level 1) and person (level 2). My multilevel mo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS me-central-1 region issues with aws provider 4.5 I am getting error when building EC2 instance Error: region not found for name "me-central-1" "aws_region" "current": 1: data "aws_region" "current" {} Error: region not found for name "me-central-1" 50: data "aws_region" "this" {} region is showing us that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ValueError: Failed to find data adapter that can handle input in a mixed data input classification task I am doing a multi-class classification (n = 2) using a VGG16 model truncated at its deepest layer and added with a global average pooling layer in Tensorflow Keras. I have split the images into train, validation,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django server calls Google pay API refund I can't find an open API for Google Pay that I can interact with from my Django server to make automated refunds for my customers who have bought some items but want a refund. I am investigating Google Pay API, but I can't find an open API that I can interact with from my dj...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616672", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Progress bar when using Jupyter of Julia in VScode In Julia, some amazing packages like ProgressMeter provide an easy API for displaying progress bars in the REPL. However, when it is used in the Jupyter from VScode, the whole process is printed out such as: Progress: 4%|██ | ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616673", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: SwiftUI Button opacity within a list doesn't apply to its background I have a button at the bottom of a screen inside a list. I can successfully hide the button text through opacity, however the background remains white as shown in the image. I'm trying to remove the text and the background to make it completely inv...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way to remove the date picker calendar in both Android and iOS webview? Unfortunately the -webkit-calendar-picker-indicator { -webkit-appearance: none; display: none; } does not work and there is still a tiny arrow in webviews.
{ "language": "en", "url": "https://stackoverflow.com/questions/75616680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Modelling "policy pool" I am creating a .NET 7 API with EF Core and an SQL Server database where users have a "policy" they can activate and "pool" it, and I need to keep track of when each user's policy is active. The "overall policy" at any time is determined by the highest level policy active at the time. So I wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create MQTT broker in NestJS 9 When await app.startAllMicroservices() is called this error happens: ERROR [Server] Error: connect ECONNREFUSED 127.0.0.1:1883 async function bootstrap() { const app = await NestFactory.create(AppModule); app.connectMicroservice({ transport: Transport.MQTT, options:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Robot Framework, log failed tests in current run I'd like to get a comma separated list of failed tests for a Robot Framework run. I'm running the tests on Jenkins and have a job that can take a comma separated list of test names to run. I want to easily get that string so I can rerun failed tests after a fix has be...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pasting SVG Code To Figma Not Showing Expected Result I wrote a program which outputs SVG code, but when I paste it to Figma, it seems to display incorrectly. Here is an example: svg { background: black; } <svg viewBox="0 0 1024 1024"> <defs> <linearGradient id="g"> <stop offset="0%" stop-color="#0f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: maximize internal L1 distance between multiple points I am trying to maximize the internal distance between multiple 2D points while simultaneously minimizing their distance to a center point. I am using L1 distance for calculation and based on one of my previous question I was able to implement the L1 distance cons...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to hide envelope_id from Document - DocuSign Prerequisites: Hide envelope via API. Error: (400) Reason: Bad Request Trace-Token: 52331e18-55c5-4801-8c55-c6e4fd4a5712 Timestamp: Thu, 02 Mar 2023 13:19:06 GMT HTTP response headers: HTTPHeaderDict({'Cache-Control': 'no-cache', 'Content-Length': '164', 'Content-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Cloud Stream with Kafka Binder I’m developing a Spring Boot Application to gain more Spring Cloud Stream knowledge. Basically, I want to send/receive messages from Kafka Broker. I previously built an application using Spring Kafka and the Spring Cloud Stream. Still, I use annotation configuration, like using ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cannot add Firestore to Server I am working on a server project where I want to user firebase firestore dependecies. I use the firebase-admin but when I try to add firestore sdk it says that it could not find it, and yes when I looked at that site there where nothing about firestore package. my build.grade: plugins ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does the author know the element exists? In Patrick Loeber's How to Analyze Apple Health Data with Python (https://www.python-engineer.com/posts/apple-health-data-python/), he suggests iterating over 'Workouts' here: workout_list = [x.attrib for x in root.iter('Workout')]. How does he know 'Workout' is an elemen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does including a file outside of main give linker errors when including the file in main does not? I've been struggling with a peculiar bug where if I include a file outside of my main I get a linker error. //main.cpp #include "A.h" //This works //Other stuff here //main.cpp version 2 #include "B.h" //B.h #pra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616704", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: gRPC connection refused I have a code which is working just fine as localhost on port 5000 but when I use it client and server side on VPS the gRPC is refused my connection. Server Side : WebApplicationBuilder builder = WebApplication.CreateBuilder(args); builder.Services.AddSingleton<ITaskService, TaskService>(); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Firestore recycler adapter not showing data I am building an android application in which I am implementing firebase's firestore recycler adapter. But It is not showing any item in my activity. I don't know what is the problem here. Please someone solve this I am really stuck here and I don't know what to do. This i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Azure SQL Elastic Pool - Ensuring one database does not use all of the pool eDTU We have a stand 50 eDTU Elastic Pool with approx 30 databases using this pool. We regularly find that 1,2 or 3databases use 100% of the eDTU even though we have set up the pool so that each Db can only use a max of 20 eDTU hence we end...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616709", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fix eslint "no-unused-var" for defineEmits I have a vue 3 app based on vue-cli with following structures: tsconfig.js { "compilerOptions": { "target": "esnext", "module": "esnext", "strict": true, "jsx": "preserve", "moduleResolution": "node", "allowJs": true, "skipLibCheck": true, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Validate un complex property in a Terraform variable On a Terraform project I have this variable: variable "databases" { type = list(object({ name = string collections = list(object({ name = string maxRu = optional(number, 400) })) })) description = "a description" } I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Testing Hooks with Internal state - React Testing Library I am looking for a solution on how to test the internal state of a customHook export const useCustomHook = (): any => { const [internal, setInternal] = useState('') const someFunction(data: string) => { setInternal(data) // Do something else with da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: why wont the drop down relay information to the text area? the app is based on picking your age and then picking your intrests (from a dropdown) which then is supposed to list the jobs into a text area based on a dataset. the problem is that it wont print to the text area. to take a look at the code press the link a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Log-normal distribution in R Can someone explain to me how to fit the following grouped frequency data to log-normal distribution in R? df<-data.frame(age=c(18,22,24,25,26,27,28,29,31,32,35,37,40,44,49,50,55,60,63,67,80), count=c(100,110,120,125,125,110,100,90,80,70,60,45,30,15,12,10,8,3,2,1,1)) fitd...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616718", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Disabling navigation for whole feature module in Angular feature-module base application Hello Stack Community, The scenario is following: Angular app contains of several feature modules. Those modules provides their RouterModule.forChild(roues) to define their internal routing and are imported into main app routing...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Type 'any[]' is not assignable to type 'string' I want to pass the array through urlSearchParams interface ContainerProps { name: string; query: string; cuisine: any[]; location: any[]; } fetch("http://127.0.0.1:8000/api/search"+ new URLSearchParams({query: query, cuisine: cuisine, location: location})) I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Embedabble Kafka commit log only lib I have a case where I need a FIFO persistent queue. The FIFO persistent queue needs to write its data to a disk attached to a machine where the application is running (no network calls). I have found some libraries but I was wondering if Kafka's commit-log only logic can be used ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to keep the different color palettes of two lineplots on the same axes in a manually changed legend in matplotlib/seaborn? I have two lineplots plotted on the same axes. Each plot represents a different group and consists of two lines representing one of two conditions. Additonally each group is given...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Upload Conversion Value Rules (Google Ads API) via python sdk / script? The (relatively) new Google Ads API offers Conversion Value Rules - but I am looking for some examples, resources, pointers ... of uploading them via the python client library. I would like to create potentially hundreds of such custom rules per...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find Lucene Document where list has element between time range The Lucene index I have created has a list field that contains Epoch values for when a certain piece of data is backed up. Each time a backup is performed, an element is added to the list and each time a backup expires, elements are removed from the list...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Xampp / Apache SSI nested includes not working I decided to update to the latest Xampp (3.2.1) and found that my Apache SSI test site isn't working as it was under my previous version. I did some research and updating the xampp\apache\conf\httpd.conf managed to unlock single-level-deep include calls. The structure ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Array of timers with PyQt5 I'm trying to run multiple timers in a parallel manner using PyQt's QTimer objects. I'm trying to define an arbitrary number of timers (defined by n), and to launch them all at the same time : however, they'd all have different intervals (or timeouts), and these intervals would be differen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616747", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why can't I edit the path part in system variables? enter image description here Değiştiremiyorum pathi düzenleyemiyorum yardım eder misinizz A: If you use ubuntu you need to check that variable using echo $VARIABLE in terminal. And if there is no such variable you can create it using command export VARIABLE=VARIAB...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Creating local json file in python I'm trying to create a Rest JSON server using python and flask as backend and JavaScript as front end, the server data need to be saved in local file but i can't seem to find a way to store the data like : [ {'id': id, 'name': name}, <--- New record from POST request goes here ] w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75616752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }