text
string
meta
dict
Q: Get a boolean of a map I have a private final Map<Long, Boolean> rpenabled = new HashMap<>(); and did this so it sets it to true when the bot is online or got added to a server: public void onGuildReady(@NotNull GuildReadyEvent event) { rpenabled.get(event.getGuild().getIdLong()); rpenabled.get(event...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635516", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: how to uncheck checkbox that has specific dynamic value in javascript I have many checkboxes that when user checks one of them, it makes a span with ajax with 'tag' attribiute . I want that when a user click in this spans again, unchecks the checked checkbox, but when I put 't' var in front of value its not working,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635520", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to access phpmyadmin & mysql db in it enter image description here I am unable access my db in phpmyadmin , so i tried various tricks and i lost access to phpmyadmin as well. pls someone help me with this.
{ "language": "en", "url": "https://stackoverflow.com/questions/75635521", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Awaiting a non-async function in python I was looking at some python tutorial for asyncio package. A paradigmatic example is the following: import asyncio async def first_function(): print("Before") await asyncio.sleep(1) print("After") async def second_function(): print("Hello") async def main()...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635522", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Text invisible after setting Template in WPF TextBox Style I Have a WPF Text Box , that works Normal when I override its Template directly in the window or user Control, but when I use a Style for it in a resource dictionary all properties work fine but when I set the template in the style , the text becomes invisib...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635523", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: FileStream from the System.IO namespace instead of Get-Content -Tail I want to use a FileStream from the System.IO namespace instead of Get-Content cmd-let. How can I do that ? thanks, $fromaddress = "filemon@contoso.com" $emailto = "IT@contoso.com" $SMTPSERVER = "xx.xx.xx.xx" $global:FileChanged = $false $folder =...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Optuna sample fixed parameter depending on another parameter In my setting I have an abstract situation like this the following, just note this is not about power calculation but a simple example to explain my point. base = trial.suggest_int(1, 3) power = trial.suggest_int(1, 10) As when the base==1 the power param...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635528", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Cucumber json file not created in karate Getting an error saying - "None report file added!" I have added outputCucumberJson(true) Am I correct in assuming that this should create a cucumber.json file in target/karate-reports? There is only a txt file named - karate-summary-json.txt file and no .json file due to whi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Faing problem in doing Sigle Sign On on Windows using Qt We are doing sign-on or SSO log-in in the Qt application. We are using Qt version 5.12.4 for a desktop application and using QtWebEngine to load the Microsoft authentication page. When a request like the following goes https://login.microsoftonline.com/54b90cf...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635530", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: GitHub Action failed due to workflow is not valid I am trying to upload my laravel application on shared hosting for auto-deployment. I have integrated the GitHub CI/CD feature with my ftp server. I want to exclude the specific files and folders when github deploys code on FTP server. So for this, I have written the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635531", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Show Variation Name Else Simple Product Title I'm using this code on the cart page to conditionally show the variation name otherwise the simple product name but it only shows the variation parent name and not the child. function product_title_or_variation_name( $product ) { foreach ( WC()->cart->get_cart() as ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635532", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bracketing in awk patterns I have seen regex patterns using either character classes (e.g. [:alpha:], [:digit:]) or directly specifying the characters themselves (e.g. [a-zA-Z], [0-9]). Are the enclosing square brackets [...] always required when using [:alpha:] and [:digit:]. Are the enclosing square brackets [......
{ "language": "en", "url": "https://stackoverflow.com/questions/75635533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Display field from controller inside thymeleaf In my controller I have some calculations and at the end I have a double balance that returns me a desired output. This is how its look: @GetMapping("/userTransactions/{user_id}") public String getUserTransactions(@PathVariable("user_id") long user_id, TransactionGr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Other method to create indentation in alert JS object alert(JSON.stringify(student, null, 4)); Why is null used in this code, what is the use of the 4 and how do we use it in an array? Please explain to me the above JS code and the output.
{ "language": "en", "url": "https://stackoverflow.com/questions/75635535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-7" }
Q: Should httpClient be injected Maui c# or should the service be a singleton I am building a mobile app and I need to make http calls to apis, naturally I thought I would inject the httpclient but then reading articles like https://github.com/dotnet/runtime/issues/66863 I decided against it, I have always read the Htt...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635536", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android: lifecycleScope.launchWhenResumed {} deprecated I've been using lifecyclesScope's launchWhenResumed for a long time now, but it seems to be deprecated. The documentation sais to use repeatOnLifecycle() but I only want the code to run once, just as it works with the old method. A: below code do the same func...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635538", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gitlab - Omniauth ldap sync users I'm setting up OmniAuth on my self-managed Gitlab. I have a SAML provider setup on Authentik. The SSO is working correctly. I would like to have all users in the Authentik managed group to be in the Gitlab users database. I currently have to wait for the user to login in Gitlab to b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Drawer (Mobile view) only opens to the height of the Navbar and does not cover the full page I have a Header and Footer (High order component) that has all the other pages in between these components; a layout to be precise. For mobile view, I have created a drawer that opens by clicking on the hamburger menu icon. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635541", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the meaning of the sqlite Blob literal x'007800'? Sqlite has the blob datatype which stores data as hex-strings. You can write blob literals using the x'<hexadecimal numbers>' notation. The docs about this: BLOB literals are string literals containing hexadecimal data and preceded by a single "x" or "X" ch...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635542", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: ReactJS based web app doesn't render on Facebook and IG's in app browser I have a site written in ReactJS (CRA). It runs fine on Chrome, Safari, and FF, but clicking on our URL from inside the native mobile FB/IG app renders a blank screen. Does anyone know what's going on? Or, how to debug this?
{ "language": "en", "url": "https://stackoverflow.com/questions/75635546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Fetch rows only if primary ids are available in another table as a comma separated value I have two tables - * *blog_categories *blog Values of blog_categories table are - id category cat_slug 1 News news 2 Travel travel 3 Sports sports 4 Food food 5 Politics politics Values of blog tabl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635547", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to correctly initialise a tRPC router for NextJS I've currently started migrating a NextJS and Express app to use tRPC. However, I'm having trouble initialising the NextApiHandler. In the backend folder, I have the following files: trpc.ts import { initTRPC } from '@trpc/server'; const t = initTRPC.create(); e...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635549", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to write html elements using javascript after "window.history.go(-1)"? I want to print the validation message on the div box after "window.history.go(-1)". I wrote a function writediv() to write the message on the div element but I think It's not working because the previous page is displaying when writediv() im...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Rotate a 2d array of any size counterclockwise cell by cell I need to be able to rotate a 2d array of data both clockwise and counterclockwise (right and left), in 2 separated functions. I was able to make the first function which does clockwise rotation to work well but I'm having modifying my code for the second f...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635555", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Get Second/Third Best Hyperparameters for comparison (keras tuner) i want to ask about keras tuner method. I know that get_best_hyperparameters() return the value of the best hyperparameters. How about a method to return the second/third/etc best hyperparameters. Is there any other method to use to get their value? ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to count the sum of NaN's before the first occurrence of a string in a given column? Suppose I have a df like, column1 | column2 | column3 | 1 | 2023-02-21 | NaN | 1 | 2023-02-22 | NaN | 1 | 2023-02-23 | 8 | 1 | 2023-02-24 | NaN | 1 | 2023-02-24 | NaN | 1...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635562", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Perform a two sample t-test on a dataset with a binary independent variable I am using the standard function t.test to perform a t-test on two variables, one (FC01) being an ordinally ranked variable (Likert scale from 1 to 5) and the other (joko) one being a nominally scaled binary variable (TRUE or FALSE). ## Dumm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: what details can you include that will help someone identify and solve your problem? am trying to run yarn add node-sass sass-loader and is giving me this error message yarn: The term 'yarn' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Threaded Excel File Processing in Delphi I created a TThread to handle some critical issues in an Excel file, however, I'm currently experiencing some challenges as the thread doesn't seem to be working in parallel with my application. Despite my best efforts to identify the root cause of the issue, I have been unsu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Multipart form value post in api in c# asp.net web application Error throw: HTTP Validation: unparsable request content Details:No boundary define for multipart request Method for post api call: string xml = ""; string Type = "", EventName = "", EventPath = "", UserName = "", Password = ""; Type = "POS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635569", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Animations in Phaser JS are not playing when 'not' set to loop I want to create an animation that will be triggered by certain event, play once and then terminate. This code isn't doing it for me even if I tried setting repeat: 0 and the 2nd parameter of anims.play() function as false/blank but it just completely st...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635570", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When i create new project in Apache NetBeans IDE 15 with simple (Java with Ant) than it shows me an error I install JDK-13 with NetBeans-15 but after installation during creating a project I faced a problem that it shows the following message Project Folder already exists and is not empty. When I am facing that pa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635572", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm trying to generate the apk of my application using EXPO can someone help me to solve these problems? I've done several installations and it doesn't solve the problems, sometimes it even increases. I'm using the command "eas build -p android --profile preview" build errors package.json I already did some research...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635573", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Renaming a file with a name already being downloaded through an (javascript) My problem is that it doesn't give it the names, it just stays the name that the assetdelivery has (which is just random characters). I've tried doing it with HttpGet, renaming the link, and rewriting it in another language. The code gets...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635574", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: res.locals returns nothing, undefined * *auth middleware code in which I defined app.locals.user and it shows the right details // middlewares/auth-middleware.js const jwt = require("jsonwebtoken"); const User = require("../schemas/user"); const express = require("express"); const app = express(); // auth middl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: clCreateProgramWithBinary(): CL_INVALID_BINARY * Device #1: Kernel /usr/share/hashcat/OpenCL/m13600-pure.cl build failed I am getting this error when trying to crack password with hash.enter image description here i want to crack password with hashcat.
{ "language": "en", "url": "https://stackoverflow.com/questions/75635577", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: ASP.NET UserService methods are not identified in favor of I UserService here im using [HttpPost] public async Task<IActionResult> Login(LoginRequest request) { var user = await _userService.GetUserByEmail(request.Email); the GetUserByEmail method is not recognized depsite clearl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hosting MySQL database on ec2 instance I'm new to AWS and I want to know how can I upload a MySQL database to an EC2 instance. I watched some tutorials and created new instances and set group rules like this: SSH - TCP - PORT 20 MySql/Aurora - TCP - PORT 3306 but It doesn't work and I can't even get the command li...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635582", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Vscode include errors detected. Please update includePath but path is updated/Windows11 I recently installed vscode for programming in c++ but i cant solve this error. https://i.stack.imgur.com/Opx0v.png * *I have installed mingw-w64 and msys2 *Set up path environment variable in the System Variable as "C:\msys64...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: I got this error " Data truncation: Incorrect date value: '1/1/2000' for column `schooldb`.`student`.`DOB` at row 1" I am trying to fetch data from my drag and dropped form, but the date entered in the date field can't be accepted by the database. String s1 = stdid.getText(); String s2 = name.getText(); String s3 = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635588", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Subplots with common x and y labels and a common legend under the x-axis I am trying to plot a subplot with a common legend displayed at the bottom of the figure below a common x axis label, and with a common y-axis label. I have two ways of almost getting it working, except the first has the common y-axis label ov...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635590", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to interpolate volatility's skew using spline in Pytho I have two lists to describe the function y(x) that represents strikes and the relative value of the skew of a volatility surface: x_points = [22.56, 27.07, 31.58, 36.10, 40.61, 45.12, 49.63, 54.14, 58.66, 63.17, 67.68] %strikes value y_points = [97.44, 87....
{ "language": "en", "url": "https://stackoverflow.com/questions/75635591", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C++ : Is it possible to add multiple gRPC service definition in single proto file I am trying to understand how the gRPC services are created and servers are linked to them, if multiple services are defined in 1 proto file. (pls excuse for the long message) With example from this documentation, I created basic serve...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635592", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a new Tensor to support batching from the input tensor in a custom layer in tensorflow functional API model I am working on a problem in which I have to create a custom layer in keras, which takes, output of a conv layer of a pre-trained model as an input. This custom layer work is to select K best fea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to fix webpack postcss-preset-env is not optimized error I created a website a while ago using webpack and want to update it now. Unfortunately, when I run the project it will throw some errors out. One that I can't solve is that the version of postcss-preset-env is not optimised to work with PostCSS 8. I did al...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Connect binance testnet futures user stream using python-binance I'm going to connect binance testnet futures user stream data using python-binance library. I tried following code: async def update_crypto_user_websocket(): async_client = get_async_client(True) socket_manager = get_binance_socket_manager(asyn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635598", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Google Knowledge Panel Scraper I'm trying to scrape the information that is in the google knowledge panels. The information I want is the Name, Bio, Born, and Education. Collecting this data is achievable when I have just one. Here I have used different scrapers and python scripts. My problem however is that I want ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Python stop iterative deepening search based on time I am currently developing an iterative deepening search and would like to stop it based on time. My code looks like this: def __init__(self, name='Agent', time_limit_s=5): self.name = name self.time_limit_s = time_limit_s self.stop_event = ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: angular not sending antiforgytoken I want to use AntiForge Token in an Angular project I have also written the back-end with ASP.NET Core middleware code is if (path != null) { var tokens = _antiforgery.GetAndStoreTokens(context); context.Response.Cookies.Append( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Which architecture should I use for Apache Superset: AMD64 or ARM64? I'm planning to use Apache Superset for data visualization and analysis, but I'm not sure which architecture to choose: AMD64 or ARM64. I'm running my applications on a cloud server and I have the option to choose either architecture. I've read tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635605", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: getting error as Exception in Tkinter callback and Attribute Error: 'NoneType' Object has no attribute 'group' I am trying to create a translator with help of Tkinter and googletrans library but getting following error and I am confuse as I am not sure is this error due to library or a mistake from my side. from tki...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pacman game with Pygame I am making a pacman game with python. Currently, the player moves continuously if I hold a certain key. So, for example, if I hold the left key, the player moves continuously to the left. But in the original pacman game, you can just press a key 1 time to move continuously instead of holding...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding a reactive object to an array of my Vue component I am trying to get my Vue component to handle a list of objects with variable length with a date and boolean attribute. The list is a list of vacation days for employees. I want to add vacation days and marks them as repeating every year. <template> <div> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635613", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular: get notified when jwt expired / isAuthenticated should change to false i have got an Angular Application with JWT Authentication. I check the status in the token-auth.service.ts public isAuthenticated(): boolean { const token = localStorage.getItem('auth_token'); if (token) { if(this.jwtHelpe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635614", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I want to drag and drop item to AntDesign Tree from outside of the tree! how to achieve this? I have implemented Ant Design Tree, In that, I have enabled drag-and-drop feature. DnD from outside the tree is not responding or showing anything while dragging. any Idea how to tackle this link to Ant Design Tree
{ "language": "en", "url": "https://stackoverflow.com/questions/75635615", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I have an angle that changes based on player input using lerp, but it doesnt lerp when the target is zero This few lines of code apply 25 degrees to the players rotation by using the x_value it either gives 1,0 or -1, it works fine if I am pressing left or right but when I let go the player.target_value should be se...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pycharm SSH and visualization I have successfully connected to the SFTP server following this link. However, when using matplotlib for visualization, it doesn't work without any warning. This indicates that the figure has been generated but not displayed. Is there any way to solve this? Many thanks.
{ "language": "en", "url": "https://stackoverflow.com/questions/75635618", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Add a checkmark to a toggle switch using HTML and CSS I can't seem to get a checkmark to display in the toggle. I have the following CSS: /* CSS for toggle checkbox */ #toggle { display: none; } .toggle-checkbox label, .toggle-checkbox label, .toggle-checkbox label { transition: 400ms all ease-in-out 50ms; ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does the private class C IP address range start from 192.168.0.0 rather than 192.0.0.0 like the public counterpart? I am curious regarding why the private IP address range starts from 192.168.0.0 rather than 192.0.0.0 like the public IP address range for class C networks. Is 192.0.0.0 - 192.167.255.255 reserved ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635622", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Upload file using Azure Blob Put and ADLS Gen 2 Update (REST API)? I am in the middle of exploring whether to use the Azure Blob REST API or the ADLS Gen2 REST API for uploading a file to a Blob / ADLS Gen2 account. Given some storageaccount, some container and some/path/file.csv, I think I have come to realize that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Plotting line plots in for loop: try to create a color transition but color remains the same for all lines I'm trying to create a line plot using Matplotlib with a color transition. df_MBPS_GT100_groupy_land_jahr_mean is a pandas.core.frame.DataFrame of shape (288, 1). The x values represent years, the y values perc...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I install library's on Micropython? How can I install the python library requests on micropython? If yes, how? I tryed upip but in upip is no library named requests.
{ "language": "en", "url": "https://stackoverflow.com/questions/75635626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Automate Codeartifact login for npm AWS Codeartifact auth token expires after 12hrs, we need to create new token again. But how can we automate this authentication token update instead of running the command again manually? I've tried setting the command in ~/.bashrc, but this is running everytime the terminal is op...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635629", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to scrape only specific rows based on filter instead getting all rows with BeautifulSoup? I am trying to scrape this site "https://takipcimerkezi.net/services" and for example as a starter I wanted to scrape 'minimum siparis' column. This is my code: from bs4 import BeautifulSoup import requests url='https://ta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to allow a Python program to fix itself by downloading and installing/updating all libraries needed? I have sudo on a machine at my disposal, now I want to do something like this: * *Let a python program to have sudo privilege, run a piece of code (also in python), the 2nd one will break sometimes due to outda...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Initialize string enum member with other string enum member I noticed this sentence, "In a string enum, each member has to be constant-initialized with a string literal, or with another string enum member.", then I writed some examples. Following is one of examples. enum RIGHT { VALUE = 'Right', } enum Direction ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635641", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Layering Queries I created a query to view the order of customers' purchase history, and want to build upon it based on the first purchase item to see if there are common ordering patterns. I used the following partition by statement to determine the order and then added an inner join to find common 2nd purchase cat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635644", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: draw a binary tree based on some names I have a project with nextjs and typescript. in this mini project I implemented a binary level order tree. I want to show it like a tree in the browser as below I have two classes in tree.ts file. one class for my treeNodes and one class for implementing insert and levelOrderT...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635647", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to use partial tag inside a plugin in OctoberCMS? Inside my plugin in /plugins/acme/blog/views/mytemplate.htm I have this code {% partial 'test' vars=values} this returns Unknown "partial" tag and it's called by an internal code with return View::make('acme.blog::mytemplates', $values); since it's not called b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635649", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How install only files from sourceDir with no directories I have two source folders "hml" and "prod" with files that has the same name. * *source-files\hml\prop.txt *source-files\prod\prop.txt According to an environment variable, the hml or prod folder is installed WXS File generated from heat.exe <?xml version...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635651", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Jetpack compose how to reduce amount of arguments in a Composable function (clean-code)? In my application I've hoisted every major functionality and after that I've ended up with a huge Composable function: HomeScreen.kt TopSection( filterParametersState = filterParametersState, itin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635654", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Pygubu how to make a button change what is in the frame next to it I am trying to make a program where several buttons change what is in the frame next to them based on which button is clicked last. So far is what happens currently where it opens in a seperate window. However I want it to open in that large open spa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635656", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is it a bad idea to navigate in a custom hook? I want to make a custom fetch hook to help me handle some http error in general. When the response.status is 401, then navigate to the main page. const useFetch = (url, fetchOpts) => { // reducer here..... const [state, dispatch] = useReducer(fetchReducer, initialS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635657", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: php and sql unidentified variable errors Warning: Undefined variable $account in C:\xampp\htdocs\advanced-ticketing-system\tickets.php on line 22 Warning: Trying to access array offset on value of type null in C:\xampp\htdocs\advanced-ticketing-system\tickets.php on line 22 Warning: Undefined variable $account in C:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635658", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to NOT duplicate (in a new variable) an array and to SORT IT? I have an array: var givenCountry =["ALBANIA", "BOLIVIA", "CANADA","ICELAND", "DENMARK", "ETHIOPIA", "FINLAND", "GERMANY", "HUNGARY", "IRELAND", "JAPAN", "KENYA"] I need to sort this array but I don't want any mutation. I tried this way by creating a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635660", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Recorded video showing black screen but audio is audible using cameraX lib. in android studio This is the code of my main activity public class MainActivity extends AppCompatActivity { private static final int REQUEST_CODE_PERMISSIONS = 10; private static final String[] REQUIRED_PERMISSIONS = {android.Manif...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635662", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: In SwiftUI, how to prevent '.refreshable()' of child View in List View? in SwiftUI, if child view of List View that refreshable has ScrollView. the child view also '.refreshable' . example) var body: some View { List { ScrollView(.horizontal) { LazyHStack{ ..... } } } .refreshable{ ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635665", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is this jenkin file is okay? can you please check this stage and tell wheather this is correctly written or not stage('Deploy to Kubernetes'){ steps{ script{ withCredentials([string(credentialsID: 'KUBECONFIG', variable: 'KUBECONFIG')]){ sh ''' ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635674", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to install SQL Server (setup.exe) - exit code decimal: -2061893606? This is what happens when the installation is completed: Error description: Wait on Database Engine recovery handle failed. Check the SQL Server error log for potential causes. Please help me guys. How to solve this problem ? I've tried de...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635675", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Google My Business API server to server without Workspace/G-Suite i would like to achieve that the website of my PHP website can fetch business location data (name, address, contact, openings, ...) from the Google APIs, so that i do not have to insert the information twice. I tried to create a service account and us...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635676", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adobe AEM 6.5 Cloud: wildcard in SlingServletPaths? We want to build a single proxy servlet which will serve a number of different paths, such as /api/register /api/player/1234/ /api/player/12312/transactions Basically, any and every path below /api/ Currently we are using this pattern, which only allows a single or...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635677", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Move only single nav items to the right in Bootstrap 5 I have a navbar programmed with bootstrap 5 and as you can see in the picture I just want to move the last three nav-items to the right. I have already tried ms-auto, which resulted in all my nav-items being moved to the right, but I only want to move three to t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635680", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I search for the newest result with arguments, regarding no duplicate by condition and sum this There is a possibility to enter numerical values in a table, suitable for group and name, with information of the range, and a numerical value (zw), with this it should be indicated, who has when how many places a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635683", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how can I find names of functions based on --trace-opt output node --trace-opt and --trace-deopt outputs hex and sfi, but not always names of functions. so I wanted to know if there is any other flags I can set to know which function are getting optimized/deoptimaized. (such subjects are above my knowledge level but...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635685", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Gradle Building Errors in flutter I'm trying to solve the Gradle error but not solve this error so you can find this solution. * *What went wrong: `A problem occurred evaluating project ':app'. No signature of method: build_7ddlmucs2j5kiypgoiym6wbeo.android() is applicable for argument types: (build_7ddlmucs2j5k...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635686", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Copy selected columns from source excel in a active workbook and copy them into specific column I'm trying to use an active workbook to select some specific columns from a source workbook and copy them to the specific location in a new excel workbook Here is my source workbook I want to copy columns F and G into a n...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635688", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to set the profile status of users in my slack workspace using the slack python SDK (users_profile_set), however I am getting "invalid_user" I am trying to create an App for my workspace which would set the user's presence at appropriate moments. I wrote the following test function: from slack_sdk import WebC...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635689", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Find the stock coverage month in Excel I have below data where I am trying to find till which month the available stocks are good. I have demands from March to June and Stocks in various stages in FG/WIP/RM, the formula should compare the demands with stock levels and show till which month the actual coverage happen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635693", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to remove an element from a list in R while maintaining the original list print formatting? I've searched far and wide on Stack Overflow and online generally on how to remove specific elements from a list and I've partly figured out how to do this. However, when I remove an element from this example list, I lose...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635696", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using nestjs/axios GET request set encoding for xml I am trying to retrieve a XML via axios (for nestjs) from an external HTTP service. Unfortunately the encoding does not seem to work correctly, because the special characters (ü, ö, ä, etc.) are not are not delivered correctly. How can I set the encoding correctly ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635697", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Java card polling reader with reactor I've built the following function to execute a CardTerminal for reading the ICCID of a SIM Cards. Goal: * *Terminal Polling and wait for a CardTerminal connect *Card Polling and wait for a Card connect *if terminal & card connected read out iccid and write to file (already i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635698", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I found strange data reshaping method in MATLAB doc... Help me My goal is to build forecasting model with RNN. I'm stuck at reshaping time series data. There were some methods I could not figure out. Time series forecasting using MATLAB Time series forecasting using python If you take a look at this example in MATL...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635699", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to start up Vue method? I'm new in Vue-CLI and don't understand how can I call methods in onMounted. So I have a method, which get some variables, then calculate and return result. I want to launch this method every 5 seconds. My IDE tells that in onMounted "Cannot find name 'checkStatus'." So, could you tell me...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635701", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why embarassingly parallel jobs go much slower on a server based on slurm than locally when using R? I run the following R script both on my personal computer and a computing facility based on slurm queuing system foo = function(size){ sample = rnorm(size) mean = mean(sample) sd = sd(sample) vOut ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635702", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Hostinger transferred my website to another server and I cannot generate PDF files Hostinger transferred my website to another server, and I cannot generate PDF files since then. I get the following error with dompdf: Fatal error: Uncaught exception 'DOMPDF_Exception' with message 'No block-level parent found. Not g...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635705", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to link to a library with a .dll and .def file I just want to apologize in advance if there are a similar thread to this one. I've spent hours googling and searching for an answer which helps me, I've even tried using chat-gpt for help. I want to use the sqlite library for my c++ project. I downloaded the precom...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635706", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Android WebView and TalkBack Accessibility I am developing an android app where accessibility is critical. App uses latest WebView(109) to bring various content to the user. These content could be Epubs and can contain MathML/LaTex expressions and so on. By default, I would like to piggy back on TalkBack to provide...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635707", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Could not find or load main class com.example.ServingWebContentApplication When I run my program in IntelliJ IDEA, I have that error Error: Could not find or load main class com.example.ServingWebContentApplication Caused by: java.lang.ClassNotFoundException: com.example.ServingWebContentApplication There is scree...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635710", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How could make dynamically element focus? In javascript when press 'add button', button will be created and added on the list. My question is, how could I reduce code for focus function and make it dynamically? According to the code below I have to make focus function for every single created button, but program sho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635711", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "3" }
Q: I get nullsafety error when I try to add firebase package to pubsec.yaml file I am trying to add Firebase to my Flutter App named biletsatis . But when I try pub get, I get this error. [biletsatis] flutter pub get Running "flutter pub get" in biletsatis... Resolving dependencies... Because firebase_core >=0.7.0 <0.8...
{ "language": "en", "url": "https://stackoverflow.com/questions/75635714", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }