Latest Questions

How to fix NextJS enoent?

You guys know what may cause this error? Help will be highly appreciated. This error suddenly started and can't figure out why. Any source I find related to thi

Return Monthly Revenue based on a start and end dates

I am looking to create a query that would return the individual monthly revenue for the next 12 months. The revenue amounts are currently stored by projectid an

how to add PSQL user For a Rails app that has full access but can't drop the database

How to configure a PSQL v11.4 user that is not the superuser and does not own the database. This user should have full access to create SQL objects and drop the

Hadoop: java.lang.ClassNotFoundException:map-reduce

Hi I'm using eclipse to export the jar file of map reduce program.When i try to run the jar file using the command hadoop jar WordCountdemo.jar /Demo2/WordCount

WAP to compute the sum of the first n terms of the following series [duplicate]

S = 1 + 1/2! + 1/3! + 1/4!..... Here is my code: import java.util.Scanner; public class question{ public static void main(String[] args)

Error when trying to print string with multiple lines

I'm trying to make a tic tac toe game in Python but whenever I try to print the board, I get a weird error. Here is my code: import os from colorama import Fore

automate linked integration runtime to data factory

I have a data factory that will be sharing IR set up and resource ID is ready and permission to ADF is granted. I am trying to automate IR set up on the second

How to detect if Tabular variable is empty in KQL

I have a dashboard populated with a number of Kusto KQL Queries. Sometimes, my query below returns zero results (for instance if by miracle, there are no failur

xsl:for-each repeating the first row

i left out the for-each end statements in previous post: here is a snap shot of the doc and the xsl including the end stmts. i made a change to code (removed th

How can I assign a JS function to a list of tag that are generate with a loop?

I have a loop in my twig file : {% for item in listItem %} <h2 class="title" id="name-id"> ID {{ item.getRobotName() }}</h2> <p id="latbot" data-

Dask looping over library function call

Goal I would like to parallelize a loop with dask that uses a library function inside the loop. This function, mhw.detect(), calculates some statistics on a sli

FIWARE Context Broker or Custom API Gateway

I hope I'll find a reply to a bad (for me) question for which i don't find an answer at the moment. I have to synchronize information between an enterprise asse

Gulp not making bundle files

I am unable to get my bundle files created, this was working fine before I tried to upgrade to gulp4 and now that I am back on gulp3. I am not seeing the files

jest TypeError: Cannot read property 'createRef' of undefined

ImageSlider.tsx const ImageSlider = (props: INF_ImageSlider) => { const [idx, setIdx] = useState(0); const imgRef = React.createRef<HTMLImageEleme

Winforms-Configuration Manager fails to replace the App.Config's AttachDbFilename |DataDirectory| with the application startup folder

App.Config <?xml version="1.0" encoding="utf-8" ?> <configuration> <connectionStrings> <add name="myConnectionName"

Saving Detected Objects Individually from Point Cloud with RANSAC and DBSCAN

Hello, I am trying to detect objects from point cloud data using RANSAC and DBSCAN algorithms. I need to save these detected objects as separate files and then

Lodash-es with Typescript and Webpack module error

I want to use lodash-es to be able to import only the functions I need, but I get an error. import { camelCase } from "lodash-es"; //... console.log(camelCase('

PickleType hysteresis: PickleType column sometimes doesn't auto-pickle list, sometimes does

I'm trying to store Python objects (including lists) as blobs in PickleType columns. re PickleType: | PickleType builds upon the Binary type to apply Python's

Importing Bin file in Expo

I have tried adding metro.config.js as const defaultConfig = getDefaultConfig(__dirname); defaultConfig.resolver.assetExts.push('bin'); module.exports = defa

VHDL outputs all 'xxxx' for one specific case

My code has to work in 2 modes, mode 0 works without any problems, however mode 1 starting of the fist if statement implemented just shows xxx. all of the value

Why is the second background image not displaying after rotating my device?

I have two background images to create a layered effect and to keep the file sizes small. There's a repeating star pattern in the back, and a white "cutout" on

discord.py 1.7.3 - Send messages to a specific user id ( on_ready )

So I'm having the issue where I send a dm message (message var) to each user id on a list (memberlist var), and when I try to send it, I get an error saying: At

Hardhat is not compiling

I have been trying to test out hardhat. I follow the guide on https://hardhat.org/getting-started/#quick-start. I use the sample project as mentioned. When I tr

Mockito can not mock Random in Java 17

Trying to update my project from Java 11 to Java 17 and got an unexpected error from Mockito in a specific test. mock(java.util.Random.class); Throws Feb 04, 2

How to create a three-by-three floating array in Arduino

I need a three-by-three array of flutes that should be in a loop (the loop can be used and should be displayed at the terminal output) I found the following cod

How to use the draw and keyTyped() function at the same time?

I want to create a code where when I click a key on the keyboard it will play music and draw a rectangle. I have managed to add music using the keyTyped() funct

How to add the UIA ExpandCollapse pattern in Qml

I'm using http://accessibilityinsights.io/ to make sure my QML application passes Microsoft requirements for accessibility. There's only one error that I couldn

Batch Job Performance testing - what parameters to measure?

I know about the Performance test for an "Online" application or APIs where we measure response time, throughput and CPU/Memory utilization. My question is - Wh

Get array of object's keys

I would like to get the keys of a JavaScript object as an array, either in jQuery or pure JavaScript. Is there a less verbose way than this? var foo = { 'alph

The datetime columns in all the tables on SQL server have shifted by a few hours

I've created a few tables all of which had a column of datatype datetime. Recently, I think after the daylight savings adjustment, for some reason all the dates