I made a struct Triangle and I made a function to calculate p(perimeter/2). When I call the function inside printf it works. But when I call the same function a
I have a javascript controlled switch "button" with the following structure: <span class="customSwitch"> <label tabindex="0" class="selected-option
I am having a really hard time finding a way to store massive prime numbers in c#. I tried everything but nothing worked out for me. For example. How can I stor
I need to map a JSON string which includes values named long and short: "status": { "long": "Finished", "short": "F", "elapsed": 90 } I tried the foll
I frequently have to reopen files from a link, or find it somewhere on the downloads folder. It is not that important and far too many downloads to properly sav
I am interested in using the LinkedIn API to create a post with a user account. Does LinkedIn have a test environment or a way to test this without having to cr
I want to convert date of birth to age using the following code df$age <- round(as.numeric(Sys.Date()-as.Date(df$DOB),format="%d/%m/%y")/365) The format of
I have an iOS app. I started working on it without localization. The app is RTL-language-oriented. Now I wanted to localize the app so I created localization of
I do SEO for a client of mine and we use a plugin to showcase cars, getting the data from Mobile.de. Now this plugin takes the cars name e.g. "Nissan X-Trail 1.
I have a project that builds perfectly fine from within Xcode, but it fails when I want to run it from the command line. I get this error: error: Dependencies c
I have a task, which is too complex for my R-knowledge. I have a dataframe with Tweets-data, including a column that consists of the usernames, data of the Twee
This is a Makefile piece of code of how someone may use mktemp in a Makefile TEST=$(shell mktemp -d) mktemp: echo $(TEST) touch $(TEST)/test.txt ls
I implemented consent request using UMP according to this guide. I use real device to check the implementation: fun initialize(activity: Activity) {
Running regression with panel data on different geographical levels in the US and Euro area with weights that essentially look like this: lm(log(POP25) ~ log(EM
I have an 4x4 gridpane object consists of Tiles, extends ImageView, and i want to create method for changing places of connected Tiles by mouse drag and drop. I
I was just curious I came across the following package Virtual Scroll. And in it when initializing they check for browser support before adding the event listen
I created a table with a query: CREATE TABLE Department ( EmpID INT NOT NULL, Designation VARCHAR(80) NOT NULL, Department VARCHAR(80) NOT NULL, PRIMARY KEY(Emp
I am displaying the jQuery modal after 5 seconds using setInterval. I want to increment the number of seconds by the previous interval value. Let's say the page
I have an application that is written in C# so that it can be a stand-alone .exe with parameters passed in via cmd at runtime. I am trying to update a file in
I am trying to plot a collection of finite element data with colored patches used to represent the value in each element. Unfortunately, when I plot the patches
I have a recyclerview showing items like this: MyRecyclerView Selecting items calculates a total price from the number you see in the circle of each item, addin
I am trying to translate a code made in C into assembly (FASM) but I can't get it to work. The code tries to create an entry in the registry so that when the ma
Current Code is whole MRR but How to find New Business MRR cnts=[] dat =[] tp = [] mnth = [] for i in date_range: df3 = df[(df.TotalPrice > 0) & (df.
In the documentation of supervisord they mention a list of different stopsignals: TERM, HUP, INT, QUIT, KILL, USR1, USR2 What are the detailed differences of th
The pods have been successfully created and it is running but I am unable to get the logs from the pods. I even checked in Lens and 'kubectl logs pod' its not s
i have two python scripts. the main script is like from testa import modify, see from pyspark import SparkContext if __name__ == '__main__': sc = SparkConte
I am trying to write integration_test for my location app. I need to allow location permission from my integration_test. I have set ANDROID_SDK_ROOT in my windo
I have a PHP table whose data was streamed-out from the database using the foreach. However, i am trying to create a delete mechanism to it. Here is my table :-
I am trying to store a 1d array that stores random numbers into another 2d array. So as you can see, I am trying to store the passed random ar
Is there a way in pytest to xfail a test when a specific parametrization condition is met? Note the parametrization is on fixture, not using mark.parametrize. f