Latest Questions

Angular Proxy to .net Core backend works every other time

Running into some weird stuff.. Trying to hit my api from my angular app. Since We need to use windows authentication we need to setup a proxy.conf for angular

How do I avoid using global variables when writing a Telegram bot

I'm writing a Telegram bot on Python using the python-telegram-bot library. The bot's function is to look up POIs around a given location. I have a Conversation

How to check what the first word in clipboard is?

Lets say my Cliboard variable is currently in this state: Clipboard:= "-Classes Essay on Hobbes I want to perform If conditions depending on the first block/wo

Hardhat Config Error HH100: Network goerli doesn't exist

I am trying to deploy a contract on Goerli, but I constantly get the error Error HH100: Network goerli doesn't exist Here is my hardhat.config.ts require("doten

How to specify datasource id to scheduler telerik ASP.NET Core

I need client-side filtering with Scheduler. I wish to use Filter with Scheduler. For this, I need to specify datasource id to Scheduler. Different other compon

Connect arrays of buttons in QT Designer

so I have a mass of buttons on a QT Designer GUI application all named LED_i where i ranges from 0-191, ie: LED_0, LED_1, ..., LED_191. I would like basically t

Should I use React Router redirect OR package.json "homepage" property for setting a relative path as homepage in my React app

TL;DR - I want my React app to start with a relative path domain.com/tweets Hello everyone, I'm creating a React app that fetches tweets from Twitter API. Becau

image convolutions help (image processing) without numpy

I need to write function that convolving an image with a kernel. In other words -The function receives an image with a single color channel (ie a two-dimensiona

Issue using the Wordpress REST API with Python

I am currently using the Wordpress API in order to post articles in my test website. As I'm quite new to this, I followed this tutorial : https://medium.com/ana

SwiftUI: Update height of an existing row in list

I'm new to programming in SwiftUI. I created a list of a custom view that expands on tap. However, whenever I tap the custom view, the height of the list row do

how to change word wrap mode for QListView?

I created a QComboBox and set a custom view for it: self.list_view = QListView() self.list_view.setWordWrap(True) self.list_view.setVerticalScrollBarPolicy(Qt.S

How to obtain all gaps as start .. stop interval in pandas datetime index

I want to find all gaps in pandas DateTime index as a list of intervals. For example: '2022-05-06 00:01:00' '2022-05-06 00:02:00' <- Start of gap '2022-05

QSharedMemory mapped file always have zero length

When the QSharedMemory example is running, a mapped file is created into /tmp directory. $ ls -s /tmp/*Example* 0 /tmp/qipc_sharedmemory_QSharedMemoryExampleff7

How can i send messages from MS Word file to wechat? [closed]

I have messages in word file and need to send the message on wechat. Is there any api or option by which i can send message to wechat with jus

JEST: My Isolated module function depends on a function found on the same module. After mocking, it still relies on the original implementation

I have abc.js const a = (a)=>{ return (b(a) + 1) } const b = (num)=>{ return(num + 1) } module.exports = { a, b } When I do my test for

Rotating QR code to the correct position using Python OpenCV

I'm a beginner in python and currently studying QR code detection and decoding. I'm having a hard time rotating the detected QR code to the right position. I al

Attempted import error: 'styleFunctionSx' is not exported from '@material-ui/system'

I'm getting this error when attempting to npm start: ./node_modules/@material-ui/core/esm/Box/Box.js Attempted import error: 'styleFunctionSx' is not exported f

Azure Pipelines: Start-Process with credentials not working

I am trying to start an application from Azure Pipelines YAML using Powershell. I want the app to start with a non-administrator account, while the Azure Pipeli

How to prompt a user multiple times by a batch file with multiple user inputs?

I want to change the serial number and product number of about 250 servers (they are not correct at the moment). I know the command that I need to use, but I ne

Extract excel range of data dependent on user input (yes or no)

How can I extract a range of cells (from a sheet) and extract said range of cells to an additional excel sheet based on user input (yes or no drop down menu)? T

IntelliJ (Android Studio) Pop Up Window Background Color

I'm using Android Studio which is basically an IntelliJ IDE. For a while now my pop up windows have a white background no matter if I hover over code or use cod

Error: export 'ɵCssKeyframesDriver' (imported as 'ɵCssKeyframesDriver') was not found in '@angular/animations/browser'

After upgrading my Angular from 12.0.2 to 13.0.3 everything was working fine. I was trying to remove some packages that was not used such as jquery, and some ot

How do I change the default cell width of a notebook?

I am so used to the Jupyter Notebook on the browser, that I feel VSCode's Jupyter Notebook cells are so wide. I was wondering if there is any way that I can red

How to hide App icon from launcher in Android 10 and higher

I know there is a way to hide app icon in Android 9(API 28) and lower. But is there a work around to make the same happen in Android 10(Api 29). The code below

Pass param with @using (Html.BeginForm FormMethod.Get

@using (Html.BeginForm("testGrid", "Transport", new { id= 3062 }, FormMethod.Get)) { How I can pass the param(id) with [HttpGet] in asp.net mvc without use sub

Is there a way to check that none of the rows in a grouping contain a value?

I have a query that looks like this: SELECT ordDetails.OrderId FROM orders.OrderDetail ordDetails WHERE ordDetails.Class <> 'O' GROUP BY ordDetails.

Oracle loadjava JSch

I am wondering if using loadjava to load the Java package called JSch.jar in an Oracle database and then loading another .java file, that utilizes the JSch pack

How to modify a stored procedure?

I'm using Tableplus for MacOs, and when trying to save any stored procedure after modifying it, it returns an error like: Msg: 156, line 1, state: 1, level: 15

Split translation results with pandas in Google Colab

Hi everyone I'm doing a traslation of words in csv/excel files using Google Colab and Pandas here is my code: import pandas as pd from googletrans import Transl