Latest Questions

Can I create an alert in Prometheus when a value is outside of an range of previous values?

I want to monitor spring batches. To do that I have set up metrics in the source code and send them via a PushGateway to Prometheus. In Prometheus I want to set

Is there any DSL (Domain Specific Language) in order to hold contracts?

I'm very used to protobuf, and the .proto files, I think it is such an amazing way of holding contracts between applications. gRPC takes this to another level,

.NET 6 obfuscation

I'm trying to obfuscate an .exe file obtained after compiling my .NET 6 project with the "Produce a single file" option, the problem is that no obfuscator works

'No such file or directory' when connecting to MySQL Server in Google App Engine in PHP

I am trying to connect to my Google Cloud SQL instance with PHP (I am using PDO). When running my PHP file (from in the Google Cloud terminal), I receive the fo

ModuleNotFoundErrer: PySide2 installation problems

I want to run a project which invovles PySide2 using Visual Studios. I have installed it using pip install PySide2 and the installation worked. But if I want t

How independently import files in values.yaml

I'm using the prometheus stack project to implement via helm with kubernetes, but I would like to customize some rules. I'm trying to use the additionalPromethe

Add text annotations at consistent locations in facet_grid when scale = 'free_y' + ggplot2 + r

I need to annotate a set of chats in a facet grid where the y axis is scale is set to scale = 'free_y'. As the scales are very different, when I set the y posit

objective to add 2 vectors and save in 3 but the program in assembly so adds the first 4 digits

'assembly code' PUBLIC add_float add_float PROC push ebp mov ebp,esp push eax push ebx push ecx push edx

java.lang.UnsatisfiedLinkError: /opt/jdk17/lib/libawt_xawt.so: libXrender.so.1: cannot open shared object file: No such file or directory

I don't understand what went wrong with me. I'm trying to run Spigot Server Core 1.18.2, and I'm constantly having problems with this library. [19:21:50 INFO]:

Perceptron and classification task

There is data and a classification task: from sklearn.model_selection import GridSearchCV from sklearn.preprocessing import label_binarize from skle

Read DHT22 with Rust on HiFive1 rev b

Im trying to read my DHT22 weather and humidity sensor on HiFive1 rev b board, but it doesn't want to respond. I connected data line with 10k resistor to 5V Vcc

How to solve the Galaxy numeric keyboard nightmare

I've been struggling with the Samsung Galaxy numeric keyboard decimal separator nightmare. I have an Entry on which I must only accept numeric values (including

Integrate flutter web application into Nextjs web

I am trying to integrate a flutter web app into a Nextjs webpage. I have seen this question but it is not working. I also want to be able to pass a user id or s

Failed to setup dotNet certificate on mac by all means

I am trying to run the Dotnet version 6 app on macOS latest version I searched everywhere, it was always required to install the certificate although I had a va

Grok pattern to remove "ms" from log string and convert to INT

first time long time. I have this log message: 2022/05/04 09:24:08 INTERESTING UpdateStatus: active: 45 waiting: 0 connections: 91 max dbcmd queue length: 3 max

Regex How to ignore only one url type

I have a problem, where I can't allow a word + any type of url, but I want to ignore the text that contains the url hacking.com Valid: Buy Cell Phone at https

How to interpret interactions in a multinomial ordinal regression (r)

A colleague and I ran a multinomial logistic regression using the 'ordinal' package in r and I am not sure how to interpret interactions between variables with

Pinescript trade pause xx hours after wins

I want to apply a function to pause the strategy for xx hours or bars after win trade, how to do that? because my strategy is trending so there is always a peri

Laravel application on Heroku, 419 page expired when try to login/register

I set up my Laravel 8+ application on Heroku.com. Almost everything works perfectly, but when I try to register/login I got the "419 | Page Expired" error. I am

Babel doesn't ignore snapshot folder and files

I'm using the following npm build script with Babel 7; "build": "rm -rf dist && babel src/lib --out-dir dist --copy-files --no-copy-ignored", And this

Can't export SignIn from "aws-amplify/ui-react"

I am using "aws-amplify/ui-react" withAuthenticator and would like to pass a SignIn component with some custom logic. It is possible to do with "aws-amplify-rea

How to write text on top of rectangle instead of below?

I'm trying to create a rectangle with text on top, but the text shows below the rectangle. How can I make the text go to the front layer? My code so far: from t

What happens if I using 'env.process()' whenever I need it?

I'd like to have a bed cleaner only when necessary. The error does not occur as shown in the code below, but the result is not accurate. Increasing or decreasin

ImageMagick lambda layer aws SAM

I have the following template.yaml from a SAM application AWSTemplateFormatVersion: "2010-09-09" Transform: AWS::Serverless-2016-10-31 Description: > image

How to include OpenGapps in AOSP 12 build?

I am building AOSP 12 for my Pixel 3a sargo. It worked but I wanted to install Gapps on it. When I tried to flash any Gapps zip in TWRP, it said that my system

How to construct a class from a pack in C++?

I am trying to initialize a class with a pack passed as an argument to my function. Here is what I got so far: struct Vec3 { float x, y, z; }; template<

why am I getting this "Cannot find module server.js"?

I had a Traversy Media tutorial on how to learn the MERN stack that I was following. I had the first part installed on my desktop and it was working properly. o

How to create a navigation menu for existing site using HTML, CSS

I am pretty new to coding. My boss is asking me to add a navigation bar to the existing website so all the services are hidden in the Service option. Can anyone

Hasura inherited role permission inconsistency

I am trying to define two roles in Hasura: role_1: In my_table, can update: column_A and column_B role_2: In my_table, can update: column_C I want an end user t

Is there a way to display a field of a map[key-string] with value-struct, in html, in golang? [closed]

I have a datatype of map[key-string] value-struct, and I'm trying to display a field(Timing) of the struct I tried all sort of variations for