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

79478941

Date: 2025-03-02 10:43:51
Score: 4.5
Natty:
Report link

Posting test answer for my bot

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

79478927

Date: 2025-03-02 10:28:48
Score: 2
Natty:
Report link

Thanks to @Willeke, the problem is solved.

Simply add a line delete bcc recipients above the line marked #3# so the bcc recipients list is cleared before the correct recipient is added.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Willeke
  • Self-answer (0.5):
Posted by: Stefan

79478917

Date: 2025-03-02 10:22:47
Score: 1
Natty:
Report link
/images/e45c416f7e189371d42a196f2bacf989.jpg

It seems like a relative path. You can try absolute image path (full image root path on the machine.) to see if the issue is signified by your image path, If the problem still exists, confirm whether your backend server is configured serve static files

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

79478914

Date: 2025-03-02 10:20:46
Score: 5.5
Natty:
Report link

I also have the same problem with Excel 2010 but unfortunately the add-in is not available now (Error 404).

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I also have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Saeid Ahmadi

79478913

Date: 2025-03-02 10:20:46
Score: 0.5
Natty:
Report link

I think taking a simulator screenshot without the dynamic island/notch is not possible, however... usually when you take a screenshot from the actual device, the island/notch is not present so here is a workaround... while on the simulator Device => Trigger Screenshot => then open the screenshot from the Photos app => click on the three dots on the upper right and then Copy => the image will be copied to your clipboard and after that you can paste it somewhere on your Mac (e.g. Notes app and save it to your mac) => image will be without t

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

79478909

Date: 2025-03-02 10:17:45
Score: 0.5
Natty:
Report link
/images/e45c416f7e189371d42a196f2bacf989.jpg 

This looks like a relative path. You can try to use an absolute image path(full root path of the image on your machine) to see if the issue is caused by your image path; If the problem still exists, check if your backend server is setup serve static files

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

79478908

Date: 2025-03-02 10:16:45
Score: 1
Natty:
Report link

I found ahmd0's answer very valuable. But it's not complete without Nick Valey's very important comment. For those people that don't read comments I think it would be helpful to have this addition: The Upgrade column in the table refers to the uninstall sequence that is part of a major upgrade. You can read a good explanation about it in this stack overflow question. So for the resulting table including major upgrade sequences will look like this:

Windows Installer properties table

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

79478905

Date: 2025-03-02 10:11:44
Score: 1
Natty:
Report link

You need to do scraping or use scraping or similar service for that. While listing categories using GMB API returns all of them (unlike locations which you need to have management or ownership access to) - they don't contain any 'type' like you can see from documentation: https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations#Location.Category. You can't access through GMB API the primary or additional categories of a location you don't own or manage. Also IIRC if more than one business it at the same address - the placeId is the same which can make things even more 'fun'. Sadly https://developers.google.com/my-business/reference/businessinformation/rest/v1/googleLocations/search didn't return enough information (no categories in the response) last time I've checked.

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

79478898

Date: 2025-03-02 10:05:43
Score: 3
Natty:
Report link

I solve the issue the way it works is you have received a Client ID on your Phone Pe Dashboard. You have to integrate it via their V2 API.

Standard checkout integration: https://developer.phonepe.com/v1/docs/common-links-pg-v2-standard-checkout/

PAY API (Standard Checkout)

Authorization – https://developer.phonepe.com/v1/reference/authorization-standard-checkout Initiate Payment – https://developer.phonepe.com/v1/reference/initiate-payment-standard-checkout

Response Handling

Order Status – https://developer.phonepe.com/v1/reference/order-status-standard-checkout-1 Handling Webhooks – https://developer.phonepe.com/v1/reference/handling-webhooks-standard-checkout-1

PG Refund

Refund – https://developer.phonepe.com/v1/reference/refund-api-standard-checkout Refund Status – https://developer.phonepe.com/v1/reference/refund-status-standard-checkout

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aftab Ahmed

79478894

Date: 2025-03-02 10:00:42
Score: 0.5
Natty:
Report link

Before trying to give a proper answer to your question, I'd make some remarks.

Both h264 and h265 are highly customizable: as Markus Schumann remarked, there is a "vast set of parameters" by which you can control quality and size. You don't say which encoder you used and which parameters you set. Also, you don't say anything about the quality of the video file you are transcoding. I think that the most sensible thing would be to start from the original file and transcode it to h264 and to h265 with similar parameters. For example, if you are using ffmpeg and are using the defaults, you should go with the defaults for both. Then you could make a comparison and try to find out which parameters should be set in order to allow the h265 encoder to accomplish a file size reduction of about 50% compared to the h264 encoding. I am really at a loss to understand your purpose in re-encoding from h265 to h264. It's not to reduce the file size: you say you expected to get more or less the same file size. Is it quality? But then, change some parameters and go with the h265 encoding again, from the original file.

I know that some people try to reduce the file size by re-encoding to h265 video files that were encoded in h264, which sort of makes sense — not so much sense actually, unless the h264 encoding was of extremely high quality with a very high bitrate, so that the loss of visual quality due to an additional encoding pass would be negligible. But: h265 to h264? No.

As to your question. Quite a lot depends on the quality of the file that is transcoded. The h264 pass would try to reproduce all that it finds in the h265 file, including artifacts, blurred areas, etc. In a bad quality video, artifacts are often crisp and well-defined, and your h264 encoder would try to reproduce them as best it can. You seem to think that the quality loss from the h265 pass would be "understood" as quality loss by the h264 encoder, but this isn't true; it would probably add a good deal of complexity to the sequence of video frames you are trying to re-encode. This is my best guess about the increase in size, since I know nothing about the encoders you are using, the parameters, the video quality etc.

As an advice, I'd say: stick to a single (one or two pass) encoding and try to set your parameters right for reaching a good compromise between file size and video quality. But remember that no combination of parameters is so versatile to cover all cases. If you use ffmpeg libh265 with default parameters on a blurred 640x480 video, the file size you get may be higher than the original; but if you set crf to 31 or 32 you might accomplish a substantial reduction in size with no visual loss.

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

79478891

Date: 2025-03-02 09:56:42
Score: 1
Natty:
Report link

Or another method that uses the same function but a macro approach is:

%macro out_alphas();
%do i = 1 %to 26;
%let dsn = %sysfunc(byte(%sysfunc(rank(a)) + &i. - 1));

Proc sql;
Create table _&dsn. As
Select * from sashelp.class
where lowcase(substr(name,1,1)) = "&dsn.";
quit;

%end;
%mend;
%out_alphas;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user3879137

79478885

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

The "Blending Model: Oil Production" concept often refers to optimizing the mix of crude oils from various sources to achieve desired product specifications. This involves considering factors like sulfur content, density, and viscosity, aiming for maximum yield and quality. Refineries use sophisticated algorithms to determine the optimal blend, minimizing costs and meeting market demands. Imagine, for instance, a refinery needing to adjust the aromatic profile of its gasoline. They might incorporate a lighter, sweeter crude, carefully balancing it with heavier, more sulfurous options. Just as a chef uses rosemary to enhance a dish, refineries meticulously blend different crude streams to create a harmonious and valuable final product. This process is crucial for efficient and profitable oil production.

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

79478880

Date: 2025-03-02 09:48:40
Score: 0.5
Natty:
Report link

Temporary tables last throughout a session.

If your PostgreSQL client use connection pooling (connections are created lazily once a query is created), then it might give you a different connection (therefore different session) for each query.

Read how to reserve or isolate a connection from the pool in your client. If you want to make a transaction, follow your client's guide on making transactions so that it will use a reserved connection.

Reasons:
  • No code block (0.5):
Posted by: M Imam Pratama

79478876

Date: 2025-03-02 09:47:40
Score: 0.5
Natty:
Report link

Assuming you handled the pagination correctly (as others noted default number of location returned per request is 10 with maximum been 100), I would recommend you:

  1. Check in GMB that location is listed under the account/location group - if it is not there you won't get it through API since you don't manage/own it. As long as you manage/own it you should be able to list it despite its status.

  2. If it is listed but you still are not getting it - write ticket to Google support at https://support.google.com/business/contact/api_default and they should fix the issue (happened 2-3 times to me)

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

79478875

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

I had the JAVA_HOME set and it suddenly stopped working, I upgraded my JDK and set the enviroment variable to the new location and it was sorted.

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

79478869

Date: 2025-03-02 09:42:39
Score: 1
Natty:
Report link

The solution I suggest you is to open the terminal and paste

jupyter notebook stop

and it will stop running the code.

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

79478868

Date: 2025-03-02 09:42:39
Score: 1
Natty:
Report link

The solution I suggest you is to open the terminal and paste

jupyter notebook stop

and it will stop running the code.

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

79478867

Date: 2025-03-02 09:41:39
Score: 1
Natty:
Report link

The solution I suggest you is to open the terminal and paste

jupyter notebook stop

and it will stop running the code.

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

79478866

Date: 2025-03-02 09:41:39
Score: 1
Natty:
Report link

The solution I suggest you is to open the terminal and paste

jupyter notebook stop

and it will stop running the code.

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

79478865

Date: 2025-03-02 09:40:39
Score: 1
Natty:
Report link

The solution I suggest you is to open the terminal and paste

jupyter notebook stop

and it will stop running the code.

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

79478851

Date: 2025-03-02 09:31:37
Score: 3.5
Natty:
Report link

This is possible with the help Custom Authentication Extensions, there are different events are available to configure, where you can call your custom logic in the workflow Below are the events supported

  1. OnAttributeCollectionStart
  2. OnAttributeCollectionSubmit
  3. One time passcode send event

Diagram from MSDN on the events workflow

Check this link from Microsoft here : https://learn.microsoft.com/en-us/entra/identity-platform/custom-extension-overview

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): Check this link
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ravi Teja

79478847

Date: 2025-03-02 09:29:37
Score: 3.5
Natty:
Report link

I recently created a new Page for a youtube channel I made. I wanted to be able to share my videos to the facebook page, but no matter what I try I always get the "User has opted out of platform" error.

I tried editing the settings, and enabled the "Apps and websites" -> "Apps, websites, and games". But once I navigate away, the setting resorts back to being turned off.

Is there some step I am missing? If I switch to my normal page account, I can share the videos to that, but I cannot share them to the page I created for the YT Channel.

Is there some extra steps I need to do since it's a Professional Page?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Jesse Knott