Latest Questions

CosmosDB return data from external API on read

I am attempting to write an Azure CosmosDB integration (Core SQL Api) that integrates with an external service to provide some of the query data. As an example,

Not Implemented Error in Django Channels Layers

I was following the Django channels tutorial to create a simple chat application. But while trying to check if the channel layer can connect to Redis, I get thi

Error install Charm Crypto 0.50 Error:---> make: *** [Makefile:29: all] Segmentation fault

Charm installation problem solution needs suggestions. Hello, I am not a well good expert I have to face the problem by installing charm crypto 0.50 documentati

pyautogui, locate on screen doen't work in linux

I am using linux, and it returns none instead of the co-ordinates. import pyautogui as p a=p.locateCenterOnScreen('like.png',confidence=.5) print(a) Did I di

ORTools CP-SAT Solver. Constraint to require two lists of variables to be drawn from the same set of integers

I have two lists of variables M and T. I would like to create a constraint where the set of unique values between M and T are identical. From the solution varia

Reading filename using regexp in Bash

I am writing a bash script that calls an external program which generates a zip file of the form ########.zip which the '#'s# can be any decimal digit. There i

django removes "is_staff" permission if I try to login

I have a pretty strange situation within my django project. I have a LoginForm where a user can log into the website. I am using django 3.2.12 with some other l

How to add border to a circle image in DevEco Studio?

Whenever I am using border-radius property the border to the image is not coming but when I am not using the border-radius property the square image is coming a

How should I fix it to run epiR success

I run install.packages(epiR) and library(epiR) and then it said the download source packages are in C:\\Users\\user\\AppData\\Local\\Temp\\Rtmpq2xPjc\\download_

Nuxt 2 & Vuelidate 2 not working properly

I have installed vuelidate 2 to validate forms in my NuxtJS project. I followed instructions for installation and setup according to vuelidate documentation. Th

Create nginx "sites-available" and "site-enabled" files along content using terminal commands

I have been assigned a task to automate the deployment process using digital ocean droplets. I am using doctl for creating the subdomain "A" record from my term

Specify runner to be used depending on condition in a GitHub Actions workflow

We have two runners, one for running production jobs and another for running non production jobs, but I am unable to do that using a workflow level environment

Hi, If we want to show/hide both tabs and fields in AEM, based on the style selected for a component

Like for my one component there a two styles added , if style one is selected then I have to hide 1 field in cq:dialog and if style 2 is selected then I have to

How to assign IPV6 on Google Cloud VM instances

Good day, I am new to google cloud plateform please help. How can i assgin ipv6 for my instance on google cloud, i have created an ipv6 but is says not in use j

How to create xpath that matches both conditions present in an element?

Description: I need to create an Xpath that matches both the condition present in the div class = 'item_inside' Explanation: Imagine There are two item_inside c

Nodejs readstream, what value should I use for highWaterMark

I have a copy function that uses createReadStream and createWriteStream to give me progress events during a file copy: createReadStream(source, { highWa

Can't get all table elements using selenium webdriver

I'm trying to get all information from this website using Python/Selenium: https://bitinfocharts.com/top-100-richest-bitcoin-addresses.html I have successfully

How can I prevent Undesired data from being added into the Queue?

I'm wrote my code using combination of stack & queue data structures. My code is working, but I have a problem in the main() method. I'm using a loop to rea

Make Screen Reader read out a prefix text along with DOM contents when using role=option

I have an outer div of role="listbox" and a few inner divs of role="option". When I use keyboard up-down to move focus within the elements of the inner div, it

Extra operation button in django admin panel

I want to add some buttons to do a lot of database operations at once, and I want to place those button(s) at (1) place. How to do that? Extra explains: What I

Refactoring tabs according to react best practices

Here is a FAQ component with a child Accordion. As identifier I use anchor that I get from data, written for every element as tab1, tab2, tab3 etc. (instead of

Where and why do I have to put the "template" and "typename" keywords?

In templates, where and why do I have to put typename and template on dependent names? What exactly are dependent names anyway? I have the following code: t

GDB doesn't work: Cannot insert breakpoint 1. Cannot access memory at address [...]

I'm trying to setup my vscode to debug C++ programs using gdb from WSL. But I faced problem with gdb on my WSL 1 (Ubuntu 22.04 LTS). Whenever I try set a breakp

How to differentiate the data of one topic or another coming from Mercure hub if the client is suscribed to two topics

I have a a dashboard on a Symony app with two ChartJS graphs, one for temperature data, and the other for pressure data. I need update both on realtime; for tha

how to insert multiple checkbox values into database?

So, I have a form in that i have two check boxes and both can be checked but when i check both the data is not going into database only the first value is inser

Embedding issue / All messages send at once

I'm having this issue where all my embeds are together. How do I separate them? My issue is that every time I run the embeds send together, I know the issue bu

Ho to debug Go app with DLV and MODD on Docker

I'm running a Go app on the Docker and want to use VSCode to debug it via DLV at the same time using MODD for app rebuild. So far I cannot figure out how to con

/usr/include/GNUstepBase/GSVersionMacros.h:359:16: fatal error: 'objc/blocks_runtime.h' file not found

I am trying to build a objective-c library integrated to a swift project on linux. I have this Package.swift for my main project: // swift-tools-version:5.5 //

Kurdish is currently available in Google Translate, but has not yet been added to the flutter_localization

Kurdish is currently available in Google Translate , but has not yet been added to the flutter_localization package! How can I add Kurdish language ? Because we