Skip to main content
  1. About
  2. Stack Internal
The 2026 Annual Developer Survey is live— take the Survey today!

Newest Questions

Question list filters

Filter by
Sorted by
Tagged with
Filter by Employee ID
Score of -2 -2 votes
0 answers 0 answers
16 views 16 views

Lambda in max returns weird value

Why does the code L = [1, 2, 10, 4, 3, 191, 14, 1] print(max(L, key=lambda x: x % 2 == 0)) print 2 and not 14? The way I see it it should return the largest even number. But Python doesn't think so ...
alekscooper's user avatar
  • 889 reputation score 889
Score of 0 0 votes
0 answers 0 answers
9 views 9 views

Invalidate strings that contain spaces, numbers and letters, but end with space and number, with regex

I am making a form that has street name and street number in separate fields and I want to validate them. How do I validate that a string has spaces letters and numbers, but doesn't end with space and ...
IgorArnaut's user avatar
  • 170 reputation score 170
Score of 0 0 votes
0 answers 0 answers
7 views 7 views

how to trouble shoot in stm 32

Program received signal SIGTRAP, Trace/breakpoint trap. WWDG_IRQHandler () at ../Startup/startup_stm32f411ceux.s:117 117 b Infinite_Loop (gdb) how to fix this isuue in stm 32 ...
Anirudh Mk Ani's user avatar
  • 1 reputation score 1
Score of 0 0 votes
0 answers 0 answers
14 views 14 views

The Cloudinary image upload returns 403 when uploading a profile image with Multer and Express

I am practicing a PERN stack backend project using Prisma ORM, and I am implementing user registration with a profile image upload. I am using: - Node.js - Express.js - Prisma ORM - PostgreSQL - ...
Rupesh Choudhary's user avatar
  • 1 reputation score 1
Score of -1 -1 votes
0 answers 0 answers
11 views 11 views

Tailwind interferes with default button style

globals.css: @import "tailwindcss"; :root { --background: #ffffff; --foreground: #171717; } @theme inline { --color-background: var(--background); --color-foreground: var(--...
khteh's user avatar
  • 4,364 reputation score 4364
Score of -1 -1 votes
0 answers 0 answers
12 views 12 views

Playwright Fixture Run In Order and Fixtures Options

I coded a simple Playwright test where I have a storage state login and searchFix.ts. I want to have my test code running the login follow by searchFix.ts and the rest of my code. searchFix.ts import {...
Ivan's user avatar
  • 2,776 reputation score 2776
Score of 0 0 votes
1 answer 1 answer
25 views 25 views

Powermail settings not changing in sitepackage setup?

I am making a site package for TYPO3 13, and in it I need to override some Powermail settings eg. checkClasses, but the settings are not working. Configuration/Sets/SitePackage/setup.typoscript: ...
user500665's user avatar
  • 1,476 reputation score 1476
Score of -3 -3 votes
0 answers 0 answers
32 views 32 views

What are the most useful Node.js commands every developer should know? [closed]

I'm looking for a comprehensive list of useful Node.js commands that developers commonly use in day-to-day development.
work acc's user avatar
  • 1 reputation score 1
Score of -4 -4 votes
1 answer 1 answer
34 views 34 views

Explain the difference and similarity between two code blocks [closed]

Code block 1 is repeat (10) Code block 2 is forever Explain how they are different and how they are similar
H. S. B's user avatar
  • 1 reputation score 1
Score of -2 -2 votes
0 answers 0 answers
11 views 11 views

Keeping state (connections) alive with Cloudflare workers

At work I built a custom datastore / multimodel database on top of io_uring and Rust, which I would like to expose to the public via Cloudflare workers. Unfortunately there is a cost in setting up a ...
Mascarpone's user avatar
  • 2,733 reputation score 2733
Score of -3 -3 votes
1 answer 1 answer
29 views 29 views

I have a working docker-compose.yaml - what specifically will kompose convert NOT carry over into production-grade Kubernetes manifests?

I have a compose.yaml that works fine locally — app plus Postgres, with depends_on, a build: section, some bind mounts, and env vars for credentials. I'm moving this service to Kubernetes and found ...
Mikhail Dorokhovich's user avatar
  • 1 reputation score 1
Score of 1 1 vote
0 answers 0 answers
21 views 21 views

Qt QCheckBox indicator checkmark not visible with custom stylesheet

I'm building a Qt 6 application with a custom theme. I'm having trouble getting the QCheckBox indicator to display a visible checkmark when checked. Here is the relevant code: app.setStyleSheet( &...
Ahmad Ismail's user avatar
  • 14.8k reputation score 14792
Score of 0 0 votes
0 answers 0 answers
11 views 11 views

PowerShell .ForEach() method

I tried to reproduce an example from the MS page: about_arrays The five lines of code are: $myObject = [pscustomobject]@{ singleValue = 'Hello' arrayValue = @(0..10) } $myObject.ForEach('...
P. Wormer's user avatar
  • 387 reputation score 387
Score of -3 -3 votes
2 answers 2 answers
65 views 65 views

How to use a list in a pattern in re.match

I'm making a program to automate a task, and at some point in it I need to use a list comprehension [f for f in ...] to make a list, and I want to use re.match() or re.search() to compare the files in ...
Patypatty's user avatar
  • 1 reputation score 1
Score of -4 -4 votes
0 answers 0 answers
60 views 60 views

Why do I get a syntax error "Expected ')'" from my compiler but the syntax is correct? [closed]

I have created a 'baregear' named compiler for easier to readable, writable, and baregear automatically implement 'prevent user from unexpected crashes of software without any correct feedback' ...
First Person's user avatar
  • 68 reputation score 68

1
2 3 4 5
1609578
15 30 50 per page
Morty Proxy This is a proxified and sanitized view of the page, visit original site.