Latest Questions

C#: Update List Item

public class person { public string name { get; set; } public string family { get; set; } } And I have a list of the same as Below: List<person&

Dotnet Isolated Azure Function w/ .Net 6 on a Linux consumption plan complaining about 6.0 AspNetCore.App Runtime not being available

I need some help identifying why an Azure Function deployed to a Linux consumption plan is unable to start and complaining about the AspNetCore.App runtime not

I'm testing with go openAPI

I'm testing with OpenApi and as an example with https://github.com/d-vignesh/Todo-App-with-OpenAPI but if i run this, i get the following error: .\main.go:9:77:

About \ phalcon \ mvc \ Application.zep

I need to update from PHP 7.3 to PHP 8.0 or PHP 8.1. About composer.json php from ~ 7.3.0 to ^ 8.0, ext-phalcon from ^ 3.3.0 to 5.0.0 beta3 I think I have to up

Xilinx PLanAhead crashing

I have installed xilinx ISE 10.1, 13.2 and 14.7.My code synthesizes but PlanAhead not opening on windows 10 64-bit.I googled and find a solution of replacing rd

download data from site

I am trying to download stock prices from yahoo of several shares at once using R loops. I tried the following code, and it produces results but I would like th

using a string to reference a struct

I'm having troubles with a function in C using a string to reference a struct, the used code is included below int Search_name (char nombre[],Nentrada user_numb

Trouble with $_POST [duplicate]

so I am trying to get this to post data to solutions.php in my files. but when i print_r($_POST); I dont get any values in my POST. <form a

Y axis labels are not ordered like the bars in seaborn

I have a data frame called general_stats that has information about YouTube channels like title, number of subscribers and such. I want to plot the channels nam

Dataflow job template fails for datastream to spanner

Datastream to Spanner Dataflow template fails, followed below doc: https://cloud.google.com/dataflow/docs/guides/templates/provided-streaming#datastream-to-clou

Empty output for NLTK function in CGI script

I want to use python NLTK library's function in CGI script to tokenize some text, recieved via WEB. If i simply use: someamountoftext = "someamountoftext someam

Changing the data in a child component without changing it in the parent

I am making changes to a set of data and the data is held in a parent components state I pass that data to a 2nd component but when I make changes to the data i

Meaning of int a[10]; int *p = a+9;

I am currently trying to understand pointers in C but I am having a hard time understanding this code: int a[10]; int *p = a+9; while ( p > a ) *p-- = (

from django.core.management import execute_from_command_line not working

I am working on a bug project. Which is on Python 2.7, we are migrating to Python 3.9. I am getting import errors in manage.py during importfrom django.core.man

How to change input display style in Autocomplete

I'm using Autocomplete component from Mui. It has the default display style for multiple input values like this: . However, I hope to make it like how it would

Error: "datetime' is not json serializable" in Ansible playbook

I am getting below error while passing below date format to Ansible Tower REST API in extra_vars with Ansible uri module in body section. date_slot: '2022-04-04

Can Spring Boot detect when the Google PubSub connection is down?

I've been googling and can't seem to find an answer to this question: Can a Spring Boot app get a lifecycle notification if its underlying broker connection (ei

How to add title to the plot of shap.plots.force with Matplotlib?

I want to add some modifications to my force plot (created by shap.plots.force) using Matplotlib, e.g. adding title, using tight layout etc. However, I tried to

Are defined strings set to all NULLs?

I could have sworn that I read that a string that was defined but not initialized was set to all NULLs. In other words, that char string[10]; consisted of 10 n

Microsoft GraphAPI subscription for events of a user group not working

What works totally fine in my case is to register a web hook subscription on the graph api for a user /user/{id}/events What I do not get to work is a registra

Jest test passes but .. has console message You are trying to access a property or method of the Jest environment after it has been torn down

My test passes but has a console refrenceError: You are trying to access a property or method of the Jest environment after it has been torn down. Test: import

Split a text using different delimiters

long time no coding in c and i'm a bit in trouble. I get tex from a file formatted like that: # 3 10 P1 16 3 P2 8 1 P3 10 2 from the second line every line re

flutter TextField with auto textDirection

I want to use TextField in the Flutter to enter two languages (one of them is RTL and the other is LTR) so that one language is entered in each line. How can th

C++, initialize a 2d array. error:subscript requires array or pointer

New to C++. Here is my code: #include <string> #include <cstdlib> #include <time.h> using namespace std; const int Gardensize = 20;//Garden

Seek method for javafx MediaPlayer does not seek correctly for 1.5 hr+ long audio files

I recently fixed a bug where the javafx MediaPlayer would break whenever I disconnected my bluetooth headphones. I fixed that by doing this. mediaPlayer.set

UnpicklingError on data received from socket

Context: I have a system with a server.py file and a live_client.py. Server is constantly updating an object. The system works correctly if I send the attribute

Issue with Google cloud sdk setup

I am facing issue when trying to setup Google cloud SDK. the Error is in

Java gateway process exited before sending its port number

I am trying to install PySpark on my Windows 10 to be used on Jupyter Lab. I have already installed Java and running Python 3.7.3: openjdk version "1.8.0_242" O

Is the description of the "Contiguity within looping patterns " in the document correct?

as the description in flink CEP document: Strict Contiguity: Expects all matching events to appear strictly one after the other, without any non-matching events

Django use urls with same ending

I ahve a django project with the application web-api and the following url configuration: main project urls.py urlpatterns = [ path('admin/', admin.site.url