I have some code below, for a given name that matches pattern with 2 lower case letters (such as 'aa'), the valid name can be V-aa or X-aa def verify_helper(val
I'm using ReactJS to build a blog app. I can use axios get, put, delete but NOT POST. Every time I post a new blog, it gives me server responded with a status
I'm trying to write a Go program, to download data from aws kinesis data stream. I read that kinesis data stream encode the data with base64, so I need first de
We are using Azuredevops server integrated with the self hosted agents running on linux vms in azure. We are facing some unexpected behavior in our build agents
for example, a.boo method calls b.foo method. In b.foo method, how can I get a's file name (I don't want to pass __file__ to b.foo method)...
I have a structure that displays entries sorted by date. The date is displayed once for all entries of the same date. The problem I have is that Set is not remo
Hi Anybody knows what is the upper limit for the heap allocation in linux process? Consider below example, int main() { char *p; unsig
I'm a new Fortran 90 user and have a relatively simple question. Within a subroutine I'm running the following code: y = (1-crra)*(f(llc(1) , llc(2) , llc(3)
I am trying to generate some code that will open up an excel file on Sharepoint and copy data into another spreadsheet. I have been using the below code when th
I have some code and when it executes, it throws a NullReferenceException, saying: Object reference not set to an instance of an object.
I'm using vis.js to visualise a network. The network is created based on the DOT language (Directed graphs). An example: 1 -> 1 -> 2; 2 -> 3; 2 -- 4; 2
I am trying to get to grips with MASM32 and am confused by the following: I thought that brackets were used for indirection so if I have the a pre-defined vari
I am following this example notebook and used custom word embeddings of my own. i am getting the following error while deploying the index at this step r = inde
I'm designing a pseudocode version of a programme thingy I made, in which one of the sections is someone inputting a number to select an option. When someone in
Working on .Net Core MVC and IText7, I'm filling a Pdf form (empty form PDF is already saved on server). What I want is, Whenever I send request to the link (ca
For example, I have someFile.jar. I can run it simply using java -jar someFile.jar. But I want to create some files (for example .deb file) to install this jar
I'm trying to make an array of structures using data from a file, and then calculate the distance from a user inputted point to the closest data point. I am los
I have fish shell with omf with agnoster theme and git-plugin installed. I would like to tune my prompt a bit. Does anyone here know where/how I do that. I ran
I'm working on a juggling robot iiwa, and am looking to add disturbances onto the ball every now and then to see how well the controller works. Is there an easy
Instead of assigning a fixed spacing between items, it is possible to evenly spread the items along the (parent's) width, so as to maximize spacing? What I curr
could you please advice on this one? How to get(extract) year, month or day from datetime.datetime(2021, 1, 25, 21, 20, 46) format? For ex from the date (2021,
I am working on bar chart view using fl_chart package and i able to show the bar chart but unable to show the Y-axis value in each bar by default the way i expe
I have connected to the database on MySQL, and was able to input data to a table. However, I am not able to input data to another table when it seems that I'm u
INCDIR=include SRCDIR=src SRC = $(wildcard $(SRCDIR)/*.cpp) DEPS = $(wildcard $(INCDIR)/*.h) OBJ = $(SRC:.cpp=.o) CFLAGS = -I$(INCDIR) -Wall -Weffc++ -Wextr
Is it possible to create a string literal type in AssemblyScript that resembles the type keyword used in TypeScript? TypeScript example: export type MyType = 'f
Within a project of mine I use DMA to share data between the two cores of the STM32H747, the data comes from an ADC controlled by the core M7. While testing my
My application allows users to enter an Azure Blob Storage SAS URL. How would I go about validating it? I'm using the Azure Storage Blobs client library, and th
I have a modal that triggers after 10 mins of user inactivity and am working to make the modal more accessible. The issue is that the first time the modal rende
I've made a repository on GitHub and have added a Repository secret. However, I can't seem to grab the secret's value. Any help would be greatly appreciated!
I am learning Docker and have a little confusion that I would greatly appreciate some advice on. When creating a new rails application. Following the guidelines