text
string
meta
dict
Q: Generic function that can be called in in multiple Views I am trying to implement a generic function that can be used on multiple buttons. binding.btn1.setOnClickListener { sharedFunction()} binding.btn2.setOnClickListener { sharedFunction()} binding.btn3.setOnClickListener { sharedFunction()} fun sharedFunction(p0...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619687", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: QT Android application crashes when Back Button pressed while running MDM in Kiosk Mode Anyone have any experience with integrating Android Mobile Device Management solutions with their QT Application? I’ve been vetting one vendor but my application freezes every time I hit the Back Button while my application is in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Subtract multiple ranges from one range How can we subtract multiple ranges of type Range<String.Index> from one range of type Range<String.Index>? Example: let str = "let <#name#> = <#value#>" let range = str.startIndex..<str.endIndex //the range of str is {0, 24} //the range of <#name#> is {4, 8} //the range of <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Power BI- Multi Row Card - Text field out of order In Power BI, I have several fields in a multi row card. When, I had a text field to the card, it moves that field to the top of the card and it changes the font and color. Attached is a photo. enter image description here
{ "language": "en", "url": "https://stackoverflow.com/questions/75619696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Sorting an array by external values in a loop Hi, I have this code: var myarray = [ "cars", "planes", "houses", "food"] for(let x of myarray) { var name = things.map(d => d.id == x ? d.name : []).join(''); var price = things.map(d => d.id == x ? d.things : []).join(''); document.getElementById(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: showing a 180 meter object from my garden with AR.JS I'm trying to create a sphere or cylinder object that has to be really big (180 meters high and 100 meters width) that I would like to see for my garden. There will be a big building build in the area and I'm trying to create a augmented view of it. I've got this ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Implementing an event listener in Python How can an event listener can be implemented in python?
{ "language": "en", "url": "https://stackoverflow.com/questions/75619701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Camunda Time-out for the Process How to write Time-out method for camunda in .Net. Can anybody put some light on this Process of Time-out in Camunda
{ "language": "en", "url": "https://stackoverflow.com/questions/75619703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: C++ library to detect trend in a timeseries I have a timeseries (small dataset, ~50 datapoints) that I need to calculate the trend (trending up or down). I see there are numerous libs available in python for this, however I am looking if there are any c++ libraries that I can use, given my codebase is in C++. Essent...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to trigger event only once until it is changed in composites? I would like to implement event google analytics. I would like to send an event only when the user enter to the screen and then when he changes the value of the string in the text it should trigger one more. For now it triggers every time user sees t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Selenium Upload a file via AutoIT I am trying AutoIT first time to upload .xlsx file in python. It's not text box so I can not use sendkey method. This is AutoIT script: import autoit WinWaitActive("File Upload") Send("C:\Users\abc\PycharmProjects\bdd\data\Abc- Remove EMail addressfinal .xlsx") Send("{ENTER}"...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: moving multiple rows into a single row column I have a SQL table for users where a single user can be up to 20 rows, each row has its own parameter. The table has five columns and x many rows. Below is a sample extract from the table: DOMAIN OBJECTTYPE TESTUSERACCOUNT LAST_ACCESS 2023.01.20 08:54:48-0600 > DOMA...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: What does the Ellipsis mean in this Python Function Documentation? I've been researching for a couple of days what the ellipsis is supposed to mean in this context: ArgumentParser.add_argument(name or flags...) I understand that Ellipsis is a placeholder, or is used in type hinting for tuples or Callables. I tried t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619716", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a MongoDB collection have an index that requires uniqueness with case insensitivity? I am creating a user schema and want case insensitivity on usernames. No two usernames should be similiar, even when considering capital letters. I have added collation to the property with a locale of 'en' and a strengt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619717", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In Python, How can I get a list of ranges of everything between a start point and an end point? numbers = [-2, -2, -2, -5, -5, 6, 6, -2, -2, 5, 5, -2, -2, 4, 4, -2, -2] start_index = None super_ranges=[] for i, num in enumerate(numbers): # If we haven't started a new range yet if start_index is None: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Efficiently iterating over the contents of a large text file, preserving newlines I have some large text files that are too big to (sensibly) read into memory. I would like to iterate over the characters in the files (for the purposes of removing some undesired sequences of characters), preserving any newline (\n) s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set up code completion in RoslynPad wpf editor control? I am a beginner level programmer, trying to create a code editor for C# with RoslynPad. I've added the editor control to my WPF window, and highlighting also works. I would also like to enable code completion. I would appreciate if someone could point me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619725", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: get download speed when downloading files with urllib I am using urllib.request to download a video file from a URL and it works fine. I am also using the progressbar library to track the downloaded percentage and display it on the command like and that works well to. What I want now is how can I get the download sp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619728", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Validating Pandas DataFrame columns and cell values Pandas/Python here. I have the following table cmf_data (here's the DDL I used to create it): CREATE TABLE mydb.cmf_data ( cmf_data_id int IDENTITY(1,1) NOT NULL, cmf_data_field_name varchar(MAX) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, cmf_data_f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619729", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Scheduling Gantt Chart I'm trying to create a Gantt Chart for 10 machines and 100 Jobs but I have not found how to get something like this I just get something like project charts but i don't need that format. I found this guide but if I have many machines it will turn so large to do. https://www.datacamp.com/tuto...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Swift using the randomElement() function with a range Can you use the built in function randomElement() with the range so i can get a random element in the array with a specific range? I am trying to get a random element in an array with a range to it, i am unable to use .random as it is an array. I see that there i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619734", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ Lifetime extension with reference member in a class When I was asking ChatGpt a question "What is lifetime extension in C++", ChatGpt gives me some explanation that makes perfect sense, but then an example like this: class A { public: A(int x) { std::cout << "A constructor called\n"; } ~A() { std::cout <...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619735", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How can you include referenced libraries in neovim lsp using jdtls? I have a java library in a folder in my home folder (on linux) and I've been trying to edit my neovim config to let it be available for any java project. I'm having trouble finding the exact config I need though. I'm using lspconfig, and have tried ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619736", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Quicker Iteration in python through a big list I am trying to scan a list of 100,000,000 (list1) strings and match it with another list(list2). List 1 can have upto 10 million rows. If the contents of list2 are in list1 I am flagging those values in a counter and storing the result in a third list. So my lists are s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619739", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: CloudFormation Using Fn::Sub inside of Fn::If I'm trying to create a cloudformaiton template that deploys EC2 instances in multiple regions but makes a slight alteration to the userdata in a particular region. To do this I'm trying to figure out a way to use a map or conditional to make it so if the region is x or y...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619741", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: After Updating to Windows 11 getting compiler error from Microsoft Interop.Office ASP.NET WebForms after updating to WINDOWS 11 getting silly error from Compiler (Compiler do not want compile line which contains Microsoft.Interop.Word). But before update everything worked just fine (I mean on Windows 10 ) . Is some...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why can't I directly access a physical file in an ASP.NET MVC website by making a request to that file on the browser? I have an ASP.NET MVC web project that has folders Controllers, Views, App_Data, App_Start etc. There is another folder called script at the top level which has a foo.js file. When I run the website...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to set up local Wordpress development environment using Nix without modifying flakes-based system configuration? I have NixOS 22.11 set up as on a local workstation. I'm looking for a way to create a customizable and flexible local environment for Wordpress development using Nix. I want the solution to be "ephem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619749", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I scan a QR code using ASP.NET Core 6 MVC? I need to create an application in ASP.NET Core 6.0 MVC to scan a QR code that could be printed on a paper, and save that information to the database in SQL Server. For example, if I hit a button on the application, it would open the camera to scan the QR code and s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619750", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Named Entity Recognition with entities split by other words I have a legal document where I want to automatically identify references to another legal document. The documents are similarly structured like this dummy example: Article 85 Paragraph 6 of Very Important Treaty No. 12/34/56 explicitly states you should d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: scss - media query not detecting width I have this mediaquery on my iframe: @include breakpoint(m) that will be called in: @mixin breakpoint($class) { @if $class == s { @media (max-width: 599px) { @content; } } @else if $class == m { @media (min-width: 768px) { @content; } } @el...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619752", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I compare date with timestamp in spark sql I have a table like the one below: +----------------+------------------+-------------------+--------------+-------------------+ |s_date |l_id |i_dtmz |product |v_dtmz | +----------------+------------------+---------...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619755", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Spring Boot Open API 3.0 - How to show custom examples without writing a Json Manually I am working in a Spring Boot 2.5.2 + Java 8 project which has Open API 3.0: <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId> <version>1.6.14</version> </dependency> I need t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619756", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Change current object into object of a "sibling" class I have the following class: class Node(): def __init__(self, cfg: dict, cfg_path: str): pass And the following two children classes: class Master(Node): def __init__(self, cfg: dict, cfg_path: str): pass And class Client(Node): def ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619758", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I make a react component break out of its iframe? I am creating a react component that is hosted on one server, and will be embedded through an iframe on another regular HTML page. I want to have a button that brings up a full-screen modal on the HTML page, regardless of the size of the iframe. Is this possib...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: NVIDIA GPU time slicing: Helm deployment for gpu-operator with devicePlugin.config.name fails I'm a newbie in the NVIDIA GPU domain. I'm trying to use NVIDIA's time-slicing feature with Kubernetes using gpu-operator. As suggested here, I followed the instructions and created a configmap with replicas as 2. Here is t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Django App on Elastic Beanstalk not Inserting to Specific Model in Deployed Version (works locally) I have a Django web application that is hosted on AWS Elastic Beanstalk, with a PostgreSQL database on AWS RDS. I have a strange issue where data updates in the UI are inserted to the model locally, but not in the dep...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619761", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I read the kubelet agent information in a k8s cluster? For any node, we can just do node, err := clientset.corev1().Node("node_name").Get(...) I am looking for something similar to view the kubelet agent. clientset.corev1().Pod does not have them since it is not managed by api server. Is there a way to progr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619763", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why the form filled data using html and javascript is not getting added into the firebase database (V9) I tried many different codes and ways in my project but don't know the reason why the data is not getting added to the firebase database. Can I get to know where I am making mistakes or what changes should be done...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excluding health and actuator url in opentelemetry java agent I am using opentelemetry-javaagent.jar. Health check and actuator url are also coming in jaeger. Can I exclude those url patterns somehow in java command itself like -Dotel.exclude.url?
{ "language": "en", "url": "https://stackoverflow.com/questions/75619765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CloudKit integration does not support unique constraints. The following entities are constrained: CloudKit integration does not support unique constraints. The following entities are constrained: I'm trying to create cloudkit to my application integrated with existing CoreData enter image description here
{ "language": "en", "url": "https://stackoverflow.com/questions/75619767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Proper way to import functions from other file in TypeScript I have few functions in functions.ts file, like this: function fun1(input: string): boolean { {...} } and in the end of file, I export these functions: export {fun1, fun2, fun3}; In the index.ts file, that is called in html (it's very simple client-side ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619768", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it possible to use a template to extend a template in Nunjucks? I have a web app that has a main main-template.njk. I am building a mini app within this web app, and I want to base the pages off of the main-template.njk file, but add a few more things to it (specifically a filter bar to filter content on the page...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multiple console.logs from received from socketio I am trying to recieve from a socket listener car details for a car rescue app. For some reason with every new event recieved, the socket prints more and more the data recieved each time. Client side const dispatch = useDispatch() const { rescues } = useSelector...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619773", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can we use React Native paper components with Native base? I am creating expo application for Web, Ios and Android uisng native base as UI component library. I have Floating label in my design but native base v3 has no floating label input. Can I use React native paper components inside my app. Is it a good practice...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: unity keep speed when object collides into a wall I'm trying to make a 2.5D tank game. Currently the tank can move and shoot. However, when the bullet object collides with the wall it looses speed. How can I get the bullet to maintain a set speed? https://i.postimg.cc/FsZ9Jc4h/image.png
{ "language": "en", "url": "https://stackoverflow.com/questions/75619778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Know the "physical" locations of the blocks of a dask array after `.persist()` I want to run dask in a distributed environment (HPC cluster style). After preparing the array, I run the .persist() method which should hopefully distribute the array across the cluster. However, I would like to know, dynamically, where ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: IDE warning when using jQuery with TypeScript in PhpStorm I just started migrating from plain JS to TypeScript. All works well, except for a warning I get whenever I use a jQuery element in one of my classes. Both versions below compile and work in the browser, give me an annoying warning in the IDE though that I'd ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to lower the height of the bars with ChartJS? I would like the height of the left bars made with the ChartJS library to be equivalent to the right ones... With stackOverflow topics I found this method (decrease the size of the parent container) but the bars overflow (they are not in absolute position). Code I ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Use jq to remove the last three elements of an array I'm trying to use jq to get an array from a json object and I need to remove the last three elements of this array. So this is what I did so far: echo '{ "tags": [ "2.9.7", "2.9.8", "2.9.9", "2.9.10", "2.9.11", "2.9.12" ]}' | jq -r '.tags | sort[:3][]' gives me 2...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619786", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Look up correct slot [enter image description here][1]enter image description hereusing excel I am trying to find the correct slot in cell k2 , for time in j2 , and store in i2, from data in table c:g , this data for orders slots in stores , I add a column of slot close time So true answer for k2 will be 1pm to 3pm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Spark and Delta Lake [resolving dependancies (Maven and Spark repositories)] Good evening, I will have to use Spark over S3 , using parquet as file format and Delta Lake for "Data Management". The link between Spark and S3 has been solved. But when I try to use DeltaLake with Spark (using python) ... I get this erro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619788", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to covert image file for CachedNetworkImage in flutter I want to show image from api via CachedNetworkImage. But don't understand what type it returns to me. and how I should convert it. @override Future<ResponceT<String>> getProfileImage(int version) async { var response = await get(ApiRoutes.getImage); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ASP.NET Core MVC and static files to the build output directory I didn't work with the MVC a lot and I need a little help with the static files. However if I build my MVC project and go to the output directory and run the application, all static files are not visible from the browser. Do I need to copy entire wwwroo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why doesn't IntelliSense lint my code on edit? Preface I'm using Visual Studio Code for C++. (I'm choosing it over Visual Studio because It's for small homework assignments, and the overhead of Visual Studio is just not worth it.) I'm curious to know why IntelliSense is not linting my code while I type, like it does...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619794", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to connect to the Postgresql database in asyncpg? I'm trying to run an asynchronous python script. Here I connect to the Postgresql database via asyncpg and get an error immediately on asyncpg.connect. The arguments for asyncpg.connect are obtained correctly from the environment variable, I have already checked....
{ "language": "en", "url": "https://stackoverflow.com/questions/75619795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the correct way to replicate the SELECT COUNT(DISTINCT columnname ) in Excel, via formula or VBS trying to replicate the SQL statment SELECT COUNT(DISTINCT columnname ) in Excel. The issue is that the values in the target column are alphanumerical in order, including dashes I have tried these formulas: * ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm struggling to insert data into my database via C# using System; using System.Data; using System.Data.SqlClient; public partial class \_Default : System.Web.UI.Page { SqlConnection connection = new SqlConnection(@"Data Source=(LocalDB)\\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\\Database.mdf;Integrated Secur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: My batch program does not run any jobs (Spring Batch 5.0.1 (+ Spring Boot 3.0.3)) I tried to create a batch project (for several jobs.) There are no problems until testing, so I built the project, and run it using command line. But it finished without any results or any errors. wt... Here is my code https://github.c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Background Task with Timer in ASP.NET MVC I have an ASP.NET MVC application hosted on a web server. It is a data visualization program that collects data every 30 seconds using an asynchronous timer method. The application has two different views. However, if the user changes the view or refreshes the page while the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can't select the "#text" in html with BeautifulSoup to translate I'm trying to learn things and make a page translator with Python. I'm able to translate most of the site but I can't get to the #text part of the html codes. I'm trying to get the texts, translate them and replace them to the copied htm/html file. I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Telegram account needs to be confirmed every time when using Telethon I have some troubles with my client app in telegram. When I run my code, I have to confirm my account everytime (in the telegram itself, I need to enter the phone number and the code that came to the mail). The most interesting moment, that my cod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React Material UI - Not possible to use themes other than 'light' and 'dark'? I am working on a UI using React with Material UI (v5+). In the docs, there is an extendTheme function you can use with CssVarsProvider to inject the MUI colors into CSS. In the docs in the same place, it says You can create unlimited colo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Graphical glitches when using GTK+3 on MacOS Our application suddenly starts to show some graphical issues in MacOS (Monterey, Ventura). Some dialog windows extend the width of title headers more than the window's body; besides, they show a flawed line at the bottom of it: Another issue observed is that some menu b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619808", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use ttest with np.vectorize across multiple 3d arrays im a bit confused on how to implement a t-test across elements of multiple 3d arrays with np.vectorize. Goal: So, take three arrays with the same dimensions and size and apply a t test across one element from each in identical positions, creating another a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619810", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to define a waiting task to save to dynamodb and invoke apigateway callback without lambda function? I'm playing with step functions to map logic of my microservice. I'm using ApiGateway WebSockets. Scenario: within the step function, callback the apigateway websocket, but before that, save the task token into d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619812", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can't install the react-to-pdf npm package I have already tried this "npm cache clean --force". If you know another way of implementing a feature that allows users to download the webpage as a pdf, please let me know how. This is the error I get when running "npm install react-to-pdf": ` npm ERR! code ERESOLVE npm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I install a printer for a user-defined type in ocamldebug? I've written a print function for a type in my program, and can load it into ocamldebug with load_printer, but can't install it with install_printer. What am I missing? Here's the entirety of the file printtest.ml, which is the printer: begin Fo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619816", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to migrate from one computer to another using command prompt how to migrate from one computer to another using command prompt. how to migrate from one computer to another using command prompt Processing resources and moving computers from command line
{ "language": "en", "url": "https://stackoverflow.com/questions/75619817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Spamming a request makes the server lag For the past days i have this recurring issues where a person makes my server spams requests to a captcha service. In short, every connection, a socket has an Captcha token to verify if they're a legitimate and not a robot. let captchaResponse = await fetch(`https://hcaptcha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Intellisense not working in Jupyter Notebook in VSCode Intellisense and the coloring of code is no longer working in my Jupyter Notebook in VSCode. It was working perfectly fine before then I reloaded the window(like I have done before without issue) and it doesn't work any more. I tried reloading, resetting the k...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Wenyan-lang Text Adventure game I am getting this error in my text adventure Wenyan-lang program: Running in Command Console: [Syntax Error] Unexpected EOF Line 29, Character 4: 若当前地点为「站台」则 Online Compiler: TypeError: A[N] is undefined My code: 以书面声明数之变量为「随机数」。 以书面声明人之变量为「当前地点」。 以吾之另一函数。名之曰「移动」。 设参数为「新地点」。 以全局变量...
{ "language": "zh", "url": "https://stackoverflow.com/questions/75619822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: need help ! SLACK SLASH COMMAND IN DM I am a non coder from management background. I am using slack in my organisation and i want to use /commands. The purpose is that , when i am in a DM , i want to use /acs , so that a message is sent out and the other person can see. right now, its only visible to me . i am using...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619827", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Combining VLOOKUP, OR, AND IF Statements in Excel Trying to write a statement with a combination of VLOOKUP, OR, and IF. Struggling with the placement of IF and OR clauses and/or parentheses. Here's what I've tried: IF(OR(VLOOKUP(B4,Agreements!F:G,2,0),VLOOKUP(C4,Agreements!F:G,2,0)) = "Active", "Yes", "No") (Retur...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619829", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MS Access leaves a background task running after I close MS Access down The problem this background task creates is that it prevents any further MS Access database from running. I must manually close down this background task in Task Manager so that MS Access can start again. I have created an absolutely minimal da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619831", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there a way in react to keep user data even after page refreshes I have a firebase app in which user can log in using the firebase Google authentication. After the user sign in with google their data is written to database after a sign-up then they are redirected to dashboard. Also the details of the user is stor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619833", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: freeRTOS is running only 1 task most of the time so I am having this strange problem (I guess there is something wrong with my code), I am trying to create 2 tasks on esp32 using freeRTOS, 1st task is to receive data from the Bluetooth module and put what it received in a queue, the 2nd task then reads from that que...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619835", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Vite build: Uncaught TypeError: Cannot read properties of null (reading 'useContext') I imported this component from material-ui : import Paper from '@mui/material/Paper'; When i run npm run build then npm run preview i got this error in the console : Uncaught TypeError: Cannot read properties of null (reading 'useC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619842", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to add a right-click context menu to your controls in a Python FMX GUI App? I've made a Form with an Image using the DelphiFMX GUI Library for Python, but what I want now is a right-click context menu on the image. When I right-click on the image, then it should bring up a context popup menu as you see here in V...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619843", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Indistinguishable elapsed time btw net/http and fasthttp for POST requesting in goroutine Needs to send multiple post requests to n servers, and gather response. I implemented the net/http and fasthttp versions respectively by go-routine. But not sure it is optimal way. The fasthttp (in git) says it is 10 times fast...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619844", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: Python:: Sklearn OpenBLAS Error for KMeans I get the following error when I try to use Kmeans: kmeans = KMeans(init='k-means++', n_clusters=numClusters, max_iter=100, n_init='auto') ---------------------------------------------------------------------------------------------- C:\PythonVirtualEnv\MLHogwarts\lib\site-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619847", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Python Sending outlook emails with signature First time poster, long time reader I've just upgraded my Python to 3.11 and now when I run my scripts to send emails, they take ages (4 minutes) to appear in the Drafts folder rather than actually send. Is it just me, or are others having this issue too? import win32com...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619851", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I keep lower-order covariates during feature selection for polynomial logistic regression in R if it selects higher ones? Suppose I fit a polynomial logistic regression with all covariates available to me. Then, I decide I want to make the model simpler by removing covariates that either harm or do little to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619852", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Rotate images in R-markdown conditionally I have a rmarkdown script and part of it converts information from tables to a data from with images. While most of the images are taken in landscape, several of them are portrait. I would like to rotate the portrait images to display in portrait, without rotating all of t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619855", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Storing Eigen::Ref from numpy through pybind inside c++ fails I have a maybe stupid question concering storing a reference of a numpy object in a c++ class. I have the following MVE code: template<typename VecType= Eigen::Ref<Eigen::VectorXd>> struct A { void insert(VecType& val) { std::cout<<"AddressOfValue...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619857", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .htaccess rewrite rule for categories not working I'm having trouble getting the category rewrite rule in my .htaccess file to work correctly. I've tried various patterns and rules, but I keep getting redirected to the post page instead of the category page. Here's the relevant portion of my .htaccess file: RewriteE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619859", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DB2 Identify unused index Is it possible to identify unused indexes? In our database we have a lot of indexes in the meanwhile. So it will be helpful when it will exist a system table to figure out these indexes. A: Check out the LASTUSED column for view SYSCAT.INDEXES for currently supported versions of Db2-LUW a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619860", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to identify which column/property is causing Data is Null error We're converting a .NET framework data layer that used EF 6 to .NET Standard 2 and EF Core 3.1.31. When trying to load a list of records from the database we're getting the following error: System.Data.SqlTypes.SqlNullValueException: 'Data is Null....
{ "language": "en", "url": "https://stackoverflow.com/questions/75619861", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: on windows, how to execute go bin commands of go cobra package? I am studying go cobra I need to execute, on windows, the equivalent of ~/go/bin/cobra init I already did go get -u github.com/spf13/cobra/cobra I don't know how to execute the bin/cobra command because I don't know where it's installed now the cobra...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619862", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nuxt asyncData not in context on page hydration When rendering server side or navigating to the page client side, the contents of asyncData are available and work as expected. However after an initial page load when hydration occurs, the data from asyncData is no longer accessible. That isn't how it is supposed to w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619864", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Error: spawn C:\Program Files\Java\jre1.8.0_281\bin ENOENT create new angular project When I create a new angular project by command ng new dashboard my node version v18.12.0 and npm 8.19.2 I got this problem How can I solve it ?
{ "language": "en", "url": "https://stackoverflow.com/questions/75619865", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Is there an R function to turn xyz data into an interpolated raster grid? Let's say I have a data frame containing xyz data. df <- data.frame("X" = c(1:10), "Y" = c(3,6,1,7,8,9,4,2,10,5), "Z" = rnorm(10, 5)) I want to turn this data into a matrix grid. For the spaces in the grid where there are no values I would li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619867", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: On change method JQuery bug - JQuery I'm trying to figure out when a user selects an element of the select and what element it is through jquery like so: $('#firstSelect').on('change', function() { console.log("selected"); alert( $(this).find(":selected").val() ); }); I've also included the libr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619869", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to include start and end date in pandas groupby/Grouper? I have a example DataFrame below. import pandas as pd df = pd.DataFrame({ 'date':["2022-01-01", "2022-02-01", "2022-03-01", "2022-04-01", "2022-05-01", "2022-06-01"], 'amount': [2,4,3,5,6,4], 'category': ['credit', 'credit', 'debit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619873", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why is my AWS DMS task with pglogical failing on dropped and renamed tables? I have an AWS DMS database migration task running Full Load and Replication. The source is RDS (Aurora PostgreSQL) and I have pglogical configured. The task ran the initial load just fine, and replication was working until we changed the n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619874", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Dynamically renaming Pandas DataFrame columns based on configurable mapping Python/Pandas here. I have 2 Excel files. In CSV form they look like: mappings.xlsx (as a csv) Id,Standard,FieldName 1,'Animal','Pet' 2,'Color','Clr' 3,'Food','Snack' info.xslx (as a csv) Pet,Clr,Snack Dog,Blue,Pizza Cat,Purple,French Fries...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619875", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: MS Access Show count when one select field value follows another field value within an amount of time, time in a separate date/time field on the table I am trying to determine the frequency of a certain event, which we believe can be done by identifying the occurrences when one select value H is followed by another ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619876", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Issue with JAX-RS POST endpoint when used with polymorphic classes I have my bean classes and endpoint like below: @JsonInclude(JsonInclude.Include.NON_NULL) @JsonTypeInfo(use = JsonTypeInfo.Id.NAME, property = "taskType", include = JsonTypeInfo.As.PROPERTY) @JsonSubTypes({ @JsonSubTypes.Type(value = TaskTyp...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619877", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: why is --watch-content-base an unknown option ive been trying to integrate webpack into the scripts of my package.json file. I first did an npm install -D webpack webpack-cli webpack-dev-server and had no problems.Then added the following line to my script in package.json "start": "webpack serve --watch-content-base...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619878", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: .Request() command for a GraphServiceClient is giving me an error in Visual Studio C# I am going through a manual on how to Build .NET apps with Microsoft Graph. https://learn.microsoft.com/en-us/graph/tutorials/dotnet?tabs=aad&tutorial-step=2 And I am reaching an issue: A am at an instruction where we send a reques...
{ "language": "en", "url": "https://stackoverflow.com/questions/75619880", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }