79666310

Date: 2025-06-15 05:11:51
Score: 4
Natty:
Report link

Same problem after long long time, I got exact same opinion with you I could not deal with child_pricess and all of the other packages, it is so frustrating. Now I want to use c++/py to print labels for product. But there is another way, if you are using electron then you can print the window, use mvc to create pop-up window and use window.print() to print this window, using by usb001 port, not file print.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (1): Same problem
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Barkamol Valiyev

79666309

Date: 2025-06-15 05:10:50
Score: 2.5
Natty:
Report link

I had this table doesn't exist error. It went away when I reran after quitting SQLiteStudio. I suspect the table can't be created if the .db file is open.

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

79666305

Date: 2025-06-15 04:56:47
Score: 1.5
Natty:
Report link

What you describe is called a JSON schema.

For example the JSON schema for the following JSON:

{
        "first" : "Fred",
        "last" : "Flintstone"
}

Would be something like this:

{
  "type": "object",
  "properties": {
    "first": { "type": "string" },
    "last": { "type": "string" },
  }
}

You can then use the jsonschema package for validation:

from jsonschema import validate


validate(
    instance=json_to_validate, schema=json_schema,
)
Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): What you
  • Low reputation (0.5):
Posted by: scr

79666304

Date: 2025-06-15 04:52:47
Score: 2.5
Natty:
Report link

<div class="youtube-subscribe">

<div class="g-ytsubscribe"

   data-channelid="UCRzqMVswFRPwYUJb33-K88A"

   data-layout="full"

   data-count="default"

   data-theme="default"\>

</div>

</div>

<script src="https://apis.google.com/js/platform.js"></script>

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

79666299

Date: 2025-06-15 04:32:42
Score: 2
Natty:
Report link

use awsCredentials inside of your inputs with your service connection name to access the credentials

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

79666295

Date: 2025-06-15 04:21:39
Score: 1.5
Natty:
Report link

I was able to solve the issue by adding an account in the Xcode settings under "accounts".

In the signing and capabilities menu, it looked like I was under my personal developer account (which looked correct) instead of my work account. It said My Name (Personal Team). Then when I added my personal developer account in the settings, it showed up as another item in the team dropdown but without "Personal Team".

It then worked because it was finally pulling the certs using the correct team id.

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

79666293

Date: 2025-06-15 04:19:39
Score: 3
Natty:
Report link

It can be caused by your active VPN session. Just disconnect your VPN and try again.

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

79666291

Date: 2025-06-15 04:16:38
Score: 2
Natty:
Report link

It's because you create a specified function for one object only.
To improve your work you can create a constructor then reuse the constructor's code to applies it to a specific object.

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

79666287

Date: 2025-06-15 03:57:35
Score: 0.5
Natty:
Report link

To understand better it is advisable to look into the dependency tree of the pom. It will show the included transitive dependencies which got pulled in by the dependencies declared . So , with that we can understand why this results in any conflicts. For example, I had jackson-core(2.19.0) and then added jackson-binding(2.19.0). It started showing conflict saying issue with jackson-binding 2.19.0 having conflict with 2.18.3 . But I had no where jackson-binding 2.18.3 . So , when I looked at the dependency tree, I saw jackson-binding 2.19.0 was including transitive dependency jackson-core 2.18.3 . Hence, it resulted in conflict . Hope it helps to understand . P.S. the transitive dependencies can be excluded or we can tell our ide which version to be effective.

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amrita Kundu

79666284

Date: 2025-06-15 03:47:32
Score: 3
Natty:
Report link

I have the exact same problem, and in my case npx tsx script works but the IDE Typescript service throws the above error. I gave up trying to solve this, I don't think it's worth the time. Instead, a simple built-in alternative in JS is:

let arr = [1, 2, 3];
Math.max(...arr);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the exact same problem
  • Low reputation (0.5):
Posted by: forumulator

79666282

Date: 2025-06-15 03:40:31
Score: 12.5
Natty: 7.5
Report link

Have you find any solution for it. I'm getting same error and verified everything?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (2): Have you find
  • RegEx Blacklisted phrase (1): I'm getting same error
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm getting same error
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdul Qavi Memon

79666281

Date: 2025-06-15 03:39:30
Score: 1.5
Natty:
Report link

You need to keep moving the player with velocity, but also call MovePosition on top of it if the player is on the platform. And MovePosition will only receive the delta of the platform, while the user inputted movement will still go into velocity.

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

79666278

Date: 2025-06-15 03:30:28
Score: 1
Natty:
Report link

For Xcode 16.4 use this AppleScript:

tell application "Xcode"
    activate
    
    set targetProject to active workspace document
    build targetProject
    run targetProject
end tell
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Makoto Niijima

79666271

Date: 2025-06-15 03:07:23
Score: 4.5
Natty:
Report link

Thank you for your answer, and I appreciate it.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Manny Somarriba

79666268

Date: 2025-06-15 03:05:23
Score: 2
Natty:
Report link

For Yarn users

yarn build

yarn start

should achieve the same thing as npm run build

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

79666253

Date: 2025-06-15 02:07:11
Score: 1.5
Natty:
Report link

If using pnpm try adding the snippet below to `.npmrc` file

publicHoistPattern:
  - '*expo-modules-autolinking'
  - '*expo-modules-core'
  - '*babel-preset-expo'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tekipeps

79666245

Date: 2025-06-15 01:49:07
Score: 2.5
Natty:
Report link

You may have set your keys in keybindings.json

For me it was s, so anytime I pressed the letter s, it showed the message

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

79666229

Date: 2025-06-15 00:20:50
Score: 1.5
Natty:
Report link

It's ugly, but it should work for anything that format-table works with, which means any sort of object, not just predefined types (though you'll get a lot of output for unknowns).


$($($($obj[0] | format-table | Out-string).split('-')[0]).split(" ").trim() | WHERE { $_.length -gt 0 })
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: mallwitt

79666227

Date: 2025-06-15 00:11:48
Score: 4
Natty: 4.5
Report link

I think you mean running code in the search engine? Just turn on dev settings.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Arya

79666225

Date: 2025-06-15 00:07:47
Score: 2
Natty:
Report link

I put the equal sign in a pair of double quotes, and when passed to the command file, which runs the FINDSTR command, the command completely ignores the double quotes, and treats the equal sign as a normal parameter.

E.G. the command line 'runfindstr.cmd if @string "=" *.txt, returns all *.txt files with text "if @string =" in any of the lines.

If the command you are using doesn't ignore the double quotes, you can always put multiple versions of the command in the command file, one of which is preceded with 'if %n equ "="' (where n is the relative position of the parameter) then carry out command with a hard coded = character.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @string
  • User mentioned (0): @string
  • Low reputation (1):
Posted by: Joe Boyle

79666223

Date: 2025-06-14 23:56:44
Score: 4.5
Natty:
Report link

was the observer set?

AdaptyUI().setObserver(your_implementation_of_the_AdaptyUIObserver)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): was the
  • Low reputation (1):
Posted by: m-spiridon

79666220

Date: 2025-06-14 23:48:42
Score: 4
Natty: 5
Report link

Killing Dock did not work for me but restarting the Mac did

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Haru Lee

79666215

Date: 2025-06-14 23:31:38
Score: 0.5
Natty:
Report link

I ran into the same issue. I tried using golang:1.24.4-bullseye and golang:1.24.4-alpine3.22, but neither worked - both failed during compilation due to missing libraries required by V8. Fortunately, golang:1.24.3-bookworm worked for me as the builder stage, and I used ubuntu:22.04 as the final stage.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohannad Abdulaziz

79666209

Date: 2025-06-14 23:16:35
Score: 1.5
Natty:
Report link

I had the same issue, and I asked Ai. but its response was not satisfying, saying "You cannot read or change the current page number" due to security .. if you got the answer please prode it to me.

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

79666205

Date: 2025-06-14 23:05:32
Score: 4.5
Natty: 4
Report link

the-woody-woodpecker-show-1957_meta.sqlite

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bridgett Jones

79666184

Date: 2025-06-14 22:01:18
Score: 2.5
Natty:
Report link

Its really strange when your favorite app does not full fill your demands, Same is the case of instagram but you can try honista with far better privacy and with better display options. Ghost mode is real game changer just give a try

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

79666178

Date: 2025-06-14 21:52:16
Score: 0.5
Natty:
Report link

I faced the same issue, after googling it I found that

https://github.com/dotnet/maui/issues/25648

where you can simply create another new emulator, and it worked for me

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

79666177

Date: 2025-06-14 21:47:14
Score: 2.5
Natty:
Report link

The issue could also be due to a version mismatch between Kafka Connect and the Kafka API used in your connector. I encountered the same problem and resolved it by changing the Kafka API version.

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

79666176

Date: 2025-06-14 21:47:14
Score: 1.5
Natty:
Report link

In my case I had a wrong name in android/app/build.gradle.kts under signingConfigs

