79601316

Date: 2025-05-01 02:17:51
Score: 1.5
Natty:
Report link

There must be a new vulnerability circling. My site was just hit.

Unauthorized plugin was installed called "catnip" which featured standard c&c features. Automatic administrator login, remote file downloading, basically access to the entire site.

Site named changed to "darkoct02". User was registered shortly after with the username "fallinlove" that had admin permissions and a chefalicious mailbox.

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

79601313

Date: 2025-05-01 02:14:51
Score: 0.5
Natty:
Report link

When running your code on discord.js 14.19.2 and node v22.14.0, I receive the following output in the terminal:

carolina@Carolinas-MacBook-Air test % node index.js
Beep! Beep!🤖Bot Pending!
Beep! Beep!🤖Bot Running!

The bot is also shown as online in the Discord server I have invited it to. On my end, it does work. (Note: obviously at this stage, you can't do anything with the Discord bot as you haven't implemented any commands, but it should be displaying as online as it does for me).

Given this, I would ask that you comment providing further information about the version of node and discord.js that you are using, and to confirm that you have added the Discord bot to your server? Without this information, we can't provide further help, given you did state above that it does not work.

Some changes I would recommend to improve your code's readability in the meantime:

package.json

Add the following:

"type": "module",

index.js

// Imports at the top, switch to ES6 imports if possible instead of CommonJS
import { Client, Events, GatewayIntentBits } from "discord.js"; 

// Switch from string intents to the IntentsBitField class for better type safety
const client = new Client({
    intents: [
        GatewayIntentBits.Guilds,
        GatewayIntentBits.GuildMessages
    ]
});

console.log("Beep! Beep!🤖Bot Pending!");

// Improve clarity by moving the console.log inside of the event listener
// Switch from string events to the Events enum for better type safety
client.on(Events.ClientReady, () => {
    console.log("Beep! Beep!🤖Bot Running!");
});

// Ensure login() is always the last line in the file, and token is stored in a separate file.
client.login("token");

Other really useful resources include:

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Carolina

79601305

Date: 2025-05-01 02:01:48
Score: 3.5
Natty:
Report link

I know this is old, but what you describe looks very much like the issue described here: https://issues.chromium.org/issues/41354368

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

79601304

Date: 2025-05-01 02:00:48
Score: 1.5
Natty:
Report link

If your Pygame code runs in Pyodide with no error but no output, it's likely because:

Standard Pygame doesn't work in browsers. Use pygame-ce or pygame-cffi (WebAssembly-compatible).

You must run it inside a browser canvas, not a desktop window.

Ensure you use pygame.display.set_mode(), a game loop, and pygame.display.flip() to show output.

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

79601303

Date: 2025-05-01 02:00:48
Score: 1.5
Natty:
Report link

To anyone who comes here to see why the Id field of your model is defaulted to 0 during instantiated (through new Foo() for example), see here for reference. It is the C#'s design to default integral data type like int to 0 when it is not assigned a value.

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

79601301

Date: 2025-05-01 01:54:46
Score: 6
Natty: 7.5
Report link

same to some of our sites where you using WP order import/export plugin?

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

79601295

Date: 2025-05-01 01:48:45
Score: 3
Natty:
Report link

Had the same problem and all my numbers in the destination data frame column were strings, also some of the bars didn't show when I plotted a bar graph.

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

79601271

Date: 2025-05-01 01:02:36
Score: 1
Natty:
Report link

This one is sneaky, because it is not explicitly mentioned anywhere in the reference manual (RM0490). The only clue given is by looking at the system architecture diagram on page 40:

enter image description here

For this chip, the GPIO ports are directly connected to the core, not the AHB bus, so the DMA has no access to them. It would seem that they opted for this layout to improve latency.

To trigger pins through DMA writes, you have to disable the preload of CCRx channels, and write values at the extremities (0 or ARR) to cause the outputs to flip accordingly.

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

79601261

Date: 2025-05-01 00:37:31
Score: 1.5
Natty:
Report link

What fixed it for me was right clicking the file in file explorer -> open in terminal > npm create vite@latest. Using the command prompt in VSCode is what caused the "..." issue.

also make sure you have the latest version of npm and node

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What fix
  • Low reputation (1):
Posted by: wheatwhole

79601251

Date: 2025-05-01 00:18:27
Score: 0.5
Natty:
Report link

from gtts import gTTS

letra = """

Título: "Veinte Inviernos y un Café"

Verso 1
Veinte inviernos y un café,
tus ojos siguen siendo mi amanecer.
Y aunque el mundo nos probó,
ninguno soltó el timón.

Hubo noches sin dormir,
meses grises que aprendimos a escribir.
Pero el amor no es de papel,
es de barro y de miel.

Estribillo
Y aquí estamos, con arrugas en la piel
pero el alma todavía en su primer hotel.
Nos juramos sin anillos de cartón,
y nos fuimos fieles por convicción.

Criamos un hijo y un montón de sueños,
con más abrazos que diseños.
Tú y yo, sin filtros, sin red social,
solamente amor… el real.

Verso 2
Te amé cuando el sueldo no alcanzaba,
y cuando el miedo nos llamaba.
Te amé cuando dudaste de ti,
y cuando fuiste más fuerte que a mí.

Y no fuimos perfectos, ni falta hacía,
el amor real se escribe día a día.
Lo que el tiempo no robó,
fue lo mucho que aún nos damos los dos.

Estribillo final
Y aquí estamos, sin pedirle nada al destino,
más que el derecho a seguir este camino.
Veinte años y un hijo que ya vuela,
pero tú sigues siendo mi estrella.

"""

tts = gTTS(text=letra, lang='es', slow=False)

tts.save("Veinte_Inviernos_y_un_Cafe.mp3")

print("MP3 generado con éxito.")

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mario Morales Rodríguez

79601247

Date: 2025-05-01 00:12:26
Score: 3.5
Natty:
Report link

Just referencing the answer I got elsewhere. There's a piece in the docs that was important for me that I missed: https://docs.astro.build/en/reference/modules/astro-actions/#use-with-accept-form

Which allows for the following solution

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Telion

79601243

Date: 2025-05-01 00:09:25
Score: 15.5
Natty: 7.5
Report link

I have the same issue...did you find any solution to this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): did you find any solution to this
  • RegEx Blacklisted phrase (2): any solution to this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sonia Gupta

79601240

Date: 2025-05-01 00:08:25
Score: 2
Natty:
Report link

2143289344 is nan interpreted as a int (a float nan). NaN exists only as floats and doubles.
(I came to this question checking it, where I could find this number: 2143289344 )

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

79601229

Date: 2025-04-30 23:49:21
Score: 0.5
Natty:
Report link

Not sure about specifying environment, but to specify configuration you can use

vs code command palette -> ".NET: Select a Configuration..."

VS code will reopen after changing that, and then the specified configuration should be used when launching tests from the TESTING side bar

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sean Vansted

79601227

Date: 2025-04-30 23:45:20
Score: 0.5
Natty:
Report link

you can change the ndkVersion variable in your_project/android/app/build.gradle.kts to work around this issue:

android {
    ndkVersion = "27.0.12077973"
    ...
}

Flutter itself suggests this correction to the code above and this solved the problem for me in several libraries...

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vinícius Bruno

79601223

Date: 2025-04-30 23:42:19
Score: 1.5
Natty:
Report link

I found an answer.

Ref: https://www.mongodb.com/docs/drivers/go/upcoming/whats-new/#what-s-new-in-2.0

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

79601221

Date: 2025-04-30 23:40:19
Score: 0.5
Natty:
Report link

I found the solution. I initially defined the file name variable without a default value. This did not give any errors, but apparently caused the Excel Source to fail every time I opened its editor to make any edits. My guess is that the Excel Source was trying to open a valid Excel file even just to configure the package. The fact that the variable was being assigned properly during runtime was not good enough.

Reasons:
  • Whitelisted phrase (-2): I found the solution
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: waza

79601216

Date: 2025-04-30 23:32:17
Score: 1
Natty:
Report link

You can hardcode the screen to show up using kDebugMode:

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: kDebugMode ? TimelineScreen() : LoginScreen(),
    );
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Oluwaferanmi Sao

79601213

Date: 2025-04-30 23:29:17
Score: 1
Natty:
Report link

You could try adding this code:

[pytest]
asyncio_mode = auto
timeout = 15  # seconds

The timeout variable will set the time it takes to timeout. Hopefully.

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

79601210

Date: 2025-04-30 23:25:15
Score: 3.5
Natty:
Report link

This doesn't directly address the question of "how do I get the ID from a published Google Doc." I couldn't figure out how, unfortunately.

But if you're just trying to read data from the document, the webpage for a published Google Doc has very simple HTML to parse (right now at least). For example:

Sample Google doc

A screenshot showing the raw HTML of the "Stackoverflow Demo" Google Doc in Firefox's "Inspect Element" menu

This probably won't be stable. But it's convenient because you don't have to use Google's OAuth system.

Reasons:
  • Blacklisted phrase (1): how do I
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Dudeguy

79601195

Date: 2025-04-30 23:01:11
Score: 2
Natty:
Report link

Sélectionnez toutes les bonnes réponses:

Question 1Réponse

a.

La journalisation rend le code source plus facile à lire

b.

La journalisation est un moyen d'analyser statiquement nos systèmes logiciels

c.

Il est facile de déterminer a priori quels logs nous aideront à rendre nos systèmes plus robustes

d.

La journalisation a des impacts sur la performance du système quand elle est utilisée

e.

La journalisation peut être utilisée pour l'assistance d’utilisateur/client

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

79601192

Date: 2025-04-30 22:57:10
Score: 2
Natty:
Report link

You don't need to use API calls or create any endpoints for online validation in this case. Validation can be handled directly on the client side, depending on your requirements and the architecture of your app. If you're referring to validating user input or form data, consider using client-side libraries or built-in validation methods instead of relying on a backend service.

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

79601191

Date: 2025-04-30 22:55:09
Score: 0.5
Natty:
Report link
thanks for the help guys , i found the workaround , by overriding the whitenoise's CompressedManifestStaticFile storage , in the above code , just override the post_process_with_compress function by the whitenoise storage to include the minification after the hashes has been calculated by the Django's default ManifestStaticfile , since it calculates hashes 3 times (default behaviour for tackling import statements in js and css files) and whitnoise keeps track of the hashes and continues after the hashes has been finalised , also override save function instead of _save method because the default behaviour is to compute hashes from the locally stored files since the collected files maybe stored on a faraway different server like S3 , so the minification has to be done 2 times per file , when first initialized and afterwards only for the changed files but still for every computed hashed file , take a look at the code below.


