79496843

Date: 2025-03-10 01:31:36
Score: 5
Natty:
Report link

The same thing happens to me and I would like to know if you have already solved it so that you can tell me how, thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1.5): I would like to know
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Juan Miguel Hernandez

79496841

Date: 2025-03-10 01:28:36
Score: 1.5
Natty:
Report link

An alternate solution

BigInt(`0x${buffer.toString('hex')}`).toString(32)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
Posted by: William Leung

79496836

Date: 2025-03-10 01:26:35
Score: 2
Natty:
Report link

It could be a floating point precision issue perhaps? How does it look in Blender itself. Import the exported FBX back into Blender to double check.

You could check the mesh import settings in Unity, maybe see if Mesh Compression is on and turn it off for increased precision.

If all else fails, you could scale up the mesh elements slightly, though it will be hard to avoid zfighting.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: thatnzguy

79496829

Date: 2025-03-10 01:13:33
Score: 2.5
Natty:
Report link

My experiences in use multiple version of python is "best way is use pyenv".

https://github.com/pyenv/pyenv

You can easily use multiple version of python with this.

Good Luck

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

79496825

Date: 2025-03-10 01:12:32
Score: 1
Natty:
Report link

The same i hapening to me i haave added sn include located inthe same directory as .c files. and vs 2022 ddoes not see it, AnD all MENTIONED garbage files are locked so i can not deletE thEm this is outrageous, A FUNDAMENTAL BUG IN vs!!!!!!

#include "substr_c.h"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29651458

79496824

Date: 2025-03-10 01:11:32
Score: 1.5
Natty:
Report link

Adding on to the other answer here: https://stackoverflow.com/a/74416040/9889773

I used waitForSelector to solve this for myself. i.e:

await page.waitForSelector('input#email[required]:invalid')

And using :valid after filling in valid input.

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

79496807

Date: 2025-03-10 00:45:28
Score: 2.5
Natty:
Report link

I have built a discord bot that sends an auto dms for cold outreach.

Hit me if you want it.

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

79496805

Date: 2025-03-10 00:43:27
Score: 2
Natty:
Report link

Technically you can re-write your query, replace SELECT DISTINCT ON with an aggregate function like MAX and GROUP BY. Then you'll be able to group and sort at any order you like.

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

79496801

Date: 2025-03-10 00:32:25
Score: 2.5
Natty:
Report link

The issue with your current XMLHttpRequest implementation is that you’re making a POST request, but you’re not actually sending the form data. That means your server has no idea what filters you’re applying, so it’s just returning the default results instead of the filtered ones.

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

79496798

Date: 2025-03-10 00:30:25
Score: 0.5
Natty:
Report link

Credit to DJP for his answer. What I did was, turn off the saving as indicated:

Settings -> Presentation -> Disable auto-save for all respondents

Then I created the pre-filled link, opened in browser, then added to home screen to get the shortcut. After testing it worked, I went back to the form and re-enabled the auto-save.

All seems to be working fine now.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Low reputation (1):
Posted by: YippeSkippy

79496790

Date: 2025-03-10 00:17:22
Score: 5
Natty: 4.5
Report link

Hi sorry I have a similar issue. I used to have a .rprofile with memory.limit increasing my actual RAM limitation but recently I tried to open a .rdata and it always tells me it s blocked at 16.2 gb which is my physical limitation but before with memoryu limit increased, it was able to get beyong. Not sure if the last update I did today messed that up. I tried to increase this R_max v size in renviron but it does not seem to work. any idea where it comes from?

it says: impossible to allocate a vector of size 16.2gb

thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (0.5): sorry I have
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dart3231

79496788

Date: 2025-03-10 00:15:22
Score: 3.5
Natty:
Report link

unfortunately this doesn't work, everything is shifted all the way to the right and the rows below are not displayed, I only see the product and the price. In any case, thank you very much for your effort!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: miljko

79496784

Date: 2025-03-10 00:09:21
Score: 1.5
Natty:
Report link

This video provided the guidance I was looking for:
https://www.youtube.com/watch?v=KwQDxwZRZiE

And my solution looks like this:

pipeline {
    agent any

    parameters {
        choice( name: 'project_short_code', description: 'The short code for this project', choices: ['foo','bar'])
    }

    stages {
    }
        stage('Clone site code to build envornment') {
            steps {
                script {
                    def projects = readYaml file: "build_scripts/9999-build_properties_for_project_code.yaml"
                    env.our_project_repo = projects.project_code."${project_short_code}".our_project_repo
                    env.site_deploy_target = projects.project_code."${project_short_code}".site_deploy_target
                }
                dir("./${env.site_deploy_target}") {
                    git branch: "${site_tag}", credentialsId: "${ssh_credentials}", url: "${env.our_project_repo}" 
                }
            }
        }
    }
}

Apparently, an assignment to an env.FOO requires no def keyword, and, at least in the same context, can be accessed as ${env.FOO}.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): This video
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Hugh Esco

79496780

Date: 2025-03-10 00:05:20
Score: 2.5
Natty:
Report link

In Android Studio
Go to File > Invalidate Caches

Check all checkboxes and then tap "Invalidate and Restart" button.

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

79496739

Date: 2025-03-09 23:07:11
Score: 1
Natty:
Report link

The tutorial only includes a button for incrementing the counter so using the mod function would work in the context of this component tutorial.

If the component your designing allows the parent component to set a value directly (as opposed to just incrementing) then you'd probably want to set the private _counter back to the starting number (and ensure that it also properly notifies the parent component that the value was modified).

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

79496735

Date: 2025-03-09 23:04:10
Score: 13
Natty: 7
Report link

i have the same problem

did you fix itt ?

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • RegEx Blacklisted phrase (3): did you fix
  • RegEx Blacklisted phrase (1.5): fix itt ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Eslam Hamdy

79496724

Date: 2025-03-09 22:51:07
Score: 1.5
Natty:
Report link

