79825187

Date: 2025-11-20 07:10:41
Score: 1
Natty:
Report link

You forgot an imaginary unit in exponential function:

return np.cos(np.pi*u/w) * np.sin(alpha*u)*np.exp(2*np.pi*1j*x*u/(wavelength*f))

Now you can get a pretty figure

import matplotlib.pyplot as plt
plt.imshow(I)
plt.colorbar()
plt.show()

difraction pattern

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: qrspeter

79825169

Date: 2025-11-20 06:41:34
Score: 4
Natty:
Report link

My question is: is this form mandatory before I can test/use subscription functionality?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: doobean

79825164

Date: 2025-11-20 06:36:33
Score: 1.5
Natty:
Report link

this site is not for questions about the law

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: jsotola

79825163

Date: 2025-11-20 06:36:33
Score: 2
Natty:
Report link

This seems to be an problem comes woth JDK 11 & G1GC. The memory is not released back to the OS even after completing load goes down. I have experienced the exact same symptomps you mentioned while doing load tests.

Nothing wrong with Garbage collector. I checked it using jcmd and jstat commands.

This article also mentions the same issue.
https://thomas.preissler.me/blog/2021/05/02/release-memory-back-to-the-os-with-java-11

As a permanent solution, upgrading the JDK to newer version or different garbage collector can be considered.

In addition to that I was able to obtain lower memory consumption by tuning Xms JVM parameter. However this does not address the original issue but sets the memory utilization in a lower level.

Reasons:
  • Blacklisted phrase (1): This article
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kstackr

79825155

Date: 2025-11-20 06:17:29
Score: 1.5
Natty:
Report link

It's worth noting this is for a shader resources declaration system that would be shared between the host and HLSL, so I don't exactly have options other than this or preprocessing shaders externally which I wouldn't want to do. I picked the simple usecase in the original post for simplicity, this is the actual usecase in HLSL:

#define BEGIN_BINDING_TABLE(name, slot)
#define END_BINDING_TABLE()

