Latest Questions

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

Automatic call Picker android kotlin

How can I create an app that can take incoming calls automatically in kotlin android 10 and above anybody I have tried using the BroadcastReceiver() class but i

Is there a Raku method that allows a hash value to be sorted and split from its pair?

I am currently trying to use hashes in an array to find the keys and values of each specific item in the array. I am able to do this and both the keys and the v

How to set up a Scrapy proxy with authorization?

My middlewares settings: from w3lib.http import basic_auth_header class CustomProxyMiddleware(object): def process_request(self, request, spider):

Mixing functions and const/let inside conditional statements cause ReferenceError in Safari

We have something like this if(true) { const a = 1; function myFunc() { alert(a); } myFunc(); } In Safari 11 this cause "ReferenceErro

Boto 3 filter_log_events returns null but describe_log_streams gives correct values

I am trying to retrieve cloud watch logs from log group /frontend/lambda/FEservice. The logs are stored in multiple stream with pattern YYYY/MM/DD/[$LATEST]* Ex

Want SQL statement to return all columns

Write a SELECT statement that returns the LastName, FirstName, and AnnualSalary columns of each instructor that has a unique annual salary. In other words, don

How to fix backend link Application error?

How To Fix This Problem? Application error? An error occurred in the application and your page could not be served. If you are the application owner, check your

Add PHP to page.php in WordPress via a plugin

I am trying to add the below code to a page.php file but call it from a custom plugin. At the moment, I have modified the theme's page.php but want to move cust

Which factor does affect AppStore ranking more?

I want to know about the factor which affects more to AppStore ranking, User Ratings OR User Reviews

Adding headers to response in an angular application

Is there any way to add headers to the http response in an angular application if the calls are made to fetch details from local json files? Version: 8 and abov

why can't i use useState in react

When I want to use useState, one of the hooks structures, in react, he gets angry with me const [apple, setApple] = useState(false). I have never encountered su

How to determine between inner and outer contour with Python OpenCV?

I want to have a polygon region of interest and would like to perform an object detection algorithm within this area. For example, the user gives some points an

React Native Expo crashed after build

My app completely 100% working on Expo Go.It didn't working after build to getting apk file and implemented on my phone.StartScreen working so well.Then navigat

inheritance TypeError: __init__() takes from 1 to 2 positional arguments but 8 were given

I am trying to follow an example related to inheritance from a Python OOP book. However, I am facing an error. from __future__ import annotations class Contact

Character is jittering after adding falling function

Let me just preface my question by saying I'm quite new to unity and programming as a whole. However I've been experimenting with some movement and after adding

is there a way to reduce reduce the number of for loops and use numpy functions to reduce time for code completion

Passing a function with parameters arr(array), risk_matrix(square matrix),risk_factor(float value) def infection(arr,risk_matrix,risk_factor): arr=arr*risk_

I get an error undefined reading push in React

This is my code. I'm having an error undefined reading push. I want to pass City to another component. const onInputCityChangeHandler = (e) => { s

Jest done callback is not assignable to parameter of type ProvidesCallback or undefined

I am trying to create a test with jest and I want to use done() callback but Typescript is not accepting it, I tried to use type any, jest.DoneCallback or leavi

How to test an Angular method which calls service and gets values?

I am trying to test this method, I have tried spying but the coverage shows not covered. Basically what this method does is, it checks if there is data availabl