If every date is going to be in the format yyyyMMdd and your use case is simple, then you can divide the string up into these segments and assign them to variables.

let monthDays = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];

function checkDate(date) {
    if (date.length === 8) {
        let year = parseInt(date.slice(0, 4));
        let month = parseInt(date.slice(4, 6));
        let day = parseInt(date.slice(6, 8));
        if (month > 12 || month < 0) {console.log("Invalid month"); return 0;}
        if (day > monthDays[month - 1]  || day < 0 || (month === 2 && day >= 28 && year % 4 != 0)) {console.log("Invalid day"); return 0;}
        return `${year}, ${month}, ${day}`;
    } else {
        console.log("Invalid length");
        return 0;
    }
}

dont downvote guys i am in the process of editing this

Reasons:
  • RegEx Blacklisted phrase (2): downvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: oosh

79496720

Date: 2025-03-09 22:48:06
Score: 2.5
Natty:
Report link

Apparently, this is an issue exclusive to Intellij IDEA on Fedora/Nobara.

Despite giving it full rights, it still seems to be sealed away or causing conflict with CHROME.

Moving the program in a freshly installed Visual Studio CODE with the same parameters... runs the program just fine.

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

79496717

Date: 2025-03-09 22:44:06
Score: 0.5
Natty:
Report link

Common table expressions aren't really supported natively by the the ORM, so you might be looking at a cursor situation to execute some plain old sql (https://docs.djangoproject.com/en/5.1/topics/db/sql/#executing-custom-sql-directly).

Not sure if you are using postgres or another relational database but CTEs should probably be similar between them https://www.postgresql.org/docs/current/queries-with.html#QUERIES-WITH-MODIFYING.

You would maybe end up with something like:

