Latest Questions

Evaluate a Google Sheets math expression with formula

I have some strings inside Google Sheets, containing simple arithmetic expressions: Is there a way to evaluate these expressions without the need for writing a

How to make the graphics for a Graph theory undirected graph

I have been trying for the last few days to implement a graph into a C# Windows Forms app, but I have been unsuccessful at this task. I haven't been able to fin

Snowflake View too slow to query with dynamic pivot

I have created a stored procedure in Snowflake to dynamically pivot the table and create a view from JSON data. The query creates a view with 370 columns as I d

how do I save the videos in an specific bitrate using ffmpeg?

I am trying to save some videos in specific bitrate (8000k) and for this, I used the following code: ffmpeg -i input_1080p60 -c:v libx264 -pix_fmt yuv420p

Scroll inside div doesn't wrk with Puppeteer

I try to scroll area inside div using Puppeteer. I tried to follow these answers: https://stackoverflow.com/a/67490337 and https://stackoverflow.com/a/52031392

Django: The QuerySet value for an exact lookup must be limited to one result using slicing

i am tring to access a page using a slug url, but i keep getting this error The QuerySet value for an exact lookup must be limited to one result using slicing.

SwiftUI navigationLink isActivie not working [closed]

Purpose My intention is to come back from view3 and return directly to view1 Current Status My view hierarchy here is view1 -> view2 ->

Celery task is pending in the browser but succeeded in the python shell of Django

I'm using Django, Celery, and RabbitMQ for simple tasks on Ubuntu but celery gives no response. I can't figure out why the task is pending in the browser, while

How to know if a support library already supports AndroidX?

I have project in unity, that uses Mapbox, Mapbox includes the following support library: support-v4-25.1.0.aar This library comes as an .aar file and NOT as a

conda install and network issues

I am running: conda install spyder-kernel=2.1 and get back: Collecting package metadata (current_repodata.json): failed CondaHTTPError: HTTP 000 CONNECTION FA

The argument type 'RxString' can't be assigned to the parameter type 'String'

I try to use the GetX framework in flutter for my project. but it shows the Error regarding RxString. whenever I try to use the Obx method to call the controlle

Error using C++/CLI dll in Azure function (zip deployed)

So I have: a c++/cli wrapper withini a clr c++ dll a c# net6 azure function which is referencing the c++/cli project The issue: It works perfectly when I'm test

How to bypass field does not exist within the DocumentSnapshotPlatform

I'm receiving this error because some of my contents don't have ['ses'] in firestore. Half of the contents have this and the other half do not have it. How can

What does MOSIX error #96 with mosrun mean?

I am trying to use mosrun on a shell script on Ubuntu with MOSIX. Currently I am only using 2 nodes and I am sure they are connected to each other properly. Her

rewrite rule code is not working for deep pages

I write some rewrite rule to manipulate the first folder after domain address as a query string indicating the language. <rule name="en"> <match url="^

How to make an accent insensitive `MATCH() AGAINST()` sentence?

I have a table called products which has a varchar column called name encoded in latin1_swedish_ci. I'm trying to make a search query in order to filter product

How to "inspect to file" (or to string) in Elixir?

In Elixir, we can IO.inspect anyStructure to get anyStructure's internals printed to output. Is there a similar method to output it to a file (or, as a more fle

Write a C function GetEvenNumber

For my studies, I have to write a C function GetEvenNumber: parameters: array with n integers + array size; returns tr array which contains even integers from t

Systemd unit file escaping issue

I am wanting to generate a secret key for a django project, that runs using podman run --new, so it generates a new container from scratch when the machine is r

Run Powershell script after the first one finished

How to modify the code be more neatly to make the first powershell function finished before starting the next one. Echo Clean Windows\Temp Fol

how to see number of each line in text input of kivy?

There are some text editing softwares that show us the number of lines in order. like this: I want to have this effect in text input of kivy but i do not know

Why is my runtime dangerous permission auto denied?

I am trying to use the "new" way of requesting external storage write permission. But the request is automatically denied and no window pops up asking the user

Convert SDR image to HDR with python openCV?

I wish to do the following in python with openCV to increase the brightness of an image. The aim is to turn an SDR photo into an HDR image (to increase the dyna

Plot variant abundance vs. time (e,g, of mutant strains) in python

Given [absolute] numbers for each of a number of variants over time, I would like to produce a plot like the following: Is there a function for this in Python

How to manually extract context or span from incoming http request in NodeJS?

I trying to migrate my Node.js application from jaeger-client to @opentelemetry/* packages In my Node.js application i have a simple http server and i want to c

How to rename files and folders recursively?

I have this PowerShell code which goes through a folder and creates a list of all files and subfolders in the folder and renames them for me (replacing spaces w

When i create Django Project with environment i have had a mistake line but when i deleted the environment file the line had disappeared !! Any Idea?

import os from django.core.wsgi import get_wsgi_application // Mistake in any import commands line but it is working os.environ.setdefault('DJANGO_SETTINGS_MODU

Python csv rearrange columns and calling from a dictionary (no pandas)

I need the code to rearrange the columns while changing the header names without using Pandas. I also need to omit some of the columns in the new csv file. Samp

findOneAndUpdate. Select array of messages, select message object and update likes array inside it

I use mongoose findOneAndUpdate method, but could't achieve the result. I always get the same object back. No errors. Here's my code. User object: { "_id" :

Javascript - draw a rectangular selection on an image

I need some help to implement a feature in my vuejs capacitor app. I'm getting a snapshot from an ip cam every second and this will simulate a video stream sinc