I'm starting to learn to use rest api via bash curl by writing a simple mastodon bot. I can attach multiple images using curl https://example.com/api/v1/statuse
I have a type, e.g.: type Output = { fieldA?: string; fieldB?: string; } And I have an object, e.g.: const input = { fieldA: "A", fie
I have decided to develop desktop program with usage of SQLite datatbase and with help of C# programming language. One of the necessary functions that must be p
My app has "Files and media: Allow management of all files" permission. However, when I try to open a PDF file LogCat reports the following errors: 2022-04-20
(node:6852) [LRU_CACHE_OPTION_maxAge] DeprecationWarning: The maxAge option is deprecated. please use options.ttl instead (Use `node --trace-deprecation ...` to
I'm maintaining a project where someone has suggested that we make some variables volatile. I'm trying to understand if it's needed at all (or could be needed).
i have this image: I am interested to do segmentation only in the objects that appear in the image so i did something like this import numpy as np import cv2 fr
My company uses Nexus repository as npm proxy for package management. Does anyone have experience using Nexus to hold Conda packages (Python) and for proxy? In
I am not able to connect via TLS and monger to an AWS DocumentDB database. I downloaded the PEM file from AWS and added it to a new keystore file keytool -impor
CPanel says that it does not support mongo installation but I can install it manually. My question is should I install it or just subscribe mongo atlas and conn
I have a following list of objects: List<Parent> parents = new(); Parent contains List<Children> list of children. What I want is to filter list of
What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine the cause
I'm getting this error when my circleci job is building my cypress test: [432:0312/154643.301773:ERROR:bus.cc(392)] Failed to connect to the bus: Failed to con
Bash script used: #!/bin/bash set -xv IS=$'\n' list=$(cat exlist_sample | xargs -n1) for i in $list; do echo "$i" | rev > slist echo "$i" >> z
I currently have two jest test cases the first one passes, but the second fails because its adding the sum of the previous case to that one test('Subtotal to be
I have a numpy array of indices. For example: indices = np.array([0, 1, 2, 6, 7, 9, 12, 13, 14]) I would like to make an array signals = np.zeros(np.amax(indi
I've scoured the AWS documentation to see if there is a a way to get the SMS delivery log via code, but i'm at a miss, I can get the logs via cloud watch but I
this is my first time using StackOverflow and I don't know how this works but I'll be quick and short. So, I'm in an internship and I'm learning Angular and I o
Is there a CLI argument or parameter to deploy configuration of a particular database instead of deploying all the database configurations under src/main/ml-con
I have a Power query that finds and replaces values listed in a table that I work through from here Bulk Find And Replace In Power Query But I need to apply it
Array ( [0] => tttt [1] => tttt ) $terms_keys = array("terms"); $terms_array = array(); foreach ( array_map(null,$inv_terms) as $key => $value
I'm basically refining, completing and trying to compile a test code from a reference book for java beginners. The objective is to create a guessing game wherei
I am trying to install Basemap using pip, however at some point it reaches the error: note: This error originates from a subprocess, and is likely not a problem
How do I watch for a specifc Mongodb-query? Currently I have tried with collection.watch(), but I am only getting the new value. An example: user1 = [user3, use
How can I make the Chromium web-browser always start in incognito mode when it was installed using Flatpak on Kubuntu 22? I can't seem to find a solution anywhe
I have a simple React.js application. I want to test if it can call an endpoint from my API. Both my API and React.js application are using Keycloak for Authent
I am running for Java -version & javac -version in my cmd, but it isn't showing any output. It just goes to the next line, and doesn't show anything. Can an
I was working on a React app with typescript. I got it working, then I wanted to add css-loader and changed the webpack from 4 to 5 and updated all packages to
I am trying to get away from jQuery and start using promises and arrow functions. Try as I might, I can't seem to pass data to PHP using java
I just transfer my PHP app, I used to have my app on example.com/app but now I transferred the app to its own domain, othersite.com. My principal site and PHP s