Latest Questions

IBM SPSS How to import a Custom SQL Database Query

I am looking to see if the capability is there to have a custom SSMS sql query imported in SPSS (Statistical Package for the Social Sciences). I would want to b

Nested Json Serialise with Custom Class

I have a JSON data from the server from which I want to add specific JSON data to another class but maintaining its instance in the parent class Json data from

ValueError: Unable to find resource t64.exe in package pip._vendor.distlib

i am trying to run tox commands but it shows error ValueError: Unable to find resource t64.exe in package pip._vendor.distlib ERROR: python3.7: could not inst

Django - profile creation based on is_staff

I am currently working on a job portal project, where I need to create 2 profiles based on is_staff field of default user model of django. one for job seekers a

How can I force Powershell to return an array when a call only returns one object?

I'm using Powershell to set up IIS bindings on a web server, and having a problem with the following code: $serverIps = gwmi Win32_NetworkAdapterConfiguration

pandas - repalce a key's value of a dictionary column with another column

In pandas, I have 2 columns, one of which is a dictionary and the other is a numerical column. When the dictionary column is not null, is there a time efficient

Include extra bibliography in R Markdown

I am writing my dissertation using R Markdown (output: Word) and have my primary bibliography from which all citations are based. This renders with no issue: ya

How to restrict access to folder by user-agent on Windows Server 2019?

I have a solution that runs on a web page on several different websites that uses JS files stored on Windows Server 2019, like with a CDN. The JS files are to b

Loss function for changing a classification network to a regression one

I am trying to change a neural network that classifies pointclouds into 40 different classes, to a regression networks that predicts a specific property of them

Run function only once for particular element [duplicate]

I am building a simple todo app and I am new in JavaScript and I am stuck in a problem. I am trying to run function only once for a particular

Implement Func<T,TResult> delegate in Typescript

Fairly new to the node ecosystem and Typescript. I am looking for how to implement an abstract delegate Func<T,TResult> in Typescript. A C# Example of wh

How to store custom java objects with ArrayLists in Firebase realtime database

I am trying to store custom java objects in Firebase. These objects have ArrayLists and other object references inside them such as Location. When I try to writ

vuejs3 : can't import axios globally

I can import and use axios in a component: import axios from 'axios' export default function usePostLogin() { const login = async (url , data , callback) =>

Bitcoin / DefiChain RPC rawTransaction

Hello i try to figure out how to encode normal rpc calls in an raw transaction. Till now my problem is that i dont know what the hex must contain as string. f.e

java script function for filling a list

I wrote a function that enters personal information into empty list and save them. I want to add one by one but if first name and last name have entered before,

TypeScript. The function accepts two different objects, but returns one object

I am beginner in TypeScript. I am developing a home project - a weather application, I have two requests to the server, the responses are almost identical, exce

How to Make Input Checkbox Update Price Total Using Values + Include Additional Fees for Total?

So I made this basic checkbox price app that updates the food price whenever you click on a checkbox option https://codepen.io/shodoro/pen/GRQNXyq However, I ha

Removing values from an 2d array

I have a 2 dimensional numpy array and want to remove all 'false' values. A nested array with different lengths should be created. [['false' 'value1' 'false' 'f

Where is the breakpoint code located in the React export from Anima?

I followed the steps to add breakpoints using Anima's Figma plugin and SHIFT-selecting the three desktop, tablet, and mobile frames. Then I clicked "save" and s

how to use Google Cloud Translate API for translating bulk data?

I have a csv file of several thousands of rows in multiple languages and I am thinking of using google cloud translate API to translate foreign language text in

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