text
string
meta
dict
Q: 'Missing data for not-null field' when attempting a join -- what could be causing this? We have two views that form part of a dbt pipeline. The first looks something like this: table_a ( product_id varchar, first_flag boolean, second_flag boolean ) The second looks like this: table_b ( transport_id v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630926", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Style textContent of the parentElement I am new to JavaScript and have a problem with changing the color of the textContent of buttons with the nextElementSibling property. I thought e.target.childNodes.nextElementSibling.textContent.style.color = white would work but it didn't. I am using it like this: A: You u...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630929", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Custom logging messages hard to distinguish from other logcat messages In Android Studio's logcat window it is hard to distinguish my custom log messages (Log.d, Log.e...) from the other log messages. This still happens when setting package:mine. See the image below: A: Best solution is to use Timber. In MainAppli...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630936", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the right way to install React + Typescript? I have been using React with traditional javascript for sometime now and there has been no issue at all. But recently I'm trying to learn React + Typescript but it's not working at all. I created the React + Typescript app with npx create-react-app my-app --templa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630940", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: MongoDB Sink Connector with AWS Glue Schema Registry How to use AWS Glue schema registry with MongoDB sink and source connectors? I have the following config connector.class=com.mongodb.kafka.connect.MongoSinkConnector document.id.strategy.overwrite.existing=false writemodel.strategy=com.mongodb.kafka.connect.sink.w...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630942", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: CWE-501 Error adding Exception message to springboot Model object I can't post the code as it's on my work computer and we are not allowed, but I will explain the best I can. In my controller, I am checking a UserId obtained from another internal rest service. If the id is invalid/not found, a custom advice exceptio...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630943", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: 2 VNETs vs. 1 VNET with 2 subnets? In Azure I can create * *one VNET and 2 subnets in it or *I can create two VNETs, each with one subnet in it. What are the practical consequences/differences? E.g in terms of routing, isolation...? A: Well, it all depends on what you want to deploy, what your goal is. So I can...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630946", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: removing header and indexes when iterating the groups in pandas Need to remove header for each group while iterating. I have requirement to group by few column and dataframe value for that group import pandas as pd df=pd.read_excel('D:\\Python-pandas-numpy-mat_learn\\panda-learn\\test.xlsx') #column in dataframes ar...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630947", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why does Handlebars think that my list is empty? Program is written in c# .net string mySource = @"<table> <tr> <th>File Name</th> <th>Error</th> <th>Size</th> <th>Date</th> <th>Testi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630948", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Angular 14 Unit Testing -- Karma Runner works locally, fails in Azure Pipeline. (Possible Source Map issue?) When running Angular Karma tests (with Jasmine) locally, the tests pass as expected. However, when I try to run the tests from within an Azure Pipeline, they're failing. It is an Angular 14 project My current...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630949", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Saving Get-ComputerInfo into a variable Hi I'm new to PowerShell and I am trying to use Get-ComputerInfo and split the information of the data into multiple files (for example one file with all the bios content, one with OS content, and etc). I tried doing the following $var=Get-ComputerInfo and I was assuming that...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630951", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create a new column by combining two mutually exclusive columns within the same dataset, using R? I have the following data-set as an example, where I want to Create column C. Columns A and B are always mutually exclusive, except for dual NAs. |Unique IQ Column A Column B Column C (A+B...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630956", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Load file into AWS server using scp I'm trying to copy a file from a local mac directory to a Linux aws server using scp and i keep getting the error: Permission denied (publickey,gssapi-keyex,gssapi-with-mic when I run the following command? scp -i /path/to/kp/keypair.pem /Documents/to/upload/tourmaline.zip ec2-x-x...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630957", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to run another cell in Colab? In Colab, people can quickly run random cells manually by clicking the run buttons to the left of each cell, or they can run all the cells by using the command in the drop-down menu. But I don't know if there is a solution to run other cells by the code in one particular cell, e.g.,...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630959", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "2" }
Q: How to show different color of marker on marker chart using AnyChart library I am making a financial chart I have two charts on the same page and I have a problem with displaying markers, I need to display each marker according to the color that is saved in the database, I have a dataset with some values and char fi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630965", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Can Google flogger be configured to omit CONTEXT from being included in log We are using the rate limiting support in FluentLogger and this is resulting in spurious output being included with our log messages messages have been saved destined for corp [CONTEXT ratelimit_period="30 SECONDS [skipped: 6]" ] Is there ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630967", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: numba prints do not show (until I interrupt the ipynb kernel), buffering How do I set something like pythonunbuffered=1 but for numba? It works fine in terminal, lines get printed sequentially as expected, but in my ipynb it prints many lines at once always. @numba.njit def test_print(): for i in range(100000): ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630968", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Even After using php } ?>but still Parse error: Unmatched '}'getting this error Hi I want the help in this parsing error for VS Code where in code i wrote <?php include"config.php"; $sql = "SELECT * FROM user ORDER BY user_id DESC"; $result = mysqli_query($conn,$sql) or die("Query Failed"); ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630970", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: OpenRewrite: The contents of a quark are unknown, so the charset is unknown I want to execute the migration of my source code from Java8 to Jave11 using the OpenRewrite plugin and the recipe of the following link:https://docs.openrewrite.org/reference/recipes/java/migrate/java8tojava11. As the guide suggests, I have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630973", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I map path from API into the React Router? I am planning to map the path that I got from the API. It will be set into the routeList. Then I want to map into one of the children for my "/app" route. const [routeList, setRouteList] = useState([]); useEffect(() => { Promise.all([ axios.get("http://localho...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630974", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Configuring https on the localhost server on MacOS I am new to python and am experimenting with some tutorials on my computer (MacPowerbook M1 running Venture 13.2.1) . In one of them I am requested to connect via https to the python flask https server on localhost. This fails and I get an HTTP BAD_REQUEST (400) er...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630976", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Bind or merge rows by duplicate dates in R I have a data frame with 6 columns like this. You can see that the dates are duplicates. How can I merge the rows and keep the information that's in the following columns ? date 1 2 3 4 5 2019-01-01 NA 1966439. NA NA NA 2019-01-01 NA NA ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630977", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When using ExtJS Theming System, Why do I need to run sencha app build while Running sencha app watch? I noticed that updating scss files while sencha app watch is running does not update the output CSS files correctly. I tried changing the parameters on the mixin I am using but the CSS output file's Modified Date i...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630978", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Webpack 5 Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema I am doing a course on developing creative website from scratch without using any frameworks and following the instructors code and getting the following error. The instructor is using...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630980", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Trying to create a table of odds for a craps game ### Play the game many times win=0; tie=0; N=10^4 for(j in 1:N){ points=sum(sample(1:6, 2, replace=T)) if(points==7 | points==11){win=win+1 x = paste("natural winner",points); } else if(points==2 | points==3 | points==12){ x = paste("natural loser",poin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630981", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Update iOS Distribution Certificate I was hoping someone could make it kindergarten to me as to how to update my iOS Distribution Certificate for my mobile app hosted by a third party. I only have an old iPhone and I am clueless as to what to do. Can I update the certificate using my Windows laptop even though it's ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630983", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Loop through a main directory and all subs and copy all new/updated files and folders I have code that loops through a directory looking for new/updated files to copy and move to a destination directory. The problem is this only 'searches' 2 sub directories in and stops. Need something that is dynamic and will conti...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630984", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Excel VBA reference to ACEDAO.DLL no longer working after MS Office update I've got an VBA module in Excel that uses ACEADO.DLL ("Microsoft Office 16.0 Access database engine Object Library") to dynamically pull and push data from a Microsoft Access database. I'm aware that this is an fairly obsolete API, but the am...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630985", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: When I add a new subdirectory in CMake, the bug occurs I have project that builds with CMake. Here is project hierarchy: Project Dependencies glfw Source CMakeList.txt main.cpp CMakeList.txt Then I try to add GLFW to my project and my CMakeList file looks like: cmake_minimum_required(VERS...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630986", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: fastify-multer typescript , cant access request.file this is my first time using fastify with typescript, sequelize as ORM and fastify-multer, when i upload an image everything is ok but i cant access the file detail from request.file because typescript tells me request.file is undefined { "name": "server", "ver...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630988", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to select most frequent value after group by I'm trying to categorize a certain entity, let's say, a User, with the most frequent value associated in a table to this entity, let's say, an Emotion. Thus,a User will be categorized as "Sad" when he logs mostly the value "Sad", or "Happy" when he logs mostly the val...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630989", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: convert wide table to long in R I have a dataset that look something like this: groupA <- rbinom(n=50,size=1,prob=0.5) groupB <- rbinom(n=50,size=1,prob=0.5) groupC <- rbinom(n=50,size=1,prob=0.5) groupD <- rbinom(n=50,size=1,prob=0.5) dtTest <- cbind(groupA, groupB, groupC, groupD) where 0 means "no" and 1 means "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630990", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where is Java Developer Kit (JDK11) source code for openjdk 11.0.16 (when there is no src.zip file)? The Java JDK used to have src.zip included in some distributions. I checked my JDK 11 directory and it did not have the src.zip file. I can't recall where I downloaded it from, or if I used yum install jdk11 or somet...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630991", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Adding Image To freeCodeCamp Project I fairly started coding. I have a project on freeCodeCamp where I am required to add an image to my website. Normally I would add the image to project file and use its path as a link for the image. There is no room for this on my project. How do I add the image? I have tried usin...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630994", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to make custom row and column labels in displot I have the following code using the seaborn library in python that plots a grid of histograms from data from within the seaborn library: import pandas as pd import matplotlib.pyplot as plt import seaborn as sns, numpy as np from pylab import * penguins = sns.load_...
{ "language": "en", "url": "https://stackoverflow.com/questions/75630999", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Magento 2 - Downloadable product - Stop Versioning of file uploads We have opened our store to become a multi-vendor marketplace. The vendors mostly sell downloadable products The products are uploaded in zip files so that if the zip is updated then the files can be re-downloaded and the updated contents will be rec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631002", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What is the location of the MODULE_PATHNAME in Apache Age? While $libdir is commonly used when creating PostgreSQL extensions, Apache Age utilizes the MODULE_PATHNAME variable to store and retrieve compiled C code. CREATE FUNCTION ag_catalog.create_graph(graph_name name) RETURNS void LANGUAGE c AS 'MODULE_PATHNAME';...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631003", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm getting the error Exception: The parameters (number[]) don't match the method signature for SpreadsheetApp.Range.setValues, does anyone know why? do { //Get all the pages of comments in case the doc has more than 100 callArguments['pageToken'] = pageToken; //This is where the magic happens! docCommen...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631008", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Passing value to view template in php I know that my question is elementary in php, but I can't find any resource to solve it. For sake of simplicity, I brief my problem with a simple code. I want to separate php and html files. So I creates a file named: view.php <?php global $var; ?> <html> <body> <p> Variable v...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631010", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Flutter - Unable to use setState() in TextButton Why cannot I use setState in any of my buttons in flutter? This is my code of the button: TextButton( style: TextButton.styleFrom( fixedSize: Size( MediaQuery.of(context)...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631011", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: EPIC FHIR ServiceRequest SNOMED Token Construction EPIC FHIR serviceRequest API requires category be included in the call. They describe setting category: "Set category to the following token construction: system | code, where: system: “http://snomed.info/sct” code: “307835004” The code SCTID: 307835004 represents ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631012", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to generate karma.conf in Angular I am practicing CI/CD and started to configure karma.conf. However, I found that Angular projects no longer have karma.conf, and the official recommendation "ng generate config karma" doesn't work and gives me the following error: "Error: Unknown argument: karma". How can I r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631014", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How can I change the default console host application for Windows? I have set the default console host application to Windows Terminal using developers section in window settings. However, sometimes I want to run my console applications (currently using c# and dotnet 7) in other hosts, such as cmd.exe or PowerShell....
{ "language": "en", "url": "https://stackoverflow.com/questions/75631016", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: keeps me in looping in number 1 even if i gave it a number not string [enter image description here] (https://i.stack.imgur.com/MTPse.png) Keeps me on loop even if i try to enter an integer to go to another step
{ "language": "en", "url": "https://stackoverflow.com/questions/75631019", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: Excel: Formatting text into a recognisable date I have a .csv file with many rows where the date is formatted as you see in column A. I manually copied and then changed the date to how I want it to be in column B where it's also recognised by Excel as a date (and not text). My question is does anyone know how I can ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631022", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why has my box-shadow disappeared and my logo started looking like it does? I've been working on my website and changing some CSS-code. When I finally got some divs to be placed correctly my header-div suddenly looked weird. It is supposed to have a logo in full size as a square and my header-div is supposed to have...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631025", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Immediately render data from fetch with React I'm having troubles rendering data from a fetch request. I have a getUser function that calls useState(setUsers) and I would like to map that state to render a list of the data I've fetched. Obviously it doesn't work and I don't if it's because when I call { users.ma...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631026", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS VPN connection from customer`s checkpoint to AWS I already searched through the Internet and read a lot of manuals but I cannot get a grip on the topic. I want to create a VPN connection from my customers checkpoint to my server that is located within my AWS VPC. The connection should be between, I guess it is a...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631027", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How do I prevent letters that are in the correct place being marked as yellow in other places in my Wordle Clone For a class, im working on a Wordle clone. The last kink in my program is that when ever there is a correct letter in its place, if that same letter appears in anyother place it will be marked yellow. For...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631032", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: This web is not avaible Hello I have problem about this web:socialclub.rockstargames.com any other websites works normaly but this not. It says something about proxy servers and I do not understand them well. I have been searching for answears for about 2 hours I tried almost everything that I found but nothing wor...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631033", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Color contrast using relativ luminance, where does the 0.05 come from I am currently calculating the contrast of two foreground colors and a background color to programmatically decide if the foreground color should be white or black. The formula for the contrast ratio is defined as (L1 + 0.05) / (L2 + 0.05) Where...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631035", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: AWS CLI Segmentation Fault When I try to run any AWS CLI command in our server- even with just a simple 'aws s3 ls' command - I keep getting 'segmentation fault'. I know that our server was updated two weeks ago, but last week I was stil able to execute AWS CLI commands with no issue. Would this be something that th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631036", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: I'm stuck with Backpropagation in my own CNN Please help me, my CNN don`t predict hard written numbers from MNIST dataset, where is my mistake? I'm writing my own CNN in C# without any external libraries because I want to understand how neural networks work. But now I am faced with the problem that during training, ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631037", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: unity job system can not use classes i am triying to use the unity job system with marching cubes. here is my job: private struct UpdateChunksJob : IJobParallelFor { public NativeQueue<NativeChunk> queue; public void Execute(int i) { queue.Dequeue().Chunk.UpdateChunk(...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631038", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: K6 replacing Content-Type header? Hi I am having a k6 script. The k6 script do a post request . in the post request i am also setting the body and header . however the headers are ignored by k6 and k6 adding a different header value. please see the code import http from 'k6/http'; export const payload = JSON.string...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631039", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: What buildsystem design techniques are there (using CMake) to test functionality that is internal to my shared library? There is a possibility to hide some symbols in a shared library if they are not considered to be called from outside. But while the symbols are not required for the client of the library, they may ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631040", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Promise never resolves - only get another promise I'm attempting to make a call to an outside service. The call seems to go through successfully, but all I get returned is a Promise, and if I access a property, it returns another Promise. Would appreciate another set of eyes to see what I'm doing wrong (I'm a Java d...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631041", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: I cant get my automation testcase to run past the "first" line I'm creating an automated test suite for my job and currently I can't get it to run past the first line i.e "driver.findElement(By.id("username")).sendKeys("example"); I decided to try google to see if i could make any headway and this is the code i sta...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631043", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: DiscordAPIError: Interaction has already been acknowledged. unhandledRejection hi I don't know why I get this error enter image description here IDK
{ "language": "en", "url": "https://stackoverflow.com/questions/75631048", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to create a shiny app to process data locally I'm trying to build a shiny app that allows users to process large datasets on their local machines. The idea is that the shiny app acts as a MATLAB app in that it's just a friendly GUI to cover the analysis. This will allow folks new to my field to process their dat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631051", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: UITextView caretRect giving infinite for minX and maxX? I'm trying to track where the cursor is in my text view as the user types. It works fine until I get to the second line in the text view and then it's giving me infinite for minX and maxX. Here is the code: if let cursorPosition = messageTextView.selectedTextRa...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631054", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Where does Package.Name come from? I am very new to Python. In the add_packages method below, is {package.name] just a variable name for the key? I guess I do not understand where we get package.name from? class Repository: def __init__(self): self.packages = {} def add_package(self, package): self...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631055", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: how to build image upload system and how to store image in database with node js? how to implement image upload system with node js. How to save image on database I try to useing firebase storage..it is better for image upload system? A: While you could encode the binary data of an image and store it in a database....
{ "language": "en", "url": "https://stackoverflow.com/questions/75631057", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Why does React's onContextMenu work in Chrome on disabled elements? I found something very strange. In all major browsers, context menu event doesn't work on disabled elements, so this wouldn't print to console: <button type="button" onContextMenu="console.log(123)" disabled > Click me </button> ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631064", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "4" }
Q: Combine known keys external to nested array as objects of that array I have an input JSON that looks like this: [ { "some_key": "x", "foo_id": 123, "foo_name": "bar_1", "all_foo": [ { "foo_id": 456, "foo_name": "bar_2" } ] } ] The requirement is to collapse foo_id...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631065", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: google forms data collection I want to capture all the data in the forms quiz. Currently as the default form if a user completes a question and does not submit the data does not get logged into the corresponding sheets page. Is there anyway of capturing the data and populating sheets as the form jumps from page brea...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631068", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to create file object using filename in Box I need to rename a file in Box using the Python SDK API. I know the filename, but I guess to rename it I need a file object. How do I create a file object when all I have is the name of the file? The file is located in the root folder.
{ "language": "en", "url": "https://stackoverflow.com/questions/75631069", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to start Jupyter? I downloaded Jupyter onto my Windows 11 laptop using the command pip install jupyter. That appeared to work OK, but when I tried starting it from the Windows command line, it didn't seem to know where to find it: Installing collected packages: jupyter Successfully installed jupyter-1.0.0 C:\...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631070", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: json filter in creating a jinja2 template am trying to create my 1st jinja2 template that extracts a field from a json string as am trying to create DHCP reserveration file. here is an example inventory feed. I would like to select the value from the mac address to use as a value as jinja2 value for a field for the ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631071", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Warning: move_uploaded_file(): The second argument to copy() function cannot be a directory in /Applications/XAMPP/xamppfiles/htdocs/ I'm trying to upload 3 files in PHP and I get two warnings: Warning: move_uploaded_file(): The second argument to copy() function cannot be a directory in /Applications/XAMPP/xamppfi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631073", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: Cannot create account in Selenium with Headless Chrome Driver I am trying to create a user with Selenium because I don't have access to the database from my server. I get the message "PASS" but the user is never created so I thing it might be something related to headless. Is there any way to use clicks and filling ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631074", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Why does this Athena query return fewer results with a less restrictive search? I have a table where the column minute is a string. SELECT "minute", CAST("minute" AS INTEGER), CAST("minute" AS INTEGER) = 4 FROM "db"."table" WHERE "year" = '2023' AND "month" = '03' AND "day" = '03' AND "hour" = '03' AND "minute" ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631077", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Having clause with aggregate and NOT IN doesn't apply both as expected I'm trying to select trees from the following sample that have had the Vigor value 6,8 or 9 for the past three years straight. So, in the below grid I would want all rows with TreeID 2 and 3, but not any with TreeID 1. PlotID ObsYear TreeID Vi...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631083", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-3" }
Q: How to create stacked bar chart with given dataframe shape? I have a dataframe and would like to create a stacked bar chart by having date on the x-axis and quantity on the y-axis. This is the current dataframe: date | product_group | quantity 2021-10-01 | A | 10 2021-10-01 | C | 10 202...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631084", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-4" }
Q: PyQt5 Validation on Focus change I am writing a form using PyQt5. I want the validation to work when the user switches inputs, if it is invalid it shows an error message and the focus is on the invalid textbox. I've tried using the "editingFinished" to detect focus switching, but it doesn't work since if the validat...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631085", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: React createRef current is null Here I got this little code: import '../styles/Navbar.css'; import * as React from 'react'; import logo from '../assets/logo.webp'; class Navbar extends React.Component { constructor(props) { super(props); this.ref1 = React.createRe...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631087", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Should I use OOP for a worlde game clone? If yes what kind of OOP? I'm trying to make a Wordle game in python. First I created it with no classes at all, only lists, tuples, dicts, variables. And... it works, but as I'm trying to add more features to it (calculating the points each person gets for guessing) it's bec...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631089", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Sql Query to pull only one record from table 'Academic' based on condition I have a table like below id | status | EffDate | 1 | A | 12-Dec-2020 | 1 | T | 17-Dec-2022 | I need to pull the data from the above table based on a condition as below: * *Get the record if the status is in ('A','W'), *get...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631090", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Does type II sum of squares gives a different r2, slope, and intercept of linear regression? if so, the R package car does not provides the results of r2, slope and intercept. How to extract them? df <- data.frame(x = c(1, 2, 3, 4, 5), y = c(2, 4, 6, 8, 10.5)) model <- lm(y~x, data = df) Anova(mod...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631092", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to invoke static method on internal static class I have following code: AvroSerializerSettings settings = new AvroSerializerSettings { Resolver = new AvroPublicMemberContractResolver() }; var schemaWriter = AvroSerializer.Create<ProductOrderConfirmation>(settings).WriterSchema; var schema = schemaWriter.ToStr...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631094", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: How to get value of input field dynamically which is added by an Ajax call? I have a document which has two parts that are dynamically filled in by Ajax calls. In that call are a couple of input fields. I must store the contents of those fields in a database. The problem is that I can't get the values from the input...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631095", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Unable to set state in useEffect hook React I have a navbar in my project where I am displaying the name of the user currently logged in and also has a logout button. When I try to login the page works fine and the jwt auth-token is stored in the local storage of the browser to maintain session. But after I have log...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631096", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Not getting the right result in base64 string when I try to convert base64 encoded string EC Public Key generated on iOS to Java PublicKey As the title suggests I am trying to convert base64 encoded string (EC Public Key) generated on IOS device(Swift) to Java PublicKey which will be used to calculate a Shared Secre...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631098", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: errors in submitting data into database in php laravel I'm trying to submit data into the database using laravel. I got an error Controller does not exist when it clearly exist. Here is my code RequestInsertController.php <?php namespace App\Http\Controllers; use Illuminate\Http\Request; use DB; use App\Http\Co...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631100", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-2" }
Q: AAD B2C: Returning value: [] when trying to filter by identities I'm using Microsoft AAD B2C with User Flow. I have a user that returns those identities objects: "identities": [ { "signInType": "phoneNumber", "issuer": "ourtenant.onmicrosoft.com", "...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631104", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Shell script to get file count of directories I am trying to create a shell script that will get the count of files in a static directory, then display the Directory and the number of files it contains in a table. Here is the setup I have so far. File containing static paths of directories. The file is called dirs.t...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631105", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Electron build of Vue app doesn't display material icons Our Vue app uses vuetify as its component library which by default uses material design icons. The only thing that needs to be done for the icons to work correctly is to import the css file which we do inside of the vuetify.js file: import Vue from "vue"; impo...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631106", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PowerShell command Get-Acl.Access shows different permissions than Active Directory I am working on listing out the users and groups who have access to a shared folder on our networking using PowerShell and Active directory but I am getting different results. When I run the command (Get-Acl -Path "D:\ADMIN_FOLDER")....
{ "language": "en", "url": "https://stackoverflow.com/questions/75631107", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: How to get UITextView number of lines using TextKit 2? Since iOS 16, TextKit 2 has replaced TextKit 1 for UITextView which means layoutManager is out and textLayoutManager is in. However, a number of the properties from the old are not in the new. How can I calculate the number of lines in a UITextView using TextKit...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631110", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Android Studio after update Error: could not open `C:\Program Files\Android\Android Studio\jre\lib\jvm.cfg' After updating Android Studio to Electric Eel version, I try to build an apk from a Flutter project it gives the message Error: could not open `C:\Program Files\Android\Android Studio\jre\lib\jvm.cfg' I notic...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631113", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: PySpark and pyArrow - Unsupported type in conversion to Arrow - Array of Struct I use Arrow optimization in pySpark in order to make faster data transfer between Python and JVM. I add the corresponding param to my Spark session. app_name = "App" spark_conf = { # some other params 'spark.sql.execution.arro...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631117", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: C# Microsoft.Web.WebView2.WinForms not remember answers to access to geolocation After loading the page (with the openstreet map), WebView2 asks for geolocation permission every time it is started (I do not clear WebView2 cookies - but I don't set anything either for cookies - is that wrong?). How to set C# Microsof...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631118", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Powershell Foreach -Parallel not running in parallel I want to test for the existence of a file path on many computers, using SMB. Many of these computers will be offline, and it takes several seconds for the SMB request to time out, so I want to run this command in parallel. Foreach -parallel, however, does not see...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631120", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Formatting a signature card in HTML with an image I am trying to place an image next to my signature line details. However, when I use the code below, the last two lines of the text are aligned under the signature. How can I modify the code? img { width: 100px; border-radius: 50px; float: left; margin-r...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631121", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }
Q: Handling SAML 2.0 Responses inServer-Side ASP .NET Core Blazor I am building a demo of SAML 2.0 Authentication in ASP .NET Core Blazor using Jitbit's simple SAML 2.0 Client Library. I simply copied Saml.cs into my project folder. I am using Duo's SSO API for generic SAML 2.0 service providers, which only performs au...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631123", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Getting request timeout error in python request I am sending this request but getting timeout. import requests value = 'Hi' token = ' ' id = '' tele = (f'https://api.telegram.org/bot/{token}/sendMessage?chat_id={id}&text={value}') req=requests.post(tele) A: You need to pass valid token id in order to conn...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631124", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-6" }
Q: UnsupportedOperationException while trying to add element to the list I've made an ArrayList from the result array and i'm wondering why i can't add an element to it Enter array size 2 Enter a [0] element 3 Enter a [1] element 1 13Exception in thread "main" java.lang.UnsupportedOperationException at java.base/ja...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631125", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "1" }
Q: Validating values I have a list of values stored, I need to compare each value with each column cell in a data frame, if its found then place a value of "YES" in a Key column: dep_list = df_epl[['Values']].copy() dep_list = dep_list.dropna() dep_list = dep_list.drop_duplicates() dlist = dep_list['Values'].tolist() ...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631126", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: Is there any way to edit an object in the global environment without knowing its name? There is an object that already exists in my global environment, let's call it results. I have the following function I wrote that I want to add a value to results: assign.value <- function(object, ...){ object$newfield <- 1 } Th...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631127", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "-1" }
Q: How to use gtsummary by group in R I want to apply gtsummary by each group gr. group_by does not work here. How to do it? library(tidyverse) library(gtsummary) df <- tibble(gr = c('a', 'a', 'a', 'a', 'b', 'b', 'b', 'b'), tr = c('pre', 'pos', 'pre', 'pos', 'pre', 'pos', 'pre', 'pos'), y = s...
{ "language": "en", "url": "https://stackoverflow.com/questions/75631129", "timestamp": "2023-03-29T00:00:00", "source": "stackexchange", "question_score": "0" }