Latest Questions

Symfony rest api error with security.yaml

I'm trying to add an auth system with JWT to my REST API but since I added my system and modified my security.yaml I have those errors:

Screen space reflections bug

I try to implement screen space reflections in my graphics engine using ray marching algorithm. I've got weird results, which you can watch in the video: https:

cannot load such file -- mysql2/mysql2

I am doing the installation on m1 mac and I am stuck mysql issue. my rails server is working fine but when I run my spec then I got cannot load such file -- m

utilize Class<T extends baseClass> in a method parameter

I have a method whose signature is: <T> T fromJson(String json, Class<? extends BaseClass> extendedClass) The goal of the method is to to convert js

Configurable mapping file python

My company is consuming an API that will give us large JSON objects. The API response info may be in dif fields based on query parameters (it's a 3rd party aggr

Can i use interrupts in inline assembly

I want to use interrupts in inline asm but it is not letting me I think my app is this __asm__("movb %ah,9;" "movb %al,0x41;" "movb %bh,0x0;" "movw %cx,0x1;

Illuminate\Contracts\Container\BindingResolutionException - Target class [CommandMakeCommand] does not exist

Using Laravel 8.75 and trying to upgrade to php 8.1 in composer.json to "php": "^8.1" and receive the error of Illuminate\Contracts\Container\BindingResolutionE

How to remove specific service plan from O365 license using powershell

I have the following script to apply a DESKLESS license Connect-MsolService Import-Csv 'C:\users.CSV' | foreach {Set-MsolUser -UserPrincipalName $_.EmailAdress

Find position of all unique elements in array

let arrr = [7, 9, 30, 40, 50, 8, 1, 2, 3, 40, 90,2, 88,1]; output=[0, 1, 2, 3, 4, 5, 6, 7, 8 ,10, 12 ] I saved this code at javascript playgroun

Digitalocean basic droplet for wordpress website showing database error every now and then

I have created a basic 5$ droplet with digital ocean to host a wordpress website. After installing the wordpress as soon a i login to the dashboard and start wo

The while loop sometimes is infinite

Sub Copy_Worksheets_Columns_Rows_to_ALL_D2() 'PURPOSE: To loop through all Excel files in a user specified folder and perform a set task on them 'Task:

How to work with Ukrainian (or Russian) letters in C language?

Good day to all)) The task is as follows: "Enter the entered Ukrainian (or Russian) sentences into a singly linked list organized as a queue (only addresses sho

How can I do so that policies are not attached when I want

I have a problem I need groups to be created and policies attached to those groups but I also need that if the variable policy_name is equal to "" he does not b

Flutter custom ButtonNavigationBar

How can I customize UI design like the following in flutter? Sample Image

Disable or hide EasyAdmin crud search bar

I have developped an online learning website with EasyAdmin as backend. Everything works fine, but I'd like to hide or disable the search bar on top of the crud

The argument type 'Object?' can't be assigned to the parameter type 'List<Siswa>'

I have a two error for this Flutter apps. The argument type 'Object?' can't be assigned to the parameter type 'List'. The property 'length' can't be uncondit

Removing duplicates from response

I am looking to try and remove duplicate timestamps for when I scrape the following site for data on BTC. I want to remove the duplicates after every time reque

How to get recently added document from SharePoint Online document library in SPFx Extension?

I have created an SPFx Extension (Application Customizer). I will need a link to the recently added document under the SharePoint document library in the extens

How can I add custom metadata at runtime to document(s) created from a template

I am using composite templates to create an envelope. Every template will only have one document. I need to individually process every document that comes back

Tomcat 404 error after swapped META-INF/context.xml file

I have Tomcat 8 installed on CentOS 7 x64 I had it set up correctly so I could go to Tomcat's manager app. I then swapped /META-INF/context.xml to a different c

how can i change a RadioListTile button selection state after it has been initialized in flutter

I have created a RadioListTile based on a list of string items in an initStat function. But i could not get the radio button to change when it is being selected

Jenkins pipeline to deploy on Kubernetes

Im still new to jenkins and kubernetes, I want to deploy a python app on my (minikube) kubernetes cluster. For that I have my Jenkins instance running inside my

Query() in TinyDB with multiple files

I use Python + TinyDB, I have 2 json files, and I create 2 TinyDB objects: db = TinyDB(“db.json”) forum = TinyDB(“forum.json”) But how

Why Surface child compasable fill max size if i don't wrap it in an other container?

This code fills the full screen if i specify the size to be 100.dp. ComposeTheme { Surface( modifier = Modifier.fillMaxSize(), color = Mater

Accessing the AWS gateway resource in another stack in cdk stack

I have a stack where an api gateway resource is created. I have a construct under this stack from where i need to create a method to the above resource. I tried

Connect 2 virtual machines in different countries through Azure cloud

I want to connect 2 virtual machines, one is in North America and the other one in Asia. When I say I want to connect 2 virtual machines, it is simply that once

Upload to BigQuery from Cloud Storage

Have ~50k compressed (gzip) json files daily that need to be uploaded to BQ with some transformation, no API calls. The size of the files may be up to 1Gb. What

Getting this flutter error when calling the nested list of data from firestore database. Getting null method call []("orientation")

I'm getting this null error when calling the firebase firestore database. It's working fine with my other data. Only getting error with this nested List of 'ori

I tried to get the user input and then compare it to somthing and i got a problem [duplicate]

I tried to get the user input and then compare it to somthing and i got a problem :( this is my code: use std::io::stdin; fn main() { let