79370623

Date: 2025-01-20 08:08:36
Score: 2.5
Natty:
Report link

There is a SoundCloud app available in your Google Store. You can install it on your Android. You can also use Macsome Music One to download SoundCloud songs and playlists to MP3 so that you can transfer SoundCloud music to Android devices for playback.

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

79370608

Date: 2025-01-20 08:00:34
Score: 1
Natty:
Report link

i think separate tables is better .because you can right easy query and you dont need to fetch unwanted details for login etc

Separation of Concerns: By storing sensitive information like passwords in a separate table, you can apply stronger security measures, like encryption or hashing, without risking exposing non-sensitive user details.

Minimizing Risk: If a malicious actor gains access to the user information table, they will only have access to non-sensitive data (name, email, etc.). The passwords remain secure in the authentication table.

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

79370602

Date: 2025-01-20 07:58:34
Score: 1
Natty:
Report link

To search a file

(make sure to open cmd as admin):

forfiles /p C:\ /m myfile.pdf /s

here,

/p C:\: is starting path for the search,

/m myfile.pdf is your file name,

/s this searches all subdirectories.

To delete a file

del "myfile.pdf"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shantanu

79370600

Date: 2025-01-20 07:56:33
Score: 2.5
Natty:
Report link

we are using ImageMagick for image processing, when we create cmd object as following, it could start 1000+ IM convert process in one Server in high concurrent env. The IM convert process will be killed by Linux, and return exit code 137 error.

 ConvertCmd cmd = new ConvertCmd(false);

Are you able to release a similar PooledIMService for ImageMagick ?

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

79370597

Date: 2025-01-20 07:53:33
Score: 0.5
Natty:
Report link

I was facing the same issue.

I don't know why, but even if the beans.xml (the CDI deployment descriptor) is not required, it seems that putting it in your web application archive resolves the problem.

It should be located in the WEB-INF directory :

For a web application, the beans.xml deployment descriptor, if present, must be in the WEB-INF directory. For EJB modules or JAR files, the beans.xml deployment descriptor, if present, must be in the META-INF directory.

Introduction to Jakarta Contexts and Dependency Injection > Configuring a CDI Application

By convention, META-INF and WEB-INF folders are located under the webapp directory (Getting Started with Web Applications > The Web Application Archive > Building The Example Projects).

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

79370586

Date: 2025-01-20 07:48:32
Score: 1.5
Natty:
Report link

In your code snippet I see that your delete form is nested inside the update form. I assume that sometimes the wrong form gets triggered and that is causing the issue.

In the w3 docs you can read the following: "Note you are not allowed to nest FORM elements!"

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

79370582

Date: 2025-01-20 07:47:31
Score: 4
Natty: 5
Report link

Thank you for the script, confirmed it is working as a charm :).

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: yu law

79370581

Date: 2025-01-20 07:47:31
Score: 2.5
Natty:
Report link
  1. editing file /usr/share/filebeat/module/wazuh/alerts/ingest/pipeline.json

  2. apply changes

    sudo filebeat setup --pipelines

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

79370570

Date: 2025-01-20 07:43:30
Score: 2
Natty:
Report link

Most likely cause is that rate limits are applied per Ingress NGINX controller replica.

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

79370568

Date: 2025-01-20 07:43:30
Score: 1.5
Natty:
Report link

Is that "Pages" a folder of you site pages library? From the Get-PnPPage examples:

EXAMPLE 3

Get-PnPPage "Templates/MyPageTemplate"

Gets the page named 'MyPageTemplate.aspx' from the templates folder of the Page Library in the current SharePoint site

"pages" should be a folder of the Page library.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is that
  • Low reputation (0.5):
Posted by: Allen_MSFT

79370566

Date: 2025-01-20 07:42:30
Score: 0.5
Natty:
Report link

After a lot of tinkering, I finally figured out the solution myself.

There are two options:

Option 1: Save the file as a TXT instead of CSV. Then, open Excel (just Excel, not the file itself) ... and in Excel go to File -> Open and open the TXT file. There, you can specify a desired delimiter, and it will split the content into three columns.

Option 2: This is even simpler:
db2 "export to users.csv of del modified by coldel0x3b select userid, name, description from users"
This way, everything is done automatically. It directly writes the data into columns "A," "B," and "C."

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

79370547

Date: 2025-01-20 07:33:28
Score: 1
Natty:
Report link
Intent(Settings.ACTION_DATA_ROAMING_SETTINGS)

Supplying the result of the above into startActivity does it for me in Android 15.

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

79370539

Date: 2025-01-20 07:28:27
Score: 2
Natty:
Report link

Both approaches have the same time complexity of 𝑂(𝑛), but std::find_if is generally preferred for its clarity.In real-world scenarios, compilers optimize both approaches effectively,so the performance difference is often negligible.

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

79370538

Date: 2025-01-20 07:27:27
Score: 2
Natty:
Report link

You don't need UDP hole punching, just send a dummy load to server, because the packet has the source ip and port the server will figure the right port. Simply writing anything back will get back to udpcon you created

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

79370536

Date: 2025-01-20 07:25:27
Score: 1
Natty:
Report link

To create a context menu in a Vue 3 form for selecting adult and children guests, follow these steps:

Custom Input Component: Build a reusable Vue component for the input field. Use v-model to bind the values of adults and children to the parent form.

Add Context Menu: Implement a dropdown or popover (using a library like Vue3-Popper) that appears when clicking the input.

Emit Values: Use Vue’s emit to send the selected values (adult_guests and children) to the parent form.

Hidden Fields for Form Submission: Include hidden inputs to pass these values when the form is submitted to Laravel.

