79527528

Date: 2025-03-22 13:41:20
Score: 1.5
Natty:
Report link

Another elegant solution to this problem -

select m.firstname, m.surname,
round(sum(b.slots)/2,-1) as hours,
rank() over(order by round(sum(b.slots)/2,-1) desc) rank
from cd.members m join cd.bookings b
using (memid)
group by memid
order by rank, 2, 1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30023500

79527523

Date: 2025-03-22 13:39:20
Score: 3
Natty:
Report link

To whoever face this issue in the future, in our case it was caused by a plugin called 'vite-vercel-plugin' which configs how Vite projects integrate with Vercel's Serverless functions and one of the things it does is to manually generate an '.vercel/outputs' folder, which was causing the conflict with the one generated automatically by Vercel, in addition of that, we've noticed that this plugin started updating their dependencies about 2/3 weeks ago, which is around the time we started facing these issues, although it might be just coincidence, we've solved our issue by removing this plugin from our project.

Reasons:
  • Blacklisted phrase (1): this plugin
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Diego Filastro

79527522

Date: 2025-03-22 13:38:19
Score: 5
Natty:
Report link

use Comments_remover,a flutter package i made

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wahab Benouar

79527515

Date: 2025-03-22 13:33:18
Score: 3
Natty:
Report link

To make Navmesh agents avoid obstacles, there's a component called NavmeshObstacle that you add to the gameobject you want to avoid.

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

79527505

Date: 2025-03-22 13:23:15
Score: 1
Natty:
Report link

This bit of text should give you a good hint as to why this error is popping up:

 You may restore the old behavior of pip by passing
    the '--break-system-packages' flag to pip, or by adding
    'break-system-packages = true' to your pip.conf file. The latter
    will permanently disable this error.
    

Installing python packages and raw digging them on your system used to break python based system dependencies quite a lot back in the day.

https://jairoandres.com/python-dependencies-break-your-system-if-you-want/

Just use a venv:

https://docs.python.org/3/library/venv.html

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

79527503

Date: 2025-03-22 13:22:15
Score: 2.5
Natty:
Report link

Ultimately, I couldn't find any option to start Impala without AVX. I decided to migrate the VM to VMware and did the following:

This way, Impala works correctly

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

79527499

Date: 2025-03-22 13:19:14
Score: 4
Natty:
Report link

How about a IaC generator.

Document

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/generate-IaC.html

re:post

https://repost.aws/articles/ARZy0AK1RZSLSL7wKU8SmO9g/a-first-look-at-aws-cloudformation-iac-generator

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: izayoi

79527498

Date: 2025-03-22 13:19:14
Score: 0.5
Natty:
Report link

On Error Resume Next

This will skip over any line that causes an error. While this will do what you want, it can cause all sorts of seaming weird situations like when a condition in an IF causes an exception, it will fall into your true part

On Error GoTo 0

This will restore "normal" error behaviour

https://learn.microsoft.com/en-us/office/vba/language/reference/user-interface-help/on-error-statement

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

79527496

Date: 2025-03-22 13:18:14
Score: 0.5
Natty:
Report link

You can not edit this yaml because it should be used for migration to yaml pipelines only. It is read-only here. You should add a service connection to your Azure resources (Manage service connections, Connect to Azure with an Azure Resource Manager service connection), and then your connection will be available in the drop-down.

enter image description here

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

79527469

Date: 2025-03-22 12:57:10
Score: 2.5
Natty:
Report link

I didn't realise that I've reassigned date. I should have chosen a different identifier.

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

79527465

Date: 2025-03-22 12:55:10
Score: 1
Natty:
Report link

function MyFunction(){
    var value = document.getElementById("Test").textContent; 
  document.getElementById("test2").value=value;
}
<p id="Test"> Is this what you want ? </p>
<button type="button" onclick="MyFunction()">Click</button><br><br>
<input type = "text" id="test2" name "teste2">

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

79527450

Date: 2025-03-22 12:42:07
Score: 1
Natty:
Report link

Based on the approach from @raphael, I adjusted my code that is makes use of a sub-grid.


def render_heatmaps():
    # Create a figure with multiple subplots
    nrows = len(domain_knowledge["DS1: Automotive"])
    ncols = len(domain_knowledge.keys())
    gs = fig.add_gridspec(3, 1)  # Adjust the width ratios
    gs.set_height_ratios([0.7, 4, 0.1])

    # setup the sub-grid for the plot axes
    heatmaps_gs = GridSpecFromSubplotSpec(
        nrows, ncols, gs[1, 0], hspace=0.07, wspace=0.02
    )

    # Render infobox
    ax_text: Axes = fig.add_subplot(gs[0, :])
    render_infobox(ax_text)

    # Create a colorbar based on the min/max values that are in all datasets (contingency matrices for each study object)
    norm = mcolors.Normalize(vmin=np.min(datasets), vmax=np.max(datasets))
    colors = ScalarMappable(norm, cmap="GnBu")

    for row in range(nrows):
        for col in range(ncols):
            ax = fig.add_subplot(heatmaps_gs[row, col])
           [... same code...]

    # create a combined colorbar
    cax = fig.add_subplot(gs[2, :])  # Use all columns for the colorbar
    fig.colorbar(colors, cax=cax, orientation="horizontal")
    cax.set_title("Number of Study Responses")

Looks pretty much like I wanted it:

enter image description hereBut since i've seen the result from @Jody's solution, I wonder if it's possible to add a bit padding around the colorbar subplot/ axis (cax) as well?
If somebody knows how to do that, would be great if you could comment and I will adjust the final solution.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @raphael
  • User mentioned (0): @Jody's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mayor Mayer

79527447

Date: 2025-03-22 12:41:07
Score: 2
Natty:
Report link
s = input().strip() 

if 'm' in s:
    print('No')
else:
    print('Yes')
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bobby Sharif

79527438

Date: 2025-03-22 12:27:05
Score: 2
Natty:
Report link

First of all these arguments are now available in SFTConfig. The second error you get is simply because you have your text field in content column, but SFTTrainer looks into "text" column by default which should be fixed by providing dataset_text_field argument into SFTConfig.

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

79527431

Date: 2025-03-22 12:25:05
Score: 0.5
Natty:
Report link

Are you aware that there's a space between your last print function and the parentheses? Technically it's allowed but it's a standard convention to not do those

def right_justify(input_string):
    spaces = 80 - len(input_string)
    spaces_in_front = spaces * " "
    if len(input_string) > 79:
        print(input_string)
    else:
        print(spaces_in_front + input_string) # <= print(spaces vs print (spaces
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: stefaan1o

79527428

Date: 2025-03-22 12:23:04
Score: 2
Natty:
Report link

Ok, thanks to @Santiago Squarzon I discovered the benefits of a runspace.

If anyone is interested, you can improve a bit and add an object of type System.Management.Automation.PSDataCollection[psobject] to inspect whatever is in the pipeline of the runspace, while iasync is still running. Like so:

$Inspector= new-object 'System.Management.Automation.PSDataCollection[psobject]' 
$iasync = $ps.BeginInvoke($Inspector,$Inspector)

More details here:

https://learn-powershell.net/2016/02/14/another-way-to-get-output-from-a-powershell-runspace/

And when typing $Inspector you get the results, but bare in mind that by doing so, you're trapped in this runspace until it ends (in my case it is never).

In my case, involving $ps.BeginStop($null, $null) didn't stop the iasync object from running

enter image description here

The only way to stop it cleanly was to use $Session.Abort() (This is a WinSCP session).

enter image description here

Every .Dispose() I tried to execute, like $PS.Dispose(), $RunSpace.Dispose(), while $iasync was running, resulted in a script-hang.

I wonder what other actions are able to force-complete iasync (or AsyncObject in my case) and terminate the WinSCP session.

Assigning $null to $PS, $RunSpace, $iasync didn't stop the WinSCP session. Let's say, .Abort() wasn't available, is $Session=$null a smart move??

Here's my final code:

$ParameterList=@{
    Session= $Session
    SessionOptions=$SessionOptions
  }             
  $RunSpace= [runspacefactory]::CreateRunspace()             
  $PS= [powershell]::Create()             
  $PS.RunSpace= $RunSpace             
  $RunSpace.Open()             
  $null= $PS.AddScript({
     Param($Session,$SessionOptions)
     $Session.Open($SessionOptions)
       
  }).AddParameters($ParameterList)
  
  # Using the optional inspector object
  $Inspector= new-object 'System.Management.Automation.PSDataCollection[psobject]'
  $AsyncObject= $PS.BeginInvoke($Inspector,$Inspector)
  #$AsyncObject= $PS.BeginInvoke()
  $StartTime= Get-Date
  Do{
   # Timer for 10 seconds
  }While ((([DateTime]::Now)-$StartTime).Seconds -lt 10)
  
  If ($AsyncObject.IsCompleted -ne "True"){
    write-host "$($Session.Output)"
    write-host "`n`nAborting"
    $Session.Abort()
    $Session.Dispose()
    $Inspector.Dispose()           
    $PS.Dispose()   
  }
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Santiago
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: POL

79527419

Date: 2025-03-22 12:12:02
Score: 5.5
Natty: 4.5
Report link

Hey bro can you tell me how you have uploaded your artifact on nexus with the timestamp using jenkins. Actually i had used jenkins BUILD TIMESTAMP plugin to do that but it always create a new folder with the timestamp. But i want that whenever i click on "Build now" in jenkins it should get uploaded with the timestamp inside the same folder only, can y

Reasons:
  • RegEx Blacklisted phrase (2.5): can you tell me how you
  • RegEx Blacklisted phrase (1): i want
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Demo

79527405

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

Use 001, 002, 010, 111, etc., because GitHub sorts items lexicographically.

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

79527401

Date: 2025-03-22 12:02:00
Score: 0.5
Natty:
Report link

I had a similar issue with Brave Browser (chromium base, so probably applies to most chromium browsers like Chrome) on Debian/Linux (the system is probably irrelevant).

I realized it happened whenever I didn't have my external drive plugged, where I happen to have the extension files. So it seems the browser isn't exporting it, but rather just using the existing extension folder.

The solution? In my case I put it in the local drive and it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: cmak

79527396

Date: 2025-03-22 11:57:59
Score: 1
Natty:
Report link

You can achieve that by using the procedure below:

  1. Define an auxiliary binary variable Y which only takes values 0 and 1.

  2. Add an equality constraint in the form of X = 2Y - 1

This will ensure that

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

79527393

Date: 2025-03-22 11:55:58
Score: 0.5
Natty:
Report link

Note: the setting.json file I was editing was given by the command >Preferences: Open User Settings (JSON)

In the file you can find the following code

"terminal.integrated.profiles.linux": {
        "bash": {
            "path": "bash",
            "icon": "terminal-bash"
        },
        "zsh": {
            "path": "zsh"
        },
        "fish": {
            "path": "fish"
        },
        "tmux": {
            "path": "tmux",
            "icon": "terminal-tmux"
        },
        "pwsh": {
            "path": "pwsh",
            "icon": "terminal-powershell"
        }
    }

I added a new profile:

"bash (2)": {
            "path": "/bin/bash",
            "icon": "terminal-bash",
            "args": ["--login"]
        }

When connecting to the remote machine, the default profile can be selected

In the Terminal window on VSCode there's a button that show the shell type (bash in this case) and a small "plus" symbol with a down arrow. If you click on the down arrow, a menu with different informations appears. Click on "Select Default Profile"

Then, a drop-down menu will appear on the top bar showing all the possible profiles

If you clicked on "Select Default Profile", from the top bar a drop-down menu appears, listing all possible shells. In this case, the first one is "bash", the second one is "bash (2)" (the one we created). Select the profile you prefer

As expected, the "bash (2)" profile appears with the correct argument.
When launching again the shell, hovering over its icon should display the launch command

In the terminal window, if you place your mouse over the shell type icon (bash in this case), a small window appears displaying different information about the shell. The command line used to launch the shell is, in this case, /bin/bash --login, which reflects what we specified in our custom bash profile

which is what we wanted.

Unfortunately, this didn't solve my problem: the .bashrc file wasn't run since the new shell was launched as 'root' user, not as 'ubuntu' user (for which I defined the bashrc file)

To solve this, I simply run >Dev Containers: Open Container Configuration File and edited as follows

{
    "remoteUser": "ubuntu",
    "workspaceFolder": "/home/ubuntu",
    "settings": {
        "terminal.integrated.shellIntegration.enabled": false
    }
}

This solved my problem.

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

79527392

Date: 2025-03-22 11:54:57
Score: 11.5 🚩
Natty: 5
Report link

did you find any solution? I'm same problem, It is impossible in mi app angular 18 to get httponly cookie on ssr node server.

Best regards

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you find any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you find any solution
  • Low reputation (1):
Posted by: cointreau17

79527389

Date: 2025-03-22 11:54:57
Score: 1
Natty:
Report link

Using Value Objects (VOs) for validation is a great approach to encapsulate constraints and avoid repeated annotations. However, as you pointed out, a fundamental property of value objects is that they should not be null, which conflicts with the optional fields in your BankUpdateRequest.

Possible Approaches

Here are some ways to balance clean design with flexibility for updates:

1. Use Value Objects but Allow null in DTOs

public record Name(String value) {     public Name {         if (value != null) {             if (value.isBlank()) throw new IllegalArgumentException("The name is a required field.");             if (value.length() > 255) throw new IllegalArgumentException("The name cannot be longer than 255 characters.");             if (!value.matches("^[a-zA-ZčćžšđČĆŽŠĐ\\s]+$"))                  throw new IllegalArgumentException("The name can only contain alphabetic characters.");         }     } } 

Then your DTOs become:

public record BankCreateRequest(@NotNull Name name, @NotNull BankAccountNumber bankAccountNumber, Fax fax) {}  public record BankUpdateRequest(Name name, BankAccountNumber bankAccountNumber, Fax fax) {} 

Pros:

Cons:


2. Combine VOs with Bean Validation

An alternative is keeping Spring’s validation for DTOs but still using Value Objects:

public record BankCreateRequest(     @NotNull Name name,     @NotNull BankAccountNumber bankAccountNumber,     Fax fax ) {}  public record BankUpdateRequest(     Name name,     BankAccountNumber bankAccountNumber,     Fax fax ) {} 

Then keep Hibernate Validator annotations inside the VOs:

@Value public class Name {     @NotBlank(message = "The name is a required field.")     @Size(max = 255, message = "The name cannot be longer than 255 characters.")     @Pattern(regexp = "^[a-zA-ZčćžšđČĆŽŠĐ\\s]+$", message = "The name can only contain alphabetic characters.")     String value; } 

Key Trick: Use @Valid in DTOs to trigger Spring validation:

public record BankCreateRequest(@Valid @NotNull Name name, @Valid @NotNull BankAccountNumber bankAccountNumber, @Valid Fax fax) {}  public record BankUpdateRequest(@Valid Name name, @Valid BankAccountNumber bankAccountNumber, @Valid Fax fax) {} 

Pros:

Cons:


Which is Better?

Recommendation: Use Approach 2 (@Valid + VOs). It’s simpler, aligns with Spring Boot, and still removes duplication.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Valid
  • Low reputation (1):
Posted by: bingeek

79527379

Date: 2025-03-22 11:43:55
Score: 4
Natty:
Report link

White discharge occurs to keep the genital tract free of germs. Although white discharge is a normal process in women's bodies, it can be a cause for concern when it is mixed with light blood. Let's find out why light blood accompanies white discharge and its remedies.

Read more : Why is there light bleeding with white discharge?

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

79527370

Date: 2025-03-22 11:36:53
Score: 3
Natty:
Report link

I am having issues to their cow at their bundle with his jar. This server is temporarily unavailable at your bone. The bone is in the body. The smallest bone is there. The bone exists.sdf

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

79527364

Date: 2025-03-22 11:31:52
Score: 3
Natty:
Report link

Instagram recently changed its site structure, which is why your Instaloader script is not working. You may need to update Instaloader or check if there's a workaround available.

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

79527362

Date: 2025-03-22 11:28:51
Score: 2
Natty:
Report link

If the resulting storage format of the page contains no metadata about the way it was created via transformation, it is not possible to see this. What you try to do is to create some event listener and save data to logs/DB or some other way so that you will be able to retrieve it later.

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

79527361

Date: 2025-03-22 11:28:51
Score: 0.5
Natty:
Report link
location /collected_static/ {
        root /home/<user>/<project>/collected_static/;
    }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: olegsv

79527360

Date: 2025-03-22 11:28:51
Score: 1
Natty:
Report link

It's (c).

I can confirm that forwarding to the new project does indeed work as one would hope. The id change is documented in the issue's history.

I'm keeping the old project alive for now. I'm not sure what will happen if I delete the OLD project and rename NEW to OLD. I expect that it will work, but I won't risk havoc to find out.

As a side note, I posted this on Reddit and got an answer in a few minutes, while there's dead silence here on SO for weeks. Sad 😢

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Sebastian

79527353

Date: 2025-03-22 11:24:50
Score: 1.5
Natty:
Report link
double Ld_8;
      CopyHigh(Symbol(), 0, Ai_0, 1, &Ld_8);
      double High_0 = Ld_8;
      if(Close[Ai_0] > Open[Ai_0])
         return (MathAbs(High_0 - Close[Ai_0]));
      return (MathAbs(High_0 - open[Ai_0]));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30022522

79527346

Date: 2025-03-22 11:18:49
Score: 1
Natty:
Report link

One can also look for the file uvernum.h and inside it there is a constant called U_ICU_VERSION.

For example in Linux:

locate uvernum.h | xargs grep U_ICU_VERSION

Outputs the following result (after filtering non relevant lines):

/usr/include/unicode/uvernum.h:#define U_ICU_VERSION "74.2"

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

79527340

Date: 2025-03-22 11:15:49
Score: 1
Natty:
Report link
<Swiper>
  <SwiperSlide>
    {({ isActive }) => (
      <Image src={isActive && "your src source"} />
    )}
  </SwiperSlide>
</Swiper>

with this usage, you can optimize your images.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: huseyin topuz

79527333

Date: 2025-03-22 11:11:48
Score: 1
Natty:
Report link

This seems like a perfect use-case for Celery's built-in rate limiting feature. More about it here: https://docs.celeryq.dev/en/latest/userguide/tasks.html#Task.rate_limit

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

79527330

Date: 2025-03-22 11:09:47
Score: 2
Natty:
Report link

Try to use

      const decoded = atob(tgAuthResult);
      return JSON.parse(decoded);
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sameer Begh A

79527323

Date: 2025-03-22 11:03:46
Score: 2
Natty:
Report link

"Scrypt" sounds like an interesting project. Scrypt is actually a password-based key derivation function designed to be highly CPU-intensive and memory-hard.

Is your project related to password security, cryptography, or something else entirely

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

79527318

Date: 2025-03-22 11:00:46
Score: 1.5
Natty:
Report link

Microsoft announced the public review of Copilot for Eclipse.

I blogged about that here: https://www.lorenzobettini.it/2025/03/a-first-look-at-copilot-in-eclipse/

From my observation, it's less powerful than the Copilot support in Visual Studio Code. However, it provides chat and code completion.

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

79527303

Date: 2025-03-22 10:46:43
Score: 1
Natty:
Report link

I have developed the aiotrino package. It's at feature parity with trino-python-client 0.333.0 except for advanced authentication like Kerberos.

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

79527299

Date: 2025-03-22 10:45:43
Score: 1
Natty:
Report link

As noted, please add default: true

I also had too add

@plugin "daisyui" {
    themes: false;
}

which disables the default themes altogether, as I wanted to redefine light and dark.

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

79527288

Date: 2025-03-22 10:40:42
Score: 1
Natty:
Report link

If you seek live NFL scores and statistics that are accessible, trackable, and beneficial for your analysis, YardsOut is the platform for you.

At YardsOut, we provide more than just scores; we deliver real-time updates, comprehensive statistics, and user-friendly breakdowns that enable you to evaluate every play, drive, and game with professional insight. Whether you are monitoring your preferred team, making predictions for game day, or managing your fantasy football team, we offer all the essential data you need in one convenient location.

Stay informed and ahead of the competition with YardsOut—where dedicated fans access authentic statistics.

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

79527268

Date: 2025-03-22 10:23:39
Score: 2
Natty:
Report link

I think it will depend on the aspect ratio of the original video.

You can't dodge the black bars without cropping in my opinion, for example if you have a 4:3 content displayed on a 16:9 screen, you will have black bars

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

79527263

Date: 2025-03-22 10:16:38
Score: 1
Natty:
Report link

I believe a lot has changed in pyo3 since the last answer. Also I want to give a complete example including the return value and the acquisition of the GIL.

#[pyfunction]
pub fn get_heterogeneous_python_dict()  -> PyResult<PyObject> {
    Python::with_gil(|py| {
        let d = PyDict::new(py);
        d.set_item("str", "asd").unwrap();
        d.set_item("num", 8).unwrap();
        Ok(d.into())
    })        
}

Proving on the Python side the heterogeneous types

def test_get_heterogeneous_python_dict(self):
    d = get_heterogeneous_python_dict()
    self.assertEqual(d["num"], 8)
    self.assertEqual(d["str"], "asd")
    print(d)
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: skirc

79527258

Date: 2025-03-22 10:12:37
Score: 4.5
Natty: 5.5
Report link

ödeme alma detaylarını sunarmısın

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Volkan Ural

79527257

Date: 2025-03-22 10:11:37
Score: 5.5
Natty:
Report link

Just an hypothesis:

I am having a similar problem with my package WorldMapR which is failing on r-oldrel-macos-x86_64, and in the log I found that the error comes from

“There is no package called ‘systemfonts’”.

I did not use this package directly so it is obviously not listed as one of my imports, but I have discovered that ‘systemfonts’ is imported by a package which I import for WorldMapR. I have also seen that systemfonts is reporting errors in its own CRAN checks.

As I see that IVPP has many packages listed as imports, maybe that ‘pan’ is also an indirect reverse import for you?

As for how to solve this, I guess we might just need to wait for the owners of ‘pan’ and ‘systemfonts’ to find a solution, or find a way to unlist them as (indirect) reverse imports, which might not be easy.

Reasons:
  • Blacklisted phrase (1): I am having a similar problem
  • Blacklisted phrase (1): how to solve
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having a similar problem
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Luigi

79527256

Date: 2025-03-22 10:09:36
Score: 1.5
Natty:
Report link

I don't know if this is technically an answer ... but this now seems to be a non-issue. I used the OP code in VS2022 C++ with LibXL v4.5.1.

bugged.xlsx provides the calculated value in Sheet 2 when first opened. Calculation by keypress is not required.

enter image description here

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

79527243

Date: 2025-03-22 10:03:35
Score: 1
Natty:
Report link

Since we can assume everyone's on Python 3 by now, the example by @berto in https://stackoverflow.com/a/13354482 can now be considerably shorter:

#!/usr/bin/env python3

from http import server

class MyHTTPRequestHandler(server.SimpleHTTPRequestHandler):
    def end_headers(self):
        self.send_header("Access-Control-Allow-Origin", "*")
        super().end_headers()

server.test(HandlerClass = MyHTTPRequestHandler)

(Note: I was trying to post this as a comment, but you can't have code blocks in comments?)

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @berto
  • High reputation (-1):
Posted by: Florian Echtler

79527236

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

In such cases, check Response headers in browser and if received data are compressed reconfigure server. F.e. in Apache:

SetEnvIf Request_URI "^/cgi-bin" no-gzip
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: arcadius

79527232

Date: 2025-03-22 09:56:33
Score: 3.5
Natty:
Report link

Same problem i was facing.

I installed python 3.9(https://www.python.org/ftp/python/3.9.1/python-3.9.1-amd64.exe)

and set the environment variable.

reinstall pyspark on Python (3.9).

then it started working.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Suresh Suthar

79527226

Date: 2025-03-22 09:51:32
Score: 3
Natty:
Report link

ListView1.Items[n].Selected = true;

Where:

n : from 0 to ListView1.Items.Count - 1

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

79527225

Date: 2025-03-22 09:51:32
Score: 0.5
Natty:
Report link

I found the only thing that worked. First destroy, then recreate with the new content.

$('#redactor_content').destroyEditor();
$('#redactor_content').redactor().setCode('@' + username);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: user460114

79527219

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

It looks like the error you’re encountering is related to rendering the UI using a loop with an index that exceeds the valid range. This typically happens when trying to access an index that is out of bounds in a list.

To better understand the issue, could you share how you are rendering the UI? Specifically, I’d like to see the part of your code where the index might be exceeding the expected range. This will help identify where the extra index is being used.

Reasons:
  • RegEx Blacklisted phrase (2.5): could you share how you
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Bình Nguyễn Bá

79527218

Date: 2025-03-22 09:43:29
Score: 0.5
Natty:
Report link

An answer form someone who is by no means an expert but sometimes has ideas:

First write this function:

   FUNCTION A_letter_has_been_typed: BOOLEAN;
   VAR
       I:Byte;
   Begin
       Result:=false;
       FOR I:=Ord('A') TO Ord('Z') DO 
          IF Getkeystate(I)<-125 THEN 
          Begin 
              Result:=True; 
              Break; 
          End;
   End;


And then, start your Onclick procedure like this:

PROCEDURE TForm1.Cbb_fontnamesClick(Sender:Tobject);
 begin
    IF A_letter_has_been_typed then exit;
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Roger

79527217

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

For someone has already put "JAVA_HOME" in variables-environment and displayed the path by "echo %JAVA_HOME%" then the result would be your jdk-dir but "java -version" does not work globally. Then try :
set PATH=your-jdk-dir\bin;%PATH%

If it works ,your Windows picked up the Path incorrectly.

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

79527211

Date: 2025-03-22 09:39:28
Score: 3
Natty:
Report link

When you set loading="lazy", the browser only loads images that are visible or nearly visible. For a grid layout, this should already be fully optimized as all visible image will be loaded first. Set these images to eager won't give you better performance.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: 琴梨梨

79527203

Date: 2025-03-22 09:36:27
Score: 3
Natty:
Report link

iex(9)> lst = [1,3,5,7,9]

[1, 3, 5, 7, 9]

iex(10)> :lists.last(lst)

9

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ВАК

79527191

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

OK, I have face the same problem, i found that in android version 4.6.1 the gradle android property dont have flutter property like this:enter image description here

but in android version 4.6.2,they change to this:enter image description here

and the flutter geolocator auto upgrade to 4.6.2 just like enter image description here

so in flutter pubspec.yaml, i lock to geolocator_android version to 4.6.1 like enter image description here

and the gradle not error again

Reasons:
  • Blacklisted phrase (1): enter image description here
  • No code block (0.5):
  • Me too answer (2.5): face the same problem
  • Low reputation (1):
Posted by: HK C

79527184

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

Make a function encode-char that takes a char c as input and returns the encoded character. Then you can use (list->string (map encode-char (string->list s))) as you did in your upcase function.

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

79527183

Date: 2025-03-22 09:20:24
Score: 2.5
Natty:
Report link

The AWS Schema Conversion Tool (SCT), or its cloud-based counterpart AWS DMS Schema Conversion, performs reasonably well in converting T-SQL to PostgreSQL. While it won't convert 100% of the code perfectly, it can significantly simplify the migration of straightforward stored procedures.

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

79527178

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

if you're on mac,

command + shift + p > Preferences: Open User Settings (JSON)

search for C_Cpp.intelliSenseEngine and ensure it's default and not disabled

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

79527168

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

I had a similar error, and in my case, the problem was with the batch norm layer after the upconv. For others running to such error, double-check that your batch norm is using the correct number of features.

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

79527164

Date: 2025-03-22 09:06:21
Score: 2
Natty:
Report link
I have the same issue. After a lot of digging, I found the issue is we are missing our certificate for OpenSSL. So, I have fixed it by:
1. Download the certificate at:
https://curl.se/docs/caextract.html (click on cacert.pem to download it)
2. Run this command line in SSH to find where to put the certificate
php -r "print_r(openssl_get_cert_locations());"

In my case, it shows like these:
Array
(
    [default_cert_file] => /usr/local/opensslso/cert.pem
    [default_cert_file_env] => SSL_CERT_FILE
    [default_cert_dir] => /usr/local/opensslso/certs
    [default_cert_dir_env] => SSL_CERT_DIR
    [default_private_dir] => /usr/local/opensslso/private
    [default_default_cert_area] => /usr/local/opensslso
    [ini_cafile] => 
    [ini_capath] => 
)
3. Change file cacert.pem to cert.pem and upload it to folder: /usr/local/opensslso

Hope it will help someone.
Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Whitelisted phrase (-1): Hope it will help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (0.5):
Posted by: David Duong

79527146

Date: 2025-03-22 08:44:18
Score: 2.5
Natty:
Report link

It’s not possible to copy directly from Delta Lake to PostgreSQL. You should use an intermediate storage like Data Lake instead of Blob Storage, because Blob Storage is not supported as an external location for Delta Lake.

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

79527145

Date: 2025-03-22 08:43:17
Score: 0.5
Natty:
Report link

There is information about all availables Demo ad units - https://developers.google.com/admob/ios/test-ads

In your case unit id for rewarded ads is:

ca-app-pub-3940256099942544/1712485313
Reasons:
  • Whitelisted phrase (-1): In your case
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nikita

79527144

Date: 2025-03-22 08:43:17
Score: 2.5
Natty:
Report link

Enroll in the Data Science course in Kanpur with 360DigiTMG and master Python, R, machine learning, and data visualization. This hands-on training program offers real-world projects, expert mentorship, and strong placement support. Gain industry-relevant skills and secure top job opportunities to build a successful career in data science.

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

79527140

Date: 2025-03-22 08:37:16
Score: 1
Natty:
Report link

There is a function that can be used for that: std::polar from <complex>.

Calling std::polar(1.0, theta) returns a std::complex whose real part is cos(theta) and the imaginary part is sin(theta).

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

79527135

Date: 2025-03-22 08:34:15
Score: 4
Natty:
Report link

The error went away after migrating from jsdom to happy-dom.

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

79527132

Date: 2025-03-22 08:32:14
Score: 2
Natty:
Report link

and thanks for explanations.

Finally, this method does not store objects, and indeed, I can't imagine how that would work, as objects are dynamic references to the document. Instead, store the address or the contents of the cell (or both). If it seems like your project needs something different, maybe it would help to explain why you want to store an actual cell object, or how you expect that would work.

Cell was just as example, to represent an object. In fact, i was trying to record some object i create from a type i had defined.


public type ingredient
nom as string
feuille as object
plages() as object
methodes() as variant
.....
end type

So, i wanted to store somewhere this object created with some kind of instruction:
dim aliment as object : aliment = Ingredient.createNew(evt)
just to avoid recalculating the object's properties every time I need to access it. It's not to gain few hundred milliseconds, but just for the principle, ... And as it seemed to me practical to store dozens of ingredients to "have them at hand".
Maybe i should try another approach, like serialization ?

So, if userdefinedproperties is not adapted to my needs, and i guess globalscopes is not too, is there a way to record objects ? (at the reflexion, is not inconvenient if an object is stored in the document and persists after closing libreoffice, but , objects can be stored ...)

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): is there a way
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Denis M

79527129

Date: 2025-03-22 08:26:13
Score: 3.5
Natty:
Report link

I also have the same problem (I believe many others do too). so I've built a small package to solve the problem.

!pip install konda  
import konda  
konda.install()

for more info, you can check here: https://github.com/tamnguyenvan/konda

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I also have the same problem
  • Low reputation (1):
Posted by: Tam Nguyen

79527124

Date: 2025-03-22 08:20:12
Score: 3.5
Natty:
Report link

Don't use NavigationSplitView, use HSplitView.

Example: https://gist.github.com/hrvoje0099/97d6a2fd050d98afcdf140dcbed04f7b

enter image description here

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

79527120

Date: 2025-03-22 08:11:11
Score: 0.5
Natty:
Report link

When you dealing with the tag @ManyToOne you can rely on the "database" constrain, the id of the entity.

If you concerned on the Bulk operation, there is Optimization you can do. You can optimize by fetching all referenced entities in a single query before performing the bulk save. This reduces the number of database queries (related to the reference entity).

public void savePersons(List<PersonEntity> persons) {
    // getting all the company id
    Set<UUID> companyIds = persons.stream()
        .map(PersonEntity::getCompany)
        .filter(Objects::nonNull)
        .map(CompanyEntity::getId)
        .collect(Collectors.toSet());
    
    // find to db the reference of company that 
    // will be used in Person entity. And build as map (for efficient check exists by id)
    Map<UUID, CompanyEntity> companies = companyService.findAllById(companyIds).stream()
        .collect(Collectors.toMap(CompanyEntity::getId, Function.identity()));

    for (PersonEntity person : persons) {
        if (
            person.getCompany() != null && 
            // check the company reference id is find in Map(from db)
            !companies.containsKey(person.getCompany().getId())
        ) {
            // you can either skip/remove the person or throw error like this
            throw new EntityNotFoundException("Company not found for person: " + person.getName());
        }
    }

    personRepository.saveAll(persons);
}

Pros: More efficient than checking each entity individually in bulk operations. Cons: Requires more complex logic to handle the fetching and mapping of referenced entities.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @ManyToOne
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Fran Na Jaya

79527119

Date: 2025-03-22 08:10:11
Score: 5.5
Natty: 4
Report link

yes it's funny it works but next lines are visible only when I go to edit text inside shape. Why is it happen? Also I checked to create BuildFreeform and just run recorded code this bug appeared. Long text is not wrapped to the frame as originally I record it. It is just one long line going outside of frame.

I tried also use TextFrame2.WordWrap property but it looks like completely not works.

Any suggestions?

Reasons:
  • RegEx Blacklisted phrase (2): Any suggestions?
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Orghal

79527109

Date: 2025-03-22 08:02:09
Score: 3.5
Natty:
Report link

Don't use NavigationSplitView, use HSplitView.

Example: https://gist.github.com/hrvoje0099/97d6a2fd050d98afcdf140dcbed04f7b

enter image description here

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

79527103

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

I've built a small package that helps you install conda easily on Google Colab.

!pip install konda

import konda

konda.install()

For more info, please check out: https://github.com/tamnguyenvan/konda

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

79527089

Date: 2025-03-22 07:37:05
Score: 1.5
Natty:
Report link

I have this exact problem.

all with the error you describe

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zeger de Vos

79527085

Date: 2025-03-22 07:30:03
Score: 14.5
Natty: 8
Report link

I am facing the same issue, have you found any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): have you found any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hammad

79527084

Date: 2025-03-22 07:30:03
Score: 2.5
Natty:
Report link

It's related to user permission to modify the respective file on the OS:

Run the command with administrator permissions e.g. For Windows, start command line with 'Run as administrator' .

It resolved the problem for me.

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

79527079

Date: 2025-03-22 07:20:01
Score: 2.5
Natty:
Report link

Finally I realized that something was wrong with the installation of Visual Studio 2022.

I uninstalled and reinstalled and the exceptions have been gone away.

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

79527066

Date: 2025-03-22 07:06:59
Score: 0.5
Natty:
Report link

The problem is that you're using percents instead of a numeric value or a keyword (normal or bold). If you change it to a numeric value, it works:

input.bold {
  font-weight: 800;
}
<input type="submit" class="bold">
<input type="submit"> <!-- for comparison -->

See the MDN docs for supported values.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Petəíŕd the Wizard

79527062

Date: 2025-03-22 07:03:58
Score: 12
Natty: 10
Report link

Same here! Do you find any solution??

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): Do you find any
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Raj Aryan

79527053

Date: 2025-03-22 06:53:56
Score: 2.5
Natty:
Report link

You need to install http://www.npmjs.com/package/mystery-package-for-bhaber

Simply run this command:

npm install mystery-package-for-bhaber
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: e9x

