79664611

Date: 2025-06-13 09:09:41
Score: 4
Natty:
Report link

Did you check Configuration Manager?

You said you have same build of VS and the codes are all the same. But if your platform settings are not same, VS would link different references and could result in your issue.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: WangDaChui

79664604

Date: 2025-06-13 09:05:39
Score: 1
Natty:
Report link

You have to add the mocking like this

// imports...

jest.mock('next/headers', () => ({
  cookies: jest.fn(() => ({
    get: jest.fn(() => ({ value: 'mocked-theme' })),
    set: jest.fn(),
  })),
}));

describe('My component', () => {
    // your Unit tests...
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: José Rafael Moro Galindo

79664592

Date: 2025-06-13 08:57:37
Score: 1
Natty:
Report link

My Apple Developer Program had expired

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

79664587

Date: 2025-06-13 08:55:36
Score: 2
Natty:
Report link

The solution was to just not call beforeAll during setupAfterEnv , and instead do the check as part of the actual tests. The OS dialogs are a bit unreliable in the Azure DevOPs pipeline macOS environment, though.

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

79664584

Date: 2025-06-13 08:53:36
Score: 1.5
Natty:
Report link

Maybe you can refer to the new features of PyTorch, torch.package

https://docs.pytorch.org/docs/stable/package.html

import torch.package

# save
model = YourModel()
pkg = torch.package.PackageExporter("model_package.pt")
pkg.save_pickle("model", "model.pkl", model)

import torch.package
import sys
import importlib.util

# load
imp = torch.package.PackageImporter("model_package.pt")
model = imp.load_pickle("model", "model.pkl")
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CNLiu

79664581

Date: 2025-06-13 08:51:35
Score: 3
Natty:
Report link

Initially, while writing this, I didn't know what was going on. I was sure I was not modyfing the same lock in parallel, so it made no sense to me that error was concurrent modification, and I wanted to ask for help. I accidentally found out that there was another lock that was suposed to be issued with a grant at the same time, so i tried to reproduce this issue.

So conclusion is, you can't create multiple grants at the same time, even if deifferent resources are involved, I guess what was common is owner id.

Queston for tapkey team, is there any particular reason for this limitation? I wasn't able to find anything in the docs, and it caused real problems in my production environemnt.

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Uros Ceranic

79664573

Date: 2025-06-13 08:45:34
Score: 2.5
Natty:
Report link

I read it is a old thread, but I experience the same problem:

In my web root, I created 3 folders:

main.css contains:

@font-face {
    font-family: "Recoleta-SemiBold";
    src: url('/fonts/Recoleta-SemiBold.woff') format('woff'),
    url('/fonts/Recoleta-SemiBold.eot?#iefix') format('embedded-opentype'),
    url('/fonts/Recoleta-SemiBold.ttf') format('truetype');
    font-weight: 600; /* 500 for medium, 600 for semi-bold */
    font-style: normal;
    font-display: swap;
}
.header .title {
    font-family: "Recoleta-SemiBold", "Georgia", serif;
    font-size: 40px;
    font-weight: normal;
    margin: 0px;
    padding-left: 10px;
    color:#3f0ec6;
}

index.html contains:
In the <head>:
    <base href = "https://www.yoga-kids.net/">
In the <body>:
    <header>
        <div class = "header">
            <div class = "title">Livre de yoga</div>
        </div> <!-- end header -->
    </header>


The font is not shown when I open the index.html file (located in "livres" directory).
However, if I place the index.html file in the web root folder, the font is shown!!!

Same behavior on my local and on the server...

Any idea?
Thank you. 
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Any idea?
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: ChrisL

79664566

Date: 2025-06-13 08:41:33
Score: 1.5
Natty:
Report link

You can also use an online tool like

Evernox

It has tools to directly generate code in multiple languages from your database.

It's really easy

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

79664547

Date: 2025-06-13 08:24:29
Score: 3
Natty:
Report link

I've worked with the gemma model and its quantization in the past, as per my investigation/ experimentation regarding this error, the following is my observation/suggestion:

Probably, the following could be some of the causes for this error:

  1. Memory Need:

    a) The overhead from CUDA, NCCL, PyTorch, and TGI runtime, plus model sharding inefficiencies, would have caused out-of-memory errors.

  2. Multi-GPU Sharding:

    a) Proper multi-GPU distributed setup requires NCCL to work flawlessly and enough memory on each GPU to hold its shard plus overhead.

  3. NCCL Errors in Docker on Windows/WSL2:

    a) NCCL out-of-memory error can arise from driver or environment mismatches, more specifically in Windows Server with WSL2 backend.

    b) We must check the compatibility of NCCL and CUDA versions. Ensure that Docker is configured correctly to expose the GPUs and shared memory.

My Suggestions or possible solutions you can try:

  1. Test on a Single GPU First:

    a) Try to load the model on a single GPU to confirm whether the model loads correctly without sharding. This will help to understand whether the issue is with model files or sharding.

    b) If this works fine, then proceed to the other points below.

  2. Increase Docker Shared Memory:

    a) Allocate more shared memory, for example:  Add `--shm-size=2g`or higher to the “docker run” command.  (    docker run --gpus all --shm-size=2g)

  3. Please do not set `CUDA_VISIBLE_DEVICES` Explicitly in Docker:

    a) When you set  <CUDA_VISIBLE_DEVICES> inside the container, it can sometimes interfere with NCCL's device discovery and cause errors.

  4. Verify NCCL Debug Logs:

    a) Please run the container with `NCCL_DEBUG=INFO` environment variable to get detailed NCCL logs and identify the exact failure point.

Please let me know if this approach works for you.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: dev ai

79664545

Date: 2025-06-13 08:23:28
Score: 3.5
Natty:
Report link

In my keycloak instance the problem was that "Add to userinfo" was not selected in client scope "client roles". Ticking this checkbox solved the issue for me.

enter image description here

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

79664540

Date: 2025-06-13 08:22:28
Score: 1.5
Natty:
Report link

A somewhat late answer, in addition to @Ruikai Feng's answer, if your UI (Swagger, Scalar, or other) doesn't display the correct Content-Type, you can specify it like this in your controller at your endpoint:

[Consumes("multipart/form-data")]  // 👈 Add it like this
[HttpPost("register"), DisableRequestSizeLimit]
public IActionResult RegisterUser([FromForm] RegisterModel registermodel)
{
    return StatusCode(200);
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Ruikai
  • Low reputation (1):
Posted by: Benito

79664539

Date: 2025-06-13 08:21:27
Score: 2
Natty:
Report link

Stable diffusion is nearly impossible to train if you only have 5 images. Also, the features of your images are not obvious enough, so neither GAN nor stable diffusion can generate images you want. My suggestion is to enhance your data, get more and make them more clear. You can try to generate data by using CLIP-guided style GAN.

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

79664535

Date: 2025-06-13 08:17:26
Score: 2.5
Natty:
Report link

Just a guess: Maybe there is no data in your tblHistoricRFID ("r") that corresponds to your tblHistoricPallets ("h")? It's hard to tell since you're not selecting any of the "r" data, but all "p" (tblPalletTypes) data in your screenshot is null which would be the case if there is no corresponding data in "r" for "p" to join on.

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

79664534

Date: 2025-06-13 08:16:26
Score: 3
Natty:
Report link

The error seemed to be related to the URL's after all. Now Cypress correctly detects both requests. They were copy pasted to the tests, but after copypasting them from the network tab in Chrome devTools, it started working!

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

79664531

Date: 2025-06-13 08:15:25
Score: 1.5
Natty:
Report link

use Security Mode = None is not a correct parameter, use allowedSecurityPolicies instead.

from("milo-client:opc.tcp://LeeviDing:53530/OPCUA/SimulationServer?" +
                "node=RAW(ns=3;i=1011)" +
                "&allowedSecurityPolicies=None")
                .log("Received OPC UA data: ${body}");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: leeviding1994

79664529

Date: 2025-06-13 08:11:24
Score: 3
Natty:
Report link

Could you modify the code to call FlaskUI like this?

def run_flask():
    app.run(port=60066)

FlaskUI(
    app=app,
    server=run_flask,
    width=1100,
    height=680
).run()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Rackymuthu

79664526

Date: 2025-06-13 08:09:24
Score: 0.5
Natty:
Report link
  1. Angular redirects all routes to app-routing (older version. Newer standalone version has another way to define routes). To access the backend, and especially if you're using the same URL, you need to proxy it to the backend. By default, QuickApp only proxy the common /api (and some others like /swagger and /connect for authentication, etc. But if you add to Program.cs app.MapHub<MyHub>('/hub'), that's not going to be redirected to the backend. To redirect, you need to make change to proxy.conf.js. See below:
const { env } = require('process');

const target = env.ASPNETCORE_HTTPS_PORT ? `https://localhost:${env.ASPNETCORE_HTTPS_PORT}` :
  env.ASPNETCORE_URLS ? env.ASPNETCORE_URLS.split(';')[0] : 'https://localhost:7085';

const PROXY_CONFIG = [
  {
    context: [
      "/api",
      "/swagger",
      "/connect",
      "/oauth",
      "/.well-known"
    ],
    target,
    secure: false
  }, 
  {  // ADD THIS
    context: ["/hub"],
    target,
    secure: false,
    ws: true,  // Because SignalR uses WebSocket NOT HTTPS, you need to specify this. 
    changeOrigin: true,  // To match your 'target', one assumes... That's what AI told me. 
    logLevel: "debug"  // If you need debugging. 
  }
]

module.exports = PROXY_CONFIG;

That'll solve the 400 issue not found.

But after that, why do one get 405 Method Not Found? At first, one thought it is really the need for POST, but however one tried, one couldn't get it to work. In the end, one realized that in one's use-signalr.service.ts where one call the SignalR, before, one changes what it calls. Before one knows about changing proxy, to make it run, one changes the url from /hub to /api/hub so it'll pass through; and that's the problem. Changing it back solve the problem. Though, one didn't dig deeper into researching whether it's because

And it not only magically solve the problem, but it also solve the ALLOW GET, HEAD issue. Even when it don't allow POST, when one set skipNegotiation: true instead of false in the frontend, it worked like a charm! One'll let you investigate on the 'why' if you'd like to know. One'll stay with the 'how' here.

Reasons:
  • Blacklisted phrase (1): worked like a charm
  • Whitelisted phrase (-1): it worked
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Wabinab

79664522

Date: 2025-06-13 08:06:23
Score: 2.5
Natty:
Report link

There is no official public API from GSTN for checking GSTIN status due to security and captcha restrictions.

However, some third-party services provide GST-related APIs and compliance support.

One such platform is TheGSTCo.com – they offer VPOB/APOB solutions and help eCommerce sellers manage GST registrations across India.

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

79664510

Date: 2025-06-13 07:50:19
Score: 3
Natty:
Report link

After update SSH.NET library version from 2016.0.0 to 2023.0.1.0 is able to connect SFTP server

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

79664504

Date: 2025-06-13 07:44:18
Score: 1
Natty:
Report link

If you want to update the value (or you've created an empty secret + want to add a value):


gcloud secrets versions add mySecretKey --data-file config/keys/0010_key.pem
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jim ReesPotter

79664495

Date: 2025-06-13 07:36:15
Score: 8.5 🚩
Natty: 4.5
Report link

did you use this endpoint as it is or we have to change it with our own ? Pls answer.

Reasons:
  • RegEx Blacklisted phrase (2.5): Pls answer
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you use this
  • Low reputation (1):
Posted by: Hemanandhini K

79664487

Date: 2025-06-13 07:27:12
Score: 2.5
Natty:
Report link

These are not restricted scopes and so should be available to all apps.

As this seems to be an error specific to your app, please could you raise a case with Xero Support using this link https://developer.xero.com/contact-xero-developer-platform-support and include details of the client id for your app so that this can be investigated for you.

Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: sallyhornet

79664484

Date: 2025-06-13 07:25:12
Score: 2
Natty:
Report link

Ah, found it. Seems like my Flutter config was incorrect.

I ran flutter config --jdk-dir "%JAVA_HOME%" to go back to normal state.

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

79664471

Date: 2025-06-13 07:09:08
Score: 1.5
Natty:
Report link

You need to add echo "" | before the AZ command to ensure it doesn't hijack stdin.

file='params.csv'
while read line; do
  displayName=$(echo $line | cut -d "," -f 1)
  password=$(echo $line | cut -d "," -f 2)
  upn=$(echo $line | cut -d "," -f 3)

  echo "" | az ad user create --display-name \
    --user-principal-name \
    --password

done < $file

This hint is from - https://stackoverflow.com/a/2708635

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

79664468

Date: 2025-06-13 07:06:07
Score: 7 🚩
Natty: 4
Report link

I am also facing same issue.

enter image description here

enter image description here

only 3 samples (http get requests) are executed even though i have 4

Any help is very much appriciated

Reasons:
  • Blacklisted phrase (1): Any help
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing same issue
  • Low reputation (1):
Posted by: Hemangi

79664466

Date: 2025-06-13 07:05:06
Score: 2.5
Natty:
Report link

select a.continent, a.name, a.area from world a

where a.area in (select max(b.area) from world b where a.continent=b.continent)

worked well

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mohammad Tariq Aziz

79664462

Date: 2025-06-13 07:04:06
Score: 2
Natty:
Report link

For Visual Studio 2022 go to

TOOLS->OPTIONS->ENVIRONMENT -> General

On the very bottom, there is a label "On Startup, open" , choose from list of options "Empty environment"

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

79664458

Date: 2025-06-13 07:01:05
Score: 2.5
Natty:
Report link

nw_tls_create_options() in AppDelegate and changing TLS from 1.0 to 1.2 in Info.plist solves the issue

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

79664451

Date: 2025-06-13 06:53:02
Score: 4
Natty:
Report link

closing note: there was a bug in the APIM and Microsoft fixed it

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

79664431

Date: 2025-06-13 06:28:56
Score: 1.5
Natty:
Report link

Sorry. I solved it myself.

HIKARICP bug!

https://github.com/brettwooldridge/HikariCP/issues/1388

https://github.com/brettwooldridge/HikariCP/pull/2238

It's been addressed here.

The above problem was not fixed in HIKARICP version 5.01.

Solution

https://github.com/brettwooldridge/HikariCP

Use the latest HIKARICP 6.3.0!! The problem has been fixed.

build.gradle

dependencies {

implementation("com.zaxxer:HikariCP:6.3.0")

}

Reasons:
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: yuki

79664425

Date: 2025-06-13 06:22:54
Score: 2
Natty:
Report link
I re-install the latest llvm and lldb,
and use the lastest lldb it works now.

$ lldb -version
  lldb version 21.0.0git
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: xiaoqiang-wang

79664411

Date: 2025-06-13 06:13:51
Score: 7.5 🚩
Natty:
Report link

I also have the same issues. Tried for 2 days, still same error. Any workarounds from anyone?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I also have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eazibiz Test Mobile

79664404

Date: 2025-06-13 06:05:49
Score: 1
Natty:
Report link

To fix the dynamic class generation in Next Js 15.

We have created a file style.js in the location mocks\styled-jsx\style.js & mentioned the below code:

function StyleMock() {
  return null
}

// Add the static dynamic method expected by styled-jsx
StyleMock.dynamic = () => ''

export default StyleMock

& define the path under moduleNameMapper in jest.config.js i.e.

moduleNameMapper: {
    '^styled-jsx/style$': '<rootDir>/__mocks__/styled-jsx/style.js',
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nishant Pandya

79664401

Date: 2025-06-13 05:59:48
Score: 0.5
Natty:
Report link

TEXT

There are three sizes: TINYTEXT, TEXT, MEDIUMTEXT, and LONGTEXT.

Type Size (bytes)
TINYTEXT 255
TEXT 65535
MEDIUMTEXT 16777215
LONGTEXT 4294967295

With the exception of TINYTEXT, The others are stored off-page, and it is harder to index these values. Text is great for things like storing posts, articles, novels, etc...except for TINYTEXT of course.

Breaking this down Barney-style, Text is:

VARCHAR

VarChar is similar to TINYTEXT in size, 255 Bytes. Unlike it's TEXT cousin, it does not store off-page. Unlike with TEXT, you can restrict length by doing something like VARCHAR(30). Just setting VARCHAR will set it at max (255).

Again, Barney-style:

Which one should I use?

Depends on what data you expect you need to be stored and what database you're using. Postgres for example only uses Text as it handles Text types differently.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: c0dezer019

79664399

Date: 2025-06-13 05:57:47
Score: 0.5
Natty:
Report link

You're right that torchvision.datasets.ImageFolder doesn’t natively support loading images directly from S3. The 2019 limitation still stands — it expects a local file system path. However, AWS released the S3 plugin for PyTorch in 2021, which allows you to access S3 datasets as if they were local, using torch.utils.data.DataLoader. Alternatively, you can mount the S3 bucket using s3fs or fsspec, copy data to a temporary local directory, or create a custom Dataset class that streams images directly from S3 using boto3. For large datasets and training at scale, the S3 plugin is the cleanest and most efficient path.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Volodymyr Petrovich

79664397

Date: 2025-06-13 05:53:46
Score: 3
Natty:
Report link

Theoretically , one class svm is not that different from the usual SVM as it tries to find the optimal hyperplane that separates data inliers ( data that have a certain pattern linking them = gaussian kernel phi ( x,x' ) ~ 1 ) from the outliers , so if you're deciding to use a gaussian kernel , you can have your anomaly score as the distance of the point from the origin the high dimensional space which is nothing more than its norm , thus the lower it is , the more likely the point is an outlier as SVM tries to maximize the distance separating the hyperplane from the origin. ( Same thing but in another perspective , you can have your anomaly score as the distance separating the point from the hyperplane , the bigger it is , the more likely the point is an outlier )
The screenshot i uploaded is from an article i read once during my internship , here is the link : https://www.analyticsvidhya.com/blog/2024/03/one-class-svm-for-anomaly-detection/.

Good luck :) enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Blacklisted phrase (1): here is the link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zakaria El Kazdam

79664396

Date: 2025-06-13 05:51:46
Score: 3
Natty:
Report link

I've found the issue- there's a custom Logger that got somehow chained into this component (I assume through the NGXSLoggerPlugin) that I didn't know about before (it's a big codebase and I'm relatively new to the team). Once that was appropriately mocked, the tests worked fine. I've updated the code in my question to comment out/in the code that I'm using currently, in case anyone else is looking for tips on mocking NGXS Store functions.

Reasons:
  • Blacklisted phrase (1): to comment
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: gizmo

79664391

Date: 2025-06-13 05:43:43
Score: 2.5
Natty:
Report link

\x
select * from table_name;

this will display each record individually, where the column labels become the row labels

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

79664386

Date: 2025-06-13 05:34:41
Score: 1
Natty:
Report link

I have displayed root element by this way:


RootElement root;
...
treeViewer.setInput(new RootElement[] { root });

in ContentProvider:

    @Override
    public Object[] getElements(Object inputElement) {
        return (Object[]) inputElement;
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrey P.

79664385

Date: 2025-06-13 05:30:40
Score: 1
Natty:
Report link

Yes, using a char[] as placement-new storage is technically undefined behavior (UB) according to the C++ standard, despite being widely used in practice. The reason lies in C++'s rules about object lifetimes and storage, introduced and clarified in C++17 and C++20.

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

79664384

Date: 2025-06-13 05:29:40
Score: 2
Natty:
Report link

So, apparently it was for the side of our hosting provider to fix since I did not have admin rights in our cPanel and could not access the "terminal" feature to execute the command to linking ang installing the necessary Laravel requirements. Upon contacting and coordinating with our hosting provider, they were able to link and setup the necessary configurations for our Laravel based deployment to work.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Lourd Nathaniel Gonzalez

79664382

Date: 2025-06-13 05:27:39
Score: 3.5
Natty:
Report link

I think the problem where that the <ProjectReference Include="..\..\an\other.csproj" /> where a x86 project and the failing project the <PlatformTarget>x86</PlatformTarget> in <PropertyGroup> where missing.

I assume that the reason that I only goth a MSB4236: The SDK "Microsoft.NET.Sdk" specified could not be found. is that the other project where still in the old format.

So basically I writhe this post just in case some on else (or I) get the same problem.

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): get the same problem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Robert

79664375

Date: 2025-06-13 05:14:37
Score: 0.5
Natty:
Report link

You can adjust the environment variables cmake runs with by editing the CMakePresets.json file.
Merge in this json snippet to print test output on test failures.

{
    "configurePresets": [
        {
            "environment": {
                "CTEST_OUTPUT_ON_FAILURE": "ON"
            }
        }
    ]
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jason Scott

79664362

Date: 2025-06-13 04:53:31
Score: 1
Natty:
Report link

No, you don't need a hosting package to use a custom domain with Blogger. Blogger provides free hosting for your blog, so you only need to purchase a domain name from a registrar like Namecheap, GoDaddy, or Hostinger. After buying the domain, you can connect it to your Blogger blog by updating the DNS settings with the required CNAME and A records, as outlined in Blogger's custom domain setup guide: Blogger Help - Set up a custom domain.

Steps include:

  1. Sign in to Blogger, go to Settings > Publishing > Custom domain, and enter your domain (e.g., www.yourdomain.com).

  2. Blogger will provide two CNAME records (in addition to providing you the instructions). Add these to your domain's DNS settings via your registrar's control panel.

  3. Save the changes and wait for DNS propagation (usually 1-24 hours).

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

79664357

Date: 2025-06-13 04:45:29
Score: 3
Natty:
Report link

This is likely happening because the -u is omitted, typically -p is needed but can be excluded, interactive prompts are key! I've had this, and -u is how it can be fixed!

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

79664353

Date: 2025-06-13 04:40:28
Score: 2
Natty:
Report link

I also encounter this situation, when acl is enabled, sentinel can not connect redis node and fail to failover.
my acl in redis.conf is below:
user default on >MYPASSWORD allcommands allkeys

and the settings in sentinel.conf is:
sentinel auth-pass mymaster MYPASSWORD

sentinel auth-user mymaster default

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

79664352

Date: 2025-06-13 04:37:27
Score: 2
Natty:
Report link

I know this question is about PyPDF2, but as the maintainer himself informs it is deprecated, and this post still shows up when searching for cloning files with pypdf...

Here's how you do it in pypdf:

from pypdf import PdfReader, PdfWriter

writer = PdfWriter()
writer.clone_document_from_reader(PdfReader("input.pdf"))
with open("output.pdf", "wb") as f:
    writer.write(f)

Much easier nowadays, isn't it?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: ordinary_python_programmer

79664343

Date: 2025-06-13 04:16:23
Score: 1.5
Natty:
Report link

NumPy assigns different string dytpes when mixing types in np.array() because:

It promotes all elements to a common type (string, in this case).The resulting d type is determined by the length of the longest string representation of any element.The order of elements affects how NumPy infers the common type and can lead to differing results <u4,<u5,<u32 etc.

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

79664337

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

In my case, just close Windows Services -> open it again and start the services, and they will work normally.

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

79664333

Date: 2025-06-13 04:01:18
Score: 3
Natty:
Report link

wow , it works for me as i ave several cell that only have single data and i need it to sum with line break data cell. thanks btw

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): i need
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alan Stein

79664326

Date: 2025-06-13 03:49:16
Score: 0.5
Natty:
Report link

Its completely fine if u do not know anything about app development and also did not know anything about programming u can start it today.
if u want to build an editing app u must first decide wether this app is going to be available for which platform android or ios(just think about it and decide).

if u thought of android only then u have options like java or kotlin programming language.I suggest kotlin it is best for android app development.

if u thought of ios app development then u should go with learning swift programming language.

And if u have decide to make your app so that it can support both the platform android and ios then u still have many options from which u can decide but here all depends on you wether u want native experience or web like view then go for these :-

(Note)- In Native Experience u need some native coding knowledge but still it is far more better than learning two different native applications

Native Experience

  1. Nativescript + Angular (free)

  2. Xamarin (price depends on what you are doing)

  3. React Native (free)

Webview

  1. Cordova + Angular (free)
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: aditya rathore

79664321

Date: 2025-06-13 03:39:13
Score: 7
Natty: 7
Report link

After years of search, I start to find a way to solve the export of datas in UTF8 in CSV files under Excel Mac with your script. Thanks.

I have a question : i have 100 lines of datas that I want to export using your script, but STRING is to short to to this. How your script could be changed to be able to PRINTF under MacScript for 100 lignes of datas ? Thanks a lot

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1.5): I have a question
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Thierry P.

79664314

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

For it was all about getting the scope value set properly to send to the downstream API then setting the authority (issuer) and audience set properly on the API itself.

The .default scope is only for making requests using the Downstream API as the App. If you're requesting on behalf of the user you need to define a scope in your Azure AD B2C app registration then include the scope Uri in your "SecureApi" configuration. This allows the TokenAcquision object used by the Downstream API to request a token from Azure AD B2C.

Usually the scope takes for the form of https://azb2cdomain.onmicrosoft.com.onmicrosoft.com/clientid/scopename but can be copied when the scope is defined in the Azure AD B2C portal (App Registration => Expose an API => Add a Scope. It doesn't appear to matter much what you name the scope. All that seems to matter is setting the Uri correctly.

On the API side, Authority is https://adb2cdomain.b2clogin.com/6b31fe92-c55e-4b85-b48e-980f96f1ce58/v2.0/ and the audience is the client id Guid by itself of the app registration you're using.

Apologies for not having links to relevant sites but most of what I've tried has been trial and error.

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

79664311

Date: 2025-06-13 03:12:07
Score: 0.5
Natty:
Report link

In the newer versions of laravel, the syntax has changed, and it should be array: first the class and the second element the function, ex:


Route::middleware('auth:sanctum')->post(
    '/logout',
    [LoginController::class, 'logoutApi']
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Amir Mehrnam

79664306

Date: 2025-06-13 03:06:06
Score: 1.5
Natty:
Report link

Just to add to the matlines comment, if you use matlines you don't need to use abline at all, as the first column gives the model fit.

matlines(newx, conf_interval, col = c("black", "blue", "blue"), lty=c(1,2,2))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ian

79664304

Date: 2025-06-13 03:06:06
Score: 1.5
Natty:
Report link

I apologize for this question.

After some troubleshooting I ended finding that POST URL I was using had a typo issue. I fixed the URL and now al verbs are working fine.

Thanks @thatjeffsmith for your tip!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @thatjeffsmith
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JRG

79664303

Date: 2025-06-13 03:06:06
Score: 5
Natty:
Report link

Kindly check you webpack.config.json configuration as in this answer
https://stackoverflow.com/a/34563571/30790900

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Flying Eze

79664296

Date: 2025-06-13 02:49:02
Score: 1
Natty:
Report link

I'd recommend using sliding_window_view. Change:

nStencil = 3
x_neighbours = (
   x[indexStart:indexStop]
   for indexStart, indexStop in zip(
      (None, *range(1,nStencil)),
      (*range(1-nStencil,0), None),
   )
)

To:

nStencil = 3
sliding_view = sliding_window_view(x, nStencil) 
x_neighbours = tuple(sliding_view[:, i] for i in range(nStencil))
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pratik Mathur

79664280

Date: 2025-06-13 02:17:55
Score: 1.5
Natty:
Report link

@jhnc hit the point, this is the basic problem

Direct solution to the problem:

username=$1
curl -k  "https://test01.foo.com:4487/profile/admin/test?requester=https://saml.example.org&principal=$username&saml2"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jhnc
  • Low reputation (0.5):
Posted by: Robinson yuan

79664277

Date: 2025-06-13 02:14:54
Score: 2.5
Natty:
Report link

By referencing the mako doc, there is no way to do someting like escaping for that.

But, using ${'##'} to replace ## is helpful.

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

79664274

Date: 2025-06-13 02:03:52
Score: 2
Natty:
Report link

Nowadays no need to memorise the projects or code itself. Simply search online for solutions on quality websites e.g: stackoverflow.com
however avoid automatically generated AI blog posts as usually untested in the real world so can waste a lot of your time.

The good news is that learning to code from scratch like in the old days is no longer required as you can get much of it automated for you as a starting point e.g
GitHub Co Pilot
ChatGPT Coding in canvas

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: social

79664273

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

I notice you’re specifying a Payment Method while creating a Setup Intent. This is perfectly valid if you want to re-authenticate or re-verify a pre-existing Payment Method for future off-session usage. However, the goal when redisplaying previously saved Payment Methods is usually to make a Payment with said Payment Methods. If that is the case here I would suggest using a Payment Intent instead.

In either case, you’ll need to create a Customer Session[0] in addition to the Payment/Setup Intent and pass both the Intent’s client secret and the Customer Session client secret to the Payment Element. [1] This is alluded to in the documentation you cited where it talks about configuring the Customer Session for allow_redisplay="unspecified". [2] A Customer Session is needed regardless, even if you only want to show Payment Methods with allow_redisplay=”always”.   This admittedly could have been stated more clearly but is outlined in further detail elsewhere in the documentation. I’d recommend following the code example in my first citation for more clarity. [1]

If the Payment Element still isn’t populating with saved card information after providing a Customer Session client secret, I’d advise double checking what value has been set for allow_redisplay on the Payment Method. You mentioned that it was set to true but the available options are always, unspecified, and limited.[3] You’ll want to make sure this value aligns with what is set in the Customer Sessions payment_method_allow_redisplay_filters array. [4]

To review:

  1. Consider your use of Setup Intents and determine if a Payment Intent would make more sense for your current use case.

  2. Make sure you are passing a Customer Session client secret to the Payment Element.

  3. Ensure the Payment Methods allow_redisplay value is among the values listed in the Customer Sessions payment_method_allow_redisplay_filters array.

Please let me know if there are any points I can help clarify.

[0]https://docs.stripe.com/api/customer_sessions
[1]https://docs.stripe.com/payments/save-during-payment#enable-saving-the-payment-method-in-the-payment-element
[2]https://docs.stripe.com/payments/save-customer-payment-methods#display-existing-saved-payment-methods

[3]https://docs.stripe.com/api/payment_methods/object#payment_method_object-allow_redisplay

[4]https://docs.stripe.com/api/customer_sessions/create#create_customer_session-components-payment_element-features-payment_method_allow_redisplay_filters

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mossy_stripe

79664269

Date: 2025-06-13 01:50:49
Score: 0.5
Natty:
Report link

DISCLAIMER: Please note that this code was written by an AI and is not running on Office 365 since I can't test on that. (You can tell by the comments)

I recall that we aren't supposed to post AI written code. But this is the answer that worked. This puts me in a situation where I'm not sure what to do. I'm not going to spend an hour or two rewriting it beyond what I've already done.

Option Explicit

Sub ScrollBothWindowsAfterNextTotal()
    Dim win1 As Window, win2 As Window
    Dim ws1 As Worksheet, ws2 As Worksheet
    Dim nextTotal1 As Range, nextTotal2 As Range
    Dim startRow1 As Long, startRow2 As Long
    Dim currentWindow As Window

    ' Check if at least two windows are open
    If Application.Windows.Count < 2 Then
        MsgBox "You need at least two workbook windows open.", vbExclamation
        MsgBox "Current open windows: " & Application.Windows.Count, vbInformation
        Exit Sub
    End If

    ' Save current active window to restore afterward
    Set currentWindow = Application.ActiveWindow

    ' Define foreground and background windows
    Set win1 = Application.Windows(1) ' Active window
    Set win2 = Application.Windows(2) ' Background window

    ' --- Scroll Active Window (win1) ---
    Set ws1 = win1.ActiveSheet
    startRow1 = win1.ActiveCell.Row + 1

    ' Find the next "Total" in column C of active window's worksheet
    Set nextTotal1 = ws1.Columns("C").Find(What:="Total", After:=ws1.Cells(startRow1, 3), _
        LookIn:=xlValues, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext)

    If Not nextTotal1 Is Nothing Then
        ' Scroll active window to the row after "Total"
        win1.Activate ' Ensure active window is selected
        ws1.Cells(nextTotal1.Row + 1, 1).Select
        win1.ScrollRow = nextTotal1.Row + 1
    Else
        MsgBox "No 'Total' found in active window after row " & (startRow1 - 1), vbInformation
    End If

    ' --- Scroll Background Window (win2) ---
    Set ws2 = win2.ActiveSheet
    startRow2 = win2.ActiveCell.Row + 1

    ' Find the next "Total" in column C of background window's worksheet
    Set nextTotal2 = ws2.Columns("C").Find(What:="Total", After:=ws2.Cells(startRow2, 3), _
        LookIn:=xlValues, LookAt:=xlPart, SearchOrder:=xlByRows, SearchDirection:=xlNext)

    If Not nextTotal2 Is Nothing Then
        ' Activate background window temporarily to scroll it
        win2.Activate
        ws2.Cells(nextTotal2.Row + 1, 1).Select
        win2.ScrollRow = nextTotal2.Row + 1
    Else
        MsgBox "No 'Total' found in background window after row " & (startRow2 - 1), vbInformation
    End If

    ' Restore original active window
    currentWindow.Activate
End Sub

This code takes two open workbooks and scrolls to the next ' Total' in both windows... note that I didn't bother checking to make sure its the same name, that is intentional, since i might be missing data i want to see if the new version is missing it.

Reasons:
  • RegEx Blacklisted phrase (1): i want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: zitot

79664262

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

API changes,The path, request_headers and response_headers properties are replaced by request and response.

websocket.request.path
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Charles Chang

79664257

Date: 2025-06-13 01:17:41
Score: 1.5
Natty:
Report link

I have this alias in my .gitconfig file for creating something similar in the terminal

[alias]
  tree = log --format='%C(auto)%h %d %C(green dim)%ad %C(white dim)%an<%ae> %C(auto)%s' --decorate --all --graph --date=iso-strict --color=always

Console output of git tree command

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

79664252

Date: 2025-06-13 01:11:40
Score: 3
Natty:
Report link

Problem was I was using a \ instead of / in access the external server's folder.

Elementary problem. :)

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

79664248

Date: 2025-06-13 01:03:38
Score: 0.5
Natty:
Report link

I ended up making a tool for this. It's located on GitHub at ckinateder/google-photos-exif-merger. My tool does handle the strange filename changes mentioned in previous answers, as well as situations with missing JSON files (for live photos, the takeout only creates one JSON file for multiple media files). My tool also detects where file types are mismatched and automatically attempts to rename.

There's a CLI version and an optional GUI interface (in web browser). It's written in Python with minimal packages, so it's not too hard to setup.

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

79664241

Date: 2025-06-13 00:44:35
Score: 1.5
Natty:
Report link

I see what's wrong, I had to do a

git reset <latest hash>

To point it to the latest commit. Then it is synced up with the Git repository.

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

79664237

Date: 2025-06-13 00:36:33
Score: 0.5
Natty:
Report link

Here's how to define an io.Reader wrapper with the desired behavior:

// NewSleepyReader returns a reader that sleeps for duration
// after reading each block of num bytes from an underlying reader.
func NewSleepyReader(underlying io.Reader, num int, duration time.Duration) io.Reader {
    return &sleepyReader{r: underlying, num: num, duration: duration}
}

type sleepyReader struct {
    r        io.Reader
    duration time.Duration
    num      int
    i        int
}

func (sr *sleepyReader) Read(p []byte) (int, error) {
    n, err := sr.r.Read(p[:min(len(p), sr.num-sr.i)])
    sr.i += n
    if sr.i >= sr.num {
        time.Sleep(sr.duration)
        sr.i = 0
    }
    return n, err
}

Use it like this in your application:

_, err := io.Copy(io.Discard, NewSleepyReader(r.Body, 10, time.Second))
if err != nil {
    w.WriteHeader(http.StatusInternalServerError)
    return
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Malex Padilla

79664232

Date: 2025-06-13 00:31:32
Score: 3
Natty:
Report link

Well the error suggests that your default export function doesnt return a valid React component. Would you mind sharing some code to look at?

edit

I believe this was already answered. Have you tried?

Date: 23/01/2021

I've also faced this issue on my Next.js app.

If you're using a functional component instead of a class component you'll get this error as well in some casses. Exactly I don't know why this is happening but I just resolved this issue by exporting my component at the bottom of the page.

Like this,

Case Error scenario:

export default function Home(){
      return (<>some stuffs</>)
}

Home.getInitialProps = async (ctx) => {
    return {}
}
Error: The default export is not a React Component in page: "/"

How to resolved it?

I just put my export at the bottom my page and then it'll be gone.

Like this,

function Home(){
      return (<>some stuffs</>)
}

Home.getInitialProps = async (ctx) => {
    return {}
}

export default Home;

Hopefully, it'll be helpful for you!

Reasons:
  • Blacklisted phrase (2): Would you mind
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (1.5): How to resolved it?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Nicolas A

79664231

Date: 2025-06-13 00:26:30
Score: 1.5
Natty:
Report link

I was having trouble with a YouTube Data API request and kept receiving this error in the response:

{
  "error": {
    "code": 403,
    "message": "Requests from referer <empty> are blocked.",
    "errors": [
      {
        "message": "Requests from referer <empty> are blocked.",
        "domain": "global",
        "reason": "forbidden"
      }
    ]
  }
}

After logging the raw API response and debugging further, I realized the issue was related to the missing Referer header in my cURL request.

Since I was using an API key restricted by domain in the Google Cloud Console, I needed to explicitly set the Referer header to match one of the allowed domains.

Here’s how I fixed it:

$ch = curl_init();
$options = [
    CURLOPT_RETURNTRANSFER => true,
    CURLOPT_TIMEOUT => 30,
    CURLOPT_USERAGENT => 'YouTube Module/1.0',
    CURLOPT_SSL_VERIFYPEER => true,
    CURLOPT_FOLLOWLOCATION => true,
    CURLOPT_MAXREDIRS => 3,
    CURLOPT_REFERER => 'http://my-allowed-domain-in-google.com', // Must match one of your allowed domains
    CURLOPT_HEADER => true, // Include headers for debugging
];

curl_setopt_array($ch, $options);
curl_setopt($ch, CURLOPT_URL, $url);

$response = curl_exec($ch);
$httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);

curl_close($ch);

With this change, I started receiving a 200 OK response, and the API began returning the expected data — including the items array.

If you're facing a similar issue and using a domain-restricted API key, make sure to include the correct Referer header in your request.

Thanks to everyone who helped me along the way — happy coding! 😊

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-2): I fixed
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing a similar issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Diogo Paiva

79664229

Date: 2025-06-13 00:23:30
Score: 0.5
Natty:
Report link

Looks like your Neo4jImportResource.importGraph() is not actually calling executeCypherStatements() at runtime.

try wrapping it in side try catch.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Phani Raj Kumar Bollipalli

79664224

Date: 2025-06-13 00:16:28
Score: 1.5
Natty:
Report link

lsof -i :5432 gave no output for me. going to MacOS's Activity Monitor, searching for postgres, selecting all of the results, then clicking on the ⓧ to kill them fixed it for me.

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

79664221

Date: 2025-06-13 00:11:27
Score: 0.5
Natty:
Report link

What you could do if copying the data is a performance concern is to use reinterpret_cast to cast c1 to a reference to a vector of the required type:

std::vector<int*> c1;  
std::vector<void*>& c2 = reinterpret_cast<std::vector<void*>&>(c1);

I have to stress, though, that you are relying on the fact that pointers to one type usually are much like pointers to another type. In particular, they are the same size so they are stored in the vector the same way. So this will work as long as the memory layout of the type you're casting to is the same as type you're casting from. There is no guarantee that doing this is OK in your specific case because we don't know the circumstances and why you're trying to do this. For example the two pointer types might have different alignment requirements. So you should normally stick to well defined behavior and copy the vector. You should not be avoiding the copy just because it is not needed.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What you
  • Low reputation (1):
Posted by: Plover

79664213

Date: 2025-06-13 00:02:25
Score: 1.5
Natty:
Report link
Please use below command at powershell

PS:az devops login --organization "https://dev.azure.com/<COMPANY NEME>-VSTS/"

it will ask for Token:

provide the PAT token.

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

79664211

Date: 2025-06-12 23:58:24
Score: 0.5
Natty:
Report link

Thanks to https://codepen.io/gc-nomade/pen/YPXLQRN I just modify some classes

<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>


<div class="p-10" style="filter:drop-shadow(0 0 1px) drop-shadow(0 0 1px) drop-shadow(0 0 1px)">
  <div class="grid grid-cols-6 grid-rows-4 gap-4">
    <div class="col-span-1 row-span-1 flex items-center justify-center rounded-lg border-blue-500 bg-white p-4">
      <span class="text-gray-600">Card 1</span>
    </div>

    <div class="col-span-3 row-span-1 flex items-center justify-center rounded-lg border-blue-500 bg-white p-4">
      <span class="text-gray-600">Card 2</span>
    </div>

    <div class="col-span-2 row-span-1 flex items-center justify-center rounded-lg border-blue-500 bg-white p-4">
      <span class="text-gray-600">Card 3</span>
    </div>

    <div class="col-span-1 row-span-2 flex items-center justify-center rounded-lg border-blue-500 bg-white p-4">
      <span class="text-gray-600">Card 4</span>
    </div>

    <div class="col-span-3 row-span-1 flex items-center justify-center rounded-lg border-blue-500 bg-white p-4">
      <span class="text-gray-600">Card 5</span>
    </div>

    <div class="col-span-2 row-span-2 flex items-center justify-end rounded-lg border-blue-500 bg-white p-4" style="clip-path: polygon(0 0, 100% 0, 100% 100%, 46% 100%, 46% calc(50% - .7em), 0   calc(50% - .7em) );">
      <span class="text-gray-600">Card 6</span>
    </div>

    <div class="col-span-2 row-span-1 flex items-center justify-center rounded-lg border-blue-500 bg-white p-4">
      <span class="text-gray-600">Card 7</span>
    </div>

    <div class="col-span-1 row-span-1 flex items-center justify-center rounded-lg border-blue-500 bg-white p-4 w-[200%]">
      <span class="text-gray-600">Card 8</span>
    </div>
  </div>
</div>

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ebraheem Al-hetari

79664210

Date: 2025-06-12 23:57:24
Score: 0.5
Natty:
Report link

let fruits = [{
    name: "apple",
    description: "An apple is a sweet, edible fruit produced by an apple tree (Malus pumila). Apple trees are cultivated worldwide and are the most widely grown species in the genus Malus. The tree originated in Central Asia, where its wild ancestor, Malus sieversii, is still found today. Apples have been grown for thousands of years in Asia and Europe and were brought to North America by European colonists.",
    color: "green"
  },
  {
    name: "banana",
    description: "A banana is an edible fruit – botanically a berry – produced by several kinds of large herbaceous flowering plants in the genus Musa. In some countries, bananas used for cooking may be called 'plantains.' Musa species are native to tropical Indomalaya and Australia, and are likely to have been first domesticated in Papua New Guinea. They are grown in 135 countries and the world's largest producers of bananas are India and China",
    color: "gold"
  },
  {
    name: "strawberry",
    description: "The garden strawberry is a widely grown hybrid species of the genus Fragaria, collectively known as the strawberries. It is cultivated worldwide for its fruit. The fruit is widely appreciated for its characteristic aroma, bright red color, juicy texture, and sweetness.",
    color: "red"
  },
  {
    name: "orange",
    description: "The orange is the fruit of the citrus species Citrus × sinensis in the family Rutaceae.  It is known as the 'Sweet Orange.' It originated in ancient China and the earliest mention of the sweet orange was in Chinese literature in 314 BC. As of 1987, orange trees were found to be the most cultivated fruit tree in the world. In 2014, 70.9 million tonnes of oranges were grown worldwide, with Brazil producing 24% of the world total followed by China and India. Oranges are infertile and reproduce asexually.",
    color: "peru"
  },
  {
    name: "pineapple",
    description: "The word 'pineapple' in English was first recorded to describe the reproductive organs of conifer trees (now termed pine cones). When European explorers encountered this tropical fruit in the Americas, they called them 'pineapples' (first referenced in 1664, for resemblance to pine cones). The plant is indigenous to South America and is said to originate from the area between southern Brazil and Paraguay. Columbus encountered the pineapple in 1493 on the leeward island of Guadeloupe. He called it piña de Indes, meaning 'pine of the Indians', and brought it back with him to Spain.",
    color: "yellow"
  },
  {
    name: "blueberry",
    description: "Blueberries are perennial flowering plants with blue– or purple–colored berries. They are classified in the section Cyanococcus within the genus Vaccinium. Commercial 'blueberries' are all native to North America. They are covered in a protective coating of powdery epicuticular wax, colloquially known as the 'bloom'. They have a sweet taste when mature, with variable acidity.",
    color: "blue"
  },
  {
    name: "grape",
    description: "A grape is a fruit, botanically a berry, of the deciduous woody vines of the flowering plant genus Vitis. Grapes are a non-climacteric type of fruit, generally occurring in clusters. The cultivation of the domesticated grape began 6,000–8,000 years ago in the Near East.[1] Yeast, one of the earliest domesticated microorganisms, occurs naturally on the skins of grapes, leading to the discovery of alcoholic drinks such as wine. The earliest archeological evidence for a dominant position of wine-making in human culture dates from 8,000 years ago in Georgia.",
    color: "purple"
  },
  {
    name: "lemon",
    description: "The lemon, Citrus limon Osbeck, is a species of small evergreen tree in the flowering plant family Rutaceae, native to South Asia, primarily North eastern India. The juice of the lemon is about 5% to 6% citric acid, with a pH of around 2.2, giving it a sour taste. The distinctive sour taste of lemon juice makes it a key ingredient in drinks and foods such as lemonade and lemon meringue pie.",
    color: "yellow"
  },
  {
    name: "kiwi",
    description: "Kiwi is the edible berry of several species of woody vines in the genus Actinidia. It has a fibrous, dull greenish-brown skin and bright green or golden flesh with rows of tiny, black, edible seeds. Kiwifruit is native to north-central and eastern China. The first recorded description of the kiwifruit dates to 12th century China during the Song dynasty.  China produced 56% of the world total of kiwifruit in 2016.",
    color: "green"
  },
  {
    name: "watermelon",
    description: "Citrullus lanatus is a plant species in the family Cucurbitaceae, a vine-like flowering plant originating in West Africa. It is cultivated for its fruit. There is evidence from seeds in Pharaoh tombs of watermelon cultivation in Ancient Egypt. Watermelon is grown in tropical and subtropical areas worldwide for its large edible fruit, also known as a watermelon, which is a special kind of berry with a hard rind and no internal division, botanically called a pepo.",
    color: "crimson"
  },
  {
    name: "peach",
    description: "The peach (Prunus persica) is a deciduous tree native to the region of Northwest China between the Tarim Basin and the north slopes of the Kunlun Mountains, where it was first domesticated and cultivated. The specific name persica refers to its widespread cultivation in Persia (modern-day Iran), from where it was transplanted to Europe. China alone produced 58% of the world's total for peaches and nectarines in 2016.",
    color: "peru"
  }
];

function resetStyle() {
  document.querySelectorAll('li').forEach(x => x.style.color = 'hotpink');
}

function setFruit(fruit) {
  console.log(`loading ${fruit.name}`);

  let elem = document.getElementById(fruit.name);
  elem.style.color = fruit.color;
  fruitName = document.getElementById('fruitName');
  fruitName.innerText = fruit.name;
  fruitDesc = document.getElementById('fruitDesc');
  fruitDesc.innerText = fruit.description;
  //activate 3d view window
  var x = document.getElementById('x');
  x.innerHTML = 1;
}

document.addEventListener('click', (e) => {
  if (e.target.matches('li')) {
    resetStyle();
    setFruit(fruits.find(f => f.name === e.target.id));
  }
});
* {
  margin: 0px;
  padding: 0px;
  border: 0px;
}

.container {
  background-color: beige;
  width: 600px;
  min-height: 550px;
  border-radius: 30px;
  margin: 40px auto;
}

.title {
  font-family: sans-serif;
  margin: 20px 20px 20px 20px;
  color: indianred;
  display: inline-block;
  float: left;
}

.box3d {
  float: right;
  height: 225px;
  width: 280px;
  background-color: slategray;
  display: inline-block;
  margin: 25px 50px 0px 0px;
}

.desc {
  float: right;
  height: 225px;
  width: 350px;
  background-color: white;
  display: inline-block;
  margin: 25px 50px 0px 0px;
  overflow: auto;
}

.fruitlist {
  padding-left: 20px;
  margin: 20px 0px 0px 30px;
  list-style: none;
  display: inline-block;
  float: left;
}

li {
  margin-bottom: 12px;
  font-family: sans-serif;
  color: purple;
  font-size: 18px;
}

li:hover {
  font-size: 20px;
  color: hotpink;
}

#fruitName {
  color: blue;
  margin: 10px 10px 10px 10px;
  border-bottom: solid 3px blue;
  font-family: sans-serif;
}

#fruitDesc {
  margin: 10px 10px 0px 10px;
}
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>FruityView</title>
  <link rel="stylesheet" href="fruitstyle.css">