with connection.cursor() as cursor:
    cursor.execute(
    """
    WITH insertedArticles AS (
        INSERT INTO articles
            (name, subtitle) 
        VALUES
            ('name_value', 'subtitle_value')
        RETURNING article_id
    )
    INSERT INTO comments
        (article_id, comment_text)
    SELECT
        insertedArticles.article_id, $1
    FROM insertedArticles;

    """

As always with using raw sql rather than ORM methods, make sure to parameterize inputs.

Reasons:
  • Blacklisted phrase (1): TO comment
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: twrought

79496713

Date: 2025-03-09 22:43:05
Score: 2
Natty:
Report link

I eventually solved that issue by calling the heatmap module separately: 'from seaborn import heatmap'. That had to be done even after already explicitly stating 'from seaborn import *'. Smh.

But, on the plus side, no need to downgrade to 3.9 after all.

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

79496710

Date: 2025-03-09 22:39:05
Score: 1
Natty:
Report link

React Native Skia has no instruments of interactions with user. Everything from tap to input basics should be implemented from scratch or another way would be to create overlay over canvas that create rn elements in the same place where skia elements are. And another issue would be the way rn skia implemented right now it’s completely separate react reconciler which will create problem I wouldn’t recommend skia for anything other than rendering non interactive image

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

79496700

Date: 2025-03-09 22:31:04
Score: 3
Natty:
Report link

Of cource, it is essential to standardize the data when using linear models with any regularization. Otherwise, the method is mathematically incorrect.

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

79496698

Date: 2025-03-09 22:30:03
Score: 1
Natty:
Report link

In Powershell

     (Get-NetConnectionProfile).Name

then use Process class to retrieve the return value.

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

79496692

Date: 2025-03-09 22:21:02
Score: 0.5
Natty:
Report link

You're getting the error:

Java 8 date/time type java.time.LocalDateTime not supported by default

This happens because Jackson does not support LocalDateTime out of the box. You need to register the JavaTimeModule properly.

Solution

  1. Ensure You Have the Correct Dependencies Make sure you have the jackson-datatype-jsr310 dependency in your pom.xml:

<dependency>
    <groupId>com.fasterxml.jackson.datatype</groupId>
    <artifactId>jackson-datatype-jsr310</artifactId>
    <version>2.18.2</version>
</dependency>
  1. Register JavaTimeModule in Spring Boot Spring Boot automatically registers JavaTimeModule if the dependency is present. However, in some cases, an explicit configuration is needed.

Create a Jackson configuration class:

@Configuration
public class JacksonConfig {

    @Bean
    public ObjectMapper objectMapper() {
        ObjectMapper objectMapper = new ObjectMapper();
        objectMapper.registerModule(new JavaTimeModule());
        objectMapper.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
        return objectMapper;
    }
}
  1. Ensure Your ErrorResponse Class Uses @JsonFormat Modify your ErrorResponse class to format LocalDateTime correctly:
@Getter
@Setter
public class ErrorResponse {

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss", timezone = "UTC")
    private LocalDateTime timestamp;
    private int status;
    private String error;
    private String message;
    private String path;

    public ErrorResponse(int status, String error, String message, String path) {
        this.timestamp = LocalDateTime.now();
        this.status = status;
        this.error = error;
        this.message = message;
        this.path = path;
    }
}
  1. Modify Your Authentication Entry Point Update your AuthenticationEntryPointJwt to use ObjectMapper properly:
@Component
public class AuthenticationEntryPointJwt implements AuthenticationEntryPoint {

    private final ObjectMapper objectMapper;

    @Autowired
    public AuthenticationEntryPointJwt(ObjectMapper objectMapper) {
        this.objectMapper = objectMapper;
    }

    @Override
    public void commence(HttpServletRequest request, HttpServletResponse response, AuthenticationException authException) throws IOException {
        response.setContentType(MediaType.APPLICATION_JSON_VALUE);
        response.setStatus(HttpServletResponse.SC_UNAUTHORIZED);

        ErrorResponse errorResponse = new ErrorResponse(
                HttpServletResponse.SC_FORBIDDEN,
                "Forbidden",
                "You do not have permission to access this resource.",
                request.getRequestURI()
        );

        // Convert ErrorResponse to JSON
        response.getWriter().write(objectMapper.writeValueAsString(errorResponse));
    }
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @JsonFormat
  • Low reputation (1):
Posted by: AH07

79496681

Date: 2025-03-09 22:16:00
Score: 1
Natty:
Report link

A bit late, but you may need to add the following to your docker-compose.yaml:

network_mode: bridge

Possibly also specify localhost: 127.0.0.1:5000:5000.

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

79496678

Date: 2025-03-09 22:14:00
Score: 4
Natty: 4.5
Report link

Support for ARM64 driver development for Windows 11 was added in 24H2 WDK https://learn.microsoft.com/en-us/windows-hardware/drivers/what-s-new-in-driver-development

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: anthony shaw

79496663

Date: 2025-03-09 22:02:57
Score: 0.5
Natty:
Report link

Have Your tried requesting this endpoint in postman? If the issue persists in postman then the problem is in your backend code and endpoints. If postman process request successfully then your frontend is not picking that url. For that purpose you have to expose/forward your django port with ngrok

ngrok http 8000

Then give that ngrok public url in frontend

For example if ngrok gave you url: https://dehde-343-hdcnd-324n/ -> 8000 then in frontend replace "http://127.0.0.1:8000" with "https://dehde-343-hdcnd-324n/"

It will solve your problem but if the issue still persists then try following:

For testing purpose, give your whole backend signup url to baseUrl of API like this:

const API = axios.create({
    baseURL: "http://127.0.0.1:8000/api/register/",
    headers: {
        "Content-Type": "application/json",
    }
});

Also try to remove the last "/" from endpoint and test

http://127.0.0.1:8000/api/register
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Muhammad Bilal

79496654

Date: 2025-03-09 21:57:56
Score: 0.5
Natty:
Report link

In the end, my team made simplified box collision meshes for all the objects. As all the colliders were axis aligned bounding boxes, were were able to just use Raylib's built-in bounding box collider code, while doing a few simple distance / radius checks to cull the work to a performant level.

`bool CheckCollisionBoxes(BoundingBox box1, BoundingBox box2);                                 // Check collision between two bounding boxes`
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Reverend Speed

79496647

Date: 2025-03-09 21:51:55
Score: 1
Natty:
Report link

you want to be using Array.equals i.e.

Arrays.equals(temp, numArray)

to compare the items in the array (docs), double equals will check if they are the same array reference.

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

79496643

Date: 2025-03-09 21:49:55
Score: 1.5
Natty:
Report link

The error is outlined in the nuqs troubleshooting docs: https://nuqs.47ng.com/docs/troubleshooting#client-components-need-to-be-wrapped-in-a-suspense-boundary

The root of the issue is that useQueryState(s) uses Next.js' useSearchParams under the hood, which does need this Suspense boundary to ensure proper hydration of client components.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: François Best

79496637

Date: 2025-03-09 21:45:54
Score: 0.5
Natty:
Report link

In case anyone runs into this issue. A viable workaround would be writing a custom HTML redirect file for sphinx-reredirects and including a script that captures the fragment and appends it to url.

For example:

<!DOCTYPE html>
<html>
  <head>
    <noscript>
      <meta http-equiv="refresh" content="0; url=${to_uri}" />
    </noscript>
    <script>
      var target = "${to_uri}";
      // If there's a URL hash, append it to the target URL
      if (window.location.hash) {
        window.location.replace(target + window.location.hash);
      } else {
        window.location.replace(target);
      }
    </script>
  </head>
</html>

Note that you have to register your custom redirect template in your conf.py.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: David Ekete

79496634

Date: 2025-03-09 21:40:53
Score: 2
Natty:
Report link

Thank you very much for your answer! I solved this by removing colspan="2" from both files. I will now try your code just out of curiosity.

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

79496627

Date: 2025-03-09 21:34:52
Score: 3.5
Natty:
Report link

So, after having had a fun time the last couple of sleepless nights, I've actually come up with a good solution.

I've published it to pub.dev, go check it out!

https://pub.dev/packages/limited_extent_scroll_view

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: BobLoblaw

79496623

Date: 2025-03-09 21:28:51
Score: 1
Natty:
Report link

The main reason is that Git Annex is designed to handle large files differently than standard Git.

git add . (Regular Git)

git annex add . (Git Annex)

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

79496613

Date: 2025-03-09 21:15:49
Score: 2.5
Natty:
Report link

Your code is generally correct and will seed an admin user as intended. However, if you need to seed the admin user only once, consider using a separate script or a seeding library instead of running it on every database connection.

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

79496608

Date: 2025-03-09 21:11:48
Score: 0.5
Natty:
Report link

Here is modern 2025 recursive function to save to your name manager as FACTORIAL:

=LAMBDA(n, IF(n<3, n, n * FACTORIAL(n-1)))

And here is how to do it using a LET function without using the name manager:

=LET(f, LAMBDA(me,n, IF(n<3, n, n*me(me,n-1))), f(f, 10))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: LambdaBam

79496601

Date: 2025-03-09 21:09:47
Score: 11 🚩
Natty: 6.5
Report link

do you have any update on this ? i have the same problem

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • Blacklisted phrase (1): update on this
  • RegEx Blacklisted phrase (2.5): do you have any
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amir Koribeche

79496598

Date: 2025-03-09 21:08:47
Score: 2
Natty:
Report link

The answer was merely removing virtual from the functions, e.g.

int run(A& a);   // <---- line 9 above
int run(B& b);   // <---- line 21 above

Thanks everyone for the help.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: James

79496597

Date: 2025-03-09 21:07:46
Score: 2
Natty:
Report link

I'll summarize the information discussed in the comments, as well as the answer provided by OP in the edit to their original question. I believe this deserves to be a community wiki answer but I lack the reputation to mark it as such.

The original code halted unexpectedly after around 200 members. While the exact cause is unclear, fixing the following inefficiencies resolved the issue, suggesting that the problem stemmed from one (or a combination) of them.

  1. guild = discord.utils.get(bot.guilds, name = GUILD)

    The guild object is already in the context object.

    ✓ OP deleted this line, and further uses of guild were changed to context.guild.

  2. ServerMembers = [i for i in guild.members]

    First, guild.members is already a list, making this list comprehension unnecessary. ServerMembers will be the exact same list as guild.members every time this line is ran.

    In addition, guild.members itself potentially is potentially an incomplete list of members. guild.members relies on the bot's internal cache, which can be incomplete if the member list wasn’t fully populated. Switching to fetch_members() ensures the bot gets a complete list from the Discord API, even if the cache is incomplete.

    ✓ OP writes async for user in context.guild.fetch_members(limit = None):

  3. if (EmployeeRoleUS or EmployeeRoleCA) in user.roles

    As explained in this link by Queuebee, the above conditional does not work as intended. Assuming both EmpolyeeRoleUS and EmployeeRoleCA are not None, the above line is equivalent to just if EmployeeRoleUS in user.roles (the Canadian role is ignored).

    ✓ OP fixes this line to if (EmployeeRoleUS in user.roles) or (EmployeeRoleCA in user.roles)

  4. await guild.get_member(user.id).add_roles(guild.get_role(EMPLOYEE_FORMER_ROLE))

    The user object is already an instance of Member from guild.fetch_members().

    An additional suggestion not in OPs solution would be to define EmployeeFormerRole = guild.get_role(EMPLOYEE_FORMER_ROLE) once so it does not need to be redefined for every member. This would make the final line become user.add_roles(EmployeeFormerRole)

    ✓ OP changes it to user.add_roles(guild.get_role(EMPLOYEE_FORMER_ROLE)) which is sufficient.

  5. await guild.get_member(user.id).edit(roles = []) # Remove all roles

    ✓ OP opted to remove this line completely.

  6. await asyncio.sleep(15)

    The Discord.py library automatically handles rate limits internally.

    ✓ OP removed the manual await asyncio.sleep(15).

After making these changes, OP reported that the bot processed over 1,000 members successfully in around 24 minutes (~1-2 seconds per member) — confirming that the fixes resolved the halting issue.

It is unknown what exactly fixed the original issue, but it can be presumed that it was one of or a combination of the above changes.

@bot.command(name = "prune_unverified", help = "prune the unverified employees", enabled = True)
@commands.has_role("Owner")
async def prune_unverified(context):
    await context.message.delete()

    VerifiedEmployees = []
    PrunedUsers = []

    EmployeeRoleUS = context.guild.get_role(EMPLOYEE_ROLE)
    EmployeeRoleCA = context.guild.get_role(EMPLOYEE_CA_ROLE)
    VerifiedRole = context.guild.get_role(EMPLOYEE_VERIFIED_ROLE)
    FormerRole = context.guild.get_role(EMPLOYEE_FORMER_ROLE)

    # Fetch members directly from Discord API
    async for user in context.guild.fetch_members(limit=None):
        if (EmployeeRoleUS in user.roles) or (EmployeeRoleCA in user.roles):
            if VerifiedRole in user.roles:
                VerifiedEmployees.append(user)
            else:
                PrunedUsers.append(user)

    # Update roles for pruned users
    for user in PrunedUsers:
        await user.edit(roles=[])  # Remove all roles
        await user.add_roles(FormerRole)  # Add former employee role

    # Create CSV files of results
    with open("pruned_users.csv", mode="w") as pu_file:
        pu_writer = csv.writer(pu_file)
        pu_writer.writerow(["Nickname", "Username", "ID"])
        for user in PrunedUsers:
            pu_writer.writerow([user.nick, f"{user.name}#{user.discriminator}", user.id])

    with open("verified_users.csv", mode="w") as vu_file:
        vu_writer = csv.writer(vu_file)
        vu_writer.writerow(["Nickname", "Username", "ID"])
        for user in VerifiedEmployees:
            vu_writer.writerow([user.nick, f"{user.name}#{user.discriminator}", user.id])

    # Send results to Discord
    embed = discord.Embed(
        description=f":crossed_swords: **{len(PrunedUsers)} users were pruned by <@{context.author.id}>.**"
                    f"\n:shield: **{len(VerifiedEmployees)} users completed re-verification.**",
        color=discord.Color.blue()
    )
    await context.send(embed=embed)
    await context.send(file=discord.File("pruned_users.csv"))
    await context.send(file=discord.File("verified_users.csv"))
Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1.5): I lack the reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ryry013

79496588

Date: 2025-03-09 20:55:44
Score: 2
Natty:
Report link

I was getting this same error. After deleting C:\Program Files\Java\jdk-17\ folder from an old defunct Java installation, Gradle finally obeyed my JAVA_HOME env variable without issue and I didn't have to edit any configs!

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

79496587

Date: 2025-03-09 20:54:44
Score: 0.5
Natty:
Report link

in your C++ code you can likely remove the explicit load of cnt before the futex_wait call. The futex_wait syscall internally performs a load of the futex word cnt with sequential consistency. This ensures the atomicity of checking the value of the futex word and the blocking action as well as properly sequencing them, which is no different from std::memory_order_seq_cst 's guarantees.

why this works?

- Futex operations are ordered inside, and the load inside futex_wait coordinates the memory synchronization as necessary.

- This eliminates the need for an explicit initial load, and your code is still correct and optimal.

so,

- do not use explicit load,

- assume sequential consistency of futex_wait

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Belal Anas

79496586

Date: 2025-03-09 20:54:44
Score: 1.5
Natty:
Report link

resolvi este problema agregando android:usesCleartextTraffic="true" esto en

AndroidManifest.xml
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: luis rodriguez

79496577

Date: 2025-03-09 20:50:43
Score: 2
Natty:
Report link

Tangent's and bitangent's as well as normal's .w should be 0, as its direction vector. Indeed mirroring mesh will lead to this problem, beacuse you have different directions there, but same normal map. You should detect vertex/pixel that is flipped and inverse one component of the normal. Simplest solution will be keeping UV coordinates of the mirrored version greater than, so 1 + UV, then you can detect it by taking integer part and use fractional part as UV.

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

79496574

Date: 2025-03-09 20:49:42
Score: 0.5
Natty:
Report link

I don't really get an overview on your post, so I will list pros and cons by each method:

Centralized management:

Pros

Cons

Decentralized management:

Pros

Cons

In conclusion, depends on the business model and growth strategy of the hospitality group. If each hotel operates as a separate investment by different investors, a decentralized setup makes sense. It allows each property to be managed independently, reducing the risk of financial conflicts between investors. This gives each hotel full control over its resources, security, and operations, without being dependent on a centralized system that may have differing priorities or policies. On the other hand, if the hotels are investments owned collectively by the group, a centralized approach would be more effective. Centralized management enables consistent data and security policies across all properties, improving efficiency, scalability, and ease of management as the group expands. It also allows for seamless access for employees who work across multiple hotels, making it ideal for businesses with shared ownership and operations.

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

79496568

Date: 2025-03-09 20:45:42
Score: 1
Natty:
Report link

When doing instrumented tests for Android, you should put tests under proper directory.

Tests should be under directory androidTest.

In KMP - More detailed:
shared -> src -> androidTest
Or directly in the android folder:
android -> src -> androidTest

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When doin
  • Low reputation (0.5):
Posted by: mmmatey

79496558

Date: 2025-03-09 20:37:39
Score: 0.5
Natty:
Report link

I have noticed that this problem is happening in some regions recently, and by recently I mean Feb 2025. For example my region is Iran, and for those living in this region I tried so many different solution and none of them worked. Only thing that worked was using Shecan to solve DNS Problems

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

79496555

Date: 2025-03-09 20:36:39
Score: 5
Natty:
Report link

enter image description hereI have the same issue and none of the solutions I've seen rectify it, incluyding clean workspace and restarting. I'm wondering if the spring classes are built with a later Java version that my version (17) can't handle.

I am able to build with maven. And If I click on one of the "not found" classes, vscode actually brings me to the correct class in the dependent lib. But it still infuriatingly insists that the package does not exist.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: lightningrob

79496554

Date: 2025-03-09 20:36:39
Score: 0.5
Natty:
Report link

One more option is to do this using a simple for loop:

for (size_t pos = str.find(search); pos != std::string::npos; 
     pos = str.find(search, pos + replacement.length())) {
    str.replace(pos, search.length(), replacement);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Haim

79496543

Date: 2025-03-09 20:26:37
Score: 5.5
Natty:
Report link

In an environment such as where I work, I am unable to download off the internet and I also know that there are vulnerabilities with Amazon Corretto.

There is a new version of IntelliJ IDEA 2024.3.4.1 available free for Community users.

I'll provide an update to this comment when I get it onboarded to test.

If anyone has any suggestions in a similar complaint environment - please let me know.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (2): any suggestions
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: wendykcoding

79496541

Date: 2025-03-09 20:25:36
Score: 3
Natty:
Report link

Turns out all I had to do was restart my editor - Visual Studio wasn't seeing the changes in the Policy Scriptable Object for some reason.

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

79496535

Date: 2025-03-09 20:21:36
Score: 2.5
Natty:
Report link

When you create an empty List, use: List.empty(growable: true);

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Mike

79496534

Date: 2025-03-09 20:19:35
Score: 2
Natty:
Report link

Community, the way to fix this issues is removing the publication-request.json file ... credits to Jose Costa

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

79496533

Date: 2025-03-09 20:18:35
Score: 1.5
Natty:
Report link

github.com/wickedest/Mergely provides editor.mergely.com, which allows a user to generate a .diff file [1] of two inputs corresponding to git-diff syntax that VS Code and GitHub correctly syntax highlight.

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

79496530

Date: 2025-03-09 20:17:35
Score: 2.5
Natty:
Report link

There is a difference between matrices in HLSL and GLSL, HLSL matrices are row major, while in GLSL are column major. So the result will be different, you should reoder them in memory on cpu side before fetching. more about differences of HLSL and GLSL can be found here https://community.khronos.org/t/glsl-and-hlsl-differences/53888/4 , as Vulkan uses both.

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

79496528

Date: 2025-03-09 20:16:34
Score: 0.5
Natty:
Report link

You have to mark the App component as standalone inside the @Component decorator. Otherwise you cannot use the imports property:

import { Component } from '@angular/core';
import { RouterOutlet } from '@angular/router';
import { HeaderComponent } from './components/header/header.component';
import { ProductsListComponent } from "./pages/products-list/products-list.component";

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [HeaderComponent, ProductsListComponent],
  template: `
   <app-header>

   <app-products-list/>
  `,
  styles: [],
})
export class AppComponent {
  title = 'angular-ecomm';
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Component
  • Low reputation (0.5):
Posted by: Darío Ojeda Jurado

79496525

Date: 2025-03-09 20:13:34
Score: 1.5
Natty:
Report link

Go to WindowsTerminal, WindowsPowershell and Command line, you specify:
"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass"

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

79496520

Date: 2025-03-09 20:11:33
Score: 4
Natty:
Report link

I've developed a user-friendly application that offers a solution similar to your problem. It's completely free. You can find a demonstration video on my channel, which you might find helpful: https://youtu.be/rXkFuG7K8Mw?si=pcCfckapbyc7f_CI

Also, the application is available on GitHub:

https://github.com/manahter/formine

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: manahter

79496517

Date: 2025-03-09 20:04:31
Score: 3
Natty:
Report link

I disagree, you can ask for every permission approved for any client-api pair using the .default scope

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

79496498

Date: 2025-03-09 19:50:29
Score: 3
Natty:
Report link

you can follow the same issue here. Basically it is coming from dependencies issues.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Akash Gautam

79496494

Date: 2025-03-09 19:47:28
Score: 0.5
Natty:
Report link

This issue was appeared just now, because my development profile was expired, after renewing development profile, the issue was still here,
I uninstalled the app and restart ios device and mac, it worked

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

79496486

Date: 2025-03-09 19:41:26
Score: 4
Natty:
Report link

I've created a user-friendly application designed to solve this specific problem. I've uploaded a demonstration video to my channel, which you might find helpful:

https://youtu.be/rXkFuG7K8Mw?si=pcCfckapbyc7f_CI

Also, the application is available on GitHub

https://github.com/manahter/formine

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: manahter

79496481

Date: 2025-03-09 19:37:26
Score: 1
Natty:
Report link

This line of code:

front = p; //now front gets p! back should've updated with each enqueue

Does not quite make sense to me. Doesn't your enqueue() take care of all these details already?

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

79496467

Date: 2025-03-09 19:27:23
Score: 3
Natty:
Report link

Check the following MDN articles:

prefers-color-scheme media query

theme-color meta tag

meta element and its attributes

Thomas Steiner has written insightful articles on this topic:

Understanding color-scheme on web.dev

Let There Be Darkness (Maybe) on Medium

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

79496464

Date: 2025-03-09 19:25:23
Score: 1.5
Natty:
Report link

I'm facing the same problem. It can be "solved" by setting your X-Frame-Options.

Solution:

In your settings.py OR base.py, add the following:
X_FRAME_OPTIONS = "SAMEORIGIN"

References:

https://docs.djangoproject.com/en/5.1/ref/clickjacking/

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options

Considerations:

Caution!!. I'm not sure about the consequences of doing this, as the docs provided don't explain it a lot.

I would be less concerned if we could manage this with frame-ancestors instead of x_frame_options.

Check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/frame-ancestors

It also would be great if Wagtail devs add a way to configure this using django xframe decorators.

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • Whitelisted phrase (-2): Solution:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm facing the same problem
  • Low reputation (1):
Posted by: Blimblim

79496463

Date: 2025-03-09 19:24:23
Score: 0.5
Natty:
Report link

Same issue on higher version - not solved - so no support for Oracle DB on Ubuntu:

pm@pm-VirtualBox:~$ ldd /opt/oracle/instantclient_21_17/libsqora.so.21.1
    linux-vdso.so.1 (0x00007e1564695000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007e1564679000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007e1564590000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007e156458b000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007e1564586000)
    libaio.so.1 => not found
    libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007e1564571000)
    libclntsh.so.21.1 => /opt/oracle/instantclient_21_17/libclntsh.so.21.1 (0x00007e155fc00000)
    libclntshcore.so.21.1 => /opt/oracle/instantclient_21_17/libclntshcore.so.21.1 (0x00007e155f600000)
    libodbcinst.so.2 => /lib/x86_64-linux-gnu/libodbcinst.so.2 (0x00007e156455d000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007e155f200000)
    /lib64/ld-linux-x86-64.so.2 (0x00007e1564697000)
    libnnz21.so => /opt/oracle/instantclient_21_17/libnnz21.so (0x00007e155ea00000)
    libaio.so.1 => not found
    libaio.so.1 => not found
    libltdl.so.7 => /lib/x86_64-linux-gnu/libltdl.so.7 (0x00007e1564550000)
Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: HankerPL

