79664894

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

There is a new feature in Marklogic 11 that relates to overflowing to disk in order to protect memory. It is only listed as an Optic feature. However, since optic is SPARQL under the hood, maybe the feature is kicking in and using disk.

The link below describes the feature and also various ways to see if it is being used.

https://docs.progress.com/bundle/marklogic-server-whats-new-11/page/topics/new-features-in-marklogic-11/adaptive-memory-algorithms-for-optic-sorts-and-joins.html

Reasons:
  • Blacklisted phrase (1): The link below
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: David Ennis -CleverLlamas.com

79664891

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

A third way to add to the answer of @kevin, is:
To recieve the value as String and set a validation-annotation. The validation-annotation could like:

@Constraint(validatedBy = {ValidEnum.EnumValidator.class})
@Target({TYPE, FIELD, TYPE_USE, PARAMETER})
@Retention(RUNTIME)
@Documented
public @interface ValidEnum {

    String message() default "your custom error-message";
    Class<?>[] groups() default {};
    Class<? extends Payload>[] payload() default {};
    Class<? extends Enum<?>> enumClass();

    class EnumValidator implements ConstraintValidator<ValidEnum, String> {

        protected List<String> values;
        protected String errorMessage;

        @Override
        public void initialize(ValidEnum annotation) {
            errorMessage = annotation.message();
            values = Stream.of(annotation.enumClass().getEnumConstants())
                           .map(Enum::name)
                           .toList();
        }

        @Override
        public boolean isValid(String value, ConstraintValidatorContext context) {
            if (!values.contains(value)) {
                context.disableDefaultConstraintViolation();
                context
                        .buildConstraintViolationWithTemplate(errorMessage)
                        .addConstraintViolation();
                return false;
            } else {
                return true;
            }
        }
    }
}

And use this newly created annotation to set on your class:

@Getter
@Setter
@NoArgsConstructor
public class UpdateUserByAdminDTO {
    private Boolean isBanned;
    private @ValidEnum(enumClass=RoleEnum.class) String role;
    private @ValidEnum(enumClass=RoleEnum.class, message="an override of the default error message") String anotherRole;
}

This way you get to reuse this annotation on whatever enum variable and even have a custom error for each of the different enums you want to check.

One remark: the annotation does not take into account that the enum may be null, so adapt the code to your needs

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @kevin
  • Low reputation (1):
Posted by: user2622219

79664888

Date: 2025-06-13 13:06:43
Score: 3.5
Natty:
Report link

You can find all the info to set a private container registry in the official documentation at https://camel.apache.org/camel-k/next/installation/registry/registry.html#kubernetes-secret

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

79664869

Date: 2025-06-13 12:50:39
Score: 2
Natty:
Report link

I know I'm late but there's probably still people out there facing the same issue. Loading cookies or your own user profile isn't working at all since chrome updated to 137. version

Best you can do is downgrade your chrome and hold the package to avoid auto updating it.

