Latest Questions

how to send a byte array in kafka with Avro Schema registry

I'm trying to send bytes with a JSON object using a Java POJO and an Avro schema, with schema registry. So my question is, how should my code send "bytes" type

How to set a text from parsed json variable in Flutter

I have a problem with parsed JSON in Flutter-Dart. Actually, there is no problem, but there is a method which I don't know. I'm getting data from a PHP server a

How do I create a table with multiple auto incrementing values?

I would like to have an autoincrementing string in my BigQuery table. This seems like a good way of doing it: CREATE TABLE dbo.YourTable ( ID INT IDENTITY(1

bracket pair can't match in mac vscode txt file

I want to highlight and jump(command+shift+\) between the bracket pair in text file just like in json files and other format files. Please help me,thx! And th

Connect ESP8266 to subdomain website using Arduino UNO?

How to connect Arduino UNO, ESP8266 to a Subdomain website using AT commands? Its working with ThingSpeak, AT+CIPMUX=1 AT+CIPSTART=1,"TCP","api.thingspeak.com",

how to get around HTTP Error 403: Forbidden error while downloading a video using download link

I'm working on a code in which I access a website using selenium and put a link in a download field then extract the download link from download button and down

What is this weird colon-member (" : ") syntax in the constructor?

Recently I've seen an example like the following: #include <iostream> class Foo { public: int bar; Foo(int num): bar(num) {}; }; int main(void) {

Implement Searchbar on top of Screen

I am trying to find some examples how to implement hidden search bar on top of Screen (react-native) like in Telegram: And can't find any useful examles. I am

Python NSFW detection module nudenet not longer working?

I have been using the python module nudenet for my final degree project. I'm using google colab to run it. It worked correctly and without any problem during th

Save template type parameter pack for later use

I'm working on a code where I can bind events and callbacks to react to those events, the interface looks like this: void on_close(); struct S { void the_a

type 'never[]' is missing the following properties from type 'Observable<Customer[]>'

I want to fetch customers list from my back-end via get Http call. But i am unable to declare array of customers in my component. I have customer.interface.ts l

How to fetch a HCP file from Amazons3 bucket using objectId as input parameter is there any API?

I'm using getObject("filepath"); to retrieve a document /xml file from HCP. I need to pass an Object in input to the getObject(); method and retrieve the same.

FirebaseOptions cannot be null when creating the default app in Flutter Web

I ran into the following error: Launching lib/main.dart on Chrome in debug mode... This app is linked to the debug service: ws://127.0.0.1:45119/uWRkb_0RvDE%3D/

How to search for specific fields in an array of objects containing objects in a document and update them in firestore (firebase) (JS)

// Update the other user that current user has asked for revision export async function updateOtherUserForContractRevision(contractID : string, comments : any)

what version of Lua does raylib use

When I try to use raylib with lua + zerobrane it says it can't require it , here is the output from zerobrane. would not let me copy output but I think you get

Internal Testing Play Store download page shows "This item isn't available"

Context I have an app on Play Console in the Internal Testing track, which is set up and everything works perfectly fine with my development APK release AAB phy

dynamic classes with tailwindcss and eleventy

I am using eleventy.js with tailwindcss and postcss. In my setup, postcss does not seem to recognise dynamic classes like md:pl-{{(loop.length-loop.index+1)*2}}

how to know if a word has repeated letters in python?

I'm working on processing words in python and I want to see if a string has 3 or more occurances of the same letter back to back .Is there a better way to do th

Model Accuracy is High but Val_Accuracy is low

I'm trying to improve my val accuracy as it is very low. I have tried changing the batch_size, the number of images being used for validation and training. Adde

Trying to print the center position of a square

I have tried to use cv2.putText and it appears to show the position based on the the top right of the window and not the actual center of the image. It will pro

Checking if a graph contain a given induced subgraph

I'm trying to detect some minimal patterns with properties in random digraphs. Namely, I have a list called patterns of adjacency matrix of various size. For in

Setting connection properties on the URL object

Question: Is there a way to set the connection properties on the URL object? Background: We are connecting to a remote server that requires certain connection p

link login page to homepage using react

I am trying to display first the log in page and then it goes to the home page but it does not work. Can Anyone figure out the problem? How Can I direct my logi

Calculate eccentricity vector of planetary ring particles

I wish to set-up an initially circular (e=0) system of planetary rings which I can later perturb over time and see how the eccentricity changes. However, my cal

should I still declare GOPATH?

I WAS reading Learning GO and suggest that needs to be declared on PATH GOPATH="/home/user/go". this is from author: it’s a good idea to explicitly defin

Google Sheets conditional formatting with differently styled dates

in Google Sheets I'd like to format an area of cells automatically by comparing its date value to another cell. In fact, I have some cells representing a month

Error when renaming multiple columns and using add_overall() in tbl_summary

I am trying to create summary tables. I want to split these by site and have a "Total" column. However, when I try to rename multiple columns AND use add_overal

Need to read csv files (when csv file is multiple input files) in Python

I have a school assignment that is asking me to write a program that first reads in the name of an input file and then reads the file using the csv.reader() met

Tags support is not enabled. You must use the flag "Yaml::PARSE_CUSTOM_TAGS" to use "!service_locator"

I am trying to add the webpack-encore-bundle to my Drupal site, I have this in services.yml file: services: webpack_encore.twig_entry_files_extension: cla

How to get the KeyVault name in the notebook from the keyvault link in Synapse?

How to get the KeyVault name in the notebook from the keyvault link in Synapse? I need the KeyVault name to pass to the TokenLibrary. TokenLibrary.getSecret(key