text
string
meta
dict
Q: How to get the percentage of error per each hotel with name for the following tables using CTE Table 1 errors: hotel_id. error 1. x 2 y 3 z 1 a 2 b table 2 hotel hotel_id name 1 marriott 2 Westin 3 Luxury Resu...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567445", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AddListener(DevToolsEventListener \*) subscribing a listener to the already connected DevToolsClient error with ChromeDriver and Selenium Java I am using: * *chrome driver version 110.0.5481.178 *My System Chrome Version 110.0.5481.178 *Java version 17.0.5 *Java server 4.8.1 also previously used 4.7** The syst...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567448", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing local variable from one function to another in JavaScript? This is the start of a long project I am working on. I have an array of articles that are selected at random to be evaluated in a library instruction setting, and based on which article is selected I want a certain alert dialog box to display. To do ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567449", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to find a user attempting and failing to authenticate many times in a short timeframe Need help with few questions- Can anyone help me with below questions? we can connect over google meet or zoom. a. an external IP address attempting to communicate with the firewall that comes back as malicious when using open ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567451", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: div overflow-x not showing when in flex I have a flex layout of left/center/right panels (center panel allowed to resize to screen), and in the center I have some content - including a table sitting in a div that "should" allow a horizontal scrollbar if there's not enough space - but this is not happening; see https...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567452", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Not able to find the solution for chevron cell functionality in react data grid Am trying to understand the official docs of react data grid to implement the chevron cell functionality. But it looks ambiguous in terms of passing the options. Eg. Parent id of cell. Where would we be setting these up and how would we ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567454", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add system.text.json into Powershell? How can I install the system.text.json namespace into powershell 5? I have a standard Windows 11 computer with .NET framework 4.8.1 installed. I need this to convert a large JSON-string into a datatable. After some more troubleshooting it looks like I need to install Nuge...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567456", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Accessing the user call when generating error messages Consider the following example. library(purrr) library(rlang) foo <- function() { walk(1, \(i) { error() }) } bar <- function() { error() } error <- function(call = caller_env()) { abort("Oops!", call = call) } foo() # Error in `map()`: # ℹ In in...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567458", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: run functions in parallel python with returns I'm trying to make my script faster by running queries in parallel. The script fetches a list of employees and then for each employee, it fetches employee specific additional data. I want the additional employee data part to run in parallel for 5-10 employees at a time. ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567459", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to add a tool bar at the top of the drawing area of AutoCAD enter image description here Add tool bar at the top of the drawing area. I have no idea. Have any examples.
{ "language": "en", "url": "https://stackoverflow.com/questions/75567461", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: C/C++ use a switch case match all alphabet I have a long if () ... else if () ... else if() ... code,similar to: int token; if((token >= 'a' && token <= 'z') || (token >= 'A' && token <= 'Z')) // ... else if (token == '\n') // ... else if (token == '^') // ... else if (token == '&') // ... It has a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567462", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I make a website link open NOT in the Telegram app's built-in browser? I am developing a website. The problem is that when opening the website link from the mobile Telegram app, it opens in the app's built-in browser. This browser has its own limitations that are causing problems for me. How can I make the l...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567469", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to create endpoint with different response content types depending on accept header in Java with Micronaut I am having a play with Micronaut, and want to create an endpoint that returns either text/plain or text/html, depending on the Accept header in the request. I found two ways to do this: * *create two met...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567470", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Native base select component not getting border color when focus in android device using expo application I am creating react native expo application using expo and native base v3 ui library. When styling select box and input , I am applying border color on focus by default using this code. I can see Border color o...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567471", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Nuxttjs Error: Cannot find module 'node:fs' I'm trying to run nuxtjs but it just won't run. I have already uninstalled and installed another version that I used on the machine, but it does not run. Node version is 14.5.0 and npm 6.14.8 Package.json "dependencies": { "nuxt": "^2.0.0", "@nuxtjs/axios": "^5.3...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567472", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Notepad++ mass multiply a specific integer after a text I have notepad++ with python script installed, is there a way to mass multiply all numbers that come after a specific string? For example: ExperienceGained 10 + X I have thousands of those lines and I need to multiply all X by 3. I tried this but without any su...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567473", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Problem with query execution time in mongo with spring data I have a problem with too long response time with find query. This is quite strange because if I run the query myself (e.g. via the dataGrip / Intellij driver) the response time is about 500-700 ms, and when it is performed by an service that uses spring da...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567475", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Shipping Discount in Woocommerce with coupons I am trying to implement a function in woocommerce which when a coupon is applied in an order, it checks if the discount_type corresponds to a custom discount_type that I created, if true, the the value of the coupon must be reduced from the flat rate shipping cost. The...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567476", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Case seems to not evaluate all options as expected I'm converting a script to utilize arguments, but it seems that my case statement is not evaluating all of the options I've provided. Below is the argument that I coded which is not working: #!/bin/zsh ... ##########################################################...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567477", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MASM Printing prime numbers Hi so I'm having problem with my Assembly project. I am supposed to print out x prime numbers in order. But I cannot use the fuction USES. When I tried to remove it, I got an infinite loop. Can someone please help me, thank you isPrime PROC USES ECX EBX ; Checks whether a number is prime ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567478", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How can I reduce the time complexity of df.apply()? There is dataframe called "df" that includes columns "Open", "Low", "High", and "Close". I am going to calculate the number of times that the range formed by the lowest and highest prices of subsequent candles after a given candle contains the opening price of tha...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567479", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Getting ' Couldn't find type org.springframework.stereotype.Component ' while compiling java project after removing all spring dependencies I removed all spring dependencies from build.gradle to make project non spring. But after that i am getting below error Couldn't find type org.springframework.stereotype.Compone...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567481", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Misunderstood quote from Learn JavaFX 17 I am going through the book "Learn JavaFX 17" and it has been very helpful so far. However, I came across something on page 92 which seems to fly in the face of the examples. Just after the tip the authors say: It is allowed, but not advisable, to change the content of a L...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567484", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: React Fetch Empty after Flask API Request I am building an image gallery application which is supposed to fetch data about images from an API developed in Flask. The Flask API works, I know because I tested it via CURL, it behaves as it should. The issue is, I get a blank response from my fetch. Here is the code whi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567487", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to implement reauthentication in firebase auth? delete account const handleDelete = async function () { const auth = getAuth(); const user = auth.currentUser; const promises = []; const userCollections = [ `${user.email}_data`, `${user.email}_data/bookmarked_movies/bookmarks`, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567488", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unity Game Object is not seen in Event System Raycast I'm new at unity and I'm trying to do very simple thing. As you can see there are only two object in my scene under Canvas object. This is the script I added both Ground and Deneme objects. Code (CSharp): using System.Collections; using System.Collections.Generic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567489", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Force Table To Store Text Data in Upper Case Characters I want to force all data in certain columns to be stored as Upper Case characters. Is there a way to do this? When I put > in the format property, it displays it as capital letters but does not actually store it that way. If I click on the field, it reverts to ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567495", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why does increasing parallel degree reduce CPU efficiency? I'm using Parallel.For to improve the performance of some long running code, which I've simplified here. Increasing the MaxDegreeOfParallelism from 1 to 2 cuts the time to complete to about half, but increasing from 2 to 3 cuts the time by only a quarter. An...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567499", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: why I get this error in my query: Syntax error: Expected end of input but got "(" at [3:7] I am trying to run a query for a course following the instructions step by step but I always get this error: Syntax error: Expected end of input but got "(" at marking this line CONCAT(warehouse.state, ': ' , warehouse.warehou...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567500", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Reverse query clash I am trying to make a chat system where a user can create a chat and become the owner of the said chat and the chat can have other users inside. class UserProfile(models.Model): #username = models.CharField(max_length=30, unique=True, default=User.username)# django creates username automatically?...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567503", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Flask/react google authentification, No 'Access-Control-Allow-Origin I have the following CORS error. Access to fetch at 'https://accounts.google.com/o/oauth2/v2/auth?...' (redirected from 'https://127.0.0.1:4000/login-google') from origin 'https://127.0.0.1:4000' has been blocked by CORS policy: No 'Access-Control-...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567505", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Produce Scalar output for Custom Loss Function with different formula depending on difference between output and target Currently trying to implement a custom loss function for linear regression with the following logic: *If output value of model is greater than or equal to the target, return loss as (output - targe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567508", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Making a test pass with Jest, React Native Testing Library and MSW I’m a newbie with testing React Native (expo) aps I’m using MSW to intercept my API calls. I’m in charge of configuring and creating the firsts tests, so the rest of the team in my company can see live examples of it I just made a simple app that rea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567510", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Unable to pip install pybluez - error in PyBluez setup command: use_2to3 is invalid I'm trying to install pybluez for Python 3.11 using pip install pybluez but I receive the error: Collecting pybluez Using cached PyBluez-0.23.tar.gz (97 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567513", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Generating a random number (more than once) and using it inside two class functions I am building a GUI with tkinter where two buttons modify two text fields. One button chooses a random key from the example_dict and displays it in text1 , and the other reveals the corresponding value in text2 . I have chosen a OOP ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567514", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Learning Swift UI Getting some weird problems Please help me to get through this error: Tried learning ForEach loop and scroll view but getting these errors: "Extra trailing closure passed in call" and "Argument passed to call that takes no arguments". A: You should not name the struct "ScrollView" the same name a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567515", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Open url from gnome-shell-extension What is wrong: const Gio = imports.gi.Gio; let app = Gio.AppInfo.create_from_commandline("xdg-open %u", null, Gio.AppInfoCreateFlags.NONE); app.launch(["https://www.bing.com/"], null); I tried to open url in default browser from shell extension
{ "language": "en", "url": "https://stackoverflow.com/questions/75567517", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why Puppeeter (await page.$('.ui-dialog-titlebar-close')).click() does not work? I am trying to close a JQuery dialog with puppeteer but when I click on the close button it does not work: // Close popup const closeBtnHandle = await popUpHandle.waitForSelector('.ui-dialog-titlebar-close', { visible: true }); closeBtn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567519", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: activating color picking eyedropper in javascript I want to activate color picking eyedropper in javascript on clicking a button, and here is my code Here i targeted the button by its classname, and then im trying to add an event on clicking it. the function is not working properly. And here is the error ReferenceE...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567527", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Finding all equal items in the table in Spring data i am using java 11 and spring 2.7, i have the below entity and repository: @Data @NoArgsConstructor @AllArgsConstructor @Entity @Builder public class Title { @Id @Column(name="tconst") private String tconst; @Column(name="directors") @ElementCo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567528", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to avoid duplicate news in bing search api I am consuming bing news search api with below url. https://api.bing.microsoft.com/v7.0/news/search?q="cricket"&sortBy=date&since=1677348339&count=500&offset=0 I am passing the since parameter to avoid duplicate news. But news api not considering the since paramters. If...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567529", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Error while merging two tables - what is error int this code please help me create table product ( product_id int, product_name varchar(20), rate int ); insert into product values (1, 'Tea', 22), (2, 'Coffee', 30), (3, 'Muffin', 67); create table updated_products ( product_id int, product_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567533", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Vscode , When I commited I want to see my changes until when I pushed Brach In this scenario, I have 14 file changes that have. But the problem is this project is too big. When I lost some time in project, I'm looking at my changes on git. But I want to commit because when I part to part committed My code changes c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567534", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Finding the mean of a factor level in R Data visualisation problem here. I have a data set with two variables. I've got a sample of 700 sports players. There are seven categories of sports players ( variable player_group), each given as a level '1' '2' '3' etc depending on age group. Each player gets a score for how...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567535", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Wordpress- Elementor unable to use HTML tags in a text widget. They get escaped I have a Widget in Elementor that I enter text into and it won't recognize HTML tags. For example when I write this in the text box in Elementor: Our Information Security Services include: <br>• Security & Risk Assessment (Asset Classifi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567540", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Get all the children top and left I want to get all children offset top inside parent by using jquery and javascript but I only found a few ways to use loop and it's very long so I believe there is something shorter for this And i never actually learn jquery from A to Z so if it has any solution can you tell me ? Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567543", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Escaping backtick in a variable string Pretty simple question, I don't see it listed yet. $a = "`4Test `!User" $a | Out-File test.txt Output I want: `4Test `!User" Output I get: 4Test !User A: Use single quotes instead of double quotes: $a = '`4Test `!User' $a Output: `4Test `!User Explanation: A string enclo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567546", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Redirect all old domain pages to the same new domain pages I'm struggling with .htaccess... I'd like to redirect my old site this way: old.site to new.site old.site/a/ to new.site/a/ old.site/b/ to new.site/b/ etc... But I'm getting old.site to new.site old.site/a/ to new.site old.site/b/ to new.site etc... Thank yo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567548", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Passport Local.js with email instead of username I am using passport-local to authenticate users. However, I am using email and password to login instead of the default username. How do I change my configuration to change username to email in passport.authenticate? Here is my LocalStrategy code: const strategy = new...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567550", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Insufficient scope when calling tag list in Docker registry What do I need to pass to the scope-parameter during authentication to being able to call the /v2/{image}/tags/list for all repositories within my registry? I'm tryting to fetch tag information from my private Docker registry. I was managed to successfully ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567552", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can Woocommerce display the products available for purchase first on the main page? (after them "not available") I tried to add in functions.php this code class iWC_Orderby_Stock_Status { public function __construct() { if (in_array('woocommerce/woocommerce.php', apply_filters('active_plugins', get_option('a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567553", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: wp_postmeta - repeating custom field can somebody help me? Im using WCK plugin and I need to pass my values to repeating field. here is my code: if (isset($_POST["ada_cost_but_naklad"])) { $nazevNakladu = $_POST["nazevNakladu"] ; $cenaNakladu = $_POST["cenaNakladu"] ; $data= array( ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567554", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Is the code I am using to display temperatures on an LCD using a LM35 sensor on an Arduino Uno correct? I am following this project: Arduino - Display Temperature from LM35 Sensor on LCD | Arduino Tutorial (arduinogetstarted.com) I am trying to build a temperature display using the Arduino Uno using the LM35 sensor ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567556", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: how to decode $SISTEMIT_COM_ENC how do i decode $SISTEMIT_COM_ENC in php <?php //AUTHOR ZLAXTERT $SISTEMIT_COM_ENC = "3Za5yq1IF4bzhr6Jwwm6MXCeOJzAedq6naekQUHBCd3JVu+rL0gEA8XAwEiE3t+X/bfwZ1VFrafWehfvov7846ejOK6gK+4/3FP/RzC4f3//++MV72ZCL4io8zd7v/c4d975WPfqUT9LShFD44iXpkIUfU30MbUERlchveba8i7GF3ojDL9y+Tj1ACN7OTopuiDLqLV...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567557", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to draw a Timeline on d3.js or canvas screenshot attached I have one requirement on my existing project. I want to draw the fully customized timeline on the Canvas or D3.js which is shown below. Your suggestions will be valuable for me and will be appriciated.
{ "language": "en", "url": "https://stackoverflow.com/questions/75567558", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: PV result redirect to file for making graph Is it possible to redirect the output of the PV command to a file for plotting? Especially I need make graph performance write to USB storage with dd utility like: dd if=90g.dd oflag=direct | pv -s 90G| oflag=direct dd of=/dev/sdc1 In command above result in terminal is u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567560", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to get rid of the 00:00:00.000 so that it's just the date in Flutter I want to change the pickerDate to a string in the format of dd-MM-yyyy, right now its in the format yyyy-dd-MM 00:00:00.000. How can I change this? String _selectedDate = DateFormat("d-MM-yyyy").format(DateTime.now()); _getDateFormUser() asyn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567561", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to automate version bump with main branch protection rules without PAT? My team has multiple low level and high level packages written in Python and they are dependent on each other, we typically install them as GitHub repositories using pip. Basically, I would like to automate the process of providing versions ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567562", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: cal not available on Ubuntu? I thought Ubuntu was POSIX compliant (IEEE Std 1003.1-2017). However, Ubuntu 22.04LTS does not have cal installed by default. Curiously it has ed. Is there an explanation for this missing standardized utility?
{ "language": "en", "url": "https://stackoverflow.com/questions/75567563", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to find element with offset in nested lists? I'm currently work on an algorithmic problem in c# (Language doesn't matter). I have 3 nested lists with that are not the same length (see the illustration below). // Elements can be anything. For example, here i used strings List<List<List<string>>> elements = new()...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567564", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Selenium C#: Can't find a button on Trello I am trying to automate the Trello Activity extension, and I am trying to automatically press the button "Export to CSV" with Selenium. And my code, I am trying to get the button with xPath: driver.FindElement(By.XPath("//[@id=\'content\']/div/div[1]/div[1]/div[2]/span[1]/d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567565", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: System.Web.UI.WebControls.TextBox instead of the text box value in asp.net c# web forms output Can someone pls help me on this one. User's input from the textbox data should be displayed. But instead, I got this System.Web.UI.WebControls.TextBox webform1.aspx.cs Response.Redirect("~/CORView.aspx?fname=" + firstname...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567566", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to fix blackscreen in Pygame while the game is running? I've made this game using the pygame, when i run the game the screen only stay black and when I close the game i can see all the numbers while a brief moment. The game name is "The 15 puzzle". The comments are in portuguese because I need to show to my teac...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567567", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: JPA: Could not determine recommended JdbcType for I've written this @Entity in Java 17 using Spring Boot 3 to store information about quotes in a corresponding MySQL table. package ch.pcngroup.gestionale.entity; import java.math.BigDecimal; import java.util.Currency; import java.util.List; import ch.pcngroup.gest...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567574", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how do I let users select text and bold, similar to Apple Notes I am trying to create a note-taking app, but I can't figure out how to let the user format the text. Something like Apple Notes app, where I can select some text, bold/underline/strikethrough/italic the selected text only I tried using UITextView as the...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567576", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: Nest.js authentication with passport-local result in Error: Unknown authentication strategy "local" I am new to Nest.js and currently trying to figure out how to get my authentication to run. I use passport-local and followed the tutorial on the offical Nest.js website, but I keep getting the error Unknown authentic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567579", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: i am have problem with validation to the codeigniter hello when try save a form with codeigniter 4 not save, this occurs when try add a validation to the controller hello i am have this function public function create_user() { if ($this->request->getMethod() == 'post' && $this->validate([ 'no...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567582", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Assign id to geotiff images Is it possible to toggle the geotiff images after clicking the button? I want to toggle the geotiff images on the map after clicking the button
{ "language": "en", "url": "https://stackoverflow.com/questions/75567583", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Using group_by in summarize Here is my df. Airline Destination delayed ontime Total_Arrivals Alaska Los Angelos 62 497 559 Alaska Phoenix 12 221 233 Alaska San Diego 20 212 232 Alaska San Francisco 102 503 605 Alaska Seatlle 305 1841 2146 AM West Los Angelos 117 694 811 AM West Phoenix 415 4840 5...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567584", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Creating a MYSQL Procedure, what I'am missing? I looked at the documentation and a lot of previous posts related to insert. I have also tried a single quote on the values without luck. create procedure insert_emp() begin declare p int; set p = 0; while (p < 1000) do insert into emp (empno, empname, salary, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567586", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Direction based on the forward facing camera I'm trying to get if the 3d shoulder camera is facing the front of the player so I could stop the head from moving around. I tried to do Vector3 Direction = targetConstraint.position - sourceObject.position; but that only worked if i was facing forward but if i turned aro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567587", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to debug doPost() I am using these simple functions to test and learn to deploy App Script as a web app. function doPost(request){ var parameters = request.parameters; console.log(parameters); return HtmlService.createHtmlOutput(JSON.stringify(parameters)); } function doGet(e){ var parameters = e.par...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567593", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to override select properties when testing ktor? I'm very new to KTor. The specific scenario I have involves using Testcontainers with KTor. I want to set the JDBC URL in my KTor configuration using the one from Testcontainers: @Test fun myTest() { // The container is running, I have the JDBC URL here printl...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567594", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to get check out version of source code used from a docker, k8s manifest files is there a way to get the details of source code like it check out version etc. on which the docker image is built? Using docker or Kubernetes manifest files or helm chart files? e.g. from a given manifest file, I need to know which t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567596", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Parsing Data from Legacy Equipment in Lab (Agilent HPLC *.ch Files) I'm reaching out for help with parsing data from some "legacy equipment" in our lab. Specifically, I'm trying to read in the data-format *.ch from an Agilent HPLC (high pressure liquid chromatograph), which should contain some time values on the x-a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567597", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Run-Time Error for Chanukah Problem on Kattis I solved the Chanukah problem from kattis in my IDE and it works perfectly, but when I'm submitting it on kattis, I get a runtime error. This is the code I'm trying to submit, which works perfectly fine in my local IDE and also on replit. def chanukah(): sets = int(i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567599", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Verifying password in Python sqlite3 and tkinter import sqlite3 from tkinter import * def clear_fields(): enter1.delete(0, END) enter2.delete(0, END) conn = sqlite3.connect("main.db") c = conn.cursor() c.execute( """CREATE TABLE IF NOT EXISTS admins( admin_id INTEGER PRIMARY KEY, name...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567600", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Why am I getting 500:INTERNAL_SERVER_ERROR on vercel when trying to deploy a django app? Basically, I am trying to deploy a django project to vercel using the default settings, however I get this error when doing so 500: INTERNAL_SERVER_ERROR Code: FUNCTION_INVOCATION_FAILED ID: iad1::kgz72-1677350120288-41179987b8c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567601", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Create a function in Python that takes in n, a, b and returns the number of positive values raised to the nth power that lie in the range [a, b] power_ranger(2, 49, 65) ➞ 2 2 squares (n^2) lie between 49 and 65, 49 (7^2) and 64 (8^2) power_ranger(3, 1, 27) ➞ 3 3 cubes (n^3) lie between 1 and 27, 1 (1^3), 8 (2^3) and...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567602", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to use the Classroom API in Python There was a question, in this link, there is a guide on how to display a list of courses, but I am not satisfied with the method of authorization, fraud with tokens. Is there a way to simplify this? For example, to use pubsub_v1, it was enough for me to specify the path to toke...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567603", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Reading asynchronously from stdin with Readline I am looking at one of the examples in the O'Reilly book "JavaScript: The Definitive Guide" and was trying to make some changes. This example, as it is written in the book works fine when you use input redirection: node charfreq.js < input.txt But I wanted to make a c...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567604", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Insert JSON in MySQL using SQLAlchemy I have a JSON file with data that I'd like to insert in my MySQL table using SQLAlchemy. The point is that I'm trying to figure out if is there a equivalent method for executemany (mysql.connector) in SQLAlchemy, as I have to use the last one. data = [] with open('vehicle_data_u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567606", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular HttpClient making two OPTION and two PUT request per one click I am still a beginner to Angular and HttpClient, I was trying to build a simple product management system web app. I had given an option to add new product, but once I click that there are two OPTIONS and two PUT requests made to Firebase Realtim...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567608", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I convert this endpoint from javascript to typescript? I am developing a chat app using the t3 stack and I have got this socket endpoint working fine using javascript but I would like to now convert it to typescript and I am struggling. import { Server } from "Socket.IO"; const SocketHandler = (req, res) => ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567609", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make a React parameter passing between pages and master page I don't know how to make the function which imports a page as a component <component /> and then give all the components different link but with only one page and function. I don't know what to try but this is what i expect to accomplish so when ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567610", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: java.lang.AssertionError: Method probability2String is not properly declared expected: but was: I was running my code through some testers and an error message popped up on this tester for the following method: public String probability2String(byte probability) { switch(probability) { case 1: ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567611", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to input a list using input() only once? I was given a task “ask a user to type 3 numbers each on a different line (using enter) and multiply them”. So I need one input that will create a list and then multiply the contents of said list. How do I do it? My friend did this using input() 3 times and named them a b...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567612", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: How to load more data in DraggableScrollableSheet in flutter I want to load more data when scrolling down. here is my code DraggableScrollableActuator( child: DraggableScrollableSheet( key: Key(getSize.toString()), initialChildSize: getSize, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567616", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Vite.js error: `Could not resolve "rc-util/es/hooks/useMobile"` I have created a react.js app using vite.js. When I try to run the app in development mode it returns the following error: X [ERROR] Could not resolve "rc-util/es/hooks/useMobile" node_modules/rc-input-number/es/StepHandler.js:6:22: 6 │ impor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567617", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Subset a 2 column data frame with unique rows, so that the values in each column are unique I have a 2-column data frame with 1300 unique rows. The first column has 160 unique values and the second column has 230 unique values. I would like to get a subset of the data frame with the maximum number of rows while keep...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567618", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: onscroll not being fired on CodePen I made a website with(I think) a pretty cool and simple navigation menu a while back, so I decided to try and put it on CodePen. The onscroll event listener just seems to not be called? The codepen URL is here It works on locally or when hosted on my hosting service window.onscrol...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567621", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Script to accept a link or return an error Looking to get some help for the following: Write a script that would be valid if the hostname matches between two variables. Example Var1: www.google.com Var2: www.google.com/images However, the script must throw an error when the hostname is not matching like shown below:...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567623", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Roue 53 A record I keep getting this error code: [Tried to create an alias that target d1rjnk9azrfd0f.cloudfront.net., type A in zone Z04732832HJZEKNE8JUGT, but the alias target name does not lie within the target zone, Tried to create an alias that targets d1rjnk9azrfd0f.cloudfront.net., type A in zone Z04732832HJ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567624", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why does my program keep running and not generate output i need to split multiple lines and split each line and then from the first char of each line it has to do a certain function, for example number 3 should generate some profit and print it i cant seem to figure out the problem String f ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567625", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: github actions how to set different parameter values in yaml file based on env (dev, uat, prd) without using env secrets How to set different parameter values in yaml file based on env (dev, uat, prd) without using env secrets? Can we set values using the if condition based on the environment (dev, uat, prd)? Need t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567626", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Resizable layout (by pulling) I have my layout, till moments it works fine, but i want to make the <ScrollView android:id="@+id/to_Resize" to be resizeable by pulling it's up and down. Possible i have to add some view, but from this point i don't know which and how to configure it. Anyone have any ideas? my xml <?xm...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567627", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Consume message when ready with Masstransit? I might be wrong here but I couldn't see any way to consume a message with Masstransit when I'm ready, rather just have a consumer class that gets called when we do have a message to consume? Is there a way to basically not consume anything until requested? Similar to how...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567628", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: sort results with method defined in rails model I have a users table and a contracts table and there relationship is as below: user.rb has_many :contracts def current_year_contracts total = 0 contracts.where('entry_date >= ?', Date.current.beginning_of_year).each do |entry| total += entry.total_number.to_f en...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567630", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: COM interop control causes "Out of memory" error I have written a COM interop control for CefSharp using VB.NET which I consume in VB6 as an OCX. Sometimes, it works, but then again sometimes when then control is shown, VB6 can not load it and tells me "Out of memory". The form log file says "Line 21: Control Winfor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567632", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Apache AGE - MATCH clause and direction of edges I noticed an unusual aspect while experimenting with MATCH clause. Here I have created a directed edge between the vertices as SELECT * FROM cypher('university_graph', $$ CREATE ((n: Student {name : "John", bornIn : "USA"})-[e: StudiesAt {since : 2020}]->(d: Departme...
{ "language": "en", "url": "https://stackoverflow.com/questions/75567633", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }