79602714

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

I simply run update for node in my laravel homestead. I follow the download npm code at https://nodejs.org/en/download. Now its running

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

79602709

Date: 2025-05-02 01:29:54
Score: 2
Natty:
Report link

You should not use a Kerberos ticket on two different machine at least with Microsoft Kerberos. Doing so is a pass the ticket attack. Likely your EDR will light up if you succeed at this. If it doesn't you should be concerned.

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

79602708

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

Each of these options has advantages and disadvantages, and also implications that aren't necessarily good or bad - they are just stuff you have to deal with. There is no option which is "best" in an absolute sense - options only have varying levels of suitability for a given problem.

Check to see if you have any guidance (e.g. architecture, internal standards or policies) that helps give direction.

If your architecture does not provide an answer on this then keep in mind that when you do make a decision you should record it as a pattern (noting when the pattern is applicable, when and why yo sue it, etc).

try and identify what "good" looks like, by drawing up a list of things that you think are important for any solution to be "good" (successful). Then score each option against that list. Things to consider when drawing up your list:

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Adrian K

79602700

Date: 2025-05-02 01:08:49
Score: 8.5 🚩
Natty: 5.5
Report link

Olá, importei o Macromed Flash Factory Object e Shockwave Flash Object na Toolbox do Visual Studio Community 2022. Já tenho o Adobe Flash Player instalado no Windows 10. O problema é que o controle fica desabilitado na caixa de ferramentas e não consigo adicioná-lo no formulário. Já tentei mudar a estrutura do projeto par x86 e importar novamente o Flash.ocx mas ainda assim não funciona. Antes disso executei o regsvr32 Flash.ocx de dentro da pasta do Adobe Flash Player onde fica o arquivo, mas o controle continua desabilitado. Alguma sugestão de solução?

Reasons:
  • Blacklisted phrase (1): não
  • Blacklisted phrase (2): solução
  • Blacklisted phrase (2): Olá
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Thiago Sousa

79602698

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

2025
It worked after leaving the path in the order as show in the image:
Environment Variables

Reasons:
  • Whitelisted phrase (-1): It worked
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vlad Soares

79602695

Date: 2025-05-02 01:01:47
Score: 4
Natty:
Report link

Updating Android Studio to Narwhal preview version solved this problem.

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

79602690

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

Okay, I finally figured out how to disable "automatic scaling", once I discovered that this term existed...

If I call DrawImage() with two additional arguments (image width and height), then it does not auto-scale, and I get the required image copies...

graphics.DrawImage(clone, xdest, ydest, dx, dy);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gorlash

79602685

Date: 2025-05-02 00:31:41
Score: 1.5
Natty:
Report link

Step 1: Update your next.config.ts to this file

import type { NextConfig } from 'next'; const nextConfig: NextConfig = { productionBrowserSourceMaps: false, output: 'standalone', }; export default nextConfig;

Step 2: install this package npm install --save-dev rimraf

Step 3: replace you build script in package json "build": "next build && rimraf .next/cache",

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

79602668

Date: 2025-05-02 00:01:35
Score: 3
Natty:
Report link

Make sure to have the <IsTestProject>true</IsTestProject> between the <PropertyGroup></PropertyGroup> tags in .csproj of the test project. This atleast helped for my Test Explorer to finally run the XUnit tests.

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

79602664

Date: 2025-05-01 23:51:32
Score: 1
Natty:
Report link

The most likely issue is that react-awesome-reveal is trying to access browser APIs during server-side rendering. I think by ensuring these components only render on the client side, you should be able to get your animations working.

Try these steps

  1. Create a client-side wrapper component as shown in the first solution
  2. Use that wrapper in your Next.js pages or components
  3. Make sure your CSS doesn't interfere with animations
  4. Configure Next.js properly for Emotion (which react-awesome-reveal uses under the hood)
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sahan Randika

79602656

Date: 2025-05-01 23:33:29
Score: 1.5
Natty:
Report link

try use this command :flutter config --jdk-dir "your jdk path" which tells Flutter where to find the Java Development Kit (JDK) by manually setting the JDK path it means you don't need to put the link on JAVA_HOME

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

79602653

Date: 2025-05-01 23:24:27
Score: 0.5
Natty:
Report link

To filter for all records with only South codes only:

SELECT product_id, f.*
FROM table AS a
INNER JOIN LATERAL FLATTEN (input => a.location_codes) AS f
WHERE f.Key = 'South'

To filter for the record which has the value of 'south3':

SELECT product_id, f1.value::varchar AS location_code
FROM table AS a
INNER JOIN LATERAL FLATTEN (input => a.location_codes) AS f
INNER JOIN LATERAL FLATTEN (input =>f.value) AS f1
WHERE f.Key = 'South'
    AND f1.value::varchar = 'south3'
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tyler Moore

79602649

Date: 2025-05-01 23:15:25
Score: 1
Natty:
Report link

const canvas = document.createElement('canvas'); canvas.width = 600; canvas.height = 400; document.body.appendChild(canvas); const ctx = canvas.getContext('2d');

let circle = { x: 50, y: 200, radius: 20, dx: 2 };

function drawCircle() { ctx.clearRect(0, 0, canvas.width, canvas.height); ctx.beginPath(); ctx.arc(circle.x, circle.y, circle.radius, 0, Math.PI * 2); ctx.fillStyle = 'red'; ctx.fill(); ctx.closePath();

circle.x += circle.dx; if (circle.x + circle.radius > canvas.width || circle.x - circle.radius < 0) { circle.dx *= -1; } }

function animate() { drawCircle(); requestAnimationFrame(animate); }

animate();

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

79602648

Date: 2025-05-01 23:15:25
Score: 0.5
Natty:
Report link

I'm faced with a similar problem. In my case the reason was the use of styled-components >= 6. Since version 6 the automatic addition of prefixes has been disabled. You need to explicitly specify that they are needed using enableVendorPrefixes in StyleSheetManager.

Source

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

79602645

Date: 2025-05-01 23:13:24
Score: 3
Natty:
Report link
get-command -CommandType Application | ? {$_.Name -like '7z.exe'}

get-command gets all known commands; the -like operator filters out what is needed , in this case '7z.exe'.

7z.exe is a Application (not a Powershell Cmdlet), thus the switch -CommandType Application . It may or may not have an entry in the registry.
Without the -Commandtype switch, you would get a clunky error (which you also manage with a try/catch block, that would be clunky)

Cheers, Sudhi

