Newest Questions
24,163,831 questions
Advice
1
vote
0
replies
5
views
Why do I get a TypeError when indexing a dictionary .items() result?
I am working with a dictionary in Python and trying to use the .items() function to get the key-value pairs. I saved the result in a variable l, but when I try to access the first element using l[0], ...
0
votes
0
answers
28
views
Keycloak JS session lost on page refresh (F5) behind Nginx reverse proxy - Keycloak 26 (Quarkus)
I'm facing a persistent issue where my Angular application loses its Keycloak session every time the user refreshes the page (F5). I am using Keycloak 26.5.2 (Quarkus) behind an Nginx reverse proxy ...
0
votes
0
answers
19
views
Why do I sometimes get "non-fast-forward (pull first)" vs "divergent branches" in Git?
I’m trying to understand the difference between two Git situations that seem similar but behave differently.
Sometimes when I try to push, I get an error like:
"Updates were rejected because the ...
1
vote
1
answer
50
views
How can I get the Claude Code extension in Cursor IDE on Windows to use my Conda Python interpreter specified in AGENTS.md?
I use the Claude Code extension in Cursor IDE on Windows 25H2 Pro.
I specified which Python interpreter agents should use in AGENTS.md in my project:
## Python environment
This project uses a Conda ...
-1
votes
0
answers
26
views
Why is my PHP query string malfunctioning?
I am writing a simple web-app to display flashcards using PHP, SQL and HTML.
To show the cards currently created I have a page called view_cards.php which loads with a query string comprising the ...
Best practices
0
votes
2
replies
70
views
How to make a controller for a top-down shooter game in Game Maker Studio 2
How do I make a controller for a top-down shooter game in Game Maker Studio 2?
I'm new to the GML Visual coding language I tried many things but I'm more used to GML Code and the code is always ...
Best practices
0
votes
0
replies
24
views
Collaboration between tenants on Microsoft 365
I’ve been researching collaboration between tenants to better understand the available options, but I’m struggling to find a clear path to follow.
My goal is to “connect” the tenants to improve ...
0
votes
0
answers
48
views
Interpolation between arrays of different dimension
I am working on a 1D rod heat diffusion simulation with a moving heat generation term.
Below is my code for the moving source:
# Functions
def wf_pos(t):
"""
Position of the ...
0
votes
0
answers
51
views
How to change date format from day-month-year to month-day-year
I have two very simple columns of data that I am trying to rbind, but can't because one is in day-month-year format and the other is in month-day-year format. I have been able to convert dates before ...
0
votes
1
answer
54
views
I want to make a conditional component in React but didnt work, What am I doing wrong?
I have code like this, and it works:
{(users.length===0)? (<></>) : (
<Pagination
sx={{ mt: '1rem' }}
page={page}
count={pagination.last_page}
onChange={...
0
votes
0
answers
28
views
How do I get a transparent Shell navigation bar on Android using MAUI 10?
I am trying to make my app fully edge to edge, while using MAUI 10 and a having a visible Shell.NavBar. On IOS, the application renders like this:
Note that the Shell navigation bar is displayed, but ...
0
votes
0
answers
39
views
Trying to understand the activity lifecycle of android [closed]
I am writing a simple pressure sensing android app that uses android 13+. The app senses pressure, and keeps track of it in a text file.
Not able to understand if it uses Java awt to manage its ...
Tooling
0
votes
1
replies
43
views
Check out my new Open Source Python Debugger
I’ve been building an open-source Python debugger called Flatline and wanted to share it here to get feedback from other Python developers.
Flatline is aimed at a specific class of failures that ...
Tooling
0
votes
3
replies
45
views
Query tuning: counting distinct matching rows across tables
I’m querying two large tables containing property transactions for 2024 and 2025. I need to count how many distinct properties (defined by county, PAON, street, city) appear in both tables, grouped by ...
-1
votes
0
answers
36
views
How can I resize my buttons in GUI in SciLab when I change size of window?
I am writing simple GUI application that calculates decision of system of linear algebraic equations. When I generate window, I got rectangle with gray background with my sizes that I set. I also ...