Down below is everything you need in order to fix it (Linux

# Delete current version of chrome
sudo apt remove -y google-chrome-stable --allow-change-held-packages

# Download and install old version of chrome / Hold chrome version
cd tmp
wget -c https://mirror.cs.uchicago.edu/google-chrome/pool/main/g/google-chrome-stable/google-chrome-stable_134.0.6998.165-1_amd64.deb
sudo dpkg -i google-chrome-stable_134.0.6998.165-1_amd64.deb
sudo apt -f install -y
sudo apt-mark hold google-chrome-stable

# Also download the correct chromedriver and install it
sudo rm -f /usr/local/bin/chromedriver
wget -c https://storage.googleapis.com/chrome-for-testing-public/134.0.6998.165/linux64/chromedriver-linux64.zip
unzip chromedriver-linux64.zip
sudo mv chromedriver-linux64/chromedriver /usr/local/bin/
sudo chmod +x /usr/local/bin/chromedriver

For undetected_chromedriver:

driver = uc.Chrome(driver_executable_path="/usr/local/bin/chromedriver", version_main=134, use_subprocess=True)

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: TheMysteryPanda

79664863

Date: 2025-06-13 12:47:38
Score: 2.5
Natty:
Report link

I was able to solve my issue by including the libraries from this repository:

Repository

If you're working with Qt on Android for USB serial communication, this library provides the necessary JNI bindings and Java classes to make it work. After integrating it properly, everything started working as expected.

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

79664858

Date: 2025-06-13 12:42:37
Score: 2.5
Natty:
Report link

Using the function app's managed identity (instead of a creating secret) is now available in preview, as documented in a section added recently to the article I mentioned in my question.

It works by adding the managed identity as a federated identity credential in the app registration. I implemented it in my azd template and it works like a charm (despite it is advertised as a preview at the date of this posting).

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Yvand

79664856

Date: 2025-06-13 12:42:37
Score: 0.5
Natty:
Report link

To force an update on Dockerfile image builds:

docker build --no-cache <all your other build options>

To force an update with docker compose

docker compose -f <compose file> up --build --force-recreate

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

79664852

Date: 2025-06-13 12:40:36
Score: 0.5
Natty:
Report link

To achieve this, I suggest using the tickPositioner function on the axis. You can make it to always return just one tick positioned at the center of the axis range.

API reference: https://api.highcharts.com/highcharts/xAxis.tickPositioner

Demo: https://jsfiddle.net/BlackLabel/63g80emu/

tickPositioner: function () {
    const axis = this;
    const range = axis.max - axis.min;
    const center = axis.min + range / 2;

    return [center];
},
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Dominik Chudy

79664832

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

you also check this:

certificateVerifier.setAlertOnMissingRevocationData(new LogOnStatusAlert(Level.WARN));

where you do:

certificateVerifier.setCheckRevocationForUntrustedChains(false);

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

79664831

Date: 2025-06-13 12:25:32
Score: 3.5
Natty:
Report link

Found the answer, there's an API call called list_ingestions that gives me field (IngestionTimeInSeconds) that I was searching for.

Thanks!

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

79664814

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

Your local dev NextJS version might be different from production.

do an upgrade on production to match the version you have in dev mode or localhost

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

79664807

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

Ok i finally figured it out. Here is a stripped down version of the code then ended working for me:

public async byte[] GetImage(string symbolpath)
{

    var getBitmapSizePath = symbolpath + "#<<ITcVnBitmapExportRpcUnlocked>>GetBitmapSize";
    var getBitmapPath = symbolpath + "#<<ITcVnBitmapExportRpcUnlocked>>GetBitmapImageRpcUnlocked";
    //see https://infosys.beckhoff.com/index.php?content=../content/1031/tf7xxx_tc3_vision/16954359435.html&id=
    var getBitmapSizeHandle = (await adsClient.CreateVariableHandleAsync(getBitmapSizePath, cancelToken)).Handle;
    var getBitmapHandle = (await adsClient.CreateVariableHandleAsync(getBitmapPath, cancelToken)).Handle;

    int status;
    ulong imageSize;
    uint width;
    uint height

    byte[] readBytes = new byte[20];
    byte[] sizeInput = new byte[8];

    var resultGetBitmapSize = await adsClient.ReadWriteAsync((uint)IndexGroupSymbolAccess.ValueByHandle, getBitmapSizeHandle, readBytes, sizeInput, cancelToken);

    //parse the result:
    using (var ms = new MemoryStream(readBytes))
    using (var reader = new BinaryReader(ms))
    {
        status = reader.ReadInt32();
        imageSize = reader.ReadUInt64();
        width = reader.ReadUInt32();
        height = reader.ReadUInt32();
    }

    //todo check resultGetBitmapSize and status on if it succeeded before continuing
    
    //now lets get the image

    //prep input 
    byte[] input = new byte[16];
    BitConverter.GetBytes(imageSize).CopyTo(input, 0);
    BitConverter.GetBytes(width).CopyTo(input, 8);
    BitConverter.GetBytes(height).CopyTo(input, 12);

    int imageBufferSize = 20 + (int)imageSize;
    byte[] buffer = new byte[imageBufferSize]; //todo use a shared array pool to limit memory use
    byte[] imageData = new byte[imageBufferSize];
    int imageStatus;

    var resultGetImage = await adsClient.ReadWriteAsync((uint)IndexGroupSymbolAccess.ValueByHandle, getBitmapHandle, buffer, input, cancelToken);

    //parse the result:
    using (var imageStream = new MemoryStream(imageDataArray))
    using (var imageReader = new BinaryReader(imageStream))
    {
        imageStatus = imageReader.ReadInt32();
        ulong byteCount = imageReader.ReadUInt64();
        imageReader.Read(imageData, 0, (int)byteCount);
    }

    //todo check resultGetImage and imageStatus to see if it was successful

    //clean up the handles
    await adsClient.DeleteVariableHandleAsync(getBitmapSizeHandle, cancelToken);
    await adsClient.DeleteVariableHandleAsync(getBitmapHandle, cancelToken);

    return imageData; //todo convert byte array to bitmap.
}

the main magic is that i needed to use ITcVnBitmapExportRpcUnlocked instead. This is documented here: https://infosys.beckhoff.com/index.php?content=../content/1031/tf7xxx_tc3_vision/16954359435.html&id=

Reasons:
  • Blacklisted phrase (0.5): i need
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: IT Hendriks

79664798

Date: 2025-06-13 11:56:25
Score: 3
Natty:
Report link

this is a more detailed answer of the one given by kungfooman

If you are using lutris:

enter image description here

Go to configure -> Turn on advanced toggle -> System options -> game execution -> Environment variables Click on Add and add

| MESA_EXTENSION_MAX_YEAR | 2002 |

enter image description here

and hit save

now you game will run hopefully.

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

79664793

Date: 2025-06-13 11:52:24
Score: 1
Natty:
Report link

I have used the official builds of ffmpeg 7.1 from here and it worked inside AWS Lambda running node22.

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

79664790

Date: 2025-06-13 11:51:23
Score: 4
Natty:
Report link

I use Laravel-ZipStream, it resolve all my problems !
Thanks !

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: vincent clerc

79664788

Date: 2025-06-13 11:49:22
Score: 2
Natty:
Report link
<soap:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <soap:Header>
      <Headers xmlns="urn:Ariba:Buyer:vrealm_2">
         <variant>vrealm_2</variant>
         <partition>prealm_2</partition>
      </Headers>
   </soap:Header>
   <soap:Body>
      <ContractRequestWSPullReply partition="prealm_2" variant="vrealm_2" xmlns="urn:Ariba:Buyer:vrealm_2"/>
   </soap:Body>
</soap:Envelope> i am not getting correct response any answer ?
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Naveen T

79664787

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

dart:html is deprecated.

Import the "web" package (https://pub.dev/packages/web) :

import "package:web/web.dart";

void navigate(String url, {String target = "_self"}) {
  if (target == "_blank") {
    window.open(url, "_blank")?.focus();
  } else {
    window.location.href = url;
  }
}

// In the current tab:
navigate("https://stackoverflow.com/questions/ask");
// In another tab:
navigate("https://stackoverflow.com/questions/ask", target: "_blank");
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ThomasG2201

79664786

Date: 2025-06-13 11:47:22
Score: 2.5
Natty:
Report link

@Volodymyr Petrovich

Even after splitting them, the error is still occuring, the weird behaviour is, it gives the error but at the same time it creates it successfully

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

79664785

Date: 2025-06-13 11:46:21
Score: 0.5
Natty:
Report link

If the price is coming as an integer but you wish to make it double why not parse it?

There could several ways but i suggest

{
      'mid': int mid,
      'icode': String icode,
      'name': String name,
      'description': String description,
      'price': num? price, // could be anything (int, double or null)
      'gid': int gid,
      'gname': String gname,
      'pic': String pic,
      'quantity': int quantity,
    } =>
      Product(
        mid: mid,
        icode: icode,
        name: name,
        description: description,
        price: price?.toDouble() ?? 0.0, // if null add default value else make it double
        gid: gid,
        gname: gname,
        pic: pic,
        quantity: quantity,
      ),

This way if price is null you get a default value while if it is int or double either way it will be converted to double.

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

79664756

Date: 2025-06-13 11:33:18
Score: 1
Natty:
Report link

If you want to develop an Android MDM app similar to MaaS360, the best place to start is with the Android Enterprise APIs and Device Policy Controller (DPC) framework. Google provides official documentation on Android Management APIs that cover device and app restrictions. Also, checking out open-source DPC samples can help understand how to implement app control features.

For a concise overview of Android device management concepts, there are some useful write-ups available online that explain how device management works on Android.

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

79664738

Date: 2025-06-13 11:09:12
Score: 0.5
Natty:
Report link

After removing Move.lock , I was able to deploy the whole package(all modules) again.

Not sure why individual module deployment did not work as below:

sui client publish ./sources/my_module_name.move --verify-deps
Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Russo

79664736

Date: 2025-06-13 11:06:11
Score: 2.5
Natty:
Report link

Make it *icon:upload[] Upload files*, to get the icon rendered inside the strong element.

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

79664726

Date: 2025-06-13 10:53:08
Score: 3.5
Natty:
Report link

cy.get('[id^="features-"]' will capture all id begins with "features-" value

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sławek Skrzypczak

79664701

Date: 2025-06-13 10:29:03
Score: 2.5
Natty:
Report link

The "twitch" in Safari likey happens because currentAudio.duration or currentAudio.currentTime can be unreliable right after play() starts. You can try adding a short delay before calling updateProgress(). I think that this gives Safari a bit of time to stabilize

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

79664686

Date: 2025-06-13 10:11:59
Score: 1.5
Natty:
Report link

Try asking the file from your colleague, and add it manually for yourself again. and Set its Build Action = GoogleServicesJson and clean everything and rebuild. It might be IDE's issue, which should get resolved if added file manually.

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

79664679

Date: 2025-06-13 10:07:58
Score: 3.5
Natty:
Report link

OpenCL helps you achieve this. You can start with OpenCL guides and documentation.

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

79664666

Date: 2025-06-13 09:56:55
Score: 1
Natty:
Report link

in my case,

change :

val option = GetGoogleIdOption.Builder()
    .setServerClientId(AppKey.Google.WebClientId)
    .build()

to:

val option = GetSignInWithGoogleOption.Builder(AppKey.Google.WebClientId)
    .build()

its work.

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

79664665

Date: 2025-06-13 09:55:54
Score: 1.5
Natty:
Report link

In my case the config file was causing trouble, deleting it from the project and rebuilding helped.

NLog.config
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: BirukTes

79664660

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

I have been clicking all over the screen in platformio and cannot find Debug Settings anywhere. Are there any clearer instructions please or a screenshot of precisely where to start looking?

Thannks

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

79664659

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

For fun, here's another attractor from the specialized literature “Elegant Chaos Algebraically Simple Chaotic Flows” chapter 4.1. This is the Nosé - Hoover oscillator.

Nosé - Hoover oascillator

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

79664648

Date: 2025-06-13 09:47:51
Score: 2
Natty:
Report link
  1. Right Click -> JRE System Library

  2. Go to Properties (At the last)

  3. Choose Workspace default JRE (jre) or any configuration that you want at Execution Env Dropdown.

  4. Click Apply and Close.

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

79664633

Date: 2025-06-13 09:35:48
Score: 0.5
Natty:
Report link

This was the code that fixed the issue for me. You can try this


.mdc-list-item.mdc-list-item--with-one-line{
    height: 1%;
}
::ng-deep .mdc-list-item__content{
    padding-top: 1%;
}
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Aqib

79664625

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

fixed this by updating jdk version

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

79664622

Date: 2025-06-13 09:24:45
Score: 3
Natty:
Report link

Delete the publishing profile and recreate it.

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

79664618

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

I also want to connect 2 apps through twilio voice feature in my android application with kotlin but I don't know will it work or not. If anyone has a code, to place a call and receive it in other application and vise versa through VoIP from Twilio kindly share.

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

79664612

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

Any luck in solving this issue?
I have encountered very strange behavior in iframe - app redirects in infinite loop.

Reasons:
  • Blacklisted phrase (1.5): Any luck
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Oleg Gavrilin

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