</head>

<body>

  <div class="container">

    <h1 class="title">FruityView</h1>
    <!--3D MODEL VIEW WINDOW-->
    <div class="box3d" id="box3d">

      <p id='x'>0</p>

      <script>
        //this doesn't work - maybe I could do some sort of for loop that could retest it? 
        var x = document.getElementById('x');
        console.log(x);

        function view3d() {
          console.log("view function activated");
        }

        if (x == 1) {
          view3d();
        }

        //this doesn't work - I know it would if it came after the list but I don't want to do that
        /*var peach = document.getElementById('peach').onclick = peach;
        peach() {
            console.log("successful activation");
        }
        */
      </script>

    </div>
    <br>

    <!--SELECTION LIST-->
    <ul class="fruitlist">

      <li id="apple">Apple</li>
      <li id="banana">Banana</li>
      <li id="strawberry">Strawberry</li>
      <li id="orange">Orange</li>
      <li id="pineapple">Pineapple</li>
      <li id="blueberry">Blueberry</li>
      <li id="grape">Grape</li>
      <li id="lemon">Lemon</li>
      <li id="kiwi">Kiwi</li>
      <li id="watermelon">Watermelon</li>
      <li id="peach">Peach</li>

    </ul>

    <!--NAME AND DESCRIPTION-->
    <div class="desc">
      <h3 id="fruitName">Welcome to FruityView</h3>
      <p id="fruitDesc">Please pick a fruit</p>
    </div>

  </div>


</body>

</html>

Reasons:
  • Blacklisted phrase (1): appreciated
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: lazher soldats

79664209

Date: 2025-06-12 23:56:23
Score: 3.5
Natty:
Report link

Its an old post but i had similar situation do posting the approach i took here

https://medium.com/@rchawla501/scaffold-identity-in-existing-aspnetcore-mvc-project-2c53159499b6

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
Posted by: Rasshme

79664204

Date: 2025-06-12 23:45:21
Score: 0.5
Natty:
Report link

I had a similar bug (The virtual environment found in seems to be broken) using poetry when running scripts with poetry run or poetry shell. In my case the issue was that the env variable VIRTUAL_ENV was set to an old environment I was previously using and was already deleted. Running unset VIRTUAL_ENV fixed the issue.

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

79664200

Date: 2025-06-12 23:39:19
Score: 1
Natty:
Report link

"go to your Repository SETTINGS, open Pages section on the left, and configure it to point to the GH-PAGES branch instead of the MAIN branch."

BAMM, that was my exact issue! Thank you for sharing

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chad

79664191

Date: 2025-06-12 23:18:15
Score: 1.5
Natty:
Report link

enter image description hereTo fix this issue

  1. Convert <left>, <data>, <right> tags → <div class="left">, etc.

  2. Update CSS grid-template-areas to use .left, .right, .data.

  3. Confirm hidden form has plain display: none; with no competing styles.

