Latest Questions

Exporting Dependabot as JSON

Anyone know how one can export Dependabot findings in GitHub as JSON? I've seen this done before, however can't seem to find anything online about it.

Vertical Media Queries Not Working (Resize Elements Based on Height of Screen) -- Viewport issue?

I'm working on a web application that's meant to be used exclusively on phones (of various sizes). The application includes various buttons that I resize based

I'm trying to use the Arduino serial monitor to receive input, and do something if it is a certain integer

I'm trying to make a simple program to turn a laser on and off. It was working fine until I tried to be able to make it blink by inputting a 2 to the serial mon

Issue with running Tidyverse

Hi the error message I get when I use library(tidyverse) is: Error: package or namespace load failed for ‘tidyverse’ in loadNamespace(j <- i[[1L]

Efficient way to replace a substring in entire project

Problem: Imagine I have a very large code base with millions of lines that has hardcoded SQL queries. For Example: String AA_Table_Query = "Select AA_Column_1,

Coordinate overlapping components to scale together

Attempting to create a higher-order component with two components that scale together. The higher-order component is set up as so: <> <Component 1/

Why for in loop returns string instead of my object? [duplicate]

i have nested object: var obj = { nestobj1:{ title: "some 1 title", text: "some text" }, nestobj2:{ title

React Native WebView - Can't access to camera with Expo

I am trying to create a WebView that accesses the camera while the session. In Android - the WebView can't find the camera and throw an error. In IOS - the WebV

If I set auto_id=true, then I insert data into milvus concurrently. Will the id in Milvus be repeated?

If I set auto_id=true, then I insert data into milvus concurrently. Will the id in Milvus be repeated? I am using Milvus2.0.

krbtgt account - RC4 Encryption Type

I was running running klist on my machine I can see 2 (TGT?) tickets with: Server: krbtgt/DOMAIN.COM @ DOMAIN.COM and KerbTicket Encryption Type: RSADSI RC4-HMA

How do I change a cell's value based on the movement of a shape (or textbox, or picture) in excel VBA

I am not trained with coding in any way, but have in the past managed to use codes I found online as part of excel or access using macros or buttons and things.

Use Angular library repository as dependency via Bitbucket

I got a problem regarding the use of an Angular library repository. Hopefully find an answer here :) I have an Angular repository which holds one single Angular

Require Azure AD Login on Linux VM

I followed setup guide from MS document: https://docs.microsoft.com/en-us/azure/active-directory/devices/howto-vm-sign-in-azure-ad-linux Everything works except

Variation: Find the object with the highest value in Javascript [duplicate]

In Finding the max value of an attribute in an array of objects there are many (great) answers that report the highest value in an array, but

How do i replicate these plots using ggplot?

plots This is what I have tried so far. The box plot is kind of close, but the other plot is way off. ggplot(data_anova, aes(x = delay, y = soa, color = age)) +

What's the retry configuration for a ServiceEntry using https?

I'm trying to setup a Service Entry to add an external API to our mesh and take advantage of some network resilience features. First, I'd like to add retries to

@firebase/firestore: Firestore (8.6.3): Could not reach Cloud Firestore backend. Backend didn't respond within 10 seconds

I am working on react-native app, i couldn't able to connect firebase with react-native. @firebase/firestore: Firestore (8.6.3): Could not reach Cloud Firestor

JFrame not "disposing" on actionperformed method

Background: I am creating a login browser page before my main UI(myGUI) page is displayed. I am using a HashMap to store the correct username and password combi

I have made this function which returns a tibble of 100 * 2. its working absolutely fine but I need to set two constants for the 1st two observations

Here's my code below. ar2 <- function(n , c ,phi1, phi2, sigma){ if( (phi2 > -1) & (phi2 < 1) & (phi1 + phi2 < 1) & (phi2 - phi1 &

How do I stop physicsbody's from falling in SpriteKit?

I am making a game in Swift using spritekit and I want 2 objects on screen, one that I move with the touchesMoved function (player) and the other to stay still

Error when using CreatedAtRoute in ASP.NET Core minimal API

I'm trying to use CreatedAtRoute in minimal API. app.MapGet("/clients/{id:int}", [EndpointName("GetClientById")] async (int id, ClientsContext db) => await

Get Syntax Error: Expected end of input but got keyword ORDER at [5:1]: in BigQuery

When I run the following I get the error Syntax Error: Expected end of input but got keyword ORDER at [5:1]: SELECT purchase_price FROM test-project-349410.cust

typescript + eslint + babel issue in expo project: lots of Parsing errors

eslint is giving me a really hard time > Parsing error: The keyword 'const' is reserved. :eslint > Parsing error: The keyword 'import' is reserved. :esli

Please explain the purpose of the bitwise or in this javascript function

I am converting a javascript function to java, and don't understand the purpose of the bitwise ors in the code below: (Math.tan(PHId)) ^ 2) - is this ensuring t

How do I update a record using the put API?

As you can see in the React Js code I am trying the Reduce one by one quantity when clicking the Delivered button. When the Click Delivered button quantity bec

Nuxt.js using Vuetify and Vite causes "__createCJSModule__(...) is not a function" error

The problem: When creating a new Nuxt.js project using Yarn as the package manager and using Vuetify and Vite as build modules I get the following error in the

Is it possible to create a tile 2x2 mosaic using Sharp Node?

Using Image Magick I was able to use montage to make this: With this code: montage -density 300 -tile 2x0 -geometry 150x150^ -gravity center -crop 150x150+0+0

lines repeat in List python

I need your help with the next problem, i need that a python recieve an string "EEEEDDSGES" and the output would by the sum of charactes that repeat in line, E

Which C/C++ data type should I use for PHI(N) calculator?

I found a source code online for calculating PHI. I made some small adjustments to the variable types, such as using an unsigned long int, however I am limited

check variable null is not in stdout_lines

I have this output: - name: list image exist on nexu debug: var: check_image_exist.stdout_lines tags: - check_image_exist ok: [workstation] =>