Latest Questions

how to customize tooltip width in bootstrap

I have a bootstrap tooltip like the following. <i class="fas fa-question-circle" style="color: #f44336; cursor: pointer;" data-toggle="tooltip" data-plac

Rust generic value memory store implementation

I am working on an API for an object store, and I am struggling to figure out a way to implement it in Rust. It is a bit frustrating, since I have a good idea o

Best way to update/delete records in db based on Apache Kafka topic message

I have an application publishing messages on a Kafka Topic. I've used Confluent's Snow Sync to synchronize the topic with a Snowflake table so when I publish a

Generate JWT Token for logged in user?

I have a razor pages app [username and password auth] and a WebAPI app that uses JWT auth. Both the services use the same user table. After user proceeds to che

How to call substring() with variables?

How to call the substring() function with variables for the start & count parameters? Below example code is not working. DO $$ declare v_idx numeric(3)

Visual Studio fetches data but not display

I've read all the related answers on stackoverflow. Reportviewer never fills up. There is data but it does not show

Refresh recoil atom with async fetch, after it has been updated locally?

I have an application where I show a set of invites, each invite has a set of answers connected, that the users can update, I have the following recoil state: e

Optional calls in GoMock

I want to use GoMock to test some code, without coupling my tests too tightly to the actual implementation of the thing under test. But GoMock seems to require

Symfony 5 - A problem with the form to registrate a credit card with MangoPay

I'm trying to register a credit card with MangoPay. I've installed the mangopay/php-sdk-v2 package. To register a credit card, it needs three steps. Create a to

I am getting an error in my npm when trying to install expo-cli globally

When I try to install npm globally, using the command npm install -g expo-cli I am getting an error that says npm install -g expo-cli npm ERR! code ERR_OSSL_U

Change object data type to float data type

I read the .cvs file, which dataframe is named "df". But because I want to focus in one row I renamed my dataframe to "br". My problem is that I'm trying to con

Running website via Docker on macOS loading images but not on server

I run a website via Docker as I develop on macOS and macOS is set up with a case-insensitive filesystem by default. When I run the site, I was rendering an imag

How to Merge two datasets with different indexes but one common ID factor?

I am working with two distinct datasets: one regarding COVID-19 statistics and one with demographic characteristics of a city. The covid19 one, namely covid.df

Pytorch transfer learning accuracy and lossess not improving. Resnet 50 and Cifar-10

I have been trying everything to fix this issue however my results are still the same, my validation accuracy, train_loss, val_loss are not improving. I have no

Assigning empty list

I don't really know how I stumbled upon this, and I don't know what to think about it, but apparently [] = [] is a legal operation in python, so is [] = '', but

Sass / Dartsass-rails Error: Can't find style sheet to import / Undefined mixin

Rails 7, dartsass-rails, cssbundling-rails, propshaft, importmaps App structure app/assets/stylesheets/ /components _index.scss ///other flies /global _in

Why my Facebook ads dashboard unable to track the app installs?

I have been running an app install campaign on Facebook and it was giving me good results at less CPIs and the dashboard was tracking all the installs data prop

I can't connect watcher to openstack

I have the following scenario: server: Ubuntu 20.04.3 LTS openstack installed with devstack watcher 2.2.0 Every services seem to be working and i can see the w

Path always returning false when trying to manually put a path with Rust

I've been learning Rust, and I'm having a bit of a problem with this code. let path = Path::new(&return_path); // return path is the user input println!("{

Troubles creating a Zoom Meeting SDK session on android with generated JWT token, always leads to 2003 error

Maybe someone has had the same problems and can help us, or we find a solution together and it can help other developers in the future. Which Android Video SDK

Problem Running Azure Durable Function in parallel

I am trying to run each API call to my Azure Durable Function in parallel. It works fine with executing just a single call, but when I get multiple calls at onc

What types of RRs does the mDNS protocol support?

I am studying the mDNS protocol by analyzing the traffic in the local network and trying to send queries with Avahi. It seems that the only RR types supported b

Cloudfront passes request to incorrect origin if AllViewer origin policy is enabled

I created a cloudfront distribution with the below details: Origin1 -> S3Bucket Origin2 -> APIGateway endpoint with base /Prod appended DefaultBehavior -&

Google Pay resolving yellow path provisioning caching issue

I'm implementing Google Pay in a banking app and I've run into an issue implementing the "Continue yellow path through push provisioning" test scenario, if you

Guice-persist: inconsistent data from EntityManagers

I have a problem with the persistence in a java web application. We use Ninjaframework (6.8.1) which uses Guice as dependency injection framework and for persis

.NetCore 3.1 Linq to SQL : List within query

Earlier .NetCore versions allowed several client evaluation strategies, but starting in .NetCore 3.1 stricter rules require updates of badly written queries. Co

How to send a message in a newly created discord channel

What im trying to do is make a command that creates a new channel. The problem is that the channel doesnt create and gives an error. newChannel = client.create_

How to stop livewire from updating input when using alpine.js

So i'm using livewire and alpine.js, I am trying to stop the client from contacting the server so much when filling in input boxes (i already know you can use m

It keeps displaying the last data

I'm trying to let user to change the phone number of specific company user entered and displays the new information to user Currently, when I click the change b