79580610

Date: 2025-04-18 07:41:56
Score: 3.5
Natty:
Report link

I think the output:ASPM L0s L1 stands for the device support L0s and L1.

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

79580606

Date: 2025-04-18 07:36:55
Score: 0.5
Natty:
Report link
<dependencies>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-bootstrap</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.ai</groupId>
            <artifactId>spring-ai-starter-mcp-server-webflux</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.ai</groupId>
            <artifactId>spring-ai-starter-model-openai</artifactId>
        </dependency>
        <dependency>
            <groupId>com.alibaba.cloud</groupId>
            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
        </dependency>
        <dependency>
            <groupId>com.alibaba.cloud</groupId>
            <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
        </dependency>
    </dependencies>

After I modifying the dependency, it was successful

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

79580598

Date: 2025-04-18 07:32:54
Score: 1.5
Natty:
Report link

I stumbled this question today, Sharing my answer to help anyone else who comes across same issue.

networkMode should be changed from awsvpc to bridge in task-defintion. This would allow ports to get mapped from host to container. You can verify by issuing command docker ps - it should show ports column mapped. If you are still not able to access the application check your security group settings.

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

79580590

Date: 2025-04-18 07:25:53
Score: 1
Natty:
Report link

Following ChatGPT's advice, I implemented the PKCE flow for authentication while letting the server get the code at the last stage, and ask for the token itself to register the user in my DB. All while the Nuxt proxy is in place, and forwards API requests.

This worked out, and my authentication now works for Brave and Safari. However, the proxy led me to other issues. Due to the game nature of my app which requires websocket connections and fast interactions, that is hindered by the proxy. So I'm going to seek a solution to bring my API and frontend to the same domain.

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

79580589

Date: 2025-04-18 07:22:51
Score: 6 🚩
Natty:
Report link

Not getting this question answer i also have same problem

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i also have same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dhruv Lakkad

79580586

Date: 2025-04-18 07:20:51
Score: 3
Natty:
Report link

Choosing the right technology can define your project's success. you can check below blog for more details. https://multiqos.com/blogs/nodejs-vs-reactjs/

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

79580585

Date: 2025-04-18 07:19:50
Score: 5.5
Natty: 4
Report link

HI can u give me the sample code I am getting error while performing it

Validation error. error 80080204: App manifest validation error: Line 40, Column 12, Reason: If it is not an audio background task, it is not allowed to have EntryPoint="BGTask.ToastBGTask" without ActivatableClassId in windows.activatableClass.inProcessServer.

Reasons:
  • Blacklisted phrase (1.5): m getting error
  • RegEx Blacklisted phrase (2.5): can u give me
  • No code block (0.5):
  • Low reputation (1):
Posted by: user2566892

79580581

Date: 2025-04-18 07:16:49
Score: 2.5
Natty:
Report link

pip install openai==1.55.3 httpx==0.27.2 --force-reinstall

This installation solves error for me.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mahrukh Ali Khan

79580580

Date: 2025-04-18 07:15:49
Score: 2.5
Natty:
Report link

I am on maui 9.0 SR6, still have the same issue. But the issue filed on the maui reposotory is closed and locked. After some investigating, I found I have to remove the "CFBundleShortVersionString" from "Platforms/iOS/Info.plist", then everything works as expected. This behaviour is not documentd here: https://learn.microsoft.com/en-us/dotnet/maui/ios/deployment/publish-cli?view=net-maui-9.0

    <key>CFBundleShortVersionString</key>
    <string>x.x.x</string>
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): have the same issue
  • Low reputation (0.5):
Posted by: hugebug4ever

79580578

Date: 2025-04-18 07:11:48
Score: 1
Natty:
Report link

The issue is likely in how you're establishing the WebSocket connection to the Rust backend. When using ws in Node.js environment (your Next.js API route), the headers need to be passed differently than what you have in your code.

  1. In your Next.js handler, you're creating a WebSocket connection like this:

const socketRust = new WebSocket(wsUrl, { headers: { api_key: token, }, });

But the ws package in Node.js expects headers to be passed differently when used on the server side.

Try modifying your code like this:

const socketRust = new WebSocket(wsUrl, { headers: { 'API-Key': token, // Make sure case matches what your Rust server expects } });

If that doesn't work, another approach is to use the request option:

const socketRust = new WebSocket(wsUrl, { rejectUnauthorized: false, // Only for development! headers: { 'API-Key': token, } });

Also, check if your Rust backend expects the header to be "api_key" or "API-Key"

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

79580571

Date: 2025-04-18 07:06:47
Score: 3.5
Natty:
Report link

Unfortunately, they removed that feature from the C# Dev Kit extension.

https://github.com/dotnet/vscode-csharp/issues/8149#issuecomment-2787688204

Maybe they will return it with https://github.com/dotnet/vscode-csharp/pull/8169

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

79580565

Date: 2025-04-18 06:58:44
Score: 5
Natty: 5
Report link

When i uninstall tensorflow 2.15.0 and keras 2.15.0 and then first install tensorflow and then install keras the problem resolved. Maybe first install keras will cause tensorflow.keras not install properly?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): When i
  • Low reputation (1):
Posted by: Chuyang

79580564

Date: 2025-04-18 06:57:44
Score: 3.5
Natty:
Report link

Please disregard..error was pretty clear..upgrading commons-io to latest version fixed the issue

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

79580560

Date: 2025-04-18 06:57:44
Score: 4
Natty: 4
Report link

in case of updating to puppeteer 23 https://github.com/puppeteer/puppeteer/issues/13209#issuecomment-2428346339

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

79580554

Date: 2025-04-18 06:52:43
Score: 2.5
Natty:
Report link

Yes, it works perfectly fine on the real phone.

The problem was with the emulator, specifically the build architecture was not fully supported by the emulator and the corresponding message was in the output which I was ignoring all the time :(

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

79580553

Date: 2025-04-18 06:47:42
Score: 0.5
Natty:
Report link

In AngularJS, you can pass parameters through routes using the $routeProvider service by including a colon (:) followed by the parameter name in the URL path.

👉 Example:

$routeProvider
  .when('/user/:userId', {
    templateUrl: 'user.html',
    controller: 'UserController'
  });

In this example, :userId is a route parameter. You can access it in your controller using $routeParams:

app.controller('UserController', function($scope, $routeParams) {
  $scope.userId = $routeParams.userId;
});

This allows you to dynamically handle data based on the URL, such as loading a specific user’s profile.


🔗 Want to Build Scalable Apps with AngularJS?

If you're developing or maintaining AngularJS applications and need expert help, check out our AngularJS development services to learn how we can support your business with scalable, clean, and efficient solutions.

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

79580548

Date: 2025-04-18 06:42:40
Score: 7.5 🚩
Natty:
Report link

Have you solved the problem? I encounter the same issue.

Reasons:
  • Blacklisted phrase (1.5): Have you solved the problem
  • RegEx Blacklisted phrase (1.5): solved the problem?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30306021

79580544

Date: 2025-04-18 06:33:38
Score: 3
Natty:
Report link

As of today (April 2025), VSCode now includes built-in Git Blame support — you just need to enable it in the Settings.

https://github.com/microsoft/vscode/issues/205424#issuecomment-2504143954

enter image description here

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

79580529

Date: 2025-04-18 06:21:35
Score: 12
Natty: 7.5
Report link

Hey did you get any solution regarding this ?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): did you get any solution
  • RegEx Blacklisted phrase (2): any solution regarding this ?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: KaranKataria77

79580528

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

Your current project seems to be upgraded from an older Teams Toolkit project. You could download the latest project from https://github.com/OfficeDev/teams-toolkit-samples/tree/dev/bot-sso and see whether it works.

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

79580527

Date: 2025-04-18 06:19:34
Score: 4
Natty:
Report link

when set value to variable , but it doesn't work

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

79580518

Date: 2025-04-18 06:11:31
Score: 7.5 🚩
Natty: 6
Report link

видимо никак, либо тут недостаточно опытные разработчики сидят

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: eeeMan

79580514

Date: 2025-04-18 06:07:30
Score: 1
Natty:
Report link
  1. Yes this is expected behaviour

  2. only one VirtualService can be applied per host, and if there are multiple VirtualService resources for the same host, Istio will pick one arbitrarily, leading to unpredictable behavior

  3. You must combine the main and feature routing logic into a single VirtualService per host.

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

79580509

Date: 2025-04-18 06:05:30
Score: 5.5
Natty: 6.5
Report link

Have you got the solution? 'cause I am also stuck in a similar situation

Reasons:
  • RegEx Blacklisted phrase (1.5): I am also stuck
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sameed Malik

79580496

Date: 2025-04-18 05:58:28
Score: 1
Natty:
Report link

It seems that your protobuf version is incompatible with TensorFlow 2.0. You can check if you're using version 3.6.0. If not, try running:

pip uninstall protobuf
pip install protobuf==3.6.0

Then run again your code

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

79580492

Date: 2025-04-18 05:56:27
Score: 2
Natty:
Report link

I opened square brackets instead of curly braces as my useEffect function

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

79580487

Date: 2025-04-18 05:52:26
Score: 1
Natty:
Report link

If you don’t want to change the global php.ini, add this line at the top of the controller method or inside your route:

ini_set('max_execution_time', 300); // 5 minutes

Eg:

public function longRunningTask()
{
    ini_set('max_execution_time', 300);

    // Your heavy process here
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dhanush J.A

79580474

Date: 2025-04-18 05:40:23
Score: 2.5
Natty:
Report link

If your using angualr18 version then Please use *@microsoft/signalr:"8.0.0"**version.I migrated my project from 14 to 18 which inclues module federation also.I thought it was federation issue when I used @microsoft/signalr:"8.0.7" when I user @microsoft/signalr:"8.0.0" then issue resolved.

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

79580448

Date: 2025-04-18 05:09:16
Score: 1
Natty:
Report link

I am trying to pass list of columns into the dataflow and do a column match but it's throwing the error - Column functions are not allowed in constant expressions

for this I tried to work around first of all there are few things which you need to cross check few things. byName() is a column function, and $columnList is a parameter (constant expression) — and ADF doesn’t allow mixing these in a direct boolean expression inside the column pattern rules or derived column mappings. Below is the error you are getting when I tried to do the same way you did.

enter image description here

First cross check your dataset connection is successful. Make sure you checked first row as header.

enter image description here

Then in the derived column use the below expression.

enter image description here

You can check the output.

enter image description here

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shraddha Pore

79580442

Date: 2025-04-18 04:58:14
Score: 0.5
Natty:
Report link

The error is in the following line:

elif message.text.lower() == 'hello' or 'hi':

This statement is always true as @Klaus has pointed out. This is coz message.text.lower() == 'hello' and 'hi' are two separate conditions. The second one(‘hi’) is always true since it’s just a string and the Boolean value of a non-empty string in Python is True. To make the statement work, change the aforementioned line to:

elif message.text.lower() == 'hello' or message.text.lower() == 'hi':
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Klaus
Posted by: Dinux

79580441

Date: 2025-04-18 04:57:14
Score: 2.5
Natty:
Report link

The solution that solved my issue was not only setting logfile as empty string (logfile "") in redis.conf, but also setting the daemonize field to no (daemonize yes --> daemonize no) in redis.conf as well.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Макс Чубаров

79580438

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

I've also encountered a similar issue. Upon troubleshooting, I discovered that the Background Intelligent Transfer Service (BITS) had stopped. Once I restarted this service, my problem was resolved.

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

79580428

Date: 2025-04-18 04:32:08
Score: 2
Natty:
Report link

In the system where you wish to generate these JSONs, do you have access to the terraform binary itself, and are you able to include the terraform.io/builtin/terraform provider to your configuration? If yes, you could do something elegant, like this:

First add the terraform provider:

terraform {
  required_providers {
    terraform = {
      source = "terraform.io/builtin/terraform"
    }
  }
}

Then use this to get your JSON, which you can then pipe to a file as required:

echo 'jsonencode(provider::terraform::decode_tfvars(file("${path.module}/PATH-TO-FILE.tfvars")))' | \
    terraform console | \
    jq -r | \
    jq

The usage of jq is optional - it is used twice as the output of terraform console is a stringified JSON, so the first jq -r converts the string to a parseable JSON.

This makes use of the decode_tfvars function provided by terraform, which converts the contents of a .tfvars file to a terraform object.

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have a
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: hexbioc

79580425

Date: 2025-04-18 04:30:07
Score: 6.5 🚩
Natty: 5.5
Report link

i found the blob image and it still just plain text, can someone helps me :<

Reasons:
  • RegEx Blacklisted phrase (3): can someone help
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: An Lê Thành

79580424

Date: 2025-04-18 04:30:07
Score: 1
Natty:
Report link

I managed to comprehensively break Python and grub in my install of Mint 22 due to first messing with various Python versions, then attempting to update grub in order to give me a text-only login. The machine simply wouldn't boot following this.

Booting from a live USB image and chrooting to reinstall/update grub would not work as the Python version was different, removing all Python links in update-alternatives further broke it.

This post gave me enough clues to restore from the live login without having to completely re-install, (thanks @maxirodr) however I found it necessary to make the following minor changes:

Step 1 - as posted (but with the requisite version of Python):

apt-get download libpython3.12-minimal
apt-get download python3.12-minimal
apt-get download python3-minimal
apt-get download libpython3.12-stdlib
apt-get download python3.12

Step 2 - I did not remove the existing python3.12 directory but did clear all python versions in update-alternatives. This may or may not be a good idea for anyone reading this, _be careful_:

update-alternatives --remove-all python3
hash -r  # removes cached python3 binary path

Step 3 - just directly install the packages

dpkg -i libpython3.12-minimal_3.12.3-1ubuntu0.5_amd64.deb
dpkg -i libpython3.12-stdlib_3.12.3-1ubuntu0.5_amd64.deb
dpkg -i python3.12-minimal_3.12.3-1ubuntu0.5_amd64.deb
dpkg -i python3.12_3.12.3-1ubuntu0.5_amd64.deb
dpkg -i python3-minimal_3.12.3-0ubuntu2_amd64.deb

Step 4 - not required

Step 5 - as posted (although all I did was to check I got the python prompt ok)

Step 6 - not required

Steps 7-9 - as posted.

I was then able to update grub correctly from the live login and boot back into the machine proper.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @maxirodr
  • Low reputation (1):
Posted by: Eeyore

79580423

Date: 2025-04-18 04:29:06
Score: 11.5 🚩
Natty: 5.5
Report link

hey guys i cant get my legend to be just a little smaller right now it is the size of africa can you help me please my assignment is due tomorrow

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can you help me
  • RegEx Blacklisted phrase (2): help me please
  • RegEx Blacklisted phrase (1): hey guys
  • RegEx Blacklisted phrase (1): i cant get my legend to be just a little smaller right now it is the size of africa can you help me please
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lebanon Pirate Looter

79580419

Date: 2025-04-18 04:20:04
Score: 2
Natty:
Report link

github is not accepting normal username-password login. What it needs is username and api token instead of password. Go to github website's settings and issue an api token that needs to be inserted on the password prompt.

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

79580418

Date: 2025-04-18 04:19:03
Score: 1.5
Natty:
Report link

I've been trying to find out if it's possible to parameterize the linked service in an Azure Data Factory (ADF) dataset, similar to how we can parameterize the table name and schema name in a SQL Server dataset. Is there a supported way to do this?

You cannot directly parameterize the linked service inside a dataset,but we can achieve dynamic linked service selection by creating a parameterized linked service. Creating a dataset that passes parameters to that linked service. enter image description here Add the parameters as well. and test the connection.

enter image description here

When you create a dataset Create it using the parameterized linked service Now it will ask you to add value for server name and database name. When you assign this dataset in a pipeline activity, ADF will ask you to pass values for the linked service parameters

enter image description here

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

79580413

Date: 2025-04-18 04:12:02
Score: 0.5
Natty:
Report link

I found the cause of issue and fix as well.
The problem was while I was running kubectl command, the kubeconfig was trying to generate the access token on the fly for which ssm was not having required access.
As soon as I hardcoded the token value in script, it started working from system manager run command as well.
Now the only problem I had is token expires every 15 min, which I can update every time I run the script, within the script itself.
Hope this helps!!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: vinit kumar

79580409

Date: 2025-04-18 04:02:00
Score: 4
Natty: 5
Report link

These three commands work for me too, but shutdown and restart the system.Thanks!

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

79580403

Date: 2025-04-18 03:49:57
Score: 1
Natty:
Report link

It looks like the stylesheet loaded from javascript (or maybe iframe - if exists).

To reproduce the source loaded, you can do the following:

  1. Open Inspector > Network
  2. Click Filter Box and type example.com (or what ever the problem url error occured)
  3. Force Reload the page (ctrl + shift + r)
  4. Select the filtered with url example.com, click / select, and the right section will appear, and then select the initiator.

You could find what caused css to loaded as is and trace it

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

79580401

Date: 2025-04-18 03:49:57
Score: 0.5
Natty:
Report link

I feel it's important to step in here, speaking as a former PokerStars Game Integrity specialist. First and foremost, let's clarify and not confuse a few key concepts:

1st Place — Player XXX — $400
2nd Place — Player YYY — $350
3rd Place — Player ZZZ — $290

These leaderboards are generated and displayed after each tournament and are intended to be transparent, both for the benefit of the player community and for maintaining game integrity. (And yes — boos to GGPoker for choosing to obscure this essential information.)


It’s crucial to understand the core difference between SharkScope and sites like PokerTableRatings (PTR).

SharkScope's primary focus is — and always has been — the aggregation and analysis of public tournament results, not individual hand histories. The site provides tools that help players evaluate long-term performance, study profitability trends, and detect patterns that could suggest suspicious or unfair play (e.g., collusion, chip dumping, or multi-accounting). This is accomplished through statistical analysis of tournament placements and winnings, all sourced from public leaderboards.

In contrast, PokerTableRatings (PTR) operated by harvesting and distributing hand histories, often gathered via questionable or outright unauthorized methods. This kind of data collection raised serious ethical and privacy concerns and was a clear violation of many poker platforms' terms of service.

To summarize:

It's essential not to confuse the two, as their methods, purposes, and ethical standings are fundamentally different. SharkScope is built on transparency and the responsible use of publicly available data to improve both player knowledge and game integrity.

Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Erick Elban

79580400

Date: 2025-04-18 03:48:57
Score: 1.5
Natty:
Report link

I found a solution

If you add a @Sendable the warning will disappear

func foo()async throws {
      let ctx = NSManagedObjectContext(concurrencyType: .privateQueueConcurrencyType);
      //..
      try await ctx.perform{ @Sendable in // warning disappear
        if ctx.hasChanges {
          try ctx.save();
        }
      }
    }
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Sendable
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: john07

79580398

Date: 2025-04-18 03:37:55
Score: 1
Natty:
Report link

Once you've deployed a new version of your assets your can invalidate those cached files. This can be done by specifying the exact file name and path or using the * wildcard to match multiple files in a directory. Do note, the * wildcard only works at the end of the string and is taken as a literal when used anywhere else.

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

79580390

Date: 2025-04-18 03:24:52
Score: 4.5
Natty:
Report link

im using this timer hope my comment will help other who need https://tempmailusa.com/10minutetimer/

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

79580374

Date: 2025-04-18 03:04:47
Score: 9 🚩
Natty: 4
Report link

I am facing same issue. I have a script placed on a server. Server already has kubectl and aws cli installed.

WHEN SCRIPT IS EXECUTED WITH AWS SSM
script runs eks update kubeconfig and then kubectl command, which fails with below error:
ERROR-------

E0417 15:54:14.627818 31772 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"http://localhost:8080/api?timeout=32s\": dial tcp 127.0.0.1:8080: connect: connection refused"

The connection to the server localhost:8080 was refused - did you specify the right host or port?

WHEN SCRIPT IS EXECUTED DIRECTLY FROM SERVER, IT PASSES THROUGH.

Note: the user in both case is root that is checked with whom.
Please help me if you found a solution.

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): if you found a solution
  • RegEx Blacklisted phrase (3): Please help me
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: vinit kumar

79580369

Date: 2025-04-18 02:55:45
Score: 2
Natty:
Report link

I don't have enough reputation to add a comment to VAS's comment, so I have to add "an answer" here to remind people reading this page.

The kubectl proxy and the kubectl port-forward don't work the same way.

To be short, kubectl proxy requires the Kube-apiserver access resources like pod/node/svc via clusterIP.

And port forward requires the Kube-apiserver coordinates with kubelet to forward the traffic.

Such difference will cause different user experience in some Serverless K8s Distribution.

Reasons:
  • RegEx Blacklisted phrase (1.5): I don't have enough reputation
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 陈建谟

79580360

Date: 2025-04-18 02:38:41
Score: 3.5
Natty:
Report link

you can import jwt for that, it helps guard the user and admin differently

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

79580355

Date: 2025-04-18 02:34:40
Score: 3.5
Natty:
Report link
<style>
    #shownumber {
        border-radius: 50%;
        border: 5px solid #F10A0E;
        color: #F10A0E;
        font-size: 30px;
        width: 80px;
        text-align: center;
        position: absolute;
        margin-top: -25px;
    }

    label {
        font-size: 17px !important;
    }

    .hiclass {
        background-color: rgb(51, 144, 255);
        color: white
    }
</style>
<h5 class="text-left battambang text-bold">{{ $campus ?? 'គ្រប់សាខាទាំងអស់' }}</h5>
<h5 class="text-center muol">ចំនួននិស្សិតចុះឈ្មោះប្រចាំថ្ងៃ​</h5>
<h6 class="text-center battambang text-bold">គិតត្រឹមថ្ងៃទី:{{ dateFormat($from_date) }} ដល់ {{ dateFormat($to_date) }}</h6>
<h6 class="text-center battambang text-bold">ថ្ងៃបោះពុម្ភ: {{ date('d-m-Y h:i A') }}</h6>
<h6 class="text-center battambang text-bold" style="text-align: left !important;">System:0025</h6>
<table class="table-report table-report-boder">
    <div id="main_chart" style="height: 500px; width: 100%; margin-top: 30px;"></div>
</table>
<table align="center" width="98%" style="font-size: 14px; line-height: 25px; margin-top: 20px;">
    <tbody>
        <tr style="text-align: center;">
            <td width="25%"></td>
            <td width="20%"></td>
            <td width="70%" nowrap="nowrap"><span id="khmer-lunar-date"></span></td>
        </tr>
        <tr style="text-align: center;">
            <td></td>
            <td></td>
            <td>រាជធានីភ្នំពេញ, @khmer_date(date('Y-m-d'))</td>
        </tr>
        <tr style="text-align: center;">
            <td>បានឃើញនិង ឯកភាព</td>
            <td>បានពិនិត្យ</td>
            <td>អ្នកធ្វើតារាង</td>
        </tr>
    </tbody>
</table>
<script>
    $(document).ready(function () {
        var chartDom = document.getElementById('main_chart');
        var chart = echarts.init(chartDom);
        var labels = @json($dailyLabels).map(function(dateStr) {
            return convertDate(dateStr);
        });
        var option = {
            title: {
                text: 'ចំនួននិស្សិតចុះឈ្មោះប្រចាំថ្ងៃ',
                left: 'center',
                top: 10,
                textStyle: {
                    fontSize: 18,
                    fontFamily: 'Khmer OS Muol'
                },
                subtextStyle: {
                    fontSize: 14,
                    fontFamily: 'Khmer OS Battambang'
                }
            },
            tooltip: {
                trigger: 'axis'
            },
            xAxis: {
                type: 'category',
                data: labels,  
            },
            yAxis: {
                type: 'value',
                name: 'និស្សិត'
            },
            series: [{
                name: 'ចំនួននិស្សិត',
                type: 'bar',
                data: @json($dailyCounts),
                barWidth: '50px',
                itemStyle: {
                    color: '#3398DB',
                    borderRadius: [5, 5, 0, 0]
                }
            }]
        };

        chart.setOption(option);

        
        
    });

    function convertDate(dateStr) {
        const parts = dateStr.split('-');
        let year = parts[2];

        if (year.length === 2) {
            year = '20' + year;
        }

        parts[2] = year;
        return parts.join('-');
    }
    $(document).find('#khmer-lunar-date').html(khmerDate().toLunarDate());

You can help me.
Print chart

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): You can help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tep Sarak

79580354

Date: 2025-04-18 02:32:40
Score: 0.5
Natty:
Report link

In Pydantic v1 the method was called .dict(), it was deprecated (but still supported) in Pydantic v2, and renamed to .model_dump().

The examples here use .dict() for compatibility with Pydantic v1, but you should use .model_dump() instead if you can use Pydantic v2.

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

79580352

Date: 2025-04-18 02:28:39
Score: 3.5
Natty:
Report link

finally I find the answer. When using B1 call atoms, you dont need to add the BOM, BO and AdminInfo tags. just started from the "<Document>" will works.

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

79580347

Date: 2025-04-18 02:16:37
Score: 1
Natty:
Report link

The most common cause is the authentication token expiration. Snowflake's tokens expire after a set period. If that is the case, edit your connection in Looker Studio and re-authenticate with your Snowflake credentials. Consider using service accounts for a permanent fix, creating a dedicated service user in Snowflake, granting the appropriate permissions, then using those credentials in Looker Studio.

Another possibility is that Snowflake is blocking Google's IP ranges, so check your network policies in Snowflake and add Google's IP ranges to your allowlist.

If your queries are complex, they might be timing out, so optimize your queries, consider creating materialized views in Snowflake, or increase the timeout parameter.

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

79580342

Date: 2025-04-18 02:09:35
Score: 2.5
Natty:
Report link

Configuration info for Safari 18. The Safari menu includes an additional Settings menu item for the page. When this menu item is selected, a window is rendered that allows you to configure the Auto-Play. When Auto-Play is set to Allow All Auto-Play, the js will play.

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

79580340

Date: 2025-04-18 02:08:35
Score: 2
Natty:
Report link

The relevant part is this:

DCMAKE_C_COMPILER=C:/msys64/mingw64/bin/gcc.exe

And

DCMAKE_CXX_COMPILER=C:/msys64/mingw64/bin/g++.exe

You need to confirm and correct these paths.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Weber K.

79580339

Date: 2025-04-18 02:07:34
Score: 2
Natty:
Report link

If you would like the row(s) affected and other statistics displayed as a table instead of a list, and are struggling with the fact that the statistics object is a dictionary, here is how I converted and displayed it with a little help from https://stackoverflow.com/a/18495802/2260616

Note the list of 18 statistics available at https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/sql/provider-statistics-for-sql-server

after calling Invoke-Sqlcmd with -StatisticsVariable "sqlcmd_statistics_dictionary"

$sqlcmd_statistics_object = ($sqlcmd_statistics_dictionary `
  | %{New-Object PSObject -Property $_})
Format-Table -InputObject $sqlcmd_statistics_object -AutoSize -Property `
  IduCount, IduRows, SelectCount, SelectRows, SumResultSets, `
  Transactions, BuffersSent, BytesSent, BuffersReceived, BytesReceived
Format-Table -InputObject $sqlcmd_statistics_object -AutoSize -Property `
  ConnectionTime, ExecutionTime, NetworkServerTime, ServerRoundtrips, `
  CursorOpens, PreparedExecs, Prepares, UnpreparedExecs

The results will look like:

enter image description here

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tom Keller

79580338

Date: 2025-04-18 02:06:34
Score: 1
Natty:
Report link

the mailchimp's standard API endpoint, such as POST /lists/{list_id}/members, require an email_address field, making it unsuitable for adding SMS-only contacts.

Adding SMS-Only Contacts:

In order to add contacts without email addresses, you can import them via a CSV or TXT file. This will allow you to include only phone number for SMS marketing. (https://mailchimp.com/help/set-up-your-sms-marketing-program/) (https://mailchimp.com/help/about-sms-marketing/)

You can follow these steps to import SMS contacts:

  1. create a CSV or TXT file containing the phone numbers of your SMS subscribers. (https://mailchimp.com/solutions/sms-marketing-tools/)

  2. You need to also make sure that you have consent from those contacts to receive sms messages. (https://mailchimp.com/solutions/sms-marketing-tools/)

  3. then you import your contacts using MailChimp's import tool to upload your file and add the SMS contacts to your audience.

Also, before you import sms contact, you need to set up an SMS Marketing program in Mailchimp. (https://mailchimp.com/help/use-send-sms-actions/)

Workaround Using Placeholder Emails:

using placeholder email addresses to bypass the email requirement is not really recommended because it may violate Mailchimp's terms of service. (https://mailchimp.com/developer/transactional/docs/fundamentals)

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

79580336

Date: 2025-04-18 02:06:34
Score: 0.5
Natty:
Report link

The image_picker package needs two additional packages, image_picker_android and image_picker_platform_interface. Then you can continue using ImagePicker().pickMultiMedia() on both Android and iOS.

setup the main.dart file:

void main() {
 final ImagePickerPlatform implementation = ImagePickerPlatform.instance;
 if (implementation is ImagePickerAndroid) {
  implementation.useAndroidPhotoPicker = true;
 }
 
 ...
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Spencer

79580335

Date: 2025-04-18 02:05:34
Score: 0.5
Natty:
Report link

@Barry's suggestion of `using` seems a reasonable solution to me, but in the end doesn't really save much given how simple a (non-template) operator<< for S would be.

I like the idea of a base class used just to guide ADL to the right answer. I'll have to see if that is feasible in our real codebase.

The problem with putting the template in global namespace (or in N) is that works.... but only sometimes. Because this is relying on normal, non-ADL lookup, it is subject to shadowing. So if _any_ other operator<< is visible in N::N1 namespace the one in N (or global) namespace is hidden. This is very fragile and working code can be broken by completely unrelated changes, and the failure can be very context dependent (i.e. works for most usages but fails if some unrelated type N::N1::C, which happens to have an operator<< , is visible.)

As to the original question of adding to std:: namespace, it might be argued that this case might be counted under this clause (from cppreference)

It is allowed to add template specializations for any standard library function template to the namespace std only if the declaration depends on at least one program-defined type and the specialization satisfies all requirements for the original template, except where such specializations are prohibited.

as std::operator<<(std::basic_ostream<C, Trait>&, T) is already a template (for at least some types, in at least some implementations) and we are adding a partial specialisation of that.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Barry's
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Greg

79580328

Date: 2025-04-18 02:01:32
Score: 2
Natty:
Report link

When the Controller try to connect to database, some error ocurred. You can enable retry, if it is not enabled yet.

If it is already enabled, then there is a problema with your connection to your db instance. You need to track and diagnose where is the failure (network, authentication, and so on).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When the
  • Low reputation (0.5):
Posted by: Weber K.

79580318

Date: 2025-04-18 01:48:29
Score: 5
Natty: 5
Report link

yo tengo un problema similar pero aca es con sfml para c++ y los archivos no venian con su controlador de graficos

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

79580317

Date: 2025-04-18 01:47:28
Score: 7 🚩
Natty: 5
Report link

So have u fixed that?

Напиши мне в тг по @codeem, давай замутим это дело в вебе. И ещё добавим pwa, чтобы можно было генерить картинки в вебе одной командой.

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed that?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @codeem
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: imNauryzbay

79580307

Date: 2025-04-18 01:37:25
Score: 1.5
Natty:
Report link
def mac_fmt(bssid):
    return "{:02x}:{:02x}:{:02x}:{:02x}:{:02x}:{:02x}".format(*bssid)

for ssid, bssid, channel, RSSI, authmode, hidden in ap.scan():
    mac = mac_fmt(bssid)
    print(f"BSSID: {mac}")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Helmut Doring

79580305

Date: 2025-04-18 01:35:22
Score: 9.5 🚩
Natty:
Report link

buenas necesito ayuda

como hago dos histogramas cuando tengo una variable con dos niveles que son lugar 1 y lugar 2, pero estos estan en una sola columna . cuando realizo el histograma me toma todos los datos , no los discrimina por lugar. mi variabla respuesta es contenido de vit C

nota:los niveles de lugar estan uno a continuacion de otro ,

mi pregunta es como le digo a R que tome los datos del lugar 1 para el histogrma

y tome los datos del lugar 2 para el otro histograma

gracias por tu respuesta

Reasons:
  • Blacklisted phrase (2): ayuda
  • Blacklisted phrase (2): tengo
  • Blacklisted phrase (2): gracias
  • Blacklisted phrase (2): pregunta
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: deysi

79580304

Date: 2025-04-18 01:35:21
Score: 14
Natty: 8
Report link

I have the same question just like you said. Have you solved it? could you share the idea, really thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): I have the same question
  • Blacklisted phrase (2): Have you solved it
  • RegEx Blacklisted phrase (2.5): could you share
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same question
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ben

79580303

Date: 2025-04-18 01:35:21
Score: 3
Natty:
Report link

If you want to prevent the last slide from being cut off, you should not set any gap or spacing by yourself in the slide-wrapper. use SlidePerView and SpaceBetween.

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

79580293

Date: 2025-04-18 01:16:17
Score: 0.5
Natty:
Report link
public class Config implements WebMvcConfigurer

WebMvcConfigurer is not deprecated.

I produced the usable code following your question:


import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.CorsRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class Config implements WebMvcConfigurer {

    @Value("${allowed-origins:*}")
    String allowedOriginsPattern;
        // contains "http://localhost:8080,http://127.0.0.1:8080,http://[::1]:8080"

    @Override
    public void addCorsMappings(CorsRegistry registry) {
       String[] origins = allowedOriginsPattern.split(",");

       registry.addMapping("/**")
           .allowedOriginPatterns(origins)
           .allowedMethods("GET", "OPTIONS", "POST")
           .allowCredentials(true);
    }
}


In the application.yml, I added:

server:
  servlet:
    context-path: /

allowed-origins: "http://localhost:8080,http://127.0.0.1:8080,http://[::1]:8080"

An incorrect context-path could be a reason for a CORS problem.

The example repository was here.

To try, after starting Spring Boot, please visit in your browser:

http://localhost:8080
http://127.0.0.1:8080
http://[::1]:8080

Example output in the browser:

CORS
GET http://127.0.0.1:8080/api
GET request page
POST http://127.0.0.1:8080/api
POST request page
GET http://localhost:8080/api
GET request page
POST http://localhost:8080/api
POST request page
GET http://[::1]:8080/api
GET request page
POST http://[::1]:8080/api
POST request page

In the example, the JavaScript I used:

<script>
                async function getter(uri, elementId){
                    const responseGet = fetch(uri, { "method": "GET" })
                            .then(response => {
                                if (!response.ok) {
                                    return response.text()
                                        .catch(() => {
                                            throw new Error(response.status);
                                        })
                                        .then(({message}) => {
                                            console.log(message);
                                            throw new Error(message || response.status);
                                        });
                                }
                            return response.text();
                            });

                            
                        const responseGetText = await Promise.resolve(responseGet);
                        

                        const elementGet = document.getElementById(elementId);
                        elementGet.innerHTML = elementGet.innerHTML + "<div>" + responseGetText + "</div>"

                }
                
                async function poster(uri, elementId, body){
                    const responsePost = fetch(uri, { "method": "POST", body: body })
                        .then(response => {
                            if (!response.ok) {
                                return response.text()
                                    .catch(() => {
                                        throw new Error(response.status);
                                    })
                                    .then(({message}) => {
                                        console.log(message);
                                        throw new Error(message || response.status);
                                    });
                            }
                        return response.text();
                        });

                        
                    const responsePostText = await Promise.resolve(responsePost);
                    

                    const elementPost = document.getElementById(elementId);
                    elementPost.innerHTML = elementPost.innerHTML + "<div>" + responsePostText + "</div>"
                }

                async function main(){
                    

                   await getter("http://127.0.0.1:8080/api", "getipv4");
                   await poster("http://127.0.0.1:8080/api", "postipv4", JSON.stringify({"user": "user"}));

                   
                   await getter("http://localhost:8080/api", "getlocalhost");
                   await poster("http://localhost:8080/api", "postlocalhost", JSON.stringify({"user": "user"}));

                   
                   await getter("http://[::1]:8080/api", "getipv6");
                   await poster("http://[::1]:8080/api", "postipv6", JSON.stringify({"user": "user"}));


                }
                main();
                </script>
Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hdvlp

79580292

Date: 2025-04-18 01:15:16
Score: 1
Natty:
Report link

For a recent version of jQuery:

$("#slider").slider('option', 'value') 

returned zero for a double slider version. This returned a two element array with the proper values:

$("#slider").slider('option', 'values')

Note that value is plural.

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

79580287

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

The correct answer from @jonrsharpe:

"how TypeScript obtains the original DOM document object from the browser" - it doesn't. Those interfaces are only used to make sure you're doing the right thing at compile time. At run time, you have regular JavaScript accessing the global document object.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @jonrsharpe
  • Low reputation (1):
Posted by: KEHoltz

79580278

Date: 2025-04-18 00:49:10
Score: 1.5
Natty:
Report link

you can try to use Group function

= Table.Group(Source, {"Type"}, {{"ID", each Text.Combine([ID],",")}})

enter image description here

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

79580277

Date: 2025-04-18 00:46:50
Score: 0.5
Natty:
Report link

you can try to create a measure

Measure = if(max('Calendar'[Date])>=today(),1)

add this measure to visual filter and set to 1

enter image description here

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

79580269

Date: 2025-04-18 00:38:47
Score: 4
Natty:
Report link

nicee mantap kali sangat memuaskan

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohamad Hasan Dzulqornain

79580264

Date: 2025-04-18 00:25:44
Score: 3
Natty:
Report link

If you're reading this in 2025, Cloud Run now has the "Send traffic directly to a VPC" feature.

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

79580263

Date: 2025-04-18 00:24:44
Score: 3.5
Natty:
Report link

Actually, when u 'enable platform', there is no option to save. So, changed settings are not saved, and u are back to square one - meaning u are unable to share, & get msg

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

79580239

Date: 2025-04-17 23:54:38
Score: 5
Natty: 5
Report link

Andrew Kin Fat Choi 's answer helped!

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

79580232

Date: 2025-04-17 23:47:36
Score: 1
Natty:
Report link

the API spec of the Azure DevOps - Approvals And Checks - Check Configurations is here.

A sample payload looks like this. Seems like your approver object is slightly different.

POST https://dev.azure.com/{organization}/{project}/_apis/pipelines/checks/configurations?api-version=7.1-preview.1

{
  "settings": {
    "approvers": [
      {
        "displayName": null,
        "id": "3b3db741-9d03-4e32-a7c0-6c3dfc2013c1"
      }
    ],
    "executionOrder": "anyOrder",
    "minRequiredApprovers": 0,
    "instructions": "Instructions",
    "blockedApprovers": []
  },
  "timeout": 43200,
  "type": {
    "id": "8c6f20a7-a545-4486-9777-f762fafe0d4d",
    "name": "Approval"
  },
  "resource": {
    "type": "queue",
    "id": "1",
    "name": "Default"
  }
}

refer to this link for all field specs.
https://learn.microsoft.com/en-us/rest/api/azure/devops/approvalsandchecks/check-configurations/add?view=azure-devops-rest-7.1&tabs=HTTP

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: qkfang

79580229

Date: 2025-04-17 23:39:35
Score: 0.5
Natty:
Report link

Formula to interpolate values into a template string containing placeholders

The OP asked for string interpolation similar to Python f-string. The goal is that a user only needs to enter a single string to define a template, but within that string there is specially marked "placeholder" to indicate where to substitute a value. The placeholder can be a key enclosed in curly braces, e.g. {TICKER}. Google Sheets didn't have such a formula.

Fast forward to 2025, Sheets still doesn't have it, but does offer array-based formulas and iteration mechanism like REDUCE. Combined with REGEXREPLACE, we can define a Named Formula that simulates simple interpolation.

Formula. The formula below takes three parameters:

Create a Named Function TEMPLATE with these three parameters, so named and in that order, then enter the formula definition:

= REDUCE( template, keys, LAMBDA( acc, key,
  LET(
    placeholder, CONCATENATE( "\{", key, "\}" ),
    value, XLOOKUP( key, keys, values ),
    REGEXREPLACE( acc, placeholder, TO_TEXT(value) ) 
  )
 ) )

Example with one placeholder. Your example uses a custom Apps Script function called ImportJSON, but your question is more about the string interpolation, so I will just focus on how to generate the URL based on the value of A2 (the cell containing string "BTC"). In a cell enter:

= TEMPLATE(
    "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids={TICKER}",
    "TICKER", A2
)

The result should be https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=BTC

Example with multiple placeholders. You can give arrays as the keys and values arguments for multiple placeholders:

= TEMPLATE( 
  "My name is {name} and I am {age} years old.",
  { "name", "age" }, { "Lan", 67 }
)

Confirm the result is: My name is Lan and I am 67 years old.

How it works? The REDUCE formula takes the string template as an initial value, and iterates through the values of keys. In each iteration:

Named Function. If you just want to use this, you can import the Named Function TEMPLATE from my spreadsheet functions. See the documentation at this GitHub repo for more details.

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

79580228

Date: 2025-04-17 23:38:34
Score: 2.5
Natty:
Report link

There is a library that do just that. And also provides configurations for retries and refreshes for resilience.

https://www.npmjs.com/package/lazy-with-retry

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

79580225

Date: 2025-04-17 23:33:33
Score: 0.5
Natty:
Report link

Reviving this topic because the Extension system in Blender 4.2 provides a proper solution to this problem, which involves packaging .whl files (which you can download from PyPI) with your extension, and then mentioning that .whl file in the extensions' manifest file. Documentation here.

It's also possible to pull this off pre-Blender 4.2, by implementing your own code to import .whl files, which is easiest to do by simply stealing this code from Blender Studio

I've just tested both methods and they work great, unlike any other solution I've tried, which either relies on deprecated pip function calls, or they install the modules in the global python environment no matter what you do, which isn't available from inside Blender, or they rely on launching Blender from a venv, which is obviously silly.

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

79580203

Date: 2025-04-17 22:55:24
Score: 1
Natty:
Report link

all the data "in" databricks is stored wherever you say you want it stored. Databricks can connect with and manage via unity catalog multiple sources.

It sounds like you just want to make sure that all your storage is in your same azure tenant which is the basic standard setup youd have a storage blob/server/hyperscale etc etc in azure that is associated with your tenant and that is the storage that databricks would.

Azure Databricks is not a storage account - your storage will be self directed in whatever capacity you choose, obviously, chosing to store on an azure storage account makes sense here, as does having that storage account in the same azure tenant as the databricks environment

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

79580198

Date: 2025-04-17 22:50:23
Score: 3
Natty:
Report link

why dont you use the global call, which is what i usually use http://10.0.2.2:<port>

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): why do
  • Low reputation (1):
Posted by: striker

79580176

Date: 2025-04-17 22:29:18
Score: 3
Natty:
Report link
Replacing

affinity = "euclidean"  

To

metric = 'euclidean' 


Worked. Thank You.
Reasons:
  • Blacklisted phrase (0.5): Thank You
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Max

79580165

Date: 2025-04-17 22:16:15
Score: 0.5
Natty:
Report link

If you're running into issues with async methods while working with Temp Mail APIs, you might want to consider switching to a service that provides a more developer-friendly experience and clean endpoints.

For example, 1SecMail offers a lightweight temp mail API that's super easy to integrate — no authentication required for basic use. It returns clean JSON responses and works well with async workflows (Node.js, Python, etc.).

Might save you some debugging time. Hope this helps!

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

79580164

Date: 2025-04-17 22:16:15
Score: 6.5
Natty: 7.5
Report link

Can you share the entire stack please? Just copy/paste the text from that window, it should suffice.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you share the
  • Low reputation (1):
Posted by: Gabriel Rohweder

79580157

Date: 2025-04-17 22:11:13
Score: 3
Natty:
Report link

More details on this - we are using liquibase 4.31.1 and did not see it 4.29.2. Further - we see it in postgres, but not in mssql. seems to be related to https://github.com/liquibase/liquibase/issues/6666

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

79580140

Date: 2025-04-17 21:52:08
Score: 4
Natty:
Report link

Nice to see finally issue resolved.

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

79580137

Date: 2025-04-17 21:49:07
Score: 1.5
Natty:
Report link

You don't have to. Texture is a class itself, so use it.

For example in case of a String class:

String
;; => java.lang.String
(type String)
;; => java.lang.Class
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: tsl

79580121

Date: 2025-04-17 21:37:04
Score: 3
Natty:
Report link

What if I want messages to be ordered as well. I am facing a scenario where I am sending packets from 2 TCP connection in a manner say 1 TCP connection first send a packet than 2 TCP send. I am implementing it using conditional locks
Then on server side I want packets to be received in same order why is my order changing is it because of epool?


void *send_packets(void *arg) {
    int conn_id = *(int *)arg;

    set_thread_affinity(conn_id );
    int sock = socket(AF_INET, SOCK_STREAM, 0);

    int flag = 1;
    setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &flag, sizeof(flag));
    int sndbuf = 8 * 1024 * 1024;
    setsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof(sndbuf));

    struct sockaddr_in serv_addr = { .sin_family = AF_INET, .sin_port = htons(PORT) };
    inet_pton(AF_INET, SERVER_IP, &serv_addr.sin_addr);

    if (connect(sock, (struct sockaddr*)&serv_addr, sizeof(serv_addr)) < 0) {
        perror("Connection failed");
        free(arg);
        return NULL;
    }

    for (int i = 0; i < PACKETS; i++) {
        pthread_mutex_lock(&lock);
        while (current_conn != conn_id) {
            pthread_cond_wait(&cond, &lock);
        }

        sprintf(msg, "12345678901234567890123456789012345678901TCP:%d | PACKET:%d\n", conn_id, global_packet_id++);
      
        send(sock, msg, 60, 0);
        printf("%s", msg);

        current_conn = (current_conn % TCP_CONN) + 1;  // Move to the next connection
        pthread_cond_broadcast(&cond);
        pthread_mutex_unlock(&lock);
    }

    close(sock);
    free(arg);
    return NULL;
}
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What if I
  • Low reputation (1):
Posted by: Akanksha Dadhich

79580118

Date: 2025-04-17 21:34:03
Score: 10 🚩
Natty: 6.5
Report link

I have the same issue, the app remains unaware whether the code is entered and subscription is redeemed from App Store or not. The user has to close the app and restart it and again enter the iCloud password which then detects that a subscription is active, then it lets the user use the app. Is it the same case for you? I am developing in Flutter by the way.

If yes and you've found a solution, please help me also.

Thank you very much

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (3): please help me
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: dakshil kanakia

79580117

Date: 2025-04-17 21:34:03
Score: 2.5
Natty:
Report link

Did you try installing vite as a dev dependency?

You can do so like this

npm install --save-dev vite

Then try running your code again. If you are still getting the same error after instally maybe check if your node-modules folder isn't missing. You can fresh install with:

rm -rf node_modules

npm install

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: mizzy

79580110

Date: 2025-04-17 21:30:02
Score: 1
Natty:
Report link

Sometimes, the default GsonConverterFactory provided by Retrofit is not enough, especially when:

In such cases, we can create a custom JSON converter.

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

79580106

Date: 2025-04-17 21:25:01
Score: 3.5
Natty:
Report link

Tested on Angular/primeNG version 19 only, you can test another. REPO: gitHub

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

79580103

Date: 2025-04-17 21:23:00
Score: 2
Natty:
Report link

I tried this query again the next day and everything worked as expected. Every case I tested the query using "=" performed the same as "LIKE".

I originally noticed this issue due to an error on the application side, so I put in some error handling and reporting so if it happens again I will know right away and I can try to gather more information or test some other solutions. But without a way to reproduce the issue I'll mark this question as answered until I see the issue again.

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

79580094

Date: 2025-04-17 21:16:58
Score: 1
Natty:
Report link

Try setting log_level:

std.testing.log_level = .debug;
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: sigod

79580076

Date: 2025-04-17 21:01:54
Score: 4
Natty:
Report link

NASM.US is currently down ; ()

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

79580060

Date: 2025-04-17 20:49:51
Score: 1
Natty:
Report link

AWS CodeCommit is no longer open to new users.

After careful consideration, we have made the decision to close new customer access to AWS CodeCommit, effective July 25, 2024. AWS CodeCommit existing customers can continue to use the service as normal. AWS continues to invest in security, availability, and performance improvements for AWS CodeCommit, but we do not plan to introduce new features.

The recommendation is to switch to another hosted provider for git—like GitHub, GitLab, or BitBucket—or host git yourself.

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

79580052

Date: 2025-04-17 20:44:50
Score: 0.5
Natty:
Report link
public function testIsCalledWithTwoParameters()
{
    $mock = $this->createMock(Foo::class);

    $mock->expects($this->once())
        ->method('bar')
        ->with($this->callback(function (int ...$args): true {
            $this->assertCount(2, $args);
            $this->assertEquals(1, $args[0]);
            $this->assertEquals(2, $args[1]);
            return true;
        });

    // will fail
    $mock->bar(1, 2, 3);
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ERO

79580047

Date: 2025-04-17 20:41:49
Score: 3
Natty:
Report link

If anyone is looking for how to disable this annoying feature in the newer versions of Visual Studio 2022, do the following:

Go to Tools -> Options -> IntelliCode -> General.

In that window, simply remove the check mark from "Show inline completions" and then press OK.
Thats it.

Screen shot to explain what to uncheck from the available list

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

79580040

Date: 2025-04-17 20:35:48
Score: 2
Natty:
Report link

From https://graphviz.org/docs/outputs/ascii/

Since Graphviz 13.0.0, if Graphviz was built with AAlib support, the output format ascii will produce an ASCII art representation of the input graph.

Simply set the output format to ascii:

dot -Tascii input.dot

Note: as of writing (April 2025), version 13.0.0 is unreleased - https://gitlab.com/graphviz/graphviz/-/blob/dcdd75784dbe655b728da4d62a3b1e4aed142521/CHANGELOG.md

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

79580034

Date: 2025-04-17 20:30:47
Score: 1
Natty:
Report link

in my case, the owner of ~/go/pkg/mod has changed to root for some reason, probably from homebrew, use chown -R yourname ~/go/pkg/mod will change them back to your user then all installation in vscode succeed.

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

79580030

Date: 2025-04-17 20:29:47
Score: 1.5
Natty:
Report link

I had the same issue, the fix was simple for me.
It seems like the file was not in UTF-8 so terraform was somehow misinterpreting it.
For me saving it in UTF-8 worked.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Freddy Sawma