Latest Questions

error of function replay in DolphinDB: inputTables must be one or a tuple of non segmented tables|DataSources

error message: inputTables must be one or a tuple of non segmented tables|DataSources Usage: replay(inputTables, outputTables, [dateColumn], [timeColumn], [repl

Finding a file name from selected partial text

I grabbed someone else's code and tried multiple different functions to make it fit my needs. I use a Word document for PLC reports. I'm trying to take selected

Custom table name for a model in laminas

I've started learning laminas by reading it's documentation (Album model and table). I have a product model and I want to fetch the records but the problem is

How can I parse YAML with TAGs?

I have a YAML document like this: steps: - !<!entry> id: Entry-1 actions: [] - !<!replybuttons> id: ReplyButtons-langcheck foot

How to fix the plot using iteration through the subplots?

import pandas as pd import matplotlib.pyplot as plt df = pd.read_csv("population.csv") fig, axs = plt.subplots(nrows=2, ncols=2) for col, ax in zip(df.column

How implement differential privacy in federated learning

I'm beginner in federated learning. I try to add gaussian noise to gradient in client_updata. If anyone attempt to do , please teach me how to do. Thank you in

Trying to import vue2-google-maps in blade.php file

I'm was trying to import vue2-google-maps in my blade.php file but failed. Is there any possibility to to import vue2-google-maps in blade.php file. Following i

React-Typescript: Module '"react-router-dom"' has no exported member 'RouteComponentProps'

I have a project and with this project I have a login page and I want to use "RouteComponentProps", but I got this error: Module '"react-router-dom"' has no exp

Put each statement in if-clause on new line in Eclipse

In Eclipse formatter for Java how can I format if-statements like if (x != null && x.getSomething() != null && x.getSomething().getSomet

Creating a purrr map equivalent

I have a list of files like so: dput(files) list(ped_cv_outcomes_in_hospital_code_v20.csv = structure(list( icd_10_cm_code = c("I2101", "I2102", "I2109", "I

How to solve java error on Geoserver GSR extension

I have set up a Geoserver instance. Now I need the GSR extension to have an ArcGIS compatible REST API. I installed the extension as described but on Geoserver

sequelize migration throws ERROR: function uuid_generate_v4() does not exist

I enabled uuid extension with CREATE EXTENSION IF NOT EXISTS "uuid-ossp"; Then ran same query generated by sequelize for migration and it worked, create table i

merging two excel files and then removing duplicates that it creates

I've just started using python so could do with some help. I've merged data in two excel files using the following code: # Import pandas library import pandas a

Use --enable-stdcall-fixup to disable these warnings

I am trying to build a dll in C++ in which I use a C dll with prototypes like : int __stdcall foo();. When linking, the compiler outputs: Warning: resolving _fo

How to return all types except a certain type in MongoDB?

Let's say that there is a column called colours and it can have values red, blue, and green. I want to retrieve all rows except the ones where the colour is gre

R Plotly how to link text to bubbles in order to remove it when click on legend

With plotly on R, I have a bubble scatter plot and I want to add black text on each bubble. I also have my bubbles colored following a column of my data frame (

conditional binary operator expected with Do and ssh connection

This is part of my code that I working to find a word in a remote server connecting via ssh to that server filename=test.repo word=fail exists=$(grep -c $word $

Singly-linked set computational complexity

If you optimally implemented a Set using a singly-linked list structure, what would the computational complexity (big-O) be for the intersection operation?

SwiftUI: Get sidebar isCollapsed state on macOS

I'm using a NavigationView to create a sidebar on macOS. I can toggle the sidebar using this code: Button { NSApp.keyWindow?.firstResponder?.tryToPerform(

How to write a TypeScript NPM package with JSX property suggestion/autocompletion for intellisense

I created a mini UI library and published it to NPM registry. My library is written with strongly typed styled-components (TypeScript) and can be imported in Re

IBM Script Portlet for WebSphere Portal 7

Anyone knows if Script Portlet can be used for WebSphere Portal 7? I noticed that Portlet exists for IBM/HCL WP 8.5 but cant find for WP 7. The goal is to add s

Is there a way to get multiple parameters back from an interop call in nanoFramework

I am trying to get multiple parameters from a struct in a single interop call. The struct in question has the following signature: struct struct_name { uint

Not able to fetch all the AD user group (Missing Builtin/Guests) in c# using windows server 2016 as Active Directory

I have a user "Administrator" in my AD and added some of the user groups as a memberOf. I logged the windows with Administrator, then execute the code below cod

Parsing Javascript cookie values and separating values

I'm still learning Javascript and I'm trying to parse a value from a cookie in a specific key: I'm using this current line: const cookieObj = new URLSearchParam

how can i sort file elements in python?

I have to sort some elements in a text file that contains the names with the schedules of some teachers. Searching on google, I found this program: def sorting(

Stripe Subscription Adjustment based upon usage of second product

Here is an example of what is going on and what I need to do. Lawyer pays for legal services monthly website for $39. A second product of the website is to mon

Azure FreeRtos middleware and DPS, on ESP32

I am working on a project, where I am using the Azure FreeRTOS Middleware Stack on ESP32. I would like to introduce DPS to provision all my 3K upcoming devices.

Data copy from Salesforce to Salesforce using Azure Data Factory

Can we use Dataflow activity in ADF for copying data from Salesforce to Salesforce.

How to import a bean which comes from a configuration bean conditional on another class?

I'm using a 3rd party dependency in my Spring Boot project (version 2.6.3) which has the following classes: @ConditionalOnProperty(prefix = "spring.cloud.vault"

spatial domain convolution not equal to frequency domain multiplication using pytorch

I want to verify if 2D convolution in spatial domain is really a multiplication in frequency domain, so I used pytorch to implement convolution of an image with