79303684

Date: 2024-12-23 16:41:00
Score: 2.5
Natty:
Report link

I've just searched for the same DOTNET to use in powershell. If you value speed use this colormatrix DOTNET example to invert in a single step: https://www.codeguru.com/dotnet/inverting-image-colors-in-net/ It uses https://learn.microsoft.com/en-us/dotnet/api/system.drawing.imaging.imageattributes , https://learn.microsoft.com/en-us/dotnet/api/system.drawing.imaging.colormatrix and https://learn.microsoft.com/de-de/dotnet/api/system.drawing.graphicsunit . I just applied these methods in Powershell to speed up the inversion a lot instead of doing it pixel by pixel. It should speed up the C# variant too.

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

79303679

Date: 2024-12-23 16:38:59
Score: 1
Natty:
Report link

This is a kind of a fucked up gotcha. The TagHelper asp-for="Data.OutputText" does not in fact refer to the PageModel’s Data property, but to an entry in the its ModelState dictionary.

Since your output textarea doesn’t need to be part of the form in the first place, I would just skip the TagHelper business and write

<textarea id="outputText" class="form-control" rows="5" readonly>@Model.Data.OutputText</textarea>

Honestly I would prefer writing my own HTML in general, but that’s just me.

You could also do this if you really hate HTML:

@Html.TextArea(Model.Data.OutputText, Model.Data.OutputText, 5, 0, new { @class = "form-control", required = false, @readonly = true, id = "outputText" })
Reasons:
  • Blacklisted phrase (2): fuck
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: BenderBoy

79303668

Date: 2024-12-23 16:31:58
Score: 3
Natty:
Report link

for people who are here just to downgrade node v - checkout this. Easier.

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

79303664

Date: 2024-12-23 16:29:57
Score: 4.5
Natty: 4.5
Report link

did you eventually found a way? I'm in your identical situation

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Andrea Moriconi

79303655

Date: 2024-12-23 16:25:56
Score: 0.5
Natty:
Report link

With with 2nd gen functions:

import { onRequest } from "firebase-functions/v2/https";

export const httpApi = onRequest(
  {
    serviceAccount: "[email protected]",
  },
  async (req, res) => {
    ...
  },
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: vmakinen

79303653

Date: 2024-12-23 16:24:56
Score: 2.5
Natty:
Report link

Switch ContinueWith to ContinueWithOnMainThread

Where did you see to use ContinueWith? ContinueWithOnMainThread is now best practice and if any of the Firebase SDK for Unity documentation says to use the former, I would like to know so i can change it.

Reasons:
  • Blacklisted phrase (1.5): I would like to know
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Joe Spiro

79303642

Date: 2024-12-23 16:20:55
Score: 2
Natty:
Report link

Didn't find anything online, so decided to create it myself by manually copy pasting the color codes from IntelliJ into iTerm.

You can download the theme here: https://gist.github.com/zakyum/272326039932ab39b061bb6b89bc0c67

IntelliJ has way more color granularity, but the ANSI colors (the main part) should be identical.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): Did
  • Low reputation (0.5):
Posted by: 0xZ3RR0

79303636

Date: 2024-12-23 16:19:55
Score: 3.5
Natty:
Report link

This works Perfectly. I tweaked it so I can use REQUEST_URI:

substr($_SERVER['REQUEST_URI'], strrpos($_SERVER['REQUEST_URI'], '/') + 1);
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: darthvader666uk

79303619

Date: 2024-12-23 16:11:53
Score: 2
Natty:
Report link

I have resolved this by adding an inst_loc registry entry:

HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE.

How to create the entry in registry :

  1. Open registry
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE
  3. Create a new key with name Oracle (if it does not exist)
  4. Go to Oracle and then create a new String Value with name "inst_loc"
  5. For example : Give the value as "C:\Program Files (x86)\Oracle\Inventory"

Source: https://forums.oracle.com/ords/apexds/post/hkey-local-machine-software-oracle-does-not-contain-entry-f-8712

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

79303608

Date: 2024-12-23 16:07:52
Score: 1.5
Natty:
Report link

We opened an issue in the spring-framework project and it seems to be a problem with Jetty's HttpClient, who are currently working to fix the problem.

But a solution was proposed in that same thread that has worked for us in.

I hope it works for you.

Reasons:
  • Whitelisted phrase (-1): hope it works
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ramss Martnez Martnez Canocles

79303590

Date: 2024-12-23 15:58:50
Score: 3
Natty:
Report link

I just changed connection from home wifi to hotspot of my phone and brew immediately installed

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

79303589

Date: 2024-12-23 15:58:50
Score: 3.5
Natty:
Report link

You can try UniQueL library. It is allowing queries at XML, JSON, YAML or NEON files

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tomáš Lebeda

79303587

Date: 2024-12-23 15:57:50
Score: 1
Natty:
Report link

You're using Ubuntu to build a library for Alpine? Try using Alpine to build a library for Alpine. From your Ubuntu machine, you can create an Alpine container to build from using Docker, a VM, or LXC

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

79303586

Date: 2024-12-23 15:57:50
Score: 2
Natty:
Report link

I encountered the same issue and also found a solution. I know this is weird, but I discovered that it only happens with find.text or find.textContaining. You can wrap this expect in a try-catch block, and it works. The strange part is that the code inside the catch block is never triggered, but we still can't remove the try-catch, lol. enter image description here

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

79303563

Date: 2024-12-23 15:46:48
Score: 2.5
Natty:
Report link

I believe I have the same issue, and found the builtin plotting functionality of xarray helpful. This worked for me:

p = c.plot.pcolormesh(
    x='x',
    y='y',
    col='layer',
    col_wrap=6,
)

for ax in p.axes.flat:
    projectgebied.plot(ax=ax, facecolor='none', edgecolor='black')
Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Joris

79303553

Date: 2024-12-23 15:43:48
Score: 0.5
Natty:
Report link

I solved it with typing

php artisan route:clear
php artisan cache:clear

Thanks Gert B

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Dusan

79303547

Date: 2024-12-23 15:41:47
Score: 2
Natty:
Report link

I had similar problem, in my configuration I put 9001 as output, and the streams messed up,

I re-configured nginx following symfony's documentation for setup simple server and everything worked, and in docker as well I redirected 9000 port to 8000, and left 9001 only for php-fpm socket

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

79303544

Date: 2024-12-23 15:40:47
Score: 2.5
Natty:
Report link

It is very simple: Just type:

list = ['apple','banana','orange']

def count():

len(list)

a = count()

len(a)

b = count()

len(b)

etc..

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

79303530

Date: 2024-12-23 15:34:46
Score: 3
Natty:
Report link

emphasized text Your honor can you passed your the question about this Please I need to get I know about this session When starting I'm no experience online business

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Avelina L Pamplona

79303528

Date: 2024-12-23 15:33:45
Score: 1.5
Natty:
Report link

Changing

var descriptors = services.Where(d => d.ServiceType == typeof(DbContextOptions<APIContext>)).ToList();

To

var descriptors = services.Where(d => d.ServiceType == typeof(IDbContextOptionsConfiguration<APIContext>)).ToList();

Did the trick. I don't know if it's the best solution, but it works.

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

79303527

Date: 2024-12-23 15:32:45
Score: 2.5
Natty:
Report link

In my case this error occurred because I didn't realize that I had an instance of my site running... Shutting down my site and reinstalling fixed the issue.

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

79303524

Date: 2024-12-23 15:31:45
Score: 1
Natty:
Report link

try this !

'Accept': 'application/json'

add to your headers

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 王晨博

79303520

Date: 2024-12-23 15:30:45
Score: 0.5
Natty:
Report link

For Java Spark, a solution along the lines of JavaAPISuite.mapPartitions():

rdd.mapPartitions(itr -> Collections.singletonList(Iterators.size(itr)).iterator()).collect().toString());

Just to see:

rddSliced.foreachPartition(itr -> System.out.println(Iterators.size(itr)));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Aloke

79303511

Date: 2024-12-23 15:26:44
Score: 2.5
Natty:
Report link

It is annoying and illogical! Why can't I see the whole file name? You can file a bug report with Samsung or whomever but they'll probably ignore you. Besides...that does not take care of the problem right now.

Sometimes it feels like these companies actively hate us.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Dr. Scott Giles

79303507

Date: 2024-12-23 15:25:43
Score: 5
Natty:
Report link

Fixed it, it was because I was missing an A record in my dns setting that should point to the ip address, which I managed to retain from the static web app.

It had nothing to do with the app rather dns misconfiguration.

If you are facing similar issue contact the dns provider, they may walk through to resolve the issue.

Thanks all

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Me too answer (2.5): facing similar issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mahbub Rahman

79303496

Date: 2024-12-23 15:22:42
Score: 1.5
Natty:
Report link

This is for windows users . Firstly make sure MINGW compiler is installed and the paths are added in environment variables.If that all are fine. Secondly, Open Vs code , Imagine I have a opened folder named projects , inside that I have a subfolder named C++ , inside that a file named let it be aiera.cpp .

so to run my file, I would open terminal then change directories ie , : c/users/Projects/C++

g++ aiera.cpp -o aiera

./aiera.exe

ie, g++ filename.cpp -o filename

./filename.exe

Terminal

This is the code I wanna run.

Files

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mehfila A Parkkulthil

79303490

Date: 2024-12-23 15:18:41
Score: 1.5
Natty:
Report link

expo gave me this warning message; ✔ Incremented versionCode from 7 to 8. android.versionCode field in app config is ignored when version source is set to remote, but this value will still be in the manifest available via expo-constants. It's recommended to remove this value from app config.

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

79303479

Date: 2024-12-23 15:14:40
Score: 2.5
Natty:
Report link

Was running into that issue myself, so I just used version 10.1.34 as it doesn't contain any critical vulnerabilities (for now - 23/11/24)

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

79303465

Date: 2024-12-23 15:10:39
Score: 4.5
Natty: 6
Report link

"Key"?\s*:?\s*"(\w+)" works for me thanks @Dmitri T.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Dmitri
  • Single line (0.5):
  • Low reputation (1):
Posted by: Micheal

79303462

Date: 2024-12-23 15:09:38
Score: 1.5
Natty:
Report link
  1. Check Attributes of the Directory

To view the attributes of the /usr/sbin directory, use the following command:

lsattr /usr | grep sbin

  1. Understand the Attributes

s---ia-----I--e------- /usr/sbin

i (immutable): Prevents any changes, including file creation, modification, or deletion within the directory.

a (append-only): Allows only append operations; no overwriting or deletion is permitted.

These attributes are why you cannot create files under /usr/sbin.

  1. clear the attribute

To remove the restrictive attributes from /usr/sbin, run the following commands:

chattr -i /usr/sbin

chattr -a /usr/sbin

  1. Verify the Changes

Re-check the attributes to ensure they have been cleared:

lsattr /usr | grep sbin

After clearing the attributes, you should be able to create files in /usr/sbin.

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

79303446

Date: 2024-12-23 15:06:37
Score: 11
Natty: 7
Report link

I am in a similar situation atm... Were you able to figure out a way?

Reasons:
  • RegEx Blacklisted phrase (3): Were you able to figure out
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Venkat Karthik Veerapareddy

79303433

Date: 2024-12-23 15:00:35
Score: 3.5
Natty:
Report link

Please make sure your sha keys are correctly configured in google cloud console. Refer these urls below.

firebase-statuscode-developer-error

google-signin/issues/1192

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

79303427

Date: 2024-12-23 14:56:34
Score: 0.5
Natty:
Report link

Here is some example code i drafted which has the behavior you want. I also recommend using JS events, like .addEventListener() or use mouse attributes like onclick, onmouseover, etc.

const inputField = document.getElementById('inputField');
const dropdownMenu = document.getElementById('dropdownMenu');


inputField.addEventListener('focus', () => {
    dropdownMenu.classList.add('active');
});

// hide the dropdown when clicking outside for better user experience :D
document.addEventListener('click', (event) => {
    if (!inputField.contains(event.target) && !dropdownMenu.contains(event.target)) {
        dropdownMenu.classList.remove('active');
    }
});
/* reset and styling for the .form-group */
.form-group {
    position: relative;
    display: block;
}

/* styling for the input field */
.input-field {
    width: 100%; /* makes the input take the full width of its container */
    padding: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

/* styles for the dropdown menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%; /* matches the width of the input field */
    background-color: white;
    border: 1px solid #ccc;
    display: none;
    z-index: 1000;
}

.dropdown ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.dropdown li {
    padding: 8px;
    cursor: pointer;
}

/* and a dropdown to show it works */
.dropdown.active {
    display: block;
}
<div class="form-group">
    <input type="text" id="inputField" class="input-field" placeholder="Enter input" />
    <div class="dropdown" id="dropdownMenu">
        <ul>
            <li>Option 1 :: Change me</li>
            <li>Option 2 :: Change me</li>
            <li>Option 3 :: Change me</li>
            <li>Stackoverflow :D</li>
        </ul>
    </div>
</div>

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sev6n

79303423

Date: 2024-12-23 14:56:34
Score: 1
Natty:
Report link

In my case I was trying to run a test using php unit and when typing:

class <classname> extends TestCase

it was importing TestCase class automatically as "Tests\TestCase".

Changing it to :

use PHPUnit\Framework\TestCase;

solved it for me.

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

79303416

Date: 2024-12-23 14:54:33
Score: 3
Natty:
Report link

"hmmm testing makes everything easier"

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

79303414

Date: 2024-12-23 14:53:33
Score: 2.5
Natty:
Report link

Creating one of the two index I wrote aboive and one new index with str_id and both date_id and date_id + interval solved the issue, the DBMS understood what I wanted to do and actually started using the new indexes.

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

79303411

Date: 2024-12-23 14:52:33
Score: 3
Natty:
Report link

I am also having this problem, it seems prisma service has been injected in some service and not in others, making reading from other services works but not all

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

79303407

Date: 2024-12-23 14:51:33
Score: 2.5
Natty:
Report link

You can split by the backslash

"sss\bbb".split("")

Then use the first element of the array ("sss").

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

79303405

Date: 2024-12-23 14:50:32
Score: 1.5
Natty:
Report link

I also replaced "large" with 100 in the only large I had in my .src in a HomeScreen all "large" can be found by: grep -rni ./src -e "large"

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

79303394

Date: 2024-12-23 14:44:30
Score: 2
Natty:
Report link

With a little more information, we can narrow down what's going on here. Are you able to share the contents of your package.json dependencies?

useId was released in React 18, I wonder if you are using an earlier version of React that @mui is trying to use, but the React version does not match.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @mui
  • Low reputation (0.5):
Posted by: Max Eisenhardt

79303387

Date: 2024-12-23 14:39:29
Score: 2
Natty:
Report link

The URL for the Frensprotocol Oracle (i.e., https://www.frensprotocol.com/) provided in the accepted answer no longer seems to work.

As of now, the recommended way to access any API within smart contracts using Chainlink is through Chainlink Functions.

Feel free to comment if you (or any reader) encounter any difficulties leveraging Chainlink Functions to call an API.

Reasons:
  • Blacklisted phrase (1): to comment
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: SYED ASAD KAZMI

79303382

Date: 2024-12-23 14:37:29
Score: 3
Natty:
Report link

The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.

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

79303379

Date: 2024-12-23 14:36:28
Score: 6.5 🚩
Natty:
Report link

Your commands did not work on both Cloudshell and EC2 Linux. Here are outputs

#Cloudshell

[cloudshell-user@ip-10-130-70-166 ~]$ aws rds describe-db-cluster-snapshots --query "DBClusterSnapshots[?SnapshotCreateTime<='$(date -v -30d '+%Y-%m-%d')'].[DBClusterSnapshotIdentifier, DBClusterIdentifier, SnapshotCreateTime, Status, Engine]"

date: invalid option -- 'v'

Try 'date --help' for more information.

[]

[cloudshell-user@ip-10-130-70-166 ~]$ aws rds describe-db-cluster-snapshots --query "DBClusterSnapshots[?SnapshotCreateTime<='$(date -30d '+%Y-%m-%d')'].[DBClusterSnapshotIdentifier, DBClusterIdentifier, SnapshotCreateTime, Status, Engine]"

date: invalid option -- '3'

Try 'date --help' for more information.

#EC2 Linux

[ec2-user@ip-172-31-26-154 ~]$ aws rds describe-db-cluster-snapshots --query "DBClusterSnapshots[?SnapshotCreateTime<='$(date -v -30d '+%Y-%m-%d')'].[DBClusterSnapshotIdentifier, DBClusterIdentifier, SnapshotCreateTime, Status, Engine]"

date: invalid option -- 'v'

Try 'date --help' for more information.

[]

[ec2-user@ip-172-31-26-154 ~]$ aws rds describe-db-cluster-snapshots --query "DBClusterSnapshots[?SnapshotCreateTime<='$(date -30d '+%Y-%m-%d')'].[DBClusterSnapshotIdentifier, DBClusterIdentifier, SnapshotCreateTime, Status, Engine]"

date: invalid option -- '3'

Try 'date --help' for more information.

[]

It does not like -v option. Is there any other option I should try?

Thanks much

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): Is there any
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: user28861672

79303369

Date: 2024-12-23 14:30:26
Score: 1.5
Natty:
Report link

using terra package

#Load all files

library(terra)

netfiles <- list.files('envdata', pattern = '.nc$', full.names = TRUE)
    
envdata <- rast(netfiles)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anthony Basooma

79303364

Date: 2024-12-23 14:28:26
Score: 1.5
Natty:
Report link

You can use "omit_unused_structs" not to have duplicate model definitions. Reference

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: frkn

79303362

Date: 2024-12-23 14:27:26
Score: 1
Natty:
Report link

I don't think there is any public API to get this data. Options you could use are:

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

79303360

Date: 2024-12-23 14:26:25
Score: 1
Natty:
Report link
SELECT name
FROM actor
    JOIN casting ON actor.id = actorid
    JOIN movie ON movieid=movie.id
WHERE actor.name != "Art Garfunkel"
    AND movieid IN(SELECT movieid 
FROM casting
    JOIN actor ON (actor.id=actorid)
    WHERE name = "Art Garfunkel")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Terry McKinney

79303342

Date: 2024-12-23 14:19:23
Score: 4
Natty:
Report link

I am talking about this problem.That's why I asked if division can be used to detect multiplication overflow,then why subtraction can't be used to detect additional overflow.Now I know why subtraction can't be used. enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shiva kumar das

79303329

Date: 2024-12-23 14:13:22
Score: 1
Natty:
Report link

For the current moment only one solution available:

...
OpenApiRouter::new()
    .routes(routes!(get_1))
    .routes(routes!(get_2))
    .routes(routes!(get_3))
...

The main thing: axum's route created specifically for unique methods (only one post and get may be specified per route). So, enjoy the solution! =)

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

79303325

Date: 2024-12-23 14:12:20
Score: 7 🚩
Natty: 4
Report link

Did you ever find a solution? I am getting the same when using a VPS from a provider, but when I test on my home lab, all is working.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever find a solution
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Werner Barnard

79303323

Date: 2024-12-23 14:11:20
Score: 1
Natty:
Report link

Not a solution to the above question but if you want to access the information about the last query that was executed then you can do this:

SELECT execution_time
FROM SYS_QUERY_HISTORY
WHERE query_id = pg_last_query_id();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Visrut

79303314

Date: 2024-12-23 14:08:19
Score: 1
Natty:
Report link

I was having the same issue as you But I was on Windows Docker Desktop. Basically, network_mode: host Never works on Windows. Yes, there is a slight improvement on it:

https://docs.docker.com/engine/network/drivers/host/#docker-desktop

Thought not fully working right.

So decided to run it natively on Windows instead.

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

79303313

Date: 2024-12-23 14:08:19
Score: 0.5
Natty:
Report link

Neither option is recommended. You generally don't want turn large areas of content into a live region. It is somewhat hard to give a good answer without seeing the project, but one solution might be to have a heading at the beginning of each step, add tabindex="-1" to the heading, and programmatically place focus on the heading when the new step appears. No aria-live required.

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

79303310

Date: 2024-12-23 14:07:19
Score: 2
Natty:
Report link

It looks like you're trying to match the user input with one of the titles, but the issue might be in how you're handling the matching logic If you're dealing with matching profiles or types based on user input, it reminds me of a tool like Sajoki, which uses AI for personality profiling and soft skills assessment. If you're interested in more advanced ways to match people or gather insights about user preferences, it could be something worth looking into.

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

79303307

Date: 2024-12-23 14:05:18
Score: 1
Natty:
Report link

You need to create a VNode and render it inside the cell component after the cell has been rendered. I used a column formatter with the following code:

formatter: (cell, _, onRender) => {
    onRender(() => {
        render(createVNode(MyComponent, props), cell.getElement());
    });
    return "";
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniel Jdamirov

79303298

Date: 2024-12-23 14:02:18
Score: 1
Natty:
Report link

Add the trusted Ondřej PHP PPA repository to manage multiple PHP versions and receive the latest updates seamlessly. Use the following command:

sudo LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php

This is compatible with Ubuntu 18.x to 24.x, ensuring access to the latest PHP features and security updates.

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

79303291

Date: 2024-12-23 14:00:17
Score: 2.5
Natty:
Report link

Since nobody joined the conversation and thus there are no objections I think it's ok to say that in secured web apps a criteria of an HTTP request having "sec-fetch-dest" header set to "empty" may be reliably used to distinguish REST requests from other browser generated HTTP requests

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

79303288

Date: 2024-12-23 13:59:17
Score: 3.5
Natty:
Report link

Also wanted change Option Api on Composition Api.

https://www.jetbrains.com/help/webstorm/settings-file-and-code-templates.html Here is more correct link.

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

79303282

Date: 2024-12-23 13:57:17
Score: 3.5
Natty:
Report link

I found the cause of this problem, it was just My Tracker SDK, i removed library and my project start working

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

79303281

Date: 2024-12-23 13:56:16
Score: 0.5
Natty:
Report link

As stated in the comments by Progman. The WithBestIndent() method does not change the current settings object.

Here the adjusted code that gives the desired result:

string yaml;
 using (var writer = new StringWriter())
 {
     var _settings = new EmitterSettings();
     Console.WriteLine(_settings.BestIndent);
     _settings = _settings.WithBestIndent(4);
     var _emitter = new Emitter(writer, _settings);
     yamlSerializer.Serialize(_emitter, dictionary);
     yaml = writer.ToString();
 }

 Console.WriteLine(yaml);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Thierry

79303277

Date: 2024-12-23 13:54:16
Score: 0.5
Natty:
Report link

If you don't want to use HashRouter AND (importantly) you don't have dynamic routes (e.g. example.com/user/{userId}) then you can manually add a copy of index.html for each route route.

For example, if you have /pricing and /login routes, you can make a copies of index.html, one named pricing.html and the other named login.html. The browser should look for the correct file when going to /pricing etc.

You can still use dynamic routing, but you have to use query params like youtube e.g. youtube.com/?v=VIDEO_ID

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jamesjansson

79303263

Date: 2024-12-23 13:47:13
Score: 11 🚩
Natty: 6.5
Report link

Did you find a solution? I have the same problem.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (1):
Posted by: ennnane

79303251

Date: 2024-12-23 13:44:12
Score: 3.5
Natty:
Report link

could you please paste the whole code

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Prolific teddy

79303245

Date: 2024-12-23 13:41:11
Score: 2.5
Natty:
Report link

Answer added in the first post. Basically it was loading a different ConversionService instance and this is by design. Wrote a workaround, the proper "elegant" solution would be to write a custom row mapper.

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

79303244

Date: 2024-12-23 13:40:11
Score: 3.5
Natty:
Report link

Total Price: {{totalPrice|number:'1.2-2' |currency:'INR'}}

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sarath Kumar pgm

79303243

Date: 2024-12-23 13:40:11
Score: 1
Natty:
Report link

Try to use

DispatcherTimer { Interval = TimeSpan.FromMilliseconds(0.01) }

may be suitable. Make a double break based on the number of intervals. You can also link to the system time and set the necessary entry points for your pulse. There are many options.

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

79303241

Date: 2024-12-23 13:39:11
Score: 3.5
Natty:
Report link

Total Price: {{totalPrice|number:'1.3-3' |currency:'INR'}}

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sarath Kumar pgm

79303240

Date: 2024-12-23 13:39:11
Score: 1
Natty:
Report link

ideally a silent enabling process.

As many other permissions they must be requested on demand and approved by user each time you need them. This is security related policy. If it was not like this you can spy on user and violate user`s privacy. This is not allowed.

On trusted https domains (like from Google) user can allow usage of some devices automatically after first request and allow their usage each time code request them. But still in this case it will not be silently. Browser will indicate in address bar that code uses camera/microphone etc and user will know this.

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

79303237

Date: 2024-12-23 13:38:09
Score: 10.5 🚩
Natty:
Report link

We are facing the same issue, would appreciate if someone could help with the situation.

Reasons:
  • Blacklisted phrase (1.5): would appreciate
  • RegEx Blacklisted phrase (3): someone could help
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gunaseelan Manoharan

79303235

Date: 2024-12-23 13:37:08
Score: 1
Natty:
Report link

just use [href] attribute. if it's internal (for example) it will be localhost:1111/(any custom route)/internalLink. if it's external it will not be localhost:1111/external. instead it's externalLink.

<a
[href]="!component?.external ? '../(cutom_route)'+ internalLink : externalLink "
>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: parsalemi

79303223

Date: 2024-12-23 13:32:07
Score: 6.5 🚩
Natty: 6.5
Report link

is this working for anyone yet ??

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

79303221

Date: 2024-12-23 13:30:06
Score: 2
Natty:
Report link

you need to loging using huggingface acces token , befor getting to access of gated model, for get , if you have not any acces token, you can create from Access token section.

from huggingface_hub import login

login(token = "hugging_face_access_token")

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

79303219

Date: 2024-12-23 13:30:06
Score: 4
Natty:
Report link

I was facing same issue. What I did to solve it is, made @Id field part of children whenever it was part of @MappedSuperClass.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @MappedSuperClass
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bhagyesh Purandare

79303216

Date: 2024-12-23 13:29:04
Score: 8 🚩
Natty: 4.5
Report link

has this been resolve? im having the same issue.

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Carlos Meireles

79303212

Date: 2024-12-23 13:29:04
Score: 4
Natty:
Report link

check this package https://www.npmjs.com/package/nextjs-toploader , its simple to use and customize

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

79303211

Date: 2024-12-23 13:29:04
Score: 3
Natty:
Report link

Seems like issue persists because of your connectionString, it should be like.

string connectionString = "Server=localhost;Database=your_database;User=your_username;Password=your_password;SslMode=none;"

Note:- if still facing the same error make sure you have installed MySql.Data package, if already installed than update it to latest as per the release with your dotnet core version.

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same error
  • Low reputation (1):
Posted by: Bhavesh Jha

79303209

Date: 2024-12-23 13:27:02
Score: 4.5
Natty:
Report link

I create a new column by using the function: =DATEVALUE() and that's all.

https://www.excelfunctions.eu/DATEVALUE

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Stefano Pasquale

79303208

Date: 2024-12-23 13:27:02
Score: 1.5
Natty:
Report link

As previously answered here: Console.Clear(); doesn't clean up the whole console

Console.Clear();

Console.WriteLine("\x1b[3J");

This sequence removes the whole content of the console. (But it only works reliable if the clear command is called first)

As described here: https://learn.microsoft.com/en-us/windows/console/clearing-the-screen

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

79303205

Date: 2024-12-23 13:26:02
Score: 2
Natty:
Report link
  1. Download .pbix file from PowerBI Service and open the report

  2. Right click on the Query > Edit query

enter image description here

  1. Your Query will be listed in the marked region of the following picture. You can remove #(lf) s and directly use - modify the query in SQL Server Management Studio.

enter image description here

4.) Right Click on the Applied Steps - Source. Then select Edit Settings. enter image description here

5.) Your original SQL Query will be displayed in the SQL Statement region.

enter image description here

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

79303203

Date: 2024-12-23 13:25:01
Score: 1.5
Natty:
Report link

A product that my apply to this problem is Odilon Object Storage (https://odilon.io). It is a secure and redundant open source object storage (encryption, RAID/erasure codes, version control). We used minio in the past but they silenty changed the license and it is no longer free for most purposes.

Disclaimer. I am one of the developers of Odilon Object Storage.

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

79303200

Date: 2024-12-23 13:22:00
Score: 6 🚩
Natty: 5.5
Report link

Actually this is doable, I explain it on Youtube video - https://www.youtube.com/watch?v=7eXX4-G3sqU

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mateusz Nowak

79303198

Date: 2024-12-23 13:21:59
Score: 3
Natty:
Report link

when gcc compile this code, name is a value point to the array,that's fine.but if you just use age ,it is replaced by the actual value of age,not the address,so you need get age's address.use &age is fine.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when
  • Low reputation (1):
Posted by: yc z

79303191

Date: 2024-12-23 13:19:59
Score: 2.5
Natty:
Report link

See also the xref macro

link: macro does not work for internal cross-references in a PDF

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Thierry Dalon

79303185

Date: 2024-12-23 13:18:59
Score: 1.5
Natty:
Report link

The variable name represents its value, and you need '&' to explicitly get its address. In the other hand the name of the array already acts as a pointer to the first element of the array, like the name alone represents the memory address where the first element name[0] is stored.
So the '&' operator is needed for the int variable to get its address.

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

79303165

Date: 2024-12-23 13:08:56
Score: 4.5
Natty: 5
Report link

Yes,it works. Thanks dear friend

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

79303161

Date: 2024-12-23 13:07:55
Score: 3
Natty:
Report link

Go to settings, search for "editor.selection" in the search bar and uncheck the "Editor: Selection Highlight" feature

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

79303157

Date: 2024-12-23 13:04:55
Score: 3.5
Natty:
Report link

My solution was removing %%time for the cell

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

79303150

Date: 2024-12-23 13:00:54
Score: 2.5
Natty:
Report link

We are working on a similar solution using React Native. Our goal is to connect to a BLE device, retrieve data, and integrate it into our app.

We have tried the solution mentioned in this answer and successfully identified the serviceUUID and characteristicUUID that are notifiable. However, we are not receiving any data from the notifiable characteristic.

Here’s what we’ve already checked:

Permissions: Ensured all necessary permissions (location, Bluetooth) are granted. Notification Enabled: Verified that notifications are enabled for the characteristic using isNotifiable. Device Behavior: Used apps like nRF Connect to confirm that the device is sending data when notifications are enabled. Subscription: Subscribed to the characteristic's notifications in the app using the correct UUIDs. Despite these efforts, no data is being received.

Has anyone faced a similar issue and found a solution? Any insights or guidance would be greatly appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Rajashekar Interakt

79303123

Date: 2024-12-23 12:48:50
Score: 4
Natty:
Report link

Sounds like you're facing a couple of challenges with passing such a long token via the URL. Have you considered using a secure authentication flow like OAuth with authorization codes? It would avoid passing sensitive information in the URL altogether, and you could leverage something like a token exchange mechanism. Also, have you looked into whether your server can handle larger payloads in POST requests, which could help you pass the token securely in the request body instead?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Razz

79303121

Date: 2024-12-23 12:48:50
Score: 1
Natty:
Report link

you can see Primeng colorpicker panel cut off

in short, just add to p-colorPicker the property appendTo="body"

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

79303114

Date: 2024-12-23 12:45:50
Score: 3.5
Natty:
Report link

I think that of you set timeToLive to a small value created will be equal to expire and the expires info is not added

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

79303111

Date: 2024-12-23 12:45:50
Score: 1
Natty:
Report link

To avoid this behaviour (just like you said data lineage works at partiton level) you can use checkpointing or persist to disk (MEMORY_AND_DISK).

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

79303105

Date: 2024-12-23 12:42:48
Score: 8 🚩
Natty: 4
Report link

were you able to resolve that problem? I have exactly the same with TotalCalories aggregated. Other figures like steps, kilometers are given correctly.

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve that problem?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mails Mails

79303104

Date: 2024-12-23 12:42:48
Score: 1
Natty:
Report link

I managed to solve the issue. The problem was due to hiding the overlay container:

styles.scss

.cdk-overlay-container {
    display: none !important;
}

After removing that, the options were displayed.

I added the display: none in the first place because the overlay containers used to be positioned wrongly before adding the paginator, but this solved the position issue:

styles.scss

@use '@angular/material' as mat;
@include mat.core();
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: AAA KLN

79303103

Date: 2024-12-23 12:42:48
Score: 1.5
Natty:
Report link

Detect Multiple Different Drop-Drown and Sum Them together in a cell

you may use the Join function instead of Sumifs. JOIN combines text from multiple cells into a single string, while SUMIFS adds up cells based on multiple criteria:

Formula used:

=JOIN( " " , C2:D2)

Expected result

Sample Sheet

Reference

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

79303101

Date: 2024-12-23 12:41:47
Score: 3
Natty:
Report link

In version 6.3 according to Release Notes the luxon.js is required to manipulate dates and times instead of moment.js

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

79303075

Date: 2024-12-23 12:33:45
Score: 2
Natty:
Report link

As stated here, you might be facing the same issue

The error you encountered during the initialization of App Engine could be due to a region mismatch between your Firestore database and the region specified when creating the App Engine instance.

If you already have a Firestore database deployed in region region-a Then the app engine in the same project must be deployed in the same region region-a.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • High reputation (-1):
Posted by: Sathi Aiswarya

79303073

Date: 2024-12-23 12:32:45
Score: 1
Natty:
Report link

no you should not use an empty array as a dependency but you can include the socket so that the useEffect runs only when something happens on the socket.Thatshow I did mine and it worked very well.

useEffect(()=>{

},[socket])

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

79303072

Date: 2024-12-23 12:32:45
Score: 0.5
Natty:
Report link

I've tried almost everything and the simplest solution is to implement two listeners:

This is what I just pushed for the LOEclipse plugin.

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: psilocybe

79303071

Date: 2024-12-23 12:32:45
Score: 1.5
Natty:
Report link

I need to add generateStaticParams function for locales:

export function generateStaticParams() {
  return routing.locales.map((locale) => ({ locale }));
}

export default async function LocaleLayout({ children, params }) {
...
}

now all my component inside [locale] path are SSG (prerendered as static HTML) which have the same result as static, if i'm not wrong, extremely fast and effective for SEO

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Morgana Freeman