test.html

grid.css

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

79664178

Date: 2025-06-12 22:47:08
Score: 2
Natty:
Report link

There isn't a single parameter in the API call you could pass to an invitation BCC in Outlook. What you can do though is make multiple invites for the same event by making API calls iteratively with the same meeting information that updates the attendee email each time. This will let you create calendar events for each invitee that prevent them from viewing the emails of other recipients. Any updates to the event will also need to made iteratively to ensure all invites are updated. If you are not a developer this can be done using Salepager which lets you create BCC Outlook calendar invitations.

Reasons:
  • RegEx Blacklisted phrase (0.5): Any updates
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: calshare

79664164

Date: 2025-06-12 22:35:05
Score: 4
Natty:
Report link

You can now publish posts using the Snapchat API. Here is some info: https://www.ayrshare.com/complete-guide-to-snapchat-api-integration/

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

79664163

Date: 2025-06-12 22:35:05
Score: 2
Natty:
Report link

IAddressRepository is in the namespace Clients.IRepositories but AddressRepository is in Clients.Repositories(without the i) so it would be AddressRepository : IRepositories.IAddressRepository

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

79664161

Date: 2025-06-12 22:34:00
Score: 10 🚩
Natty:
Report link

I'm joining this thread because it's not working for me either. Does anyone have any ideas in the meantime? I've gone through the entire API regarding this accessibility, I've added it in various ways and clicking the "accessibility button" does nothing, it doesn't trigger anything.