signingConfigs {
    create("upload") { //<--- make sure to set upload here
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ahmad Chomary

79666173

Date: 2025-06-14 21:37:12
Score: 0.5
Natty:
Report link

Downside of NOT using quotes for keys of associative array?

No downside.

What is the purpose of this,

The purpose is to visually represent what is a string and what is a command, and to differentiate between associative and non-associative array. It's cosmetics.

does it guard against something I am not foreseeing with literals?

No.

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: KamilCuk

79666168

Date: 2025-06-14 21:30:09
Score: 1.5
Natty:
Report link

Indeed that was an issue and it got fixed in v9.2.0 via this Slickgrid-Universal PR

You can see an animated gif in the PR or via this link

Reasons:
  • Blacklisted phrase (1): this link
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: ghiscoding

79666165

Date: 2025-06-14 21:29:08
Score: 6.5 🚩
Natty: 4.5
Report link

@johneh93 answer worked for me. I'll upvote it, but don't have enough reputation points

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1.5): don't have enough reputation points
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @johneh93
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: avantegardeoriginals

79666163

Date: 2025-06-14 21:28:07
Score: 9 🚩
Natty: 5.5
Report link

I want to find all the servers someone is in, but I don't know how to do what you said on mobile. Can you show me?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you show me
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jay

79666157

Date: 2025-06-14 21:19:05
Score: 2
Natty:
Report link

I installed different emulator and this works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rose G

79666156

Date: 2025-06-14 21:18:04
Score: 1
Natty:
Report link

In the Apps Script IDE, you may want to use breakpoints instead of the debugger statement.

See Use the debugger and breakpoints.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: doubleunary

79666127

Date: 2025-06-14 20:14:51
Score: 0.5
Natty:
Report link

The error message is telling you what's wrong:

"failed to create containerd task: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: exec: "driver": executable file not found in $PATH: unknown"

The message is telling you that the driver pod's container is trying to run the command "driver" but it can't find the exec file in the container's path.

You mentioned that --deploy-mode cluster is being used. Spark is trying to launch the driver inside a K8s pod using the Docker image.

This error usually happens when the following occurs:

Double check the configuration files (i.e YAML files), the entrypoint is correctly set and the Dockerfile is correct with the CMD.

I have found another StackOverflow that looks similar to help resolve the issue, if not, I'd recommend:

Also giving us more information helps us help you, providing any logs from Docker or kubectl will give us more context/root cause of the issue.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: John Crawley

79666126

Date: 2025-06-14 20:13:50
Score: 0.5
Natty:
Report link

If you want to manipulate which files are put in the .tar.gz, you need to create a MANIFEST.in file and configure it as so:

prune .gitignore
prune .github

Then run this to build:

python pyproject.toml sdist

Examine the tar created under /dist

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

79666125

Date: 2025-06-14 20:11:49
Score: 3
Natty:
Report link

Today, for those who are experiencing this issue, you can download it from the Downloads section on Apple’s Developer page: https://developer.apple.com/download/all/?q=command

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

79666120

Date: 2025-06-14 20:05:48
Score: 3.5
Natty:
Report link

I did a similar setup, everything was fine using nodeport until I had to use my apis in FE angular app which requires SSL certificate to be configured which requires domain to be mapped to the Ip, where nodeport doesnt work. You need to use the default 443 port.

Reasons:
  • Blacklisted phrase (1): doesnt work
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Swapnil

79666110

Date: 2025-06-14 19:48:44
Score: 1
Natty:
Report link

After finding this thread, it seems like one of the answers there works for my case as well (as long as (0,0) is changed to (0, -1) ):

window.scrollTo(0, -1);
setTimeout(() => { window.scrollTo(0, -1); }, 100);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: shibel

79666107

Date: 2025-06-14 19:41:43
Score: 1.5
Natty:
Report link

All these suggestions are helpful, thank you!

I came up with a solution like this. Using typeid was not really necessary, so I decided to index each Wire by name. I tried using the std::any to eliminate WireBase but could not get the right cast magic to work.

The (templated) Meyers singleton would work too, except that I want to be able to delete a Hub and make everything go away. I am effectively using a bunch of singletons, but want the application to be able to reset to the initial state.

class Hub
{
    public:

        template<class T>
        Wire<T>* get_wire (std::string name)
        {
            WireBase *result = wires[name];
            if (result == nullptr)
            {
                result = new Wire<T>();
                wires[name] = result;
            }
            return static_cast<Wire<T>*>(result);
        }

    private:

        std::map<std::string, WireBase*> wires;
};

The Wire class looks something like this:

template<typename T>
class Wire: public WireBase
{
    public:

        void publish (const T &message)
        {
            for (std::function<void (const T& message)> &handler : subscribers)
            {
                handler(message);
            }
        }

        void subscribe (std::function<void (const T&)> &handler)
        {
            subscribers.push_back(handler);
        }

    private:
        std::vector<std::function<void (const T&)>> subscribers;
};


With a Demo function:


void Demo::execute ()
{
    std::cout << "Starting demo" << std::endl;
    Hub hub;

    std::cout << "Hub " << hub << std::endl;

    Wire<Payload1> *w1 = hub.get_wire<Payload1>("w1");
    Wire<Payload2> *w2 = hub.get_wire<Payload2>("w2");

    std::cout << "W1 " << w1 << std::endl;
    std::cout << "W2 " << w2 << std::endl;

    std::function<void (const Payload1&)> foo1 = [] (const Payload1 &p)
    {
        std::cout << "Foo1 " << p.get() << std::endl;
    };

    std::function<void (const Payload2&)> foo2 = [] (const Payload2 &p)
    {
        std::cout << "Foo2 " << p.get() << std::endl;
    };

    w1->subscribe(foo1);
    w2->subscribe(foo2);
    Payload1 p1;
    Payload2 p2;
    w1->publish(p1);
    w2->publish(p2);

    std::cout << "Ending demo" << std::endl;
}

Starting demo
Hub #[Hub]
W1 #[Payload1>]
W2 #[Payload2>]
Foo1 Payload1
Foo2 Payload2
Ending demo
Reasons:
  • Blacklisted phrase (0.5): thank you
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: C. Eliot

79666106

Date: 2025-06-14 19:40:41
Score: 10.5 🚩
Natty: 6
Report link

have you solved it in anyway? Right now i'm participating at the same hackathon as you do, but i'm having the same problem or something near it

Reasons:
  • Blacklisted phrase (1): i'm having the same problem
  • Blacklisted phrase (2): have you solved it
  • RegEx Blacklisted phrase (1.5): solved it in anyway?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i'm having the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Khaos

79666103

Date: 2025-06-14 19:34:39
Score: 11.5 🚩
Natty:
Report link

Did you manage to fix this? Facing the same issues...

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to fix this
  • RegEx Blacklisted phrase (1.5): fix this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Ionut Ciochinaru

79666099

Date: 2025-06-14 19:33:39
Score: 3.5
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sameer Khan

79666097

Date: 2025-06-14 19:30:38
Score: 0.5
Natty:
Report link

Hopefully I'm not wrong on all of this information but this does appear to be a build-in feature with lifecycle policy in ECR as it automatically cleans up artifacts (including your metadata) that are orphaned or no longer used by any images. I would like to mention that all artifacts are considered images to ECR's lifecycle policy.

The documentation on [1] lifecycle policies mention the following about once a lifecycle policy is applied:

Once a lifecycle policy is applied to a repository, you should expect that images become expired within 24 hours after they meet the expiration criteria

and mentioning that these artifacts will be cleaned up after 24 hours:

When reference artifacts are present in a repository, Amazon ECR lifecycle policies automatically clean up those artifacts within 24 hours of the deletion of the subject image

under [2] considerations on image signing

When reference artifacts are present in a repository, Amazon ECR lifecycle policies will automatically clean up those artifacts within 24 hours of the deletion of the subject image.

Now, hopefully to accurately answer your questions

Why did it decide that my artifacts were orphaned?

As I don't know your full lifecycle policy rules. The rule provided determined that your artifacts were orphaned because it mentions "Any" and treated the metadata non-image as unused and eligible for cleanup.

How can I avoid that?

From the provided rule in this post, let me break it down what's happening:

                "tagStatus": "Any",
                "tagPrefixList": [],
                "tagPatternList": [],
  1. "tagStatus": "Any" means that the rule applies to all artifact, tagged or untagged

  2. "tagPrefixList": [] and "tagPatternList": [] indicates that no specific tag filtering is happening, therefore applying it to any tagged or non-tagged

Recommendations:

Change:

"tagStatus": "Any"

to:

"tagStatus": "untagged"

I'd say [3] tagging your non-image artifacts properly will prevent this from happening and once tagged, the "cleanup orphan artifacts" rule wont consider them as orphaned, they will be considered referenced and active preventing the aforementioned rule to consider them as 'orphaned'.

Changing it to "untagged" will ensure the rule only targets untagged artifacts

References:

[1] - https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html

[2] - https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-signing.html

[3] - https://docs.aws.amazon.com/AmazonECR/latest/userguide/lifecycle_policy_parameters.html

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

79666091

Date: 2025-06-14 19:17:35
Score: 1
Natty:
Report link

I had that same issue, where it was loading some CSS I had entered a day ago, but not new CSS. I have not tried Gmuliu Gmuni's suggestion to run django-admin collectstatic (as defined by docs). Instead, I did a hard reload in Firefox to get rid of cache, and it worked fine.

The Django documentation states that,

ManifestStaticFilesStorage

class storage.ManifestStaticFilesStorage

A subclass of the StaticFilesStorage storage backend which stores the file names it handles by appending the MD5 hash of the file’s content to the filename. For example, the file css/styles.css would also be saved as css/styles.55e7cbb9ba48.css.

The purpose of this storage is to keep serving the old files in case some pages still refer to those files, e.g. because they are cached by you or a 3rd party proxy server. Additionally, it’s very helpful if you want to apply far future Expires headers to the deployed files to speed up the load time for subsequent page visits.

The storage backend automatically replaces the paths found in the saved files matching other saved files with the path of the cached copy (using the post_process() method). The regular expressions used to find those paths (django.contrib.staticfiles.storage.HashedFilesMixin.patterns) cover:

  • The @import rule and url() statement of Cascading Style Sheets.

  • Source map comments in CSS and JavaScript files.

According to that same link (further up the page):

On subsequent collectstatic runs (if STATIC_ROOT isn’t empty), files are copied only if they have a modified timestamp greater than the timestamp of the file in STATIC_ROOT. Therefore if you remove an application from INSTALLED_APPS, it’s a good idea to use the collectstatic --clear option in order to remove stale static files.

So, django-admin collectstatic only works with an updated directory (if I'm reading this right), and my VSCode addition to the CSS file didn't update the directory timestamp when it did so for the file.

I'm new to Django, myself, so please correct me if I'm wrong.

Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @import
  • Low reputation (1):
Posted by: Josh Borthick

79666090

Date: 2025-06-14 19:15:34
Score: 2
Natty:
Report link

Yes,

For parsing a name into it's constituent parts: Python Human Name Parser.
https://nameparser.readthedocs.io/en/latest/

For fuzzy matching similar names:
https://rapidfuzz.github.io/RapidFuzz/

It goes without saying that normalizing names is a difficult endeavor, probably pointless if you don't have additional fields to identify the person on.

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

79666089

Date: 2025-06-14 19:13:34
Score: 0.5
Natty:
Report link
// models/product_model.dart
class ProductModel {
  final int id;
  final String title;
  final double price;
  // ...

  factory ProductModel.fromJson(Map<String, dynamic> json) {
    return ProductModel(
      id: (json['id'] as num).toInt(),
      title: json['title'] as String,
      price: (json['price'] as num).toDouble(),
      // other fields...
      rating: RatingModel.fromJson(json['rating'] as Map<String, dynamic>),
    );
  }
}

class RatingModel {
  final double rate;
  final int count;

  factory RatingModel.fromJson(Map<String, dynamic> json) {
    return RatingModel(
      rate:  (json['rate'] as num).toDouble(),
      count: (json['count'] as num).toInt(),
    );
  }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: محمود ريحانية

79666084

Date: 2025-06-14 19:10:32
Score: 1
Natty:
Report link

Ages old question, but seems still valid and I can come up with a situation not described by other answers.

Consider that you have two packages A and B, A depends on a specific version of B.

Now, you are developing a new feature that unfortunately needs changes in both packages. What do you do? You want to pin A to the new version of B, but you are also actively modifying B so there is no known working version to pin at.

And somehow in this case, an editable installation of both A and B, ignoring that A -> B dependency, is the easiest way out.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Yì Yáng

79666078

Date: 2025-06-14 19:05:31
Score: 5
Natty: 5
Report link

Great small hint, made my day. Thx

Reasons:
  • Blacklisted phrase (1): Thx
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Max Mustermann

79666073

Date: 2025-06-14 18:53:28
Score: 2.5
Natty:
Report link

You have really bad grammar. I noticed that on multiple occassions, you misspelled words such as "if", a very simple word, and wrote "ff".

As for the code, I have no idea. I couldn't read anything you wrote because of your terrible grammar.

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

79666063

Date: 2025-06-14 18:30:23
Score: 0.5
Natty:
Report link

If you have enumerable you can split it:

static var client = new HttpClient();

string[] urls = { "http://google.com", "http://yahoo.com", ... };

foreach (var urlsChunk in url.Chunk(20))
{
    var htmls = await Task.WhenAll(urlsChunk.Select(url => client.GetStringAsync(url));
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mariusz96

79666062

Date: 2025-06-14 18:28:23
Score: 0.5
Natty:
Report link

When we say new Date() we are essentially creating a new instance/object of the class Date using Date() constructor method. When we call the Date() method without the use of new keyword it actually returns a String not an instance/object of the class Date. And a string will not contain the method getFullYear();. Hence we get an error

Now consider the below code snippet:

let dateTimeNowObj = new Date(); // returns a object of class Date
console.log(dateTimeNowObj) // Sat Jun 14 2025 23:48:27 GMT+0530 (India Standard Time)
console.log(dateTimeNowObj.getFullYear()); // 2025

let dateTimeNowStr = Date(); // returns a string 
console.log(dateTimeNowStr) // Sat Jun 14 2025 23:47:32 GMT+0530 (India Standard Time)
console.log(dateTimeNowStr.getFullYear()); // TypeError: dateTimeNowStr.getFullYear is not a function
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When we
  • Low reputation (1):
Posted by: Shrivatsa Shetty

79666061

Date: 2025-06-14 18:27:22
Score: 3
Natty:
Report link

I actually managed to fix this using Beehiiv, the difference, I guess? Is that you have to submit to an e-mail newsletter first. Not thought about how to make this user specific, but in a sense you can embed an Iframe into the Beehiiv e-mail and send this (without being flagged as spam) to subscribers.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30803305

79666055

Date: 2025-06-14 18:13:19
Score: 2.5
Natty:
Report link

Callback URLs need to be first registered with the M-Pesa APIs, ensure you do that first. When registering, you might want to change the API versions because the default ones given might fail sometimes. So, if v1 fails to register your callback URL, try using v2...

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

79666047

Date: 2025-06-14 17:57:15
Score: 7.5 🚩
Natty: 5
Report link

Did you find a solution? I am facing the same issue.

Replacing DocumentEventData with EntityEventData is not a solution unfortunately.

File "/workspace/main.py", line 12, in hello_firestore
    firestore_payload = firestore.EntityEventData()
AttributeError: module 'google.events.cloud.firestore' has no attribute 'EntityEventData'
Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Has code block (-0.5):
  • Me too answer (2.5): I am facing the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (1):
Posted by: user30803183

79666046

Date: 2025-06-14 17:57:15
Score: 1
Natty:
Report link
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/summernote-bs5.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/summernote-bs5.min.js"></script>

use summernote-bs5 for bootstrap 5

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

79666033

Date: 2025-06-14 17:42:11
Score: 5.5
Natty:
Report link

I'm also having a trouble on migrating from old autocomplete to new one in my Angular project. There are big gaps between documentation and reality. For example, on documentation google.maps.places.PlaceAutocompleteElement() does not accept any parameters but compiler complaining that constructor expects options: PlaceAutocompleteElementOptions parameter.
I'm now wondering if you found already any solution yet?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution yet?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Ali Alizade

79666030

Date: 2025-06-14 17:39:10
Score: 5
Natty:
Report link

I found the answer in below post : You will get the explaination there as well. Thanks

Kendo Editor on <textarea> creates iframe, so cant bind any javascript events inside it

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 (1):
Posted by: SachinD

79666024

Date: 2025-06-14 17:34:08
Score: 2
Natty:
Report link

I think problem with memory leaks that originally its compiled on RHEL system, that means its uses architecture that RHEL server uses on Oracle linux, Oracle linux have different configuration compared to RHEL. I need more information about what architecture and GPU, CPU RHEL server uses and what GPU, CPU, architecture Oracle linux uses(x86 bit; x64 bit; x32 bit)

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Low reputation (1):
Posted by: ScriptScorpion

79666019

Date: 2025-06-14 17:21:06
Score: 2.5
Natty:
Report link

Go to python installation folder and search for python.exe. Copy the same and paste. Rename the pasted exe file with 'python3.exe'.

Now you have two python executables.

Try now to run your query on PySpark

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

79666009

Date: 2025-06-14 17:12:03
Score: 1
Natty:
Report link

My personal preference is as follows:

@staticmethod
def _generate_next_value_(a_name, *_, **__):
    return a_name
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ish-west

79666008

Date: 2025-06-14 17:12:02
Score: 4
Natty: 4
Report link

good article, this resolved a common issue for anyone. FF

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

79666004

Date: 2025-06-14 17:04:01
Score: 1
Natty:
Report link

As per your question the correct query is:

SELECT district_name, district_population, COUNT(city_name) AS citi_count FROM india_data WHERE city_population > 100000 GROUP BY district_name, district_population HAVING citi_count >= 3;

but based on the sample data provided no district has 3 or more cities with a population over 100,000. Therefore, if you run the query with HAVING citi_count >= 3, it will return no results.

However, if your goal is to retrieve districts that have at least 1 city with a population greater than 100,000, you can modify the query to: SELECT district_name, district_population, COUNT(city_name) AS citi_count FROM india_data WHERE city_population > 100000 GROUP BY district_name, district_population HAVING citi_count >= 1;

This query will return results based on the current dataset since several districts do have at least one city with a population exceeding 100,000.

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

79666000

Date: 2025-06-14 16:59:59
Score: 2
Natty:
Report link

Ctrl+H and then just replace two spaces with one. Fixes most indentations.

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

79665996

Date: 2025-06-14 16:51:57
Score: 3.5
Natty:
Report link

if you give similar qualifier name for two beans you will face this exception

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

79665995

Date: 2025-06-14 16:51:57
Score: 2
Natty:
Report link

You should try changing the UE version to a lower one (5.2, for example). If this doesn't work, delete the Binaries, Saved and Intermediate folders from your project folder and try again. Let me know if this works!

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

79665993

Date: 2025-06-14 16:43:55
Score: 2.5
Natty:
Report link

\> Yes, you can run multiple JavaScript files on the same HTML page.

Just include each file using a separate <script> tag like this:

<script src="slider.

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

79665988

Date: 2025-06-14 16:36:54
Score: 1
Natty:
Report link

Ok so you are using uva and still uv is getting confused and trying to use your system's Python 3.13.2, even when you ask for 3.9.21. This happens because uv needs a clear path to the specific Python version you want for your project.

This is usually the simplest and best way to tell uv exactly what to use for a project.

1. Go into your project folder:

\>>>mkdir sandboxcd sandbox

2. Tell uv to use Python 3.9.21 for this folder:

\>>>uv python pin 3.9.21

If you don't have 3.9.21 installed yet via uv, it might ask you to install it.

3. Now, create and sync your project:

\>>>uv init --package

\>>>uv sync

uv will now automatically use the pinned 3.9.21.

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

79665985

Date: 2025-06-14 16:34:53
Score: 2.5
Natty:
Report link

You can’t trigger a client-side modal directly from Django views.py, since it's server-side. However, you can set a flag in the context and then use JavaScript in the template to show a modal conditionally.

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

79665979

Date: 2025-06-14 16:28:52
Score: 1.5
Natty:
Report link

# Fix encoding issue by replacing special characters with standard equivalents

fixed_content = content.replace("’", "'").replace("–", "-")

# Recreate the PDF with corrected characters

pdf = FPDF()

pdf.add_page()

pdf.set_auto_page_break(auto=True, margin=15)

pdf.set_font("Arial", size=12)

pdf.multi_cell(0, 10, fixed_content)

# Save the fixed file

pdf_path = "/mnt/data/Harry_Potter_Book_Movie_Review.pdf"

pdf.output(pdf_path)

pdf_path

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

79665977

Date: 2025-06-14 16:23:51
Score: 1.5
Natty:
Report link

I was building linux-dfl kernel 5.15-lts on Ubuntu 22.04. This solution worked for me to go past similar errors while using "sudo make -j $(nproc) bindeb-pkg". Make sure you do both the suggested changes.

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

79665967

Date: 2025-06-14 15:55:45
Score: 1
Natty:
Report link

✅ Confirmed by Microsoft: The inbound traffic issue with IKEv2-based P2S VPN in Azure is a known platform limitation. Azure doesn't symmetrically route return traffic from VM to VPN client unless the client initiates the session — resulting in broken ICMP or similar inbound flows.

✔️ OpenVPN works better in these scenarios due to how Azure handles its routing behavior internally. It treats OpenVPN clients more reliably as routable endpoints, resolving the asymmetric routing problem.

⚠️ IKEv2 relies heavily on traffic selectors, and return traffic isn't always respected by Azure's routing logic.

🧠 Recommendations included:

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

79665959

Date: 2025-06-14 15:47:44
Score: 1
Natty:
Report link

Try to replace Navigate("/decks") with useNavigate from react-router-dom like this :
const navigate = useNavigate();
And then in onCompleted function call it:
navigate("/decks");

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

79665958

Date: 2025-06-14 15:45:43
Score: 1
Natty:
Report link

There used to be a way to run Vert.x with the command line tool, but this has been deprecated and by the looks of it also all the downloads have been disabled, but some of the references might not have been removed. You should use the application launcher to launch Vertx.

You can check the roadmap that has a whole section on cleaning up the CLI tool: https://github.com/vert-x3/issues/issues/610

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

79665957

Date: 2025-06-14 15:42:42
Score: 2
Natty:
Report link

م.ش.و.ذ.م.م : كسيــــــلة للاستيراد و التصدير. رأس المال الاجتماعي 10.000.000.00دج المقر الاجتماعي : حي النصر رقم 02 بريكة.
رقم السجل التجاري: 14 ب 0225068-00/05

محضر اجتماع الجمعية العامة العادية بتاريخ: 12/06/2025.

    في عام ألفين و خمسة و عشرين في الثاني عشر   من شهر جوان   وعلى الساعة التاسعة صباحا اجتمعت الجمعية   العامة العادية  بمقر  الشركة أعلاه .

حضر الشركاء السادة: شريك مسير:دراجي الجمعي .

اللائحة الأولى : دراسة الحسابات الاجتماعية لسنة 2024. هذه اللائحة مصادق عليها بالإجماع.

              إجمـــالي الأصول الصافي: 20 724 543.11   دج.
         إجمـــالي الخصوم الصافي:   20 724 543.11 دج.
            النتيجة الصافية للدورة: =  1 020 721.69  دج 

*انظر جداول الأصول ’الخصوم و حسابات النتائج الملحقة.

المسير

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Sellaoui Rami

79665948

Date: 2025-06-14 15:27:38
Score: 0.5
Natty:
Report link

If you are on Alpine Linux, try installing libcurl-dev to fix the error:

sudo apk add curl-dev
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: RhodanV5500

79665940

Date: 2025-06-14 15:13:35
Score: 2
Natty:
Report link

I think the problem was that I only had the bloc package as a dependency. After I installed flutter_bloc as well, it started working as expected.

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

79665939

Date: 2025-06-14 15:11:34
Score: 0.5
Natty:
Report link

Add this to your import

import { DefaultHttpClient } from '@azure/core-http'

Pass httpClient explicitly while creating client

const blobServiceClient = new BlobServiceClient(
    url,
    creds,
    {
        httpClient: new DefaultHttpClient()
    }
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Atishay

79665938

Date: 2025-06-14 15:10:34
Score: 1
Natty:
Report link

Here’s a clean and safe batch script that will move files from one folder to another, creating the destination folder if it doesn’t exist, and without overwriting existing files:

@echo off
set "source=C:\SourceFolder"
set "destination=C:\DestinationFolder"

REM Create destination folder if it doesn't exist
if not exist "%destination%" (
    mkdir "%destination%"
)

REM Move files without overwriting
for %%F in ("%source%\*") do (
    if not exist "%destination%\%%~nxF" (
        move "%%F" "%destination%"
    ) else (
        echo Skipped existing file: %%~nxF
    )
)

echo Done!
pause

Let me know if you need any help. Feel free to ask any question

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

79665922

Date: 2025-06-14 14:44:27
Score: 0.5
Natty:
Report link

What indices should be in the answer? In other words, what should I be looking for in order to solve the question?

The thing you should be looking for is: the index in the histogram, by whose height, the largest rectangle can be formed.

The reason is quite straightforward, the largest rectangle must be formed by a height of one of the heights, and you only have that much heights. Your mission is to loop for each of them, and see which is the largest. Which brings up the answer for your question #2.

Why do I need the index of the first bar to the left and right for each index? What does it serve?

To get the rectangle area formed by height at index i, i.e., heights[i], you need to find the left boundary left and right boundary right, where left < i and right > i , and both heights[left - 1] and heights[right + 1] are smaller than heights[i]. Because for indices, let denotes them as j and k, outside the two boundaries, the rectangle formed in the range [j, k] won't be formed by height[i].

Hope it helps resolve your confusion.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): Hope it helps
  • RegEx Blacklisted phrase (1.5): solve the question?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What in
Posted by: PkDrew

79665921

Date: 2025-06-14 14:39:26
Score: 1.5
Natty:
Report link

I have realised the answer. The program being invoked (by a full pathname) could invoke another without the full path, and thus use $PATH.

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

79665919

Date: 2025-06-14 14:36:25
Score: 1.5
Natty:
Report link

The first formula uses k as the number of independent variables, but it does not include the intercept. The second formula uses k + 1, meaning it includes the intercept in the count.

The first formula is not wrong but it is using a different definition for k. But since Python includes the intercept, you need to use the second formula to match it.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zeynep Savaş

79665904

Date: 2025-06-14 14:19:21
Score: 2.5
Natty:
Report link

I needed to use

df_dm.dropna(axis = 1, how="all", inplace = True)

I was only dropping rows with all Nans since:

axis = 0

is the standard.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: David B.

79665900

Date: 2025-06-14 14:09:18
Score: 0.5
Natty:
Report link

As per this discussion on the LLVM Forum, the solution is to build with -DLLVM_TARGETS_TO_BUILD="host;NVPTX;AMDGPU" .

The Dockerfile can be found on GitHub

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Florian Becker

79665891

Date: 2025-06-14 14:00:16
Score: 2
Natty:
Report link

@Patrik Mathur Thank you, sir. I didn’t realize it provides a ready to use loop

My previous code in the original post is working now by correctly setting the reuse addr and reuse port like this

```server->setsockopt<int>(SOL_SOCKET, SO_REUSEADDR, 1);

server->setsockopt<int>(SOL_SOCKET, SO_REUSEPORT, 1);

```

But the performance is very low, probably because it spawns a new thread for every incoming connection

I'm trying the built in loop now like this

```

void HttpServer::start() {
    photon::init(photon::INIT_EVENT_DEFAULT, photon::INIT_IO_DEFAULT);
    DEFER(photon::fini());

    auto server = photon::net::new_tcp_socket_server();
    if (server == nullptr) {
        throw std::runtime_error("Failed to create TCP server");
    }
    DEFER(delete server);

    auto handler = [this](photon::net::ISocketStream* stream) -> int {
        DEFER(delete stream);
        stream->timeout(30UL * 1000 * 1000);
        this->handle_connection(stream);
        return 0;
    };

    server->set_handler(handler);

    int bind_result = server->bind(options_.port, photon::net::IPAddr());
    if (bind_result != 0) {
        throw std::runtime_error("Failed to bind to localhost:" + std::to_string(options_.port));
    }

    if (server->listen() != 0) {
        throw std::runtime_error("Failed to listen on port " + std::to_string(options_.port));
    }

    LOG_INFO("Server is listening on port ", options_.port, " ...");
    LOG_INFO("Server starting main loop...");
    server->start_loop(true);
}

```

But I’m still trying to fix it because I’m getting a segmentation fault :(

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): :(
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Patrik
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Fuji

79665890

Date: 2025-06-14 13:59:15
Score: 4.5
Natty: 4
Report link

How would you go backwards given the date column? Or better yet, add a day-of-year column that ranges from 1 - 365 and generate the others. I apologize if I should have started a new question instead - let me know.

Reasons:
  • Blacklisted phrase (1): How would you
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How would you
  • Low reputation (1):
Posted by: Jott

79665877

Date: 2025-06-14 13:31:08
Score: 1
Natty:
Report link

[UPDATE – RESOLVED]

After extensive troubleshooting and countless hours analyzing packet captures, NSG/UDR configurations, and effective routes, the P2S VPN routing issue has finally been resolved – and the root cause was surprising.

Problem:

Inbound ICMP (or any traffic) from Azure VMs to the VPN client (192.168.16.x) failed when using IKEv2, even though outbound traffic from the VPN client to VMs worked fine. All routes, NSGs, diagnostics, and logs showed expected behavior. Yet, return traffic never reached the VPN client.

Solution:

Switched the Azure VPN Gateway tunnel type from IKEv2 to OpenVPN (SSL) and connected using the OpenVPN client instead. Immediately after connecting, inbound and outbound traffic between the VPN client and Azure VMs started working perfectly.

Key Observations:

No changes were made to the NSG, UDR, or VM firewall after switching protocols.

It appears the IKEv2 connection had an underlying asymmetric routing or encapsulation issue that Azure didn’t route correctly.

OpenVPN (SSL) handled the return traffic properly without additional UDRs or complex tweaks.

Both Linux (Ubuntu VM) and Windows 11 confirmed bidirectional ICMP now works.

Tip for others facing similar issues:

If you're using Azure P2S with IKEv2 and experiencing one-way traffic issues (especially inbound failures), switch to OpenVPN and test again. It might save you days of debugging.

Next Steps:

I'm now migrating the Raspberry Pi VPN client to OpenVPN (CLI-only) and keeping FreeRADIUS on EC2 for centralized auth.

Reasons:
  • Whitelisted phrase (-2): Solution:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): facing similar issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: what_me

79665876

Date: 2025-06-14 13:31:08
Score: 3.5
Natty:
Report link

Learn Java, be clever, love computer science

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Маріанна Нікольська

79665862

Date: 2025-06-14 13:13:03
Score: 1
Natty:
Report link

I was having the same problem too with git push command in my Linux and just adding sudo command at the start of the command solved it for me
The right command is sudo git clone example.git

For Windows users I guess you'll have to run the IDE or CMD/Powershell as administrator

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

79665858

Date: 2025-06-14 13:06:01
Score: 2
Natty:
Report link

This started happening for me in PyCharm2025.1. The fix was simple. Ensure quick fixes are enabled in the menu (click on the 3 dots on the right hand side):

Pycharm quickfix screenshot

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

79665854

Date: 2025-06-14 12:58:00
Score: 1.5
Natty:
Report link

Do not forget what sorting means when there are multiple columns to sort by. Is this exactly what you want to achieve? df.sort(["group","value","value2"])

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

79665848

Date: 2025-06-14 12:48:58
Score: 0.5
Natty:
Report link

Since you've already synced your AWS Knowledge Base with Bedrock, you're ready to query it using an Amazon Bedrock Runtime API with a RAG (Retrieval-Augmented Generation) setup. Here's how you can get started programmatically:

1. Set up your environment

2. Use RetrieveAndGenerate API

Here’s an example in Python using boto3:

Replace YOUR_KB_ID with the actual Knowledge Base ID
Replace modelArn with the model you want to use (e.g., Claude 3, Titan, etc.)

import boto3

bedrock_agent_runtime = boto3.client('bedrock-agent-runtime')

response = bedrock_agent_runtime.retrieve_and_generate(
    input={
        "text": "What are the benefits of using Amazon SageMaker?"
    },
    retrieveAndGenerateConfiguration={
        "knowledgeBaseConfiguration": {
            "knowledgeBaseId": "YOUR_KB_ID"
        },
        "modelArn": "arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-3-sonnet-20240229-v1:0"
    }
)

print(response['output']['text'])

More details and examples on Cloudoku.training here - https://cloudoku.training/blog/aws-knowledge-base-with-bedrock

Good Luck! let me know how it goes.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Cloudoku.training

79665840

Date: 2025-06-14 12:38:55
Score: 1
Natty:
Report link

Your situation looks like a race condition and time-of-check/time-of-use, and locks must be used to make those inserts not parallel but serial.
My guess is that SELECT ... FOR UPDATE can lock more rows than needed (depend on ORDER BY in select statement), so causing lock timeouts.

Try using Advisory Locs (https://www.postgresql.org/docs/15/functions-admin.html#FUNCTIONS-ADVISORY-LOCKS) to avoid parallel execution of some part of code.
Just grab the lock (pg_advisory_lock) before selecting the "last" row, and release it (pg_advisory_unlock) after insertion new one.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Игорь Тыра

79665839

Date: 2025-06-14 12:37:55
Score: 1
Natty:
Report link

I repeated all your steps exactly you described here and when pressing "Build skill" it start building it, but at the end it fails - so no new model is present.

When I also added a custom intend with one single sample utterance building the skill is not failing anymore. So new model present and when testing, "hallo wereld" is enough and skill get invoked.

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

79665833

Date: 2025-06-14 12:23:51
Score: 0.5
Natty:
Report link

Got the similar problem. I tried to copy the main part of the private key and type the other part by myself.

And I typed letter O as number 0 for the similarity.

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

79665828

Date: 2025-06-14 12:15:50
Score: 1.5
Natty:
Report link

Run the following commands to resolve this error;

rm -rf var/cache/prod php

bin/console oro:assets:install --env=prod

You should get this results when it's successful

The last command would reinstall the assets. you need to see the following to know this has worked.

If this doesn't work. Run them again and again until it works. if this fails, run these in succession;

rm -rf var/cache/prod

php bin/console oro:assets:install --env=prod

rm -rf var/cache/prod

bin/console oro:platform:update --force --env=prod

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

79665824

Date: 2025-06-14 12:11:48
Score: 3.5
Natty:
Report link

Azure Container Apps - Fully managed serverless container platform
https://azure.microsoft.com/en-us/products/container-apps

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

79665820

Date: 2025-06-14 12:08:47
Score: 1
Natty:
Report link

I solved "that problem in kernel function" by Project properties -> C/C++ -> Command line -> Additional parameters = --offload-arch=gfx900 (I have Vega 56, set your arch gfx????).

enter image description here

I use HIP 5.5 because 6.2 does not work with my GPU ("Unsupported hardware"). I also found that last ROCm to work with Vega 56 was 4.5.2 . To check GPU arch, you may do:

C:\> hipinfo

or also clinfo

Reasons:
  • Blacklisted phrase (1): ???
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sergei Koshman

79665817

Date: 2025-06-14 12:00:45
Score: 3.5
Natty:
Report link

click on the :app:mergeDebugResources, then scroll to the top to see the source of error.

enter image description here

This error usually comes from the resource file, check your resource xml file.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user1749845