Latest Questions

How to access image datasets from Dropbox?

I have a dataset of images on Dropbox it is in uncompressed folders, and I want to train a a model using google colab. How can I tell Colab where the dataset is

How to load image in Gatsby GraphQL query

I have small SQLite database with products, that have relative paths to images. I'd like to include these images to my page. I'm trying to use this query: query

R table function not showing zeroes

I'm kind of ignorant on the topic so it might be a simple mistake, but I have used cutpoints and then i'm trying to print a table with the sum of elements in ea

How to sale Solana NFT which has minted with my own contract?

I have minted NFTS with my own contract on Solana blockchain. I am going to sell these NFTS on Marketplace but marketplaces need candy machine addresses or hash

web.assets_backend external id not found in odoo 15

when i tried inherit external id web.assets_backend odoo says that external id not found here's the error log: Traceback (most recent call last): File "/opt/o

Font size of x and y label with triangle_plot

I want to increase the fontsize of the x and y label of my triangle plot. I tried as in this question: Changing the size of labels of plots in python but it's n

Mark a search unrestricted in suitescript 2.0

I am using a restlet to check whether a contact exist in netsuite or not. I am calling this restlet from an external environment. The problem I'm facing is the

How do I get useEffect to run on array sort? [duplicate]

I have an object like this const example = [{medicineName : "Some name" medicineId : 1} {medicineName : "Some other name" medicine

Responsive website is not working mobile devices

I am having big trouble with my website as it is not being responsive. I already included the required script for adjusting page to device width on the html :

Powershell IP address range

I need to help with my code which is write in Powershell. Program should generate IP addresses in range. For example from 10.4.254.250 to 10.4.255.255. When I h

Java Script: How to check if value is number with typeof operator

How do I check in the if statement if _energyLevel is a number? I need to use the typeOf operator for that. Thanks for your help :) const robot = { _model: '1

Error tokenizing remove pattern re.findall

I have error like this while cleaning text, i just tried to following code from web def remove_pattern(text, pattern): r = re.findall(pattern, text) fo

How to seed data in .NET Core 6 with Entity Framework?

I know how to seed data to a database with old .NET 5.0 in startup.cs file using my Seeder class with a Seed() method creating some initial data. public void Co

JavaFX periodic background task

I try to run in JavaFX application background thread periodically, which modifies some GUI property. I think I know how to use Task and Service classes from ja

How to convert nested objects into nested DTOs using ModelMapper?

I am facing issue when I am trying to use ModelMapper to convert nested java objects into nested DTO's. Getting null for child dto's in parent dto object. Follo

How to resolve the error: Module '"react-hook-form"' has no exported member 'useForm'

I want to make simple login page using react-hook-form I get this error: Module '"react-hook-form"' has no exported member 'useForm' import React from 'react'

Is there a built-in Three.js heightmap function?

I am currently working on a game in JavaScript, in Three.js. I am curious if I can add a height map to the walls that I have to make them more realistic (see im

How to use single Resharper setting file by multiple users

I am looking for a way to create a single Resharper setting file and share it with my team members, and if in the future I want to make a change in that file th

How to integrate Sequelize ORM with Oracle DB

I’m trying to connect to an oracle database using Sequelieze ORM. I know that Sequelieze doesn't support Oracle but I'm asking if there is any way to do t

Hapjs Route Prerequisite is executed and route is always returning 404

I am building a web application using Hapijs. I am using route prerequisites to do something before the route handler is executed. This is my route server.route

Replace multiple strings from CMS in Javascript

This code currently gets 'dynamic words' from the CMS and changes those to span's, which get a eventlistener on it whereas you click on them, something happens.

Read data from ngrx store directly

I saw in our codebase a lot of places using this pattern getUrl() : string { let url = '' this.store.pipe(selectorConfig, take(1)).subscribe((config) =&

Tone.js with ESM modules

I am trying to use tone.js on ESM modules. (I could use it without problems in “commonjs” with a bundler) In the html I have <script src="tests.j

how to plot pairs in different subplots with difference on the side

I want to make a plot in seaborn but I am having some difficulties. The data has 2 variable: time (2 levels) and state (2 levels). I want to plot time on the x

No theory in Aleph SWI Prolog

My question is pretty similar to Not getting a theory in Aleph for SWI Prolog After trying to induce a theory, I end up getting only single atoms My code(only a

Problems with installing SASS React

I want to install SASS to my react app. I try yarn add node-sass my console return error: ./src/comopnents/Form/Form.scss (./node_modules/css-loader??ref--6-one

react testing library: can't acquire context from the given item

I have this component, which uses react-chartjs-2 to render a Doughnut chart: const CompliancyChart = ({data}): JSX.Element => { ... return ( <Cha

Flutter settings.name incomplete on page reload

I have a route setup. In the browser, it looks like this. localhost:1234/#/member/D8B5D7F17639A28FE83C47AFFC69592E? I use an onGenerateRoute function like this

kubernetes mariadb doesnt startt sql's from /docker-entrypoint-initdb.d

pod logs: 2022-01-04 10:43:13+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.7.1+maria~focal started. 2022-01-04 10:43:14+00:00 [Note] [En

Check if value between a threshold range using sliding time window/bins - KQL query

I would like to write a sliding window query in KQL which would check if the the speed of a car is ALWAYS between a certain speed limit (e.g. b/w 100 and 150 km