Newest Questions
24,175,439 questions
Advice
0
votes
0
replies
6
views
How to conditionally constrain Union types in Python?
Type Checking Challenge for AmiNode
I have an interesting challenge when parsing *.ami files.
I use the following recursive type, which has arbitrary hierarchical depth:
AmiName = NewType("...
0
votes
0
answers
5
views
How to handle partial dynamic route segments in React Router v7?
I am currently migrating my codebase from React Router v5 to v7 and have hit a roadblock regarding route validation.
In my older v5 codebase, we relied on path-to-regexp support to create routes with ...
-1
votes
0
answers
30
views
How do I improve the age output in my cinema function code?
I'm working on a Python function for a cinema that checks if a customer is eligible to view their film choice. I have included three pieces of information, which is age, film rating and ID. A yes or ...
0
votes
0
answers
5
views
Autodesk APS PKCE Model Derivative API
How to use PKCE with ModelDerivative?
I have created a new APS app using "Desktop, Mobile, Single Page App" template to access PKCE OAuth, but on configuration ModelDerivate do not show as ...
Tooling
0
votes
0
replies
6
views
My app's LazyColumn Doesn't feel as "lightweight" or "loose" as other android apps
I am new to android development with Kotlin and jetpack compose, and i have no experience with xml and views.
I switched from flutter to kotlin because of the janky scrolling on flutter's ListView, ...
0
votes
0
answers
18
views
How to validate Entra External ID access tokens in ASP.NET Core Web API
I have a scenario when I'm developing SPA (React) paired with an ASP.NET Core Web API. For now, we use AAD B2C for user authentication.
Authentication settings (tenant, client Id+secret) are passed to ...
0
votes
0
answers
19
views
How insecure is it to set a password for a federated user?
In Cognito, according to Linking federated users to an existing user profile, it is possible but not recommended to enable password login for federated users (SSO users):
You can set a password for ...
Advice
0
votes
2
replies
20
views
JSON Database for login details
Can we use JSON for storing login details just for the basic projects?.... ....................................................................................... . ................. . .. ... ... . ....
0
votes
0
answers
14
views
Undo doesn't emit `notified_changed` signal in a GTK/Python application
I am trying to develop a PyGObject application but experiencing a strange behavior. I’ve created a demo for you to reproduce it. This is the code:
import gi
gi.require_version("Gtk", "4....
1
vote
0
answers
16
views
I ran all Identity install commands, but scaffolding files are not appearing. What am I missing?
I’m running these commands from the project root in Visual Studio Community. Am I missing a step, or is there something else required for the Identity scaffolding to show up?
Step 1
dotnet new tool-...
1
vote
0
answers
23
views
Using a common library which contains MEF exports in multiple Visual Studio extensions
I am building a Visual Studio extension which uses a 3rd-party library (MonoDevelop.Xml to be specific). The library contains some MEF components intended to be used together with my custom components....
Best practices
1
vote
6
replies
15
views
What is the fastest way to multiply even-indexed integers of a ymmword with odd-indexed integers of a ymmword
I have been reading the amd64 architecture manual available here, especially through integer vector instructions. I don't quite understand the (v)pshufd instruction, though I wonder if this could be ...
-5
votes
0
answers
36
views
My game with connection with gemini or Chatgpt [closed]
I want to make a game on Unity connected to artificial intelligence, and every time the AI sends a different story. This is the general idea. Let's say I just want to do it—how do I make it? I've ...
0
votes
0
answers
20
views
Custom RBBI rules for ICU tokenizer that don't override all defaults
I am trying to modify ICU tokenizer to not split text into tokens on certain characters, like hyphens.
I got the custom rules up in SolrCloud and working, but it appears that as soon as I added
"...
0
votes
0
answers
30
views
Power Automate HTTP GET method issues file format is pdf or jpg, source file contains special characters encoding is OK
I have a quite simple Power Automate flow:
When a Jotform flow is submitted a HTTP action is started with GET method. Compose action is coming (outputs('HTTP_Fájlnév_ellenőrző')?['headers']['Location'...