79496434

Date: 2025-03-09 19:04:19
Score: 1.5
Natty:
Report link

\>>I tried following this medium article but it didn't work as expected..
Approach, suggested in this article, causes issue MissingPluginException.

Flutter creates 2 instances of the plugin for main and background isolate and each instance has it own method channel.

When you apply suggested approach and made channel static (single channel instance for both isolates plugin instances) happens following:

To fix this case - create channel for each plugin instance and if required make your implementation static (singleton) and share between plugin instances.

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

79496409

Date: 2025-03-09 18:45:15
Score: 8 🚩
Natty: 4
Report link

I have the same issue, and I did not find any solution. I think this issue happens when summing layers that had been summed before.

I am summing hundreds of raster layers. Firstly, they summed by day and then by months and then by years. Unfortunately, I have the same error. The surfaces are being cropped

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (1): I have the same error
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Me too answer (0): I have the same error
  • Low reputation (1):
Posted by: Holger

79496408

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

Install imageio -fmpeg

pip install imageio-ffmpeg

Ensure that the same Python environment is used In some cases, you may have more than one legend, which causes the library to be installed in a different environment. To check, use:

python -m pip install moviepy
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ghareeb fathy

79496389

Date: 2025-03-09 18:32:12
Score: 0.5
Natty:
Report link