class MinifiedStaticFilesStorage(CompressedManifestStaticFilesStorage):
    def __init__(self, *args, **kwargs):
        super().__init__(*args, **kwargs)

    def minify_js(self, content_str, name):
        """Minify JavaScript using Terser and validate output."""
        terser_path = (
            Path("./node_modules/.bin/terser.cmd").resolve()
            if os.name == "nt"
            else Path("./node_modules/.bin/terser").resolve()
        )
        try:
            command = f'"{terser_path}" -m -c' if os.name == "nt" else [terser_path, "-m", "-c"]
            # Explicitly specify Terser CLI path if installed locally
            result = subprocess.run(
                command,
                input=content_str.encode("utf-8"),
                capture_output=True,
                check=True,
            )
            minified = result.stdout
            if not minified:
                raise ValueError("Terser returned empty output")
            return minified
        except (subprocess.CalledProcessError, FileNotFoundError, ValueError) as e:
            print(f"Minification failed: {str(e)}. Using original content.")
            return content_str.encode("utf-8")  # Fallback to original

    def minify_css(self, content_str, name):
        cleancss_path = (
            Path("./node_modules/.bin/cleancss.cmd").resolve()
            if os.name == "nt"
            else Path("./node_modules/.bin/cleancss").resolve()
        )

        try:
            command = f'"{cleancss_path}"' if os.name == "nt" else [cleancss_path]
            result = subprocess.run(
                command,
                input=content_str.encode("utf-8"),
                capture_output=True,
                check=True,
            )
            minified = result.stdout
            if not minified:
                raise ValueError("clean-css returned empty output")
            return minified
        except (subprocess.CalledProcessError, FileNotFoundError, ValueError) as e:
            print(f"CSS Minification failed: {str(e)}. Using original content.")
            print(name)
            return content_str.encode("utf-8")

    def save(self, path, content):
        """Override to handle minification during initial save."""
        if path.endswith((".mjs", ".js")):
            content_str = content.read().decode("utf-8")
            content.close()
            minified_content = self.minify_js(content_str, path)
            return super().save(path, ContentFile(minified_content))

        elif path.endswith(".css"):
            content_str = content.read().decode("utf-8")
            content.close()
            minified_content = self.minify_css(content_str, path)

            return super().save(path, ContentFile(minified_content))
        else:
            return super().save(path, content)

    def post_process_with_compression(self, files):
        # Files may get hashed multiple times, we want to keep track of all the
        # intermediate files generated during the process and which of these
        # are the final names used for each file. As not every intermediate
        # file is yielded we have to hook in to the `hashed_name` method to
        # keep track of them all.
        hashed_names = {}
        new_files = set()
        self.start_tracking_new_files(new_files)
        for name, hashed_name, processed in files:
            if hashed_name and not isinstance(processed, Exception):
                hashed_names[self.clean_name(name)] = hashed_name
            yield name, hashed_name, processed
        self.stop_tracking_new_files()
        original_files = set(hashed_names.keys())
        hashed_files = set(hashed_names.values())
        if self.keep_only_hashed_files:
            files_to_delete = (original_files | new_files) - hashed_files
            files_to_compress = hashed_files
        else:
            files_to_delete = set()
            files_to_compress = original_files | hashed_files
        self.delete_files(files_to_delete)
        self.minified_files_to_compress(hashed_files)
        for name, compressed_name in self.compress_files(files_to_compress):
            yield name, compressed_name, True

    def minified_files_to_compress(self, paths):
        """Minify all JS and CSS files in the given paths using threading."""

        def process_file(name):
            if name.endswith((".js", ".mjs")):
                with self.open(name) as original_file:
                    content_str = original_file.read().decode("utf-8")
                minified = self.minify_js(content_str, name)
                with self.open(name, "wb") as minified_file:
                    minified_file.write(minified)

            elif name.endswith(".css"):
                with self.open(name) as original_file:
                    content_str = original_file.read().decode("utf-8")
                minified = self.minify_css(content_str, name)
                with self.open(name, "wb") as minified_file:
                    minified_file.write(minified)

        with ThreadPoolExecutor() as executor:
            futures = (executor.submit(process_file, name) for name in paths)
            for future in as_completed(futures):
                future.result()  # Wait for each minify job to finish
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Tushar Chaudhary

79601185

Date: 2025-04-30 22:50:08
Score: 5
Natty: 5.5
Report link

через Event Dispatcher делай. Так и делают, по другому никак

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: Егор

79601183

Date: 2025-04-30 22:48:07
Score: 2
Natty:
Report link

RESOLVED / Lessons Learned

  1. I can't assume that the log error message is the actual issue. A Heroku error may be a symptom rather than the actual issue.<br>

  2. Installation of the Heroku builds-plugin ought to be routine.<br>

  3. Thank you to Scott Chacon for Pro Git (online, for free). It's a lifesaver.<br>

  4. A shoutout and thank you for this SO 44822146 @https://stackoverflow.com/users/1927832/suresh-atta and to @https://stackoverflow.com/users/3486743/vmarquet for this command: git push heroku main:main --no-verify <br>

  5. Finally, since it's buried in the Heroku documentation, here's a link to discussion of the conflict between package-lock.json and yarn.lock (where my troubles began): https://help.heroku.com/0KU2EM53/why-is-my-node-js-build-failing-because-of-conflicting-lock-files

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user3763682

79601162

Date: 2025-04-30 22:19:01
Score: 0.5
Natty:
Report link

