24,229,809 questions
0
votes
0
answers
6
views
How to optimize AWS Lambda zip size written in Go?
I have an old .Net lambda, that no longer works, because the runtime was outdated years ago. So I decided to rewrite it in Go.
The code migration is pretty simple, but when I try to build and zip it, ...
0
votes
0
answers
5
views
TailwindCSS styles from shared packages/ui are not applying in Next.js 15 + Turbopack app (Turborepo monorepo)
I'm building a Turborepo monorepo with this stack:
Next.js 15
Turbopack (Next.js 15 default)
TailwindCSS 4
packages/ui: a shared React component library (published locally with import alias @waspos/...
0
votes
0
answers
11
views
Have custom ICU collation as default?
I'm designing an application and I have some requirements regarding queries. I'm using Postgres 16+ and:
'a' = 'A' --true
'a' = 'á' --true
'a' = 'b' --false
'a-b' = 'a_b' --false
aka I need case ...
0
votes
0
answers
6
views
How to Ensure UTF-8 Kurdish (Sorani) Subtitles Render Correctly in FFmpeg?
I’m trying to burn or embed Kurdish (Sorani, ckb) subtitles into an MP4 video using FFmpeg, but the text (e.g., characters like ێ, ڵ, ڵا) sometimes appears garbled or incorrect. I want to ensure ...
0
votes
0
answers
10
views
Delphi and json serialization with spring collections
I am trying to include the Spring4D framework in my latest Delphi project. The collection functions like sorting and filtering are the main features.
However, I have great difficulty to serialize a ...
1
vote
2
answers
19
views
How to set the field if changed in using TypeScript keyof?
I want to set the field if changed. I tried:
interface Foo {
id: string;
bar?: number
}
function setIfChanged(newProduct: Foo, existingProduct: Foo, key: keyof Foo): boolean {
if (newProduct[key]...
0
votes
0
answers
9
views
How to solve the issue of flutter main.dart with emulator
Yaml file
flutter doctor
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app_links:compileDebugJavaWithJavac'.
> Could not determine the ...
0
votes
0
answers
9
views
How can I add a view to the over of the system keyboard?
How can I achieve this design—adding a segmented control between the Globe button and the Mic on the system keyboard? I want it to appear even when I change the inputView of a UITextView to a custom ...
0
votes
0
answers
9
views
Insertion and deletion in Scapegoat Tree
I didn't understand a bit what needs to be checked before a possible rebuild. Somewhere they write that when inserting, you need to check the condition that the depth of the inserted element is depth(...
0
votes
1
answer
6
views
C# DataGridView cells with conditional background colors go white when I sort by column
I'm conditionally making the background color of some cells green, yellow, or red. That works. However, every time I sort by a particular column, the cells temporarily revert to a white background ...
0
votes
0
answers
8
views
How to run multiple potentially multithreaded shell commands in python
I am trying to write a Python script to run another potentially multithreaded script in a way to further parallelise them.
Consider a (C++) executable which can be run as run_task <sample_number>...
-1
votes
0
answers
14
views
Why is python.strip() not working for file paths? [duplicate]
What I'm trying to do is import a file using open() in python. This works fine, and inside the text file is a bunch of other paths that lead to other files in the same folder, which I should then be ...
0
votes
0
answers
10
views
What is the difference between "hlt" and "jmp $" in x86 assembly
Both hlt and jmp $ seem to halt the CPU when executed, so what is the difference?
0
votes
0
answers
5
views
Django overwriting save_related & copying from linked sql tables
In django python, I am able to overwrite the save_related function (when save_as = True) so the instance I am trying to copy is saved and copied properly. When I save, though, I want other objects in ...
0
votes
1
answer
13
views
How do I create a keyed service with type parameters
My project has an interface that takes two generic inputs and is used by multiple classes. Each of these classes inherits the interface with different concrete classes
public interface ...