Reasons:
  • Blacklisted phrase (1): any ideas
  • RegEx Blacklisted phrase (3): Does anyone have any ideas
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dawid Moskalczuk

79664154

Date: 2025-06-12 22:17:56
Score: 3
Natty:
Report link

im having exact same issue on laravel on my server i get the logs, but i also get this error trying to automate a response.

"response":{"error":{"message":"(#3) Application does not have the capability to make this API call.","type":"OAuthException","code":3,"fbtrace_id":"AV3dre69bePSZQP8odKyvhl"}}}

[2025-06-12 21:50:59] local.ERROR: Failed to send Instagram message {"error":"{\"error\":{\"message\":\"(#3) Application does not have the capability to make this API call.\",\"type\":\"OAuthException\",\"code\":3,\"fbtrace_>

public function verifyWebhook(Request $request)
    {
        
        $verifyToken = env('IG_VERIFY_TOKEN');
        Log::info('incoming  instagram webhook', ['payload' => $request->all()]);

        $mode = $request->get('hub_mode');
        $token = $request->get('hub_verify_token');
        $challenge = $request->get('hub_challenge');

        if ($mode === 'subscribe' && $token === $verifyToken) {
            return response($challenge, 200);
        }
    }


    public function handleWebhook(Request $request)
    {
        $data = $request->all();
        
        Log::info('handling ig webhook', ['data' => $data]);

        if (isset($data['object']) && $data['object'] === 'instagram') {
            foreach ($data['entry'] as $entry) {
                $instagramId = $entry['id'];

                $integration = Integration::where('integration_name', 'instagram')
                    ->where('integration_details->instagram_user_id', $instagramId)
                    ->latest()
                    ->first();


                if (!$integration) {

                    Log::error('No integration found for Instagram ID', [
                        'instagram_id' => $instagramId,
                        'integration_details' => $integration->integration_details ?? null
                    ]);
                    continue;
                }

               
                $slug = $integration->integration_details['slug'] ?? null;
                $accessToken = $integration->integration_details['page_access_token'] ?? null; //page access token 
                $igUserId = $integration->integration_details['instagram_user_id'] ?? null;

                // Check if the chatbot is allowed to respond on this integration
                $chatbotSetting = ChatbotSetting::where('slug', $slug)->first();

                if (!$chatbotSetting) {
                    Log::warning("No chatbot setting found for slug: $slug");
                    continue;
                }
                $userDataSettings = $chatbotSetting->chatbotUserDataSetting;


                if (!$userDataSettings || !isset($userDataSettings['social_media_integration_ids'])) {
                    Log::warning("No userDataSettings or social_media_integration_ids for chatbot slug: {$slug}");
                    continue;
                }

                // Ensure the IDs are strings for consistent comparison
                $allowedIntegrationIdsRaw = $userDataSettings['social_media_integration_ids'];
                Log::info("Allowed integration IDs for chatbot slug {$slug}: ", $allowedIntegrationIdsRaw);

                $allowedIntegrationIds = is_array($allowedIntegrationIdsRaw)
                    ? array_map('strval', $allowedIntegrationIdsRaw)
                    : [];

                $currentIntegrationId = (string) $integration->id;

                if (!in_array($currentIntegrationId, $allowedIntegrationIds)) {
                    Log::info("Integration ID {$currentIntegrationId} not authorized to respond for chatbot: {$slug}");
                    continue;
                }





                Log::info('ing webhook', ['slug' => $slug]);
                foreach ($entry['messaging'] as $event) {
                    if (isset($event['message']) && isset($event['sender']['id'])) {
                        $senderId = $event['sender']['id'];
                        $message = $event['message']['text'] ?? '';

                        $responseText = $this->generateAIResponse($message, $slug);
                        $this->sendInstagramMessage($senderId, $responseText, $accessToken, $igUserId);
                    }
                }
            }
        }

        return response('EVENT_RECEIVED', 200);
    }



    private function sendInstagramMessage($recipientId, $messageText, $accessToken, $igUserId)
    {
        $url = "https://graph.facebook.com/v22.0/{$igUserId}/messages?access_token=" . urlencode($accessToken);

        $response = Http::post($url, [
            'messaging_type' => 'RESPONSE',
            'recipient' => ['id' => $recipientId],
            'message' => ['text' => $messageText],
        ]);

        Log::info('Instagram message sent', [
            'recipient_id' => $recipientId,
            'message_text' => $messageText,
            'response' => $response->json()
        ]);

        if (!$response->ok()) {
            Log::error('Failed to send Instagram message', [
                'error' => $response->body(),
                'access_token' => substr($accessToken, 0, 6) . '...',
                'ig_user_id' => $igUserId
            ]);
        }
    }



Reasons:
  • RegEx Blacklisted phrase (1): i also get this error
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): having exact same issue
  • Low reputation (1):
