Latest Questions

How to setup Flowbite with Nuxt? [closed]

Here is a sandbox with Nuxt and Flowbite. Imported according to instructions from Flowbite The problem is that the styles of the flowbite comp

How to convert crypto.WordArray to Uint8Array?

The crypto-es library uses its own format for hash the WordArray WordArray { // The number of significant bytes in the words. sigBytes: 16 // An array of

How can I get branch name in semantic-release?

I am trying to create semantic releases with a tag format which includes the branch name. The .releaserc file looks something like this: { "name": "Inder Se

React-native Vision Camera unable to zoom

I am unable to zoom in https://github.com/mrousavy/react-native-vision-camera on ios devices. I am able to zoom in on android devices without any problem but un

Pandas rolling average of a columns of dates

I'm trying to calculate the rolling average of a column of datetime objects. In my scenario, the input data are the last day below freezing each year for ~100 y

Cannot debug in chrome dev tool when setting on "optimization": true in angular.json

When i set optimizations = true in angular.json, we encounter issues while debugging in chrome devtools and Breakpoints aren't hit , or on the wrong line(s) in

VS Code file explorer won't show certain files or directories in some projects

I have what appears to be a weird problem. In some project folders when I open them in VS Code I don't see the entire directory tree in the file explorer, some

Why @JsonInclude(JsonInclude.Include.NON_EMPTY) is not working?

I am trying to set null values to database of empty values from JSON payload. This problem caused beacause I have unique constraints on social entity fields. I

Listing connected BLE devices from CPython in Windows

I am porting Python code running on Linux to Windows, and need to implement 2 simple platform-specific functionalities (there are handled via bluetoothctl calls

how to add onchnage event on auto genrated html by javascript?

everyone. I am trying to use an api which is by tom tom places autocomplete. there is a code as below: var ttSearchBox = new tt.plugins.SearchBox(tt.servic

Can React Native's PlatformColor get colors for dark mode when the system is in light mode?

I can't find any details on whether or not PlatformColor can access colors that aren't part of the currently selected system theme. For example, if the system t

create shared library with main to call undefined function and provide function body in other project

I need to create a shared library using cmake, and I must call function run() in a library function. But the project which uses this library should provide the

How many render operations does act() support?

I am using act function from library https://testing-library.com/docs/react-testing-library/intro/. At this point I have something like this: await act(async (

Pipenv cannot create bin folder Ubuntu 22.04 LTS

I'm trying to setup Pipenv on Ubuntu 22.04 LTS and I used: sudo apt install pipenv but I get an error: FileNotFoundError: [Errno 2] No such file or directory:

Delete Xcode and download again instead of making update?

I'm using Xcode 12.5 (12E262) on a MacBook Air with macOS Big Sur 11.5.1 (20G80). App Store says, there's a new update for Xcode. When trying to start the updat

Why are react-table pagination and filter reset by changing its data?

I added 4 custom columns to my table columns list using its Cell property; each of them in each row contains a checkbox that changes a specific property of the

how to store the location data in flutter?

import 'package:firebase_core/firebase_core.dart'; import 'package:firstapp/screens/Login_screen.dart'; import 'package:firstapp/screens/authunication/phone_aut

Send a path containing slashes in Kotlin Spring mappings

Having trouble dealing with slashes in controller mappings in Kotlin Spring. My client application sends an absolute path ("C:/User/Documents/FolderX"), and sho

How to use a third-party API inside next/api?

I am new to NEXTJS and creating a weather application .I am using a openweather api but how can I use it inside the next/api. I had tried by creating a file tod

Send file as buffer

const resp = await client.render(data); const Writable = require('stream').Writable; var buffer = []; const myWritable = new Writable({ write(chunk, encoding,

Unity android gradle build fails duplicate class

I have been looking for the last few days for a solution to my problem. I have multiple SDKs imported in my project (firebase, facebook, admob, etc) and it was

Not able to transform and load from ADLS(csv) to Dedicated SQL Pool by using Azure Synapse's Dataflow

I am trying to transform data from ADLS by using Azure Synapse's Dataflow and store it in a table in Dedicated SQL Pool. I created a Dataset 'UserSinkDataset' p

How do I iterate over two lists?

I have troubles in using for loops in Python. I wrote this code: x=5 people=['Mary','Joe'] genders=['she','he'] for person in people: print(person) for

Is the jsconfig.json file required to be used in every JavaScript project?

I am working with a JavaScript project. Is it is necessary (or recommended) to use the jsconfig.json file in every JavaScript project? Will adding the jsconfig.

Can i make a RapidPro flow automatically by importing a Json file in it? How?

I had build rapidpro flow manually till now , now i want to automate it . What i want to do is convert a excel sheet (provided to me by my organization ) to jso

Different errors with Gradle each time I tried most, common: ':app:processDebugManifest' (type 'ProcessMultiApkApplicationManifest')

A lot of errors building the gradle: Gradle Scripts build.gradle(Project:): plugins { id 'com.android.application' } android { compileSdkVersion 31

transform map : add new key value pairs to existing map Java 8

I'm trying to transform a Map by adding a new JsonObject key-value pair, if any of the map's JsonObject's key contains the "-fragment" String. Set<Map.Entry&

Azure app service plan obtain actual ACU usage

I have an EP1 app service plan that is hosting a function app. The plan has 210ACU per month. How do I find out how many of those I'm using? (What happens if I

Flickity-fade slider not working after following the installation docs from github; flickity just run like the regular slider

I'm following this flickity slide fade docs FlickityFade Installation Here is the css cdn package <link rel="stylesheet" href="https://unpkg.com/flickity@2