Reasons:
  • Blacklisted phrase (1): Cheers
  • Contains signature (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sudhi

79602642

Date: 2025-05-01 23:10:23
Score: 2.5
Natty:
Report link

5 years later. You could also create a fake URL and set the window.location to that in JavaScript, then check your onBeforeBrowse notification handler for that URL, cancel the browse, then show your form.

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

79602641

Date: 2025-05-01 23:09:23
Score: 2
Natty:
Report link

You cannot create a webview in a headless test environment. A webview in Visual Studio Code relies on the graphical user interface to render its contents, and headless environments lack the necessary GUI support to display the webview.

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

79602635

Date: 2025-05-01 22:55:20
Score: 4.5
Natty:
Report link

I'm not sure if this works, but it seems Heroku Registry does not support contained, as it's mentioned on this link. Disable it from Docker Desktop as shown in the image

enter image description here

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ragar90

79602626

Date: 2025-05-01 22:41:17
Score: 1
Natty:
Report link

After extensive troubleshooting, the solution that ultimately worked for me was switching to Python 3.10 or 3.9. To implement this fix, ensure your workspace is configured to use Python 3.10 as the interpreter (this can typically be adjusted through your IDE/editor settings). Updating the interpreter version should resolve compatibility issues and allow your code to run properly.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yassin gouti

79602623

Date: 2025-05-01 22:38:16
Score: 1
Natty:
Report link

You have to use wlr-layer-shell to tell the compositor where to place the taskbar it works in hyprland, sway but I don't about DE's like gnome which uses mutter and doesn’t support it directly you would use gtk-layer-shell.

This might be helpful

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

79602615

Date: 2025-05-01 22:33:15
Score: 0.5
Natty:
Report link

Approach 2 - abstract them out as a port.

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

79602612

Date: 2025-05-01 22:30:14
Score: 1
Natty:
Report link

I managed to do that by creating a a new component for each entry https://codepen.io/azmvth/pen/PwwQWvj

const app = Vue.createApp({
    data() {
        return {
            log: []
        }
    },

    methods: {
        add() {
            const self = this

            const n = window.btoa(String(Date.now()))
            self.log.push(n)
            
            const a = {
                data() {
                    return {
                        started: 0,
                        passed: 0
                    }
                },
                created() {
                    const _self = this
                    _self.started = Date.now()
                    
                    setInterval(()=>{
                        _self.passed = Math.floor((Date.now()-_self.started)/1000)
                    }, 1000)
                },
                template: `<div>Entry added {{passed}} ago!</div>`
            }
            
            app.component(n, a)
        }
    }
})

app.mount('#app')
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.5.4/vue.global.min.js"></script>
<div id="app">
    <component v-for="l of log" :is="l"></component>
    <div style="margin-top: 1rem"><i>Click the button to add a new entry </i><button @click="add()">+</button></div>
</div>

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

79602611

Date: 2025-05-01 22:29:14
Score: 1
Natty:
Report link

I initially tried Azure with Entra ID, but personally found it a bit slow, hard to customize, and more complex than I needed due to its API and external dependencies.

I believe a good general rule for authentication and authorization is to strike a balance between security and user experience. If your security measures frustrate users, it might be worth improving the UX.

Aside from third-party auth like Google, I like the passwordless approach used by apps like Canva and Skype—where users receive a code via email instead of entering a password.

I built my own solution. You can check the source code or use the package if you prefer not to build your own.

The frontend part is available as an npm package, though, it includes more than just auth features. If you're only interested in login, registration, or Google auth, you can check the source code and just use the parts that you need.

Example use case (access token expires in 15 minutes, refresh token in 24 hours):

  1. User logs in → receives access and refresh tokens.
  2. Possible scenarios:
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Filip Trivan

79602605

Date: 2025-05-01 22:22:12
Score: 4.5
Natty: 4.5
Report link

@scribe: thanks, your registry changes in combination with changing the port to 587 (SMTPServerPort setting in the rsreportserver.config file) worked for me!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @scribe
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Bart Prüst

79602596

Date: 2025-05-01 22:14:09
Score: 6 🚩
Natty:
Report link

fuck you

30char30char30char30char30char

Reasons:
  • Blacklisted phrase (2): fuck
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: joe biden

79602595

Date: 2025-05-01 22:13:08
Score: 4.5
Natty:
Report link

I am with you on this scratching my head.

It is expecting Token and Token:TenantId

I got the token using https call to get the bearer token as well as passing tenant id but i am still getting the same eror I am with you on this scratching my head.

I am with you on this scratching my head.

            "statuses": [
                {
                    "status": "Error",
                    "target": "Token",
                    "error": {
                        "code": "Unauthenticated",
                        "message": "This connection is not authenticated."
                    }
                }
            ]

@Microsoft is there any way to automatically create a connection for at least built-in connectors? May be an API call using Service Principal?

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Ashar

79602578

Date: 2025-05-01 21:48:02
Score: 4
Natty: 4.5
Report link

I had the same issue and was resolved with this comment https://github.com/kulshekhar/ts-jest/issues/4561#issuecomment-2676155216

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Omar

79602559

Date: 2025-05-01 21:35:59
Score: 0.5
Natty:
Report link

Using CancellationToken in an ASP.NET Web Application

CancellationToken is a feature in .NET that allows tasks to be cancelled gracefully. It is particularly useful in ASP.NET applications where requests may need to be terminated due to user actions, timeouts, or resource limitations. Learn More

Why Use CancellationToken?

  1. Improve Performance – Prevent unnecessary resource consumption when a request is abandoned.

  2. Handle User Actions – Allow cancellation if a user navigates away or closes the browser.

  3. Support Long-Running Processes – Cancel background tasks when no longer needed.

Example Usage in an ASP.NET Controller | Video Tutorial

When handling HTTP requests in ASP.NET Core, you can pass CancellationToken as a parameter:

csharp

[HttpGet("long-operation")]
public async Task<IActionResult> PerformLongOperation(CancellationToken cancellationToken)
{
    try
    {
        // Simulate a long-running task
        await Task.Delay(5000, cancellationToken);
        return Ok("Operation completed successfully");
    }
    catch (OperationCanceledException)
    {
        return StatusCode(499, "Client closed the request");
    }
}

Using CancellationToken in Background Services

If you are running background tasks (e.g., fetching data periodically), use CancellationToken in services:

csharp

public class MyBackgroundService : BackgroundService
{
    protected override async Task ExecuteAsync(CancellationToken stoppingToken)
    {
        while (!stoppingToken.IsCancellationRequested)
        {
            // Perform periodic work
            await Task.Delay(1000, stoppingToken);
        }
    }
}

Key Points to Remember

Video Tutorial

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Joe Mahlow

79602558

Date: 2025-05-01 21:35:59
Score: 3
Natty:
Report link

From the lttng documentation:

Why are trace event records discarded?

When your application generates trace data, it's passed to the consumer daemon through channels. Each channel contains ring buffers and this is where your trace data is stored, as event records, before LTTng saves it somewhere, for example on the disk, or over the network.

Your application and the consumer daemon are a classic producer-consumer model: one puts data into the channel's ring buffers, the other takes it out.

But if the application writes data faster than the consumer can read it, you can quickly run into trouble.

---

Who is the consumer here? Is Babeltrace a consumer?

Could it mean that babeltrace could be slow to read/output the data, and so it can get discarded?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Vikas Agrahari

79602539

Date: 2025-05-01 21:19:55
Score: 1
Natty:
Report link

The easiest solution maybe to use Android 15 (API Level 35) as the Emulator. On this version it should work with or without Google Play.

Earlier version tend to require Google Play library update.

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

79602536

Date: 2025-05-01 21:16:54
Score: 2
Natty:
Report link

I had an excellent experience purchasing a Windows 10 Pro key from Software Caster. The process was smooth, hassle-free, and incredibly efficient. The key was delivered promptly, worked perfectly, and activation was seamless.

It’s refreshing to find a platform that provides reliable software keys without any complications.

Highly recommended for anyone looking for genuine software solutions!

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jessica Smith

79602535

Date: 2025-05-01 21:16:54
Score: 1.5
Natty:
Report link

Okay, as I see here you're using position: absolute;, that's not great.

Position absolute removes the element from the DOM, basically it will be in the specified position no matter what. For making a site responsive there is always better solution and not using absolute position. As I can't comment on the post this, I will try to make it work for you, and edit this post to add the code. See you in max 10 minutes. :)

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Giovanni

79602531

Date: 2025-05-01 21:11:53
Score: 0.5
Natty:
Report link

It depends on the usings - as the using declaration basically adds the namespace to all code in the file

  1. Console isn't dependent on your namespace so will work because of the using System (you could also put System.Console.WriteLine() )

  2. MyNamespace.MyClass.MyMethod() - should work with no namespace qualification (no need for a using statement)

  3. MyClass.MyMethod(); - requires the namespace declaration to remove the need to declare the namespace (MyClass cannot be seen by the compiler without the using statement to make the namespace visible)

See here for how namespacing works : https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/namespaces

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

79602530

Date: 2025-05-01 21:10:53
Score: 2.5
Natty:
Report link

You need to add build policy to build validation for that branch. That should fix the issue

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

79602526

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

Commenting this just because I've fixed the problem myself and it wasn't anything to do with IDs (I think) so just in case it helps anyone else.

Turns out I had an enum type in another file and for some reason typeorm couldn't make the mapping to it properly due to absolute import over relative import.

I moved the enum type back into the entity file so they were in one place and the problem seemed to be fixed.

I also changed the entity ID type to a varchar/guid so maybe that also changed something, unsure

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

79602512

Date: 2025-05-01 20:53:48
Score: 0.5
Natty:
Report link

gcc writes the runtime coverage data (the .gcda files) in an atenit() callback.

If your process does not exit (say, runs forever), or crashes/is killed - then the callback is not called, and no data is written.

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

79602505

Date: 2025-05-01 20:47:47
Score: 1.5
Natty:
Report link

There is an official Microsoft OneLake File Explorer application that may be sufficient https://learn.microsoft.com/en-us/fabric/onelake/onelake-file-explorer.

Additionally, when uploading files to OneLake there should be a specific destination that includes a workspace and a Lakehouse. There is no direct "file storage" on OneLake. Files can only reside inside workspaces, and if they are data files then the only destination is a File section in a Lakehouse.

More information can be found here https://learn.microsoft.com/en-us/fabric/onelake/onelake-access-api

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

79602502

Date: 2025-05-01 20:42:46
Score: 2
Natty:
Report link

I realize that perhaps my answer may not be entirely comparable to the question. But I want to share my experience. I was faced with the need to modify a dynamic page. All methods from this topic did not help me, but the following helped:

const observer = new MutationObserver((mutations) => {
    applyStylesToAllElements();
});

observer.observe(document.documentElement, {
    childList: true,
    subtree: true,
    attributes: true
});

function applyStylesToAllElements() {
    document.querySelectorAll('*').forEach(el => {
        el.style.userSelect = 'text'
    });
}
Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fedor

79602501

Date: 2025-05-01 20:41:45
Score: 1
Natty:
Report link

There are many helpful answers here, interesting how much the answers have had to vary and evolve with all the changes in gradle along the way. It gives extra credit to the creators of languages like java where code blocks that worked 10 years ago are still likely to work today.

In any case, while I found this solution above would work:

 attributes["Class-Path"] = configurations.compileClasspath.get().joinToString(separator = " ") { it.name }

There is an issue if your build has non-modular jars dependencies, and you have to include an extraJavaModuleInfo{} block. In this case, the above takes a jar like "some_name.jar" and changes it to "some_name-module.jar" which then doesn't exist on your file system. I just finally copied and pasted the exact jar names into a string which is not ideal, but would be interested if anyone finds a solution to the above when having to use the plugin org.gradlex.extra-java-module-info.

Reasons:
  • Blacklisted phrase (1): any help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: cbdenver

79602496

Date: 2025-05-01 20:33:43
Score: 1.5
Natty:
Report link

Solved. I achieved what I needed with the following code:

Extended the dialog definition with

$('.ui-dialog-buttonpane button:contains("Default")').attr("id", "dialog_default-button");

And the showConfirm function needs this code before opening the dialog:

$("#dialog_default-button").unbind("click").click(
    function () {
        document.form.submit();        
    }
 )
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user9671207

79602488

Date: 2025-05-01 20:26:41
Score: 5.5
Natty: 4.5
Report link

This is my sample Logs from Cloudwatch logs:

[INFO]  2025-04-30T17:42:26.635Z    cf79fc56-849b-4577-b253-72f94d1f8fa7    Decoded events:
[
    {
        "event_type": "_SMS.BUFFERED",
        "event_timestamp": 1746034940084,
        "arrival_timestamp": 1746034940711,
        "event_version": "3.1",
        "application": {
            "app_id": "a5f5282f2879453887ffd0381fcba2e9",
            "sdk": {}
        },
        "client": {
            "client_id": "kof8f2ky9ahjtinyvtbrsftygom"
        },
        "device": {
            "platform": {}
        },
        "session": {},
        "attributes": {
            "sender_request_id": "lodreco6ffaasq2j51nbfi33l2hal530o601l4g0",
            "destination_phone_number": "+15197918331",
            "record_status": "SUCCESSFUL",
            "iso_country_code": "CA",
            "mcc_mnc": "302720",
            "number_of_message_parts": "2",
            "message_id": "lodreco6ffaasq2j51nbfi33l2hal530o601l4g0",
            "message_type": "Transactional",
            "origination_phone_number": "+13435013190"
        },
        "metrics": {
            "price_in_millicents_usd": 2696.0
        },
        "awsAccountId": "971422684164"
    },
    {
        "event_type": "_SMS.BUFFERED",
        "event_timestamp": 1746034940357,
        "arrival_timestamp": 1746034940996,
        "event_version": "3.1",
        "application": {
            "app_id": "a5f5282f2879453887ffd0381fcba2e9",
            "sdk": {}
        },
        "client": {
            "client_id": "u4m+htrfzep84of7dbi/8msma2e"
        },
        "device": {
            "platform": {}
        },
        "session": {},
        "attributes": {
            "sender_request_id": "le2g8i291bmkam9u978l8iv05cgig7igrme0dho0",
            "destination_phone_number": "+15819846395",
            "record_status": "SUCCESSFUL",
            "iso_country_code": "CA",
            "mcc_mnc": "302500",
            "number_of_message_parts": "2",
            "message_id": "le2g8i291bmkam9u978l8iv05cgig7igrme0dho0",
            "message_type": "Transactional",
            "origination_phone_number": "+13435013190"
        },
        "metrics": {
            "price_in_millicents_usd": 2696.0
        },
        "awsAccountId": "971422684164"
    }
]

I am trying the below Query, but it is showing the "Final Column as Blank :

SELECT
  logevent.message,
  regexp_extract(logevent.message, '(Decoded events:[ \t]*:[ \t]*)') AS "FINAL",
  SUBSTRING(logevent.message, STRPOS(logevent.message, '{')) AS "json_array",
*FROM "AwsDataCatalog"."beautifi-logs-printsmstext-database"."beautifi_logs_printsmsevents"
CROSS JOIN UNNEST(logevents) AS t (logevent)
WHERE logevent.message LIKE '%Decoded events:%'

Can anyone help me here ?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can anyone help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Bharavi Desai

79602483

Date: 2025-05-01 20:24:41
Score: 1
Natty:
Report link

I'm struggling with my Arduino Project Called TolBooth. I'm getting an error that says Function definition is not allowed here on lines on 86:17, and 114:20.

#include <Servo.h>

const int buttonPin = 8;
const int limitUpPin = 3;
const int limitDownPin = 4;
const int blueLEDPin = 10;
const int redLEDPin = 9;
const int servoPin = 5;
const int echoPin = 2;
const int trigPin = 3;
const int echoPin2 = 11;
const int trigPin2 = 12;

float duration = 0.0;
float distance = 0.0;

Servo tollArm;

bool armUp = false;
bool armDown = true;
bool moving = false;

void setup() {
pinMode(buttonPin, INPUT);
pinMode(limitUpPin, INPUT_PULLUP);
pinMode(limitDownPin, INPUT_PULLUP);
pinMode(blueLEDPin, OUTPUT);
pinMode(redLEDPin, OUTPUT);
tollArm.attach(servoPin);
tollArm.write(0); // Start with arm down (0 degrees)

digitalWrite(blueLEDPin, LOW);
digitalWrite(redLEDPin, HIGH); // Arm is down initially
}

float checkDistance(){
  digitalWrite(trigPin, LOW); 
  delayMicroseconds(2);
 
  digitalWrite(trigPin, HIGH);
  delayMicroseconds(10);
  digitalWrite(trigPin, LOW);
  
  duration = pulseIn(echoPin, HIGH);
  distance = (duration / 2) * 0.0344;
  return distance;
  
}


void loop() {
// Check for button press to raise the arm
if (digitalRead(buttonPin) == HIGH && !moving) {
raiseArm();
  


// Check limit switches
if (digitalRead(limitUpPin) == LOW) {
armUp = true;
armDown = false;
digitalWrite(blueLEDPin, HIGH);
delay(1000);
digitalWrite(redLEDPin, LOW);
delay(1000);
}
else if (digitalRead(limitDownPin) == LOW) {
armDown = true;
armUp = false;
digitalWrite(blueLEDPin, LOW);
delay(500);
digitalWrite(redLEDPin, HIGH);
delay(500);
}
  
if(digitalRead(buttonPin) == LOW){
   digitalWrite(redLEDPin, HIGH);
   delay(1000);
}

if(digitalRead(buttonPin) == HIGH){
   digitalWrite(blueLEDPin, LOW);
   delay(1000);
}
  
void raiseArm() {
moving = true;

// Move arm up gradually
for (int pos = 0; pos <= 90; pos++) {
tollArm.write(pos);
delay(15);
if (digitalRead(limitUpPin) == LOW) break; // Stop if limit switch triggered
}

delay(3000); // Vehicle passes through

// Move arm down gradually
for (int pos = 90; pos >= 0; pos--) {
tollArm.write(pos);
flashRedLED();
delay(15);
if (digitalRead(limitDownPin) == LOW) break; // Stop if limit switch triggered
}
  

}
  




  
void flashRedLED() {
static unsigned long lastFlashTime = 0;
static bool ledState = false;
if (millis() - lastFlashTime > 200) {
ledState = !ledState;
digitalWrite(redLEDPin, ledState);
lastFlashTime = millis();
}
}
  


digitalWrite(redLEDPin, HIGH); // Keep red LED on after closed
moving = false;
  
}
  
}





 
Reasons:
  • RegEx Blacklisted phrase (1): I'm getting an error
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Aiden

79602471

Date: 2025-05-01 20:09:37
Score: 2
Natty:
Report link

For my case, we were using gMSA accounts and even though the AD Computer object was added to the right group in AD, it didn't take effect until the next reboot. Rebooting the computer fixed the issue.

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

79602470

Date: 2025-05-01 20:08:36
Score: 7.5
Natty: 7
Report link

I have the same case you shared without getting an answer.

Could you please let me know how you migrate the server-identity SSL?

Thank you,

David

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (2.5): Could you please let me know how you
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: user22762707

79602458

Date: 2025-05-01 19:58:34
Score: 3
Natty:
Report link

The book "Head First Design Patterns" by Eric Freeman & Elisabeth Robson has a good explanation of MVC and how it is a combination of/derived from GoF Patterns.

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

79602457

Date: 2025-05-01 19:58:34
Score: 3.5
Natty:
Report link

in next.js 15 using app route: https://nextjs.org/docs/app/api-reference/file-conventions/error

error.js

An error file allows you to handle unexpected runtime errors and display fallback UI.

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

79602453

Date: 2025-05-01 19:56:34
Score: 1.5
Natty:
Report link

After seeing this https://procmail.xyz/ my prefrence is goes to procmail

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

79602446

Date: 2025-05-01 19:52:32
Score: 1.5
Natty:
Report link

I am using AzureCLI@2 task in my Azure DevOps YAML pipeline and simply adding

az config set bicep.use_binary_from_path=false

in the first line of inlineScript section of the task resolved the issue. No bicep install/uninstall was required.
Thanks @vandre for the suggestion.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alex T

79602441

Date: 2025-05-01 19:47:31
Score: 2.5
Natty:
Report link

in your package.json file add "type": "module" and in scripts "generate:types": "PAYLOAD_CONFIG_PATH=src/payload.config.ts payload generate:types"

it will work fine

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

79602415

Date: 2025-05-01 19:17:25
Score: 2
Natty:
Report link

Document has it's own element too.

document.documentElement.focus();
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: minch.dev

79602414

Date: 2025-05-01 19:16:24
Score: 1.5
Natty:
Report link

For anyone struggling check npm @googleworkspace/drive-picker-element lib for easier implementation

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

79602407

Date: 2025-05-01 19:04:21
Score: 2.5
Natty:
Report link

if A_VALUE > "A" THEN

If it is less than "A" it's probably a number

if A_VALUE < "A" THEN

This is probably a number

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

79602405

Date: 2025-05-01 19:01:21
Score: 0.5
Natty:
Report link

It has been implemented in Promptfoo version 0.112.2.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-2):
Posted by: Tobias Hermann

