Newest Questions
24,188,415 questions
0
votes
0
answers
3
views
How to setup the QPlainText line-height in Python
I encountered a problem while using Pyton's QPlaintExt component: How do I set the line height of QPlainText? I've tried multiple approaches:
Method 1: Using QTextDocument with HTML (Guaranteed to ...
0
votes
0
answers
8
views
How to Join two RDDs in pyspark with nested tuples
I need to join two RDDs as part of my programming assignment. The problem is first RDD is nested while other is flat. I tried different things but nothing seem to work. Is there any expert on pyspark ...
0
votes
0
answers
10
views
neovim LuaSnip configuration problem, lua snippets work correctly, but json do not
I have an NvChad configuration for NeoVim, and I was trying to configure a LuaSnip plugin.
My cpp.json file is located at:
~/.config/nvim/snippets/vscode/cpp.json
My cpp.lua file is located at:
~/....
0
votes
0
answers
7
views
Indexing for fast vector similarity search in PolarDB 8.0.2?
My vector search query in PolarDB is performing a full table scan, and it's becoming unacceptably slow as my dataset grows to over 1 million records. The query calculates L2 distance between a user's ...
0
votes
0
answers
24
views
OpenCV producing completely black mask from image
I'm attempting to narrow a screenshot of an app to a specific section of the UI for later processing by Tesseract; in particular, the X Battle ratings located in the lower half of the image.
I did a ...
0
votes
0
answers
15
views
MacOS VSCode dotnet 10 Build a blazor movie database tutorial unable to 'dotnet ef migrations add InitialCreate'
λ ~/ dotnet --version
10.0.100
λ ~/ system_profiler SPSoftwareDataType SPHardwareDataType
Software:
System Software Overview:
System Version: macOS 26.1 (25B78)
Kernel Version: ...
0
votes
0
answers
22
views
Cannot allocate memory in static TLS block
I using a python 3.10 virtual environment, and try to import tensorflow as tf and import albumentations as A. And i faced a error on cannot allocate memory in static TLS block. Anyone know what is the ...
0
votes
0
answers
19
views
Hibernate 7 and H2 2.4.240 compatible issues
When upgrading H2 to the latest 2.4.240, the H2 specific tests failed with the following errors:
insert into posts (content,created_at,slug,status,title,version,id) values (?,?,?,?,?,?,?) [23514-240]
...
Best practices
0
votes
0
replies
13
views
Build histogram from pre-existing data
I have a question regarding histograms, not built from data collected in real time.
Our codebase deals with processes, all of which have a duration. I want to expose these durations as a metric. We ...
0
votes
0
answers
16
views
Jython calls wrong method when trying to call Java method with a boolean
My Java class has several flavors of the same method with each method taking a different Java type as an argument. One takes an int, one takes a boolean, etc.
When my Python code calls method(True), ...
0
votes
0
answers
10
views
Traefik (via Coolify labels) still applies Basic Auth on /api and /jobs
I’m running a container through Coolify and setting Traefik labels.
Basic Auth should only apply to the main site, while /api and /jobs should stay public.
Сonfig:
traefik.enable=true
traefik.http....
0
votes
0
answers
20
views
How to import a Haskell function in Python
I cannot fix this error. build.sh is trying to create a shared library but it fails:
~/Desktop/deepseek$ ./build.sh
Building Haskell shared library...
Loaded package environment from /home/success/....
0
votes
0
answers
28
views
Does Google One AI Pro include API access for Veo 3 or is it limited to Flow only?
I’m a student and subscribed to Google One AI Pro using the free-tier eligible discount.
In the Flow web interface, I can successfully generate videos using the Veo 3 model.
However, when I try to use ...
-6
votes
0
answers
47
views
Can you give me your feedback? [closed]
I want it make a kind of forum but where you can personalize your own post, also i wanted to make possible to personalize your own profile
https://habb.lat/
Best practices
0
votes
1
replies
37
views
Bash tool/function to replace an arbitrary literal string (not regex) in a file/variable
I want to write a small tool or Bash function that can be used like:
tool foo bar file
and it should replace all occurrences of foo in file with bar.
The key problem for me: both foo and bar can be ...