79527656

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

Looks like some of your browser extensions are messing around. Try in incognito. Most likely it will be because of extensions like Grammerly.

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

79527653

Date: 2025-03-22 15:31:43
Score: 8.5 đŸš©
Natty: 4
Report link

Nuestra empresa es: www.argoscorp.es

Estamos mirando de enviar una trama de datos por NFC desde un iPhone y Android a una placa PN532. Adjuntamos la trama a enviar.

Sabemos que el UID del NFC de un mĂłvil cambia cada vez por seguridad. A nosotros no nos importa el UID. Necesitamos transmitir esa trama de info.

Hemos leĂ­do este artĂ­culo:

https://github.com/kormax/apple-enhanced-contactless-polling

Alguien nos podrĂ­a ayudar?

Gracias

enter image description hereenter image description here

Reasons:
  • Blacklisted phrase (2): ayuda
  • Blacklisted phrase (1): enter image description here
  • Blacklisted phrase (2): Gracias
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sergio AlcĂĄntara

79527638

Date: 2025-03-22 15:13:40
Score: 8 đŸš©
Natty:
Report link

It’s impossible to understand an error without code, can you show the code please?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you show the code
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30024164

79527634

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

If your markdown supports html, you can also try

<p style="margin-left: 30px"> ... </p>
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dimitris

79527633

Date: 2025-03-22 15:08:39
Score: 1
Natty:
Report link

Found the answer:

curl "https://api.github.com/users/<username>/repos?per_page=100" | jq '.[] | select(.has_pages==true) | .name'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hari Kiran Vusirikala

79527631

Date: 2025-03-22 15:07:38
Score: 1
Natty:
Report link

Well, I'm sorry. I found out the problem. My app was working with uvicorn main:app --reload. I don't know what was the problem, but after starting the app again it worked, even thought, uvicorn watches for files changes.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniel Hakobyan

79527629

Date: 2025-03-22 15:06:38
Score: 4.5
Natty:
Report link

Hey it looks like you're facing issues with your bot not recognizing valid addresses and possibly generating incorrect ones. Could you clarify which network you're working with and how you're generating these addresses? Also are you handling memo phrases correctly? Some wallets require specific formatting for memos so that could be causing issues too. A bit more detail on your implementation might help find the root cause.

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you clarify
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Zainab Ansari

79527624

Date: 2025-03-22 15:02:37
Score: 1
Natty:
Report link

I was having the same version (see my comments against the original problem), however, I have just updated to flutter 3.29.2 on the stable version and the crashing problem has gone away for me.

There were a few minor changes I had to make to my app configuration (such as adding .cxx/ to my android/.gitignore), however, this was incidental to the crash being resolved.

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

79527607

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

There is a snippet in the LSR that addresses this:

https://lsr.di.unimi.it/LSR/Item?id=308

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

79527603

Date: 2025-03-22 14:43:33
Score: 1.5
Natty:
Report link

Yet another choice is to use the lcov tool itself to merge reports.

lcov -o mergedReport.info -a firstSegement.info -a secondSegment.info ...

There are a lot of options to munge and display the data in various ways. See the man pages.

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

79527597

Date: 2025-03-22 14:38:32
Score: 1.5
Natty:
Report link

IF PowerBIIntegration.Refresh() is not working, follow any two approaches below

  1. create a power automate that will refresh the report by auto trigger.

  2. If the PowerBIIntegration.Refresh() is not working then use timer like options and it will trigger the auto refresh.

    I was facing the same issue I created a power automated flow to fix this issue.

    https://community.fabric.microsoft.com/t5/Service/PowerBIIntegration-Refresh-PowerApp-workaround/m-p/3192799

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

79527582

Date: 2025-03-22 14:25:29
Score: 1.5
Natty:
Report link

MinGW doesn't support freopen_s.

But why don't you use freopen. I think freopen is better.

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

79527579

Date: 2025-03-22 14:21:28
Score: 1
Natty:
Report link

You have to add brackets. Currently you're comparing 0 != a.

Fix:

a = 5
b = -5

if (b > 0) != (a > 0):
  print("Hi")
else:
  print("Bye")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: allesmoegliche

79527575

Date: 2025-03-22 14:18:28
Score: 1
Natty:
Report link

The reason is the cl is default build tool for BOOST, but you maybe not install it.

so I use

bootstrap.bat gcc

because I install gcc in Windows. Then b2.exe will be generated.

go to

./b2.exe 

seccessed.

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

79527573

Date: 2025-03-22 14:18:28
Score: 3
Natty:
Report link

Dim a() As String = {"Test1", "Test2", "Test3"}

ListBox1.Items.AddRange(a)

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

79527571

Date: 2025-03-22 14:15:27
Score: 1.5
Natty:
Report link

The script must be executable. You can run chmod +x script.js, then commit and push it to git.

Now try creating the project from template it should work.

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

79527566

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

you can define the default value of that parameter to be null, so that then you can check if that parameter is == null, so with your example it would be

  class Program
        {
            static void Main(string[] args)
            {
               var c= cc(5);
            }
            public static int cc(int a, int? b = null)
            {
              int c=0;
            if(b is not null)
            {
              c = a * b;
            }
            else
            {
              c =a*a;    
              return c;
            }
        }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Folvin

79527564

Date: 2025-03-22 14:12:27
Score: 2.5
Natty:
Report link

Lodash types require specific version or typescript.

Choose @types version according to your typescript version.

https://www.npmjs.com/package/@types/lodash?activeTab=versions

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @types
  • High reputation (-1):
Posted by: Joosep Parts

79527560

Date: 2025-03-22 14:09:26
Score: 3.5
Natty:
Report link

try to use !Important Flag Or Change The Class names

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

79527550

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

There is an error in the JSON. Lists must be enclosed in square brackets [].

Assuming the JSON is correct and you have a Map<...> object, are you sure you need or want to use MapStruct?

MapStruct is typically used for converting between DTO classes (often even identical ones).

Libraries that make HTTP calls and receive a JSON response can usually convert it automatically into a specific class.

If you have to handle the response manually, you can map it to a class without using a Map by leveraging a library like Jackson.

So, let me ask: what is your situation? What method are you using for the HTTP call? Are you the one converting the server response from JSON to Java classes? Are you required to use MapStruct due to some specific requirement?

Keep in mind that Jackson can convert from Map<...> to a specific class as well.

Reasons:
  • Blacklisted phrase (1): what is your
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Pumahawk

79527547

Date: 2025-03-22 13:55:23
Score: 1.5
Natty:
Report link

The only way I've found, so far, is to modify the css class requiredField by adding a style element in base.html immediately below the cdn link to Bootstrap, as in :

<style>
  .requiredField {
    font-weight:bold;
    text-decoration:underline;
  }
</style>

If anyone knows any better way I'd be grateul if they could shar their knowledge.

Reasons:
  • Blacklisted phrase (1): anyone knows
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Doug Conran

79527538

Date: 2025-03-22 13:48:21
Score: 5
Natty:
Report link

Is this form atually submitted anywhere? To add variable with key 'time-slot' to $_POST global array the form has to be sent in any way, maybe we are missing some informations about how it works?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is this for
  • Low reputation (1):
Posted by: nequ2k

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