79616234

Date: 2025-05-11 06:47:33
Score: 4
Natty:
Report link

im facing same the issue on my side too

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

79616223

Date: 2025-05-11 06:26:29
Score: 2.5
Natty:
Report link

<!-- Google Tag Manager -->

<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':

new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=

'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);

})(window,document,'script','dataLayer','GTM-PL9PWRR8');</script>

<!-- End Google Tag Manager -->

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Anton

79616220

Date: 2025-05-11 06:16:27
Score: 1.5
Natty:
Report link

Hot Reload doesn’t apply changes to ThemeData or other global objects like main() or MaterialApp parameters. To see those changes:

👉 Use Hot Restart instead of Hot Reload.

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

79616217

Date: 2025-05-11 06:10:25
Score: 0.5
Natty:
Report link
template<class>
struct class_of;
template<class T, class C>
struct class_of<T C::*> { using type = C; };

template <typename T>
void GeorgeFunc(T fp)
{
  typename class_of<T>::type obj;
  (obj.*fp)();
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: leekillough

79616208

Date: 2025-05-11 05:48:21
Score: 2
Natty:
Report link

Press f1 and type git: Close And it will show you Git: Close All Unmodified Editors like the image below:
Git: Close All Unmodified Editors

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: MajidJafari

79616207

Date: 2025-05-11 05:47:20
Score: 1
Natty:
Report link

Try to add "scroolbar" like variants in your tailwind.config.js v4

plugins: [
  require('tailwind-scrollbar')({ nocompatible: true }),
],

The previous code enables modern variant usage for Tailwind v4.

Finally, restart Tailwind:

npm run tailwind
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: David

79616205

Date: 2025-05-11 05:46:20
Score: 3.5
Natty:
Report link

To fix the error **"unable to initialize the Unity Engine Gfx api"** when running a Unity application on an Android emulator, follow these steps:

---

### 🔧 1. **Configuring the graphics of the emulator**

- **Change the emulator graphics driver**:

- Avoid **Automatic** and **Native GPU** (often cause conflicts with Unity).

- **Create a new emulator**:

---

### 🛠️ 2. ** Unity Configuration**

- **Build Settings**:

- **AI Foundation Framework**:

- If you are using neural network models, check their compatibility with the x86 architecture of the emulator.

---

### 💻 3. **System requirements**

- **Enable hardware acceleration**:

- **Allocate more resources**:

---

### 🐞 4. ** Diagnostics**

- **Check the Unity logs**:

- Open **Window → Analysis → Log**.

- **Test it on a real device**:

---

#### 🔄 5. **Emergency measures**

- **Rebuild the project**:

``bash

# Delete

the rm -rf Library cache/ Temp/ ProjectSettings/ProjectVersion.txt

``

- **Use the Genymotion emulator** (more stable for Unity):

- Create a device with Android 13 and graphics **OpenGL ES 3.0**.

---

**Example of a working configuration**:

| Component | Version |

|-----------------|----------------------|

| Unity | 2022.3.9f1 |

| Android SDK | 34.0.0 |

| Emulator Image | API 33 (Android 13) |

| Graphics Driver | ANGLE (D3D11) |

If the problem persists, please send:

1. Screenshot of the error with the full text.

2. A fragment of the log from 'adb logcat | grep "EGL"`.

3. Graphics API settings in Unity.

Reasons:
  • RegEx Blacklisted phrase (2.5): please send
  • Long answer (-1):
  • No code block (0.5):
  • Filler text (0.5): -----------------
  • Filler text (0): ----------------------
  • Low reputation (1):
Posted by: Данил Чедов

79616200

Date: 2025-05-11 05:40:19
Score: 2.5
Natty:
Report link

This error log indicates that nodejs is not installed on your system. Please run node and npm in your terminal with the -v flag. If those give you an error try to reinstall nodejs and verify that it is referenced in your environment variables.

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

79616198

Date: 2025-05-11 05:37:18
Score: 1
Natty:
Report link
#include <stdio.h>    // Preprocessor directive to include the standard I/O library

int main(void) {
    printf("Hello, world!\n");   // Call to the standard library function
    return 0;                    // Exit status to the operating system
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aditya Pratap Singh

79616196

Date: 2025-05-11 05:33:17
Score: 5
Natty: 4
Report link

This may help you check this out. ran using bash script
https://medium.com/@shadeersadikeen/seamless-cross-account-s3-transfers-with-one-simple-bash-script-69ccd099562c

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shadeer

79616194

Date: 2025-05-11 05:32:16
Score: 3
Natty:
Report link

To use language packs, we need a full build version of VS Code.

npm run gulp vscode-win32-x64

https://github.com/microsoft/vscode/issues/245119

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Manabu Nakamura

79616183

Date: 2025-05-11 05:07:11
Score: 2
Natty:
Report link

To answer your last statement, yes I would be concerned with a loss of data due to removing a participant if you're trying to analyze the whole population with one polychoric correlation test.

I would split your population into subgroups based on their answer to a conditional question (i.e. all participants that answered yes to "Do you eat ice cream?". You would then perform the polychoric correlation on each of those subgroups.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Ethan Noble

79616180

Date: 2025-05-11 05:03:10
Score: 1.5
Natty:
Report link

I found where cause the problem.

1. Misunderstanding of Auto-Passed Parameters

I was confused about how the row parameter in the method clickToSelect(row) gets passed, since the template didn’t explicitly do this:

@row-click="clickToSelect" <!-- No (row) passed manually -->

Vue automatically passes the appropriate arguments to the handler when using @event="methodName". In the case of Element Plus’s @row-click, it passes (row, column, event). So there’s no need to manually specify the parameters unless I want to customize them.

2. Incorrect row-key , causing selection issues

I originally wrote:

<el-table row-key="id"> <!-- ❌ Wrong casing -->

My data objects use ID (uppercase), not id. The row-key must exactly match the property name used to uniquely identify rows.

Without a proper row-key, Element Plus can’t uniquely track each row, which may result in unexpected behavior like selecting all rows on click.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Richard Chou

79616165

Date: 2025-05-11 04:35:04
Score: 0.5
Natty:
Report link

Its better to use packages. I'm using Nextjs and with 'use client' this works: Focus on Aria-label when building apps to help visually impaired people. Thanks.

Install and import file-saver package as below:

import fileSaver from 'file-saver'

Invoke the saveAs to download.

     <button
      onClick={() => {
        fileSaver.saveAs(
          "https://yolo-chill-buddy.com/myfile.pdf",
          "my-file.pdf"
        );
      }}
      aria-label="Do this and it works - chill"
    >
      <span>Download</span>
    </button>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sachin R

79616162

Date: 2025-05-11 04:32:03
Score: 0.5
Natty:
Report link

With version 33 of ag grid i had to pass theme api directly to the component and remove css imports.

import { themeAlpine } from 'ag-grid-community';

<AgGridReact
    theme={myTheme}
    ...
/>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rajatgalav

79616155

Date: 2025-05-11 04:15:00
Score: 1.5
Natty:
Report link

Shortcut conflicts with pre-defined in Android Studio settings.

Go to Settings > Keymap > Editor actions, remove "Option-Click" shortcut from "Create rectangular selection on mouse drag".

Related IDEA issue: https://youtrack.jetbrains.com/issue/IDEA-229345/Drag-Copy-of-text-doesnt-work-on-Mac

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

79616148

Date: 2025-05-11 04:01:57
Score: 2
Natty:
Report link

I suggest the following steps:

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

79616137

Date: 2025-05-11 03:43:53
Score: 3
Natty:
Report link

# Building MCP with LLMs

\> Speed up your MCP development using LLMs such as Claude!

This guide will help you use LLMs to help you build custom Model Context Protocol (MCP) servers and clients. We'll be focusing on Claude for this tutorial, but you can do this with any frontier LLM.

## Preparing the documentation

Before starting, gather the necessary documentation to help Claude understand MCP:

1. Visit [https://modelcontextprotocol.io/llms-full.txt](https://modelcontextprotocol.io/llms-full.txt) and copy the full documentation text

2. Navigate to either the [MCP TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk) or [Python SDK repository](https://github.com/modelcontextprotocol/python-sdk)

3. Copy the README files and other relevant documentation

4. Paste these documents into your conversation with Claude

## Describing your server

Once you've provided the documentation, clearly describe to Claude what kind of server you want to build. Be specific about:

* What resources your server will expose

* What tools it will provide

* Any prompts it should offer

* What external systems it needs to interact with

For example:

```

Build an MCP server that:

- Connects to my company's PostgreSQL database

- Exposes table schemas as resources

- Provides tools for running read-only SQL queries

- Includes prompts for common data analysis tasks

```

## Working with Claude

When working with Claude on MCP servers:

1. Start with the core functionality first, then iterate to add more features

2. Ask Claude to explain any parts of the code you don't understand

3. Request modifications or improvements as needed

4. Have Claude help you test the server and handle edge cases

Claude can help implement all the key MCP features:

* Resource management and exposure

* Tool definitions and implementations

* Prompt templates and handlers

* Error handling and logging

* Connection and transport setup

## Best practices

When building MCP servers with Claude:

* Break down complex servers into smaller pieces

* Test each component thoroughly before moving on

* Keep security in mind - validate inputs and limit access appropriately

* Document your code well for future maintenance

* Follow MCP protocol specifications carefully

## Next steps

After Claude helps you build your server:

1. Review the generated code carefully

2. Test the server with the MCP Inspector tool

3. Connect it to Claude.app or other MCP clients

4. Iterate based on real usage and feedback

Remember that Claude can help you modify and improve your server as requirements change over time.

Need more guidance? Just ask Claude specific questions about implementing MCP features or troubleshooting issues that arise.

Reasons:
  • Blacklisted phrase (1): This guide
  • Blacklisted phrase (1): this tutorial
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Colin Kemp

79616131

Date: 2025-05-11 03:30:50
Score: 2.5
Natty:
Report link

if you want to disable security globally. Under Jenkins > Manage Jenkins > Security > Authorization select "Anyone can do anything". After that you don't have to be logged in to do anything in jenkins

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

79616127

Date: 2025-05-11 03:26:49
Score: 0.5
Natty:
Report link

use IDispatchPtr (<comip.h>) that is _com_ptr_t internally and its operator& is

Interface** operator&() throw()
    {
        _Release(); 
        m_pInterface = NULL;
        return &m_pInterface;
    }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JeeyCi

79616125

Date: 2025-05-11 03:17:47
Score: 2.5
Natty:
Report link

Why not a monolith? You have no complex logic, microservices are harder to deploy. Making 4 programs with 3 classes on each is the worst idea. Oh, no, make 50 classes, cause every function needs it's own class.

This architecture isn't good for this program. Even if you have to balance loads, you can make it without of microservices.

I'm making Minecraft hosting, I need microservices, cause making containers and game servers may be done at different servers, central microservices must be isolated, because docker is not very safe. Making orders, register users, are really independent tasks. Web interface must be isolated from DB, it is made by other programmer.

But here you divide your system into 4 components, when you can make one small project. Microservices don't mean 1-2 functions per app, they mean 1-2 tasks, separate from other modules

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why not a
  • Low reputation (1):
Posted by: tankoman 228

79616122

Date: 2025-05-11 03:15:46
Score: 1
Natty:
Report link

If you are using opencv-rs, try adding the clang feature:

opencv = {version = "0.94.4", features = ["clang-runtime"]}

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

79616121

Date: 2025-05-11 03:10:45
Score: 1
Natty:
Report link

Looks like there's another http server running in your container that blocks the port.

Try creating a new VM and run commands sudo docker pull httpd & sudo docker run -d --name apache-server -p 86:80 httpd only.

docker run starts the container so you don't need to docker start it.

Try fresh VM (ideally Container Optimised OS). You can always install the Apache directly on the VM if that's the only thing that you need to run on it with sudo apt install apache2 -y and allow http traffic in your VM's firewall with sudo ufw allow 'WWW'.

Make sure also that your GPS's firewall allows traffic in & out.

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

79616117

Date: 2025-05-11 02:56:42
Score: 2.5
Natty:
Report link

未解决

(.venv) (base) oscc:aiagent cc$ pip uninstall JWT
WARNING: Skipping JWT as it is not installed.
(.venv) (base) oscc:aiagent cc$ pip uninstall PyJWT
Found existing installation: PyJWT 2.10.1
Uninstalling PyJWT-2.10.1:
  Would remove:
    /Users/cc/Downloads/java_stu/aiagent/.venv/lib/python3.9/site-packages/PyJWT-2.10.1.dist-info/*
    /Users/cc/Downloads/java_stu/aiagent/.venv/lib/python3.9/site-packages/jwt/*
Proceed (Y/n)? y
  Successfully uninstalled PyJWT-2.10.1
(.venv) (base) oscc:aiagent cc$ pip install PyJWT=1.6.4
ERROR: Invalid requirement: 'PyJWT=1.6.4': Expected end or semicolon (after name and no valid version specifier)
    PyJWT=1.6.4
         ^
Hint: = is not a valid operator. Did you mean == ?
(.venv) (base) oscc:aiagent cc$ pip install pyjwt
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting pyjwt
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/61/ad/689f02752eeec26aed679477e80e632ef1b682313be70793d798c1d5fc8f/PyJWT-2.10.1-py3-none-any.whl (22 kB)
Installing collected packages: pyjwt
Successfully installed pyjwt-2.10.1

报错

import jwt
encoded_jwt = jwt.encode({"some": "payload"}, "secret", algorithm="HS256")

不行

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[19], line 2
      1 import jwt
----> 2 encoded_jwt = jwt.encode({"some": "payload"}, "secret", algorithm="HS256")

AttributeError: module 'jwt' has no attribute 'encode'
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: TMD TEL

79616114

Date: 2025-05-11 02:51:41
Score: 1.5
Natty:
Report link

For Java 21,

java -Xlog:class+load=info -cp your-app.jar com.myapp.Main

to show all modules attempted to be loaded.

Filter from there for Java packages as needed.

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

79616102

Date: 2025-05-11 02:35:38
Score: 1
Natty:
Report link

Diversity and multiculturalism are pillars of Australian society, and Young Academics makes it a priority to ensure all children in our care are given a safe and inclusive environment that fosters a sense of belonging and respect, regardless of cultural identity or background.

It is now widely recognised that the early years of life are the most important for learning. Research suggests that children who grow up in diverse and inclusive environments likely develop personality traits and characteristics that show empathy, compassion and a broader perspective. In contrast, children raised in a homogenous environment are less likely to accept or may struggle to understand differences.

Strategies for creating an inclusive early learning centre: Here are some practical strategies Young Academics has implemented to create a more inclusive and welcoming environment for every child:

Ensure that staff and educators are trained in cultural sensitivity and inclusion. Use diverse materials, books, toys, and images representing different cultures and identities. Celebrate cultural holidays and events like Diwali or Chinese New Year. Create a safe space for children to express their identities. Encourage cross-cultural friendships and interactions among children. Establish a zero-tolerance policy for bullying, discrimination, or exclusion. Positiv​​e outcomes of early childhood education and care programs that promote inclusion Early childhood education and care programs significantly impact young children’s cognitive, social, and emotional development. When coupled with intentional teaching of inclusion and diversity, this can even have a greater impact on children’s development:

Cultural appreciation: Programs that promote inclusion and diversity expose children to different cultures, languages, and traditions. To do this, our curriculum encourages children’s respect towards other cultures and beliefs from a young age. This exposure helps children develop a better understanding and appreciation of diversity and can contribute to developing their cultural identity. Improved social-emotional development: Inclusion and diversity in early childhood education and care programs provide children with the opportunity to interact with peers from different backgrounds, which helps them develop social-emotional skills such as empathy, respect, and tolerance. Children who attend these programs are more likely to develop positive attitudes towards diversity and have stronger social relationships. Increased family engagement: Early childhood education and care programs prioritising inclusion and diversity often involve families in their children’s education. These programs encourage families to share their cultural traditions and language, which helps build stronger relationships between families and educators. Better academic outcomes: Children attending early childhood education and care programs have a strong foundation in language and literacy, as well as critical thinking and problem-solving skills. Promoting equity: Inclusion and diversity in early childhood education and care programs can help promote equity by ensuring that all children have access to quality education regardless of their background or identity. These programs can help reduce educational disparities and allow all children to reach their full potential. At Young Academics, the formative years become our responsibility. Despite significant transitions, one thing remains constant—the multicultural composition of the Australian population. At each of our early learning centres, we foster positive relationships regarding community and citizenship so that the upcoming generations empathise and respect the differences within our society.

To get to know our programs and policies a little more, contact us today.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kisal jayasundara

79616099

Date: 2025-05-11 02:27:37
Score: 2
Natty:
Report link

Had the same error. I'm running a Mac, Sequoia 15.4.1. I was able to resolve by opening a Terminal window, going to my Homestead root folder and runnning brew upgrade
And then running vagrant up again.

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

79616092

Date: 2025-05-11 02:09:33
Score: 1.5
Natty:
Report link

Once can print loop count of current thread group as

${__jm__MyLoopController__idx}

if your Threadgroup name is login , we need to change it as below

${__jm__login__idx}

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

79616089

Date: 2025-05-11 02:06:32
Score: 0.5
Natty:
Report link

Validation should run as soon as the user interacts with the field (e.g. on change or blur).

Error messages should show immediately when a user enters invalid data into a field (i.e. not just after clicking "Next").

How can I get real-time validation state just for the current step’s fields, and make the “Next” button reactive based on that?

Set all mode for your form. Read the API. Example:

const form = useForm({
    resolver: zodResolver(resourceNoteFormSchema),
    defaultValues: { note: '' },
    mode: 'all'
});

The "Next" button should be disabled by default, and should only become active when all fields in the current step are valid.

Use getFieldState API to get field states for step + useWatch API to subscribe on step updates. Example:

const useStepValidity = (form, stepFields) => {
  // Watch all current step fields so we re-render when they change
  const watch = useWatch({ control: form.control, name: stepFields.map(({ name }) => name) });

  return useMemo(() => {
    return stepFields.every((stepField) => {
      const { isDirty, invalid } = form.getFieldState(stepField.name);
      return (isDirty || stepField.isOptional) && !invalid;
    });
  }, [form, stepFields, watch]);
};

Full Example :

const useStepValidity = (form, stepFields) => {
  // Watch all current step fields so we re-render when they change
  const watch = useWatch({ control: form.control, name: stepFields.map(({ name }) => name) });

  return useMemo(() => {
    return stepFields.every((stepField) => {
      const { isDirty, invalid } = form.getFieldState(stepField.name);
      return (isDirty || stepField.isOptional) && !invalid;
    });
  }, [form, stepFields, watch]);
};

const TestForm = () => {
  const form = useForm({
    mode: 'onChange',
    defaultValues: {
      firstName: '',
      lastName: '',
      email: ''
    }
  });
  const { register } = form;

  const isFirstStepReady = useStepValidity(form, [
    { name: 'firstName' },
    { name: 'lastName', isOptional: true }
  ]);
  const isSecondStepReady = useStepValidity(form, [{ name: 'email' }]);

  return (
    <form>
      <div>
        <label>First Name</label>
        <input {...register('firstName', { required: true })} />
      </div>
      <div>
        <label>Last Name</label>
        <input {...register('lastName')} />
      </div>
      <div>
        <label>Email</label>
        <input {...register('email', { required: true })} />
      </div>

      <p>First Step Ready: {isFirstStepReady ? 'Yes' : 'No'}</p>
      <p>Second Step Ready: {isSecondStepReady ? 'Yes' : 'No'}</p>
    </form>
  );
};

NOTE: getFieldState you should handle fields that optional but have some other validation rules (is it covered in the example).

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Boris Shulyak

79616088

Date: 2025-05-11 02:00:25
Score: 4.5
Natty: 5
Report link

This page has all the methods for the rest api: https://learn.microsoft.com/en-us/graph/api/resources/message?view=graph-rest-1.0&preserve-view=true

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

79616085

Date: 2025-05-11 01:55:23
Score: 3
Natty:
Report link

same Problems i fix this problema with Update tsconfig.json with following code.

 "lib": [
      "es2018",
      "dom",
      "ES2022", "dom", "dom.iterable"
    ]

or

"compilerOptions": { 
    "lib": ["ES2022", "dom", "dom.iterable"]
}

reference of error

I have a problem configuring bootstrap 5.3.0 in angular 15, popovers, tooltips and toasts no work

Reasons:
  • RegEx Blacklisted phrase (1): same Problem
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: irving navarro

79616079

Date: 2025-05-11 01:46:21
Score: 2
Natty:
Report link

sad , tried it with : javascript:(function(){ document.querySelector('video').playbackRate = 2.0 ; })();

to speed up netflix video.

Only working for few seconds on netflix then back normal speed in firefox on linux

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

79616074

Date: 2025-05-11 01:34:19
Score: 1
Natty:
Report link

Using just cycle and the built-in zip you can also just do it like this.

from itertools import cycle

[char for _, char in zip(range(3),cycle(["a","b","c"]))]

This works because zip just stop when an iterator is depleted.

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

79616073

Date: 2025-05-11 01:29:17
Score: 4
Natty:
Report link

You can, but you shouldn't. Vercel has a different approach to hosting backend works, and compared to your traditional setup it would be non-performant. I would suggest Heroku, but as the post below states, it is no longer free and may not be suited for you.

This was already answered in another StackOverflow post too, here. I recommend you reading and verifying as I'm newer. It also tells you how to set it up on up-to-date information, if you're still interested.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • RegEx Blacklisted phrase (1.5): I'm new
  • No code block (0.5):
  • Low reputation (1):
Posted by: HeartOfIrons

79616052

Date: 2025-05-11 00:43:08
Score: 4.5
Natty:
Report link

I am not able to comment below your question due to fewer reps, so mentioning my observation here.

@media ( max-width : 968px) {
    #sidebar.active {
     margin-left: 0;
     transform: none;
    }
}

The above lines are commented in your CSS file inside the media query. Can you remove the comments and check?

Reasons:
  • Blacklisted phrase (1): I am not able to
  • Blacklisted phrase (1): to comment
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Pooja Jethva

79616040

Date: 2025-05-11 00:16:02
Score: 6.5 🚩
Natty: 6
Report link

How does the plot works for the Multiple dates estimations?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How do
  • Low reputation (1):
Posted by: SAskia

79616019

Date: 2025-05-10 23:36:54
Score: 3.5
Natty:
Report link

use cvtss2sd before printf

transform float to double

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

79616018

Date: 2025-05-10 23:33:53
Score: 1
Natty:
Report link

This might be a session vs system daemon issue, can you try adding --connect qemu:///system to your virt-install command, and/or running it with sudo? Some distributions default to using the qemu:///session daemon by default, which doesn't have a default network. Unless you need this machine to run as your user or otherwise unprivileged?

Reasons:
  • Whitelisted phrase (-2): can you try
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Christopher Richez

79616008

Date: 2025-05-10 23:10:48
Score: 0.5
Natty:
Report link

After trying to deploy locallly first and via cloud run, I have fixed the issue. It is just need to refresh the ADC credentials, due to the validity status false (expired).
Here is the code :

def _get_credentials():
    """
    Mendapatkan kredensial menggunakan Application Default Credentials (ADC).
    Di lingkungan Cloud Run, ini akan menggunakan service account yang terkait.
    """
    try:
        logging.info("Attempting to get credentials using google.auth.default()...")
        credentials, project_id = google.auth.default(scopes=SCOPES)
        logging.info(f"Successfully obtained ADC. Project ID: {project_id}, Type: {type(credentials)}")

        if hasattr(credentials, 'service_account_email'):
             logging.info(f"ADC: Service Account Email (from ADC): {credentials.service_account_email}")
        else:
             logging.info("ADC: Service Account Email attribute not found (expected for user creds from gcloud auth application-default login, not typical for SA on Cloud Run).")

        # Periksa validitas awal ADC
        adc_initially_valid = credentials and credentials.valid
        logging.info(f"ADC: Credentials initial valid check: {adc_initially_valid}")

        # Jika kredensial ADC awalnya tidak valid, coba lakukan refresh.
        # Ini akan memastikan upaya refresh selalu dilakukan jika ADC tidak langsung valid.
        if not adc_initially_valid and credentials:
            logging.warning("ADC: Credentials initially invalid. Attempting refresh...")
            try:
                credentials.refresh(Request())
                logging.info("ADC: Credentials refresh attempt completed.") # Log setelah refresh dicoba
            except Exception as adc_refresh_err:
                logging.error(f"ADC: Failed during credentials refresh attempt: {adc_refresh_err}", exc_info=True)
                # Biarkan credentials.valid akan diperiksa di bawah
        
        if not credentials.valid:
            # Ini seharusnya tidak terjadi di Cloud Run dengan SA yang dikonfigurasi dengan benar.
            logging.warning("Credentials obtained but are not marked as valid after potential refresh. This might indicate an issue with the ADC setup or permissions.")
            # Anda bisa memutuskan untuk mengembalikan None di sini jika validitas sangat krusial
            # return None

        return credentials
    except google.auth.exceptions.DefaultCredentialsError as e:
        logging.error(f"Failed to get Application Default Credentials: {e}", exc_info=True)
        return None
    except Exception as e:
        logging.error(f"An unexpected error occurred while getting credentials: {e}", exc_info=True)
        return None

@app.route('/check-adc')
def perform_adc_check():
    """Melakukan tes untuk mendapatkan ADC."""
    logging.info("Performing ADC check...")
    credentials = _get_credentials()
    if credentials and credentials.valid:
        logging.info("ADC check successful: Credentials obtained and are valid.")
        project_id_msg = f"Project ID from ADC: {credentials.project_id}" if hasattr(credentials, 'project_id') else "Project ID not directly available on credentials object."
        return f"ADC Check OK: Credentials obtained and are valid. {project_id_msg}", 200
    elif credentials and not credentials.valid:
        logging.error("ADC check found credentials, but they are NOT valid.")
        return "ADC Check FAILED: Credentials obtained but are not valid.", 500
    else:
        logging.error("ADC check FAILED: Could not obtain credentials.")
        return "ADC Check FAILED: Could not obtain credentials.", 500

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Irsyam Asri Putra

79616002

Date: 2025-05-10 22:59:45
Score: 5.5
Natty: 4.5
Report link

Build->Rebuild project

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kamel Khenissi

79615998

Date: 2025-05-10 22:55:44
Score: 1
Natty:
Report link

There's a Morphia 2.5 now that brings driver 5.0+ support, fwiw. 2.4.x and 2.5.x only differ in what drivers they support so the transition should be seamless for you.

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

79615996

Date: 2025-05-10 22:48:42
Score: 1
Natty:
Report link

My 50 cents to the topic. A one liner to get a cookie value.

I had to add a session check / creation to a webhook in n8n, so I used:


//get:
let sessionKey = $json.headers.cookie.matchAll(/([^;=\s]*)=([^;]*)/g).toArray().find(c => c[1] == 'SESSID')?.reduce((acc, v, k) => k == 2 ? decodeURIComponent(v) : acc, '') ?? '';

Yes, $json.headers.cookie would be need to be the correct request.headers?.cookie array.

n8n Workflow: https://community.n8n.io/t/how-to-set-a-real-session-id-through-the-browser-for-webhooks/113570/1

gist: https://gist.github.com/BananaAcid/42a5a4bdb95678154202ae391232c224

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: BananaAcid

79615989

Date: 2025-05-10 22:40:40
Score: 3
Natty:
Report link

In postman, form data, click the ... new bulkedit button to add content type column, the for the document row choose application/json. look at this screenshot postman image

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

79615982

Date: 2025-05-10 22:25:37
Score: 0.5
Natty:
Report link

Here's how I got my TextBox to fill the form:

 <DockPanel LastChildFill="True">
 
 <TextBox TextWrapping="Wrap" Text="TextBox" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" 
          AcceptsReturn="True" AcceptsTab="True" />

 </DockPanel>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Carlos A Merighe - Utah

79615978

Date: 2025-05-10 22:11:34
Score: 1
Natty:
Report link

As of May 2025, github.copilot.editor.enableAutoCompletions has been deprecated, instead use github.copilot.enable:

 "github.copilot.enable": {
     "*": false
 }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tikolu

79615967

Date: 2025-05-10 22:02:32
Score: 1
Natty:
Report link

Clear Lockdown Folder on PC (Important!):

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

79615962

Date: 2025-05-10 21:51:29
Score: 3
Natty:
Report link

other file is separate module, you need to create it as a package. With in the same project check config base path

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

79615960

Date: 2025-05-10 21:48:29
Score: 3
Natty:
Report link

2025 Update for Visual Studio 2022

If you are like me, and you only want to disable annoyances with quotation autocompletion, and continue having braces autocomplete, you may be in luck!

I just installed this plugin here to fix the usability issues:

https://marketplace.visualstudio.com/items?itemName=MadsKristensen.QuoteCompletionFix

This fixed my issues with quote autocompletion in code files from what I can tell so far - but the issue still persists in plain text files. But I don't care about quote or brace autocompletion in text files, so I just disabled it entirely for only that file type by turning off the option located in the Visual Studio UI at:

Toolbar -> Tools -> Options -> Text Editor -> Plain Text -> General -> Automatic Brace Completion

Options modal navigation to Text Editor -> Plain Text -> General -> Automatic Brace Completion

Many thanks to Mads Kristensen for this highly useful extension!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): this plugin
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Matthew Beck

79615951

Date: 2025-05-10 21:40:25
Score: 11 🚩
Natty: 5.5
Report link

I have this same issue. Were you able to solve it?

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve it?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Saúl Eduardo Osorio Hernández

79615937

Date: 2025-05-10 21:26:21
Score: 1
Natty:
Report link

Ensure assets/images/logo.png exists with correct casing and is listed under flutter > assets: in pubspec.yaml with proper 2-space indentation.

Run flutter clean, then flutter pub get, and restart the app (not just hot reload).
Check the debug console for asset loading errors.

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

79615928

Date: 2025-05-10 21:17:19
Score: 1
Natty:
Report link

That double colon (::) is invalid. It should be just:

 background-color: #fff;

and

 body {
background-color: rgba(255, 200, 100, 0.5);
color: #0af;

}

Also Make Sure: Your file css/style.css is actually located at project-root/css/style.css.

You’ve cleared browser cache or done a hard reload (Ctrl+Shift+R).

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

79615925

Date: 2025-05-10 21:14:18
Score: 4
Natty:
Report link

this would probably work, right?

list = ["alex", "jack", "sam", "patrick"]
output = ""
for i in list:
    output += i + " "
    print(output)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: hedgehogger10

79615915

Date: 2025-05-10 21:02:15
Score: 11.5
Natty: 7.5
Report link

aaah how did you fix your issue?

Reasons:
  • Blacklisted phrase (1): how did you fix
  • RegEx Blacklisted phrase (3): did you fix your
  • RegEx Blacklisted phrase (1.5): fix your issue?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Erick Amon

79615914

Date: 2025-05-10 21:01:15
Score: 1
Natty:
Report link

Appearntly, when origin is an Azure resource, like a WebApps or static website, etc, you must also include the parameter

--origin-host-header "$STORAGE_WEB_APP_URL"

otherwise all requests will fail.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Herald Gjura

79615906

Date: 2025-05-10 20:54:13
Score: 1.5
Natty:
Report link

When the askyesno pops up, there are 2 buttons: Yes and No, but I want to customize these buttons to "OK" and "Cancel", for example.

Add the Askyesno module import.

Snippet:

def confirm_choice():
    response = askyesno("Are you sure you want to choose this text file?")
    if response:
        print("User chose Yes")
    else:
        print("User chose No")
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Starts with a question (0.5): When the as
  • Low reputation (0.5):
Posted by: Adios Gringo

79615903

Date: 2025-05-10 20:48:12
Score: 2
Natty:
Report link

To locate hotels near the Dubai World Trade Centre (DWTC) using Selenium, you can automate the process of extracting hotel information from online booking platforms. This involves writing scripts that navigate to hotel booking websites, input search criteria for DWTC, and scrape details such as hotel names, addresses, and prices. For a comprehensive list of accommodations near DWTC, you can refer to DWTC hotels, which provides curated options tailored to various preferences and budgets.

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

79615900

Date: 2025-05-10 20:42:11
Score: 0.5
Natty:
Report link

From MySQL documentation https://dev.mysql.com/doc/refman/8.4/en/create-temporary-table.html

       CREATE TEMPORARY TABLE `TempTable` 
          SELECT * FROM ( WHATHEVER, UNION, ETC ) Z ;  
 
       SELECT * FROM `TempTable`;
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Sergio Abreu

79615882

Date: 2025-05-10 20:25:05
Score: 0.5
Natty:
Report link

If you pass the entire datos data frame to qcc it will include the Nro..Muestra column in the data analysis. You will get your desired plot if you drop that column from the data passed to qcc().

qcc(datos[,-1], type = "R")  
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: FJCC

79615878

Date: 2025-05-10 20:17:04
Score: 1.5
Natty:
Report link

You only perform one simultaneous.

Snippet:

def BuildApplication():
    for key in jsonValueDict:       
        label = ttk.Label(topContainer, text="Insira a coluna " + jsonValueDict[key])
        label.pack()
        
        entry = ttk.Entry(topContainer)
        entry.pack()
   :
   : 

Screenshot:

enter image description here

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

79615869

Date: 2025-05-10 20:04:58
Score: 2.5
Natty:
Report link

As of now (3.14 beta), there's no internal mechanism in CPython to trigger any callback after a line executed.

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

79615868

Date: 2025-05-10 20:03:58
Score: 3
Natty:
Report link

Since Python 3.13, pdb has supported multi-line input natively.

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

79615867

Date: 2025-05-10 19:59:57
Score: 4
Natty:
Report link

@shrotter answered but removed their comment. suggestion was to try testvar="B3"

this worked, thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @shrotter
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Robert Kendall

79615857

Date: 2025-05-10 19:46:54
Score: 1.5
Natty:
Report link

Please give this a try. Defining RELEASE as zero(0) or one(1) will directly impact the length of array filtered_data ... smaller if RELEASE==1 ... which assumes you do Not want the full array of data for production/release.

Compiles and runs in both modes ( RELEASE 1 or 0 ); tested in Visual Studio just now.

    #include <stdio.h>
    #define RELEASE  0

    #if RELEASE 
        #define MACRO_DATA 0
    #else
        #define THRESHOLD 5
        #define MACRO_DATA \
            X( 1 ) \
            X( 8 ) \
            X( 3 ) \
            X( 12 ) \
            X( 5 )
        #define X(value) ((value) >= THRESHOLD ? value : -1),
    #endif //RELASE

    // Generate filtered array
    int filtered_data[] = { MACRO_DATA };

    int main()
    {
        printf("%d\n", filtered_data[0]);

        return 0;
    }
Reasons:
  • RegEx Blacklisted phrase (2.5): Please give
  • Long answer (-0.5):
  • Has code block (-0.5):
Posted by: greg spears

79615854

Date: 2025-05-10 19:40:52
Score: 1
Natty:
Report link

If you have this problem in your Composable Preview, you can downgrade the API level like this

@Preview(apiLevel = 34)

Or update your Android Studio

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

79615847

Date: 2025-05-10 19:30:49
Score: 0.5
Natty:
Report link

This formula will count the number of blank cells starting in the column that matches the time entered in $B$1 (rounded down to 10-minutes) and moving to the right.

=XMATCH("*",OFFSET(D$1:CX$1,ROW()-1,XMATCH(FLOOR($B$1,"010"),D$1:CX$1)-1),2)-1
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bricks96

79615841

Date: 2025-05-10 19:26:47
Score: 9.5 🚩
Natty: 5
Report link

Was this issue resolved? Because I have been facing the same issue

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved?
  • RegEx Blacklisted phrase (0.5): Was this issue resolved
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Was this is
  • Low reputation (1):
Posted by: codeGirl

79615840

Date: 2025-05-10 19:25:47
Score: 3.5
Natty:
Report link

You can open in the AWS management console from the Lambda Code Explorer the timeline of the file. This allows you to go back and see the previous file changes.enter image description here

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

79615838

Date: 2025-05-10 19:23:46
Score: 3.5
Natty:
Report link

You can open in the AWS management console from the Lambda Code Explorer the timeline of the file. This allows you to go back and see the previous file changes.enter image description here

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

79615837

Date: 2025-05-10 19:21:46
Score: 3.5
Natty:
Report link

You can open in the AWS management console from the Lambda Code Explorer the timeline of the file. This allows you to go back and see the previous file changes.enter image description here

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

79615835

Date: 2025-05-10 19:21:46
Score: 2
Natty:
Report link

step 1 . check indentation
step 2 . flutter clean
step 3. check image url again
step 4. flutter run

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

79615824

Date: 2025-05-10 19:07:43
Score: 3
Natty:
Report link

Select a project immediately to the right of Google Cloud in the top left of the screen.

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

79615810

Date: 2025-05-10 18:42:37
Score: 2.5
Natty:
Report link

www.querystreams.com

You can query postgres as well as many other databases. It looks like it's pretty easy to integrate

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

79615809

Date: 2025-05-10 18:38:37
Score: 1
Natty:
Report link
Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Sandeep Kumar

79615805

Date: 2025-05-10 18:31:35
Score: 1.5
Natty:
Report link

Adjusting Tailwind CSS v4 not to strip utility classes in combination with @apply in CSS Modules, you have to pick up your. css in content array of tailwind. config. js. For performance reasons, Tailwind no longer scans CSS for files by default. By explicitly adding '. /src/*/. css files to be processed by Tailwind on build time. That's important when you use @applying within module CSS files to cover off missing styles like bg-slate-700.

['. /src//*. {js,ts,jsx,tsx}', '. /src//*. css']
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @apply
  • User mentioned (0): @applying
  • Low reputation (1):
Posted by: IRFAN FATHAN M

79615803

Date: 2025-05-10 18:30:34
Score: 1
Natty:
Report link

It is definitely possible to create projects in HTML and CSS only (I actually have done a few paid customer projects like that). Examples are:

JS is anyways not a requirement on a website, nowadays many animations and other functionality can be done in CSS, forms did always work without JS. JS is only needed for advanced functionality on the page.

The other thing that is required to publish a website is a web server that is properly set up and connected to the internet. Or a web space at a hosting provider, where the hosting provider is taking care of the web server.

As @JavierMR already said: The first thing where you need to use a programming language (like PHP, Python or Ruby, etc.) is on the server side, because the website will have reoccurring elements like menus that have to be placed on every page of the website, and you will usually not want to make every change on every page per hand. This can also be achieved by utilizing a pre-built CMS (Content Management System) like WordPress or the likes, which many hosting providers allow you to install on their website. By using a CMS or learning a server-side programming language yourself, you will then also be able to do more complex things, like storing data or user input in a database and retrieving that data again and showing it on the website (If you do that, take a good look at best practices and security guidelines, because as soon as you put something on the internet that takes data input, malicious forces will try to abuse it).

But ultimately you do not need all that to start making websites.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @JavierMR
  • Low reputation (0.5):
Posted by: Michael Scheffenacker

79615794

Date: 2025-05-10 18:22:32
Score: 1
Natty:
Report link

Run
flutter create .

in your project directory

This will create all necessary files (including missing files)

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

79615780

Date: 2025-05-10 18:09:29
Score: 0.5
Natty:
Report link

You’re encountering an issue because you’re trying to use your SoundManager from child views via @Environment, but you’re not injecting it from the parent view. Here’s what you should do to fix and improve the structure:

Since SoundManager is marked as @Observable, you need to pass it down using the .environment(\_:) modifier from your root view (ContentView). Otherwise, the child views won’t be able to access it and might crash at runtime.

.environment(soundManager)

Rather than having SoundManager read from UserDefaults or @AppStorage internally (which can cause timing issues or stale values), it’s more reliable to read the toggle value directly from the view using @AppStorage, and pass it to playSound() as a parameter:

try soundManager.playSound(sound: .confirmTone, soundStatus: soundStatus)

This makes your code more predictable and avoids syncing issues with persistent storage.

import AVKit
import SwiftUI
import Observation

@Observable
final class SoundManager {
  var player: AVAudioPlayer?
  var session: AVAudioSession = .sharedInstance()
  
  enum SoundOption: String {
    case posSound
    case confirmTone
    case positiveTone
  }
  
  // use here your toggle state from @AppStorage and pass as parameter
  func playSound(sound: SoundOption, soundStatus: Bool) throws {
    
    if soundStatus {
      guard let url = Bundle.main.url(forResource: sound.rawValue, withExtension: ".wav") else { return }
      
      do {
        try session.setActive(true)
        try session.setCategory(.playback)
        player = try AVAudioPlayer(contentsOf: url)
        
        try session.setActive(false)
        player?.play()
        
      } catch let error {
        throw error
        
      }
    }
  }
}

struct ContentView: View {
  @Bindable var soundManager: SoundManager
  @AppStorage("toggleStorage") var soundStatus = false
  
  init(soundManager: SoundManager = SoundManager()) {
    self.soundManager = soundManager
  }
  
  var body: some View {
    
    NavigationStack {
      VStack (alignment: .leading) {
        
        List {
          NavigationLink("Buy Tomatoes", destination: Feature1())
          
          NavigationLink("Buy Potatoes", destination: Feature2())
          
          Toggle(isOn: $soundStatus,
                 label: { Text("App Sound Confirmations") }
          )
        }
      }
    }
    .environment(soundManager)  //pass environment from here to your child views
  }
}


struct Feature1: View {
  @Environment(\.dismiss) var dismiss
  @Environment(SoundManager.self) private var soundMgr
  @AppStorage("toggleStorage") var soundStatus = false // Read toggle value directly from AppStorage here
  @State private var error: Error?
  
  var body: some View {
    VStack {
      Text("Feature 1")
        .font(.title)
      
      Button {
        do {
          // Pass soundStatus to the playSound function
          try soundMgr.playSound(sound: .posSound, soundStatus: soundStatus)
        } catch {
          
          self.error = error
        }
        dismiss()
      } label: {
        Text("Purchase Tomatoes?")
      }
    }
  }
}


struct Feature2: View {
  @Environment(\.dismiss) var dismiss
  @Environment(SoundManager.self) private var soundMgr
  @AppStorage("toggleStorage") var soundStatus = false // Read toggle value directly from AppStorage here
  @State private var error: Error?
  
  var body: some View {
    VStack {
      Text("Feature 2")
        .font(.title)
      
      Button {
        do {
          // Pass soundStatus to the playSound function
          try soundMgr.playSound(sound: .posSound, soundStatus: soundStatus)
        } catch {
          
          self.error = error
        }
        dismiss()
      } label: {
        Text("Purchase Potatoes?")
      }
    }
  }
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Environment
  • User mentioned (0): @AppStorage
  • User mentioned (0): @AppStorage
  • Low reputation (1):
Posted by: Tornike Despotashvili

79615775

Date: 2025-05-10 18:07:28
Score: 3
Natty:
Report link

Querystreams.com

It does quite a few other databases as well

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

79615773

Date: 2025-05-10 18:04:27
Score: 1.5
Natty:
Report link

Put this in the top of your CSS. I tried all the other hacks, but this worked:

p {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: Colin R. Turner

79615765

Date: 2025-05-10 18:01:26
Score: 1
Natty:
Report link

You definitely can build a web page with html and css. Although if you want to perform some kind of logic (client or server side) it would be a little bit more complex than that.

If you are a beginner in web development, first of all try languages like js or python to do basic stuff (scripting, basic web page logic) and try to identify what do you like more, and go for it, at the end on web development you will have like front and backend specialist and after some time you can become a full stack. You should definitely start with the stuff that calls you into action.

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

79615751

Date: 2025-05-10 17:42:21
Score: 1.5
Natty:
Report link

Thanks for the answer.

I will try this workaround tomorrow, but I would prefer not to change the module (to make it possible to upgrade to future versions of the module without sideeffects.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jørgen Lindskov Knudsen

79615746

Date: 2025-05-10 17:36:19
Score: 3
Natty:
Report link

My stupid mistake was renaming the json file "credentials.json" in windows when it already had the .json extension. So quickstart.py could not find my "credentials.json.json" file. Try listing the contents of your directory to make sure you have the name right.

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

79615737

Date: 2025-05-10 17:30:17
Score: 5
Natty:
Report link

This error has issue github.com/david-lev/pywa/issues/115 The fix for this issue github.com/seboraid/pywa

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

79615734

Date: 2025-05-10 17:26:16
Score: 2.5
Natty:
Report link

I am in a coding bootcamp I have a tutor that insists that [`$events'] will work in the code but have not found fix. I know you discuss ['$events'] as not being adequate is there anywhere else in the code that can be changed to make this work? //Copy reason why stringify (idea where they coming from) Why Stringify? Why use ${allLocations} and not just allLocations? Well, it’s important to always avoid directly putting complex data-type variables into useEffect’s dependency array.

This is because such variables have memory references stored in them that point somewhere else in the memory to where the array values are.

This is in contrast to primitive data-type variables, such as strings.

Take a look at the following illustrations to get a better idea:

Diagram demonstrating potential memory reference difference when using complex data type variables

Figure 4. Memory reference #6441AFFF doesn't equal memory reference #FCC3177A. As a result, useEffect() will think the state has been changed, despite both pointing to arrays that have the same values. The useEffect() callback will be executed, which isn't supposed to happen.

Now let’s look at a situation where useEffect()'s dependency array contains primitive values, such as strings. In this case, the variable stores the actual value rather than a reference to the value. Let’s assume that you have a string dependency, name, where both the old and new values are "test":

Diagram showing variable storing actual value, rather than a reference to the value

Figure 5. "test" does equal "test". As a result, useEffect() will think the state hasn't been changed, and the callback won't be executed, which is the expected behavior.

This is why you would use ${allLocations} to compare the lists after they’re converted to a string (you could also use JSON.stringify(allLocations) to convert it to a string). useEffect() will compare string representations of the arrays, not their memory references.

Keep in mind this is one of many ways that you can compare arrays or objects. In fact, this is one of the more inefficient options, but since it’s so simple, it’s easy to use here.

For a more advanced approach, you could use React hooks like useCallback and useMemo.

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

79615733

Date: 2025-05-10 17:24:16
Score: 2
Natty:
Report link

Had a similar problem with gcc-15
i installed a fresh msys Environment and downloaded below packages from https://repo.msys2.org/mingw/
pacman -U mingw-w64-i686-gcc-libs-14.2.0-3-any.pkg.tar.zst
pacman -U mingw-w64-i686-gcc-14.2.0-3-any.pkg.tar.zst
pacman -Ss base-devel

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

79615732

Date: 2025-05-10 17:22:15
Score: 2.5
Natty:
Report link

Granting employment notice /

1502515/27/02/2025

Programming date: 23/06/2025

16:10

Print

It's personal data

Name

Khatri

Sex

F

Citizenship

NEPAL

detachment notice

Home address

Bardiya

Nunme previous

First name

Renu

Civil status

Unmarried/a

Home

NEPAL

Date of birth

27/10/2001

Previous first name

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

79615729

Date: 2025-05-10 17:18:14
Score: 0.5
Natty:
Report link

Sass has a NPM Package available to help with migration: sass-migrator.

I recently used it on a large codebase and while it didn't do the complete migration, it did a big part of it.

You have here the link to the npm package and you can install it with npm i --save-dev sass-migrator.

Once you install it run sass-migrator <migration> <entrypoint.scss...> on the CLI.

According to the documentation:

The Sass migrator automatically updates your Sass files to help you move on to the latest and greatest version of the language. Each of its commands migrates a single feature, to give you as much control as possible over what you update and when.

--migrate-deps

This option (abbreviated -d) tells the migrator to change not just the stylesheets that are explicitly passed on the command line, but also any stylesheets that they depend on using the @use rule, @forward rule, or @import rule.

--load-path

This option (abbreviated -I) tells the migrator a load path where it should look for stylesheets. It can be passed multiple times to provide multiple load paths.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @use
  • User mentioned (0): @forward
  • User mentioned (0): @import
  • Low reputation (1):
Posted by: JoaoFCarvalho

79615728

Date: 2025-05-10 17:14:13
Score: 2.5
Natty:
Report link

This comando "rm -r ~/ .eclipse/" delete all archives of Ubunt, without "Ctrl+Z".

I lost all my files. Good luck to whoever posted this here.

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

79615726

Date: 2025-05-10 17:11:12
Score: 3.5
Natty:
Report link

You should migrate to Nextjs if possible (i'm not a front end dev)

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

79615722

Date: 2025-05-10 17:08:11
Score: 2.5
Natty:
Report link

En las versiones de Teradata posteriores a 16.20 se tiene que calcular por el espacio CDS:

Select SUM(CurPermCDS) from DBC.CDSTableSizeV;

Es necesario tenerlo bien definido, si alguna BBDD no es correcta o no se considera como espacio CDS se tendrá que excluir con las macros de SystemFE. El tamaño total será en bytes

SystemFE.CDS_AddExclusion('BBDD','*');----------> Excluir todos los objetos de la BBDD en CDS

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): ----------
  • Low reputation (1):
Posted by: Aldeabaran

79615719

Date: 2025-05-10 17:07:10
Score: 10 🚩
Natty: 6
Report link

do you have any solutions for this ?

i got the same problem using the module federation ( in modernjs)

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): i got the same problem
  • RegEx Blacklisted phrase (2.5): do you have any
  • RegEx Blacklisted phrase (2): any solutions for this ?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: karlie liu

79615717

Date: 2025-05-10 17:05:10
Score: 3.5
Natty:
Report link

There might be a problem with the cell numbering changing at run so that the current cell has a larger index than the ones below.

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

79615715

Date: 2025-05-10 17:02:09
Score: 0.5
Natty:
Report link

nginx expects a datagram socket, not a stream socket. you can create a datagram socket like this:

use std::os::unix::net::UnixDatagram;

fn main() -> std::io::Result<()> {
    let socket_path = format!(
        "{}/logtool.sock",
        std::env::var("XDG_RUNTIME_DIR").unwrap_or("/tmp".to_string())
    );
    let _ = std::fs::remove_file(&socket_path);
    let listener = UnixDatagram::bind(socket_path)?;

    loop {
        let mut buf = vec![0; 1_024];
        let read = listener.recv(&mut buf)?;
        let buf = &buf[..read];
        dbg!(buf);
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: tauon

79615714

Date: 2025-05-10 17:02:09
Score: 4
Natty:
Report link

serverComponentsExternalPackages is depreciated and no more supported. Here is a screenshot from their official site

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

79615705

Date: 2025-05-10 16:48:05
Score: 4
Natty:
Report link

This is an interesting and ambitious idea! Tokenizing research contributions could indeed provide more incentives for innovation and transparency. It might also empower individual researchers by giving them ownership over their work. However, I wonder how challenges like quality control, peer review, and preventing misuse would be handled in such a decentralized setup. Also, would there be a standard way to evaluate the value of each tokenized contribution?

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

79615704

Date: 2025-05-10 16:46:05
Score: 1
Natty:
Report link

You can try groupby() along with sum() to group the data by the 'date' column and calculate the total sales per day.


result = df.groupby('date')['sales'].sum().reset_index()

If you'd like to keep date as the index, you can remove .reset_index().

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

79615703

Date: 2025-05-10 16:45:05
Score: 1.5
Natty:
Report link

For flutter iOS I did the first step that mentioned by Sai Prashanth in the appDelegate.swift file AND

I added the Encoded app ID in the URL schemes [check image]. you can find the Encoded app ID in your firebase project settings in the area where you download the GoogleService-Info.plist file enter image description here

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

79615702

Date: 2025-05-10 16:45:05
Score: 1.5
Natty:
Report link

My test shows: yes.


not important:

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Nor.Z

79615696

Date: 2025-05-10 16:41:03
Score: 3
Natty:
Report link
header 1 header 2
cell 3 cell 1
cell 4 cell 2
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md Obaidur Md Obaidur

79615694

Date: 2025-05-10 16:40:03
Score: 2
Natty:
Report link

For those who searched here, do check if your extension is missing win_delay_load_hook.c.

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