79211124

Date: 2024-11-21 12:25:33
Score: 1.5
Natty:
Report link

Look on some demos

  1. Not defined collision, collide automatic (group = -1) https://brm.io/matter-js/demo/#mixed

  2. Defined mask + category - use for precize collision https://brm.io/matter-js/demo/#collisionFiltering

  3. Not defined collision, callback event (group = -1) - may be best for you https://brm.io/matter-js/demo/#sensors

  4. Collision by group, group = Body.nextGroup(true) https://brm.io/matter-js/demo/#car All grouped not collide between us, but can collide with others groups.

My example https://mlich.zam.slu.cz/js-matter/js-sorter/mechanical-sorter.htm

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

79211123

Date: 2024-11-21 12:25:33
Score: 3
Natty:
Report link

As Wulolo said that is the way, if you want to use the shortcut for toggling wordWrap: Alt + Z.

Preview when its On: toggle word wrap preview

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

79211122

Date: 2024-11-21 12:25:33
Score: 1.5
Natty:
Report link

Use this regular expresion:

.*DEBUG.*

to ignore lines containing the text "DEBUG"

File A: Line N

xxxxxx DEBUG xxxxx

File B: line N

yyyyyyy DEBUG yyyyyyy

If only this line N its different in the 2 files, it will me marked as equals files.

In window file folders, Folder Filter, select the expresion and in select option select *.*

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

79211119

Date: 2024-11-21 12:24:33
Score: 1.5
Natty:
Report link

As @AlexAR mentioned already in his comment, there's a viewer extension you can use to compare two versions of a design side-by-side: https://aps.autodesk.com/blog/difference-3d-models-autodeskdifftool-extension.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @AlexAR
  • Single line (0.5):
  • High reputation (-1):
Posted by: Petr Broz

79211118

Date: 2024-11-21 12:24:33
Score: 0.5
Natty:
Report link

Instead of using the npm command, test the code using the correct testing method found in your package.json file.

For example, if the command in the package.json file is: "test": "jest --watchAll --runInBand --detectOpenHandles", the correct .github/workflows/testing.yml file would be:

name: Run Tests
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2
      - name: Install Dependencies
        run: npm install
      - name: Run tests
        run: npx jest --runInBand --detectOpenHandles --forceExit

Don't use the --watchAll command as this could lead to the issue you were facing. Use the --forceExit command in the .github/workflows/testing.yml file to ensure the testing is exited.

This way, you can keep the command in the package.json file the same and can continue testing the app on your local machine in the same way.

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

79211110

Date: 2024-11-21 12:22:31
Score: 1.5
Natty:
Report link

AS of today, I updated all my packages to their last version using ncu and npm install. The warning is still here.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Philippe Corrèges

79211101

Date: 2024-11-21 12:19:31
Score: 1.5
Natty:
Report link

I am also facing this problem, I solved it this way

Go to Android Studio Settings

Settings > Build, Execution > Build Tool > Gradle

and set Gradle JDK path with JAVA_HOME

Reasons:
  • Blacklisted phrase (1): also facing this
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Manoj kumar

79211098

Date: 2024-11-21 12:18:30
Score: 6 🚩
Natty: 5
Report link

how to use byColumnNameAndValue(String columnName, String value) spec method, can you please share an example.

Reasons:
  • RegEx Blacklisted phrase (2.5): can you please share
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how to use
  • Low reputation (1):
Posted by: user3719130

79211097

Date: 2024-11-21 12:18:30
Score: 1.5
Natty:
Report link

Try using the container name in your .env file:

MERCURE_PUBLIC_URL=https://container-name/mercure
MERCURE_URL=https://container-name/mercure
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tóth Richárd

79211093

Date: 2024-11-21 12:17:29
Score: 3.5
Natty:
Report link

Same issue, but in my case it is stuck on loading in Firefox. Works in Chrome

Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: thewb

79211089

Date: 2024-11-21 12:17:29
Score: 0.5
Natty:
Report link

Inspired by this post and others I got to this:

Basically it's building off everything what has been said but there's also the ctypes.pythonapi.PyFrame_LocalsToFast which enables you to modify variables at various scopes which enabled me to make a pretty cool function.

Enjoy:

import ctypes
from inspect import currentframe
from IPython import get_ipython
from types import FrameType
from typing import Any

def has_IPython() -> bool:
    """Checks for IPython"""
    return get_ipython() != None