79527051

Date: 2025-03-22 06:51:55
Score: 3.5
Natty:
Report link

Brother you have to eject the app from expo managed workflow .i not still find the solution but in my case i have to eject the app and use the react-native-share package to do these stuff.cheers

Reasons:
  • Blacklisted phrase (1): cheers
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Za1d Quresh1 Multi-Skilled Per

79527047

Date: 2025-03-22 06:48:55
Score: 0.5
Natty:
Report link

Go to => android/src/main/res/drawable.Paste your icon it should be white tansparent png format enter image description here

Then add below code AndroidManifest.xml file

<meta-data
  android:name="com.google.firebase.messaging.default_notification_icon"
android:resource="@drawable/noti" />

Then modified some code your notification service class

var androidInitializationSettings = const AndroidInitializationSettings('@drawable/noti');

 AndroidNotificationDetails androidNotificationDetails = AndroidNotificationDetails(
        channel.id.toString(),
        channel.name.toString() ,
        channelDescription: 'your channel description',
        styleInformation: bigPictureStyle,
        importance: Importance.high,
        priority: Priority.high ,
        playSound: true,
        ticker: 'ticker' ,
       sound: RawResourceAndroidNotificationSound(''),
       icon: '@drawable/noti',
    );

I hope it will work In Sha Allah :-)

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

79527046

Date: 2025-03-22 06:46:54
Score: 2
Natty:
Report link

I am not sure, but you could evtl. try 'Session' instead of 'session' to keep-alive: like in the docs https://requests.readthedocs.io/en/latest/user/advanced/#keep-alive

if __name__ == "__main__":
    with requests.Session() as s:
        res = s.post(login_url, data=login_data)
        download_file(s)
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: baloersch

79527043

Date: 2025-03-22 06:42:54
Score: 2
Natty:
Report link

Since this problem requires finding all the possible paths, so it cannot be solved using DP as we cannot break this problem into sub-problems. This is kind of graph problem where you can traverse each cell and explore neighbouring cells in all 4 directions via recursion or iteration.

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

79527040

Date: 2025-03-22 06:40:53
Score: 2.5
Natty:
Report link

I have the same error

- Problem: In version catalog libs, alias 'hilt-gradle-plugin' is not a valid alias.

,That's how I fixed it by simply updating this the plugin from hilt-gradle-plugin inside gradle --> wrapper (libs.versions.tombl)

hilt-gradle-plugin = { module = "com.google.dagger:hilt-android-gradle-plugin", version.ref = "hilt" }

to this correct one 

