Latest Questions

Excel GROUP MINIMUM VARIABLE

ID Value Valid MAX Group3 2 NO 8 Group3 8 YES 8 Group1 4 YES 4 Group4 2 NO 1 Group4 3 NO 1 Group4 1 YES 1 Group1 2 YES 4 Group1

How do you import Pygame in Sublime Text 4 on Windows 10?

I've been trying to use Pygame on Sublime Text 4 for the longest. But every time I try to import it into Sublime Text it says that there's no module named Pygam

Stuck terminal when creating new flutter project with get_cli?

Here the activation command flutter pub global activate get_cli Here the create new project command get create project:getcli_test

Nested structured search is Sourcegraph?

I would like to search Java annotations with another annotations inside. I don't know how many nested levels there are or I don't want to specify it. Finally, I

Storing Laravel Logs using InfluxDb, Telegraf and Grok

I'm trying to centralize all Laravel logs using Telegraf and visualize them with Grafana. For now I can store logs with the following format: [2022-03-31 12:08:

Problem with exception handling using Python requests module

The following part of my code is supposed to do exception handling during HTTP requests. app.py class Get: def __init__(self, url): self.url = url

Could not load file or assembly 'Microsoft.Data.SqlClient' in .NET 6

I have developed a WPF app on .NET 5 (CRUD operations with Entity Framework Core). MSI packages are built with Wix toolset. Up to here everything works. I am cu

SwiftUI Navigation Title Text Priority (of two texts)

I have two texts that I would like to display in a navigation title: ... .navigationTitle(Text(getTitle()) + Text(" (\(selection + 1)/\(sequenceObject.h

Why TDengine database second service not write log into logDir?

Why TDengine database second service not write log into logDir? I use taosd -c /work/taos63000/config/taos.cfg to start it but it didn't write log into logDir

Scraping data with BeautifulSoup and Selenium

I am using BeautifulSoup and Selenium to extract web data (beautifulsoup to parse the HTML page and Selenium to click Next to get to the next list of items on t

scala add _2 s in a list of Tuple 2

I have the following mutable Hashmap in Scala: HashMap((b,3), (c,4), (a,8), (a,2)) and need to be converted to the following: HashMap((b,3), (c,4), (a,10)) I

Annotation @Profile() doesn't work in Spring (not Boot) project

Annotation @Profile doesn't work or works wrongly. I want to get 7 beans: first-sixth and firstConfig. In package app.a I created three classes. package app.a;

Fastest add with repeated indices: np.add.at / sparse.csr_matrix?

Say I have a num_indices * n indices matrix (in range(m)) and a num_indices * n values matrix, i.e., m, n = 100, 50 num_indices = 100000 indices = np.random.ran

Solana. Need to export all addresses from the blockchain to the DB

I found a way: https://docs.solana.com/developing/plugins/geyser-plugins OR https://github.com/solana-labs/solana-accountsdb-plugin-postgres But for this need t

How do I add an Automatic ID to this Python Database?

I made this database, but I dont understand why the id part doesnt work. As an response I get this: [(None, 'Wilhelm der Erste', 1027, '09.09.1087', '1066-1087'

How to return Observable from Callback

I have a service in which I want to implement the logic of an SDK. From this SDK I want to call an event that returns a payload. I want to create a method in wh

Is there difference between `Class.newInstance()` and `Class()` in Kotlin?

Is there a any functional difference in Kotlin between those? class Foo { companion object { fun newInstance() = Foo() } } // Create new instance s

How do I connect the commands

So, this is my first script ever and I'm not an programmer. Infact, im an 15 year old student, so dont expect much from me, but I need to write a script to crea

Operations with decimal numbers from a C++ program

The IBM i standard library provides the _DecimalT class for working with decimal numbers. However, compared to working on this type from C or RPG programs, work

How can I write a commands in GitBash while npm live-server is working?

I just started working with Git Bash, so I'm trying to do some commands while npm live-server is working, but Git Bash doesn't react at all. I figured out that

Angular not passing object to html page

I am having issues with learning angular, I didn't use to have these problems before, but now when I do these demos things work great until I switch from using

how to install channels redis in django using pip without errors

I am trying to install channels redis module using pip but so far am still getting errors. I installed Microsoft c++ build tools as the error suggested but so f

Hypothesis library: strategy for the complement of some other strategy

I'm using the Hypothesis library for unit testing. With this library you don't hand-pick inputs, but you define the complete set of inputs for which you want to

Deploy, host and sideload Excel Office Addin - Error loading add-ins

I've been trying to develop and deploy an Excel Office Addin and I've run into a few issues. I've created an office addin by following the tutorials posted on y

How to test the purpose string of NSPhotoLibraryUsageDescription in iOS using Expo?

I've been struggling to verify if the purpose string for photo library access really is working as expected. It started with the application got rejected becaus

stdin to an emscripten, about how to continue input?

related to Providing stdin to an emscripten HTML program? function stdin() { if (i < input.length) { var code = input.charCodeAt(i); +

Create program that read the xml and create Java Objects from it. (something like Spring application context)

Hi there as I mentioned in title I want create program which read xml and create beans(Objects) from it. <beans> <bean id="person3" class="Person"

Failed to Build Wheel For Opencv

I upgraded wheel, pip, and setuptools all to the latest version, with the following command. pip3.9 install --upgrade pip setuptools wheel When I try to install

How to append python dictionary to text file

I tried the following the code import json final_key = ["letters", "words", "score"] final_list = [] letters_1=['U', 'I', 'J', 'T', 'D', 'F', 'S', 'H', 'J'] fin

Angular - Async pipe in ngIf and text binding will not display first emitted value

I have very simple component template: <button (click)="emitNextValue()">Next Value</button> <p *ngIf="text$ | async"> {{ text$ | async }}