Newest Questions
24,163,874 questions
-9
votes
0
answers
66
views
How to guarantee that vector element will not be found? [closed]
I believe this picture will indicate the problem I'm experiencing:
Only when the string is not found then the loop should perform. And clearly this is not the case here.
So how to ensure that the ...
Best practices
0
votes
2
replies
28
views
Identify type of command: alias, command, function
How can I identify what a command is in PowerShell? Is it a function, alias, command, or something else?
For example, the PSWindowsUpdate module seems to include a command WUList which does not ...
Tooling
0
votes
1
replies
29
views
how to find a code of Geometric transformation
**
"What is the code to reflect a triangle across a line y=mx+b**
in an orthonormal coordinate system?
**
"What is the code to reflect a triangle across a line y=mx+b**
**in an orthonormal ...
3
votes
2
answers
59
views
UserDict.popitem is not LIFO
Consider the following snippet:
from collections import UserDict
class D(dict): ...
d = D(foo="bar", baz=42)
print(d.popitem()) # ('baz', 42)
class UD(UserDict): ...
ud = UD(foo="...
0
votes
0
answers
40
views
VBA incorrectly saying a cell is blank
I am writing a code to copy info from a single sheet into a new workbook with separate tabs for each month based on the date in a column titled Date on the source sheet. The code continues to tell me ...
Advice
0
votes
0
replies
19
views
In sieve filters, is it possible to split a string into a list of strings?
In sieve, suppose I have the following variable:
set "thevariable" "a bb ccc dddd eeeee ffffff";
Is there a way to split the value of this variable into the following list of ...
-3
votes
0
answers
33
views
Difficulty stripping track ID from Spotify web API search [closed]
I'm trying to to get the track ID in Python for a track in Spotify (https://open.spotify.com/track/track_id) after returning search results for a track using artist and track name but just keep ...
1
vote
0
answers
20
views
Keycloak EventListener: how to send a custom email template to an email address without creating a user?
I’m implementing a custom EventListenerProvider in Keycloak 26.
When a RESET_PASSWORD_ERROR event occurs, I want to send a notification email to the entered email address.
The important part is:
• ...
Advice
0
votes
2
replies
66
views
How to unescape HTML entities in python
I’m working with text data in Python that contains HTML-escaped entities such as &, <, and >. These entities appear in strings retrieved from external sources like web pages or ...
2
votes
1
answer
62
views
integrate() returns 0 for large finite upper bounds but correct result for Inf
I'm observing inconsistent behavior with integrate() in R when using large finite upper bounds versus Inf.
Consider the integral:
integrate(\(x) x^2 * exp(-x), 0, Inf)
# 2 with absolute error < 7....
Advice
0
votes
2
replies
29
views
Interface and @overflow topic
If an interface cannot extends a class then who it is possible to override to String method, equals method and hash method? As it is Interface it cannot implements the class property and doesn't have ...
0
votes
0
answers
50
views
Mariadb query to get information from two tables when a string match occurs in a certain column in ether of the tables
I'm trying to improve my mariadb knowledge. I have dabbled in it over the years, but all fairly simple queries, sometimes using INNER JOINs, sometimes linking more than two tables and that has been ...
0
votes
1
answer
27
views
For which urls is the http-authentication-factory name="application-http-authentication" from elytron used?
I have an example from wildfly, wildfly-widgets. There credentials are in a realm which is added to ApplicationDomain. The following urls work:
https://<myhostname>:8443/wildfly-widgets/...
0
votes
0
answers
38
views
SwiftUI MapKit- Pitch
I'm building a navigation app and I want the map to follow the user's location and heading with a specific pitch (e.g. 60 degrees...) , similar to how Apple Maps looks during navigation, or Google.
...
-2
votes
0
answers
65
views
After logging in, the user is not updated in the UI until a reload
I have a separate backend I'm building, and I basically have the main auth endpoints. I was making a frontend for it with Next.
The thing is, there's a problem with after I login. When I login, it ...