class nonlocals:
    """
    Equivalent of nonlocals()
    
    # code reference: jsbueno (2023) https://stackoverflow.com/questions/8968407/where-is-nonlocals,CC BY-SA 4.0
    # changes made: condensed the core concept of using a stackframe with getting the keys from the 
    # locals dict since every nonlocal should be local as well and made a class
    """
    def __init__(self,frame: FrameType|None=None) -> None:
        self.frame=frame if frame else currentframe().f_back
        self.locals=self.frame.f_locals
    
    def __repr__(self) -> str: return repr(self.nonlocals)
    @property
    def nonlocals(self) -> dict:
        names=self.frame.f_code.co_freevars
        return {key:value for key,value in self.locals.items() if key in names} if len(names) else {}

    def check(self,key: Any) -> None:
        if key not in self.nonlocals: raise KeyError(key)

    def __getitem__(self,key: Any) -> Any: return self.nonlocals[key]
    def update(self,dct) -> None:
        for key,value in dct.items(): self[key]=value
    def get(self,key,default=None) -> Any: return self.nonlocals.get(key,default=default)
    def __setitem__(self,key: Any,value: Any) -> None:
        self.check(key)
        self.locals[key]=value
        # code reference: MariusSiuram (2020). https://stackoverflow.com/questions/34650744/modify-existing-variable-in-locals-or-frame-f-locals,CC BY-SA 4.0
        ctypes.pythonapi.PyFrame_LocalsToFast(ctypes.py_object(self.frame), ctypes.c_int(0))

    def __delitem__(self,key: Any) -> None:
        self.check(key)
        del self.locals[key]
        # code reference: https://stackoverflow.com/questions/76995970/explicitly-delete-variables-within-a-function-if-the-function-raised-an-error,CC BY-SA 4.0
        ctypes.pythonapi.PyFrame_LocalsToFast(ctypes.py_object(self.frame), ctypes.c_int(1))

## Bonus function ##
class scope:
    """
    gets the function name at frame-depth and the current scope that's within the main program
    
    Note: if using in jupyter notebook scope.scope will remove jupyter notebook specific attributes
    that record in program inputs and outputs. These attributes will still be available just not via 
    scope.scope because it causes a recursion error from some of the attributes changing while in use

    How to use:

    def a():
        c=3
        def b():
            c
            y=4
            print(scope(1).locals)
            print(scope().locals)
            print(scope().nonlocals)
            scope(1)["c"]=7
            print(scope(1).locals)
            print(scope().locals)
            print(scope().nonlocals)
        b()
        print(c)
    a()
    ## i.e. should print:
    {'b': <function a.<locals>.b at 0x000001DD9DFEDB20>, 'c': 3}
    {'y': 4, 'c': 3}
    {'c': 3}
    {'b': <function a.<locals>.b at 0x000001DD9DFEDB20>, 'c': 7}
    {'y': 4, 'c': 7}
    {'c': 7}
    7
    
    This allows us to change variables at any stack frame so long as it's on the stack
    """
    def __init__(self,depth: int=0) -> None:
        ## get the global_frame, local_frame, and name of the call in the stack
        global_frame,local_frame,name=currentframe(),{},[]
        while global_frame.f_code.co_name!="<module>":
            name+=[global_frame.f_code.co_name]
            global_frame=global_frame.f_back
            if len(name)==depth+1: local_frame=(global_frame,) # to create a copy otherwise it's a pointer
        ## instantiate
        if depth > (temp:=(len(name)-1)): raise ValueError(f"the value of 'depth' exceeds the maximum stack frame depth allowed. Max depth allowed is {temp}")
        name=["__main__"]+name[::-1][:-(1+depth)]
        self.depth=len(name)-1
        self.name=".".join(name)
        self.local_frame,self.global_frame=local_frame[0],global_frame
        self.locals,self.globals,self.nonlocals=local_frame[0].f_locals,global_frame.f_locals,nonlocals(local_frame[0])

    def __repr__(self) -> str:
        """displays the current frames scope"""
        return repr(self.scope)
    @property
    def scope(self) -> dict:
        """The full current scope"""
        if has_IPython():
            ## certain attributes needs to be removed since it's causing recursion errors e.g. it'll be the notebook trying to record inputs and outputs most likely ##
            not_allowed,current_scope=["_ih","_oh","_dh","In","Out","_","__","___"],{}
            local_keys,global_keys=list(self.locals),list(self.globals)
            for key in set(local_keys+global_keys):
                if (re.match(r"^_i+$",key) or re.match(r"^_(\d+|i\d+)$",key))==None:
                    if key in not_allowed: not_allowed.remove(key)
                    elif key in local_keys:
                        current_scope[key]=self.locals[key]
                        local_keys.remove(key)
                    else: current_scope[key]=self.globals[key]
            return current_scope
        current_scope=self.globals.copy()
        current_scope.update(self.locals)
        return current_scope
    
    def __getitem__(self,key: Any) -> Any: return self.locals[key] if key in self.locals else self.globals[key]
    def update(self,dct) -> None:
        for key,value in dct.items(): self[key]=value
    def get(self,key,default=None) -> Any: return self.scope.get(key,default=default)
    def __setitem__(self,key: Any,value: Any) -> None:
        if key in self.locals:
            self.locals[key]=value
            # code reference: MariusSiuram (2020). https://stackoverflow.com/questions/34650744/modify-existing-variable-in-locals-or-frame-f-locals,CC BY-SA 4.0
            ctypes.pythonapi.PyFrame_LocalsToFast(ctypes.py_object(self.local_frame), ctypes.c_int(0))
        else: self.globals[key]=value

    def __delitem__(self,key: Any) -> None:
        if key in self.locals:
            del self.locals[key]
            # code reference: https://stackoverflow.com/questions/76995970/explicitly-delete-variables-within-a-function-if-the-function-raised-an-error,CC BY-SA 4.0
            ctypes.pythonapi.PyFrame_LocalsToFast(ctypes.py_object(self.frame), ctypes.c_int(1))
        else: del self.globals[key]
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ben Tonks

79211088

Date: 2024-11-21 12:16:29
Score: 1
Natty:
Report link

From 2024 theme, Both the theme and plugin file editors have been moved under TOOLS in wp dashboard left menu.

And to assign custom post type now I think you will have to use the top bar submenu under "New" and select the desired post type.

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

79211084

Date: 2024-11-21 12:15:29
Score: 0.5
Natty:
Report link

Update for the benefit of anyone else with the issue.

I raised a ticket with Graph API support and they flicked a switch which allowed it to work. So it appears that it won't work by default, possibly to prevent abuse.

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

79211079

Date: 2024-11-21 12:14:29
Score: 2
Natty:
Report link

Maybe this package made by Gary Polhill might work for you. By using mgr:mem and mgr:cpu-time during a behaviorspace run you can test the distribution of cpu_time and memory used across different behavior-space runs.

https://github.com/garypolhill/netlogo-jvmgr

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bart de Bruin

79211077

Date: 2024-11-21 12:14:29
Score: 1.5
Natty:
Report link

I suspect it is caused by "broadphase", this is a little bit late answer but, You could try "NaiveBroadPhase":

world.broadphase = new CANNON.NaiveBroadphase(world)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Seckin

79211061

Date: 2024-11-21 12:09:28
Score: 0.5
Natty:
Report link

Have you tried changing how the selected option is defined in the options tag? As the styling shouldn't normally interfere with livewire assignment to component properties.

<option @if($key == \App\Models\SavedSearch::INTERVAL_WEEK ) selected @endif value="{{$key}}"> {{$value}} </option>
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Olumuyiwa

79211049

Date: 2024-11-21 12:05:26
Score: 6 🚩
Natty: 4
Report link

I have none of those in mine yet I am still getting this error message. Any thoughts please?

SELECT * FROM HRC_integration_key_map WHERE surrogate_id = <SURROGATE_ID>

Reasons:
  • Blacklisted phrase (1.5): Any thoughts
  • RegEx Blacklisted phrase (1): I am still getting this error
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Dawn Cawston

79211038

Date: 2024-11-21 12:01:25
Score: 2
Natty:
Report link

Clean and Rebuild the Project

flutter clean

flutter pub get

flutter build apk --debug

If still facing issue try to clean gradlew clean and re build

cd android

./gradlew clean

./gradlew build

cd ..

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

79211023

Date: 2024-11-21 11:58:24
Score: 1
Natty:
Report link

A simple solution in compose, can be controlled by a float value (from 0f to 1.0f)

inline fun Color.darken(darkenBy: Float = 0.3f): Color {
   return Color(
        red = red * darkenBy,
        green = green * darkenBy,
        blue = blue * darkenBy,
        alpha = alpha
        )
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrew Dobosh

79211009

Date: 2024-11-21 11:54:23
Score: 0.5
Natty:
Report link

How can I export data from Azure Cosmos DB account to .json file locally?

Yes, you can export data from Azure Cosmos DB account to local machine using Azure Data Studio Tool.

Follow the below steps to export data from Azure Cosmos DB to local machine.

i) Make sure to install Azure Cosmos DB extension in Azure Data Studio if it's not installed.

ii) Connect to Azure Cosmos DB by providing required credentials. enter image description here

Make sure whether it connects successfully or not.

iii) Right click on Container name as shown below and select Export Documents as shown below. Select the path where you want to save the data in your local machine and click on Export as shown below. enter image description here

It successfully exports the data into the desired path.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How can I
Posted by: Balaji

79210990

Date: 2024-11-21 11:51:22
Score: 1
Natty:
Report link

You need a user delegation token. https://hadoop.apache.org/docs/stable/hadoop-azure/abfs.html#Shared_Access_Signature_.28SAS.29_Token_Provider

There are three types of SAS supported by Azure Storage:

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

79210989

Date: 2024-11-21 11:51:22
Score: 1
Natty:
Report link

Okay holy shit so I just figured this out!

So when launching multiple projects there's this new setting called "Debug Target" seen here:

enter image description here

The two first in that list is the project itself, and IIS Express. Since it's blank it seems to default to starting IIS Express, and when I remove the entries from my launchsettings I can start it without. But if I set the "Debug Target" to my project, it never adds IIS Express!

I think I never noticed it because I've only really opened that menu like once before "Debug Target" was a thing!

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

79210986

Date: 2024-11-21 11:50:22
Score: 1.5
Natty:
Report link

I have worked a litte bit more on the watchdog script.

The scripts gets startet over subprocess.

The subprocesses managed in a dictionary to start/stop/restart

The whole function run in a thread so it dont block the main process and multiple watchdogs can be started.

Outcome is a phyton watchdog script with the following futures:

I have uploaded everything to github with example files and description.

You can find it here: Python-Watchdog on github

Thanks to everybody !

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Phantom001

79210984

Date: 2024-11-21 11:49:22
Score: 4
Natty:
Report link

You might try sending Volume Up as code 123 as this is what is described as working here from the "AB Shutter 3" device (which I've used in the past and can affirm it's worked.)

https://shkspr.mobi/blog/2016/02/cheap-bluetooth-buttons-and-linux/

"It turns out that the iOS buttons sends Volume Up (key 123) whereas the Android button sends Enter (key 36)."

Please let us know if that fixed anything!

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let us know
  • No code block (0.5):
  • Low reputation (1):
Posted by: user55799

79210981

Date: 2024-11-21 11:48:21
Score: 3
Natty:
Report link