The issue is that if the image name inside the tag in HTML contains %20, HTML will convert it to a space ( ) and look for the name with a space instead.

In your case, HTML is attempting to find the image at: file:///C:/Users/Anna/Pictures/Nikon%20Transfer/SEALS%20PROJECT/j3evn.jpg

You can try debugging this on your end, but the easiest solution would be to change the folder name.

Reasons:
  • Whitelisted phrase (-1): In your case
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sahil Ahmad

79496386

Date: 2025-03-09 18:24:10
Score: 1.5
Natty:
Report link

noqa can silence all kinds of warnings, and this one too:

for i in range(5):
  x = i
print(x)  # noqa
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): can
  • Low reputation (0.5):
Posted by: user19315471

79496383

Date: 2025-03-09 18:22:10
Score: 0.5
Natty:
Report link

You may agonize over the choice of the methods. But, the rules of thumb are pretty easy to figure out. Here is my advice:
- You can always try all 3. Just don't expect more than Evolutionary to work.
- Simplex LP will generally tell you right away if your problem isn't well-suited because it isn't linear throughout. I think of it as "either you're in or you're out".
- GRG Nonlinear deals best with "smooth" nonlinear problem expressions and I wouldn't use it with BINARY variables.
- Evolutionary is very flexible but can take a "long time". With today's computers larger problems with lots of nonlinearities can take 10 minutes. And, some could take longer. But, it does a good job of finding a "good" solution. but not THE UNIQUELY MIN or MAX or =. (By this, I don't mean a unique set of variables as there can be multiple solutions to some problems).
- On the chance that GRG Nonlinear can work, it's generally much faster.
Because I almost always have highly nonlinear problems, I always use Evolutionary.
- Usually have to be looking for "good" solutions, not absolute due to the nonlinearities.
- Trades patience vs. compute.
- One can use BINARY variables as solution "switches". e.g. use a binary variable to allow or disallow the use of an integer or continuous variable - and push the optimization to useful or interesting areas. Sometimes I combine a binary variable this way alongside a "manual binary" variable "control" so one can turn on and turn off the use of another variable before the optimization runs. This is handy for focusing in on one or a few of the other variables in getting to an acceptable solution and might be useful for "kicking" the solution space.
- Because Evolutionary will vary the solution space, it's often useful to run it more than once. I have an "iterative" sub that runs until there is no further improvement in the objective. There can be more elegant approaches to this of course.

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

