All Questions

0
votes
0answers
4 views

ASP.NET 6 Reference parent and child from same table

I am attempting to use Data Annotations in one of my classes like it was used in this question: FK to the Same Table Code First Entity Framework . I want to be able to reference the previous and next ...
0
votes
0answers
8 views

Display Command Output or File Contents in a table

I have a function in my script and i need it to display the output on a table with a header and hide the ligne that contain RELEASE on the output. for file in ${list[@]}; do echo -ne ${file} ${ins} &...
0
votes
0answers
2 views

Google Sheets IMPORTXML Path not working properly

I want to use this code to scrape data like name under fighter details: =IMPORTXML("https://www.tapology.com/fightcenter/fighters/119825-dominik-mazur", "//div[@id='stats']/ul[1]/li[1]/...
0
votes
0answers
4 views

How correctly open native application via browser(Instagram) on iOS?

We have a page that opens the installed application to the user or sends him to the AppStore. Everything was built around top.location.href = "{appscheme}://?" + params; and timeout for ...
0
votes
0answers
4 views

Global error handling doesn't work in WPF

I want to handle all unexpected errors in a WPF application. When I look at, there are different events for different situation to capture and control error. Also I added these in application ...
0
votes
0answers
4 views

How to initialize the value of state on the basis of props and then change the state on dropdown selection in React?

I have a component with a dropdown having two options. 'Existing Members' and 'Add New Member'. If the value of a props.existingMembers.length > 0. No default value should be selected in dropdown. ...
0
votes
0answers
3 views

Google maps v2 fragment invokes android.view.InflateException

Whenever I try to load the activity I get android.view.InflateException and I really dont know why Activity: @Override protected void onCreate(Bundle savedInstanceState) { super....
0
votes
0answers
3 views

Auth0 .NET SDK with Unity Namespace Error

I am attempting to use the Auth0 .NET SDK with a Unity project so I can add Authentication to a Windows app and I can get the IDE to recognize the Auth0 library after installing the nuget package, but ...
0
votes
0answers
3 views

Running a for loop for queried messages gives an error message

I am trying to write a simple script that is giving me some issues. The objective of the script is to upload the PDF attachments of any messages within a certain label onto a Google Drive folder. The ...
0
votes
0answers
21 views

Find and return the minimum possible Euclidian distance between two points

Hello guys, this is a question from the selective process to a role as Junior Python Developer in a tech company. I struggled to make it works during the selective process, may anyone give some tips, ...
0
votes
0answers
5 views

Move Project To a New Folder in Visual Studio

Here is my Solution files structure (folders are prefixed by +): +FooProject FooProject.sln +Tests +BarTests BarTests.csproj Now I want to move the BarTests project to a new subfolder ...
0
votes
0answers
4 views

How to show a subview when clicking on a button in SwiftUI

I need to show a subview with a button at the bottom of the main view when a button pressed ( this button is in the mainView ) in SwiftUI
-2
votes
0answers
5 views

SystemVerilog Training

To master any programming language, you should practice on challenges as much as possible. In the software languages, there are many sites, such as codeforces, leetcode and hackerrank. Are there ...
-2
votes
1answer
13 views

Can't find the solution to this

Write a query to display 10 days after today’s date in the following format: January 29, 2022 Hint: Use DUAL table. No actual database table is needed.
0
votes
0answers
3 views

How do I convert ImagePicker to store in CoreData in SwiftUI?

I came across this problem in which I try to add a new Group which has to consist of a Groupname and a Thumbnail. The thumbnail is picked with an ImagePicker. As soon as the user clicks on "Done&...
0
votes
0answers
4 views

How to auto-scroll to the bottom of a Scrolling Log-Type Text composable

I'm trying to implement a Text view for log-type messages where every change to the text would auto-scroll the Text to the last/newly-added line of text. For example if my text size only fits 4 lines: ...
0
votes
0answers
4 views

Mono crashes on MemoryMappedFile.CreateFromFile on Ubuntu 20.04

I got this error when I run mono myprogram.exe: System.ArgumentException: capacity at System.IO.MemoryMappedFiles.MemoryMappedFile.CreateFromFile (System.IO.FileStream fileStream, System.String ...
0
votes
0answers
7 views

choosing what part of the message content I want to select Discord.py

so im using discord.py to script a website search so lets say I want to type in discord "$youtube logic" I want my script to take that logic and search it in "youtube.com" so what ...
-1
votes
0answers
8 views

Fetch restful api

What is the syntax to fetch API with Nodejs im trying fetch but it says fetch is not definedenter image description here
0
votes
0answers
4 views

Can I set Mac M1's arch to x86_64?

I recently purchased a MacBook Air M1 and had several troubles with errors like 'missing package for architecture arm64' or 'missing compatible architecture'. For instance, I use docker-maven-plugin ...
0
votes
0answers
7 views

Problem when install.packages("tidyverse") in RStudio

I want to run install.packages("tidyverse") in RStudio, I met the following error: The downloaded source packages are in ‘C:\Users\myname\AppData\Local\Temp\RtmpCUUahl\...
0
votes
0answers
3 views

why do lxc containers not have latest/host linux-headers available?

Notices my lxc containers are 1 behind in available linux-headers. Eg, a container created from ubuntu:20.04 has the same kernel as my host 5.15 (as expected), and has an identical sources.list. But ...
0
votes
0answers
5 views

Why is the variable NewBoard not being assigned?

So I wrote the following function in prolog. player1Turn(Board, NewBoard , Player1):- write('Pick a piece'), PickRow = 1, PickColumn = 1, DropRow = 2, DropColumn = 1, \+...
0
votes
0answers
9 views

How to print the following output Itinerary: NEW YORK to FRANCE to ITALY to ATLANTA to SALT LAKE CITY

I am wanting to print the following output: Itinerary: NEW YORK to FRANCE to ITALY to ATLANTA to SALT LAKE CITY. Please note that my program will prompt you for a series of destinations. The user will ...
0
votes
0answers
4 views

Move First Prefab Index of specific Panel, to Last index of another Specific panel?

10 Panels, each with 4 index(1 column), 8 are filled panels and two are empty , I wrote one script to access each index for each panel, Question how can I move first index prefab of a specific panel, ...
0
votes
0answers
11 views

How to filter Spam with non-ASCII characters in C#?

my problem is about a spam that I have been recieving almost every day, from different emails address(obviusly). I have coded a program in C# that allows a costumer to send a message, which is stored ...
1
vote
0answers
18 views

How to indicate the dtype when using map on a series?

I am using map in a Pandas Series to apply a function that extracts any string representing a date or an empty string if there is no date in that string. import pandas as pd import dateparser ...
0
votes
0answers
4 views

PyCharm says remote host ID has changed, but ssh-keyscan does not

This morning PyCharm started warning me: Warning: remote host identification has changed! IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-...
0
votes
0answers
11 views

GGPlot - separating geom_point and geom_line in legend

I have a dataset with columns and points superimposed. The plotting is fairly simple but I can't seem to get geom_point to appear as a separate legend. Instead it defaults to combining the two. I have ...
0
votes
0answers
9 views

How to access a variable stored in another method in java in the same class

I need to access the variable "value" in the second method. I tried making it an instance variable but it just returned as a null. public class RateFellowUnsatisfactoryPage extends ...
0
votes
0answers
4 views

Kafka SASL/Plain with SSL options and Kafka SASL/Scram with SSL

I have few questions on the above topics, Please can you help on understanding these things. SASL/Plain can be used with and with out SSL. So if not use SSL then data is encrypted and secured? SASL/...
0
votes
0answers
5 views

How to split pandas dataframe into multiple dataframes (holding together rows) based upon a column's value

My problem is similar to split a dataframe into chunks of N rows problem, expect that the number of rows in each chunk will be different. I have a datafame as such: A B C 1 2 0 1 2 1 1 2 2 1 2 0 ...
0
votes
0answers
2 views

undefined is not an object (evaluating '_app.default.apps')

this is my code. I am new to react native and trying to make a firebase authanticator using firebase in expo. please hell me with this error. I am facing similar issue for other things related to ...
0
votes
0answers
4 views

Move div 100% to the left off the visible screen and scroll to

I want to move a div so far to the left that it kind of mirrors a "second" screen you need to scroll to. There is absolutely no reason one would like to do this, I am just trying to learn ...
-1
votes
0answers
15 views

Parse JSON array of objects in JavaScript [closed]

I am getting below response from server need to parse this: [{ "AntiAffinityGroupID": "string", "TenantID": "string", "AntiAffinityGroupItems&...
0
votes
0answers
3 views

Using Managed Identity to call APIM endpoint

I am trying to make a call to the APIM endpoint in Azure from the function app using the Managed Identity of the function app. Not sure if there is any article I could take a reference from?
0
votes
0answers
7 views

In predicting a z_fit value for each x_fit and y_fit pair by invoking the model's predict() method, the resulting 3D plot shows no dispersion at all

Hi I'm hoping someone can assist. I'm new to model fitting and I'm trying to fit a linear regression model by passing it a set of features (col x, y) from a csv file, to predict label (z). I then ...
0
votes
0answers
6 views

CoreData: How to achieve not null and unique constraint in one-to-one relationship?

Currently, I have the following one-to-one relationship An NSPlainNote must have at least a NSContent NSContent will inversely point to a NSPlainNote Here's how I define their relationship ...
0
votes
0answers
4 views

DirectX) Difference between the buffer and texture

Many people say DirectX has two kinds of resources: Buffer and Texture In the MSDN document, it says that A buffer is a collection of raw data (elements); a texture is a collection of texels (texture ...
0
votes
0answers
11 views

Copy/move elision in case of delegating to a copy/move constructor

In the following program, the constructor A::A(int) delegates the call to copy/move constructor, which both are explicitly deleted: struct A; A f(); struct A { A() {} A(int) : A(f()) {} A(...
0
votes
0answers
4 views

spfx react component unit testing with fluent ui controls

I'm new to client-side unit testing and I'm trying to put our SPFx React Components under test. I managed to have an empty component loaded and tested using following technologies spfx 1.13.1 react ...
0
votes
0answers
12 views

Interfaces in cpp

As you will soon see, I am not a c++ developer and for this problem I am working on c++ is my only option. I don't mind learning, so just some guidance would be appreciated. I have a panel class as ...
0
votes
0answers
4 views

rmarkdown table does not render correctly

I am trying generate automated reports using rmarkdown, and final output expected is pdf. However, when I run the script the resulting .Rmd file is okay, but the resulting .pdf file does not show the ...
0
votes
0answers
13 views

Promise.all convert result with parameter from nested loop

The following loop to call an async function, here a smart contract interaction using web3. I want to get the balance of an array of token by calling balanceOf() and convert it subsequently with the ...
0
votes
0answers
5 views

What is this yellow checkmark in Xcode project navigator view?

Anyone know what this means? I don't recall seeing it before, and hovering over it doesn't show anything. Should I be fixing something?
0
votes
0answers
11 views

VS Code workspace with multiple Python virtualenvironments

How can I have two Python files open in VS Code, one in virtualenv A and one in virtualenv B, with code completion and linting? I'm porting something from using one lib to another which cannot be ...
0
votes
0answers
9 views

How to include CSS in HTML using Go?

I am playing around with Go, but I can't seem to have the page open up with CSS, when I open the HTML file outside Go, the CSS works perfectly fine, but when I run it through Go, it's never included. ...
0
votes
0answers
3 views

How to enable (or add) autofill data in Chrome while running e2e test?

I am writing test in Playwright framework for testing Google Pay, and I need to have credit card saved in Chrome autofill settings. I tried to import Chrome profile, but Chrome reset settings. Chrome ...
0
votes
0answers
5 views

OpenXML Header to In-Memory Document

I am trying to extract the header from an OpenXML Word Document then insert this header into the MainDocumentPart of a temporary in-memory OpenXML document so that I can convert it to HTML using ...
0
votes
0answers
5 views

Typeorm transactions

I want to update to tables using typeorm, and I want to block autocommite. So only if both updates go well I will get success confirm. What is the best way to do that. Tables that needs to be updated ...

15 30 50 per page
1
2 3 4 5
443069