#define RESOURCE(slot, idx, descType, type, name) \
    type name : register( GET_REG_##descType(idx), space##slot );

Where I want to eliminate the need for entering the slot per resource, since the whole table is functionally supposed to be a single slot, and instead have BEGIN_BINDING_TABLE be a sort of macro with variadic args

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Doofus

79825152

Date: 2025-11-20 06:14:28
Score: 2.5
Natty:
Report link

Android Studio expects a xcworkspace, so you may need to create a workspace and add the project in order to be able to select your target/configuration.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: markturnip

79825150

Date: 2025-11-20 06:11:27
Score: 3.5
Natty:
Report link

Then, how to use manim for generating geometry, but not render it locally, and render it in WebGL

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: YingKai Niu

79825142

Date: 2025-11-20 06:06:26
Score: 0.5
Natty:
Report link

I believe its a dependency compatibility issue with Studio (or it could be bug as well). I cant test this scenario as I am on Win10 with Studio ver 23.10.8.
My suggestion will be:
1. Downgrade to lowest possible dependency version and then move forward until your issue resolved.
2. Try to create new project and then check if issue still occur in new project. If issue does not persist then use same dependency version in your original project.
2.1. Along with step 2, try to delete all the folders start with dot (.) after closing the studio. Doing this wont impact your project file, it will delete only settings and cache file of this project.

If none of above solution works then create a bug reporting post in UiPath forum

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Gubba Nub Nub

79825139

Date: 2025-11-20 06:03:25
Score: 2
Natty:
Report link
// Source - https://stackoverflow.com/a/68778493
// Posted by Alexandr Shulaev, modified by community. See post 'Timeline' for change history
// Retrieved 2025-11-20, License - CC BY-SA 4.0

$('.card').click(function(e){
    e.preventDefault();
    $(this).toggleClass('flipped');
})
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: دحومي ٩٩

79825121

Date: 2025-11-20 05:35:19
Score: 0.5
Natty:
Report link

There are various ways to implement auth, what you have done is good, but it is only a part of the puzzle. Depending on the type of application you are building - whether the data on the page is tightly coupled with the users themselves or static data that remains same for most users, you may get away without an auth check in the in the middleware. I strongly suggest having another check in the components that render the authorized data, as does Next.js.

If you are not heavily reliant on static data, do away with the auth in the middleware, and implement a combination of a user context provider and a DAL as described in the link above.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Azam M

79825119

Date: 2025-11-20 05:34:18
Score: 0.5
Natty:
Report link

The idiomatic way to do this is to dupe the strings on their way into the ArrayList so that pointer ownership is clear. Or, alternatively, to limit caller to passing comp time values so cleanup is unnecessary. Not fancy, but that's kind of the point.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Rich Remer

79825088

Date: 2025-11-20 04:32:05
Score: 2
Natty:
Report link

there is no issue to develop app with low SDK level but as long as you are planning to publish app on play store you app should support the targetedSDK at least API level 35 as for supporting API level you need to use the latest dependencies and there are so many chances that those dependencies needs minSDK level more than 24. on latter you have to solve this issue so its better to don't use low level min SDK

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rutuja Mogal

79825083

Date: 2025-11-20 04:17:02
Score: 2
Natty:
Report link
<!--
Source - https://stackoverflow.com/q
Posted by Mick
Retrieved 2025-11-20, License - CC BY-SA 3.0
-->

    <input type="button" value="Download as CSV file" onclick="window.location.href='call_log.csv'  " />
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kimjay Labis

79825075

Date: 2025-11-20 03:56:58
Score: 0.5
Natty:
Report link

Actually this is very easy to do without any of the APIs or scripts! Change each question format from multiple choice to checkboxes/multiselect, select responses tab, create google sheet for responses.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Bennett Brown

79825072

Date: 2025-11-20 03:50:57
Score: 1.5
Natty:
Report link

Below is the query which applies ILM policies to the existing inidices

where mylogs-* is the index pattern which matches the list of indices and mylogs-ilm-policy is new policy which I want to apply.

PUT /mylogs-*/_settings
{
  "index.lifecycle.name": "mylogs-ilm-policy"
}
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Angel H

79825062

Date: 2025-11-20 03:19:51
Score: 0.5
Natty:
Report link

The reason this happens is that a multipart/form-data request changes format depending on whether a file is included.

When a file exists, the client sends:

Content-Type: multipart/

form-data; boundary=...

Spring recognizes it as multipart → JWT filter runs normally → authentication succeeds.

When no file is included, many clients (Axios/Fetch) send:

Content-Type: text/plain

or omit the boundary. Spring no longer treats it as multipart, and your JWT authentication filter may not see the Authorization header consistently. This leads to:

401 INVALID_ACCESS_TOKEN

Fix (Frontend) :

Force the request to always stay multipart:

const formData = new

FormData();

formData.append("title",

title);

formData.append("content",

content);

if (!file) {

formData.append("file", new

Blob([]), "");

}

axios.post("/boards",

formData, {

headers: { Authorization:

`Bearer ${token}` }

});

Fix (Backend)

Allow the file part to be optional:

@RequestPart(value = "file",

required = false)

MultipartFile file

The issue isn’t your JWT — it’s that the request format changes when no file is present, causing Spring Security to skip or mis-handle authentication.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Saini Patro

79825059

Date: 2025-11-20 03:14:49
Score: 0.5
Natty:
Report link

I tried a bunch of stuff, including making sure I was using a compatible version of Python (I went with 3.8), switching from normal venv to Anaconda, updating pip, and I even attempted to manually download wheel files, but none were available for windows, only for Linux.

The thing that worked for me was going to https://visualstudio.microsoft.com/visual-cpp-build-tools/ and installing C++ build tools. After that, my PyBullet installation worked. That's it.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Noah Soffian

79825056

Date: 2025-11-20 03:08:48
Score: 1.5
Natty:
Report link

**I strongly recommend keeping Laravel and React in separate repositories
**
Reasons:

1. Future React Native Compatibility
2. For a good project structure and clean separation
3. Scalability and development flexibility
4. From my development experience, easier to setup domain system and micro-service architecture

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: L.Benrong

79825055

Date: 2025-11-20 03:08:48
Score: 2.5
Natty:
Report link

From SSD or memory hardware hw POV. A memory Byte (8 bits) is addressed using binary address (hw) conductors. So 10 address conductors is 2^^10=1024 call it KB. 20 address conductors is 2^^20=1048576 call it MB. 30 address conductors is 2^^30=1073741824 call it TB. The notation doesn’t change the exact number. There is no such thing as a 1,000,000,000 TB in computer memory.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rik Humphries

79825045

Date: 2025-11-20 02:35:41
Score: 2
Natty:
Report link

If you’re still looking for a tool to find unused code, you might like a new VS Code extension I built – Dart Unused Code. It scans your Flutter/Dart codebase and highlights unused functions (classes and variables coming soon). The extension shows unused elements directly in the editor. Would love to hear your feedback!

https://github.com/utsavtulsyan/dart-unused-code

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Utsav Tulsyan

79825043

Date: 2025-11-20 02:33:41
Score: 0.5
Natty:
Report link

for kotlin DSL

inside defaultConfig block, create first a variable as reference.

val apiKey = project.findProject("MyOpenWeatherMapApiKey")?.toString()
buildConfigField("String", "OPEN_WEATHER_MAP_API_KEY", "\"$apiKey\"")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jack

79825041

Date: 2025-11-20 02:29:39
Score: 1.5
Natty:
Report link

@Chronocidal =SUBSTITUTE(SUBSTITUTE(TRANSLATE(BAHTTEXT(100000)),"baht","dollar"),"satang","cent(s)") give output as 100,000 dollar.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Chronocidalgive
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Harun24hr

79825038

Date: 2025-11-20 02:26:39
Score: 1
Natty:
Report link

Sounds like you're looking for Error Prone's https://errorprone.info/bugpattern/ArgumentSelectionDefectChecker, which would be much simpler than the approaches you seem to be looking at.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Louis Wasserman

79825036

Date: 2025-11-20 02:20:37
Score: 5.5
Natty:
Report link

Please share the code and error so we can help you, and also open your options for programs to use. I specialize in Python, so be more specific for everyone else.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please share the code
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: COLTON FIKES

79825033

Date: 2025-11-20 01:48:31
Score: 0.5
Natty:
Report link

In my case immediately after creating instance of editor like

const editor = ace.edit(container, {
  animatedScroll: false,
});

I had to add

editor.renderer.setPadding(0);
editor.renderer.setScrollMargin(0, 0, 0, 0);

only that helped

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: stopsopa

79825027

Date: 2025-11-20 01:23:27
Score: 1.5
Natty:
Report link

If you want the offset as a number you need to divide by a float ( 3600.0 or 1.hour.to_f ) otherwise offset that are not on the hour will be incorrect (e.g. Asia/Rangoon has an offset of UTC+06:30)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alex Slotty

79825024

Date: 2025-11-20 01:11:25
Score: 1.5
Natty:
Report link

thanks for this answer. managed to make it work by adding the below in base.html.twig

{% block javascripts %}
    {{ encore_entry_script_tags('app') }}
{% endblock %}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Steven Yip

79825018

Date: 2025-11-20 00:46:20
Score: 4
Natty:
Report link

My goto would be C# in a Nutshell, but currently it's only up to C# 12. Are the examples in https://learn.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-14 not enough?

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Martheen

79825011

Date: 2025-11-20 00:24:15
Score: 1.5
Natty:
Report link

Take a look at https://pub.dev/packages/popover. It's exactly what you're looking for and actively maintained

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: kolistivra

79825007

Date: 2025-11-20 00:08:12
Score: 5.5
Natty: 5.5
Report link

I'm asking the same question, and would like to know how is your status with it now?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tegar Gamer

79824996

Date: 2025-11-19 23:31:05
Score: 3.5
Natty:
Report link

Another question is why do you want to write redundant syntax?

Reasons:
  • Blacklisted phrase (1): Another question
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: user207421

79824995

Date: 2025-11-19 23:30:04
Score: 3.5
Natty:
Report link

Azure AI Search now supports hierarchical facets, which can be used for the capability you described. https://learn.microsoft.com/en-us/azure/search/search-faceted-navigation-examples#facet-aggregation-example

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Robert - MSFT

79824987

Date: 2025-11-19 23:05:00
Score: 0.5
Natty:
Report link

Shell sort works the same no matter what gaps you use.
The only thing that changes is which gaps you make between elements.
Think of it like this:
- Shell sort = “insertion sort, but you start by jumping far.”
- The gap sequence = “how big your jumps are before you switch to smaller jumps.”

Your code uses:
n/2 → n/4 → n/8 →... → 1

Ciura or Sedgewick just replace those numbers with better jump sizes.
So instead of letting Java calculate them in a loop, you simply:

  1. Make a list of gaps (Ciura: 701, 301, 132 … 1)

  2. Start from the biggest one that fits your array

  3. Run the same sorting logic for each gap

Nothing else changes.
You are not rewriting the algorithm. you are only changing the list of gap numbers. That is all.
In other words: Shell sort = same engine, different gear ratios.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Yaksh

79824978

Date: 2025-11-19 22:39:53
Score: 2
Natty:
Report link

If you're looking for the Google Search API, you should try SerpApi. We provide different web search API including a scraper to scrape the Google Search results.

There's no limit on how many queries you want to perform daily.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hilman Ramadhan

79824976

Date: 2025-11-19 22:36:53
Score: 1
Natty:
Report link

healpy write map only supports 2D arrays. Also Make sure that the number of pixels are valid. You can check back with npix2nside.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Andrea Zonca

79824974

Date: 2025-11-19 22:35:52
Score: 2
Natty:
Report link

@GertArnold: It was more complex before editing. Frankly, the "kind of..." picker is new to me. I did not know what "Best practices" exactly means. And I do not know how to change it.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @GertArnold
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: pepr

79824967

Date: 2025-11-19 22:19:48
Score: 4.5
Natty:
Report link

Many thanks bro, it's solve to me.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tharcius Vinicius Sumarelli Me

79824951

Date: 2025-11-19 21:46:41
Score: 2
Natty:
Report link

In "Advanced settings", "Build Tools. Gradle", select "Download sources".

The documentation shown in the popups is from the sources, not from the Javadoc JARs.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: CLOVIS

79824941

Date: 2025-11-19 21:34:38
Score: 1
Natty:
Report link

This dialog also appears when you are using a non-administrator user account, even after running DevToolsSecurity -enable.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: John

79824940

Date: 2025-11-19 21:33:38
Score: 1.5
Natty:
Report link

This is terrible. The topic starter asks the wrong question, there are a huge number of incorrect answers, and Google indexes this horror and shows this crap in search results.

Asking Gemini gives a more concise answer at this point in time

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: user2088250

79824933

Date: 2025-11-19 21:17:34
Score: 3.5
Natty:
Report link

Yep, in case of reading in char variable partial reading occurs. Yksisarvinen, Remy Lebeau you are right both

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Serge Kork

79824926

Date: 2025-11-19 21:07:32
Score: 3
Natty:
Report link

It's your GPU. I have a GTX 3060 and it's still not real-time. I'm considering trying a GPU on AWS to solve the issue

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: patelR

79824923

Date: 2025-11-19 21:05:32
Score: 1
Natty:
Report link

Yes, I think it’s gone forever now.

When you use git stash, it saves changes to files that are already being tracked by Git (i.e., files that have been added to the Git repository at some point).

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Micro code

79824916

Date: 2025-11-19 20:52:29
Score: 1.5
Natty:
Report link

Chiming in to say I could not edit the baseUrl property at all using docker-compose. My setup is a turborepo project where one app has cypress tests, and the only way to run Cypress at all was to run it from the root of the project configured as a turbo command. From there, if I omit cypress.env.json files altogether, I can add the --config flag to the CMD and point the baseUrl to the host + port of the service dependency in docker-compose, by injecting it into the Dockerfile with a build arg.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jorge

79824913

Date: 2025-11-19 20:46:28
Score: 2.5
Natty:
Report link

To close the loop, token refreshing now works correctly with automatic routing with the latest update from Autodesk in Viewer SDK version 7.114.0.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anthony

79824906

Date: 2025-11-19 20:43:27
Score: 1.5
Natty:
Report link
'spring.config.import=optional:file:.env[.properties]'
You can solve this by adding this line to your application.properties file
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Burak Arslan

79824905

Date: 2025-11-19 20:42:27
Score: 3
Natty:
Report link

(VS 2022) For me editing 'Editor Context Menus | Code Window' worked.

enter image description here

You have to find the specific row you want to delete.

I was able to cut down my context menu to only the essentials:
enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: cpp_mushkil

79824902

Date: 2025-11-19 20:40:26
Score: 3
Natty:
Report link

None of these solutions are working because - "The user 'any username in our system' does not exist and cannot be used in the 'by' predicate"

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Carrie

79824893

Date: 2025-11-19 20:21:21
Score: 2
Natty:
Report link

If I specify


    runs-on: macos-14

in the workflow, I'm good if I continue to use the -fmodules-ts flag. Dunno when latest became 15 nor why that broke my code.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Imer Satz

79824890

Date: 2025-11-19 20:19:20
Score: 5
Natty:
Report link

Uhm, any idea why I cannot add a comment to your answer @David Maze? My follow-up question would be that I intended to do exactly as syou described, but for your steps:

Build the image from the Dockerfile

Run integration tests against that image

You would need docker-in-docker, right ? I guess that what you described is exactly what's specified here:

You can specify an additional image by using the services keyword. This additional image is used to create another container, which is available to the first container. The two containers have access to one another and can communicate when running the job.

My only issue is: The generation of the image (the first of my steps quoted from you above) is somewhat complex, and I don't necessarily want to replicate the entire build flow of my Dockerfile within my CI pipeline ? So if the build is very long (around 500 lines in my dockerfile), how would you replicate that into a CI build job ?

Reasons:
  • Blacklisted phrase (1): how would you
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @David
  • Self-answer (0.5):
  • Looks like a comment (1):
Posted by: DevelJoe

79824885

Date: 2025-11-19 20:16:19
Score: 2.5
Natty:
Report link

Problem solves, i just had to download maven locally on my machine and run the code using the

"mvn javafx:run" command. Not exactly sure why it wouldn't run through vscode but either way its done.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mike Allen

79824864

Date: 2025-11-19 19:45:12
Score: 0.5
Natty:
Report link

This is what I've used as well adb shell am start 'com.android.settings/.Settings\$MoreSecurityPrivacySettingsActivity'

I used some app to inspect activities in the Settings app across my Samsung and Pixel devices and this seemed to be the highest common Activity to get into for installing a certificate

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: joebro

79824863

Date: 2025-11-19 19:45:12
Score: 2.5
Natty:
Report link

A little bit late (15 yrs) to the conversation, but in case someone arrives here, a good free option is PdfiumViewer, available via NuGet for the PDF files.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Gabriel G

79824862

Date: 2025-11-19 19:39:10
Score: 2
Natty:
Report link

Start menu > "Developer Command Prompt for VS"

In that command prompt, enter "code ." (code space dot)

It will open up VS code, and running C++ code will work as expected.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Stevo

79824860

Date: 2025-11-19 19:37:09
Score: 2.5
Natty:
Report link

Mac OS X + Docker with a French PC Keyboard (HP) :

control ^ + è

where è is also 7

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Martin Luther ETOUMAN NDAMBWE

79824843

Date: 2025-11-19 19:15:03
Score: 4.5
Natty:
Report link

@Paul Granting "select any dictionary" solved it.

Thanks all

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Paul
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nibin George

79824835

Date: 2025-11-19 19:01:00
Score: 1
Natty:
Report link

You need "select any dictionary"

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Paul W

79824834

Date: 2025-11-19 18:59:59
Score: 5
Natty:
Report link

Not clear. What is “show”, exactly?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
Posted by: Sergey A Kryukov

79824824

Date: 2025-11-19 18:48:56
Score: 0.5
Natty:
Report link

To me this looks like a regular question, not a discussion.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Gert Arnold

79824816

Date: 2025-11-19 18:41:54
Score: 1
Natty:
Report link
  _notificationSub = FirestoreNotificationService.unreadCountStream()
      .listen((count) {
    if (!mounted) return;

    setState(() => unread = count);

    if (count > 0) {
      _ctl.stop();
      _ctl.forward(from: 0);
    } else {
      _ctl.reset();
    }
  });
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nitish Kalia

79824809

Date: 2025-11-19 18:26:51
Score: 1.5
Natty:
Report link

To render MathJax code from MySQL, ensure the text is well formatted.

Query the database to load the code into your DOM.

I used an offline script but didn't render. When I used online CDN it rendered.

So, you can try using online CDN should you're using offline library and vice versa.

Also ensure the delimiters are properly observed.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Emmanuel Whesu

79824808

Date: 2025-11-19 18:22:50
Score: 1.5
Natty:
Report link
This one is perfect, try        

<input type="submit"; name="display" value= "Display"  style="width: 40%; height: 30px;  font-size: 15px;"/>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Claudia Nadieshda

79824804

Date: 2025-11-19 18:18:48
Score: 1
Natty:
Report link

I needed the condition: eq(variables['Build.SourceBranchName'], 'main') condition on the third stage as well.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Adam

79824799

Date: 2025-11-19 18:12:47
Score: 1.5
Natty:
Report link

If we simplify the question to remove all the unnecessary details, the desired usage may look like this:

  1. For the pool
    let pool = SqlitePool::connect("sqlite://db/kip.db").await?;

    {
        let participant_repo = SqliteParticipantRepository::new(&pool);
        participant_repo.save().await?;
        participant_repo.save().await?;
    }
  1. For transactions
    let pool = SqlitePool::connect("sqlite://db/kip.db").await?;

    {
        let mut tx = pool.begin().await?;
        let participant_repo = SqliteParticipantRepository::new(&mut tx);
        participant_repo.save().await?;
        participant_repo.save().await?;

        let participant_repo_2 = SqliteParticipantRepository::new(&mut tx);
        participant_repo_2.save().await?;
        participant_repo_2.save().await?;
        tx.commit().await?;
    }

Notice how it's possible to call the repository methods multiple times (there's no surprise though, it should be possible to, as opposed to the case when the repository methods take the &mut self instead of &self).

The second usage examaple also shows that it's possible to share the same transaction across multiple repositories (in my case it's the same SqliteParticipantRepository, but the point still holds).


In order to achieve the consuming code shown above, the repository may look like this:

use crate::mut_acquire::MutAcquire;
use crate::participant_repository::ParticipantRepository;
use crate::sqlite_repository_error::SqliteRepositoryError;
use std::ops::DerefMut;
use tokio::sync::Mutex;
use uuid::Uuid;

pub struct SqliteParticipantRepository<A>
where
    A: MutAcquire + Sync + Send,
{
    acquirer: Mutex<A>,
}

impl<A> SqliteParticipantRepository<A>
where
    A: MutAcquire + Sync + Send,
{
    pub fn new(acquiree: A) -> Self {
        Self {
            acquirer: Mutex::new(acquiree),
        }
    }
}

impl<A> ParticipantRepository for SqliteParticipantRepository<A>
where
    A: MutAcquire + Sync + Send,
{
    type Error = SqliteRepositoryError;

    async fn save(&self) -> Result<(), Self::Error> {
        let user_id = format!("u_{}", Uuid::new_v4());
        let participant_id = format!("p_{}", Uuid::new_v4());
        let name = "Alice".to_string();

        let mut acquirer = self.acquirer.lock().await;
        let conn = acquirer.deref_mut().acquire_executor();

        sqlx::query!(
            "INSERT INTO users (user_id, name) VALUES (?, ?)",
            user_id,
            name,
        )
        .execute(conn)
        .await?;

        drop(acquirer);

        let mut acquirer = self.acquirer.lock().await;
        let conn = acquirer.deref_mut().acquire_executor();

        sqlx::query!(
            "INSERT INTO participants (participant_id, name) VALUES (?, ?)",
            participant_id,
            name
        )
        .execute(conn)
        .await?;

        drop(acquirer);

        Ok(())
    }
}

For reference, here's the ParticipantRepository trait definition:

pub trait ParticipantRepository: Send + Sync {
    type Error: RepositoryError + Send + Sync;

    async fn save(&self) -> Result<(), Self::Error>;
}

The most interesting part about it is the custom MutAcquire:

use sqlx::{SqliteConnection, SqliteExecutor, SqlitePool, SqliteTransaction};

pub trait MutAcquire {
    type Executor<'a>: SqliteExecutor<'a>
    where
        Self: 'a;

    fn acquire_executor<'a>(&'a mut self) -> Self::Executor<'a>;
}

impl MutAcquire for &SqlitePool {
    type Executor<'a>
    where
        Self: 'a,
    = Self;

    fn acquire_executor<'a>(&'a mut self) -> Self::Executor<'a> {
        *self
    }
}

impl<'c> MutAcquire for &mut SqliteTransaction<'c> {
    type Executor<'a>
    where
        Self: 'a,
    = &'a mut SqliteConnection;

    fn acquire_executor<'a>(&'a mut self) -> Self::Executor<'a> {
        &mut ***self
    }
}

Basically, this is the Acquire trait from sqlx, but implemented to take the &mut self instead of consuming it (self). If I were to use the original Acquire trait, it wouldn't be possible to call .acquire() inside the repo's save method, as it would require the save method to take ownership of self as well, which would make the repo one-time-use-only. And this is not very useful.

I genuinely don't understand what stopped the sqlx devs from providing such a trait out of the box. The only thing I can assume is that it's impossible to implement it for all the same targets as Acquire is implemented for. But still, I think it would be more than enough to provide it pre-implemented at least for only the &SqlitePool and &mut SqliteTransaction.

Nevertheless, the code shown above compiles and works.

I have my doubts regarding the Mutex usage in the repo methods, but at the same time I can't really imagine a scenario where it could create some performance bottleneck: when dealing with the pool, the call to .acquire() will simply yield a new connection from the pool, and when the save method is called for a tx-enabled repo, then we actually want the same transaction (connection) to be used for all the internal queries, and thus even if the mutex is locked at the time a query should be run, it's only for the better. At least, if I understand it correctly.


Another important detail is that the code above enables us to make multiple queries on one single repo method, which is sometimes quite useful.


P.S. In my OP I was mistaken saying that Executor is implemented for &mut Transaction. In fact, it's implemented for &mut *Transaction (notice the asterisk), which is basically the same as &mut Connection. It was one of the many reasons why my code refused to compile. Besides that, it seems to be straight impossible to make a repo generic over any Executor. And partially, this is exactly the reason why the sqlx devs introduced this new Acquire trait.

Regarding my concerns that Acquire requires the consumer to know which method to call - either begin or acquire - it seems like there's no difference in my case. In my case I decide upfront whether the save method will be called with a pool or a transaction. And when it's used with a transaction, the acquire method will take its underlying connection, pretty much the same way as it'd do for a pool. And the calling side will decide what to supply the repository with upon its creation. And if we need to call some methods as part of one single transaction, then the calling side will be responsible for beginning it, while the repo (as a consumer) just has to acquire the underlying connection.


Important: this solution does not work if I mark the ParticipantRepository trait with #[async_trait::async_trait] or if I convert its futures to Send with #[trait_variant::make(Send)]. This effectively means that it's impossible to use my solution in Axum applications (which was the initial intent for me). So after all, it's kinda useless, but I still decided to share it in case someone doesn't really care about Axum-and-alike contexts.

Reasons:
  • RegEx Blacklisted phrase (2): I have my doubt
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: smellyshovel

79824795

Date: 2025-11-19 18:00:44
Score: 0.5
Natty:
Report link

If your professor says it violates the pattern, they've already given you all the clarification you need for the purposes of the assignment. That is, you've been informed (warned, really) that you're very likely to lose marks/credit if you do it.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: madreflection

79824792

Date: 2025-11-19 17:58:43
Score: 4.5
Natty:
Report link

I carefully checked the logic analyzer again, and the LA of Raspberry Pi 4 is as follows:

enter image description here

The logic analyzer of Raspberry Pi 5 is as follows:

enter image description here

Waveform analysis
Raspberry Pi 4
CLK (pink) idle state: low level
Only generate pulses during transmission

Raspberry Pi 5
CLK (pink) idle state: high level
This is clock polarity reversal

May I ask why the above phenomenon occurs? After that, the Raspberry Pi 4 is normally enumerated, while the Raspberry Pi 5 is not。

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Blacklisted phrase (1): May I ask
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user31577988

79824781

Date: 2025-11-19 17:49:40
Score: 5.5
Natty: 5
Report link

Good day sir!
Is it possible to get full code for that one? Ive been strugling with Dell for many hours, because it doesnt load some parts of the website while i use selenium/playwright. Have to get info about warranty and laptop specs in hundreds sooooo its reaaaaly annoying its not working :/

Reasons:
  • Blacklisted phrase (1): its not working
  • Blacklisted phrase (1): Is it possible to
  • Blacklisted phrase (1): Good day
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Kosamela

79824771

Date: 2025-11-19 17:37:36
Score: 2.5
Natty:
Report link

@sat0sh1c — I started my comment with the note that this design can be considered ugly. This is not my idea, and I cannot say I like it much. This is just what it is.

But I don't think the valid values start with -1. Different negative values can be used to conduct different error conditions.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @sat0sh1c
Posted by: Sergey A Kryukov

79824766

Date: 2025-11-19 17:30:35
Score: 2
Natty:
Report link

No it enters lock in Start() and releases in Stop(). It only works under ideal conditions, if anything was to happen between Start() and Stop() then lock would never release.
As described in the issue - both methods have to be executed by the same thread. If one thread calls Start() then no other threads can call Start() again until the first thread releases the lock by calling Stop().
Multiple threads cannot call Start()

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: agracio

79824765

Date: 2025-11-19 17:29:35
Score: 0.5
Natty:
Report link

When the analyser stops seeing Widget, it means VS Code is no longer using the Flutter SDK libraries even if your imports look fine.

This is what you need to do:

  1. Run flutter doctor -v in the project folder to confirm Flutter itself is intact and fix anything it reports.

  2. In VS Code press Ctrl+Shift+P > Flutter: Change SDK, and point it to your Flutter install

  3. Open .vscode/settings.json or global settings and remove any dart.sdkPath that points to a standalone Dart SDK; the analyzer must use Flutter’s bundled Dart SDK. Restart VS Code afterward.

  4. Finally run flutter pub get to rebuild .dart_tool/package_config.json so the analyser re-indexes Flutter packages.

