text
string
meta
dict
Q: Are there ways to mirror submodules in Gitlab? I mirrored repo with submodule from one Gitlab to another. I used Gitlab settings to create mirror. But the problem is - the submodule in mirrored repo stayed the same like in .gitmodules. I want my mirrored repo to use a mirror of submodule. Are there easy ways to do i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578643", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to handle if Asp:.Net Core API crashed during building Host I have an Asp.Net Core API, currently .Net 6. Basically Program.cs is the form like below. public class Program { public static void Main(string[] args) { var host = BuildWebHost(args).Build(); host.Run(); } public stati...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to Redirect ReactJS contact Page to Thnak You Page after submitting the form My ReactJS contact form is working fine and showing thank you message with Pop Up after submitting form details successfully. But i want redirect user to ThankYou page instead of popup after submitting the form successfully. What change...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578646", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Type Error in typescript : Property 'includes' does not exist on type '{}' value.includes gives me error Property 'includes' does not exist on type '{}'. public test(eventsObje: any = {}): Observable\<any\> { return new Observable((observer) => { for (let [key, value] of Object.entries(e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Accordion panel is not sliding when I'm adding "show" class by Javascript I'm working on accordion, And Opening a panel on click on another link <div id="open">Open It</div>. but It's not opening smoothly. However when I open by click on card header it's opening very smoothly. How to achieve this? html <div id="acco...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578653", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: python async library issue I have the following script, but it work incorecctly. I want to first function always repeat and second function should start if first function return result1, result2. I want to add one more function which should start 40 seconds after second function finished job with result1 from first ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578655", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Are there any good methods for shot boundary detection for low framerate videos? For videos of 24 frames or more, various shot boundary detection methods work well. However, deep learning or simple thresholding (HSV, LUV) methods do not work well for videos with a very low frame rate of about 6 to 15 fps. If anyone ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: @KafkaListener __listener not available in BeanExpressionContext in Spring 3.0.1, works in v2.7.8 I'm creating a generic kafka listener which is spawned at startup and during execution. However, after upgrading to Spring boot 3.0.1(from 2.7.8) it seems like Spel isn't capable of accessing __listener anymore, it seem...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578659", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: finding this signup issue again i have an issue with sign up in php when i fill detals and sign up then it shows this error Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') values ('...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578661", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How can i prevent multiple instances but on different users with mutex? So basically i have implemented a mutex in my C# Application based on this: What is a good pattern for using a Global Mutex in C#? Which works great but only on one user, whenever i change the user for example from admin to User1 i can start the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Gibberish appearing in text file when sending output of a command to a text file using >> or tee (on macOS)? I tried bundle --help >> temp.txt and bundle --help | tee temp.txt (note bundle --help is just an example, any command could take its place) What I hoped to see: BUNDLE(1) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578663", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Data thresholding in GA4 API Can I know if GA4 has applied thresholding to my API request?
{ "language": "en", "url": "https://stackoverflow.com/questions/75578664", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is something similar such as uses-permission-sdk-23 in android manifest file? I need to request permission for camera android:name="android.permission.CAMERA" only for API > 31. Found uses-permission-sdk-23, but it works only for api 23. How can I do such logic in manifest file for api > 31?
{ "language": "en", "url": "https://stackoverflow.com/questions/75578665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does springboot convert Map type parameters passed in by the front end to beans? Is there any other way than reflection? The front-end request is made through an entry point, different processing methods are set at the entry point according to the GET parameter, and the entry is parsed and converted from the bod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578667", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: KerasCV - Cannot save model from model.save(PATH) keras 2.11.0 keras-cv 0.4.2 I trained the model with this tutorial (https://keras.io/guides/keras_cv/retina_net_overview/). At the end, the WEIGHTS are saved, but I need to save the MODEL. When I save the MODEL I get the error: ValueError: Model <keras_cv.models.obje...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578671", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to make a background blur effect that gradually disappears when closing a pop-up, and similarly a smooth exit animation for said pop-up? (Premise: I've been learning how to code for two months by myself, I'm a beginner so I need very straight-forward, "fool-proof" answers, possibly with clear examples. Also forg...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578672", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TypeError: "x.write" is not a function PanelRenderer.rendererBody = function (oR, oItem) { const sText= oItem.getText(); if (sText) { oR.write("<h1>"); oR.write("</h1>"); oR.writeBack(sText); } }; PanelRenderer.render = function (oR, oItem) { t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Keycloak SSO url custom issue I want to set up keycloak as IDP of the SSO integrated with Google workspace. The sso login and logout urls look like "https://IP address:8443/auth/realms/demo/protocol/saml", but I found other people uses https://sso.domain.com instead. I searched many documents in the internet, but st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to optimize this numpy code to make it faster? This code is working as expected and calculates cosign distance between two embeddings. But it takes a lot of time. I have tens of thousands of records to check and I am looking for a way to make it quicker. import pandas as pd import numpy as np from numpy import d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578679", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Cache method results in WebFlux I would like to cache results for a method like the following using WebFlux (Project Reactor) Flux<Customer> customers = customerService.getCustomersByCityAndAge("NY", "25") (I often see unrealistic examples caching method without parameters etc... but generally this is not the case...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Send outbound SNMP alarms with static IP from pod in Kubernetes I have a pod within a Kubernetes cluster that needs to send alarms via SNMP to an external network management system. However, the external system will only be able to identify the pod if it keeps a stable IP address. Considering the ephermal nature of ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578684", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Java Maven project in VSCode: unable to find valid certification path to requested target Full disclaimer: I'm not a Java expert. My work group developed a Java project, managed by maven, which should be compiled against jdk-11. They all use IntelliJ and I was able to set it up on this platform. I'm now trying to do...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does this change lead to different performance? I've just stumbled upon this from 2015 Fall: 15-213 Introduction to Computer Systems lecture by Carnegie Mellon University. Is this incorrect? Because it's exactly the same code with swapped int variables. Please help. I appreciate any explanation here. A: Lets t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: error: system does not fully support snapd: I am giving this error on sever ubuntu 22.04 on install snap enter image description here I am trying to install snap with certbot & chromium-browser on server Ubuntu 22.04
{ "language": "en", "url": "https://stackoverflow.com/questions/75578690", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: YouTube Api OATH access token I want to make a bot that will upload the videos from hard disk to YouTube. I have written the code already but there is a problem. I have to make the authorization manually by logging in to the Google account which gives me an access token, valid for only 1 hour. Now the trouble is the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578691", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Comments sort by score I am trying to customize my wordpress site. I want to rank the comments according to the score, so for example, 5 star comments are at the top, 4 stars are below and so on. To do this, I made changes to the code I showed below in the comments.php file, but it didn't work. $comments = $wpdb->ge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578692", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Why lua table.remove with null index still works I am seeing the behavior in Lua code that uses table.remove() which removes the last element when I am passing nil in place of the index . It was counter-intuitive to me. > local tbl = {"this","is","a","list"} table.remove(tbl,nil) will result in the last element d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578694", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Implement specialised array from Swift protocol in Objective C I'd like to implement a String array from a Swift protocol in Objective C. Here's the protocol: @objc protocol MyProtocol { var myProperty: [String] { get } } And here's the Objective-C implementation: @interface MyThing : NSObject <MyProtocol> @pr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578695", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to remove blank space at the bottom of the page that's caused by a button? so i already know the cause of the blank space at the bottom of my page and it's a sticky "back to top" button, but i don't know how to fix it. here's the page layout <nav> navbar </nav> <div> caroussel </div> <div> some images </di...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578700", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to make a user from LDAP an admin in KeyCloak V20.0.3? We are running a working Keycloak in Docker setup with a Postgres database and we are able to synchronise our LDAP users. Is it possible to make one of the LDAP users an admin? I can't find a role realm-management when I check the role mappings of a LDAP use...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: An error about the Flask-Socket IO: when the client connects to the server,it continually throw the 400 Bad Request I want to achieve the websocket between the frontend and backend,and i find the example in the internet,but when i run the code,it always throws the 400 error. This is the flask server code: from flask...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: add styles for chart.js I'm using chart.js i need to add y axis with fixed values and also i need to add perpendicular lines i tried something like this const ticks = [100000, 10000, 5000, 0] options: { scales: { yAxes: [ { ticks: { autoSkip: false, min: ticks[ticks.length -...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578703", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: the time complexity of an generateParenthesis algorithm Code: vector<string> generateParenthesis(int n) { vector<string> dp[n+1]; dp[0] = {""}; dp[1] = {"()"}; for(int i=2; i<=n; i++) { for(int j=0; j<i; j++) { for(string& a: dp[j]) for(string& b: dp[i-1-j]) ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Blender 3D to 2D Transformation giving wrong bounding box coordinates Hello fellow stack overflowers, I was trying to use some 6D Pose Estimation algorithm with a custom dataset. Its going pretty good but I need to save the labels aka the 2d coordinates of the bounding box showed in the picture. Unfortunaly it doesn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578708", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to use YAML format in golang code: cannot start any token I want to create a clientset in golang code to k8s cluster API and by using kubeconfig, retrieve desired resources like pods. Due to some technical issues ,which its details are out the scope of this post, I decided to copy the kubeconfig in my code in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Cannot open Service Control manager by service hosted in IIS with a locl account as user in the app pool I have a service hosted in IIS on a windows 2016 standard server that uses System.ServiceProcess.ServiceController.GetServices() to retrieve the running services. When I use a custom app pool with a local user a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578712", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why do I get "Types of property 'href' are incompatible." issue while building nextJs App written in typescript? import React from 'react' import Link, { LinkProps } from 'next/link'; interface NavLinkProps extends LinkProps { as?: string; to: string; } const NavLink = React.forwardRef<HTMLAnchorElement, NavLi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578713", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Debian - existence official PHP package I have a question about PHP packages on Debian. My project currently is in PHP 7.4 but this version is no longer supported since 28 Nov 2022. The problem is, I need to pass to PHP 8.0 (minimum) or 8.1 (last version available). Does it exist an official PHP package for Debian 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: WSO2 MI deploy main sequence I want to change the default main sequence. I created a sequence with the name main, and I have a problem with deploy to the micro integrator. i get the following error: [2023-02-27 09:23:03,087] ERROR {SequenceDeployer} - Sequence named : main already exists. [2023-02-27 09:23:03,088] ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578719", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to send an email service is terminated during shutdown? I've made a C# service which run some Powershell code like this: using (PowerShell ps = PowerShell.Create()) { ps.AddScript(myLittlePSFileContent); ps.AddArgument(mylittlePSFileParams); ps.Invoke(); } The PS code migth be different each time, a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578720", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to clear browser cache using Django? I have to clear the browser cache in a project. Is it possible to access the browser cache and clear it through Django? I have no idea. All we are doing is doing a hard refresh by the client.
{ "language": "en", "url": "https://stackoverflow.com/questions/75578722", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Angular Directive that changes a generic Component Property in Angular14 I am trying to migrate an Angular library to a SCAM approach. I have a bunch of button types which I split up in specific Components extending a ButtonDirective with common props. For props like button sizing and color I would rather use attrib...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578723", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: @bot.command() Not Working or registering, but bot runs just fine I am making a discord bot that has multiple different options when it comes to sounds and other small responses, my main issue is that I want to start using the @bot.command() but for some reason the discord bot seems to "Ignore" the command I type wi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578724", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: My url is not updating when I go to a new page on my Django site I am building a site in django with a clickable calendrer feature. The user can click on each date and it sends them to a new page which they can book a time on that day for a session. The issue is that the URL once the user clicks on the date they wan...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578726", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apexcharts. Annotation is behind labels How can I do the annotation of a sticker over the Y axis? enter image description here I tried to use the following code, but it does not work. annotations: { position: "front", yaxis: [ { ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578730", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is there any way to sell the google docs and office word add-ins, besides the platforms of Google and Microsoft? I wrote some simple plug-in gadgets to support google docs and office word, but the listing process on their platform is very cumbersome and lengthy, so I would like to ask if there are other platforms or...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578731", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: java.net.ConnectException: Connection timed out nnect at java.base/java.net.PlainSocketImpl.connect0(Native Method) this error occurred when i try to run my project and dont work gradle please help me thanks Launching lib\main.dart on Android SDK built for x86 in debug mode... Exception in thread "main" java.net.Co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578732", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Creating Menu Bar with Prism maui on Windows We've run into an issue with creating the main menu bar with Prism Maui on Windows. The menu bar itself is created inside the Main content page but its not showing up on Windows, it works on MacCatalyst MainPage.xaml <ContentPage.MenuBarItems> <MenuBarItem Text="{...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578733", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Building data warehouse of MySQL databases using NiFi I am building a data warehouse using NiFi . My sources are 100 small MySQL DBs. My destination is a huge MySQL DB. Any inserts, updates and deletes are to be reflected in the data warehouse. I am using the changeCaptureMySql processor to identify inserts, updates...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578737", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Modifying a variable when passing a delegate I'm using the following solution from here [passing a delegate into a function]https://stackoverflow.com/a/47712807/21295698). I want to modify the $inputarg text each time an error is caught in the catch block. When action.invoke() is called the variable sent to MyFuncti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578740", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: the Library Microsoft.Maui.Essentials .Net Maui Why the Microsofte.Maui.Essentials Library won't install in my Maui project and even other Maui projects Using directive is unnecessary
{ "language": "en", "url": "https://stackoverflow.com/questions/75578744", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How does React enable importing SVG files? When using React I can import SVGs as Wrapped as ReactComponents : import { ReactComponent as Foo } from "./foo.svg"; and then use it anywhere I want to display the svg: <Foo fill="orange"/> But how does this work under the hood? I see that React defines this module, prov...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578745", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to correct send GraphQL request by postman? https://docs.hyperspace.xyz/hype/developer-guide/api-calls/user-non-marketplace-activity-and-history I need working with that API method, I got key, all is good My version of query: query GetNonMpaUserHistory { getNonMpaUserHistory( condition: { userAddress...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578746", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Check if elements in a list exist in the beginning or in the end of another list in C# I have two lists List1 and List2 List1: List<Segment> segments = new(); List2: List<Point> points = new(); List 1 includes multiple/all elements of list 2(sorted elements), sometimes list1 will not include few elements of list2 ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578748", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PLSQL Grant on Tables used on a package I have two procedures one defines and uses a CURSOR with table from another schema and it gives me an error of insufficient privileges; the other one, creates a table with a dynamic SQL, referencing the same tables, but goes without error, why so? First procedure is as follows...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578751", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: programatically set files to be available offline in google drive with python I would like to be able to use a python script to set a file to be availble offline from google drive. This is because there is a very specific subset of files (thousands of files) that I need to have this property. I am trying to be able ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578757", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Micronaut not parsing user-defined object in POST call @Controller("/v1") @Secured(IS_AUTHENTICATED) public interface OTPHandlerApi { @Post(value = "/verify") @Consumes(MediaType.APPLICATION_JSON) HttpResponse<User> verify(@Body User body); } Created Micronaut POST call in above format but while parsing the object ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578759", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Patch request to a node.js code from vue button on-click gives error I have a very simple vue project that gets and displays info from a json file. I also separately coded, using the google calendar api node.js authentication, a javascript code that authenticates, gets my calendar, gets the next events and saves the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578760", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Choosing the correct optimization technique for a CNN-Transformer Hybrid model where some parameters are frozen, but others are not I have a model which is something like : cnnencoder = CNN_Encoder() transenc = TransformerEncoder() cnndecoder = CNN_Decoder() model = nn.Sequential(cnnencoder, transenc, cnndecoder) H...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578762", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a cumulative list of values, by group, in a Pandas dataframe? I'm trying to add a new column to the DataFrame, that consists of a cumulative list (by group) of another column. For example: df = pd.DataFrame(data={'group1': [1, 1, 2, 2, 2], 'value': [1, 2, 3, 4, 5]}) Expected output: group1 value c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578764", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to add active class dynamically using react bootstrap pagination.? I have an items api which is working fine and I added the active className on Pagination.Item but its not working. I'm not sure if I missed something else to make it work. See docs for pagination react-bootstrap.github.io Below is my code and als...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578765", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Build error while building .NET Docker image with private repo package in Release mode I am getting an error while building my very basic .NET project with Docker in Release mode. I am using a private NuGet repository to retrieve a simple package PackageTest. My project only has 1 controller: CounterController.cs wh...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578767", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: The first 3 threads that will complete their work Consider the following program. class Racer implements Runnable { private String name; public Racer (String name) { this.name = name; } public void run() { try { Thread.sleep(100); System.out.print(name); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578770", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Aws solution for watching DLD msgs I wan to create a AWS solution which will monitor all the Dead letter queues in one account and if there is any msgs it will trigger the lambda. problem here I am facing is I want to create such solution where if new deadletter queues gets added in the account solution should work ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578771", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I am getting The requested resource [/StrutsExample3/] is not available this error while running struts2 application in eclipse [[[[[[enter image description here](https://i.stack.imgur.com/J0tas.png)](https://i.stack.imgur.com/92Fx6.png)](https://i.stack.imgur.com/8JteM.png)](https://i.stack.imgur.com/aQsC4.png)](h...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578774", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: XSL recursive template Variables to be passed I have found a way to replace the escape character in v1.0. but pls advise me how can I make this as recursive template so that I need not to copy paste it everywhere. And will have to repeat the same for next tag. So I want to call it recursively, only change the main t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578775", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Button for language change works after only a refresh I have a little problem in my site and I can't find a solution to solve my problem. There are two languages: French and Dutch, the default language is French. There is a webService named WARGTEXT which retrieves words in French or Dutch. In French everything wo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578776", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: import errors in kotlin file within flutter project in android studio I've been working on a flutter project for a while. The MainActivity class is written a kotlin and android studio always complain about the imports and I have a lot of reds in my code. Nevertheless I could compile and build the project. Now I have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578777", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I can not fixed this problem I Create Navbar and Create Account design in Navbar but I can See only blank page RenderBox was not laid out: _RenderListTile#934f1 relayoutBoundary=up11 NEEDS-PAINT NEEDS-COMPOSITING-BITS-UPDATE 'package:flutter/src/rendering/box.dart': Failed assertion: line 2001 pos 12: 'hasSize' I m...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578778", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: vuejs 3 pinia unable to access data from store I am using Pinia for the first time. I am implemeting login feature with backend api which returns userId, I want store this userId in store and want to access it anywhere in vue component. Currently,I am not able to access the userId from store, it does not print the u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578779", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: com.android.tools.r8.internal.Jc: Space characters in SimpleName exception are not allowed prior to DEX version 040 I'm trying to using backticks ` in the definition of my instrumented tests. I don't understand why compiler complains about a strange error: Caused by: com.android.tools.r8.internal.Jj: com.android.too...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578780", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I fit the app to full screen of the blazor app when I try to use full-screen mode it doesn't open and there is the lower part under the content. How can I set it to full screen in blazor hybrid app? How can I fix that? I tried many ways, but didn't work. I'm using .net 7. <MudLayout Style="height:contain"> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578782", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Tailwindcss @apply directive not working in external file I'm using tailwindCSS over the CDN. It's a basic project that I want to create includes only few pages. But I have some components that has same UI. I loaded the tailwind with this script tag. <script src="https://cdn.tailwindcss.com"></script> If I use @appl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578783", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: No module named werkzeug.local I'm trying to run odoo server by using the following command (~/opt/odoo8.0/odoo-server$ ./odoo.py --addons-path=/opt/odoo8.0/odoo-server, opt/odoo8.0/odoo) But i'm getting the following error (from werkzeug.local import Local, release_local ImportError: No module named werkzeug.local)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578785", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: numpy.core._exceptiond._ArrayMemoryError: Unable to allocate using matplotlib.imshow I am currently trying to plot a 3D dataset with a length of (1600,1600,1600) in the following code: import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D import numpy as np # Load the 3D data file data = np.genfro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578787", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PLSQL Execute Immediate Dynamic Aggregate Query and Bulk Collect I need to fetch the column's population (count of each column in a table) for many tables. I'm writing a PLSQL script which will create a dynamic query and want to print the result. Since my select query includes aggregate columns, I'm unsure how to de...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578789", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: how can i make my label values with BOLD style in a 3D bar chart in phpspreadsheet Hello i was able to create a clustered 3D bar chart using PHPspreadsheet, version 1.23 However i want my label values, for each each column, to become more visible, by stylizing them to become BOLD. However after several tries, noth...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578791", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 'DataLoader' object has no attribute 'federate' I want to get a federated dataset with pytorch so I write this : training_dataset = datasets.ImageFolder(\data) train_set = torch.utils.data.DataLoader(training_dataset, batch_size=20, shuffle=True) base_federated=train_set.federate((bob, alice)) federated_train_loader...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578792", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Convert SQL query that contains WITH clause and union in QueryDsl I'm using Oracle DB and has Students table: Students Table: | COLUMN | TYPE | | ----------- | ------------- | | ID | VARCHAR2(200) | | NAME | VARCHAR2(200) | | AGE | NUMBER(5) | | MAIN_CITY | VARCHAR2(200) |...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578795", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connection to Python debugger failed socket closed in Pycharm Hi all! I want to set it up the same way as the teacher, but so far unsuccessfully .. an error crashes. Is it really possible to set it up like this on PyCharm Community? I am attaching a fragment from the course on udemy. how to set also?
{ "language": "en", "url": "https://stackoverflow.com/questions/75578797", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unstructured yaml parsing with python and saving it to excel/csv I am trying to extract particular elements from yaml using python. My yaml is stored in db is not well-structured. There are two main nodes under 'root' which are 'requests' and 'useNews'. Below is example (this is just a sample from the actual large y...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578798", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Function that creates a new object with properties set to the values of the input objects specific key in typescript Consider the following code: type namedObject = { name: string } declare function createObjectWithKey<TObjects extends namedObject[]>(...namedObject: TObjects): { [key in TObjects[number]['na...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578799", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using bash to receive UDP packet payloads with source address and port? I need to listen for UDP packets, which could come from any address and any port to my listening UDP ports. In my bash script I need to take action based on, the source address, the source port and the payload text. I have to use bash because of...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578800", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Intellij show the current running build I have a spring boot project and using IntelliJ Ultimate Edition (2022.3.2) I am also using the new UI (beta) Suppose, that I am starting "customer" microservice (I have a run configuration) by exectuting "spring-boot:run" Previously, with the community edition, I was always s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578801", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Matplotlib multiple subplots I want to plot several plots of fixed width in matplotlib, one below another. I want y-axes of these plots to be aligned. But I don't know heights of these plots at start time. I want to do something like this: fig, axs = plt.subplots(n_plots, 1, figsize=(9, NOT_SET)) axs = axs.ravel() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578802", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# .Net 6.0 System.IO.Ports is depricated. How can I use SerialPort? I am C# programmer and using VS 2022, with .NET Framework is no problem using System.IO.Ports.SerialPort in order to use .GetPortNames() for collect available serial port list. for example; ComboBox CMS = new ComboBox(); string[] comlist = System.I...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578803", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Getting # collapsed multi-line command error in GitLab CI config file scripts I'm trying to put a multi-line shell script command in the GitLab CI YAML file as shown below:- test: stage: promote-test-reports image: "937583223412.dkr.ecr.us-east-1.amazonaws.com/core-infra/linux:centos7" before_script: - "y...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578804", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Posting Model WEB API NET CORE 6 public partial class Thongtin { public string? Id { get; set; } public string? Hovaten { get; set; } public string? Sodienthoai { get; set; } public string? Diachilapdat { get; set; } public string? Tenhinhanh { get; set; } public string? Hinhanh { get; s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578806", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to integrate the official TikTok API with my website? How to integrate the official TikTok API with my website? I am trying to apply for the API but has been rejected for random repeated reasons. Is there anyone who has obtained the API? Would you mind sharing your experience? I am currently a student in the UK ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578809", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to display values to one decimal place I use the quasar framework and have a q-slider that displays values. I want the decimal places to be limited to 1. I have tried using in vue.js :formatter="value => value.toLocaleString(undefined, {minimumFractionDigits: 1, maximumFractionDigits: 1})" :formatter="(value) =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578810", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: TS optional channing renderShimmers is boolean or undefined. I want it to be false if it's false or undefined. Is there a simpler way than this? this.props.renderShimmers ? this.props.renderShimmers : false A: Any of these. * *Boolean(this.props.renderShimmers) *this.props.renderShimmers || false *this.props.r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578811", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: ERROR Error: EROFS: read-only file system, open '/var/task/schema.gql' I am trying to deploy apollo-micro in a nextjs project on Vercel. And I am seeing following error on Vercel. How can I fix the following error ? at Object.openSync (node:fs:600:3) at Object.writeFileSync (node:fs:2221:35) at Object.ou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578814", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why plot with line doesn't work with gnuplot I would like to plot a profile of temperature using line. My code : set multiplot layout 2,2 rowsfirst p for [i=1:5] './phi=0.0'.i.'/Field/Fields_1.00e+04_800.dat' u ($2==-5e-07?$1:1/0):4 w l lw 2 t 'phi=0.0'.i p for [i=1:5] './phi=0.0'.i.'/Field/Fields_1.00e+04_800.dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578815", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Android - unsafe unzipping pattern Playstore is showing error for unzipping even if using recommended approach to handle canonical path. Whats the wrong with this code? try { String filename; is = new FileInputStream(zipFile); zis = new ZipInputStream(new BufferedInputStream(is)); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578817", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Generate XML files with various namespaces using SQL Server I need to generate XML from SQL Server that the end result looks like this: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <kmsg xmlns='http://xml.aaa.net/K809' xmlns:env='http://xml.aaa.net/K809/k8msgEnvelope' xmlns:xsi='http://www.w3.org/2001/XML...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578818", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Slider goes backwards after reaching the last slide When the slider reaches the last 3 images of the slider, it slides in backward direction to the first slide. What i want to do is that when the slider reaches the last index then it goes directly to the 1st index in a row... It should not slides in opposite (revers...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578819", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I mock the behaviour of onRetryAttempt parameter of retry-axios This is my main code: api-client.ts this.httpClient.defaults.raxConfig = { backoffType: 'static', httpMethodsToRetry: ['GET', 'POST'], instance: this.httpClient, // eslint-disable-next-line @types...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578820", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to draw an angle with an arc in between with mouse move using javascript? var c = document.getElementById("myCanvas"); c.width = window.innerWidth; c.height = window.innerHeight; var ctx = c.getContext("2d"); var ctx = c.getContext("2d"); ctx.beginPath(); ctx.moveTo(300, 150); ctx.lineTo(600, 150); ctx.lineTo(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578822", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Iphone's done button is not submiting anything but only works on safari with help of focusout event The done button does not work on iPhones chrome but only on safari. I have used focuses out event to submit data but this is only working on safari okay but not on chrome it is only closing the virtual keyboard only n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578823", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Bundle Prisma Client in a module I'm having questions, on prisma generated clients, maybe I'm doing things wrong. I Have a monorepo with the following modules dependency tree: Module A - |- Module C Module B - * *Module A and B both have a prisma client in them, and both export their Prisma client to b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75578824", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }