79479437

Date: 2025-03-02 17:10:15
Score: 1.5
Natty:
Report link

Turns out that I was still starting vscode with --log trace. Something I added to my vscode shortcut when I was looking at another issue. After removing it, the the trace logs in the output channel went away.

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

79479436

Date: 2025-03-02 17:09:14
Score: 2.5
Natty:
Report link

Okay, so after Ilya Bursov's comment I have realized I had forgotten to reset the avg after each test... It actually was logarithmic all along. enter image description here

I think the program which "tipped me off" just did so many skip list accesses it led me to believe the skip list was at fault for the speed.

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

79479433

Date: 2025-03-02 17:07:13
Score: 7 🚩
Natty:
Report link

Have you figured this out? How do you get a transaction txid on A2U?

I am trying to initiate an App-to-User payment as well. I did a POST request to /payments with the payload for a payment (amount, memo, metadata etc). But it seems like the returned response of the payment does not include the txid, instead the transaction field is null.

Reasons:
  • Blacklisted phrase (1): How do you
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (3): Have you figured this out
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: xsuve

79479428

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

As @NathanOliver comments, you are trying to use converting operator (5), which requires std::tuple_size > 1.

You can work around this issue by constructing the second tuple from the first's argument: std::tuple<std::any> t2{ std::get<0>(t1) };.

If you are working in some generic code which needs to handle tuple with any number of std::any, then you need a slightly unwieldy:

auto t2 = std::apply([](const auto&& args) {
    return std::make_tuple(std::any{ std::forward(decltype(args)) }... });
}, t1);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @NathanOliver
  • Low reputation (0.5):
Posted by: Dominik Kaszewski

79479425

Date: 2025-03-02 17:03:12
Score: 5
Natty:
Report link

Is there a hack around this in databricks community @all

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @all
  • Single line (0.5):
  • Starts with a question (0.5): Is there a
  • Low reputation (1):
Posted by: Shashank Deep

79479420

Date: 2025-03-02 17:00:11
Score: 2
Natty:
Report link

I did this ... Works fine

org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
    android.useAndroidX=true
    android.enableJetifier=true
    // new add 
    android.ndk.suppressMinSdkVersionError=21 

Thanks

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

79479411

Date: 2025-03-02 16:53:09
Score: 1
Natty:
Report link

X and Y are 2D matrices. The dot product you envision creates a matrix where each element follows f_XY[i, j] = cos(X[i, j] * Y[i, j] * 2π). This can be done simply as:

f_XY = np.cos(X * Y * 2 * np.pi)

[output] [1]: https://i.sstatic.net/628ChhBM.png

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

79479410

Date: 2025-03-02 16:53:09
Score: 1
Natty:
Report link

No, you don’t necessarily need to "build" your Node.js application the way you do with a React app. React applications are built into static files (HTML, CSS, JS) to be served efficiently by a web server. Node.js, being a server-side application, typically runs directly as JavaScript code.

However, I you are using **TypeScript make sure to Run 'tsc` command to compile TS code as JS.

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

79479402

Date: 2025-03-02 16:47:09
Score: 2
Natty:
Report link

There might also be a difference between the serverless and the "traditional" data plane, the communication between the serverless data plane and the control plane will be via the cloud provider's backbone.

A good architecture overview is provided here: https://github.com/WowdyCloudy/wowdycloudy/blob/main/dbx/architecture.md#databricks-architecture

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

79479387

Date: 2025-03-02 16:30:05
Score: 3.5
Natty:
Report link

You can try Appsflyer, i have used their sdk and it solved your use case for referals.

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

79479382

Date: 2025-03-02 16:25:04
Score: 3
Natty:
Report link

I found a sample app that deals with the same issue here Infinite Canvas Drawing

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

79479379

Date: 2025-03-02 16:22:04
Score: 2.5
Natty:
Report link

Is that sinking feeling familiar to you? Your account is not accessible. It's possible that you entered the password incorrectly several times. Maybe a security alarm was triggered by something suspicious. Although being locked out of your account is annoying, it does happen. Be calm! Contact Marie at [email protected] or over WhatsApp at +1 712 759 4675, and she will provide you with the instructions to restore access. She also demonstrates to you how to prevent it from occurring again.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Is that
  • Low reputation (1):
Posted by: platform

79479371

Date: 2025-03-02 16:16:02
Score: 4
Natty: 4
Report link

Nice it was my task and i have completed it

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

79479367

Date: 2025-03-02 16:15:02
Score: 1.5
Natty:
Report link

If you are currently running EC2 instances with AWS-provided licenses for Windows and SQL Server, the license costs are included in the instance pricing. However, there are potential benefits to considering a Bring Your Own License (BYOL) approach, depending on your specific circumstances:

  1. Cost Savings
  2. Control Over
  3. Licensing Support for Legacy Software
  4. Physical Host optimization
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: nomad

79479366

Date: 2025-03-02 16:13:01
Score: 0.5
Natty:
Report link

I tried multiple ways to resolve this error, but none worked. However, I was able to successfully install PostgreSQL using its ZIP version, which is available on the official website.

You can download it directly from the following link:

https://www.enterprisedb.com/download-postgresql-binaries

Once downloaded, extract the ZIP file into a folder of your choice, either Downloads, Documents or any preferred location.

Inside the extracted folder, locate the bin directory, and add this bin path in your Path in environment variables.

Now, we are going to create a database cluster directory, so first off, create a folder called How You Want to, after that, you must turn that folder into a database cluster.

So, open a cmd tab with admin privilege and run the following command to initialize the cluster:

initdb -D /path/to/your/database
Now, we are going to start the server with the following command:

pg_ctl -D "path/to/your/database" start

You check whether your server is up or down with the following command:

pg_ctl -D "path/to/your/database" status

Now, we are going to connect to our database without a specific user with the following command:

psql -d postgres

Once we get in, we will create a new user role with its password using the following command:

CREATE ROLE new_user WITH LOGIN PASSWORD 'new_password';

Now, let's exit the PostgreSQL console using:

\q

Now, we are going to connect it to our database using the name created with the following command:

psql -U new_user -d postgres

Now, for obvious reasons, we would like to use PostgreSQL with graphical Interface, so we must install the last version of pgAdmin4 on its official webpage which link is:

https://www.pgadmin.org/download/

After that, we are going to open it up and by adding a new server: You will a pop-up where you have to enter a name of your choice in the 'Name' field, then go to the 'Connection' tab:

In the 'Host/Address' field, enter the localhost. For 'Username' and 'Password', use the credentials you created earlier in the command prompt.

EXTRA:

Give privilege to your created username:

GRANT CREATE ON SCHEMA public TO your_username;

GRANT CONNECT ON DATABASE your_db TO your_username;

GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO your_username;

ALTER DEFAULT PRIVILEGES IN SCHEMA public GRANT ALL PRIVILEGES ON TABLES TO your_username;

GRANT USAGE, SELECT ON ALL SEQUENCES IN SCHEMA public TO my_user;

GRANT EXECUTE ON ALL FUNCTIONS IN SCHEMA public TO my_user;

ALTER ROLE your_username CREATEDB;

ALTER ROLE your_username SUPERUSER;

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

79479362

Date: 2025-03-02 16:07:00
Score: 3
Natty:
Report link

Although certain Operations in Flows use filter rules, dynamic variables are not available in Flows.

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

79479355

Date: 2025-03-02 16:00:59
Score: 0.5
Natty:
Report link

In Xilinx FPGAs, especially the 7 series, the LUTs (Look-Up Tables) are typically initialized with the values specified in the configuration (bitstream) during the power-on or reconfiguration phase. These values are typically stored in the "INIT" parameters of the LUTs.

LUT as LUTRAM (Block RAM Mode): As you mentioned, one of the ways to change the contents of LUTs during the FPGA's operation is to configure the LUTs as LUTRAM. LUTRAM allows the LUT to be used as a small RAM block, and the contents can be written to or read from during normal operation. In this case, the LUT's INIT value can be overwritten with new data.

LUT as Shift Register: Similarly, LUTs can also be configured to act as shift registers (using the LUTs in shift-register mode), which enables shifting data through the LUT. However, there is a limitation in how you use LUTs in shift register mode compared to LUTRAM. For example, a LUT6 configured as a shift register typically supports 32-bit data, while in LUTRAM mode, the capacity can go up to 64 bits.

Overwriting INIT Values Dynamically: During operation, once the FPGA has been programmed and is running, the LUT's INIT values can't be directly rewritten the same way they are loaded at power-on because those values are part of the configuration bitstream. However, by utilizing the LUT as RAM (LUTRAM), you can change its behavior dynamically as you load new data into it.

If you want to shift data from one LUT to another, you could implement a control mechanism in your design where the LUTs, configured as LUTRAM, can be written to dynamically via logic. You would need a control signal to manage when and how the data is shifted between the LUTs. The difference in capacity between the LUT6 configured as LUTRAM (64 bits) and shift register mode (32 bits) comes from the fact that shift register mode is typically more optimized for serial operations, while LUTRAM is designed for parallel read/write operations, which can accommodate more bits. Reconfiguration (Partial Reconfiguration): If you want to modify the behavior of your FPGA during operation in a more flexible manner, you could consider partial reconfiguration. This allows you to change a section of the FPGA's logic without resetting the entire device. This is more complex but allows for real-time changes to your design without a full power cycle or reprogramming.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Даниил Белковский

79479352

Date: 2025-03-02 15:56:58
Score: 1
Natty:
Report link

Another way:

document.querySelectorAll('input[type=checkbox]').forEach(el => el.click());
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Glenn Wark

79479351

Date: 2025-03-02 15:56:58
Score: 0.5
Natty:
Report link

Open your localhost on the Incognito tab to solve all of these issues.

It worked for me, no need to disable extensions.

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

79479337

Date: 2025-03-02 15:46:57
Score: 1.5
Natty:
Report link

The most experienced, trustworthy, and professional hand I have ever encountered. I reached out to Adrian, who assisted me in breaking into my husband's cell phone. The rest is history, as Adrian managed to get me access to my husband's phone without him realizing it. Knowing the truth also greatly aided me in confronting my husband about the evidence of his infidelity, which he was unable to deny as he usually did. I swear to Adrian that I will submit a review praising his work ethic. You can reach out to him if you want to track, spy, hack or monitor your husband's cell phone remotely by texting or calling him at +17753744344,Whatsapp: 14245771816 or by email at [email protected], to find out what they're up to. Inform him that Jessica recommended you.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aaron Howel

79479334

Date: 2025-03-02 15:43:56
Score: 2
Natty:
Report link

Remember, there is no such thing as "on-premise" in real English. "Premise" is a concept. "Premises" is a location.

"https://collectivecontent.agency/2018/04/19/should-i-say-on-premise-or-on-premises-it/"

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

79479333

Date: 2025-03-02 15:42:56
Score: 2
Natty:
Report link

Here is a paper on how Bing's image search works: Web-Scale Responsive Visual Search at Bing. It is conceivable that Google's reverse image search shares many of the model usage methododologies and engineering optimizations.

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

79479331

Date: 2025-03-02 15:42:56
Score: 3.5
Natty:
Report link

Solved, thanks to @oguz ismail. It should be if [ $bigfreq -ne $littlefreq ]; then (with spaces) instead of if [$bigfreq -ne $littlefreq]; then (without spaces).

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @oguz
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: IsHacker

79479305

Date: 2025-03-02 15:17:52
Score: 1.5
Natty:
Report link

If the question is how to combine multiple JavaScript files into one global scope in an HTML document efficiently, so that both forward and backward variable, constant, and function references are valid, then I've answered this at Global variables in Javascript across multiple files .

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: David Spector

79479303

Date: 2025-03-02 15:17:52
Score: 1.5
Natty:
Report link

It think you need

ap_invoices_all

invoice_id accounting_date

ap_checks_all

check_number

join both the tables using check_id

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: Winston Henry Fernandes

79479299

Date: 2025-03-02 15:16:51
Score: 4
Natty:
Report link

I have face the same issue and easily solved when I use default function in layout E.g. admin/layout.tsx rather than const, which causing problem in rendering component.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): face the same issue
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Bivishan Sapkota

79479285

Date: 2025-03-02 15:08:50
Score: 0.5
Natty:
Report link

I think I got the same problem. Classes are not working randomly. I got a plugin that displays color rectangle next to it, and it is displayed correctly. However, in app preview, the button is not colored.

I tried to install latest nativewind using:

pnpm install nativewind@latest

Tried tailwindcss version 3.4.16, currently using ^3.4.17 which kinda works.

I already tried many combinations, but problem still occurs. Also, sometimes secondary DEFAULT color is not working elsewhere:

colors: {
    primary: "#121212",
    secondary1: "#FFA001",
    secondary2: "#FF7F00",
  }

 or

colors: {
    primary: "#121212",
    secondary: {
      DEFAULT: "#FFA001",
      1: "#FF7F00",
    },
  },

Part of Index.tsx:

<CustomButton containerStyles="w-full mt-7"/>

Button.tsx component:

Doesn't work:

<TouchableOpacity className="bg-secondary">

Once worked, once not:

<TouchableOpacity className="bg-secondary-1">

This way it also doesn't work now:

<TouchableOpacity className="bg-red-400">

Using StyleSheet.create works everytime:

<TouchableOpacity style={styles.button}/>

const styles = StyleSheet.create({
    button: {
        backgroundColor: "orange",
    },
});

package.json

    {
  "name": "newest_react_native_course",
  "main": "expo-router/entry",
  "version": "1.0.0",
  "scripts": {
    "start": "expo start",
    "reset-project": "node ./scripts/reset-project.js",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "test": "jest --watchAll",
    "lint": "expo lint"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@expo/vector-icons": "^14.0.2",
    "@react-navigation/bottom-tabs": "^7.2.0",
    "@react-navigation/native": "^7.0.14",
    "expo": "~52.0.37",
    "expo-blur": "~14.0.3",
    "expo-constants": "~17.0.7",
    "expo-font": "~13.0.4",
    "expo-haptics": "~14.0.1",
    "expo-linking": "~7.0.5",
    "expo-router": "~4.0.17",
    "expo-splash-screen": "~0.29.22",
    "expo-status-bar": "~2.0.1",
    "expo-symbols": "~0.2.2",
    "expo-system-ui": "~4.0.8",
    "expo-web-browser": "~14.0.2",
    "nativewind": "^4.1.23",
    "react": "18.3.1",
    "react-dom": "18.3.1",
    "react-native": "0.76.7",
    "react-native-gesture-handler": "~2.20.2",
    "react-native-reanimated": "~3.16.2",
    "react-native-safe-area-context": "4.12.0",
    "react-native-screens": "~4.4.0",
    "react-native-web": "~0.19.13",
    "react-native-webview": "13.12.5",
    "tailwindcss": "^3.4.17"
  },
  "devDependencies": {
    "@babel/core": "^7.25.2",
    "@types/jest": "^29.5.12",
    "@types/react": "~18.3.12",
    "@types/react-test-renderer": "^18.3.0",
    "jest": "^29.2.1",
    "jest-expo": "~52.0.4",
    "react-test-renderer": "18.3.1",
    "typescript": "^5.3.3"
  },
  "private": true
}

tailwind.config.js:

/** @type {import('tailwindcss').Config} */
module.exports = {
  // NOTE: Update this to include the paths to all of your component files.
  content: ["./app/**/*.{js,jsx,ts,tsx}"],
  presets: [require("nativewind/preset")],
  theme: {
    extend: {
      colors: {
        primary: "#121212",
        secondary: {
          DEFAULT: "#FFA001",
          1: "#FF7F00",
        },
      },
      fontFamily: {
        pthin: ["Poppins-Thin", "sans-serif"],
        pextralight: ["Poppins-ExtraLight", "sans-serif"],
        plight: ["Poppins-Light", "sans-serif"],
        pregular: ["Poppins-Regular", "sans-serif"],
        pmedium: ["Poppins-Medium", "sans-serif"],
        psemibold: ["Poppins-SemiBold", "sans-serif"],
        pbold: ["Poppins-Bold", "sans-serif"],
        pextrabold: ["Poppins-ExtraBold", "sans-serif"],
        pblack: ["Poppins-Black", "sans-serif"],
      },
    },
  },
  plugins: [],
};

babel.config.js:

module.exports = function (api) {
  api.cache(true);
  return {
    presets: [
      ["babel-preset-expo", { jsxImportSource: "nativewind" }],
      "nativewind/babel",
    ],
  };
};

nativewind-env.d.ts:

/// <reference types="nativewind/types" />

metro.config.js:

const { getDefaultConfig } = require("expo/metro-config");
const { withNativeWind } = require("nativewind/metro");

const config = getDefaultConfig(__dirname);

module.exports = withNativeWind(config, { input: "./global.css" });
Reasons:
  • Blacklisted phrase (1): I got the same problem
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: hustlehoff-dev

79479284

Date: 2025-03-02 15:08:49
Score: 5.5
Natty:
Report link

I face the same issue in 2024. I add entitlement com.apple.security.temporary-exception.mach-lookup , prompt show normally. But it reject by apple also.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I face the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alan Ngai

79479283

Date: 2025-03-02 15:08:49
Score: 2.5
Natty:
Report link

def integrate(f, a, b, n): dx = (b - a) / n sum = 100 Data for i in range(n): x = a + i * dx sum += f(x) * dx return sum * dx

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

79479281

Date: 2025-03-02 15:06:49
Score: 3.5
Natty:
Report link

In my case I Invalidate Caches and Restart in Android Studio and then rebuild.

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

79479275

Date: 2025-03-02 15:01:48
Score: 4.5
Natty:
Report link

did you actually add android.ndk.suppressMinSdkVersionError=21 to /android/gradle.propriets?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Vinícius Bruno

79479270

Date: 2025-03-02 14:57:47
Score: 2
Natty:
Report link

1. Why does @Value("${kis.appsecret[0]}") work, but List<String> does not?

It seems like List<String> in @ConfigurationProperties should bind correctly, but for some reason, it doesn’t work with environment variables. Meanwhile, @Value("${kis.appsecret[0]}") works just fine.

Why is that?

When Spring tries to bind a list, it expects environment variables to be indexed starting from zero, like this:

KIS_APPKEY_0=value1
KIS_APPKEY_1=value2

But if your environment variables start from 1 instead of 0, like this:

KIS_APPKEY_1=value1
KIS_APPKEY_2=value2

Spring won’t recognize them as a list. Instead, it will interpret KIS_APPKEY_1 as an independent property rather than an element of an array, causing the binding to fail.

With @Value("${kis.appsecret[0]}"), Spring is simply fetching a single value instead of trying to construct a list, so there’s no issue.

2. Why do error logs start with kis.appkey[1] instead of [0]?

This happens because Spring expects the first element of a list to have the index 0 (kis.appkey[0]). If the environment variables only contain KIS_APPKEY_1 and KIS_APPKEY_2, Spring won’t recognize them as a list.

Essentially, Spring thinks:

*“Hmm… I didn’t receive kis.appkey[0], but I do see kis.appkey[1]. Something must be missing.”*

That’s why the error log shows the missing index.

3. Why does the same code work in Spring Boot 3.4.3 but not in 3.4.0?

Most likely, Spring Boot 3.4.3 introduced some improvements in how it handles list bindings from environment variables. Such changes are not always well-documented, but they can affect application behavior. If upgrading to 3.4.3 solves the issue, it’s likely due to a bug fix or an enhancement in the binding mechanism.

4. How to fix it?

Option 1: Use an array (String[]) instead of List<String>

Spring sometimes binds arrays better than lists. Try changing List<String> to String[] in KisProperties:

@Component
@ConfigurationProperties(prefix = "kis")
@Getter
@Setter
@ToString
public class KisProperties {
    private String domain;
    private String webSocketDomain;
    private String[] appkey;
    private String[] appsecret;
}

If list binding fails, switching to an array might work.

Option 2: Use a comma-separated (CSV) format

If you can control the environment variables, try defining them as a comma-separated string:

KIS_APPKEY=appkey1,appkey2
KIS_APPSECRET=secret1,secret2

Then, in application.yml:

kis:
  appkey: ${KIS_APPKEY:appkey1,appkey2}
  appsecret: ${KIS_APPSECRET:secret1,secret2}

Spring will automatically split "appkey1,appkey2" into a list.

Option 3: Ensure environment variables start from [0]

If you can modify the environment variables, explicitly define:

KIS_APPKEY_0=appkey1
KIS_APPKEY_1=appkey2

This ensures Spring properly recognizes them as a list.

Option 4: Manually bind the values using @PostConstruct

If the environment variables are already set and cannot be changed, manually extract them in the constructor:

@Component
@ConfigurationProperties(prefix = "kis")
@Getter
@Setter
@ToString
public class KisProperties {
    private String domain;
    private String webSocketDomain;
    private List<String> appkey;
    private List<String> appsecret;

    @PostConstruct
    public void init() {
        if (appkey == null || appkey.isEmpty()) {
            appkey = Arrays.asList(System.getenv("KIS_APPKEY_1"), System.getenv("KIS_APPKEY_2"));
        }
        if (appsecret == null || appsecret.isEmpty()) {
            appsecret = Arrays.asList(System.getenv("KIS_APPSECRET_1"), System.getenv("KIS_APPSECRET_2"));
        }
    }
}

This approach manually loads environment variables into a List.

Reasons:
  • RegEx Blacklisted phrase (1.5): How to fix it?
  • RegEx Blacklisted phrase (0.5): Why is that
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Maksim Banit

79479267

Date: 2025-03-02 14:53:47
Score: 2
Natty:
Report link

Doctor Strange in the Multiverse of Madness – Final Battle (Fan-Made Script)

[Scene Opens] (The darkened sky crackles with red and blue lightning as Doctor Strange stands atop the ruins of Kamar-Taj. Wanda Maximoff, the Scarlet Witch, levitates above the ground, her eyes glowing with chaotic energy.)

Doctor Strange: (Breathing heavily, gripping the Eye of Agamotto)
"Wanda, this isn't the way. You still have a choice."

Scarlet Witch: (Her voice echoes with dark magic)
"There is no choice, Stephen. You stood in my way, and now, I will tear through the multiverse until I get what I want!"

(She raises her hands, summoning dark tendrils of energy that spiral toward Strange. He conjures a defensive sigil, barely holding back the force.)

[Cut to Wong] (Struggling against demonic creatures, he shouts to Strange)
"Strange! We can't hold them off forever!"

(Strange glances at Wong, then at America Chavez, who is trembling as she tries to open a portal. He makes a decision.)

Doctor Strange:
(Murmurs a forbidden incantation)
"If I can't stop you... then I'll have to fight you."

(His hands glow with orange runes as multiple copies of himself emerge from thin air, surrounding Wanda.)

Scarlet Witch: (Smirks, eyes burning with power)
"You think illusions can stop me?"

(She claps her hands together, releasing a shockwave that shatters the clones into dust.)

[Cut to America Chavez]
(She gasps, realizing the power Wanda holds. Suddenly, she steadies herself and punches the air—creating a star-shaped portal that flickers between dimensions.)

America Chavez:
(To Strange)
"I can take her somewhere she can't escape!"

(Strange nods but hesitates. Can he truly send her away forever?)

[Final Clash] (Wanda lunges forward, her chaos magic surging, clashing against Strange’s counter-spell. The battlefield trembles as reality warps. Wong joins the fight, hurling enchanted chains at Wanda, but she shatters them effortlessly.)

(Suddenly, Strange flicks his fingers—activating the Darkhold’s binding spell. Runes form around Wanda, tightening like chains.)

Scarlet Witch:
(Screams in fury, her body flickering between realities)
"No! I won’t lose again!"

(America Chavez opens a final portal—leading to Mount Wundagore, where the ruins of the Scarlet Witch’s past await. The portal pulls Wanda inside as she struggles against the force.)

Doctor Strange: (Softly)
"I'm sorry, Wanda."

(With one last surge of power, the portal closes, sealing Wanda away. The battlefield falls silent. Wong, America, and Strange stand together, breathing heavily.)

[Closing Scene] (Doctor Strange gazes at the remnants of Kamar-Taj, the wind carrying away ashes of the battle.)

Doctor Strange: (To Wong, with a slight smirk)
"I really need a vacation."

(Wong chuckles as they walk away, the multiverse now safe—at least for now.)

[Screen fades to black.]

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sumit meena

79479253

Date: 2025-03-02 14:45:45
Score: 0.5
Natty:
Report link

The use of std::addressof is more descriptive than the use of &. It better expresses the intention of the code, and is therefore preferred. Another reason is that the & is easier to overlook than the larger std::addressof, hence easier to miss by the quick code reader. As a result, using std::addresof is expected to lead to fewer bugs and better code, and hence preferred.

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

79479250

Date: 2025-03-02 14:42:45
Score: 1.5
Natty:
Report link

Answered in comments by @cpplearner:

Guaranteed copy/move ellision which allows the code to work even if the copy/move is explicitly or implicitly deleted was added in C++17[1]

Issue is not about compilers, but by the their default C++ versions. MSVC -std=c++14 and GCC/clang -std=c++14 all fail to compile, while for c++17 they all work, as expected.

[1](https://en.cppreference.com/w/cpp/language/copy_elision#:~:text=Prvalue%20semantics%20(%22guaranteed%20copy%20elision%22)

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @cpplearner
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Dominik Kaszewski

79479237

Date: 2025-03-02 14:35:43
Score: 1
Natty:
Report link

Your approach ensures a stable master branch while allowing parallel development in team branches. However, maintaining a long-lived development branch can lead to merge conflicts and delays. Instead, consider feature branches directly off master, with short-lived release branches for final QA. Automate CI/CD to deploy team branches to DEV, development/release branches to QA, and release branch to PROD. Merge release back to master post-deployment. This optimizes collaboration, reduces merge complexity, and ensures faster, reliable releases

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Vimal Patel

79479236

Date: 2025-03-02 14:34:43
Score: 0.5
Natty:
Report link

The following change worked for me: Changing from const context = React.useContext(... to:

import { useContext } from 'react';
...
const context = useContext(...
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Maurício Correia Sales

79479229

Date: 2025-03-02 14:30:42
Score: 4
Natty: 6.5
Report link

Clique no link abaixo pra jogar o melhor aviator de Moçambique Registe-se aqui https://media1.placard.co.mz/redirect.aspx?pid=7884&bid=1722

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

79479218

Date: 2025-03-02 14:19:40
Score: 3
Natty:
Report link

What is a shirt vs T-shirt? T-Shirts vs Shirts - What's the Difference? | Tapered Menswear The difference between them is lies in formality and structure: T-shirts are casual, usually made of stretchy knit fabric with no collar, while shirts are more formal with a collared, button-up design that provides a more formal silhouette.

T-Shirts vs Shirts - What's the Difference? | Tapered Menswear

Tapered Menswear https://taperedmenswear.com › blogs › t-shirts-vs-shirts

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What is a
  • Low reputation (1):
Posted by: shruti

79479206

Date: 2025-03-02 14:13:38
Score: 2
Natty:
Report link

Moke sure in Navigate to build->configuration manager in Visual Studio, you only build the main project and not any other Projects that you have added from the project manager. Main names are Assemny-CSharp and Assemny-CSharp-Editor.

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

79479205

Date: 2025-03-02 14:13:38
Score: 1
Natty:
Report link

You can connect your VS Code or another code editor using SFTP with your cpanel account using SSH access.

Step1: Download VS Code extension "SFTP" Step2: go to cpanel and enable SSH access Step3: use the Private Key to setup the SFTP inside VS Code

No you will be able to sync the local changes to the cpanel as and when required.

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

79479194

Date: 2025-03-02 14:00:36
Score: 4.5
Natty: 3
Report link

ضرور، ایک اور کہانی سنیے: ایک دفعہ ایک جنگل میں ایک چھوٹا سا ہرن رہتا تھا۔ وہ بہت معصوم اور شرمیلا تھا۔ اس کے بہت سے دوست تھے، لیکن وہ ہمیشہ ڈرا ہوا رہتا تھا۔ ایک دن، جنگل میں ایک شیر آگیا۔ شیر بہت ظالم تھا اور وہ جنگل کے تمام جانوروں کو ڈراتا تھا۔ ہرن بہت ڈر گیا، لیکن اس نے ہمت نہیں ہاری۔ اس نے اپنے تمام دوستوں کو اکٹھا کیا اور ایک منصوبہ بنایا۔ انہوں نے مل کر شیر کو پھنسانے کا فیصلہ کیا۔ جب شیر شکار کے لیے نکلا، تو ہرن اور اس کے دوستوں نے شیر کو ایک گہرے گڑھے میں گرا دیا۔ شیر گڑھے میں پھنس گیا اور جانوروں نے اسے چھوڑ دیا۔ اس دن کے بعد، شیر نے کبھی بھی جانوروں کو نہیں ستایا۔ ہرن اور اس کے دوستوں نے ثابت کر دیا کہ اگر ہم مل کر کام کریں، تو ہم کسی بھی مشکل کا مقابلہ کر سکتے ہیں۔

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Aftab Jind

79479192

Date: 2025-03-02 13:58:35
Score: 1.5
Natty:
Report link

See Dans and Mayvas answers.

And maybe checkout FVM - Simple Flutter Version Management

FVM streamlines Flutter version management. It allows per-project SDK versions, ensuring consistent app builds and easier testing of new releases

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

79479191

Date: 2025-03-02 13:57:35
Score: 1.5
Natty:
Report link

Use External Storage for Large Files

Store Large Files Externally

AWS S3 Google Drive / GCS Azure Blob Storage GitHub Releases (for versioned datasets)

Modify CI/CD Workflow to Download Data

In GitHub Actions, use wget or aws s3 cp to fetch the dataset before running tests.

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

79479188

Date: 2025-03-02 13:54:35
Score: 0.5
Natty:
Report link

An easier way to do this would be (i used java 17 but maybe older versions may also support):

public static List<String> getSupportedOutputFormats() {
String[] var0 = ImageIO.getWriterFormatNames();
return var0 == null ? Collections.emptyList() : Arrays.asList(var0);

}

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

79479187

Date: 2025-03-02 13:54:35
Score: 1.5
Natty:
Report link

Another option is APyTypes: https://apytypes.github.io/

A rough comparison between libraries is shown at https://apytypes.github.io/apytypes/comparison.html

(It may be worthwhile to install from the repo as the version on pypi is a bit old, but a new release will be made "soon" and this comment will be updated.)

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

79479185

Date: 2025-03-02 13:52:34
Score: 0.5
Natty:
Report link

In spring application properties localhost refers to application's container, which need to point to the kafka container:

spring:
  kafka:
    consumer:
      bootstrap-servers: kafka:9092
    ...
    producer:
      bootstrap-servers: kafka:9092

I usually prefer confluent's Kafka docker-compose, though.

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

79479183

Date: 2025-03-02 13:50:34
Score: 1
Natty:
Report link

What I've found is in my case when upgrading to Symfony 5 the property http_method_override: true was set to true by the recipe—I didn't check right when updating the recipe, so I removed the config, because they have updated it with the false value by default.

https://github.com/symfony/symfony/issues/45278

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: Dany Des

79479175

Date: 2025-03-02 13:43:32
Score: 1
Natty:
Report link

Here's how I did it:

with self.assertRaises(AssertionError) as context:
    throw_an_assertion_here()
self.assertTrue(isinstance(context.exception, AssertionError))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: James Strieter

79479174

Date: 2025-03-02 13:43:32
Score: 5
Natty: 4
Report link

@Beforetest will run only once. If you want to start a clean browser for each test, go with @Beforemethod

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Beforetest
  • User mentioned (0): @Beforemethod
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Krishna Saahi Yavana

79479170

Date: 2025-03-02 13:41:31
Score: 4
Natty:
Report link

Yes you can using the procspawn crate

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

79479167

Date: 2025-03-02 13:38:31
Score: 2.5
Natty:
Report link

I believe that dart html is not forbidden otherwise it would not exist but these are tools only for the web. If your projects have requirements that require behavior that is only possible in a web context. It is the best choice

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: talliane Devoue ROI MH

79479159

Date: 2025-03-02 13:32:29
Score: 0.5
Natty:
Report link

Well, since it seems nobody replies on questions here anymore, I'm gonna answer it for whomever might need it. The useEffect in the PayPalSubscribeButton.tsx was reseting the connection, removing it fixed the issue. I don't really understand why, but it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: O. Shehab

79479158

Date: 2025-03-02 13:32:29
Score: 1.5
Natty:
Report link

Add this line at the top:

<manifest xmlns:android="http://schemas.android.com/apk/res/android">

and this at the end:

</manifest>

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

79479157

Date: 2025-03-02 13:31:29
Score: 1.5
Natty:
Report link

I decided to use Puro to test several Flutter stable versions, and found out that from stable 3.22.3 and below, I dont get that crash, only from stable 3.24.5 and up.

I tested on my work machine also (Windows 11), same results. So, now I have a dualboot with Linux on my home machine, and will test there, and since I still can compile apps with any framework version, once the Android licenses was accepted after all, I'll leave it as is, and check if someone is experiencing this error as well and find out what's happening.

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

79479148

Date: 2025-03-02 13:24:27
Score: 1
Natty:
Report link

i have also faced this thing i actually forgot the root user password of my sql command line i have tried this using several ways in which the instructions are like stopping the MySQL and then passing some query but it didn't work for me so this is what worked for me

  1. open the MySQL installer and then u will saw there are i MySQL installer and 2 shortcut for shell and command line now uninstall the shortcut and

  2. then again reopen the installer here u can reinstall the MySQL completely and then

  3. u can set the new password for the root user in MySQL

so u don't need to do this hard work of running the command

Reasons:
  • Blacklisted phrase (1): it didn't work for me
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: shubhangi

79479147

Date: 2025-03-02 13:20:27
Score: 1.5
Natty:
Report link

in simple way ..

SLASH = /
URL = https:$(SLASH)$(SLASH)api.dev.example.com

output :

https://api.dev.example.com
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: محمد علي

79479140

Date: 2025-03-02 13:17:26
Score: 0.5
Natty:
Report link

DDD relies on a domain context. For your case, we have the following options, please consider one that you think is closer to the actual domain context:

  1. The Bot entity has limited knowledge about the Order flow, but the Exchange entity can somehow determine what Order it should process based on Order attributes: then Bot initiate Order creation, and Exchange handles OrderCreated domain event with all necessary routing attributes presented (closer to your current idea but requires additional routing layer on Exchange side).
  2. The Bot entity has complete knowledge about the Order and the target Exchange in advance: thus Bot initiates Order creation with Exchange link as Order Attribute, allowing Order entity to put Command to particular Exchange topic/queue instead of broadcasting the domain event (more coupling between Order and Exchange can be closer to your context). Please note the difference between Domain Event and Command (with Command pattern it is a consumer who owns message protocol and dictates producer how to trigger it)
  3. The Bot entity has partial knowledge but full ownership over the Order lifecycle, then Bot needs to subscribe to OrderCreated event to perform further processing steps (trigger Exchange command? make additional calc/enrichment?)
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Ivan

79479139

Date: 2025-03-02 13:16:26
Score: 3
Natty:
Report link

Try Deleting Cache odoo -u all -d database

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

79479135

Date: 2025-03-02 13:13:25
Score: 4.5
Natty:
Report link

I've organized the solution to the problem with a little more details here: Troubleshooting Docker Volume Mounting Issues

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

79479126

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

You need first to store token in meta tag or somewhere else and when doing the request you need to send it as specific header. Read the documentation here, https://laravel.com/docs/12.x/csrf#csrf-x-csrf-token

Correct header is "X-CSRF-TOKEN"

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

79479120

Date: 2025-03-02 12:56:22
Score: 1
Natty:
Report link

The error indicates that there is a bug in the plugin called 'JavaScript and TypeScript' which provides support for working with JavaScript and TypeScript and has features like:

Please try to report this bug to JetBrains and remove or disable it.

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

79479119

Date: 2025-03-02 12:55:22
Score: 2
Natty:
Report link

According to the docs https://github.com/triton-inference-server/model_analyzer/blob/main/docs/config.md#cli-and-yaml-config-options

-f <path-to-configs>

This is used to path a yaml file of the configuration needed by the model analyser for the profiling. Check the tutorial attached, as it has configuration examples.

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

79479116

Date: 2025-03-02 12:55:22
Score: 0.5
Natty:
Report link

Try replacing HasPermissions with HasRoles in User.php.

You're using:

use Spatie\Permission\Traits\HasPermissions;

but in Spatie's documentation, the correct trait is:

use Spatie\Permission\Traits\HasRoles;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Amankhani MohammadJavad

79479113

Date: 2025-03-02 12:53:21
Score: 4
Natty:
Report link

They made some mistakes of the nn.GRU descriptions and not fix it for long time. https://github.com/pytorch/pytorch/issues/99421

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

79479109

Date: 2025-03-02 12:51:20
Score: 2.5
Natty:
Report link

In your Postman body, change redirect_uri to exactly what you've configured in yml file http://127.0.0.1:8222/login/oauth2/code/oidc-client

This took me ~2h to fix, ;)))

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Phi Trần

79479106

Date: 2025-03-02 12:48:20
Score: 1.5
Natty:
Report link

Move or copy the Visual Studio Code application into the Applications folder works for me it was in downloads folder initiall

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Molla Manie

79479105

Date: 2025-03-02 12:48:20
Score: 0.5
Natty:
Report link

This is a very interesting question (and thanks to @jmrk for in-depth answer), but I wanted to add something from a practical standpoint, as recently it bit me with Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory due to passing quite large object as a function argument using 2nd method (inside an object of params), and the only thing that saved me from heap out of memory was switching to the first method.

Detailed example, consider same function called in two ways (similar to the original question):

[...]
const veryLargeDataObject = {...}

// option 1
for (const step of steps) {
 process({ param1, param2, ...config}, veryLargeDataObject) // veryLargeDataObject is a separate param
}

// option 2
for (const step of steps) {
 process({ param1, param2, ...config, veryLargeDataObject}) // veryLargeDataObject is inside object with all other params
}

So, while in theory (if I understood docs and @jmrk's answer correctly), both calls should not create any veryLargeDataObject clones and GC would handle this just fine. In reality however, option 2 consistently lead to heap out of memory crash as soon as the for...of loop was called enough times to fill all allocated memory (~20 loops in my case). Switching to option 1 completely fixed the situation and speed up the loop significantly.

Hopefully it helps someone who encounters heap overflow due to unintentional object cloning.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @jmrk
  • User mentioned (0): @jmrk's
  • Low reputation (0.5):
Posted by: Kirill Kay

79479097

Date: 2025-03-02 12:41:18
Score: 2
Natty:
Report link

SELECT DISTINCT(player) FROM game JOIN goal ON matchid = id WHERE (team1='GER' AND team2!='GER' OR team1!='GER' AND team2='GER') AND teamid!= 'GER' It not that pretty but it works

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

79479092

Date: 2025-03-02 12:37:17
Score: 1.5
Natty:
Report link

there can be many reasons for this issue like the check if ur vs code is upto date on a stable version check the typescript version in ur vs code might be some issues with some extension that is causing this,try diabling them check ur user settings try looking in settings.json

i can be more helpful if u checked these and tell the response

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

79479089

Date: 2025-03-02 12:34:16
Score: 2
Natty:
Report link

Here are some tips that can help you fix this:

I think it will be more helpful if you can share more of WAF configuration.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bako

79479087

Date: 2025-03-02 12:31:16
Score: 2
Natty:
Report link

In my case this happened only due to venv, going to Settings > Project: > Project Structure and marking the venv folder as Excluded did the trick.

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

79479081

Date: 2025-03-02 12:26:15
Score: 1
Natty:
Report link

In 2025 if you're using python, it offers a built in function sum().

arr = [1,2,3,4,5]
sum_of_elements = sum(arr)

since it iterates through all the n-elements for making sum, the time complexity is O(n)

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

79479080

Date: 2025-03-02 12:26:15
Score: 1
Natty:
Report link

Best Practices

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

79479076

Date: 2025-03-02 12:23:14
Score: 2.5
Natty:
Report link

As of Mar 2025, what works is require 'filename' Put the filein the MyApp directory DO NOT PUT FILE EXTENSION

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

79479074

Date: 2025-03-02 12:22:14
Score: 0.5
Natty:
Report link

This is now possible with jsonschema-default>=1.8.0

import jsonschema_default

obj = {}
default_obj = jsonschema_default.fill_from(schema="<schema>", target=obj)
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: samwise

79479067

Date: 2025-03-02 12:15:12
Score: 1
Natty:
Report link

used doberkofler's solution and then realised I could do the following:

if (page.frames().length > 0) {
  await Promise.all(
    page.frames().map((frame) => frame.waitForLoadState("networkidle"))
  );
}

I know this doesn't explicitly wait for a given URL but the two solutions could be combined

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

79479066

Date: 2025-03-02 12:15:12
Score: 1
Natty:
Report link

Simple and supports NA's: mapply(identical, df$a, df$b):

Browse[1]> mapply(identical, c(NA, NA, 7, NaN), c(4, NA, 7, NaN))
[1] FALSE TRUE TRUE TRUE

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

79479059

Date: 2025-03-02 12:12:12
Score: 2
Natty:
Report link

SOLVED: The problem was in the Java code line: if(APIRequest.checkIP(incomingIP, incomingHostname)) { }

Turns out the API request to check if the IP is in the list of allowed IPs took too long which caused the PHP script to timeout.

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

79479058

Date: 2025-03-02 12:12:11
Score: 4
Natty:
Report link

I have answer! You need to try it

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

79479055

Date: 2025-03-02 12:09:11
Score: 0.5
Natty:
Report link

Try npx @react-native-community/cli config first. If you hit the error below: path/to/node_modules/.bin/rnc-cli: Permission denied

You can fix it by making the rnc-cli executable.

On mac/linux you can run: chmod +x /path/to/node_modules/.bin/rnc-cli

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

79479053

Date: 2025-03-02 12:09:11
Score: 1
Natty:
Report link

In my case, I forgot to complete binding abstraction.

like this:

import dagger.Module
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent

@Module
@InstallIn(SingletonComponent::class)
abstract class useCaseModule
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 404nnotfoundd

79479047

Date: 2025-03-02 12:07:11
Score: 2
Natty:
Report link

The issue is self-explanatory. The package requires the native code to be linked, and Expo Go doesn’t support native modules. You will need to run your code in the development build, refer to [https://docs.expo.dev/develop/development-builds/create-a-build/][1]

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

79479043

Date: 2025-03-02 12:03:10
Score: 2.5
Natty:
Report link

I had this issue with a Dataproc template to run a pyspark job, and solved it by removing the BigQuery.jar (spark-bigquery-latest_2.12.jar) from the "Jar files" section of the template configuration.

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

79479042

Date: 2025-03-02 12:02:09
Score: 3
Natty:
Report link

No DbContext was found in assembly 'Course'. Ensure that you're using the correct assembly and that the type is neither abstract nor generic. It still shows this error!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Anu Thanickal Chalissery Chack

79479033

Date: 2025-03-02 11:56:08
Score: 1
Natty:
Report link

The important thing is to pass the variable 'with_cursor' in mss()

from mss import mss
sct = mss(with_cursor=True)
bounding_box = {'top': 0, 'left': 1366, 'width': 1366, 'height': 768}
im_brg = sct.grab(bounding_box)

with_cursor Include the mouse cursor in screenshots.

New in version 8.0.0.

https://python-mss.readthedocs.io/api.html

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

79479032

Date: 2025-03-02 11:53:07
Score: 4
Natty: 2.5
Report link

https://www.dmwin2.com/#/register?invitationCode=234841571758

https://t.me/+5Q3dGGa2dQs1MWU1

  1. Minimum rechrge 300
  2. Minimum withdraw 230₹
  3. Refer bonus 158 ₹ 4.super a day 95% All time profit
  4. Withdrawal timing 24 hours ⌛
  5. Instant
Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kannan

79479022

Date: 2025-03-02 11:47:05
Score: 4
Natty:
Report link

My name is Somin and I am 18 years old. My mother is from Saudi Arabia and my father is Korean. I live in Korea and I hope to meet a friend or boyfriend.

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

79479012

Date: 2025-03-02 11:39:03
Score: 1.5
Natty:
Report link

better_exceptions package does exactly this, to enable it:

$ python -m pip install better_exceptions
$ export BETTER_EXCEPTIONS=1
# Run your program from terminal
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alexander Fedorov

79479007

Date: 2025-03-02 11:34:02
Score: 2
Natty:
Report link

I had the exact same issue and decided to create GUI macOS application to easily and quickly create DMG installer files for my *.app installation

You can find it here: https://focusdock.eu/products/dmgbuilder-macos-app

As I just released it, I'm open for feature requests

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

79478999

Date: 2025-03-02 11:30:01
Score: 1.5
Natty:
Report link

Tried a bunch of things to make webbrowser.open work with no luck, so used this alternative

import os
os.system('vivaldi myfile.html')

Obviously it requires you to have the Vivaldi browser installed. Maybe it would work with other browsers, but I didn't test it

Reasons:
  • Blacklisted phrase (1): no luck
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Idiot Tom

79478986

Date: 2025-03-02 11:22:00
Score: 2.5
Natty:
Report link

PKIabZoKz�� �3863550778900.html�[�r�6�n�afg�Q�,˶~��&�:;�z6�3�N"! H� h���M��>C'����[��)J�m%q�d����s�>B>�+Ӑ����x����gA4��R�}�I���t�\̜v��s.���/FV,�~�Ή�#ۧ���J��~�bE�o���)u�y�@���PR��x������~��wȶ�C�H���6�9� ���w��/�bI'�X��$�Y�OGě)�0x��xt�c-�/�1��� I.��� w�ED��o��O,�"�>Y�$!�20����j t�??�o�%��Ō%�� ��LT�j.;���wG��ڭ֟J*?���L.1���J)&\xD�3�È�Q���i�6�B>�Z�����fV��6��7't6Yq,y��h@좣���2��Q��R:��G\.��x�ީCa}Eș�}�� uc�[�3,��h2���b��Z�NxY����Qz�v|3�!�U�����󄻱>��H ��H4�c�xr��W�F��$,:#�4p������l[M��>��Y��lF&����U��c�"k�?�MD�3��О�K��A�W+�P_���)�f�P����'ň,E�+ <��O�<���'����ru�t���!�=�Sv!#"ڔ����]�):�m1?��}|;���9wj8wn�ܩr��҃�Ҽ%� ��d���ƌ�$t �w5s���vd��G-�u��h�$��F��壁���E��T�ڣ�w�ы�+ ��>��-�0��d�D�!�d��Ղ�C3��W9��g8� o�����+�|d���.^AY͠�z 5N�}�Rv��1#}r�]�R�I%�j��?l������J�-��+o1⿿uWB��D0V�v�]$]�$-�r�MkzTW�&ņ-��}�TU �i���R7�F������fG�^PC����vɵ�����:32���~�@��U�b�u����t�ͅ� BR��Y%�T�oe���-���:U�kmu����M��:��L.j�VnfbU)q��E4�U4t�%� x��W[5(�E�b�����.���g�E Kr��p歹{��&ȿl=� ��/�H�t��s�N���t� �x�"�E�tlڷRS��J퓷r��Gs��=p%�V�_�ݕ�R�M0Tb!�a��"VW/r�v ��?���,Ua*��=��%���XP5C��ԡ>���a|ƛa0�Rn���"�HC�M@�M��b\��+�+T�Z���.����,����f���8�z�v��?�7�����P�q� ���CB���U����}�a]�U�������_.���^�}��!xPg�u�3��f�f}�橐=�Rr���d'��3~�Q��=��6�v M��K�_É�<�Д?fXdH?� ��I��P�������_SJ��d�N�$�M�M}B�#.E����򵟢P�����(8�2���"�z�?�GA�}�w��7�T݁����αޑ!5�9�$\�/�ϗoMpȡ/��7�&���i��)�9n�3�aP|N�jM/��H���ԝ#1�%��W�>�D=p �,�J��<���:��gd��Q-\�X����/�d‘��t�p�Jm(�GD�F�9.x�� �qdn$9���;�vi�=,_p�� %�DO�u��L�LMh�bAW@�^i��r%��mK���kSX��n@�h�ԟ�h���o�k��a �����|���N��v��G7�/ʇ�&I�q=o>n6��$h�� ��#��G}�Dc�D���ơ����a����?�b#T��.�5c�e�Y��vP��׎ݴ�5DU]�V�:"m� d�=� �oV,D=��tj��ٵnk}k��0��v8��?����Iͦ����$��"r��v���q�E�'ח�nO�h(ZS-P�"J��Nמ�XD�‰BY���3��g�Q?ZP>�V%!��8�;Q������@s�|IN(Z#E��?=E/R�P��G � �����һ�v���@_�������:��-���6��TA:�X~)�:�^��:>hv�Q�|ɥB|��|!R���\����MT�HZ��3�h@��˗W�r���=h���(�͢k5P�Z ����VU5��Y��A@����������j��GH!�W��no_����m� w��\�,wtr������c���m���smQa0U�7V§�g����� H��0JMq,)�G㨯����]��֤�~���SMX��:'\��%���}'��H¼5�y�(]K��Poa,$!�9�~�0,6M;��#S��ǔ��y��R9'>q.�uy��q�b�3o�V-�~�ZSG����b�]t����ޓ�'˄J(m�/�/�C!�Q,ب�(wޟ� �-f�;��y��0 |�����y4g#|p']����t'��A�ַ_�1�P���PKIabZoKz�� �3863550778900.htmlPK?*

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • No latin characters (1.5):
  • Filler text (0.5): ���������
  • Low reputation (1):
Posted by: Tom Tomgrabmal

79478985

Date: 2025-03-02 11:22:00
Score: 1.5
Natty:
Report link

You can generate Go code for Event Sourcing using a simple DSL or code templates. One easy way is to create a config file (JSON, YAML) that defines your entities and events, then use Go's text/template package to generate the ApplyEvent methods automatically. You can run this with go generate during the build process. If you want more control, try to create a custom parser using tools like ANTLR or Pigeon, this will reduce code duplication and will keep services clean and maintainable.

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

79478984

Date: 2025-03-02 11:19:59
Score: 1.5
Natty:
Report link

There is a conflict between your virtual env and your host. Inside your virtual env install bs4. Then try to import it. While having the virtual env active of course.

Or do the opposite inside your host install bs4

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ninja-Flex6969

79478969

Date: 2025-03-02 11:06:56
Score: 5
Natty: 5
Report link

i have build windows image using kaniko & flag --platform=windows/amd64. Does kaniko start supporting windows build?

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

79478967

Date: 2025-03-02 11:02:55
Score: 3
Natty:
Report link

I found it. I am using CloudPanel and apparently that was the one creating a dump of each database every night at 3:15 AM with a retention period of 7 days, with a crontab which can be configured at: /etc/cron.d/clp

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

79478962

Date: 2025-03-02 10:57:54
Score: 0.5
Natty:
Report link

Reviews are not migrated to v1 APIs, they still are using v4: https://developers.google.com/my-business/reference/rest/v4/accounts.locations.reviews/list. You have the following problems with your code:

  1. Building the service - correct name is mybusiness (no ** around it) and the version is v4. googleapi client has discovery documents in the library but v4 is not there hence the error when it attempts discovery. To fix this you can either download document from https://developers.google.com/static/my-business/samples/mybusiness_google_rest_v4p9.json and save it locally then use build_from_document or you can point discoveryServiceUrl to the link above
  2. location_id needs to be in v4 format - accounts/xxxx/location/xxxxx
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Andon Totev

79478959

Date: 2025-03-02 10:54:54
Score: 1.5
Natty:
Report link

@TheDza, I fixed my problem spyder 6.0.4 by this. go to Tools>Preferences>Plugins> Remove "Projects" plugin.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @TheDza
  • Low reputation (1):
Posted by: Online First Alert

79478955

Date: 2025-03-02 10:52:53
Score: 2.5
Natty:
Report link

you may try to use this fork instead.

this package seems to have fixed this issue but is not pulled yet to ga version 0.10.4 https://github.com/stevenwatterson/GA

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

79478950

Date: 2025-03-02 10:48:52
Score: 0.5
Natty:
Report link

The first thing that makes sense to note is that both aggregation and composition are associations, but not vice versa.

The second thing to note is that any association (including aggregation and composition) can be navigable.

Directed association relationships are associations that are navigable in only one direction.

Reasons:
  • No code block (0.5):
Posted by: nik0x1