S SearchRSS

Google CSE + RSS

SearchRSS

Aggregated news

Latest news
Newest questions tagged python - Stack Overflow

Should I use space.static_body or create my own static body?

I've been trying out Pymunk, and I wanted to create a static body. I've been using pymunk.Body so far: space = pymunk.Space() body = pymunk.Body(body_type=pymunk.Body.STATIC) shape = pymunk.Circle(body, radius=10) space.

Newest questions tagged c++ - Stack Overflow

How does artificial-intelligence training work? [closed]

I am making my own AI model, which i started using raw rust for, then c++. I really need help with AI training though since no sites actually show how it works and how in the world does it find out what and how parameter

Newest questions tagged c# - Stack Overflow

Marshal.GetActiveObject not seeing opened instance of Excel

I have made an EPLAN API with C#. It uses .NET Framework 4.8.1. The app gets an opened instance of Excel using Marshal.GetActiveObject to then make changes to the data. The code works fine and is able to see the opened i

Newest questions tagged python - Stack Overflow

uniswap-python cannot be installed [closed]

I am trying to pip install uniswap-python. However, I get the following error. I already tried downloading the Microsoft Build Tools. I also have Microsoft Visual C++ v14 Redistributable (x64) - 14.51.36247 installed as

Newest questions tagged python - Stack Overflow

How to force langchain model to use my language instead of English

I created an agent with tools. I am asking the agent about weather (in Russian language). The tool get_weather expects Russian city names (e.g. Москва instead of Moscow), but the model puts English words into my tool My

Newest questions tagged php - Stack Overflow

PHP session_id() breaks session

TL;DR: I can't get PHP sessions working any more when using session_id($myId) prior to session_start(). My code stopped working properly a couple of weeks ago, after years working. I discovered its source in a really str

Newest questions tagged c# - Stack Overflow

How to make data virtualization in WPF

I have a scenario where an app loads some data from the database. Suppose there's column with large size data and I want to load it separately only when items are visible. I have already done UI virtualization. And I do

Newest questions tagged c++ - Stack Overflow

How to optimize this IVF code for vectors in C++? [closed]

I'm dealing with a task to use IVF to split vectors into clusters with kmeans. However, I get time limit exceeded in 2 tests, so it needs more optimization, I would say but cannot figure out how now. Could you help me wh

Newest questions tagged java - Stack Overflow

Java.lang.RuntimeException and Maxent

I am trying to run Maxent with all 19 Bioclim layers. I have the csv file of locations and I have clipped the Bioclim layers to the relevant area. I have converted three of those clipped layers to .asc files. If I run Ma

Newest questions tagged css - Stack Overflow

How to make the transition for li not glitch out on hover

I know it is because the hover is only for the , although I'm not really sure what would be the best way to increase the hover area without messing with the background it has. li { font-size: 17px; font-weight:

Newest questions tagged css - Stack Overflow

How to make the transtion for li not glitch out on hover

I know it is because the hover is only for the , although I'm not really sure what would be the best way to increase the hover area without messing with the background it has. li { font-size: 17px; font-weight:

Newest questions tagged c# - Stack Overflow

Build a static dispatch table of non-static methods in C#

In C#, I have the following methods: private async Task FooHandleEventAsync(Client client, EventArgs args) { // ... } private async Task BarHandleEventAsync(Client client, EventArgs args) { // ... } public Task