79496381

Date: 2025-03-09 18:20:09
Score: 4.5
Natty:
Report link

I also ran into this issue, trying to upgrade glib to the latest 2.82.5, on a macbookpro running Catalina and python3.13... editing glib.rb did NOT work for me... now I am looking at installing pkg-config-wrapper via brew. Tried many other 'tips', so far no luck yet.

Reasons:
  • Blacklisted phrase (1): did NOT work
  • Blacklisted phrase (1): no luck
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Satoshi.Ye

79496372

Date: 2025-03-09 18:15:08
Score: 0.5
Natty:
Report link

Now you can import it very simply.

MainActivity.kt

 private val viewModel: MainViewModel by viewModels()

Fragment.kt

private val activityViewModel: MainViewModel by activityViewModels()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Khanif Ikhsanudin

79496360

Date: 2025-03-09 18:04:07
Score: 3
Natty:
Report link

You might have simply clicked CTRL + F so the text has gone in the search field. Simply cancel the search.

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

79496358

Date: 2025-03-09 18:03:06
Score: 1.5
Natty:
Report link

You should fix the typo in RegisterView.

permissions_classes = [AllowAny]  # ❌ Incorrect

permission_classes = [AllowAny]  # ✅ Correct
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 7Berlin

79496357

Date: 2025-03-09 18:03:06
Score: 1.5
Natty:
Report link

Don't do any of that. Let your app handle user's configuration.

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

79496350

Date: 2025-03-09 17:58:05
Score: 1.5
Natty:
Report link

For models assuming an underlying data generating distribution for labels like logistic regression, uses 1/0 because that's the possible range of the Logistic distribution. See Wolfram.

If you were to use let's say Hyperbolic tangent distribution to define your target and model the classification with that link function you would use +1/-1 labels. See Wolfram.

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

79496342

Date: 2025-03-09 17:54:05
Score: 2.5
Natty:
Report link

Possible duplicate of this question. Please make sure to check it out and try this solution.

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Whitelisted phrase (-1): try this
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Volodymyr Kuzomenskyi

79496340

Date: 2025-03-09 17:53:04
Score: 4
Natty:
Report link

You might want to try this new plugin—it could be useful.
https://plugins.jetbrains.com/plugin/26550-mybatis-log-ultra
https://youtu.be/kWzavHWmlT0

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Listener2016

79496332

Date: 2025-03-09 17:50:03
Score: 1.5
Natty:
Report link

After basically removing all possible chunks of code from our implementation - it turned out that we had a (stupid) wrapper class that wraps MFCLeakReport class.

In it, there were calls to _CrtSetReportHook. Removing these calls completely solved the issue. As for why this was there for my company, or how to implement it correctly is irrelevant for the solution - but if anyone ever encounters similar behavior - try looking for MFC hooks.

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

79496326

Date: 2025-03-09 17:46:02
Score: 3
Natty:
Report link

I like Mise for managing ruby versions

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
Posted by: pixel 67

79496321

Date: 2025-03-09 17:41:01
Score: 3.5
Natty:
Report link

I found this works:

install.packages("rpart",repos = "https://CRAN.R-project.org/package=rpart")

Regards

Ditelliano

Reasons:
  • Blacklisted phrase (1): Regards
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ditelliano

79496318

Date: 2025-03-09 17:40:00
Score: 1
Natty:
Report link

You can switch the context from the search box by typing :context or :ctx and the context name:

:context $contextName

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

79496317

Date: 2025-03-09 17:40:00
Score: 1
Natty:
Report link

In the latest version of discord.py, the pins are handled with the on_guild_channels_pins_update event. Your events you have in your code snippet don’t exist, so they will never be called.

https://discordpy.readthedocs.io/en/latest/api.html#discord.on_guild_channel_pins_update

@bot.event
async def on_guild_channel_pins_update(channel, last_pin):
    if last_pin is None:
        # This means that all pins have been removed, or the last pin was removed
        await channel.send(f"The pins in {channel.mention} have been cleared.")
    else:
        # A new pin was added or an existing pin was modified
        await channel.send(f"The pins in {channel.mention} were updated. Last pin at: {last_pin}")
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ryry013

79496291

Date: 2025-03-09 17:18:57
Score: 1.5
Natty:
Report link

This may be a cleaner solution for any number of groups:
https://stackoverflow.com/a/47849462/29951167

However, as the col4 is not numeric, it needs to be modified like this:

colGrp = ['col1','col2','col3']
df = (pd.pivot_table(df,
                  index=colGrp,
                  columns=df.groupby(colGrp).cumcount().add(1),
                  values=['val','col4'],
                  aggfunc='first')).reset_index()
df.columns=df.columns.map('{0[0]}_{0[1]}'.format)
df.columns.values[:len(colGrp)]=colGrp
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Parvez Ahmmed

79496278

Date: 2025-03-09 17:06:55
Score: 3
Natty:
Report link

You can create an HTML element that has z-index value higher than the canvas itself.

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

79496266

Date: 2025-03-09 17:00:53
Score: 2
Natty:
Report link

For configure this project on any Server you should create the Database first as per the connection stirng in the appsettings.json file.

Then you can run the project on the server.

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

79496257

Date: 2025-03-09 16:57:53
Score: 2.5
Natty:
Report link

BEST SOLUTION

In webconfig

<connectionstring>

change datasource to ur datasource/project datasource/

</connectionstring>

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

79496250

Date: 2025-03-09 16:53:51
Score: 8 🚩
Natty: 5
Report link

Bro was your error resolved? I am getting the same error both with the Standard SPL token program and the Token Extensions 2022. I am using the following versions:

solana-cli 2.1.14 (src:035c4eb0; feat:3271415109, client:Agave)
anchor-cli 0.30.1
rustc 1.84.1 (e71f9a9a9 2025-01-27)

Also I am using Windows WSL.
I'd appreciate any help you could provide!

Reasons:
  • Blacklisted phrase (1): any help
  • RegEx Blacklisted phrase (1.5): resolved?
  • RegEx Blacklisted phrase (1): I am getting the same error
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same error
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Shivam Panwar

79496247

Date: 2025-03-09 16:52:51
Score: 1
Natty:
Report link

On Android, the splash screen image is limited in size and cannot be set to any arbitrary value: https://developer.android.com/develop/ui/views/launch/splash-screen

In Android 12, if your icon is bigger than the required size, it'll be cut off in a circle.

App icon with an icon background: This should be 240×240 dp, and fit within a circle of 160 dp in diameter. App icon without an icon background: This should be 288×288 dp, and fit within a circle of 192 dp in diameter.

Therefore, the cause of this issue should be that your icon size is out of range.

Workaround:
https://github.com/dotnet/maui/issues/9794

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

79496232

Date: 2025-03-09 16:42:49
Score: 1.5
Natty:
Report link

you can use this part of code
lambda x: (x*(x+1))/2

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

79496229

Date: 2025-03-09 16:40:49
Score: 0.5
Natty:
Report link

Just faced something similar in my NextJS application just now. I checked the prisma doc as well, and found the .findMany query being used when I actually need to fetch one entity. I had to change the .findUnique to .findFirst in my own case.

This is to provide additional guide.

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

79496227

Date: 2025-03-09 16:39:49
Score: 3.5
Natty:
Report link

You don’t have to build everything from scratch—use signal bots to handle it for you: https://cryptotailor.io/features/tradingview-signal-bots

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: behz4d

79496214

Date: 2025-03-09 16:29:47
Score: 0.5
Natty:
Report link

The problem is resolved now I was unaware about the sqlc documentation Query Annotations (Query annotations) which states that each query must have a comment in the format -- name: QueryName :commandType directly above it.

like this one db/queries/account.sql

-- name: CreateAccount :one
insert into accounts(
    owner, balance, currency
) values (
    $1, $2, $3
) returning *;
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jasvinder singh

79496212

Date: 2025-03-09 16:26:46
Score: 1
Natty:
Report link

import matplotlib.pyplot as plt

# Sample Data (Days vs Frequency of Head Banging)

days = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] # Days of the observation period

frequency = [5, 3, 4, 6, 2, 3, 5, 7, 4, 6] # Frequency of head banging on each day

# Create a Line Graph

plt.plot(days, frequency, marker='o', color='b', linestyle='-', markersize=6)

# Add titles and labels

plt.title('Frequency of Self-Injurious Behavior (Head Banging)')

plt.xlabel('Days')

plt.ylabel('Frequency (Count per Day)')

# Display the graph

plt.grid(True)

plt.show()

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

79496206

Date: 2025-03-09 16:17:45
Score: 0.5
Natty:
Report link

Solution:

It helped to me.

Reasons:
  • Whitelisted phrase (-2): Solution:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Вадим Ткаченко

79496202

Date: 2025-03-09 16:14:45
Score: 2
Natty:
Report link

I assume you mean the sum from 1 up to the number including?:

Equation

if so, I would write it in python 3 like so:

lambda(x) = sum([i for i in range(1,x+1)]

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ofridani

79496200

Date: 2025-03-09 16:13:44
Score: 0.5
Natty:
Report link

Hard to be 100% sure without the imports, but I suspect you imported the wrong items method or didn't import it at all.

So for your code, that'd mean adding this import:

import androidx.compose.foundation.lazy.grid.items
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mrlem

79496176

Date: 2025-03-09 15:57:42
Score: 2
Natty:
Report link

If anyone still has this issue - the fix for me was that stating the credentials in the docker-compose/logstash.conf is just not enough -> they need to be set in logstash.yaml as well
xpack.monitoring.elasticsearch.username: <<username>>
xpack.monitoring.elasticsearch.password: <<password>>

thanks to David's response in this thread:
https://discuss.elastic.co/t/logstash-got-response-code-401-contacting-elasticsearch-url/317081/7?u=petar_nedyalkov

Reasons:
  • Blacklisted phrase (0.5): thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Petar Nedyalkov

79496165

Date: 2025-03-09 15:46:39
Score: 1.5
Natty:
Report link

Running Chrome on Lambda or GCP can be quite a hassle; there’s a lot of configuration needed to establish a proper working environment. We eventually opted for https://browsercloud.io for our projects, as it allows us to run Puppeteer and Playwright sessions in the cloud to render PDFs and screenshots from Google SERP. It works well for us!

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