I was wondering why it was working on some files and not working on others and then after 1 hour I found that I had put a // @ts-nocheck at the beginning of my file some weeks ago ...

Reasons:
  • Blacklisted phrase (2): was wondering
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rémy Ntshaykolo

79210977

Date: 2024-11-21 11:47:21
Score: 2.5
Natty:
Report link

This answer might solve your problem too just as it did for me

REQUEST_DENIED Map Error solved

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Peter Akwa

79210973

Date: 2024-11-21 11:46:21
Score: 3
Natty:
Report link

If the highest scored solution do not work for you, check how much disk space you have left on your system. In my case, there were only 3GB remaining, which was not enough to launch the emulator. After cleaning up, everything launched fine.

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

79210961

Date: 2024-11-21 11:41:19
Score: 3.5
Natty:
Report link

Add SendTimeout, OpenTimeout, CloseTimout in client and server config and see if it helps. Please check this Microsoft Learn page for the explanation of these timeout values.

Reasons:
  • Blacklisted phrase (1): Please check this
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Shanmugam Sudalaimuthu

79210959

Date: 2024-11-21 11:41:19
Score: 2
Natty:
Report link

1- after dart run

flutter_native_splash:create

2- you should go to this link: \android\app\src\main

3- in AndroidManifest.xml file 4- change

 <application
    android:label="my_tv_forecast"
    android:name="${applicationName}"
    android:icon="**@drawable/launch_background**">
Reasons:
  • Blacklisted phrase (1): this link
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mad max

79210956

Date: 2024-11-21 11:40:19
Score: 4.5
Natty: 4.5
Report link

Unfortunately, that doesnt work. No luck trying to find something from a big list. When the first name is not found, the whole job crashes

Reasons:
  • Blacklisted phrase (1): doesnt work
  • Blacklisted phrase (1): No luck
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sarkis Sulyan

79210949

Date: 2024-11-21 11:38:18
Score: 0.5
Natty:
Report link

have you added POST_NOTIFICATIONS permission ?, becuase posting notifications on Android. In recent Android versions (starting from Android 13, API level 33), you need to explicitly declare the POST_NOTIFICATIONS permission in your AndroidManifest.xml like below:

<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>

Full documentation is available here

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Tech Ramakant

79210947

Date: 2024-11-21 11:37:18
Score: 3
Natty:
Report link

You can try to use rise tools: https://rise.tools/ for React Native Expo

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

79210943

Date: 2024-11-21 11:37:18
Score: 1
Natty:
Report link

check if you have any CSS style of height: 100% and replace it with min-height: 100% This ensures the element takes at least the full viewport height but allows it to expand dynamically if its content overflows

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

79210936

Date: 2024-11-21 11:35:17
Score: 2.5
Natty:
Report link

As the error suggests, the relationship definition uses array_key_exists function behind the scene to check if the key (in this case composite key) exists in the array of foreign keys for the related table. The reason the single key works but not the composite key is because the single key returned is only one value which conforms to how array_key_exists method is defined in php. The composite key on the other hand, returns a multi-dimensional array strucure instead which when passed as an arguement to the array_key_exists method returns that error. You can give this article a read on how to use composite key in your Laravel project.

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Olumuyiwa

79210932

Date: 2024-11-21 11:33:17
Score: 3.5
Natty:
Report link

@Vijay Joshua Nadar solution worked for me. Just add the name of the folder inside public, if you have one, if not, you need to add the name of the images as @Wellington Garcia mentioned

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Vijay
  • User mentioned (0): @Wellington
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: John SnowSTGC

79210924

Date: 2024-11-21 11:32:16
Score: 2
Natty:
Report link

pydantic library has been updated. pip install pydantic==2.9.2 should help

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Искандер Закирьянов

79210921

Date: 2024-11-21 11:30:16
Score: 2.5
Natty:
Report link

blob.UploadFromStreamAsync(fileStream).Wait(); worked for me

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: priya

79210915

Date: 2024-11-21 11:29:15
Score: 5.5
Natty: 5.5
Report link

I've been trying to use the wildcard function for eventName (API call) but can't get the event to trigger - has anyone had success with this?

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

79210904

Date: 2024-11-21 11:25:14
Score: 2.5
Natty:
Report link

Check $months Count: Ensure the $months array has the correct number of elements. If the X-axis has, for example, 12 months, all data series added with addData must also have exactly 12 values.

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

79210893

Date: 2024-11-21 11:23:13
Score: 1.5
Natty:
Report link

Matter-js use poly-decomp function. Sometime not work good. You can use alternative, try use google to find (matter-js decomp function alternation). https://github.com/schteppe/poly-decomp.js/tree/master/build

You can see on, i generate SVG background by modified poly-decomp.js https://mlich.zam.slu.cz/js-matter/js-bridge/bb-game.htm

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Peter Mlich

79210880

Date: 2024-11-21 11:19:12
Score: 0.5
Natty:
Report link

Probably no longer relevant for you, but this has to do with the Android 14 itself. I also had an issue with this and saw this message in Logcat:

ActivityTaskManager  system_server  E  Background activity launch blocked!

There are other threads based on the above information that provide solutions.

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

79210851

Date: 2024-11-21 11:09:10
Score: 2.5
Natty:
Report link

Try setting position: 'absolute' on the LottieView style.

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

79210840

Date: 2024-11-21 11:07:09
Score: 5.5
Natty: 6
Report link

How do we get the dependent masters of vouchers through http api using xml, to export it from tally??

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How do we
  • Low reputation (1):
Posted by: bjss kiriti

79210839

Date: 2024-11-21 11:06:09
Score: 2
Natty:
Report link

Finally I found the reason for error code that i'm receiving for Firebase Push Notification response. The app developer were using the wrong Project ID to generate the device token. So, because of the Project ID was not matching to the credential JSON stored on Server, the error 'SEMDER_ID_MISMATCH' was appearing in response.

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

79210835

Date: 2024-11-21 11:04:08
Score: 1
Natty:
Report link

As you did not mention it in your post: maybe you just forgot to activate the service account?

gcloud auth activate-service-account [ACCOUNT] --key-file=KEY_FILE

also, make sure that you have correct permissions to impersonate the SA you want to use.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Felix Theodor

79210828

Date: 2024-11-21 11:02:08
Score: 0.5
Natty:
Report link

Please run npm config command and see if TMP variable is set to a single path.

npm config ls -l 

Check the values of TMP, TMPDIR and TEMP environment variables and ensure they are set to a single path.

This may be related to the issue discussed in this thread.

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

79210814

Date: 2024-11-21 10:57:05
Score: 15.5 🚩
Natty: 5
Report link

I am also facing the same issue if this has been resolved please anyone help for solve it.

Help will be appreciated.

Dev39

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): I am also facing the same issue
  • Blacklisted phrase (3): please anyone
  • RegEx Blacklisted phrase (3): Help will be appreciated
  • RegEx Blacklisted phrase (1): I am also facing the same issue if this has been resolved please
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Dev39

79210807

Date: 2024-11-21 10:56:05
Score: 3
Natty:
Report link

Problem caused by "fatal error C1083: Cannot open include file: 'jpeglib.h': No such file or directory". Please try install 'libjpeg-dev'.

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

79210805

Date: 2024-11-21 10:55:05
Score: 3
Natty:
Report link

Deleted ~/.stack/setup-exe-cache, stack clean --full and then stack build works. Not sure if I have to do this every time after nix-collect-garbage.

Reasons:
  • Blacklisted phrase (1): I have to do
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Futarimiti

79210803

Date: 2024-11-21 10:54:04
Score: 2
Natty:
Report link

I worked the issue out now. The user-assigned managed identity was associated with the elastic job agent, although no jobs had been setup to use it yet (all jobs for the target server/DB’s where still using DB users mapped from logins). All databases that existed prior to associating the user-assigned managed identity to the elastic agent server where unaffected, but jobs for databases created after this point would fail with the “The server principal "ac1971e9-381b-449b-9e1a-9cc276fc2985@b5313c9d-fb0d-47af-bc87-7c050bffbdc3" is not able to access the database”. Un-associating the user-assigned managed identity from the elastic agent server resolved the problem.

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

79210797

Date: 2024-11-21 10:53:04
Score: 0.5
Natty:
Report link

You can send message from channel id or bot username.

https://github.com/Any-bot/D2T-msg-forward

@discord_client.event 
async def on_message(message): 
    # Check if message is from monitored server and channel 
    server_id = str(message.guild.id) 
    channel_id = str(message.channel.id) 
    for server_config in MONITORED_SERVERS: 
        if server_id in server_config: 
            if channel_id in server_config[server_id]: 
                logger.info(f"1. Detected message in monitored server and channel: {message.content}") 
                solana_addresses = detect_solana_token_address(message.content) 
                logger.info(f"2. Detected Solana addresses: {solana_addresses}") 
                if solana_addresses: 
                    logger.info(f"3. Sending message for addresses: {solana_addresses}") 
                    tracked_addresses = load_tracked_addresses() 
                    logger.info(f"4. Tracked addresses: {tracked_addresses}") 
                    for address in solana_addresses: 
                        logger.info(f"5. Checking address: {address}") 
                        if address not in tracked_addresses: 
                            logger.info(f"6. Sending message for address: {address}") 
                            tmp = f"{address}" 
                            await telegram_client.send_message(BOT_USERNAME, tmp) 
                            logger.info(f"7. Sent message for address: {address}") 
                            save_address(address) 
                            await asyncio.sleep(1) 
                        else: 
                            logger.info(f"8. Address already tracked: {address}") 
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Brave

79210786

Date: 2024-11-21 10:50:03
Score: 0.5
Natty:
Report link

I see a few options here. It strongly depends on how much traffic you expect and thus how much you need to optmize for resources.

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

79210781

Date: 2024-11-21 10:48:03
Score: 1
Natty:
Report link

Find the Edges of Your Shape:

First, you need to figure out the boundary or outline of your shape. Imagine outlining the edges of a puddle on the ground with chalk. This is called a contour. Fit a rectangle around the shape:

Once you know the outline, try to fit the biggest possible rectangle around it. Think of wrapping a rubber band tightly around the shape, but only in the form of a rectangle. The rectangle might be tilted, depending on your shape. Adjust the rectangle to the perfect fit:

Use math to ensure the rectangle perfectly matches the shape's boundary at its maximum area. This means it won't just be a simple upright rectangle but could also tilt and turn to fit better. Measure the area:

Once you've drawn the biggest rectangle, measure its width and height and multiply them to get the area. Show It Visually:

Finally, draw this rectangle on the image so you can see what it looks like.

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

79210766

Date: 2024-11-21 10:44:02
Score: 3
Natty:
Report link

If your website is https, and in which you have not enabled https in sendgrid, then you have to instruct the router to accept http as https... set the proxy which makes things to work

https://support.sendgrid.com/hc/en-us/articles/4412701748891-How-to-configure-SSL-for-click-tracking-using-CloudFront

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

79210754

Date: 2024-11-21 10:41:01
Score: 13
Natty: 7.5
Report link

Hey i am facing the same issue. did you get the solution ?

Reasons:
  • RegEx Blacklisted phrase (3): did you get the solution
  • RegEx Blacklisted phrase (2): Hey i am
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pakistan Office

79210751

Date: 2024-11-21 10:38:59
Score: 2
Natty:
Report link

def decorator(cls: type[SupportsFunc]) -> type[SupportsFunc]: class _Wrapper(cls): # type: ignore[valid-type, misc] # See https://github.com/python/mypy/issues/14458 def func(self) -> None: super().func() print("patched!") return _Wrapper

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

79210741

Date: 2024-11-21 10:35:58
Score: 4
Natty:
Report link

look this: https://vuejs.org/tutorial/#step-12 and click 'show me' button

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

79210735

Date: 2024-11-21 10:35:58
Score: 2
Natty:
Report link

I've developed a library for my project and I just published it to npm: https://www.npmjs.com/package/api-data-compressor

The key technical feature is that it will scans the data structure and converts all objects into arrays (remove the property names to save space).

In my projects, this approach gave a compression rate of about 50% for large datasets :)

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

79210726

Date: 2024-11-21 10:33:58
Score: 0.5
Natty:
Report link

I found the answer in an old issue of gitbeaker. You can use:

import { Gitlab } from '@gitbeaker/core'
...
const gitLabApi: InstanceType<Gitlab<false>> = await createGitLabApi(repoId)
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Florian Käferböck

79210712

Date: 2024-11-21 10:28:57
Score: 2.5
Natty:
Report link

Here's a useful and generic comment you can apply to any blog commenting, keeping it relevant and engaging. "Great post. I enjoyed reading this blog so much on [topic of the blog]. I found the way you went about explaining [specific point or detail from the blog] really useful. I'll be looking into even more of your material. Keep up the great work!"

Click here

Reasons:
  • Blacklisted phrase (1): this blog
  • No code block (0.5):
  • Low reputation (1):
Posted by: Angshuman Das

79210705

Date: 2024-11-21 10:26:56
Score: 0.5
Natty:
Report link

All the mentioned VSCode extensions did not work as expected for me. Therefore i went for a simple solution: I checked out the two branches into two different folders and ran the GUI tool WinMerge on these two folders.

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-2): solution:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Franky1

79210701

Date: 2024-11-21 10:25:56
Score: 1
Natty:
Report link

When you uninstall a custom app in Shopify, the webhooks created by that app are removed. However, Metafields/MetaObjects persist even after the app is uninstalled.

If you reinstall the app, the webhooks are recreated, and the old Metafields/MetaObjects remain accessible to the shop. However, if the shop tries to create new Metafields/MetaObjects with the same name, an error will throw.

Additionally, if those Metafields/MetaObjects are owned by the shop, they will be removed upon uninstallation.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Paras Pansuriya

79210695

Date: 2024-11-21 10:24:55
Score: 2.5
Natty:
Report link

https://brm.io/matter-js/docs/classes/Body.htm

Body.mass
Body.density
Body.friction
Body.frictionAir - when friction is slow, object look like heavy
Body.frictionStatic 

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

79210694

Date: 2024-11-21 10:24:55
Score: 11 🚩
Natty: 6
Report link

I have almost the same issue; We need to publish an Excel tool on our website (embedded with Iframe or Javascript) but the office script doesnt work. Is there any solutions for that? Or is there already a solution that we have missed?

BR Jakob

Reasons:
  • Blacklisted phrase (1): doesnt work
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (2): any solutions for that?
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jakob

79210691

Date: 2024-11-21 10:23:54
Score: 1
Natty:
Report link

Thanks for help. With your hint of a probable misconfiguration somewhere, I discarded the whole environment and recreated it from ansible. It worked immediately. Should have done it before, but I guess I was too dispirited. I worked hard to recreate my 127.0.0.1_only binding problem, to understand what was wrong. And again did not succeed. I suspect something wrong had been changed/added in one of the jvm* files.

So it confirms your view that cassandra-env.sh does the configuration through LOCAL_JMX, and nothing else is necessary.

Thanks for help. All the best. Alain

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): It worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alain Josserand

79210689

Date: 2024-11-21 10:23:54
Score: 0.5
Natty:
Report link

I Resolved it by using Observable collection instead of List, Still not sure Why list was not working.

Reasons:
  • Whitelisted phrase (-2): I Resolved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: prabhaat

79210676

Date: 2024-11-21 10:19:53
Score: 3
Natty:
Report link

The string with new lines works well but the reverse replace does not work if there are new lines in the file apart from in the string

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

79210670

Date: 2024-11-21 10:16:52
Score: 1
Natty:
Report link

Came to this post many years later already on ionic 7 now. The orignal answer still kind of works but as ionic is now using shadow parts also in ion-toast you have to use the css part for it:

ion-toast::part(message) {
  white-space: pre;
}

and a reminder to use \n for the line break.

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

79210662

Date: 2024-11-21 10:14:52
Score: 1
Natty:
Report link

The query() function of database/sql package is accepting variadic parameter of interface{} or any type, which means it accepts variable numbers of interface{}. To unpack the []interface{}, use the ..., like:

rows, err = db.query(statement, args...)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Farol R

79210660

Date: 2024-11-21 10:14:52
Score: 1
Natty:
Report link

Obfuscate your python code

Use pyarmor to obfuscate python code.

Install: pip install pyarmor

Generate an obfuscated version of foo.py ➜ $ pyarmor gen foo.py

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

79210657

Date: 2024-11-21 10:13:52
Score: 1
Natty:
Report link

In Android Studio's Run/Debug Configurations, make sure you are running your tests as Android Instrumented Tests (not JUnit).

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

79210636

Date: 2024-11-21 10:09:51
Score: 1
Natty:
Report link
.sellix-iframe {
    color-scheme: none;
}

Somewhere in the code

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: ZPPP

79210633

Date: 2024-11-21 10:08:50
Score: 2.5
Natty:
Report link

just open terminal

cd project direction

pod install

everything will be okay

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: islam XDeveloper

79210632

Date: 2024-11-21 10:07:50
Score: 3.5
Natty:
Report link

Sampling via step is supported only via /query_range APIs - see https://docs.victoriametrics.com/keyconcepts/#range-query Step in /query API has a bit different meaning, but you can see it in the docs. /export API returns raw data, as it is. So it doesn't support sampling or any other data modifications.

What's the reason of not using /query_range for this purpose?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: hagen1778

79210630

Date: 2024-11-21 10:07:50
Score: 3
Natty:
Report link

May be you might wanna try Terraform to automate your configuration. As for me, it's easier than do it by AWS CLI.

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

79210620

Date: 2024-11-21 10:04:49
Score: 6.5
Natty: 7
Report link

what will be the solution for this?

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

79210619

Date: 2024-11-21 10:02:48
Score: 0.5
Natty:
Report link

To add just the button for build configuration (Debug/Release) to the status bar

Step 1

  1. Click the CMake icon on the left panel. If the icon is not there, open VSCode in a folder with a CMakeLists.txt and it should appear.

Step 2

  1. Hover over PROJECT STATUS on the left side bar and click the Open visibility Settings icon. This will open a JSON settings file for the CMake extension.

Step 3

  1. The "cmake.options.advanced" option should have three entries: build, launch and debug. Add the fourth entry named variant following the same pattern.

Step 4

  1. Save the file (Ctrl+s). The button should appear on the status bar.

Step 5

  1. You can change the "inheritDefault" property to "compact" or "icon" to change the button style.

A complete guide to the CMake options visibility customization

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adayah

79210616

Date: 2024-11-21 10:02:48
Score: 3.5
Natty:
Report link

I didn't succeed with the links presented below, but I solved the issue using this tutorial: https://gitee.com/TestOpsFeng/jmeter-amqp-plugin-plus.

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alexei

79210611

Date: 2024-11-21 09:59:48
Score: 1.5
Natty:
Report link

Add this permission in the AndroidManifest.xml

<uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" />
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: manisankarsms

79210606

Date: 2024-11-21 09:58:47
Score: 3.5
Natty:
Report link

ad id has exactly one campaign id and adset id, so joining by ad id and date is enough

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

79210601

Date: 2024-11-21 09:56:47
Score: 2.5
Natty:
Report link

["react-native-reanimated/plugin", { loose: true }], works for me :-)

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: shinu

79210596

Date: 2024-11-21 09:55:46
Score: 0.5
Natty:
Report link

Please read https://kotlinlang.org/docs/equality.html

For values represented by primitive types at runtime (for example, Int), the === equality check is equivalent to the == check.

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

79210595

Date: 2024-11-21 09:55:46
Score: 3
Natty:
Report link

The keyboard shortcut notifications you see are provided by the Key Promoter X plugin, that you have installed. Perhaps you should disable this plugin in the plugin settings?

Reasons:
  • Blacklisted phrase (1): this plugin
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Bas Leijdekkers

79210591

Date: 2024-11-21 09:55:46
Score: 1
Natty:
Report link

Use DatePicker instead of TimePicker

import { DatePicker } from "antd";

It is worked for me with the same problem.

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

79210572

Date: 2024-11-21 09:51:45
Score: 2
Natty:
Report link

The issue will be due to your kernel version outdated. Upgrade Linux kernel to latest and try again

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

79210553

Date: 2024-11-21 09:46:44
Score: 3.5
Natty:
Report link

You can add className="!scroll-smooth" on the layout.js and it will work!

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

79210549

Date: 2024-11-21 09:45:43
Score: 4
Natty: 5
Report link

Thank you it works. but server started message is not shown

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

79210538

Date: 2024-11-21 09:41:42
Score: 0.5
Natty:
Report link

I came across this question while I was searching for something similar (but simpler): How to return plain text from a minimal WebApi in general? I am using .NET 8, and found that I can use the Results.Text() method like this:

app.MapGet("/HelloWorld", () =>
{
    return Results.Text("Hello World!\nYou are looking good today.", "text/plain", Encoding.UTF8, 200);

});
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Magne Rekdal