79602404

Date: 2025-05-01 19:01:21
Score: 1
Natty:
Report link
#include<iostream>
using namespace std;
int main()
{
    int hours;
    int fee=0;
    cout<<"Enter the total number of hours spent at the gym;";
    cin>>
    //input validation
    if(!(cin>>hours)||hours<=0)
    {
        cout<<"Invalid input.Please enter a positive number of hours."<<endl;
    }
    else
    {
        cout<<"nooooooooooooo";
    }
    
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30423688

79602402

Date: 2025-05-01 19:01:21
Score: 0.5
Natty:
Report link

I am giving the code that works very well. Thank you Michal for your help.

Sub SplitLines()
    Dim ws As Worksheet
    Dim lines As Variant, parts As Variant
    Dim lineText As String, amountText As String, dateText As String, mixText as String
    Dim firstRow As Long, lastRow As Long
    Dim r As Long, i As Long, numLines As Long

    Set ws = ActiveSheet
    firstRow = ActiveCell.Row
    lastRow = ws.Cells(ws.Rows.Count, "A").End(xlUp).Row

    For r = lastRow To firstRow Step -1
        If ws.Cells(r, "A").Value <> "" Then
            lines = Split(ws.Cells(r, "A").Value, vbLf)
            numLines = UBound(lines) - LBound(lines) + 1
            If numLines > 1 Then
                ws.Rows(r + 1 & ":" & r + numLines - 1).Insert Shift:=xlShiftDown
            End If
            For i = LBound(lines) To UBound(lines)
                lineText = Trim(lines(i))
                lineText = Application.Trim(lineText)
                parts = Split(lineText, " ")
                If UBound(parts) >= 1 Then
                    amountText = parts(0)
                    dateText = parts(1)
                Else
                mixText = parts(0)
                    If Len(mixText) = 10 Then
                        amountText = ""
                        dateText = LineText
                    Else
                        amountText = LineText
                        dateText = ""
                    End If
                 End If

                If amountText <> "" Then ws.Cells(r + i, "C").Value = CCur(amountText)
                If dateText <> "" Then ws.Cells(r + i, "D").Value = CDate(dateText)

            Next i
        End If
    Next r

    ws.Columns("C").NumberFormat = "#,##0.00 zł"
    ws.Columns("D").NumberFormat = "dd/mm/yyyy"
End Sub
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Grzegorz

79602401

Date: 2025-05-01 19:00:20
Score: 3
Natty:
Report link

Based on your provided schema and insert, zakaznici table doesn't seem to have a column id_lieky

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

79602400

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

If you have used version 26.2.0. You have to add in docker-compose.yaml

      QUARKUS_LOG_LEVEL: DEBUG
      QUARKUS_LOG_CATEGORY__"org.keycloak.authorization"__LEVEL: DEBUG

This method solved my problem.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Cihan gürkan

79602395

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

No its part of camel-karaf for users on this platform where its intended to be used only.

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

79602393

Date: 2025-05-01 18:52:18
Score: 3
Natty:
Report link

I was having the same problem while developing locally, also using 2.49.4. Deleting my cookies/cache and restarting my browser appeared to fix the issue.

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

79602391

Date: 2025-05-01 18:49:17
Score: 2
Natty:
Report link

# Extract the full text to work with the entire document

full_extracted_text = pytesseract.image_to_string(image)

# Display all the extracted text for detailed analysis

full_extracted_text

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sofia Avah Recato

79602383

Date: 2025-05-01 18:41:15
Score: 4
Natty: 4.5
Report link

Microsoft Store Not Availability in EC2(Windows)

https://chatgpt.com/canvas/shared/6813be5f4f208191973723fbfbb10a0e

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

79602370

Date: 2025-05-01 18:35:13
Score: 1.5
Natty:
Report link

Turns out it was a red herring and I set up and used indexes properly. The issue was me getting actual data in a separate request using the list of IDs from this function, but not sorting them in the same order as said list. And since it was creating creating the cursor on the object store, the order of values was the same as default sorting on object store.

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

79602366

Date: 2025-05-01 18:32:11
Score: 4
Natty:
Report link

Thank you. It is useful for the desired task.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Md. Shahedur Rahman

79602360

Date: 2025-05-01 18:28:10
Score: 1
Natty:
Report link

I hope you've resolved this by now, but for any others who come looking -- you have to set Intents.members to True so that your bot will know it's allowed to look at guild member lists. Otherwise it will quietly return wrong answers like this!

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

79602359

Date: 2025-05-01 18:28:10
Score: 1
Natty:
Report link

Why is Spring Security converting my 500 error to 403 when the UserService is down, and how can I ensure it returns the original 500 error?

There were some potentially ambiguous assumptions. I tried to guess the objectives.

You were using roles. Let me imagine. There were three roles in the system, e.g. ADMIN, EDITOR and USER.

I had some questions in mind:

If a service is up (returning HTTP status code 200), do you want people who have one of these roles to access /auth/login?

If a service is up (returning HTTP status code 200), do you want people who do not have one of these roles to access /auth/login?

If a service is down (returning HTTP status code 500), do you want people who have one of these roles to access /auth/login?

If a service is down (returning HTTP status code 500), do you want people who do not have one of these roles to access /auth/login?

My example code covered all these questions.

One test was to test when a service returned HTTP status code 200, and when people were not logged in, did they see 200 or 403?

Another test was to test when a service returned HTTP status code 500, and when people were not logged in, did they see 500 or 403?

Yet another test was to test when a service returned HTTP status code 200, and when people were logged in, did they see 200 or 403?

The last test was to test when a service returned HTTP status code 500, and when people were logged in, did they see 500 or 403?

    @Bean
    @Order(1000)
    public SecurityFilterChain securityFilterChainAuthLogin(HttpSecurity http) throws Exception{
        
        String[] matchedPaths = { 
            "/auth/login**"
        };
        
        http
            .csrf(csrf -> csrf.disable())
            .securityMatcher(
                matchedPaths
            )

            // If you want roles of "ADMIN", "EDITOR" or "USER" to enter...
            
            .authorizeHttpRequests(request -> 
                request
                    .requestMatchers(matchedPaths)
                    .hasAnyRole("ADMIN", "EDITOR", "USER")
                    .anyRequest()
                    .authenticated()
            )

            // If you want anyone to enter...

            // .authorizeHttpRequests(request -> 
            //     request
            //         .requestMatchers(matchedPaths)
            //         .permitAll()
            // )

            .sessionManagement(session -> session
                .sessionConcurrency((concurrency) -> concurrency
                                .maximumSessions(1)
                                .maxSessionsPreventsLogin(true)
                        )
            )
            .logout(logout -> logout.logoutUrl("/logout"));
            
        return http.build();
    }

In my example, using Microsoft SQL Server, I ran a SQL statement CREATE DATABASE springbootsecurityverify403 COLLATE Latin1_General_100_CS_AI_WS_SC_UTF8; to create the database before running Spring Boot. The objectives were to make the service return HTTP status code 200 or 500 respectively and to observe what I could see. I opened http://localhost:8080/ in the browser to test.

The results in testing POST /auth/login were:

Using .permitAll() meant I did not need to log in and I could get 200 or 500.

Using .hasAnyRole("ADMIN", "EDITOR", "USER").anyRequest().authenticated() meant when I was not logged in, I got 403. After I logged in, I got 200 or 500.

What I tried to show was a part of Spring Boot Security appeared to work as expected in the above ways.

The permissions were set using @Order and matching paths as well as matching roles as in my example. You might follow such an example and if you still notice other strange HTTP status code 403 problems, there could be other issues in other parts of the code, which you might want to share for other people to give potentially more helpful answers.

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Hdvlp

79602351

Date: 2025-05-01 18:26:09
Score: 2
Natty:
Report link

tkinter: import tkinter as tk class SimpleDrawApp: def _init_(self, root): self.root = root self.root.title(' ') self.canvas = tk.Canvas(root, bg='white', width=500, height=400) self.canvas.pack() self.canvas.bind('<B1-Motion>', self.draw) def draw(self, event): x, y = event.x, event.y r = 3self.canvas.create_oval(x-r, y-r, x+r, y+r, fill='black') if _name_ == '_main_': root = tk.Tk() app = SimpleDrawApp(root) root.mainloop()

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

79602347

Date: 2025-05-01 18:23:09
Score: 2.5
Natty:
Report link

I had the same error and through Datadog saw that it was due to not enough CPU in Kubernetes. I removed the CPU and Memory limits to get it to start.

enter image description here

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Zev Butler

79602344

Date: 2025-05-01 18:22:08
Score: 2
Natty:
Report link

first you need to convert the lat, long and att parameters of the OXTS recordings into an NED frame, one good example of this process is provided by ai-imu-dr paper in https://github.com/mbrossar/ai-imu-dr/blob/master/src/main_kitti.py. This code provides easy to understand procedure for this purpose.

I hope you find this useful.

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

79602343

Date: 2025-05-01 18:22:08
Score: 0.5
Natty:
Report link

You can exclude FeignClientsConfiguration at first if it's not needed.

@SpringBootApplication
@EnableAutoConfiguration(exclude = FeignClientsConfiguration.class)
public class YourApplication {

}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mantu Singh

79602336

Date: 2025-05-01 18:15:06
Score: 3
Natty:
Report link

https://klibs.io/ is created by the Kotlin web team and is currently in alpha.

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

79602316

Date: 2025-05-01 18:06:56
Score: 6 🚩
Natty:
Report link

I tried your code for my .csv file with (,) as delimiter using the below code and i got output file with no data. Can you pls help if i am missing anything here to delete my last column out of 12 columns.

================================================================================================================

@echo off

setlocal EnableDelayedExpansion

(for /f "delims=" %%x in (MonthlyRecon_Actual.csv) do (

set "line=%%x"

for /F "tokens=1-5* delims=|" %%a in ("!line:,=|,!") do (

set "line=%%a%%b%%c%%d%%f"

)

echo !line:|=!

))>>MonthlyRecon_Actual_out.csv

===================================================================================================================

Reasons:
  • RegEx Blacklisted phrase (3): Can you pls help
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @echo
  • No latin characters (0.5):
  • Filler text (0.5): ================================================================================================================
  • Filler text (0): ===================================================================================================================
  • Low reputation (1):
Posted by: Srini

79602314

Date: 2025-05-01 18:04:55
Score: 0.5
Natty:
Report link

It would be very helpful if you shared what type of script you are writing. As pointed out by nico_cisco, the | filters take regex arguments. To prevent buffering the enable command 'terminal length 0' will stop line breaks. Setting the terminal length to 10 doesn't stop the command from running but causes the output to pause. If this is just an SSH session via putty, that's not going to help. If this is something like a python/netmiko script, you can set the expected string to '--More--' and then send ^ to break the command.

The IOS platform you are running also matters. ASA's don't have | section. NXOS requires quotes around a regex with a space in it. NXOS also has '| head lines X' that cuts off after X lines but other platforms do not. Your platform on Cisco makes a huge difference on what your options are from CLI.

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

79602313

Date: 2025-05-01 18:03:55
Score: 2.5
Natty:
Report link

You could check out @DependsOn or maby @Primary

i have to admit i have not looked into your code right now and i am not sure if it suits your usecase it just where the first things that came into my mind

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @DependsOn
  • User mentioned (0): @Primary
  • Low reputation (0.5):
Posted by: Nico S.

79602308

Date: 2025-05-01 18:00:53
Score: 3
Natty:
Report link

Go to the latest Oracle Official Version for download, at this time of this answer is Dec 19 2024 https://www.oracle.com/tools/downloads/jdeveloper-14c-downloads.html#

In Mac ensure in Privacy & Security Allow Application to be opened.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Isaac Aldana

79602305

Date: 2025-05-01 17:57:52
Score: 1
Natty:
Report link

In my case, my GitHub App was (intentionally, expectedly) modifying a GitHub Action YML file and I had to grant the App "Read and write" to Actions at the repository level under App -> Developer settings -> Permissions & events.

Repository permissions -> Actions -> Read and Write

Then in .github/workflows/my-workflow.yml that I was running to edit the Action, I added the following:

permissions:
    actions: write
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dan Wuensch

79602301

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

Clarifying what @Charles wrote…

You don't need to read or extfmt the message SFL. Write the message SFLCTL, then extfmt your data SFLCTL.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Charles
  • Low reputation (0.5):
Posted by: PoC

79602298

Date: 2025-05-01 17:47:50
Score: 3
Natty:
Report link

Program 1

Write a program to print Hello in Dart.

void main() {

print('Hello, Dart!’);

}

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Arĵüŋ Ś

79602296

Date: 2025-05-01 17:46:50
Score: 0.5
Natty:
Report link

I'm not aware of a way to deliberately open the Debug Console upon starting a test, but you can instruct VS Code not to open the Test Results pane with the setting testing.automaticallyOpenTestResults.

A screenshot of the VS Code Setting "Testing: Automatically Open Test Results"

"testing.automaticallyOpenTestResults": "neverOpen"

With the value of neverOpen, if the Debug Console is already open when you start the tests, it will continue to stay open instead of switching to the Test Results pane.

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: thehale

79602295

Date: 2025-05-01 17:46:50
Score: 1
Natty:
Report link

SEO services aim to improve a website’s organic rankings in search engines. Unlike Google Ads, SEO focuses on long-term strategies like content creation, keyword optimization, link building, and improving website structure and user experience.

Good SEO helps your website rank higher naturally without paying for each click.

Advantages of SEO:

Disadvantages of SEO:

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: rayachoti renuka

79602279

Date: 2025-05-01 17:29:43
Score: 0.5
Natty:
Report link

There is no inheritance in resource dictionaries, only replacements. Resource dictionary is completely flat structure. When created merged dictionaries goes first in order they are declared. Dictionaries declared later on the list have access to things declared in dictionaries that goes before them. They can also replace that things. Things declared at dictionary level have access (and may replace) things declared in merged dictionaries.

So you can reference things from merged dictionaries, but in opossed way you were thinking.

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

79602277

Date: 2025-05-01 17:28:43
Score: 2
Natty:
Report link

SwiftUI provides functionality for ScrollView like so

ScrollView( .horizontal ) {
    <#Your Body Here#>
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JK Bot

79602276

Date: 2025-05-01 17:27:42
Score: 5.5
Natty:
Report link

As @mklement0 suggested, Selenium did the trick

Reasons:
  • Low length (2):
  • No code block (0.5):
  • User mentioned (1): @suggested
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: POL

79602274

Date: 2025-05-01 17:26:41
Score: 1
Natty:
Report link

If I'm reading this correctly, the issue is the formatting, your correct in your guess.

 const authorizationHeader = req.headers.authorization || '';
    const idToken = authorizationHeader.startsWith('Bearer ')
      ? authorizationHeader.split('Bearer ')[1]
      : null;

This part of your code will return as the value for idToken as either a 'Bearer ' stripped id, or null.

If you passed in your test case value you use:

$idTokenDirect = "eyJhbGciOiJSUzI1NiIsImtpZCI6IjNmO..." # Pasted full, verified token

Then I think what this would do is set idToken to null. And that would explain why you're seeing what you're seeing.

Now if you sent in a

'Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjNmO...' 

style, you should get the 'eyJhG....' stuff as element 1, like your code implies, as the value for idToken.

However, I don't see you prepending 'Bearer ' back in front of the idToken ever, and you do use this in your testing script.

Seems like this is the disconnect between the two flows? If you need "Bearer " in the auth call, then perhaps reverse the testing at the top to see if it's missing and add it, instead of stripping it off if it exists?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: G-Force

79602270

Date: 2025-05-01 17:23:37
Score: 5
Natty:
Report link

Explain more. Do You do it from multiple client?
Put your script.

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

79602268

Date: 2025-05-01 17:21:36
Score: 2.5
Natty:
Report link

I’ve noticed that when overflow: clip is removed, the click event works as expected in Chrome. It seems that overflow: clip is preventing the click events from being triggered correctly on the 3D cube faces.

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

79602263

Date: 2025-05-01 17:16:32
Score: 7.5 🚩
Natty: 5.5
Report link

did you find a way ?? to keep the mic open

Reasons:
  • RegEx Blacklisted phrase (3): did you find a way
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find a
  • Low reputation (1):
Posted by: anas beeorder

79602257

Date: 2025-05-01 17:12:30
Score: 0.5
Natty:
Report link
import win32gui
import win32api
import time

#Размер экрана
window_width = 1920
window_height = 1080

#Цвет прицела
red = win32api.RGB(255, 0, 0)

#Размер прицела (ЦЕЛОЕ ЧИСЛО)
aim_width = 6
aim_height = 6

#Переменная корректировки центра прицела если в игре он смещё например из-за оконного режима
Error_rate_x=0
Error_rate_y=-8

#CONST Получает контекст устройства для окна.
dc = win32gui.GetDC(0)

#CONST Центр экрана
x = window_width/2
y = window_height/2

#CONST Начало прицела
aim_width_start = x-(aim_width/2)+Error_rate_x
aim_height_start = y-(aim_height/2)+Error_rate_y

#Рисуем на экране
while True:
    #Рисуем прицел
    for i in range (aim_width):
        for ii in range (aim_height):
            win32gui.SetPixel(dc, int(aim_width_start+i), int(aim_height_start+ii), red)


    #time.sleep(0.05) #Добавить задержку, если тормозит
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: NONAME

79602254

Date: 2025-05-01 17:09:28
Score: 2.5
Natty:
Report link

Looks like this has been deprecated. I am running into this issue. Status Code: 400

Response JSON:

{'error': {'message': '(#12) Deprecated for versions v21.0 or higher', 'type': 'OAuthException', 'code': 12, 'fbtrace_id': 'AndIh_bejDKGO0yCNALbvVQ'}}

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

79602251

Date: 2025-05-01 17:07:27
Score: 5
Natty:
Report link

I'm having the same problem with

<InputFile OnChange="LoadFile" />

My handler

private async Task LoadFile(InputFileChangeEventArgs e)
{
    throw new Exception();
}

is not throwing anything.

I also tried a "synchronous" handler which is not working either :


private void LoadFile(InputFileChangeEventArgs e)
{
    throw new Exception();
}

I want the exception to be handled by an ErrorBoundary but the one from the InputFile never gets there when the exception thrown by the Button clic does...

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having the same problem
  • Low reputation (1):
Posted by: Spoc

79602229

Date: 2025-05-01 16:56:21
Score: 2.5
Natty:
Report link

I think Keimeno's answer best explains but the alternative provided did not work for me I found this link gives this the same idea in a different way to code: https://github.com/pmndrs/zustand/discussions/2748

import {useShallow} from 'zustand/shallow';
    
const [isLoading, setLoading] = useLoadingStore(useShallow((state) => [ state.loading, state.setLoading]));
Reasons:
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Colin Tondreau

79602226

Date: 2025-05-01 16:53:20
Score: 4.5
Natty: 6.5
Report link

Thanks for the helpful answers! I'm curious—if we use something like sleep infinity to keep a pod running, is there a better or more Kubernetes-native approach to achieve the same thing without relying on placeholder commands?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dita

79602220

Date: 2025-05-01 16:51:17
Score: 0.5
Natty:
Report link

Please note:

    $YourString = '"/X' $id1 '/QN KLPASSWD=randompass'""

See @dennis's answer for better understanding.

If randompass contains spaces, you must enclose it in quotes, see @maximilian-burszley's comment.

The simplest way to use the ArgumentList parameter is to treat it as an array and not as a string. This makes it easier to debug any exceptions.

    $ParameterArgumentList =
        '/X',
        $id1,
        '/QN',
        'KLPASSWD=randompass'

The code excerpt would be:

    (Start-Process msiexec.exe -ArgumentList $ParameterArgumentList -Wait).ExitCode  

To display your array:

    Write-Output -InputObject $ParameterArgumentList
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @dennis's
  • User mentioned (0): @maximilian-burszley's
  • Low reputation (0.5):
Posted by: João Mac

79602208

Date: 2025-05-01 16:42:09
Score: 1
Natty:
Report link

The easiest way to fix this is to not use the COPROC[0] and COPROC[1[ file descriptor. redirect the coprocs stdin / stdout to anonymous pipes.

{ coproc {  loopedElapsedTimeCalculation 'IS_COP'; } <&$fd0 >&$fd1 2>&$fd2; } {fd0}<><(:) {fd1}<><(:) {fd2}>&2

while read -r -u $fd1; do
...
done

you can then send the coproc stuff by writing to &$fd0 (if needed) and read the output by reading from &$fd1

To make parallel execution really easy and efficient, id suggest checking out my forkrun utility. It uses persistent bash coprocs under the hood. You can even set it up to be a persistent async process that you send commands to and itll run them on demand and then quietly wait for more. e.g., something like

{ coproc fr {
    forkrun -N <&$fd0 >&$fd1 2>&$fd2;
  }
} {fd0}<><(:) {fd1}<><(:) {fd2}>&2

echo "loopedElapsedTimeCalculation 'IS_COP'" >&$fd0
# do stuff while that runs
read -r -u $fd1 output
Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jkool702

79602201

Date: 2025-05-01 16:38:07
Score: 2.5
Natty:
Report link

You can do this: count(get_resources())

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

79602195

Date: 2025-05-01 16:32:04
Score: 2.5
Natty:
Report link

Running into same issue. Not using create_react_agent() to create the agent though. Passed the state_schema to the StateGraph(). But still getting a KeyError.

Spending a lot of time debugging instead of coding features!

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

79602194

Date: 2025-05-01 16:31:04
Score: 1.5
Natty:
Report link

I solved my problem. I WAS writing to the workbook, just not in the cells I expected. Thanks for some input, always looking to learn more.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Doug418

79602193

Date: 2025-05-01 16:31:04
Score: 3
Natty:
Report link

Since there are no visible errors or console logs, the best approach is to isolate the issue by incrementally disabling parts of your app.

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

79602187

Date: 2025-05-01 16:25:58
Score: 2
Natty:
Report link
  1. ❌ Removed the invalid top-level name: inspecto

  2. ✅ instead use version: "3.8"

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MOHAMMED SADIK K P

79602186

Date: 2025-05-01 16:24:56
Score: 2
Natty:
Report link
composeTestRule.setContent {
    DeviceConfigurationOverride(
        DeviceConfigurationOverride.Locales(LocaleList("es-ES"))
    ) {

As per https://developer.android.com/develop/ui/compose/testing/common-patterns#test_different_device_configurations

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

79602178

Date: 2025-05-01 16:17:54
Score: 2
Natty:
Report link

and I have been able to create the message box, but when this box appears the loop stops and it doesn't continue untill the user clicks de OK button. Is there a way to show a message box without stopping the script?

Yes. You can do by changing Timer to 0.15 instead of 15.0

Snippet(re-modified)

import random
import ctypes
import threading

# Global variable to hold the state
estado = ""

def contador():
    global estado  # Declare estado as global to modify it
    aleatorio = random.randint(1, 11) * 5
    print(aleatorio)
    if aleatorio == 55:
        estado = "Red"
        ctypes.windll.user32.MessageBoxW(0, estado, u"Error", 0)
    elif aleatorio == 30:
        ctypes.windll.user32.MessageBoxW(0, 'Green', u"Error", 0)
    
    # Restart the timer
    t = threading.Timer(0.15, contador)
    t.start()

contador()

Screenshot:

When 55 is the aleatorio. Red will appear in the MessageBoxW.

enter image description here

When 30 is the aleatorio. Green will appear in the MessageBoxW.

enter image description here

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo