Latest Questions

Lithuanian stemming algorithm

I've been trying to execute lithuanian snowball stemmer in Python. There is a github link where a guy shows how to integrate it using Python but I'm stuck at co

Vite: placing bundles in subfolders on build?

Currently my projects structure is: my-app/ ├─ node_modules/ ├─ dist/ │ ├─ assets/ │ │ ├─ m

Scoping v5 MUI Styles

We have a legacy application that we're slowly migrating to React and MUI. In order to prevent overlap in styling between the different parts of our applicatio

gdb back-trace doesn't show all the function call stacks for linux-5.10.0 or linux-5.10.122, why?

Really strange thing happening here.. I can't see the full stack trace with 'bt' command in gdb. So I tried with fresh linux-5.10.122 source and qemu-6.2.0 sour

I have to google apps script that I want to have the data sorted automatically

I have this script below that imports data automatically from several sheets via a master sheet that has a list of sheet IDs. I would like the data to be auto s

How to make link sharing in php

Videos come from a folder and are automatically displayed on my website. But I am having a problem at implementing share feature. All I want to do is when share

How to convert an ArrayList<Integer> to ArrayList<String>? [closed]

I have to convert an Int arraylist to String Arraylist so JText in swing can print the numbers of the String ArrayList. private static ArrayLi

EKS Managed Nodegroup with Capacity Reservation in Launch Template through CloudFormation does not use Capacity Reservation

I am creating a Managed Nodegroup for EKS using CloudFormation. I have an EC2 Launch Template with a CapacityReservationSpecification defined. The Launch Templa

Dynamodb scan on array of objects Filter Expression

I want to scan dynamodb using filter on product_id showing in below json of table. Can anybody explain how to do scanning using filter of product_id. Wants to s

Drawable resource not visible while using aar plugin in unity

Here is sample dialog I am showing in unity, In that Icon not visible. contain of dilaog are comming from aar. Image at leftside is sample from android app and

Bootstrap 5 Accordion button (arrow) missing

I've copied the example from Bootstrap 5.1 docs. When I pasted it into my .html it looked clunky (and was missing the default arrow) so I did some minor css to

python async with AsyncKernelManager and Qt not executing

I'm trying to execute code inside a jupyter kernel in a Qt application. I have the below snipplet that is supposed to asynchronously run the code and then print

How to verify user based on reCAPTCHA user response and secret key in react.js?

When reading the documentation, the following methods of verifying the user are shown: For web users, you can get the user’s response token in one of thre

MUI Datepicker how to disable next month only

I'm using MUI v5 and I want to disable next month only in datepicker. Others are available

Next.js: Select element must have an accessible name: Element has no title attribute

Next.js and Typescript beginner here. I'm rebuilding an app using Next.js but ran into trouble splitting pages and components with the error Select element must

How to error handling curl and mysql in python subprocess.run()

I have python script which uses subprocess.run() getting dump file by curl and input dump file by mysql cmd = "curl {0}/{1} -o /tmp/{2}".format(dir_name,file_na

why won't my SQL run in vscode? What can I do to fix this?

I am following this tutorial for SQL: https://www.youtube.com/watch?v=Cz3WcZLRaWc I followed all the instructions, but when I click run I get a message saying C

Lighthouse CLI: how to use current browser settings(running with extensions installed)

Try lighthouse CLI to measure the performance of URLs with some extensions on. With lighthouse https://www.bing.com/search?q=curse+words --output json --output-

Mysql get end date excluding weekends

in Mysql I am trying to get end date excluding weekends like my function GET_DATE_WEEKDAYS('2022-03-24',5) giving - 2022-03-17 which is fine it is giving issue

browser won't load css stylesheet for my local website using express and node

And the app.js screenshot: I tried every possible combination of href and express.static(""); adresses. I either get a response from a browser saying browser

This expression has type processor_return_type but an expression was expected of type unit

I now have a function called processor, inside the processor function, a list will be matched to different patterns. In some patterns I wish it to return a tupl

Python: I have a list of dictionaries but when I try to call a specific Key and Value it is throwing a error

def readParksFile(fileName="national_parks(1).csv"): nationalParks = open(fileName) headers = nationalParks.readline() keys = headers.split(",")

Unknown option: '--base-href' Angular 13 ng serve

im creating an angular 13app using CLI i want to set a path to my app when i run it i got the following error : Unknown option: '--base-href' Unknown option: '/

RSA in digital certificate

In a digital certificate issued to a domain, using an RSA cipher, I would like to find the prime number used in the encryption. In firefox you get the public ke

Multiple comparisons with gtsummary

Since my question is similar to one that's been asked before, I'll steal the reprex (also below), for consistency's sake, from Summary Table (mean + std.error)

Laravel model - CRUD only with records where one column = certain value?

Suppose i have a laravel model that works with a certain (MySQL) database table. Inside of this table there is a column named 'administration'. (example: could

PHP how to convert UTF-8 to MUTF-8?

in PHP, how can i convert UTF-8 to MUTF-8? i am hoping i can lazily just get away with function utf8_to_mutf8(string $utf8):string{ return str_replace("\x00

django if user.is_authenticated not working but login user

my problem is that the login operation is done correctly and the session is set up correctly, but user.is_authenticated does not work. The point is that it work

If statements within a Query

I'm using a query & importrange combo like this: =IFERROR(QUERY(IMPORTRANGE("https://docs.google.com/spreadsheets/d/1EizWsVwZfUy1NDRwmmWEpj2OxTGvBjP9-YBbds9