79210530

Date: 2024-11-21 09:39:42
Score: 3.5
Natty:
Report link

Everything looks fine. Just do -> mvn clean spring-boot:run

Note : Make sure your application consist of single @SpringBootApplication annotation.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @SpringBootApplication
  • Low reputation (1):
Posted by: Lakshya Sharma

79210505

Date: 2024-11-21 09:31:40
Score: 1
Natty:
Report link

Well, one sleepless night and I found the answer. Let's inspect my docker compose file I use to deploy my app with db:

networks:
  app-network:
    driver: bridge

services:
  app-db:
    container_name: 'app-db'
    image: postgres:16
    environment:
      POSTGRES_USER: postgres
      POSTGRES_PASSWORD: postgres
      POSTGRES_DB: postgres
      POSTGRES_HOST_AUTH_METHOD: md5
    ports:
      - "5432:5432"
    networks:
      - app-network
    volumes:
      - postgres-data:/var/lib/postgresql/data

  app:
    ...

I've renamed postgres user in db to super but I did not renamed it in docker compose file. I thought if I have a db container volume, all data will be stored in it, including users and roles. And it was but... It seems that superuser has its own rules. So now my postgres db knows about super user. It knows that it is SUPERUSER, but it is not, because on fresh deploy with docker-compose up DB was created not by super, but by postgres user (from docker compose file). When I changed pg user credentials to super in docker compose file, it works fine. Also, I don't want to store my credentials in docker compose file, because I want to store this file in git repository. So I change db credentials in this file before any deploy from now on. Thanks everyone and good luck!

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

79210492

Date: 2024-11-21 09:26:39
Score: 2.5
Natty:
Report link

Turns out the issue is easy to fix. I needed to add permission to invoke the lambda by the specific rule. It only confuses me because of the fact that the prettify button will do the work which is nice but not actually the reason why its working. It is working whenever i made any changes and save it via the aws console, that way the eventbridge is smart enough to add the necessary permission to make it. But if you create the rule via a lambda(boto3) it will not automatically add that permission.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mondy

79210491

Date: 2024-11-21 09:26:39
Score: 0.5
Natty:
Report link

Since there is no good answer to this I'll add one now.

The easiest way of finding the centre of a Siemen's star is to detect the edges of the vanes (all or most of them) and trace these back to the centre. If you have a tight crop of the star, you could do this by edge detecting and then doing a Radon transform on the edge detected image. This should produce high values were the lines lines are inline with the axis of the sum.

You should then have several angles in the Radon transform with high results and can the work out the intersection of the lines easily.

You could also skip out the Radon transform and directly fit to the lines and find the intersection of several straight lines.

These methods all assume that the lines are actual lines that are straight, some kinds of distortion might cause issues with this.

The above methods should also be robust to rotation and scale and so some additional image content. They should also be robust to defocus and other image effects that you might want to observe in the star - since they use the large scale information as well as the small scale information.

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

79210488

Date: 2024-11-21 09:25:38
Score: 3.5
Natty:
Report link

I ran into the same problem and my suggestion is to fix it with docker.

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

79210487

Date: 2024-11-21 09:25:38
Score: 0.5
Natty:
Report link

You can not use your induction hypothesis because H simplifies to n + n = m + m while IHn expects n + n = S m + S m. In other words, the argument m you want to feed the induction hypothesis changed, which is a symptom that you need to generalize over m (with revert m) before doing induction n (actually you can just not introduce m and H before doing induction n). Besides, you can also destruct m instead of doing an induction on it, the induction hypothesis IHm is useless.

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

79210486

Date: 2024-11-21 09:24:38
Score: 2
Natty:
Report link

I recently faced the same error, and in my case it was the private key. I had to resort to a roundabout way to get a working pair of private-public keys, see my question and answer here

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

79210483

Date: 2024-11-21 09:24:38
Score: 1
Natty:
Report link

My case was different. I had Container with no color defined.

Container(child: Row(children:widgets)...

I tried to hit this Container but it does not work until you provide a color for it, even transparent. For:

Container(color:Colors.transparent,...)

I get no error.

Reasons:
  • RegEx Blacklisted phrase (1): I get no error
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Chris

79210480

Date: 2024-11-21 09:23:38
Score: 0.5
Natty:
Report link

Class fields aren't reactive in Svelte 5. So the problem is not that the state holds and array, but that the value in the array that you try to change is an instance of a class. If it's plain JavaScript object instead, it will work.

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

79210478

Date: 2024-11-21 09:22:37
Score: 1
Natty:
Report link

Take a look at the aws-credentials plugin. It should be able to story any kind of AWS credentials and provide them for the registry auth.

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

79210471

Date: 2024-11-21 09:21:37
Score: 3
Natty:
Report link

make sure you set your APP_URL= "to your default local url or your website address"

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

79210470

Date: 2024-11-21 09:21:37
Score: 1
Natty:
Report link

I needed a bit of research but it looks like the error was caused by one of our models which defined the class method default_role. The problem with the naming of this method is, that is named like the method which rails uses to return the default role which is also named default_role.

Now whenever our model wanted to access one of the connections from the connection pool, the role for the searched connection pool was nil since we overwrote the rails method in our model. This led to the above error that no connection for the '' role was found.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: egli