// .vscode/settings.json
{
  "dart.flutterSdkPath": "/Users/you/flutter",
  "dart.sdkPath": ""
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When the
  • Low reputation (1):
Posted by: Ardeshir Shojaei

79824762

Date: 2025-11-19 17:27:34
Score: 1
Natty:
Report link

As of .NET 8, I was able to make this work:

app.UseExceptionHandler(subApp => subApp.UseDeveloperExceptionPage);

If all IExceptionHandler return false , then the subApp logic is used instead.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AMunns

79824760

Date: 2025-11-19 17:24:33
Score: 1
Natty:
Report link

you'd just tie the form to a plain old class object... with arrays for the dynamic-added stuff. So bind to the class object and when user chooses to add, you call a function which adds a new empty class to the array. HTMLHelpers like editor-for etc... are helpful here. Not familiar with Blazor, but I'm sure the methods are very similar to standard mvc/razor stuff. Using parent/child is not necessary.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: browsermator

79824753

Date: 2025-11-19 17:10:30
Score: 1.5
Natty:
Report link

// Source - https://stackoverflow.com/q

// Posted by Ian

// Retrieved 2025-11-19, License - CC BY-SA 3.0

function speed(n) {

Runner.instance\_.setSpeed(n);

}

function noHit() {

Runner.prototype.gameOver = function() {

    console.log("");

}

}

function notNoHit() {

Runner.prototype.gameOver = function() {

    this.playSound(this.soundFx.HIT);

    vibrate(200);

    this.stop();

    this.crashed = true;

    this.distanceMeter.acheivement = false;

    this.tRex.update(100, Trex.s

tatus.CRASHED);

}

}

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Wala allah

79824748

Date: 2025-11-19 17:07:29
Score: 1
Natty:
Report link

I solved it by changing the Excel file extension from xlsx to xls, and in Kettle, in Microsoft Excel Writer, I also changed the extension to xls.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lester Arbolaez Fernández

79824741

Date: 2025-11-19 16:59:27
Score: 1.5
Natty:
Report link

first thing is format of private key should be like that

$privateKey = <<<EOD

-----BEGIN EC PRIVATE KEY-----

<your key here>

-----END PRIVATE KEY-----

EOD;

second thing wrong string being signed correct one :

$bodyJson = json_encode(...);

$bodyHashBinary = hash('sha256', $bodyJson, true);

$bodyHashBase64 = base64_encode($bodyHashBinary);

$messageToSign = $date . ':' . $bodyHashBase64 . ':' . $urlSubpath;

third thing invalid date format correct

$date = gmdate("Y-m-d\TH:i:s\Z");

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: HamzaWakrim

79824729

Date: 2025-11-19 16:47:23
Score: 2.5
Natty:
Report link

Ok I worked this out myself, by having two cookies, one with a 14 day expiry (if user chooses remember me), and one with a 30 min expiry, which is extended by 30 mins on every request. If the short expiry cookie does not exist, it is recreated from the longer token if that is present.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: anorakgirl

79824726

Date: 2025-11-19 16:45:22
Score: 2
Natty:
Report link

Looks just as I would have done it.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: DelphiCoder

79824722

Date: 2025-11-19 16:40:21
Score: 8
Natty:
Report link

@Harun24hr Can you give any specific example cases of when that fails?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you give
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Harun24hr
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Chronocidal

79824712

Date: 2025-11-19 16:31:18
Score: 6.5 🚩
Natty: 5.5
Report link

](https://stackoverflow.com/users/373875/kapilt)

how do i configure like you said? i don't have any reference to do so..

Reasons:
  • Blacklisted phrase (1): how do i
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Arnold Nicholas Tua Sibuea

79824710

Date: 2025-11-19 16:29:17
Score: 2.5
Natty:
Report link

Fantastic explanation on how to physically and logically model unstructured data! Clear, helpful, and insightful. Just like nkdstyle in Bhilai focuses on structured growth and quality, the stylish fashion hub in Bhilai brings creativity and innovation. Loved the content – keep sharing such powerful knowledge!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: nk dewangan

79824705

Date: 2025-11-19 16:25:15
Score: 2.5
Natty:
Report link

There exists a ready to use add-in for the "classic" Outlook named RgihtFrom. Google for "RightFrom for Outlook".

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Victor Ivanidze

79824701

Date: 2025-11-19 16:23:12
Score: 6 🚩
Natty:
Report link

Vale, esto es lo que tengo ahora... Por cierto, sigue sin funcionar. Ahora, cuando pulso el botón de parar, salgo o cualquier cambio, imprime "stopping2", lo que significa que no es nulo. La música original sigue reproduciéndose y no se detiene. Intenté cambiar la función de parar por la de reproducir un archivo de música en silencio, pero lo único que hace es superponerse al otro sonido. Necesito cortar la reproducción de alguna manera. He editado mi publicación con el nuevo código.

Reasons:
  • Blacklisted phrase (2): tengo
  • Blacklisted phrase (2): código
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: IRank

79824694

Date: 2025-11-19 16:18:10
Score: 1.5
Natty:
Report link
Database changed
MariaDB [my_database]> SELECT * FROM SCOPE WHERE NAME="internal_role_mgt_users_update";
Empty set (0.001 sec)
MariaDB [my_database]> SELECT * FROM SCOPE WHERE NAME="internal_role_mgt_permissions_update";
Empty set (0.001 sec)

Here's the result of some queries we made to our database.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user31908604

79824687

Date: 2025-11-19 16:12:08
Score: 1
Natty:
Report link

I would try using window functions.

A way using FIRST_VALUE could be something like:

SELECT DeptID, EmployeeName, Department, FIRST_VALUE(ManagerName) IGNORE NULLS OVER(PARTITION BY DeptID) AS ManagerName
FROM #Employee_Manager
WHERE EmployeeName IS NOT NULL 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Manel Caireta

79824685

Date: 2025-11-19 16:10:08
Score: 3
Natty:
Report link

@methodman The question was about confirming whether there's any difference between await and ConfigureAwait(true). 🙂

Yes, It has already been answered.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @methodman
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vasantha Kumar

79824682

Date: 2025-11-19 16:09:07
Score: 1
Natty:
Report link

In my case, the solution that worked was an improved version of @Hassnain Jamil's code:

Intent homeIntent = new Intent(Intent.ACTION_MAIN);
homeIntent.addCategory(Intent.CATEGORY_HOME);
homeIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
homeIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
startActivity(homeIntent);
finishAffinity();
System.exit(0);
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Hassnain
  • Low reputation (0.5):
Posted by: Jawegiel

79824681

Date: 2025-11-19 16:06:06
Score: 1
Natty:
Report link

You are probably missing a _lock.EnterWriteLock(); between public static Result Stop() { and try, right?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Mike Nakis

79824670

Date: 2025-11-19 15:58:04
Score: 4
Natty:
Report link

Well, cloudfare did use unwrap()

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Meitzi

79824664

Date: 2025-11-19 15:54:02
Score: 4
Natty:
Report link

There is no target it belongs to, its just a bunch of source and header files.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Maaz Madha

79824656

Date: 2025-11-19 15:47:00
Score: 5.5
Natty:
Report link

@tbjamie, that does not quite work like Hao Wu's solution.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @tbjamie
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Mike McCollister

79824653

Date: 2025-11-19 15:41:59
Score: 3
Natty:
Report link

What looks like one color is often a range. Changing one pixel color may have little noticeable effect. You need to "pixel sample" an "area" on the image to know what's what.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: Gerry Schmitz

79824647

Date: 2025-11-19 15:38:58
Score: 3
Natty:
Report link

Apparently, I have somehow deleted unidac components, so I asked the admin to install them again for me, because I work on a school pc. If you have this problem, stay away from deleting stuff unnecessarily, just leave them until you get more experience.. :D

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AlbLivX

79824638

Date: 2025-11-19 15:30:55
Score: 0.5
Natty:
Report link

OK, As is mentioned in GDAL page there are few ways to install GDAL inside an isolated package manager environment.

For those who want to import gdal from inside python probably these two solutions are interesting :

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sina NAKHOSTIN

79824636

Date: 2025-11-19 15:28:55
Score: 2
Natty:
Report link
  1. Add to project:

    1. <PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="X.0.0.0">
      <PrivateAssets>all</PrivateAssets>
        <IncludeAssets>runtime; build; native; contentfiles; analyzers;buildtransitive</IncludeAssets>
      </PackageReference>
      
  2. see:

Add-Migration fails on WinUI 3

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Андрей Кривошеев

79824633

Date: 2025-11-19 15:26:54
Score: 3.5
Natty:
Report link

I'm going to do that later this week.
I'll be back for that.

Thanks so far :)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Erich Snijder

79824630

Date: 2025-11-19 15:24:53
Score: 5
Natty:
Report link

Temani Para que estamos aqui ? Ayudar y que va !!!todo muy claro y profecional !! Pero ya casi resuelto el ataque a mis cuentas todo lo que leen alli fue parte de una batalla por defender la cuenta!! Pendiete de vuestros consejos practivos y profesionsles!!!

Reasons:
  • Blacklisted phrase (2): Ayuda
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ORLANDO Gozalaez

79824626

Date: 2025-11-19 15:20:52
Score: 3.5
Natty:
Report link

Python visuals are not supported in Power BI Embedded. They won't render in embedded reports.

Alternative Approach:

1. Run Python scripts externally

2. Store results in a dataset or add to your existing one

3. Use out of the Box Visuals in PBI

I cannot find any information on PBI Roadmaps, so that question sadly remains unanswered.

Reasons:
  • Blacklisted phrase (1.5): I cannot find
  • Blacklisted phrase (0.5): I cannot
  • No code block (0.5):
  • Low reputation (1):
Posted by: mxrdck

79824625

Date: 2025-11-19 15:20:52
Score: 1.5
Natty:
Report link

I recently had a similar issue using PySerial in conjunction with the Robot Framework. The above solutions did not work but helped me find one that did:
When connecting I had to set rtscts=False and dsrdtr=True,

my_serial = serial.Serial(port, baudrate, timeout = 5, rtscts=False, dsrdtr=True)

then

my_serial.setDTR(True)
my_serial.setRTS(False)

Then on disconnect

my_serial.setDTR(True)
my_serial.close() 

This stopped the ESP32 continually resetting after the script finished.

Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: julianas

79824624

Date: 2025-11-19 15:19:52
Score: 1
Natty:
Report link

This case comes up (a lot) for me when changing "context"; which requires, say, running queries and updating views. All kinds of events start firing when they shouldn't; e.g. "SelectionChanged" (usually to a "null" item). In this case, I use a "context-wide" "IsInitializing" flag. Anyone can set it; if it's off. Once it's on, it can only be turned off. While it's on, no one can enter those methods that say "IsInitializing" is on (except the "initializer"). It works well for this "event driven" case. Of course, no "thread" can be turning off when it never turned on in the first place.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Gerry Schmitz

79824619

Date: 2025-11-19 15:14:50
Score: 3.5
Natty:
Report link

Pretty interesting approach. I also tried something similar; however, I split CheckPolicy into two separate annotations — PreAuthorize and PostAuthorize (similar to the Spring Security annotations) — to differentiate when the policy logic is executed.

That said, I’m not a fan of using Spring Security’s PreAuthorize and PostAuthorize for smaller policies, as it ends up scattering policy definitions across different places (mixing SpEL and Java-based policies if you also use the custom annotations).

For externalized policy definitions, how would you parse YAML-based policies in Java to use them in a PDP?

Reasons:
  • Blacklisted phrase (1): how would you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: 0xRelu