Latest Questions

Using google maps distance matrix API - javascript

I am trying to run teh example from here: "https://jsfiddle.net/3b03m5mt/" Apparently, works when refreshing the page. Using this code only in a project that I'

Architecture of all the azure resources present in a subscription

I need to get the architecture of all the resources connected in a subscription. Is there any feature where I can get the architecture of how all the resource a

TypeError: 'float' object cannot be interpreted as an integer on linspace

TypeError Traceback (most recent call last) d:\website\SpeechProcessForMachineLearning-master\SpeechProcessForMachineLearning

temporary variable doesn't store the original value

I have this list of lists: lst = [[1],[2],[3],[4]] And I want to move the i+1 element to the [0] index, like this: [[2],[1],[3],[4]] / [[3],[1],[2],[4]] / [[

add a text input field to add tags for a specific student

After fetching api which is https://api.hatchways.io/assessment/students doing some steps to create a matching website page. I'm stuck on a step where we have

Simultaneously download and process data in Apache Spark

I have multiple files which ideally would all be the input to the map-reduce job. But each takes some time to download, so I was wondering if I can begin in-mem

How can I obtain an image link that is in the body of my GET request using React.js?

I am using a spring boot backend with a react.js frontend for a web application. Once a user is logged in, it directs the user to their Profile where they will

MDX Filter based on a Dimension field and Measure field not returning expected result

I'm using SSAS 2019 and have the following MDX query to determine data errors - i.e. in this case where a given score ([Measures].[Score]) is above what the max

WIX: Wix adds ENGLAND as state to shipping address on UK store

(I can't believe that there isn't a dedicated forum for WIX users, just the Wix Help Center, which is just a library) Just done my first test purchase. When I g

How to get remaining time of the day in java?

I would like to calculate the time remaining for next day 00:00:00 from the current date time. For e.g. time difference between 2022-05-07T05:49:41.883807900Z

Laravel Test intermittently failing due to 1 second difference

I have the following type of test for most models across my application: * @test */ public function an_authorised_user_can_delete_a_contact()

Error message : MongoServerError: bad auth :Authentication failed

What is the reason behind this error? this code I am using to connect to DB. const uri =`mongodb+srv://${process.env.DB_USER}:${process.env.DB_PASSWORD}@cluster

Why do I subtract 1 from the element on an even position? I need only odd positions (odd indexes) Java

I need your help. I have the task : Given a List of Integer numbers, return the average of all odd numbers from the list or throw NoSuchElementException. But be

WebKitGtk doesn't load local files

I've tried loading a local html file using webkit_web_view_load_uri() with a file:// URL. However, the webview would display a blank page. To circumvent this, I

How to access an Angular Component using its injection token?

I'm working with Angular Material Drag and Drop. Material DnD is designed to create some components on the fly during the drag sequence. For instance the visual

*** ValueError: not enough values to unpack (expected 2, got 1)

I'm trying to compare two dicts: > x_state [{'ID': 1, 'Wert': '6,6743', 'Name': 'Δ'}, {'Wert': 'Δ', 'ID': 3, 'Name': 'Δ'}, {'ID': 4, 'Name'

The provided value is not of type '(ArrayBuffer or ArrayBufferView)' when it is

I convert to ArrayBuffer using the function base64ToArrayBuffer but I'm getting an error that says it's not ArrayBuffer and the key is the type of CryptoKey. I

How to update Url used by UnityWebRequest to InputField?

I want the user to be able to change the ID of the link, which is why I used InputField to get their input. Unfortunately, I can't seem to figure out, how to ma

Spawn Sprites on Desktop [Haxe Flixel]

I am trying to spawn sprites on the desktop, the same way you would in a regular HaxeFlixel State. Kinda like the desktop goose from a while back. I have alread

Pass Associative Array from Symfony Controller to Twig and JavaScript

So, I have 2 arrays that I've combined into one array after making sure they're the same length as such. //Fetching Ratings for All Coaches & Making a Key,

The Elementor does not work just loaded, when go to custom WordPress page

I try using Elementor for creating a WordPress website but I have this page when I open Elementor on the website. I am using DigitalOcean droplets with Cloudfl

Best code to delete all rows containing a specific word in column O?

I want to delete all the rows containing the word "Resigned" only in column O. This is my code below to process 331,000+ rows. Is it the most effective or fast

Autoscrolling text animation in CSS not going all the way

I'm trying to scroll some single-line labels in a single-line fixed-width container. What I've tried so far is: Create a container with fixed dimensions. Place

How to get data from drives linked in a SharePoint list?

I'm wondering if there is a way to get the driveID from a drive that is linked in a SharePoint list using hyperlinks. I've looked around for similar questions/

how to align sliding window to extract features from multi modal timeseries data?

I have two datasets that are collected at different frequencies at the same time. One is recorded at 128Hz and another one is recorded at 512 Hz. I am trying to

SignalR WebSocket Closed with status code 1006 (no reason given) (only on the remote server after deployment)

I'm working with a project which combines angular app on a client-side and .net core 6 web API app on the server-side. To provide real-time communication betwee

Error adding Custom RPCs for custom pallet Substrate

I've been working with parity's contracts node (latest version) and the substrate template node (tag polkadot-v0.9.18), both present the same issue when compili

Python - stitch images back together after slicing

I have a directory of image patches that are all the same size (33x33), the images are ordered so that the first 7 images are row 1, then the next 7 images are

How to assign an instance to a variable - .find() / .where() - and access it's values - RUBY on RAILS

account = Account.find(params[:account_id]) account_to_receive = Account.where(number_account: transaction.account_to_transfer) So I am building a bank app I wo

How to export data directly to "Tableau online" platform

I have a question about the "tableau online" platform. --- I have a CRM tool, which provides API to export the CRM tool data. I use only tableau online (no tabl