Latest Questions

How do i make my virtual can-slave/client responds to messages sent by the user?

me and my group are new to the Can protocol in general so if we^ve asked a dumb question i appolgise in advance. We have tried to make a connection between the

Can a Kubernetes autoscaler scale based on disk usage?

Im looking to scale my pods/nodes based on disk space. Is it possible? I see that i can scale based on cpu or memory, but how can i scale based on disk usage?

How can I force Powershell to return an array when a call only returns one object?

I'm using Powershell to set up IIS bindings on a web server, and having a problem with the following code: $serverIps = gwmi Win32_NetworkAdapterConfiguration

Ionic Capacitor FCM , android build failing

I am stuck at the below issue for quite some time and its not getting resolved, had searched across stack overflow, google, but nothing is working for me. There

Filter by Month & Year using slicer was correct for individual records but incorrect after removal of unique id

I have created a date table in Power BI called DimDate with fields, Date, Month (Month Name in Text Format), MonthNum (Month in numeric), MonthSort (Redundant f

kotlin quiz i can't color answer because don't run ContextCompat

Could you help me with the following code, I can't get it to paint the correct option green, or show the animation, of the CorrectResponse function. If I delete

Is there an easy way to access s3 via ec2 from local machine?

I want to transfer files from s3 bucket to local, but for some reason I don't have the flexibility to generate credentials for direct access. Instead I have acc

flutter change size of circle of slider

I use a slider and I want to change the size of the circle of the slider, can anyone help me, please? Slider( activeColor: MyColors.darkGrey

Powershell Script working fine in Visual Code but fails running from Terminal

I'm working on writing a script which will run from AzDo Pipeline to disable F5 WebServers. Below script works fine in Visual Code and does disable the server a

Python make newick format using dataframe with 0s and 1s

I have a dataframe like this a b c d e f g h i j k l m mut1 0 0 0 0 0 1 1 1 1 1 1 1 1 mut2 0 0 0 0 0 1 1 1 1 1 0 0 0 mut3 0 0 0 0 0 1 1 0 0 0 0 0 0

C#: Simple state machine, how to get state from database and assing it?

I am wondering how to assign a loaded state from a database to a state machine. Simple example IState interface: public interface IState { void Process(MyCl

Images Have Grey Values of True and False

I'm planning to process some images using PyCharm. However, I find a bug and start to find the reason. Finally, I find that the images have grey values of True

Pandas Pivot is not producing desired output

I my data looks like below. I am trying to pivot the dataframe such that SCHEMA NAME AND TABLE NAME are in columns and Row Count, Table Type, date created and D

Make Fread run until there's not enough bytes

So what im asking is how to make fread function loop until left with not enough bytes to look at. Is this okay? : while(fread(buffer, 512, 1, image)) == 512 );

TemplateDoesNotExist at /home/

I'm following a video tutorial but Im getting an error. The only differance is that author uses Subline Text, while i use VSCode what is causing the error? ente

Validate App check getToken for custom backend

I am planning to use Firebase App Check to verify that requests made to my backend services (including Firebase) will be from my app only. I would like to know

Printing out 3 of numbers in java

The output value is 100000 to 10 random natural numbers What should I do to print out only from the right end to the third? And if you print it out with multipl

Data written to defaults within an unwanted communications extension isn't persisted

I'm using 4 extensions within my app and use a group in combination with UserDefaults.init(suiteName:) to share settings between the extensions and the app. How

Cannot add MemberSubstitution using Bytebuddy

I'm trying to add a MemberSubstitution using ByteBuddy to intercept any access to a specific field, but when running the following code I get this error: Could

Getting TypeError: 'float' object cannot be interpreted as an integer

Code: x = np.linspace (0.0, 23.0, 22.0) y1 = "time_dostavka" y2 = "temp" fig, df = pl.subplots() df.pl(x, y1, label="time_dostavka") df.pl(x, y2, label="temp")

leading zeros in decimal integer literals are not permitted; use an 0o prefix for octal integers

I have a step in Robot Framework to check if duration > 20 minutes then failed. What to fix when the actual minute is 09 with zero ? no issue if it is 10,11.

Visual Studio 2017 - break when a variable is read

I use Visual Studio 2017 for C++ projects. I can set a data breakpoint to break when a value of the variable is changed. Is it possible to set a breakpoint when

"no main manifest attribute" in .jar Netbeans 13

I recently just started toying around with Maven in java. Time comes to test my project, it works fine in the NetBeans window, running the main class found in A

how to link two tables in the same database?

Trying to link two tables that are in one database please help with syntax

when i change the permission and restarting minifi server the file minifi.pid have the main permission

2022-05-07 01:13:43,156 WARN [main] org.apache.nifi.minifi.bootstrap.Command Failed to set permissions so that only the owner can read pid file C:\Users\arsalen

I need to verify that a variable exists in a database. Shiny in R

I have a query that gives me a dataframe. When I receive the data frame, I use this code to make some numeric variables: variables_numeric<-c("A","B","C","D"

How to hide header in mui mobile datepicke?

how to hide this block on mobile version mui datepicker?

How do you get paths of copied files from clipboard?

I need to retrieve paths of files and folders currently copied into the clipboard, is this possible in C#? So let's say I do Ctrl + C a folder. That folder will

Interrupted Time Series Analysis coincidental intervention

As part of our research we're conducted Controlled Interrupted Time Series Analysis on 35 individual case studies. In 33 instances the intervention occurs in is

App Script Array Push() in loop Optimization

I'm looking to improve my array push inside loops but I noticed that every time my function is being called (in a loop manner) and executing this lines of code,