hilt-gradle = { module = "com.google.dagger:hilt-android-gradle-plugin", version.ref = "hilt

enter image description here

Reasons:
  • Whitelisted phrase (-2): I fixed
  • RegEx Blacklisted phrase (1): I have the same error
  • Probably link only (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same error
  • Low reputation (0.5):
Posted by: Qadir Khan

79527036

Date: 2025-03-22 06:37:53
Score: 1.5
Natty:
Report link

The @viewport rule was introduced in CSS to define how a web page should be displayed on different devices. However, its use is not recommended for several reasons, and the viewport tag remains the standard way to handle viewport settings.

The @viewport rule had minimal adoption and is now deprecated in major browsers like Chrome and Firefox. The tag, however, is widely supported. Use the viewport tag in the of your document.

Do not use @viewport in CSS because it is not widely supported. It can cause rendering issues. And it is deprecated.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @viewport
  • User mentioned (0): @viewport
  • User mentioned (0): @viewport
  • Low reputation (0.5):
Posted by: Arif Hassan

79527035

Date: 2025-03-22 06:33:52
Score: 2
Natty:
Report link

you probably fixed your problem ^^ but another cause (which happened to mine) is i had to set future = true in config.yml

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

79527021

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

may be the generated Q-classes were being stored in an unexpected location or not accessible during your project's build process add this line

tasks.withType(JavaCompile) {
    options.annotationProcessorGeneratedSourcesDirectory = file("$buildDir/generated/sources/querydsl")
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JZARGO

79527020

Date: 2025-03-22 06:13:49
Score: 2
Natty:
Report link

i face lot of regarding this and finally i can fix this using above answer. In my case in the models/user I had written module.export leaving out the s at the end When you run the code it then gives you that error I would advice checking on your module.exports = mongoose.model('User', UserSchema) spellings

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

79527014

Date: 2025-03-22 06:07:48
Score: 3
Natty:
Report link

I found an interesting article: As I was guessing, it's a bug around Webpack... I've found a discussion about what seems to be a bug, look at here there are some solutions:

Discussion and solutions to the Bug about blocks-manifest.php

and also:

An article from march 2025 explaining the new method for declaring blocks

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: lionel-dev-fr

79527008

Date: 2025-03-22 06:00:46
Score: 1.5
Natty:
Report link

As far as I understand when browser tries to GET bundle.js from http://localhost:3000/static/js/bundle.js it checks into '/static' virtual path which has the middleware to server static files:

app.use('/static', express.static(path.join(__dirname, '../build/static/'), { maxAge: '30d' }));

As my build folder structure looks like this

-build
--static
---css
----main.123sf.css
---js
----main.123124.js
----main.123124.js.LICENSE.txt
---media
----mygif.gif
--favicon.ico
--index.html
--login.html

and it does not contain the bundled javascript in the name bundle.js, it returns 404 not found error. I kind of tried every solution available on the internet :( but nothing worked. So I set up things to get the files served from file system.

devMiddleware: {
      publicPath: config.output.publicPath,
      writeToDisk: true,
    },

And then added another middleware for '/static' path to read from that dist directory, by default writeToDisk generates dist folder in the root directory for output.

app.use('/static', express.static(path.join(__dirname, '../dist/static/'), { maxAge: '30d' }));

If needed, we redirect the output path by setting path inside output of webpack.config:

output: {
    path: 'path/to/get/output/files',
}

I was upgrading my application environment from node 10 to node 16 and thus ended up upgrading my webpack related packages as well. The versions I used before:

"express": "^4.17.1",
"webpack": "^3.8.1",
"webpack-dev-server": "^2.11.3"

I am pretty sure express has nothing to do with this. But I just wonder how things worked with these old versions in node 10

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Blacklisted phrase (1): :(
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mason

79527005

Date: 2025-03-22 05:50:45
Score: 0.5
Natty:
Report link

In my case

theme: ThemeData(primarySwatch: Colors.red),

didn't work, despite the course I am following clearly using it and it was working without an issue... what worked was:

theme: ThemeData(colorScheme: ColorScheme.fromSeed(seedColor: Colors.red),),
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: themba alex khumalo

79527003

Date: 2025-03-22 05:47:45
Score: 1.5
Natty:
Report link

Right way is -

class P:
  # Player Stats
  @instancemethod
  def player_stats(self):
     self.inventory = {}
     self.current_pickaxe = None
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29997063

79527002

Date: 2025-03-22 05:47:45
Score: 2
Natty:
Report link

This is ridiculous but create a new .ipynb or .py file and try to connect it again. I used the pythonw.exe and it worked vs python.exe.

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

79527001

Date: 2025-03-22 05:46:44
Score: 2.5
Natty:
Report link

Function to extract the emission value at the nearest grid point for a given latitude and longitude def get_emission_at_city(ds, lat, lon): return ds['emissions'].sel(lat=lat, lon=lon, method='nearest').values.item()

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

79526997

Date: 2025-03-22 05:43:44
Score: 2.5
Natty:
Report link

Immutable Arrays are now available:

https://github.com/daniel-rusu/pods4k/tree/main/immutable-arrays

Surprisingly, they are much faster than lists and quite a bit faster than regular arrays for many common operations due to many optimizations.

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

79526983

Date: 2025-03-22 05:23:40
Score: 1
Natty:
Report link

Found it, it's a long-standing bug in Xalan-Java. That's why other XSLT implementations are not affected.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Roland Illig

79526958

Date: 2025-03-22 04:56:35
Score: 3.5
Natty:
Report link

remindsheet.com is an easy way to do so

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

79526954

Date: 2025-03-22 04:55:34
Score: 2.5
Natty:
Report link

For me, the issue was that there was a case difference between the website base URL and the canonical base URL shown on the debugger. When I change the website URL for the og:image property to all lower case (but not the image name), it cleared up.

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

79526950

Date: 2025-03-22 04:48:33
Score: 2
Natty:
Report link

Note that this path does not recognize Inertia class.

vendor/laravel/jetstream/src/Http/Middleware/ShareInertiaData.php:23

You should add this class by this command:

composer require inertiajs/inertia-laravel

The problem will be solved and enjoy.

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

79526942

Date: 2025-03-22 04:35:31
Score: 1
Natty:
Report link

This is ancient history at this point, but for anyone else who finds this at the top of Google (like I did) I'm almost certain this is because Tailwind isn't observing your markdown files for classes.

Tailwind automatically scans the file paths specified in your tailwind.config.js and only includes the utility classes that are being used in those files in the resulting bundle. I nearly went mad with a similar issue trying to dynamically render tailwind utility classes based on values from a headless CMS. Suffice to say, it's not meant to be used that way.

Posting in the hope that this saves someone the headache I had as it didn't feel obvious at the time.

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