For expert guidance, check out Bizmia for Laravel and Vue development support. Let me know if you need further clarification!

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

79370527

Date: 2025-01-20 07:19:25
Score: 3.5
Natty:
Report link

nice but can be better if you followed the rules correctly

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

79370506

Date: 2025-01-20 07:09:23
Score: 4
Natty:
Report link

I would recommend you to use OAuth 2.0 to access sharepoint.You could refer to following article to use credentials.

https://medium.com/@martin-jurran/authentificating-with-oauth-2-0-to-sharepoint-online-rest-service-in-net-guide-ae0e984aa9dd

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: RaytheonXie-MSFT

79370501

Date: 2025-01-20 07:05:22
Score: 1
Natty:
Report link
enter code herein Game component 
const {stage, setStage } = useGame()

and pass setStage as prop to <Start setStage={setStage}/>

in Start component
const {setStage} = props
and in handleClick use this 

 const handleClick = () => {
        setStage(STAGE.PLAYING);
    };

it working and checked.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: rohit kesharwani

79370495

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

Not sure if I should close this question (if someone thinks I should please vote so). There seems to be a much simpler and out-of-the-box solution for awaiting a value from a publisher. It's not a exact one-to-one replacement for my requirement, but this works for my use case for now.

I just need to call .values and that would convert the publisher to a AsyncPublisher. One could iterate the async stream and apply logic to wait till the the requirements dictate

@MainActor
class ThingClass {
    
    let intPTS = PassthroughSubject<Int, Never>()
    var anyCancellables: Set<AnyCancellable> = []
    
    init() {
        
        Timer.publish(every: 5, on: .main, in: .common)
            .autoconnect()
            .sink { _ in self.intPTS.send(10) }
            .store(in: &anyCancellables)
    }
    
    func doSomething() async {

        for await num in intPTS.values {
            if num == 10 {
                break
            }
        }
        print("intPTS is 10 now!")
    }
}
Reasons:
  • RegEx Blacklisted phrase (1): I should please
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Aswath

79370493

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

You can check the data and time, And fix it.

for my case, time is incorrect, which is resolve after setting the right time.

I hope this will help a bit :)

Reasons:
  • Whitelisted phrase (-1): hope this will help
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dubey Ravi vinod

79370491

Date: 2025-01-20 07:02:21
Score: 1
Natty:
Report link

Oh, I just knew the problem. In Lua, we can not create keys from this source.

A_PRIVATE_KEY="w2UwuwmF9h5p02fnr3MkxtKoDTl8aTtJXqLbsPwbqPg="
B_PRIVATE_KEY="ZyoPMal0TZzNwDyUUE30iThXCKgPOthPaIN2qnOhkNs="

So, these syntaxes are wrong.

local a_key = openssl_pkey.new({
  type = "EC",
  params = {
    private = a_bn,
    group = "prime256v1"
  }
})
local b_key = openssl_pkey.new({
  type = "EC",
  params = {
    private = b_bn,
    group = "prime256v1"
  }
})

These AI-suggested syntaxes are also wrong.

local a_key = openssl_pkey.new({
  type = "X25519",
  curve = "prime256v1",
  private_key = a_decoded_key,
})

We need to convert the source to the PEM keys first. So, the correct source would be like this.

A_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nYOUR_CONTENT_HERE\n-----END PRIVATE KEY-----"
B_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\nYOUR_CONTENT_HERE\n-----END PRIVATE KEY-----"

Then, the correct Lua syntax would be like this.

local a_key = openssl_pkey.new(a_private_key)
local b_key = openssl_pkey.new(b_private_key)
Reasons:
  • Blacklisted phrase (1): ThX
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user29212913

79370488

Date: 2025-01-20 07:00:21
Score: 0.5
Natty:
Report link

I think I discovered the problem. This was in the POM.

<dependency>
    <groupId>com.google.endpoints</groupId>
    <artifactId>endpoints-management-control-appengine-all</artifactId>
    <version>1.0.14</version>
</dependency>

It seems to work when the version is changed to 1.0.15. I don't quite trust it yet. So, I'll have to work with it for a while longer.

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

79370484

Date: 2025-01-20 06:58:20
Score: 0.5
Natty:
Report link

Every time you use setCurrentBotId it causes a rerender for App component and it recreates a new instance of query client. To fix this, define the query client like below

const [queryClient] = useState(new QueryClient())
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: abolfazl shamsollahi

79370483

Date: 2025-01-20 06:56:20
Score: 1.5
Natty:
Report link

I've found the solution to my problem. Weld CDI did not scan my CDI annotated classes in dependent liantis-faces-layout JAR. Adding a beans.xml file in the META-INF directory solved the issue.

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

79370475

Date: 2025-01-20 06:50:19
Score: 1
Natty:
Report link
 <Bar
      width="100%"
      height={300}
      data={coloredData}
      margin={{
        top: 50,
        right: 30,
        left: 20,
        bottom: 5,
      }}
      activeBar={{ fill: "blue", opacity: 0.7 }}
    />

here I used activeBar prop to change the color of active bar when hovered

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

79370466

Date: 2025-01-20 06:46:18
Score: 4.5
Natty: 4.5
Report link

**EXP DP **

I WELL ME COME BACK

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

79370456

Date: 2025-01-20 06:41:16
Score: 0.5
Natty:
Report link

Does anyone have any suggestions? I don't understand why Azure adds these arbitrary container limits.

The container limits in Azure's backup and replication solutions, such as the 100-container limit for Vaulted Backup and the 1000-container limit for Object Replication, are not arbitrary, It is based on a combination of technical, scalability, and performance considerations that Microsoft has designed into the platform.

I agree Gaurav Mantri's comment, you can use Multiple Azure Storage Accounts to Stay Within Azure Limits for Backup.

The above approach balances scalability and compliance without requiring a complete restructuring of your system.

Reference:

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2): any suggestions?
  • RegEx Blacklisted phrase (3): Does anyone have any suggestions
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Venkatesan

79370450

Date: 2025-01-20 06:38:15
Score: 0.5
Natty:
Report link

Please check the token using https://jwt.io/ to see if any value is passed on the claims. If not, please add those claims while generating the token. We have shared the following details on how to fetch claims from the token.I hope this solution is okay for you.

var age =info.Principal.Claims.FirstOrDefault(x => x.Type == "").Value;

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

79370445

Date: 2025-01-20 06:36:15
Score: 3.5
Natty:
Report link

I have managed to fix it by putting „.WithNonce“ on the default src CSP as well.

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

79370444

Date: 2025-01-20 06:34:15
Score: 0.5
Natty:
Report link

Possible Causes:

  1. Incorrect Credentials: The username or password in the .env file does not match the credentials configured in the database server.

  2. Insufficient Privileges: The user solvrcyi_admin does not have the necessary privileges to access the database or perform the DELETE operation.

  3. Database Server Configuration:

    • The user solvrcyi_admin is not allowed to connect from the localhost host.
    • The database server may require a different host (e.g., % for any host).
  4. Password Encoding Issue: If the password contains special characters, they may need to be escaped or quoted in the .env file.

  5. MySQL/MariaDB Authentication Method: The user might be using an authentication method that is not compatible with the application (e.g., caching_sha2_password).

How to Resolve:

  1. Verify Credentials: Ensure that the username and password in the .env file match the credentials used to access the database manually (via a MySQL client or command line).

  2. Check Database User Privileges: Log in to the database as a root or admin user and verify the privileges:

    SHOW GRANTS FOR 'solvrcyi_admin'@'localhost';

    If privileges are missing, grant them:

    GRANT ALL PRIVILEGES ON your_database_name.* TO 'solvrcyi_admin'@'localhost' IDENTIFIED BY 'your_password'; FLUSH PRIVILEGES;

  3. Use the Correct Host: If the application runs on the same server as the database, use DB_HOST=127.0.0.1 or DB_HOST=localhost in the .env file. If on a different server, set DB_HOST to the database server's IP address or hostname.

  4. Escape Special Characters: If the password contains special characters, enclose it in quotes in the .env file:

    DB_PASSWORD="your_complex_password!"

  5. Verify Authentication Method: Ensure the user solvrcyi_admin is using a compatible authentication method (e.g., mysql_native_password):

    ALTER USER 'solvrcyi_admin'@'localhost' IDENTIFIED WITH mysql_native_password BY 'your_password';

  6. Test the Connection: Try connecting manually using the same credentials as in the .env file:

    mysql -u solvrcyi_admin -p -h 127.0.0.1

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

79370443

Date: 2025-01-20 06:34:15
Score: 3.5
Natty:
Report link

the mediasession delegate is supposed to run on the ui thread. You need the annotation @UiThread on it and also, I have noticed that the mediasession works when the app has notifications turned on and does not work while the notifications are blocked for the app.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @UiThread
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jash Asiamah

79370438

Date: 2025-01-20 06:29:14
Score: 3.5
Natty:
Report link

Solution provided by Gregg Browinski is work for me. Its a great help me and saves my time.

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sanjeev Pundir

79370434

Date: 2025-01-20 06:27:13
Score: 2
Natty:
Report link

In Delphi 12 you can write:

TPath.GetAppPath();

https://docwiki.embarcadero.com/Libraries/Athens/en/System.IOUtils.TPath.GetAppPath

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

79370430

Date: 2025-01-20 06:24:12
Score: 9 🚩
Natty: 5
Report link
Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (2.5): can you provide me some
  • RegEx Blacklisted phrase (3): can you help me
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ankit Kumar_17

79370428

Date: 2025-01-20 06:24:11
Score: 3
Natty:
Report link

in windows 11, i change keyboard layout type to ENG-US (not international )

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

79370425

Date: 2025-01-20 06:23:11
Score: 3
Natty:
Report link

Check in your code have you used this "//ignore: must_be_immutable" comment any where. If yes then remove it, because it prevent class to update it's state.

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

79370421

Date: 2025-01-20 06:20:10
Score: 1
Natty:
Report link

make a babel.config.cjs file at the root and add the below as the content

module.exports = {
    presets: [
        [
            '@babel/preset-env',
            {
                targets: {
                    node: 'current'
                }
            }
        ]
    ]
};

Trust me it works as magic!

Please upvote if it helped :)

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

79370418

Date: 2025-01-20 06:18:10
Score: 0.5
Natty:
Report link

I can reproduce the same 500 error when trying to add an AAD group to Project Collection Valid Users group. If you add an AAD group manually to this group, you will get the same 500 error in the UI. enter image description here

According to the official doc, this group contains all users and groups added anywhere within the collection. You can't modify the membership of this group. That is why you get 500 error.

enter image description here

It's suggested that you add your AAD group to other groups at organization level, whether a built-in group or your custom group.

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Ziyang Liu-MSFT

79370415

Date: 2025-01-20 06:17:10
Score: 0.5
Natty:
Report link
String rgbToHex(Color color) {
  return '${color.red.toRadixString(16).padLeft(2, '0')}${color.green.toRadixString(16).padLeft(2, '0')}${color.blue.toRadixString(16).padLeft(2, '0')}';
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Akhil George

79370400

Date: 2025-01-20 06:04:22
Score: 2.5
Natty:
Report link

I found that xvfb was running in different run block from pytest.

So running xvfb in same run block with pytest is the solution.

Thank you all..!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: yena

79370391

Date: 2025-01-20 05:59:21
Score: 1
Natty:
Report link

As noted in the breaking changes for Next.js 15, both page/layout params and searchParams will now be of type Promise<...>. This and other breaking changes can be found here: https://nextjs.org/docs/app/building-your-application/upgrading/version-15#asynchronous-page.

For your use case,

interface PageProps {
  params: Promise<{
    slug: string;
  }>
}

export default async function PropertyDetailPage({ params }: PageProps) {
  const { slug } = await params
  const property = await getPropertyBySlug(slug);
  ...
}

should do the trick!

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

79370380

Date: 2025-01-20 05:52:20
Score: 0.5
Natty:
Report link

This

.separator COL ,

is a misreading of the help.

You don't write literal COL and ROW. .separator COL ?ROW? means to put column separator first, then optionally row separator.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Matthew Hannigan

79370379

Date: 2025-01-20 05:51:18
Score: 10.5 🚩
Natty: 5
Report link

I`m trying to write upload service with Minio. I have everything Endpoints, accesskey, secretkey. When I try to upload something this exception is coming in this part of my code.

enter image description here

enter image description here

can someone help me to solve this?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (1.5): solve this?
  • RegEx Blacklisted phrase (3): can someone help me
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Anvar Hishimov

79370371

Date: 2025-01-20 05:47:15
Score: 9 🚩
Natty:
Report link

Can you share the code changes?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share the code
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you share the code
  • Low reputation (1):
Posted by: Prabhat Kumar singh

79370364

Date: 2025-01-20 05:42:14
Score: 1
Natty:
Report link

z.infer<typeof schema> will always resolve to the output of the provided zod schema (z.output<typeof schema>). Using z.input<typeof schema> i.e. useForm<z.input<typeof schema>>(...) will resolve to your expected types.

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

79370363

Date: 2025-01-20 05:42:14
Score: 1.5
Natty:
Report link

if you are using the web for react-native use this code inside your index.jsx or App.js

import { NativeWindStyleSheet } from "nativewind";

NativeWindStyleSheet.setOutput({
  default: "native",
});

source : https://github.com/nativewind/nativewind/issues/470

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

79370352

Date: 2025-01-20 05:27:10
Score: 1.5
Natty:
Report link

Have you ever used stencils to draw something? It makes it very easy to draw even complex objects. Now, imagine instead of using a stencil to draw with, you use one to pass over a drawing to see if you can find that object.

So if I had a stencil of a cat, I would pass that stencil over every part of the drawing to see if at any time the stencil passes over the shape of a cat, in other words, I would try to make this stencil "fit" over any cats drawn in the image.

Now, imagine the stencil can grow a little or shrink a little on any of its borders, so if a cat was a little smaller, or wider, or taller, etc... we could still "fit" over any cats.

To me, that is one of the most impressive mechanisms in neural networks, their ability to fit on top of complex patterns with a ability to change that fit using "bias".

But what if I need to fit over cats, ducks, horse and dogs? Things get complex quickly and the stencil may need to become much more complex. The activation function can let you create much more complex stencils by allowing the stencils to do things like add another dimension for your stencil so it can fit over much more complex spaces.

There are other useful mechanisms, such as, imagine a huge number of people, and each one had a statement and a number that rated how confident they were that the statement was true. Now Imagine that there are rows of these people, and each one in every row knew what every other person in the rows next to them statements and confidence were too. The speed and efficency of being able to cross check and consolidate information from person to all people in the row before and after them is a huge feat and benefit.

I like to think of things in simpler terms, in ways I can truly understand and relate to, and these types of analogies are helpful to me. So the people (neurons) line up in rows (layers), share information with each other (connections) and can make simple changes to a stencil (model's fit) so it fits over things easier. If the shapes the stencil needs to fit over are too complex for a simple 2d stencil, then it can use another trick (activation method) to allow the stencil to be much more flexible and complex, like adding another dimension, to the stencil.

The best book I ever read for having true insight into neural networks was "Building neural networks from scratch in Python". It is totally worth it even though it's a thick book.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Trevor Chandler

79370345

Date: 2025-01-20 05:24:09
Score: 2
Natty:
Report link

https://developers.google.com/analytics/devguides/config/admin/v1#user_permissions_management

I think this block is the API DOC you are looking for.

GA4_admin_api_User permissions management

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

79370335

Date: 2025-01-20 05:18:08
Score: 3.5
Natty:
Report link

For anyone seeing this after 2025. Facebook announced the depreciation of Instagram's basic display API more on this link. So we must use the new Instagram API with Instagram Login API:

setup Instagram api

Use that to set up a custom Instagram account for testing and generate an access token:

get access token

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Rasoul Salehi

79370334

Date: 2025-01-20 05:17:08
Score: 0.5
Natty:
Report link

I would like to make a case for BIGINT, converting ISBN-10 (which has a non-numeric check digit 1/11th of the time) to ISBN-13 before storing.

That will take eight bytes, whereas ISBN-10 will take ten bytes and ISBN-13 will take 13 bytes. With typical word-boundary padding, either ISBN will probably wind up taking 16 bytes.

The memory requirement isn't terribly important, but there may be a noticeable speed penalty to using a CHAR field.

Modern architectures can handle BIGINT math directly with one extra memory fetch. This means that searching and sorting will be faster. Put an index on that column, and it will be faster still. In fact, I use ISBN-13 as my primary key in my MariaDB Library database.

When I changed it from CHAR to BIGINT, I noticed about a 20% performance improvement.

Another nice thing about proper ISBN-13 is you don't have to concern yourself with leading zero-padding. I even found some some SQL code to validate the ISBN-13 check digit.

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

79370328

Date: 2025-01-20 05:11:06
Score: 0.5
Natty:
Report link

Yes, the kernel crashes because the solver is destroyed (out of scope) while you still hold references to its variables or try to call its methods. In Python, you must keep the solver or routing model in scope until you are truly finished with it. Returning (or storing) the solver object—or just returning raw solution data—avoids the crash.

This is a common pitfall when using OR-Tools in Jupyter notebooks (or any environment) if you structure your code so that the solver is a local variable in a function and you still want to inspect the variables afterward. The simplest fix is to either:

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Marc Escandell MaRI

79370319

Date: 2025-01-20 05:06:05
Score: 1
Natty:
Report link

Add or replace in build.gradle.kts (:app)

 packaging{
    resources{
        excludes += "META-INF/LICENSE.md"
        excludes += "META-INF/NOTICE.md"
    }
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kin Pong chan

79370314

Date: 2025-01-20 05:04:04
Score: 7.5 🚩
Natty: 6
Report link

I'm trying to enable multiple terminals so that when code blocks run a program, I could run it in one of the pane frames inside code blocks instead of it using my windows basic terminal output screen. in the pull down menu when selecting a terminal type, mine is greyed out so there is no pull down menu to select a terminal type. I downloaded c::b version 20.03. I used the installsetup.exe version file when downloading on windows 10.

could someone please help me with this?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Reggie Wherry

79370313

Date: 2025-01-20 05:03:03
Score: 4
Natty:
Report link

Simply add your site to google search console and navigate to Indexing. enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sense Insider

79370310

Date: 2025-01-20 05:00:01
Score: 5
Natty: 4.5
Report link

go to vs code setting and type 'select' and then simple un-check the Editor : column selection

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

79370305

Date: 2025-01-20 04:56:00
Score: 1
Natty:
Report link

The issue was that I had three separate subscription products (e.g., one month, three months, and one year), and users were switching between them. However, for the billing portal to handle subscription updates correctly, the subscriptions need to be part of a single product with multiple pricing tiers.

The correct approach is to have a single subscription product with all pricing tiers (e.g., one month, three months, one year) associated with it. Users should be allowed to change prices within the same product. If a user changes to a different product, the billing portal will process the change immediately instead of applying the correct "schedule at period end" behavior.

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

79370297

Date: 2025-01-20 04:46:58
Score: 1.5
Natty:
Report link

Let me take an attempt. Would love some feedback on this answer from the wider community as well :)

(1) Is there a way for the Reservations Service to query the User Service to check the user exists (eg REST endpoint)?

It might be an additional step to verify an event from a trusted source. You have an explicit concern around data inconsistency due to race condition, which is reasonable, and necessary to address. So a sync call is OK, especially if it is to a highly available, "fast" endpoint. As your systems/teams scale, it becomes harder for core services like reservations service in this case to trust all incoming requests.

(2) No it is not bad practice. This is a data retrieval mechanism done by HTTP calls. Events are needed to fire updates/do tasks asynchronously to enable additional throughput

RE: coupling

I don't think a synchronous call results in tight coupling. It surely creates dependency and reduces resilience (e.g. one service being down). But synchronous calls are reasonable architectural design :)

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Tejas Parnerkar

79370277

Date: 2025-01-20 04:29:55
Score: 1
Natty:
Report link

Looks like the latest version (v9.4.0) has moved this again to faker.string.uuid()

https://fakerjs.dev/api/string.html#uuid

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

79370272

Date: 2025-01-20 04:25:55
Score: 2
Natty:
Report link

Project IDX currently runs the apps on virtual emulator in browser but there is a thread(in IDX Community) related to running the application in physical device using FireBase App Distributions link:Firebase App Distributions which is mentioned in the IDX Community Post IDX Thread by the Maintainer Team member of Project IDX and you can get updates related to it there. But as of now there is no direct possibility of connecting physical device to the project idx workspace like traditional AVD in Android studio.

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

79370259

Date: 2025-01-20 04:17:53
Score: 3.5
Natty:
Report link

@exAspArk

i've having a play with Bemi using self-hosting deployed using docker and one issue i'm having is getting Bemi to work with postgres via SSL. There's no way to configure SSL connections. If there is a solution, it's not documented. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @exAspArk
  • Low reputation (1):
Posted by: Philip Wu

79370251

Date: 2025-01-20 04:08:52
Score: 1.5
Natty:
Report link

Finally, when you are building your test data, don't limit yourself to file/folder names with just the ampersand. Be sure to include additional test cases with the greater-than sign (>), the less-than sign (<), the vertical bar (|), unbalanced left and right parentheses "(" and ")", the cap/hat (^), the percent sign (%) - URLs are a favorite, and the exclamation point (!).
For non-file/folder name inputs, include test cases with both balanced and unbalanced quotation marks (") as well.

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

79370247

Date: 2025-01-20 04:07:50
Score: 12.5 🚩
Natty: 5.5
Report link

I'm facing the same issue. Were you able to get this resolved?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: alexfotopoulos

79370235

Date: 2025-01-20 03:56:48
Score: 2
Natty:
Report link

I gave up. I have reinstalled Eclipse from scratch (as I seem to do with every update), however, I have given up on it as my primary development environment, only using it for some legacy stuff, and installed VSCode (which most of my colleagues are using). I've always preferred Eclipse, but it's not worth the pain anymore.

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

79370231

Date: 2025-01-20 03:51:46
Score: 4.5
Natty:
Report link

Have you tried running with --force or --legacy-peer-deps?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eteen 12

79370211

Date: 2025-01-20 03:31:41
Score: 3
Natty:
Report link
  1. Is it technically doable? Yes, it is technically doable to bundle an executable into a Safari extension on macOS.

Apple's App Store has strict guidelines regarding the inclusion of executable files in extensions.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (1):
Posted by: Python_Decoder3

79370192

Date: 2025-01-20 03:05:36
Score: 1.5
Natty:
Report link

For me, my automation account didn't have access to the subscription I was trying to use in the runbook script. I went into the "Access control (IAM)" tab on the subscription of the resource I was trying to automate then made sure my automation account was set as a contributor (though a lesser role probably does it, I'm not sure which).

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

79370190

Date: 2025-01-20 03:03:36
Score: 3
Natty:
Report link

You need pass typeMap parameter to savedStateHandle.toRoute() function

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

79370180

Date: 2025-01-20 02:53:34
Score: 1
Natty:
Report link

I got this working with these versions:

kotlin = "2.1.0"
ksp = "2.1.0-1.0.29"
room = "2.7.0-alpha07"

There seems to be a bug introduced in versions of the room gradle plugin after version alpha07 (up to and including alpha12).

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

79370179

Date: 2025-01-20 02:52:34
Score: 1.5
Natty:
Report link

For Ubuntu 22.04 I use:

find_package(JPEG REQUIRED)
target_link_libraries(${PROJECT_NAME} JPEG::JPEG)

In capital letters, exactly.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Демьянов Максим

79370178

Date: 2025-01-20 02:52:34
Score: 2.5
Natty:
Report link

I have a copy of the SDK on my hard drive, so it was eventually made available. I can't remember how I got it. The .svn data in it points to the original source being https://ugobe.svn.cvsdude.com/pdk/trunk and the creator being user tylerwilson. Here is a list of all the files. As far as I can tell from Wikipedia, Jetta Company Limited is likely the owner of the Pleo IP, and I am uncomfortable making the SDK available without their permission. If someone has a contact at Jetta who might be able to help me get permission, I will be happy to make the SDK available.

Reasons:
  • Blacklisted phrase (1): help me
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Alexander Pruss

79370174

Date: 2025-01-20 02:46:32
Score: 12.5
Natty: 7.5
Report link

I'm also having the same problem, did you solve it?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm also having the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Founmous FoHL

79370173

Date: 2025-01-20 02:46:32
Score: 1.5
Natty:
Report link

If you look at your URL, you'll see it doesn't match anything in the screenshot of the CDN's available URL's.

Try this: https://cdnjs.cloudflare.com/ajax/libs/three.js/0.172.0/three.core.min.js

Did you get that malformed URL from the 'copy' button on the cloudflare site? If you did, you might need to report it as an error, it looks like they changed the way they construct the URL from the version number.

In future, you can also check an script source by just pasting the URL into the browser. It should open as plaintext javascript. If you do this with the busted URL you were using, you'll see that it returns a 404 page as HTML. This triggers a NS_ERROR_CORRUPTED_CONTENT warning as a <script> tag import, because HTML content is not valid javascript content.

Reasons:
  • Whitelisted phrase (-2): Try this:
  • RegEx Blacklisted phrase (3): Did you get that
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ooshp

79370171

Date: 2025-01-20 02:41:30
Score: 2
Natty:
Report link

CTRL + SHIFT + P and select Deno: Disable

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

79370170

Date: 2025-01-20 02:41:30
Score: 3
Natty:
Report link

Please see if the methods documented here are helpful to you.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Karley Zhou-MSFT

79370164

Date: 2025-01-20 02:31:29
Score: 3
Natty:
Report link

In the end I achieved the needed result using the Bouncy Castle library for c# because .Net Framework does not have an easy way to do it. https://github.com/bcgit/bc-csharp/discussions/592

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

79370163

Date: 2025-01-20 02:30:29
Score: 1.5
Natty:
Report link

I found the answer to this problem, read the docs and try the code for "separate client-server projects", that worked for me, of course if you want to see the field you are adding you should set the key "input" as true on the "additionalFields" object on you auth configuration object. https://www.better-auth.com/docs/concepts/typescript#inferring-additional-fields-on-client

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ricardo

79370160

Date: 2025-01-20 02:28:28
Score: 1
Natty:
Report link

It's easier, without the need to use a script from Vue

<img 
  :src="imageUrl || '/image-default.png'"
  @error="(e) => (e.target.src = '/image-default.png')"
/>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Azickri

79370158

Date: 2025-01-20 02:26:28
Score: 2
Natty:
Report link

add "#:~:text=aaaa,bbbb" at the end of your url.

This finds and highlights everything between aaaa and bbbb. However, some times it does not work... I'm trying to figure it out why.. And this is why I landed here!

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

79370143

Date: 2025-01-20 02:13:25
Score: 2
Natty:
Report link

Unless you have a very, very convincing reason to do so, passwords should never be sent back from an API endpoint, should never be decrypted, should never leave the database.

Using bcrypt as an example (since you mentioned it), a standard email/password authentication would roughly go:

  1. User creates account: the database ensures the email address is unique. The password is bcrypt hashed and stored. This is one-way hashing - information is lost in creating the hash, so it cannot be decrypted.*
  2. User logs in: they POST their email/password to the backend. The database looks up the user by email. The backend then bcrypt hashes the supplied password and checks if it matches the saved hashed password for that user. At no point is anything here decrypted or sent back.
  3. The user forgets their password: The user must reset their password via verified email. I'm assuming you've had to do this at some point - the reason almost all sites require a password reset, is a correctly stored, strong password CANNOT be recovered, not even by someone with database access.

There should only be three times that column is ever hit in the DB - creating an account, logging in with password, and resetting a password.

With all that in mind, is there any convincing reason your app needs such a massive security vulnerability? If there isn't, problem solved - you don't need to decrypt anything, the password column won't even be in your queries, and there shouldn't be any search slowdown.

* edit: technically it can still be cracked in other ways, but assuming a strong password, this needs an unrealistic amount of compute power/time

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

79370142

Date: 2025-01-20 02:12:25
Score: 2
Natty:
Report link

In Xcode 16, use the "Editor" menu (to the right of the "File" menu by several titles), then "Add Target". The visible list of targets that's initially seen has lots of entries, many of them unfamiliar; scroll that list down & "App" is available as a choice.

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

79370141

Date: 2025-01-20 02:10:24
Score: 2
Natty:
Report link

What about this approach?

=VSTACK(HSTACK("Singer","Sum",D1,E1),
SORT(VSTACK(HSTACK(B2:B3,D2:D3+E2:E3,D2:E3),HSTACK(C2:C3,D2:D3+E2:E3,D2:E3)),2,-1))

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What
  • High reputation (-2):
Posted by: Harun24hr

79370140

Date: 2025-01-20 02:09:24
Score: 1
Natty:
Report link

I'm using nuxtjs with tailwind module and have same problem, following steps work for me.

  1. Change tailwind.config.js to .ts, and replace @type {import('tailwindcss').Config} with satisfies Config like this.
import type { Config } from 'tailwindcss';
import colors from 'tailwindcss/colors';

export default {
  content: [],
  theme: {
    extend: {
      colors: {
        primary: { ...colors.sky, DEFAULT: colors.sky['500'] }
        //...
      }
    }
  },
  plugins: []
} satisfies Config;
  1. Other ts file that use config
import resolveConfig from 'tailwindcss/resolveConfig';
import tailwindConfigRaw from '@/tailwind.config';
const tailwindConfig = resolveConfig(tailwindConfigRaw);
tailwindConfig.theme.colors.primary.DEFAULT // hover will show: (property) DEFAULT: "#0ea5e9" 

hope this help :D

Reasons:
  • Whitelisted phrase (-1): hope this help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have same problem
  • Low reputation (0.5):
Posted by: bigiCrab

79370137

Date: 2025-01-20 02:05:23
Score: 1
Natty:
Report link

for classes you can assign any type inside in angled brackets <>

class testing<T>{
     T val;
     public testing(T val){
         this.val=val;
     }
}
... in the main:
testing<Integer> test = new testing(1);

this is similar to how you would do it in C++ with templates

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

79370132

Date: 2025-01-20 02:00:22
Score: 2.5
Natty:
Report link

timescale is slow. I don't think there is any way to improve this so far.

It may depend on the purpose, but I never recommend timescale as a time series DB.

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

79370128

Date: 2025-01-20 01:58:21
Score: 0.5
Natty:
Report link

CUDA Toolkit version 12.6 notes: https://docs.nvidia.com/cuda/nvjpeg/index.html#nvjpeg-decoupled-decode-api

Here I see there are two methods:

NVJPEG_BACKEND_HYBRID - Uses CPU for Huffman decoding.

NVJPEG_BACKEND_GPU_HYBRID - Uses GPU for Huffman decoding. nvjpegDecodeBatched will use GPU decoding for baseline JPEG images with interleaved scan when batch size is greater than 50. The decoupled APIs will use GPU assisted Huffman decoding.

I guess CUDA can do Huffman decoding using: NVJPEG_BACKEND_GPU_HYBRID.

Note: These two methods seems to be not part of the built-in JPEG hardware decoders (which are only found in enterprise GPUs), thus should be done via CUDA cores.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: S To

79370126

Date: 2025-01-20 01:57:21
Score: 0.5
Natty:
Report link

Solved my own question:

It was not correctly added, because the underlying product was not activated and made available to the storefront channel. My bad. So it adds the lineitem, but the persister->save() discards the item, but the controller still generates an AfterLineItemAdded event, as it is technically after adding a line item. This leads to the endless loop, as the cart still does not contain the product, trying to build it again, etc etc

All the methods above worked to add a LineItem into a cart, the error message "Invalid Product" on the cart was the relevant help.

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

79370121

Date: 2025-01-20 01:47:19
Score: 1.5
Natty:
Report link

having this same issue today with:

"expo": "~52.0.25",
"react-native": "0.76.6",
"expo-camera": "~16.0.12",
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Facundo

79370119

Date: 2025-01-20 01:45:19
Score: 2
Natty:
Report link

you can view it with

url =`https://lh3.googleusercontent.com/d/${fileId}=w500?authuser=0`
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 岡本孝志

79370114

Date: 2025-01-20 01:41:18
Score: 1
Natty:
Report link

I found the solution. Just need to execute rtsp_media.set_shared(True) in the do_configure callback.

https://gstreamer.freedesktop.org/documentation/gst-rtsp-server/rtsp-media-factory.html#GstRTSPMediaFactoryClass::configure

Reasons:
  • Whitelisted phrase (-2): I found the solution
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: 张金阳

79370113

Date: 2025-01-20 01:40:17
Score: 3
Natty:
Report link

I asked ChatGPT for advice on this and after initially suggesting a solution using regular expressions, I then asked it to refine the answer using nikic/php-parser and with a little tweaking I got a working response.

I can't post the result on Stack Overflow as it's against the site policy https://stackoverflow.com/help/gen-ai-policy but the short version of this is:

  1. Make a traverser that looks for Node\Stmt\ClassMethod nodes
  2. If the node has statements (i.e. a method body) and that node doesn't include a Node\Stmt\Return_ node then add it to a list
  3. Create a parser on the source to be inspected
  4. Make a traverser, and add the visitor mentioned above to the traverser
  5. Execute and dump results

Here's the working code: https://gist.github.com/gurubobnz/2ae85e5010158896789e75f3ea375803

There will be an issue here in that there is no execution guarantee of the return, e.g. if (false) { return []; } will still be considered a return, but it is good enough for me to make a start on my corpus of source files.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (1): stackoverflow.com/help
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: GuruBob

79370108

Date: 2025-01-20 01:38:17
Score: 1.5
Natty:
Report link

Generally doctrine isn't aware of what happened at the DB level after flush as entities are managed in memory, Calling $entityManager->clear(); resolves this issue by clearing the identity map, forcing Doctrine to fetch fresh data from the database for subsequent operations. https://stackoverflow.com/a/59970767/16742310

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

79370100

Date: 2025-01-20 01:28:15
Score: 7.5
Natty: 7.5
Report link

what does you cmake looks like? I am experencing the same issue: CommandLine Error: Option 'enable-fs-discriminator' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options

could you show me some hints?

Reasons:
  • RegEx Blacklisted phrase (2.5): could you show me some
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Starts with a question (0.5): what do
  • Low reputation (1):
Posted by: user29272331

79370084

Date: 2025-01-20 01:08:10
Score: 2
Natty:
Report link

"Starting with M115 the latest Chrome + ChromeDriver releases per release channel (Stable, Beta, Dev, Canary) are available at the Chrome for Testing availability dashboard. For automated version downloading one can use the convenient JSON endpoints." https://googlechromelabs.github.io/chrome-for-testing/

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

79370070

Date: 2025-01-20 00:57:08
Score: 2.5
Natty:
Report link

do this and then restart your phone, for me it works

If you would like to disable App Clips, go to Settings > Screen Time > Content & Privacy Restrictions > Content Restrictions, tap App Clips and select Don’t Allow. When you select Don’t Allow, any App Clips currently on your device will be deleted.

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

79370049

Date: 2025-01-20 00:52:07
Score: 3
Natty:
Report link

Try using a newer version of mypy (anything newer than 1.6)

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

79370022

Date: 2025-01-20 00:45:05
Score: 0.5
Natty:
Report link

After updating to a new version of Windows 11, I noticed that my mouse cursor was bugging out in areas of interaction with applications such as Notion, Unreal Engine, and Google Chrome.

The solution I found that gives the most "back to normal" fix was going into Settings -> Accessibility -> Mouse Pointer and Touch -> Mouse Pointer Style -> Custom (Fourth Option) -> White.

I hope this helps.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shamnas

79370018

Date: 2025-01-20 00:39:03
Score: 0.5
Natty:
Report link

There are several other characters in addition to ampersand that will cause batch scripts to fail if they are not guarded against. These include greater-than (>), which is the output redirect symbol; less-than (<), which is the input redirect symbol; vertical bar (|), which is the pipe symbol; left and right parentheses "(" and ")", which are used for statement grouping - especially if they are unbalanced, and cap/hat (^), the escape symbol itself.

If you are using the escaping technique, you will need to escape all of these characters.

If you are using quotations to surround the string in question, then any code which handles the ampersand properly will also handle all the others.

Add to that the percent sign (%) which designates batch variables, exclamation points (!) if you have delayed expansion enabled, and quotation marks if the string you are dealing with is not a Windows filename or folder name or path. Quoting may not be adequate for these characters, because the batch script interpreter searches within quoted string to perform substitutions. You may be able to deal with percent signs and quotation marks by doubling them rather than escaping them (I'm not sure why this would be better or worse).

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

79370011

Date: 2025-01-20 00:31:02
Score: 2
Natty:
Report link

Just "label" it where you want go back (In this case label the "main" statement). Then jump to the main by use the "label".

Here a example with pseudo-code, cause I've never used TASM / MASM:

@main

   code
   ...

@othercode1

   code
   ...
   jmp @main


@othercode2

   code
   jmp @main

References: It's based on my xp developing a small program in Assembly (NASM), where I needed go and come back to specific statement of the code.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: becauro

79370009

Date: 2025-01-20 00:28:01
Score: 1
Natty:
Report link

Turns out 85.10.196.124 http-redirects to [random-combination].edns.ip-api.com, which forces the DNS server set on my system to contact ip-api.com and resolve this domain, as it is not cached.

For some reason, Nekoray, which I use as VPN client, uses my ISP's DNS to do resolution. This allows ip-api.com website to track the DNS query and see my ISP's DNS IP. In Nekoray settings I have DNS set to dns.google, but it looks like for some reason it's not using it.

I'm gonna look into Nekoray's settings now to find the reason.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jimmy Falcon

79370007

Date: 2025-01-20 00:27:00
Score: 7 🚩
Natty: 4.5
Report link

I am also facing the same issue on my website https://rbtpracticetest.com/ . It's running on an OpenLiteSpeed server and PHP 8.3. How can I fix the error Warning The optional module, intl, is not installed, or has been disabled.

Reasons:
  • Blacklisted phrase (1): I am also facing the same issue
  • Blacklisted phrase (0.5): How can I
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Manav