Posted by: Innocent Josiah Patrick

79664141

Date: 2025-06-12 22:00:53
Score: 0.5
Natty:
Report link

You can follow what @yoduh suggested, and here is how you can send it to backend

const deliveryTime = ref(new Date());
const payload = reactive({
  DeliveryTime: deliveryTime.value,
});

watch(deliveryTime, (time) => {
  if (!time) return;

  const now = new Date();
  now.setUTCHours(time.hours);
  now.setUTCMinutes(time.minutes);
  now.setUTCSeconds(time.seconds || 0);

  payload.DeliveryTime = now.toISOString(); // "2025-06-12T00:49:00.485Z"

  // Optionally, format for MySQL datetime without timezone:
  payload.DeliveryTime = now.toISOString().slice(0, 19).replace('T', ' '); // "2025-06-12 00:46:00"
});
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @yoduh
  • Low reputation (0.5):
Posted by: Ebraheem Al-hetari

79664127

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

I discovered from a Linux Mint Forum topic that what I was missing is making sure the current user had sufficient permissions (the error messages gave me no indication that it was a permission issue, but turns out, it was).

I moved the command into a Bash script named setVolume.sh (making sure it has the correct permissions with chmod), with the user myuser being part of the group for /usr/bin/amixer:

sudo su - myuser
amixer -c 3 set PCM 50%

