Latest Questions

Add Window Handle to FileSavePicker Sub Running in Sub-Domain

I'm trying to integrate the functionality of the Windows.Graphics.Printing3D API into a WiseJ VB.Net app to create .3mf files. The Printing3D methods depend on

How to set a multiple arrays in javascript

I run into a problem wherein I want to divide my items in by array likes this [ 1 [ 1[[1][2]] 2[[3][4][5]] ], 2[ 1[[1][2]] 2[[3][4][5]]], 3 [ 1[[1][2]]

Share a queue between the mainThread and a coroutine

I am new to the coroutine concept. I'm not very confident in the code I've written. Basically I have a queue of user events that I send to my server. Adding an

"ModuleNotFoundError: No module named 'rich'" even though I installed with pip

I'm trying to import the rich python module into my code, but I keep getting a 'ModuleNotFoundError' even thought I used pip install --user rich after getting t

Why does wordpress replace my custom child-theme files with old versions of themselves?

It's like the system is messing with me deliberately. Twice this has happened now: I make some edit to my own custom child-theme using the theme file editor in

Making a lexer piece by piece and am struggling with reading operators correctly

I am pretty new to coding and am working on a lexer project for school. I have made it so it can register everything as tokens and have been expanding its abili

How to change the Read Access to the users on custom Visualforce page in Salesforce

The question is about the custom visualforce page in Salesforce. The page is created for getting contacts, opportunity, loans all are at a single dynamic link o

How can I learn the credentials for the Connection String in optionsBuilder.UseOracle(@"User Id=<>;Password=<>;Data Source=<>")?

I want to connect from my codebase which is console C# project to an Oracle database. I am using Entity Framework Core 6.0: using Microsoft.EntityFrameworkC

Asp.net 4.8 WebForms authorization using Owin OpenId Connect Authentication (app.UseOpenIdConnectAuthentication)

I am encountering an infinite redirect loop between login.microsoftonline.com and my application. My project is implementing authentication and authorization in

Accessing specific elements in Arraylist of Objects

Really confused on how to access just the age of a specific student where all the information of students have been stored in a textfile. I am reading the textf

UnauthorizedAccessException when accessing a Windows file share from .NET Core app

I have an application written in .NET 5 ( soon to be .NET 6 ) that allows users to access files stored on a bunch of different user defined Windows network shar

How to resolve Key Error Exception when accessing dictionary key inside an if statement

I'm currently developing EV calculator using python and django. I get a key error exception when trying to access a dictionary key in an if statement inside a f

Using different instance of self as argument to method in python

I'm trying to create a method that takes self and another instance of the same method as its arguments, for example: class AClass(): def __init__(self

reactive-native cli error creating new projects "Android project not found."

When I try to run a react native project with the command react-native run-android the following exception is a displayed: "Android project not found. Are you

How can I make the menu folding/unfolding function? (double layer)

I'm making a menu folding/unfolding function. When there is one submenu, it is completed, but the problem is when there are two submenus. When you unclick a men

Timestamp Assistance (Copy Paste)

The below code works fine when I'm editing the relevant cell, however when data is pasted in the relevant cells the timestamp fails to appear... Kindly assist C

Index Usage in MySql InnoDb

I wonder that the index usage in Mysql InnoDb Engine. below is simplified example. fields a , b , c , d indexes a(pk) (a, b, d) (composite index) Query Select

RIPEMD160 - how were these contants created?

Are these constants arbitrary, or were there chose by some kind of permutation? I can't really find any source. The order of the left rotates on the left hand

How to change the size of an image in Azure's custom vision service?

I want to train model by using custom vision but when i add images in custom vision. Custom vision convert resize my image into (512,512). If there is any optio

Can a AWS Lambda Subscribe to Multiple Event Source Types

Two questions: Is it possible for a lambda to subscribe to a kinesis topic and an SNS topic? For example, your handler method is defined as: public void handleR

Iterate through pandas dataframe, select row by condition, when condition true, select a number of other rows, only containing unique values

I have a large (1M+) dataframe, something like Column A Column B Column C 0 'Aa' 'Ba' 14 1 'Ab' 'Bc' 24

how to add values from a function to a list

This is a sample database from a function can someone help me to send the output of function to list as shown in the screenshot [this function "getDistrict_Na

Go: Invalid memory address or nil pointer dereference when reading files and strings at same time

I have the following function waitForInput that listens for TCP input, after the connection has been created and that one has been assigned to the client struct

Django - query Grand Children with Autofield as Primay Key

I have this model: class AnlieferungKopf(models.Model): kopfNr = models.AutoField(primary_key=True) firma = models.ForeignKey( Firma,

How to add a class to a given element?

I have an element that already has a class: <div class="someclass"> <img ... id="image1" name="image1" /> </div> Now, I want to create a

Swift: Array of Dictionaries get nested value

I'm need help in Swift, hope someone here can help me, I'm new and I don't understand exactly how to get values out of a nested JSON. this is what I have. In th

permanova betadisper: missing observations due to 'group' removed Error in eigen(-x/2, symmetric = TRUE) : 0 x 0 matrix

I tried to adapt a code from an earlier version of R to process some data. I got most of it working again but ran into an issue.... I am trying to use vegan to

DNN model with maxout activation in tensorflow

How can I make this DNN model in tensorflow? 31 neurons in the first, 10 in the second, 5 in the third hidden layer, and 2 neurons in the output layer. The acti

How to set a multiple arrays in javascript

I run into a problem wherein I want to divide my items in by array likes this [ 1 [ 1[[1][2]] 2[[3][4][5]] ], 2[ 1[[1][2]] 2[[3][4][5]]], 3 [ 1[[1][2]]