Results for What are the key differences between REST and GraphQL
I have a make() static method in a class Response. It is overloaded to take either std::string or Json::Value from jsoncpp. I overloaded the method to...
While rewriting an old Matlab code to NumPy, I noticed differences in logarithmic calculation. In NumPy, I use np.log, Matlab uses log function. b = [...
Here I have a simple string; input_string [1909-1922]; [1923-1936]; P08775 [1909-1922]; [1923-1936]" I want it to paste the first part, i.e. P#####, b...
import requests from bs4 import BeautifulSoup URL = "https://habr.com/ru/hubs/gamedev/articles/" # Url to website page = requests.get(URL).content ...
i need python libraries to make a bot that will recognize an image of the button and click on it, button's position is randomized every click. it sho...
I wanna install opencv with the vcpkg. But I as I search for opencv with : vcpkg search opencv and see this output opencv 4.8.0 ...
HStack and Vstack usually base their layout on the maximum size of the subviews. Here is an example: HStack { Color.orange .frame(idealWid...
Preamble Let's say I have a function that allows users to create a boxviolin plot where box and violin plots are superposed. library(ggplot2) df filt...
I have a dummy pdf that has words on it. The course I am using to learn uses PyPDF2 on python. Is there a way for PyPDF2 to actually read the words on...
I have the following dataframe: df "1", "1", "1", "2", "2"), x = c(12, 20, 24, 10, 14)) id x 1 12 1 20 1 24 2 10 2 14 I...
I am trying to fetch some dummy data from an API and display it on the screen but nothing shows up. the data itself appears in the console but not on ...
I know that >>> is unsigned shift-right, and since byte in Java is signed 8-bit then -1 will be represented as 1111 1111. As a result, for the code be...
I have two dfs. one df has only 1 and 0 (df_one_zero). and another one has the different values df_value_total. These two has thousand rows and column...
I've currently got this JS code attached that validates for numbers and dots in an input, but I want to also prevent user from typing in more than one...
I am trying to make a calculator as homework and using functions in it is necessary. I wrote multiple functions for dividing, multiplying etc. The pro...
EDIT: 3rd partial success attempt - closer yet again, but needed to use helper measures to display high and low points - ideally would love to achieve...
Suppose I have the following dataframe: data = data.frame(values = c(1,1,1,2,2,2,2,1,1,4)) Then I'd like to use a function within dplyr::mutate() to c...
I have 2 issues with the below: Here is my CSV test data... I am using the following VBA to look for duplicates, then combine all data in 2nd cell of...
In the ahk script, i have created an action to change tabs by clicking the Xbutton1(back button) of my mouse with the scroll of the mouse. So when i p...
I'm lost in the Vega-lite sauce. Having trouble understanding where I'm going wrong. I essentially need two layers: lines for all years ("color":) a ...
I am currently working on a Flask REST API that interacts with a Dockerized MySQL database. I have encountered a 404 error when trying to access the /...
I'm trying to build this little project with React Leaflet in which by searching through the leaflet-geosearch search bar a certain city, after clicki...
I would like to add space between the legend (last evaluation results) and the graph. Basically, if in my example the result is greater than 77, it wi...
Here is my code: import os import cv2 import uuid import time camera = cv2.VideoCapture(0) POZ_Dosya = os.path.join("veriler", ...
I have a dataframe df containing net exports between any two countries in column From and To respectively. df.to_dict() returns {'From': {0: 'A', 1: '...
How do I undo the most recent local commits in Git?
How can I remove a specific item from an array in JavaScript?
How do I delete a Git branch locally and remotely?
How can I find all files containing a specific text (string) on Linux?
How to find all files containing specific text (string) on Linux?
How do I revert a Git repository to a previous commit?
How do I create an HTML button that acts like a link?
How do I check out a remote Git branch?