Latest Questions

How to translate c# Task to Unity coroutine (OnCollisionEnter2D)

help to translate this code in coroutine. Im making game in unity and need to creat coroutine for it. I try made it, but it doesnt works. private void

Replace character inside double curly brackets regex

I'm trying to replace - character with _ inside a double curly brackets. Example inputs: Hello {{first-name}}, how are you? The event {{event-name-address}} Exa

how to resolve sqflite error : MissingPluginException sqflite

I created my database with this function: void CreateDatabase() async { database = await openDatabase( 'todo.db', version: 1, onCrea

I want to convert a string containing letters to a double in matlab [closed]

East_Seed_1="MIA"; East_Seed_8="ATL"; for i=1:7 s=rand; if s<MIA_prob_vs_ATL s=1; I want to create an algorithm that, gi

Clarification about modern CMake structure

I am not an expert C or C++ programmer, but I have to write a C and a C++ application for two course projects. To start off on the right foot, I was reading a g

Cann't install django with error 'Non-zero exit code (2)'

When i create new django project in pycharm i have error enter image description here Help me please

Error: module not found in React, cannot resolve 'url' in ...axios/lib/adapters

I'm getting this error and am not sure firstly why it appears and secondly how to resolve. the error message: Compiled with problems:X ERROR in ./node_modu

What is the purpose of sort_index of a Dataclass in Python?

I am learning about Dataclasses but I am confused on the purpose of sort_index and how it actually works. I can't seem to find any valuable information on it. T

How to identify the source of a context object in android java?

Overview I am working on android application in java. I have Products which can be viewed as a list by customers and vendors. Problem I want to be able to utili

Is there any way to use flex wrap to wrap on only one column?

Let's say I have 3 divs... HTML: <section class="features"> <div class="item"> <h3 class="item-name">Item1</h3> <

I'm having trouble removing an item from localStorage for my tasklist app which i'm building using vanilla javascript

Here's a function i'm having trouble with the foreach loop traverses just fine but i'm having trouble removing item from localStorage. function removeFromLocalS

Why am I unable to authenticate via Tweepy?

Newbie coder having issues authenticating via tweepy. below is the code. import tweepy access_token="" access_token_secret="" api_key="" api_secret_key="" auth

CentOS 7 Samba Server - Integrate with Windows AD

I am deploying Samba Server on CentOS 7 using winbind. And I am joining AD using #net join ads but i am getting below error. But i am able to login domain users

nginx live streaming only audio not webcam

I have implemented the recommended steps as described in several sites (https://www.digitalocean.com/community/tutorials/how-to-set-up-a-video-streaming-server-

FastAPI psycopg2 error when creating database for tests

I'm trying to test my database in my FastAPI app. from fastapi.testclient import TestClient from sqlalchemy import create_engine from sqlalchemy.orm import sess

How can I add existing files to a Gitkraken repository?

This is the same question but still unresolved: Add files to local repository in GitKraken I am new to gitkraken. I had initialized a repository with just a rea

How to integrate Gitversion

I would like to integrate an automated versioning system in my ASP.NET project. For each release, it should have a version number based on the previous release.

Diff two yaml files using python

How can I do diff of two YAML files and generate base on this comparison new file? For example: users: - login: user1 first_name: MyUser1 last_name: MyUser1

webpack-dev-server hot:true vs hot:only

Upon reading webpack documentation, I failed to understand the difference between hot:only vs hot:true To enable Hot Module Replacement without page refresh as

How to get the last day of the month without LAST_DAY() or EOMONTH()?

I have a table t with: DATE LOCATION PRODUCT_ID AMOUNT 2021-10-29 1 123 10 2021-10-30 1 123 9 2021-10-31 1 123 8 2021-10-29 1 456 100 2021-10-30 1 456 90 2021-

In TypeScript, I can't seem to delete a specific value from an HTML table

I'm extremely new with JavaScript and TypeScript (like, day 3). I need to let the user delete a value that they entered into a table. I've been working on this

Unity: skinned mesh vertexbuffer output slightly different than correct results

It’s like this hip is stuck in place, with in the pictures(being at different times in the animation since I can’t upload a gif) the red wireframe i

Cannot link gmp: library not found for -lgmp

I'm trying to install fastecdsa on macOS BigSur (M1 chip) by running (venv) $ pip3 install fastecdsa and even though I previously installed gmp: $ brew install

Plastic SCM change server/organization in Cloud

as I just installed Plastic SCM on my home computer, and connected through Unity, I was prompted to choose Organization. I managed to select the incorrect one a

node.js elasticsearch self signed certificate in certificate chain

I've been trying to learn elasticsearch and decided to try to connect it with node.js. I have a elasticsearch running + a index I created named test-idx. I'm fo

Why heroku app is not accepting the form data?

I have deployed an app on Heroku that contains a form. When someone submits the form, the content of the form is stored in an Atlas MongoDB database. This works

Is there a @LastAccessedTimestamp in JPA

I want to store the last read time in a Date column when ever someone tries to load or fetch(select query, findBy methods) a entity I had a look at @PostLoad as

Kafka Mirrormaker2 config optimization

I am setting up Strimzi kafka Mirrormaker2 in our test environment which receives on an average 100k messages/5 mins. we have around 25 topics and 900 partition

Can a constructor affect other fields of an enclosing object, or is this a static analysis false positive?

Consider this C++ code: struct SomeStruct { SomeStruct() noexcept; }; //SomeStruct::SomeStruct() noexcept {} class SomeClass { const bool b; const SomeS

TypeError: Module should export a function: @vue/composition-api

When building the Shopware 6 PWA app based on NuxtJS, I always get the following error message: TypeError: Module should export a function: @ vue / composition-