Then, I changed Go code to:

package main

import (
    "fmt"
    "log"
    "os"
    "os/exec"
)

func main() {
    setVolumeCommand := exec.Command("/bin/sh", "./setVolume.sh")
    setVolumeCommand.Stdout = os.Stdout
    setVolumeCommand.Stderr = os.Stderr
    setVolumeError := setVolumeCommand.Run()
    if setVolumeError != nil {
        log.Fatal(setVolumeError)
    }
}

Thanks for helping me figure this out!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: The-Coder-Who-Knew-Too-Little

79664122

Date: 2025-06-12 21:34:48
Score: 3
Natty:
Report link

For the benefit of those searching later, please see:

https://learn.microsoft.com/en-us/dotnet/api/system.net.http.httpclienthandler.automaticdecompression?view=netstandard-2.0

The HttpClientHandler.AutomaticDecompression Property should allow you to decompress received data.

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

79664109

Date: 2025-06-12 21:11:41
Score: 4.5
Natty:
Report link

is there any way to perform the miceadds::mi.anova function with a more complicated regression? I am performing with() for a cox proportional hazards survival regression and it keeps throwing errors when i try to use the above code to calculate the global p for one of my variables.

Reasons:
  • Blacklisted phrase (1): is there any
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is there any
  • Low reputation (1):
Posted by: Clare Grieve

79664105

Date: 2025-06-12 21:08:40
Score: 1
Natty:
Report link

As per @ChayimFriedman's comment, here is how to fix either attempt. Note that for attempt 1, in addition to removing the asterisk, it appears that you must add braces too.

    let mut map : BTreeMap<i32, HashSet<i32>> = BTreeMap::new();
    let mut value = HashSet::new();
    map.insert(1, value);

    // working attempt 1:
    map.entry(1).and_modify(|s| { s.insert(7);});

    // working attempt 2:
    let mut set = map.get_mut(&1);
    match set {
        Some(ref mut hashset) => {hashset.insert(77);},
        None => {},
    };
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @ChayimFriedman's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Andrew Kelley

79664103

Date: 2025-06-12 21:05:39
Score: 2
Natty:
Report link

Voice Search Optimization: The Next Big Thing in SEO

The way people search online is changing—and fast. As smart speakers, virtual assistants, and mobile voice technology become part of daily life, voice search is emerging as one of the most influential trends in digital marketing and SEO. For businesses that want to stay ahead of the curve, Voice Search Optimization is no longer optional—it’s the next big thing in SEO.

In this blog, we’ll explore what voice search is, why it matters, and how you can optimize your website to stay visible in this rapidly evolving search landscape.

What is Voice Search?

Voice search is the act of using speech, rather than typing, to search the internet. Users speak into devices like smartphones, smart speakers (Amazon Echo, Google Nest), or voice assistants (Siri, Alexa, Google Assistant) to ask questions or make requests.

For example:

Notice the difference? Voice searches tend to be longer, more conversational, and often framed as questions.

Why Voice Search Matters in SEO

1. Explosive Growth

According to multiple studies, over 50% of all searches are now voice-based. As smart home devices and mobile voice assistants become more common, this number is only expected to rise.

2. Mobile and Local Impact

Voice search is heavily used on mobile devices and often has local intent. People use it to find nearby services, stores, restaurants, and more. Optimizing for voice means you’re tapping into high-intent users who are ready to take action.

3. Changing Search Behavior

Voice queries are more natural and conversational. This shift is forcing marketers to rethink keyword strategies, focusing less on robotic phrases and more on how real people talk.

How to Optimize for Voice Search

Voice search SEO isn’t just traditional SEO with a twist—it requires a fresh approach. Here are the most effective strategies to get started:

1. Focus on Conversational Keywords and Questions

Voice search is all about natural language. Users speak in full sentences, often asking direct questions like:

What to do:

2. Create FAQ Pages

FAQ pages are perfect for voice search because they mirror how people ask questions out loud. Each question-and-answer pair can serve as a potential voice search result.

Tips:

3. Optimize for Featured Snippets

Voice assistants often pull answers directly from Google’s Featured Snippets (aka position zero). These are short, highlighted answers that appear at the top of the search results.

How to improve your chances:

4. Improve Your Local SEO

Since many voice searches are local (“Where’s the nearest gas station?”), local SEO is crucial.

Best practices:

The more accurate and complete your local listings are, the more likely your business will appear in voice search results.

5. Ensure Mobile and Page Speed Optimization

Voice search is most commonly used on mobile devices, so your website must be mobile-friendly and fast.

Checklist:

A slow or clunky site won’t just hurt your SEO—it can lead to user drop-offs, especially on mobile.

The Future of SEO Is Voice-First

Voice search is no longer a novelty—it’s a major part of how people interact with the internet. With the rise of smart speakers and AI-powered assistants, optimizing for voice is becoming essential to any comprehensive SEO strategy.

Brands that embrace this shift will:

Final Thoughts

Voice search optimization isn't about reinventing the SEO wheel—it’s about adapting to how people naturally communicate. By focusing on conversational keywords, structured content, mobile usability, and local presence, you’ll position your business to thrive in this voice-first future.

The question is no longer if voice search will impact your strategy—it’s how soon you’ll optimize for it with vizionsolution.

Reasons:
  • Blacklisted phrase (1): this blog
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Vijay Kumar

79664093

Date: 2025-06-12 20:50:35
Score: 0.5
Natty:
Report link

One thing that you probably need to do is to space out and stagger your pathfinding. Your agents likely do not need to recalculate the path every frame. If you're not ready to make a jump to DOTS and/or threading, you can still use coroutines on your agents to have them only recalculate the path every X milliseconds. And once you do that, I highly recommend to add a random factor so that they're not all recalculating on the same frame. If you forget to add that staggering, you will instead see periodic spikes in your profiler, possibly paired with stutters in the game, as every agent hits the recalculate together.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Sean Duggan

79664092

Date: 2025-06-12 20:47:35
Score: 2
Natty:
Report link

Try to change the termination from <CR> to <CR+LF> to resolve this error. I saw that this solved a different error, but worked for me to solved the (-1073807339).

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

79664076

Date: 2025-06-12 20:28:30
Score: 0.5
Natty:
Report link

I see you are using weather variable from component.ts file which is a global variable, and it's not defined separately for each item.

I have prepared a stackblitz demo - Click here to answer your query. Please check and let me know if you need anything else!

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

79664071

Date: 2025-06-12 20:18:27
Score: 0.5
Natty:
Report link

The problem was the depth in converting to JSON. The default is too shallow, so "self" was coming out as an object reference, not the string. Just need to add the -Depth flag with enough to get down to it.

| ConvertTo-Json -Depth 20
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Adam Winter

79664066

Date: 2025-06-12 20:17:27
Score: 5
Natty: 4
Report link

GREEK CAPITAL LETTER YOT really exists. Google it as proof. U037f

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

79664051

Date: 2025-06-12 20:00:22
Score: 0.5
Natty:
Report link

If the issue is in a (system supplied) pathlib module provided by Azure, just make sure you use your own Python and libs installation. This should be fairly straightforward when building and deploying a docker container.

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

79664041

Date: 2025-06-12 19:49:19
Score: 1
Natty:
Report link

Try

npm cache clean --force

It is used to clear the npm cache, which is an area where npm stores previously downloaded packages to reuse them later and speed up installations. Sometimes this cache can become corrupted or contain incomplete packages, which can cause crashes, infinite loops, or installation failures.

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rafael Colete

79664039

Date: 2025-06-12 19:47:14
Score: 9 🚩
Natty:
Report link

did you find the solution. I am also looking for this.

Reasons:
  • Blacklisted phrase (2): I am also looking
  • RegEx Blacklisted phrase (3): did you find the solution
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find the solution
  • Low reputation (1):
Posted by: Omer Khan Jadoon