The currently accepted answer by @Paebbels is now outdated and suboptimal since Sphinx enabled the toctree directive to recognise genindex, modindex, and search directly, available starting with Sphinx 5.2.0 (listed as #10673).

Especially considering Sphinx explicitly advises against creating files with those special names.

Without creating the name-conflicting files, write the toctree as such:

.. toctree
   :caption: Appendix

   genindex

Credit goes to @funky-future self-answering on 2023-04-09 on the linked issue from the question comments above. I found this question before that one and almost ended up using the approach here, so I felt I should preserve this new approach here as well for posterity.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Paebbels
  • User mentioned (0): @funky-futureon
  • Low reputation (0.5):
Posted by: MajorTanya

79601154

Date: 2025-04-30 22:02:57
Score: 0.5
Natty:
Report link

A visualization of the invocation tree of the recursive quicksort() function can help understand how it works:

import invocation_tree as ivt

def quicksort(data):
    if (len(data) < 2):
        return data

    pivot = data[0]
    return quicksort([i for i in data[1:] if i < pivot]) + \
           [pivot] + \
           quicksort([i for i in data[1:] if i >= pivot])

data = [49, 97, 53, 5, 33, 65, 62, 51, 100, 38]
tree = ivt.blocking()
print( tree(quicksort, data) )

quicksort invocation tree

Visualization made using invocation_tree, I'm the developer. (remove this line if considered self promotion)

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bterwijn

79601147

Date: 2025-04-30 21:56:55
Score: 1
Natty:
Report link

I think it should help

PdfArray array = new PdfArray();
array.Add(fileSpec.GetPdfObject().GetIndirectReference());
pdfDoc.GetCatalog().Put(PdfName.AF, array);

after

doc.AddFileAttachment(Path.GetFileName(file.Item2), spec);

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

79601144

Date: 2025-04-30 21:54:55
Score: 1.5
Natty:
Report link

I was able to resolve this by using the serial console (SAC) in the Azure Portal.

  1. Run cmd to open a channel and hit 'tab+esc' to switch to it

  2. Log in with any account you have access to

  3. cd C:\Windows\System32\Sysprep
    sysprep.exe /generalize /shutdown /oob
    
  4. Wait for VM to stop, then start the VM again

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

79601143

Date: 2025-04-30 21:52:54
Score: 2
Natty:
Report link

was experiencing the same issue ("Cannot find module 'next/dist/compiled/ws'").

Updating my Node.js version to v20.19.1 completely solved the problem for me.

If you're encountering this error, definitely check your Node.js version and consider changing it.

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

79601137

Date: 2025-04-30 21:47:52
Score: 4.5
Natty:
Report link

Found workable solution here: Thanks Eithan (c)
https://gist.github.com/EitanBlumin/e3b34d4c2de793054854e0e3d43f4349

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mich28

79601131

Date: 2025-04-30 21:44:51
Score: 1
Natty:
Report link

Using redis for session worked for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: oprogfrogo

79601128

Date: 2025-04-30 21:38:50
Score: 1
Natty:
Report link

I don't know if the documentation has changed since, but the trick here is that you need to start the test first. In your test runner, tick "Show browser", then start the test you want to extend. Once that test completes, the browser window will stay open. Put your cursor where you want it and then start recording from cursor.

See here: https://playwright.dev/docs/codegen#record-at-cursor

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Peter Dowdy

79601125

Date: 2025-04-30 21:37:50
Score: 0.5
Natty:
Report link

You could use

scale_color_fermenter(limits = c(0,3), breaks = 1:3)

and shift the key labels down a bit with

+
  theme(
    legend.text = element_text(vjust = 2.5)
  )
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Michiel Duvekot

79601124

Date: 2025-04-30 21:36:49
Score: 2
Natty:
Report link

You should be able to use ethers.getContractAt(name, contractAddress) to accomplish this.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Webby Vanderhack

79601123

Date: 2025-04-30 21:36:49
Score: 1.5
Natty:
Report link

It turns out the right way to do this is with a context manager.

def get_convex_hull(file) -> PointCloud:
    with Color("srgba(0,0,0,0)") as transparent:
        with image.Image(filename=file) as img:
            points = img.convex_hull(background=transparent)

            return points
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mechanical-girl

79601111

Date: 2025-04-30 21:29:48
Score: 2
Natty:
Report link

type FormData = { files: FileList; // For multiple files singleFile: File; // For a single file };

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

79601109

Date: 2025-04-30 21:28:47
Score: 1
Natty:
Report link

Thanks so much for all the tips and suggestions, I finally got my logo and all URLs switched over correctly. Below the Recipe

# 1. Exec into the container:
docker exec -it client1-wordpress-website bash

# 2. If WP-CLI isn’t present, install it:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
chmod +x wp-cli.phar
mv wp-cli.phar /usr/local/bin/wp

# 3. Verify installation:
wp --info

# 4. Search & replace your old test domain → live domain:
wp search-replace 'client1.mydomain.de' 'client.de' --skip-columns=guid --allow-root

# 5. Update the Site URL and Home URL:
wp option update siteurl 'http://client.de' --allow-root
wp option update home    'http://client.de' --allow-root
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Enis K

79601101

Date: 2025-04-30 21:14:44
Score: 1.5
Natty:
Report link

you can make use of list tag to have multiple rows:

  -- Use := for assignment in LET
        LET textMessage varchar := (
            SELECT LISTAGG('Table: ' || table_name || ' | Duplicates: ' || value, '\n')
            FROM SNOWFLAKE.LOCAL.DATA_QUALITY_MONITORING_RESULTS
            WHERE METRIC_NAME = 'CHECK_DUPLICATE_ID_FLAG'
              AND MEASUREMENT_TIME > DATEADD('DAY', -1, CURRENT_TIMESTAMP())
              AND VALUE > 0
        );

output is as follows:

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bharath Reddy Maram

79601096

Date: 2025-04-30 21:11:44
Score: 0.5
Natty:
Report link

If you know for sure the string is a date you can do this. Make sure to confirm the value is a valid date first though or it will blow up.

Convert.ToDateTime(datestring).ToString("MM/dd/yyyyy")

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

79601095

Date: 2025-04-30 21:09:43
Score: 1.5
Natty:
Report link

Omg is working!:

"

Put "about:config" into the browser in the search field enter: "browser.tabs.remote.autostart" and set its value to False. Restart the browser. It worked for me, if someone struggles with the same...

"

Total noob here, installed Kali on old laptop just because is cool and wanted to test if youtube is working. it was crashing :(

And above post just solved problem.

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): :(
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: B_f_Ibiza

79601094

Date: 2025-04-30 21:08:43
Score: 3
Natty:
Report link

for me I was using Sequoia on VMWare when I got this error. go to the network settings in Windows and find the driver name you're using (WIFI or ethernet) and choose the same one in the VMWare -> Virtual Network Editor (press Change Settings)
then choose the same one from the drop down. it should work.

enter image description hereenter image description here

enter image description here

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

79601092

Date: 2025-04-30 21:05:42
Score: 0.5
Natty:
Report link

This is improvement for @hamstergene answer. Implementation location has been changed and all implementations calls the same API implemented differently for different systems.

Current code for closing descriptor is located here and looks like this:

impl Drop for FileDesc {
    fn drop(&mut self) {
        usercalls::close(self.fd)
    }
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @hamstergene
Posted by: Eir Nym

79601077

Date: 2025-04-30 20:53:39
Score: 0.5
Natty:
Report link

It's very simple, highlight the cells you want to format. And select the rule to be the cells themselves (make sure they're not locked) against a cell where you have that date, figuring eventually this will change. Then just select a color that you prefer.

enter image description here

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

79601066

Date: 2025-04-30 20:39:36
Score: 1.5
Natty:
Report link

export CFLAGS="-Wno-error=int-conversion"

It worked for me on Mac

Reasons:
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tolg

79601051

Date: 2025-04-30 20:29:33
Score: 1.5
Natty:
Report link

import here map API Like this:

 <Script
                src={`https://js.api.here.com/v3/3.1/mapsjs.bundle.js?apikey=${process.env.NEXT_PUBLIC_HERE_API_KEY}`}
                strategy="afterInteractive"
                type="module"
            />
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hacxk

79601050

Date: 2025-04-30 20:28:33
Score: 2.5
Natty:
Report link

M-Pesa's API rejects URLs containing certain keywords like "MPESA", verify your callback url does not contain such keywords

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

79601046

Date: 2025-04-30 20:26:32
Score: 1.5
Natty:
Report link

please apply this with Modifier into your parent compose (Scaffold,Surface,Box etc).

Modifier.fillMaxSize().windowInsetsPadding(WindowInsets.systemBars)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: naman tonk

79601036

Date: 2025-04-30 20:18:30
Score: 1.5
Natty:
Report link

Sorry I can't answer directly on jayjojayson's post but do not use that answer.

The answer contains a script that is hosted in an s3 bucket and in fact that s3 bucket seems to have been taken over and the script has been replaced by a popup telling you that you should contact them via mail.

Never embed scripts like this that you do not have control over and if you really need to for whatever reason, then at least add a Subresource Integrity (https://developer.mozilla.org/de/docs/Web/Security/Subresource_Integrity) hash so that the browser won't load a script that has been tempered with.

Reasons:
  • RegEx Blacklisted phrase (0.5): Sorry I can't
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Michael Sammereier

79601035

Date: 2025-04-30 20:18:30
Score: 1.5
Natty:
Report link

On bubble.io inputs, you have the ability to check a box that says "enable auto-binding", and it will allow you to have the input automatically saved to the parent element, based on what field you use for the input.

If you want to make a version of the data that is only saved at the end of the day, just make a temporary object that the data is auto-bound too, and then at the end of the day, copy that object as the permanent object.

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

79601032

Date: 2025-04-30 20:15:29
Score: 1.5
Natty:
Report link

your declaration:

private static final int REQUEST_ENABLE_BT = 1;

Should be:
private static final int REQUEST_ENABLE_BT = 0;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Khaldoun Kayal

79601029

Date: 2025-04-30 20:12:28
Score: 3.5
Natty:
Report link

openssl dsa -in dsaprivkey.pem -outform DER -pubout -out dsapubkey.der

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

79601020

Date: 2025-04-30 20:06:26
Score: 3
Natty:
Report link

Resolved the delay. It was related to realtime listeners that were updating while the cloud function was in progress. After pausing the realtime listeners, the response is fast, even with a data large payload.

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

79601013

Date: 2025-04-30 20:02:25
Score: 2
Natty:
Report link

Technically, you are not looking to use a 'forward'. You want to use a 'redirect; forwards are redirects internal to the application (ie think one api calling another) while redirects are mainly for external communication.

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

79601005

Date: 2025-04-30 19:50:23
Score: 2
Natty:
Report link

I had the same issue. on my case my TextMeshPro was behind the camera for some reason. When i move my camera back, I saw the text on game view!

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: burger king

79601000

Date: 2025-04-30 19:40:20
Score: 1
Natty:
Report link

This is the code I used after playing with it.

par = int(input())
strokes = int(input())
if par not in range(3,6) :
    print('Error')
    
elif par - strokes == 2:
    print('Eagle')
elif par - strokes == 1:
    print('Birdie')
elif par == strokes:
    print('Par')
elif strokes - par == 1:
    print('Bogey')
   

 
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: StuSS777

79600993

Date: 2025-04-30 19:37:19
Score: 1.5
Natty:
Report link
 Solution 2

 https://stackoverflow.com/questions/7408024/how-to-get-a-font-file-name

 Collect the Registry Keys in

   HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts
   HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Fonts
   HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Fonts
   HKEY_CURRENT_USER\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Fonts
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Uwe92

79600989

Date: 2025-04-30 19:35:18
Score: 0.5
Natty:
Report link

When you call the authorize method in your controller, you are passing the policy as the argument instead of the user class/model as defined in your policy in the view method. You should obtain the user first in your controller and pass it as the second argument in your $this->authorize() method. This could be something along the lines of in your controller

$user = auth()->user();

this->authorize('view', $user);

// rest of the code
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Olumuyiwa

79600987

Date: 2025-04-30 19:34:18
Score: 4
Natty:
Report link

Use SHA1 instead of SHA256. I don't know why it works. But this solved my issue.

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

79600981

Date: 2025-04-30 19:28:17
Score: 4
Natty:
Report link

Better write or search an issue in github repository

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

79600976

Date: 2025-04-30 19:25:15
Score: 0.5
Natty:
Report link

@cafce25 thanks for pointing me in the right direction!

#![feature(type_alias_impl_trait)]

use futures::{stream::{FuturesUnordered, Next}, StreamExt};

#[tokio::main]
async fn main() {
    let mut interval = tokio::time::interval(tokio::time::Duration::from_secs(1));
    let mut task_manager = TaskManager::new();

    loop {
        tokio::select! {
            _ = interval.tick() => {
                task_manager.push();
            },
            Some(_) = task_manager.next() => {
                // Some logic
            }
        }
    }
}

pub type TaskManagerOpaqueFuture = impl std::future::Future<Output = ()>;

struct TaskManager {
    futures: FuturesUnordered<TaskManagerOpaqueFuture>
}

impl TaskManager {
    pub fn new() -> Self {
        Self {
            futures: FuturesUnordered::new(),
        }
    }

    #[define_opaque(TaskManagerOpaqueFuture)]
    pub fn push(&self) {
        self.futures.push(async {
            // Some logic
        });
    }

    pub fn next(&mut self) -> Next<'_, FuturesUnordered<TaskManagerOpaqueFuture>> {
        self.futures.next()
    }
}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @cafce25
  • Self-answer (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Leibale Eidelman

79600974

Date: 2025-04-30 19:24:15
Score: 2.5
Natty:
Report link

Well, with the given information, my best guess is that you are using a browser that doesn't support it, you can just refer to this list to verify

https://caniuse.com/download

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

79600971

Date: 2025-04-30 19:23:15
Score: 4.5
Natty: 4
Report link
Const wdReplaceAll as Long = 2

This line alone has saved my day altogether! Sensational. THanks.
Reasons:
  • Blacklisted phrase (0.5): THanks
  • Blacklisted phrase (2): saved my day
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Roselene

79600962

Date: 2025-04-30 19:16:13
Score: 1.5
Natty:
Report link

Since kernel 6.13 (~01/2025), there is a new makefile argument: MO=<build-dir>

make -C <kernel-dir> M=<module-src-dir> MO=<module-build-dir>

(see https://www.kernel.org/doc/html/v6.13/kbuild/modules.html#options )

The (final) patchset, for reference: https://lkml.org/lkml/2024/11/10/32

Enjoy.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Steve

79600957

Date: 2025-04-30 19:12:12
Score: 0.5
Natty:
Report link

Since Rails 7.1, the preferred way to do this is now with normalizes. I've also substituted squish for strip as suggested in the other answers, as it is usually (but not always) what I want.

class User < ActiveRecord::Base
  normalizes :username, with: -> name { name.squish }
end

User.normalize_value_for(:username, "   some guy\n")
# => "some guy"

Note that just like apneadiving's answer about updating the setter method, this will also avoid the confusion that can arise from using a callback that fires on saving a record, but doesn't run on a newly instantiated (but not saved) object:

# using a before_save callback
u = User.new(usernamename: " lala  \n ")
u.name # => " lala  \n "
u.save
u.name # => "lala"

# using normalizes or overriding the setter method
u = User.new(usernamename: " lala ")
u.name # => "lala"
u.save
u.name # => "lala"
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: NGobin

79600953

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

Instead of use:

maven {
     maven {url 'https://xxxx-repo.com'} 
}

try it:

maven {
    setUrl("https://xxxx-repo.com")
}

happy coding!

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

79600952

Date: 2025-04-30 19:10:11
Score: 2.5
Natty:
Report link

You are upgraded to the newest responsive engine. You can tell because you have the option of "Container Layout". Your problem can be solved by removing the min-width from the "Project headers" element, allowing it to be smaller than 1018 pixels.

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

79600949

Date: 2025-04-30 19:08:10
Score: 2
Natty:
Report link

To test in Stripe, you need to use your test API keys when doing things like creating a PaymentIntent - it looks like you are using your live mode keys here.

Here are their docs on testing: https://docs.stripe.com/testing-use-cases#test-mode

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

79600943

Date: 2025-04-30 19:00:08
Score: 3
Natty:
Report link

Try this simple one who needs a very simple accordion in c# winform

https://github.com/shamimevatix/winform-simple-accordion

Reasons:
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: shamim083

79600942

Date: 2025-04-30 19:00:08
Score: 1.5
Natty:
Report link

Change this:

 __slots__ = 'a', 'b'

to :

 __slots__ = 'a', 'b', 'c'
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79600930

Date: 2025-04-30 18:50:05
Score: 11 🚩
Natty: 5.5
Report link

I'm facing a similar problem, I mentioned it in the last Pull Request of the project. Did you manage to solve it?

My Comment -> https://github.com/Yukams/background_locator_fixed/pull/147#issuecomment-2842927736

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing a similar problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Anderson André

79600929

Date: 2025-04-30 18:50:05
Score: 1
Natty:
Report link

As of now there is no way to natively expose PK/FK via view in BigQuery. I also scan through this GCP documentation but I can’t find any to solve your issue to natively expose PK/FK in ‘VIEW’.

This is interesting to be available natively. On Google side, there is a feature request that you can file but there is no timeline on when it can be done.

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

79600916

Date: 2025-04-30 18:36:02
Score: 1
Natty:
Report link

For such a simply action why not simply use:

@inject NavigationManager Nav

<span class="fa fa-fighter-jet" @onclick=@(()=> Nav.NavigateTo("carMoved", 1))></span>

So use the injected NavigationManger object method directly instead of cluttering you code with doing the exact same thing.

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

79600914

Date: 2025-04-30 18:35:02
Score: 1
Natty:
Report link

After some try and error, mostly errors, it seems like the answer or workaround could be something like this:

$ShareDriveItemCam=Get-MgShareDriveItem -SharedDriveItemId  $SharedEncodeURLCam   -ExpandProperty "children" 

$AllFiles=Get-MgDriveItemChild  -DriveId $ShareDriveItemCam.ParentReference.DriveId -DriveItemId $ShareDriveItemCam.Id  -All

Where $SharedEncodeURLCam is the encoded weburl of folder of intrest.

Using Get-MgDriveItemChild returns all 5000+ objects of the shared folder.

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

79600907

Date: 2025-04-30 18:30:00
Score: 0.5
Natty:
Report link

As with scrat_squirrel answer.

sudo apt-get install qt5-assistant 

That actually was found for my raspberry pi4 running on a uname of

"Raspbian GNU/Linux 12 (bookworm)" and apt-get found the qt5 assistant meaning qmake was installed but without network, gui, and core. So I found this post and scrat_squirrels post and tried the install:

sudo apt-get install qtbase-dev

and poof! my PixyMon was able to build with only a few warnings....nothing fatal anymore. Thanks for this thread and posts my PixyCam seems to build all the scripts.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Agrapha

79600900

Date: 2025-04-30 18:26:59
Score: 4
Natty:
Report link

I would start by ensuring that the Template's Phases and Template's Artifacts are both actually populated by the template. If they are, the next thing I would check is your privacy rules. If there are privacy rules blocking the viewing of Phases, or Artifacts in the template, but not the Name, this could be why your only seeing name populated in the project object.

If this doesn't work, can you provide more information about what is happening via bubble.io's debugger when you trigger the workflow? This would be a good way to verify that you can access the data you are trying to copy over.

Reasons:
  • RegEx Blacklisted phrase (2.5): can you provide
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ben

79600899

Date: 2025-04-30 18:25:58
Score: 0.5
Natty:
Report link

This is an easier way to do it.

Snippet:

def subset(a, b):
    set_a = {tuple(item.items()) for item in a}
    set_b = {tuple(item.items()) for item in b}
    
    return set_a.issubset(set_b)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79600898

Date: 2025-04-30 18:25:58
Score: 0.5
Natty:
Report link

In case anyone get stuck with subprocess.run(..., cwd=long_name_dir), I have tried more or less everything, and at some point chatgpt told me that apparently the part of Windows that get called here still has a hard 260 limit. It attached a source (which seems irrrelevant to me but I can't be bothered to read it all). Thankfully in my case I could set cwd to any other temporary directory.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: DL33

79600895

Date: 2025-04-30 18:24:58
Score: 2.5
Natty:
Report link

If you're sure that Developer Options and USB Debugging are enabled, and you were previously able to connect to Android Studio, simply try restarting your phone...

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

79600889

Date: 2025-04-30 18:21:57
Score: 0.5
Natty:
Report link

@honzajscz's solution is still correct in spirit, however the structure of the Windows Terminal settings.json file has changed since 2021.

Commenting out the line "keys": "ctrl+v" as shown below worked for me.

screenshot of the relevant section of settings.json

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @honzajscz'sis
  • Low reputation (0.5):
Posted by: mmseng

79600886

Date: 2025-04-30 18:20:56
Score: 1.5
Natty:
Report link

$size = 1MB
did you try changing it? I'm really asking, no sarcasm.

Reasons:
  • Whitelisted phrase (-2): did you try
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Don

79600885

Date: 2025-04-30 18:20:56
Score: 2.5
Natty:
Report link

First install JDK, My location: C:\Program Files\Java\jdk-24

Please check the image, and work through step by step (update for 2025)

enter image description here

enter image description here

enter image description here

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

79600884

Date: 2025-04-30 18:20:56
Score: 1
Natty:
Report link

Allowing the xunit.assert to be referenced from ... where ever it is otherwise referenced from (instead of via xunit) seems to have solved the issued.

<!-- 
<PackageReference Include="xunit" Version="2.9.3" />    
-->
<PackageReference Include="xunit.core" Version="2.9.3" />   
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mn_test347

79600864

Date: 2025-04-30 17:58:52
Score: 1.5
Natty:
Report link

I think using the Data View tool within PyCharm is the easiest. After you run your program, open Data View using View Menu -> Tool Windows -> Scroll Down the list since Data View might not show at first glance and select Data View.

From there you can select/type the name of an object, like your Data Frames, and view it as a table with scroll bars to view the data in an easy/typical way.

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

79600857

Date: 2025-04-30 17:53:50
Score: 1
Natty:
Report link

wait for the css animation to complete, then trigger a window resize event.

  toggleSidenav() {
  this.isExpanded = !this.isExpanded;
    setTimeout(() => {
    window.dispatchEvent(new Event('resize'));
  }, 400);
  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sean Miller

79600850

Date: 2025-04-30 17:43:48
Score: 5
Natty:
Report link

I have the same issue, This is how I setup kotlinx.serialization based on the guide from their github page https://github.com/Kotlin/kotlinx.serialization and the same with here.
From step 1, it is not clear where to put this code

plugins {
    kotlin("jvm") version "2.1.20" // or kotlin("multiplatform") or any other kotlin plugin
    kotlin("plugin.serialization") version "2.1.20"
}

Then I put it into build.gradle.kts at project-level, since adding into module-level gives me error.

On step 2, I am adding dependency into my build.gradle.kts at module-level:

dependencies {
    ...
    implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.8.1")
}

But after I add annotation on my data class it gives me warning.

How I solve

I am adding the plugin.serialization into build.gradle.kts at module-level:

plugins {
    ...
    kotlin("plugin.serialization") // add this
}

Then sync your gradle

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Blacklisted phrase (2): gives me error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (0.5):
Posted by: Fuad Reza

79600847

Date: 2025-04-30 17:41:47
Score: 3.5
Natty:
Report link

Me, asks how to fit a image in a fieldset. Google="Here is a discussion from 10 years ago"

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

79600844

Date: 2025-04-30 17:39:47
Score: 1
Natty:
Report link

The root cause of this (still using file:// syntax in the AWS CLI V1's bundled installer's install script) has been addressed in 1.40.4 on 2025-04-29 via https://github.com/aws/aws-cli/pull/9420. Let us know if you're still seeing the issue with V1 installers published after that date.

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

79600830

Date: 2025-04-30 17:27:44
Score: 1
Natty:
Report link

You're missing a key line in App.config that actually enables console output.

To fix it, simply add this line to your <appSettings>:

<add key="serilog:write-to:Console" />

This tells Serilog to use the Console sink that you already loaded via serilog:using:Console

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

79600827

Date: 2025-04-30 17:24:43
Score: 3.5
Natty:
Report link

Sorry for the trouble. I have found the issue. We need to set "github.copilot.chat.copilotDebugCommand.enabled" to false to resolve the issue.

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

79600819

Date: 2025-04-30 17:20:42
Score: 1.5
Natty:
Report link

That is an old version that might have a bug with it, so you could try installing a 2025 version instead of a 2023 version. It seems to have to do with the CodeWithMe plugin, so you could try manually deleting that plugin which you can do by deleting its directory which should be located at :

C:\Users\<user>\AppData\Roaming\JetBrains\PyCharmCE2023.3\plugins\

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

79600815

Date: 2025-04-30 17:19:41
Score: 7.5 🚩
Natty:
Report link

Did it work please ? I have the same issue I waork with thehive 5 and elastic8 when i enable xpack.security.enabled: true thehive doesn't work

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did it
  • Low reputation (1):
Posted by: Elk8

79600813

Date: 2025-04-30 17:17:41
Score: 2
Natty:
Report link

A workaround that worked for me:

Project Properties > Web > Servers: uncheck the 'Apply server settings to all users (store in project file)' option.

Location of the refered option

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Renato Mestre

79600811

Date: 2025-04-30 17:17:41
Score: 2.5
Natty:
Report link

docker buildx history rm --all <REF>

is what you are looking for

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: jerepen

79600810

Date: 2025-04-30 17:17:40
Score: 0.5
Natty:
Report link

Thanks to @woxxom who nudged me in the right direction. The solution is to use runtime.getURL() as "initiatorDomains".

let url = chrome.runtime.getURL("").split("/").filter(a => a != "");
let id = url[url.length - 1];
let rule = 
[{
    "id": 1,
    "priority": 1,
    "action": {
        "type": "modifyHeaders",
        "requestHeaders": [{ "header": "origin", "operation": "remove" }]
    },
    "condition": { "urlFilter" : "example.com", "initiatorDomains": [id]}
}];

This solution works in chrome and firefox.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): solution is
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gamebeaker

79600808

Date: 2025-04-30 17:14:40
Score: 0.5
Natty:
Report link

you can use relative path to identify your target element

syntax:

//tagName[ @Attribute='AttributeValue']

<input type='button'> --> input - tagName , type -> Attribute , button -> Attribute Value

// button[ @type='button'] -- > in your case , this identified more than 15 elements , so you are trying to hardcoded 15 element

so we can also use some conditional statement also like and , or key word

let suppose your element has some other attribute and value are avaialble

let

<button type="button" name="submit"> Button Field </button>

//button[ @type='button' and @name='submit'] --> here we used and condition ( if both matched then only it will try to identify the element)

//button[ @type='button' or @name='submit'] --> here we used or condition ( if any one of the attribute matched then it will identify element)

by using above and and or condition , may be your count will be definaltely reduced ( earlier it identified more than 15 elements)

if suppose even after applied and or or conditions still you are not able to identify the elements uniquely

then you can also use the xpath axes

parent , child , ancestor , descendant , siblings

//tagName[@Attribute='value']//parent::tagName

//tagName[@Attribute='value']//child::tagName

//tagName[@Attribute='value']//ancestor::tagName

//tagName[@Attribute='value']//descendant::tagName

//tagName[@Attribute='value']//following-sibling::tagName//child::tagName

you can also identify by using contains , starts-with , normalize-space, text method also

//tagName[contains(@attribute, 'Attributevalue']

//tagName[starts-with(@attribute, 'Attributevalue']

//tagName[text()='Attributevalue']

//tagName[normalize-space(@attribute), 'Attributevalue']

By using all of these techniques you can able to uniquely identify element

please share the html code we can help yu better way

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Whitelisted phrase (-1): in your case
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Brahmananda Reddy Sadhu

79600795

Date: 2025-04-30 17:03:37
Score: 1.5
Natty:
Report link

It was issue with pooling on EF Core, so just disabling it in my connection strings helped me

var connection = new SqliteConnection($"Filename{databasePath};Mode=ReadWriteCreate;Pooling=False");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bohdan

79600792

Date: 2025-04-30 17:00:37
Score: 2.5
Natty:
Report link

https://github.com/ZXShady/enchantum

claims to be a faster alternative than magic enum` and conjure enum

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user24551355

79600790

Date: 2025-04-30 16:59:36
Score: 2
Natty:
Report link

Make it simple

Text(timerInterval: Date()...endTime)
    .monospacedDigit()
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jyferson Colina

79600773

Date: 2025-04-30 16:50:33
Score: 0.5
Natty:
Report link

Another option to set httpClient with proxy on Java1.8 or above.

HttpClient httpClient = HttpClient.create().proxy((proxy -> proxy.type(ProxyProvider.Proxy.HTTP)//
                .host("proxyHost").port(Integer.parseInt("proxyPort"))));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Krishna