Newest Questions
24,192,917 questions
- Bountied 18
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
7
views
Laravel 11 - laravelcollective/html is deprecated. What should I use instead?
I recently upgraded my Laravel application from Laravel 9 to Laravel 11, and I was using the following package for form and HTML helpers:
"laravelcollective/html": "^6.4"
However, ...
0
votes
0
answers
8
views
Why call_data doesn't work? when i press the registration button nothing happens
when i press the π Ariza qoldirish button nothing happens Python aiogram2.25.2
@dp.message_handler(commands=['start'])
async def exit_system(message: types.Message, state: FSMContext):
# await state....
-1
votes
0
answers
12
views
My animation is not working because of weld
I imported a police baton from models category toolbox and it came with multiple files containing handle part which had weld to properly equip with my player. I tried to make a custom animation for ...
0
votes
1
answer
14
views
Aggregate sum in a table (instead of a worksheet)
I was wondering if there is a way to have aggregate sums in a column of a table, as it is easily done in a worksheet. In a worksheet, the following can be performed using =sum(A1γγ«:$A1γγ«), and so forth. ...
-1
votes
0
answers
7
views
Should we use CLS token or average of all the tokens of XLM-roBERTa for binary classification tasks?
Should we use [CLS] token or average of all the tokens of XLM-roBERTa for binary classification tasks, to check if a comment is spam or ham? Since it is multilingual model should we fine-tune it on ...
0
votes
0
answers
20
views
How to not instantly move the player if the player isn't facing the same direction as the movement input?
So I want the character to not instantly move if the input vector isn't the same as the facingDirection vector. Instead I want the character to just change its facing direction in accordance with the ...
0
votes
0
answers
19
views
GRPC service is not accessible via Eureka
I have a microservices setup with the following services:
ECOM Service
API Gateway
NOTIFICATION-SERVICE (Spring gRPC-based service)
Iβm trying to make the ECOM service communicate with the ...
0
votes
0
answers
28
views
Randomly slow MongoDB queries
I have been experiencing slow mongo queries suddenly. The execution times varies very randomly. Initially I was suspecting this expensive aggregation operation :-
{
"appName": "...
0
votes
0
answers
10
views
.NET 9 x86 interop BadImageFormatException on Azure VM but works fine locally
I have a .NET 9 console app built for x86:
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<PlatformTarget>x86</...
0
votes
0
answers
18
views
redirect STDERR in git-bash for Windows (11) not working any more
I have been using a bash script on my Windows environment for a long time to automate certain git commands. With a new Windows 11 installation I get a completely unexpected problem with the script: ...
0
votes
0
answers
16
views
Enabling Code Templates on Eclipse CDT (LSP)
With (old) Eclipse CDT we could define templates under Preferences > C/C++ > Editor > Templates which could be inserted into the code using CTRL + SPACE shortcut.
After upgrading to C++20 I ...
-2
votes
0
answers
32
views
The Question is to print the lexicographically smallest string. Please have a look at my approach
You are given a string s and a robot that currently holds an empty string t. Apply one of the following operations until s and t are both empty:
Remove the first character of a string s and give it ...
0
votes
0
answers
25
views
How do I write nested custom serializers in Rust serde?
I am trying to write custom serialisers for a multi-level data structure (for serde in Rust), and I need some help connecting the levels together.
For example, I have something like:
struct A {
x: ...
0
votes
0
answers
22
views
Getting unexpected filtering results when scaling up texture
I have a large texture (5040x5040) that I scale up 24x it's normal size when rendering.
I'm rendering a 960x960 2D rectangle (two triangles), with a (40x40) section of my giant texture being stretched ...
-5
votes
0
answers
36
views
RISC-V Assembly [closed]
This is not really a question but last year i got a small final project about display a bitmap image on Bitmap Display on RISC-V IDE. I was trying to find some ideas, solutions on here but it did not ...
0
votes
0
answers
37
views
Spark OutOfMemoryError when reading large JSON file (3.5GB) as wholeText due to colon in path
Iβm trying to load JSON data into an Iceberg table. The source files are named with timestamps that include colons (:), so I need to read them as plain text first. Additionally, each file is in a ...
0
votes
0
answers
39
views
How to update only one record in an infinite query after a mutation in React Query v5 (without refetching all pages)?
Iβm using React Query v5 in a Next.js (App Router) project with an infinite query to load paginated user data.
Each page contains around 10 users. The query is implemented with a useLoadMoreData hook ...
-4
votes
0
answers
193
views
How to count the number of bitonic sequences with sum N efficiently in C++ or python? [closed]
the problem itself
I'm trying to solve a competitive programming problem about bitonic sequences.
A bitonic sequence of positive integers S1, S2, ..., Sk is defined such that:
The total sum is N:
S1 + ...
0
votes
0
answers
29
views
Red flash/bounce" behind a Flutter WebView on iOS when the keyboard appears
I am experiencing a bounce issue when the keyboard appears while the Input is focused, as shown in the attached screenshot video.
IssueVideo
To facilitate viewing, I have set the background to red.
...
-2
votes
0
answers
37
views
Merge reports of multiple suites in one report
I have several suites that run Karate. Iβd like to see all the results together in a single report instead of having one report per suite. What options are currently available to achieve this?
I'm ...
-1
votes
1
answer
49
views
Pdo weird error on prepare function, the first don't work, the second work [closed]
//refer
if($_GET['refer'] != ''){
$query_stats_refer = $db->prepare("SELECT day FROM ".$prefix."stats_refer WHERE day='".date("d-m-Y", time())."' AND refer='&...
-4
votes
0
answers
34
views
GitHub account flagged: Unable to authorize third-party apps, how to resolve? [closed]
flagged by github
mau ijin tanya guys, biar akun githubku di re-flag sih gimana ya? penyebabnya apa dan solusinya apa? udah contact pihak github disuruh nunggu. perasaan commit biasa aja buat projek. ...
0
votes
0
answers
51
views
canOpenURL(_:) Without Using UIApplication.shared
if !UIApplication.shared.canOpenURL(URL(string: "someApp://")!) {
return
}
When I include the UIKit main app in other SwiftUI extensions, I get this error:
'shared' is unavailable in ...
0
votes
0
answers
51
views
"Ambiguity between (variable) & (variable)
I am trying to make a first person movement script in unity and it was working fine, I was creating some terrain when out of nowhere without me touching this script, this error appeared.
when I hover ...
1
vote
0
answers
22
views
Revit API - Not able to control and export linked Files as IFCs using Revit 2024 API
Tried using API to control the behavior of Linked Files export as IFCs using the IFC Exporter API in Revit 2024.Not able to implement. Code snippet below for reference. Good to know if any other API ...
-2
votes
0
answers
28
views
Failure to connect using RDP [closed]
When I initiate the connect I get an error.
Error Reads
"The selected user credential requires that local smart card and 'Windows Hello for Business' devices be made available to the remote ...
0
votes
0
answers
18
views
How to Use OpenCL in Exynos2400 in termux?
I want to compile and run openCL programs to do some parallel computing on my mobile device s24fe(Exynos2400e) I tried to compile clinfo but it always returns 0 in no of devices
I tried various ...
0
votes
0
answers
17
views
Custom Effect/Shader in SharpDX
I want to create a custom pixelation effect and apply to a DeviceContext:
using var shadowEffect = new SharpDX.Direct2D1.Effects.Shadow(DeviceContext);
shadowEffect.SetInput(0, shadowBitmap, false);
...
1
vote
0
answers
29
views
Transforming a UTF-8 string in a const context
I have a function capable of translating UTF-8 characters into a custom 8-bit encoding:
const fn char_to_custom_encoding(c: char) -> u8;
I'd like to apply it at compile time to a string literal so ...
1
vote
1
answer
26
views
How to download files generated by OpenAI Responses API (Code Interpreter tool)
I am developing a Flutter app and want to use the OpenAI Code Interpreter tool to generate and download files.
The Code Interpreter runs correctly and generates the file and includes a link However, ...
0
votes
0
answers
22
views
How do I change the editor's color settings for Visual Studio Code in order to see the javascript variable names that I have mistyped?
My color settings are for a black background of the editor and are "all white" for the text except for the curly brackets, for those I have separate colors.
Now, when I make a type like ...
1
vote
0
answers
27
views
How does Spring JPA "instantiate" the interfaces that extends repositories?
I'm delving into Java concepts such as dynamic proxies, reflection, etc. That's why I'm trying to implement some Spring features. Anyway...
I created the dynamic proxy:
@Override
public Object invoke(...
1
vote
2
answers
73
views
Only half the text is working as a clickable link
I made a login website recently and used JavaScript for the first time and everything works perfectly except one tiny detail. "Forgot Password?" Works only for half the text. For another ...
0
votes
0
answers
31
views
Best practice for storing iOS and Android in-app purchases in the same database
I'm developing a mobile app that has in-app purchases on both iOS (App Store) and Android (Google Play). On the backend, I need to store purchase records in a database.
I'm debating whether to use one ...
1
vote
0
answers
26
views
ListView inside ConstraintLayout gets pushed offscreen by other elements positioned above it
Even though ConstraintLayout in Android is not new, I have only begun to convert my older layouts over as I find time or when creating new layouts, so my experience with them is limited. They don't ...
0
votes
0
answers
20
views
How to reuse a Django model for multiple relationships
I want to make a task model and a user model. And I want each task to be able to be related to 3 users. Each task should be related to a creator user, an assignee user, and a verifier user. And I want ...
0
votes
0
answers
38
views
Python loss of connection after OS USB Disconnect/Reconnect, but Python can't see the device
While I'd appreciate the answer, I'd really like to understand how to diagnose what's happening in Python.
The basic issue is that Raspberry PI OS or a driver causes some USB connections to disconnect ...
0
votes
0
answers
37
views
What is the meaning of the error and how do I fix it?
terraform init
Initializing the backend...
Initializing modules...
β·
β Error: Invalid module source address
β
β on main.tf line 7, in module "ec2":
β 7: source = "modules/ec2&...
1
vote
1
answer
34
views
where to find format API reference?
i just discovered this (see top answer) where they used format() for bulk query, but i can't find format anywhere in both mysql and mysql2 docs. Does anyone know where to find it?
1
vote
0
answers
27
views
How do I extract the "hue" value only from and HSV in racket?
I am working on a program to convert and RGB color value into an HSV and then gather only the hue value from the hsv for manipulation
(define mycolor (make-color 12 168 45))
(define myhsv (color->...
-1
votes
0
answers
28
views
Mockito spying on a class which contains a static method which calls another static method
I am trying to get a unit test to work using Mockito 5.14.2. The method I am trying to unit test is a static method (m1). Within the same class Myclass1 there is another static method (m2) which ...
-1
votes
1
answer
54
views
Pygame/Python window keeps crashing [duplicate]
I am a beginner to python & pygame, and im trying to make a pygame window. However, whenever the window opens, the window crashes and says not responding. can someone help me?
import pygame
...
-1
votes
0
answers
45
views
How to introspect Canvas/WebGL games for UI elements? [closed]
I'm facing a challenge with automating the testing of hundreds of simple web games (built with Canvas/WebGL). My goal is to create a robust automation suite using Python and the Robot Framework.
The ...
-4
votes
0
answers
37
views
Which is better for building customized websites for business that need CMS, Wordpress or Netlify or Framer or Webflow? [closed]
everyone! I am trying to build websites for businesses. I am confused whether I should use Wordpress, Netlify, or Framer when making websites. I like how you can code from scratch in Netlify but also ...
0
votes
0
answers
41
views
SwiftUI focusable doesn't work on iPad with external keyboard
I have a custom input view in my app which is .focusable(). It behaves similar to a TextField, where it must be focused in order to be used.
This works fine on all platforms including iPad, except ...
2
votes
1
answer
54
views
How to Use Virtual-Key Code Constants in Powershell?
In a Powershell script, Mute is performed with:
(New-Object -ComObject WScript.Shell).SendKeys([char]173)
That works.
Windows reference lists constants for each key. Mute constant is VK_VOLUME_MUTE.
...
0
votes
0
answers
26
views
How do I run python programs from a point and click environment? [closed]
Sorry if this is simplistic, but searching is not finding the answers I need.
I have taught myself enough Python to make several stock analysis and screening programs. At the moment I am running them ...
-1
votes
1
answer
91
views
How to reduce the redundant code in a header file?
I'm writing unit tests to test C++ classes. The functions below test to see how a function handles an exception. The code below does work, but it is very redundant, I would prefer to have 1 template ...
0
votes
0
answers
37
views
Text to Speech Libraries that sound more Human? [closed]
I am working on an app that needs to incorporate some Text to Speech. Right now, I'm using the one that comes with iOS:
func speakText(_ text: String) {
synthesizer.stopSpeaking(at: .immediate)...
1
vote
0
answers
36
views
Common Lisp: performance issues with reading lines from *standard-input*
Long story short, I need to process 100 Gigabytes of logs in a weird format, then do some analysis on the results.
Chose CL as my tool, because I'm already "comfortable" with it, despite not ...