79447777

Date: 2025-02-18 09:49:06
Score: 0.5
Natty:
Report link

Based on @slvmrc's and @ogtega's answers. Here's a fusion of the two which I have being using so far.

    import copy
    import typing
    import pydantic
    import functools
    import weakref
    
    Model = typing.TypeVar("Model", bound=pydantic.BaseModel)
    _Depth: typing.TypeAlias = typing.Union[bool, int]
    _Prefix: typing.TypeAlias = str
    
    DEFAULT_PREFIX = "Partial"
    TOP_LEVEL = 0
    
    # Cache for created models
    _model_cache = weakref.WeakValueDictionary()
    
    
    @typing.overload
    def partial(
        model_cls: typing.Optional[typing.Type[Model]] = None,  # noqa :ARG006
    ) -> typing.Type[Model]: ...
    
    
    @typing.overload
    def partial(
        *,
        include: typing.Optional[typing.List[str]] = None,
        depth: _Depth = TOP_LEVEL,
        prefix: typing.Optional[_Prefix] = None,
    ) -> typing.Callable[[typing.Type[Model]], typing.Type[Model]]: ...
    
    
    @typing.overload
    def partial(
        *,
        exclude: typing.Optional[typing.List[str]] = None,
        depth: _Depth = TOP_LEVEL,
        prefix: typing.Optional[_Prefix] = None,
    ) -> typing.Callable[[typing.Type[Model]], typing.Type[Model]]: ...
    
    
    def _make_optional(
        field: pydantic.fields.FieldInfo,
        default: typing.Any,
        depth: _Depth,
        prefix: typing.Optional[_Prefix],
    ) -> tuple[object, pydantic.fields.FieldInfo]:
        """Helper function to make a field optional.
    
        :param field: The field to make optional
        :param default: Default value for the optional field
        :param depth: How deep to make nested models optional
        :param prefix: String to prepend to nested model names
        :returns: Tuple of (annotation, field_info)
        :raises ValueError: If depth is negative
        """
        tmp_field = copy.deepcopy(field)
        annotation = field.annotation or typing.Any
    
        if isinstance(depth, int) and depth < 0:
            raise ValueError("Depth cannot be negative")
    
        if (
            isinstance(annotation, type)
            and issubclass(annotation, pydantic.BaseModel)
            and depth
        ):
            model_key = (annotation, depth, prefix)
            if model_key not in _model_cache:
                _model_cache[model_key] = partial(
                    depth=depth - 1 if isinstance(depth, int) else depth,
                    prefix=prefix,
                )(annotation)
            annotation = _model_cache[model_key]
    
        tmp_field.annotation = typing.Optional[annotation]
        tmp_field.default = default
        return tmp_field.annotation, tmp_field
    
    
    def partial(
        model_cls: typing.Optional[typing.Type[Model]] = None,  # noqa :ARG006
        *,
        include: typing.Optional[typing.List[str]] = None,
        exclude: typing.Optional[typing.List[str]] = None,
        depth: _Depth = TOP_LEVEL,
        prefix: typing.Optional[_Prefix] = None,
    ) -> typing.Callable[[typing.Type[Model]], typing.Type[Model]]:
        """
        Create a partial Pydantic model with optional fields.
    
        This decorator allows you to create a new model based on an existing one,
        where specified fields become optional. It's particularly useful for update
        operations where only some fields may be provided.
    
        :param model_cls: The Pydantic model to make partial
        :param include: List of field names to make optional. If None, all fields are included
        :param exclude: List of field names to keep required. If None, no fields are excluded
        :param depth: How deep to make nested models optional:
            - 0: Only top-level fields
            - n: n levels deep
            - True: All levels
        :param prefix: String to prepend to the new model's name
        :returns: A decorator function that creates a new model with optional fields
        :raises ValueError: If both include and exclude are provided
        :raises ValueError: If depth is negative
    
        Example:
            ```python
            @partial
            class UserUpdateSchema(UserSchema):
                pass
    
            # Make specific fields optional
            @partial(include=['name', 'email'])
            class UserPartialSchema(UserSchema):
                pass
    
            # Keep certain fields required
            @partial(exclude=['id'])
            class UserUpdateSchema(UserSchema):
                pass
            ```
    
        - Uses model caching to avoid recreating identical partial models
        """
        if include is not None and exclude is not None:
            raise ValueError("Cannot specify both include and exclude")
    
        if exclude is None:
            exclude = []
    
        @functools.lru_cache(maxsize=32)
        def create_partial_model(model_cls: typing.Type[Model]) -> typing.Type[Model]:
            """
            Create a new Pydantic model with optional fields.
    
            Cached model creation to avoid regenerating same models.
            """
            fields = model_cls.model_fields
            if include is None:
                fields = fields.items()
            else:
                fields = ((k, v) for k, v in fields.items() if k in include)
    
            return pydantic.create_model(
                f"{prefix or ''}{model_cls.__name__}",
                __base__=model_cls,
                __module__=model_cls.__module__,
                **{
                    field_name: _make_optional(
                        field_info,
                        default=None,
                        depth=depth,
                        prefix=prefix,
                    )
                    for field_name, field_info in fields
                    if exclude is None or field_name not in exclude
                },
            )
    
        if model_cls is None:
            return create_partial_model
        return create_partial_model(model_cls)
    
    
    class _ModelConfig(typing.NamedTuple):
        """Configuration for partial model creation."""
    
        model: typing.Type[Model]
        depth: _Depth
        prefix: _Prefix
    
    
    def _create_model_config(*args: typing.Any) -> _ModelConfig:
        """
        Factory function to create and validate model configuration.
    
        :raises TypeError: If arguments are invalid
        """
        if not args:
            raise TypeError("Model type argument is required")
    
        if len(args) > 3:
            raise TypeError(f"Expected at most 3 arguments, got {len(args)}")
    
        model, *rest = args
        if not (isinstance(model, type) and issubclass(model, pydantic.BaseModel)):
            raise TypeError(f"Expected BaseModel subclass, got {type(model)}")
    
        if not rest:
            return _ModelConfig(model, TOP_LEVEL, DEFAULT_PREFIX)
    
        depth = rest[0]
        if not isinstance(depth, (int, bool)):
            if not isinstance(depth, str):
                raise TypeError(
                    f"Expected int, bool or str for depth/prefix, got {type(depth)}"
                )
            # Case where first arg is prefix
            return _ModelConfig(model, TOP_LEVEL, depth)
    
        prefix = rest[1] if len(rest) > 1 else DEFAULT_PREFIX
        if not isinstance(prefix, str):
            raise TypeError(f"Expected str for prefix, got {type(prefix)}")
    
        return _ModelConfig(model, depth, prefix)
    
    
    class Partial(typing.Generic[Model]):
        """
        Type hint for creating partial Pydantic models.
    
        Supports three forms of instantiation:
        1. Partial[Model]  # Uses default depth and prefix
        2. Partial[Model, depth]  # Uses default prefix
        3. Partial[Model, depth, prefix]
        4. Partial[Model, prefix]  # Uses default depth
    
        :param Model: The Pydantic model to make partial
        :param depth: How deep to make fields optional (int, bool)
        :param prefix: Prefix for the generated model name (str)
    
        Example:
            ```python
            class User(BaseModel):
                name: str
                age: int
    
            # These are all valid:
            PartialUser = Partial[User]  # depth=0, prefix="Partial"
            UpdateUser = Partial[User, "Update"]  # depth=0, prefix="Update"
            DeepUpdateUser = Partial[User, True, "Update"]  # All nested fields optional
            ```
        """
    
        def __class_getitem__(  # type: ignore[override]
            cls,
            wrapped: typing.Union[typing.Type[Model], typing.Tuple[typing.Any, ...]],
        ) -> typing.Type[Model]:
            """Converts model to a partial model with optional fields."""
            args = wrapped if isinstance(wrapped, tuple) else (wrapped,)
            config = _create_model_config(*args)
    
            return partial(
                depth=config.depth,
                prefix=config.prefix,
            )(config.model)  # type: ignore[no-any-return, return-value]
    
        def __new__(
            cls,
            *args: object,  # noqa :ARG003
            **kwargs: object,  # noqa :ARG003
        ) -> "Partial[Model]":
            """Cannot instantiate.
    
            :raises TypeError: Direct instantiation not allowed.
            """
            raise TypeError("Cannot instantiate abstract Partial class.")
    
        def __init_subclass__(
            cls,
            *args: object,
            **kwargs: object,
        ) -> typing.NoReturn:
            """Cannot subclass.
    
            :raises TypeError: Subclassing not allowed.
            """
            raise TypeError("Cannot subclass {}.Partial".format(cls.__module__))
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @slvmrc's
  • User mentioned (0): @ogtega's
  • Low reputation (1):
Posted by: ti_oluwa

79447773

Date: 2025-02-18 09:47:06
Score: 1
Natty:
Report link

desktop PC application

Vuforia supports only UWP, Android and iOS. So no standalone desktop builds I'm afraid. Now as far as I know, desktop support can be added by just adjusting their Unity code (their native code is capable of running on desktop), but I don't think they would support it, specially since you'll have to adjust the code that's already built in their dll files.

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

79447771

Date: 2025-02-18 09:47:06
Score: 3.5
Natty:
Report link

You need to change input_dim from 3 to 14

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

79447769

Date: 2025-02-18 09:46:05
Score: 4.5
Natty: 5
Report link

How can achive like health endpoint similar functionaly with env endpoint. I mean how can we customize the springbootadmin which also enable env endpoints by default like health

Reasons:
  • Blacklisted phrase (1): how can we
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How can
  • Low reputation (1):
Posted by: vijay choudhary

79447756

Date: 2025-02-18 09:42:04
Score: 1
Natty:
Report link

A bit late to the party... but there is no need for external packages. approx actually does achieve what you want. What you want is to interpolate only between the min and max values, so simply do:

approx(range(s), c(0,1), s)$y

or equivalently,

approxfun(range(s), c(0,1))(s)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Terry WS Chan

79447737

Date: 2025-02-18 09:37:02
Score: 4
Natty:
Report link

I am setting up a CDC system that includes Kafka and Debezium to capture changes on the source table (mysql). Then, I will use pyspark to clean the data and finally insert the data into the destination table. Suppose I need to stop the pyspark script for 2 days. When I turn it back on, it will no longer capture the data that appeared during those 2 days. Is there a solution for this issue? `

df = spark.readStream \
    .format("kafka") \
    .option("kafka.bootstrap.servers", kafka_bootstrap_servers) \
    .option("subscribe", topic) \
    .option("startingOffsets", "latest") \
    .option("group.id", consumer_group_id) \
    .load()

`

Reasons:
  • Blacklisted phrase (3): Is there a solution
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hảo Nguyễn Thị Phương

79447733

Date: 2025-02-18 09:35:01
Score: 1.5
Natty:
Report link

You need to add populate: true

after where: {partner_id}

Example:

const entity = await strapi.db.query("api::article.article").findOne({ where: { slug }, populate: true });

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

79447730

Date: 2025-02-18 09:33:01
Score: 1
Natty:
Report link

Ok, I found the cause. Someone installed on the project history v5, but it is not compatible with connected-react-router v6 so I installed history v4 and not it works.

put in the terminal this:

npm install [email protected]

and it will work

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

79447728

Date: 2025-02-18 09:33:01
Score: 1.5
Natty:
Report link

Para el caso de react , funciona correctamente. Se guarda los temporrales del Datagrid de Devextreme

https://js.devexpress.com/React/Demos/WidgetsGallery/Demo/DataGrid/StatePersistence/AngularJS/Light/

enter image description here

<StateStoring enabled={true} type="localStorage" storageKey="storage" />

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jorge Jhovani Valverde León

79447719

Date: 2025-02-18 09:30:00
Score: 1.5
Natty:
Report link

So I got the solution

Basically the solution I found belongs to this link https://github.com/robolectric/robolectric/issues/8661

There was a problem with sdk 33 with respective to roboelectric. And I was testing on sdk 33

So Nfcadapter.getdefaultAdapter() was coming null

So I have to use MockStatic for NfcAdapter

try(MockedStatic<NfcAdapter> nfcMockAdapter = mockStatic(NfcAdapter.class)) {
        nfcMockAdapter.when(() -> NfcAdapter.getDefaultAdapter(any()))
                .thenReturn(mock(NfcAdapter.class));
        // Your code here
    }
Reasons:
  • Blacklisted phrase (1): this link
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sopnil.Shinde

79447715

Date: 2025-02-18 09:29:00
Score: 2.5
Natty:
Report link

I got the same error after uninstalling some Microsoft visual C++ redistributables. Installing another version of pgadmin will fix it, but it will just because the installation includes the missing redistributable.

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

79447707

Date: 2025-02-18 09:28:00
Score: 1
Natty:
Report link

I finally solved the problem like this:

This way loading "one big set of values" doesn't block the UI thread for multiple seconds; the UI remains useable.

Care has to be taken when setting the currently selected item - this has to be postboned until the loading thread is finished.

I would have preferred to use a concept like SWT.Virtual. Unfortunately the API isn't perfectly consistent between controls.

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

79447705

Date: 2025-02-18 09:26:59
Score: 4
Natty:
Report link

Install the client and check the official site, this documentation:

https://learn.microsoft.com/en-us/entra/identity/managed-identities-azure-resources/how-to-configure-managed-identities?pivots=qs-configure-cli-windows-vm#assign-a-user-assigned-managed-identity-during-the-creation-of-an-azure-vm

Hope this help.

Reasons:
  • Blacklisted phrase (1): this document
  • Whitelisted phrase (-1): Hope this help
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Fernando Maya

79447701

Date: 2025-02-18 09:25:58
Score: 1.5
Natty:
Report link

To Grant SMS permissions on Android 15+, Long Press the Android app and tap on "App info" Then tap on the menu button on the top right and select "Allow restricted permissions".

Once this is done you can now tap on the Permissions menu under "App info" and you can give SMS permission to the android app.

I wrote a full blogpost with step by step guide here

enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
Posted by: Arnold Ewin

79447691

Date: 2025-02-18 09:21:57
Score: 1
Natty:
Report link

Yfinance now adds the ticker symbol as additional index. You can avoid that with multi_level_index=False parameter:

temp = yf.download(
    symb,
    interval=interval,
    period=period,
    multi_level_index=False
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RZX

79447688

Date: 2025-02-18 09:19:57
Score: 1.5
Natty:
Report link

According to this post libintl.h is likely part of the GNU C library. Try installing that.

They also mention gettext, so you could give that a shot.

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

79447681

Date: 2025-02-18 09:16:56
Score: 1.5
Natty:
Report link

What I do in Python 3.13:

opener = urllib.request.URLopener()
opener.addheader('User-Agent', 'Mozilla/5.0')
opener.open(URL).read()

BasedPyright hates me for this - when it really shouldn't.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What I
  • Low reputation (1):
Posted by: VisualPlugin Rōblox

79447679

Date: 2025-02-18 09:15:56
Score: 1
Natty:
Report link

✅ Steps Taken to Ensure Proper Signing and Authorization 1⃣ SHA1 Verification: • The SHA1 key obtained via ./gradlew signingReport matches exactly with the Upload Key SHA1 found in Google Play Console. • This SHA1 key is also correctly added to Firebase Android App and Google Cloud OAuth Client.

2⃣ Google Play Console Signing Key: • The SHA1 key generated by Google Play Signing is correctly added to Firebase Android App and Google Cloud OAuth Client.

3⃣ Google Cloud OAuth Configuration: • The Web Client ID is properly configured. • Google Sign-In is enabled under Firebase Authentication.

4⃣ Google Services Configuration: • The google-services.json file is up to date, and SHA1 verifications have been completed.

🚨 Issue Faced ✔ Google Sign-In works correctly in Debug mode. ✔ Google Sign-In works correctly when the APK is installed manually. ✖ However, after uploading to the Google Play Store, Google Sign-In fails. ✔ Google Sign-In works correctly on iOS (Apple) devices.

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

79447676

Date: 2025-02-18 09:14:55
Score: 1
Natty:
Report link

You could try splitting into both forename and surname then merging back to one:

dt<-dat %>% separate(name, into = c('name', 'name2', 'class', 'pack'), sep = " ", convert = TRUE)
dt$name <- paste(dt$name,dt$name2)
#Get rid of name2
dt <- dt[,-2]

I'm sure someone will have a tidier answer.

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

79447666

Date: 2025-02-18 09:12:55
Score: 2.5
Natty:
Report link

Yes, the Project C will compile first, then B and then A.

You can see that by opening the project build order window Project Build Order

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

79447658

Date: 2025-02-18 09:10:54
Score: 2
Natty:
Report link

You can get absolute paddings like this: final paddingView = MediaQueryData.fromView(View.of(context)).padding;

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

79447657

Date: 2025-02-18 09:10:54
Score: 3.5
Natty:
Report link

cry more man gotta be more carefull right

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

79447655

Date: 2025-02-18 09:09:54
Score: 2
Natty:
Report link

As of 2025, there is now a boolean isOpen property on the InfoWindow object.

https://developers.google.com/maps/documentation/javascript/reference/info-window

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Tristan CHARBONNIER

79447640

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

So my solution as @sdex wrote was to add the CircularProgressIndicator and my code looks like this

1)Create a style in themes.xml

<style name="CustomCircularProgressIndicator" parent="Widget.MaterialComponents.CircularProgressIndicator">
    <item name="indicatorColor">@color/limeGreen</item>
    <item name="trackColor">@color/grey</item>
</style> 

2)Add MaterialComponents to Base.Theme style

<style name="Base.Theme.YOURAPP" parent="Theme.MaterialComponents.DayNight.NoActionBar">

3)Lastly update your CircularProgressIndicator

  <com.google.android.material.progressindicator.CircularProgressIndicator
        android:layout_width="48dp"
        android:layout_height="48dp"
        android:layout_gravity="center"
        android:indeterminate="true"
        style="@style/CustomCircularProgressIndicator" />
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @sdex
  • Self-answer (0.5):
Posted by: Alex

79447628

Date: 2025-02-18 08:58:52
Score: 0.5
Natty:
Report link

function create_sign_tiktok($url ='',$app_secret ='') { //$url be like /seller/202309/shops?access_token=123123&app_key=123123&sign=&timestamp='.time().'&version=202309 if(!$app_secret || !$url) throw new Exception('create sign tiktok not found param');

$parse = parse_url($url);


$path = $parse['path'];

parse_str($parse['query'], $query);


if(isset($query['sign']))
    unset($query['sign']);
if(isset($query['access_token']))
    unset($query['access_token']);

//ksort($query);#sort key theo bảng chữ cái yêu cầu
$str_query = '';


foreach($query as $k  => $q)
{
    
    $str_query .= $k.$q;
}

$sha_result = $app_secret.$path.$str_query.$app_secret;
return bin2hex(hash_hmac('sha256', $sha_result, $app_secret, true));

}

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

79447614

Date: 2025-02-18 08:52:51
Score: 0.5
Natty:
Report link

I can share some tips and references that should help you on the way. To change the default shape, you need to play with pane, yAxis.plotBands and pane.background settings (you can create a custom shape for the background). As for the range, you can easily set it with yAxis min and max options. As for the labels, you have yAxis.labels settings, and there are several ways to set your ticks, just check yAxis.tick options.

Please see the demo attached to this API option to take a look at the way to extend graphic options with SVGrenderer: https://api.highcharts.com/highcharts/series.scatter.marker.symbol

I hope that these would be helpful, happy charting!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Andrzej Bułeczka

79447612

Date: 2025-02-18 08:52:51
Score: 1.5
Natty:
Report link

Someone on r/IBMi was able to figure out, what was wrong. In short, the RSA-PSS in generating the cert.pem was the issue. In the documentation for the API it explicitly shows this command and explicitly says multiple times use the RSA256.

Therefore, I selected the RS256 option on jwt.io and ofc that has the wrong format. And that was it. Here the Thread of the reddit to figure out what was wrong: r/IBMi

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

79447601

Date: 2025-02-18 08:48:50
Score: 1.5
Natty:
Report link

I believe Vuforia only supports its latest SDK, and removes older ones from the website. I remember once I needed to download an older version and I had to download it through wayback machine.

So I guess the best way for you is to try and see if you can upgrade your project to use the latest version, otherwise look for it in internet archives or older threads and if you get lucky someone may have uploaded the files somewhere.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dante Marshal

79447600

Date: 2025-02-18 08:48:50
Score: 1
Natty:
Report link
  1. Is there a manual way to stop the execution of the orchestrations other than stopping the function app?

You can stop the running Orchestration by suspending the Orchestration, refer MSDOC

suspend_reason = "Found a bug"
client.suspend(instance_id, suspend_reason)

Code:

myApp = df.DFApp(http_auth_level=func.AuthLevel.ANONYMOUS)
@myApp.route(route="orchestrators/{functionName}")
@myApp.durable_client_input(client_name="client")
async def http_start(req: func.HttpRequest, client):
    function_name = req.route_params.get('functionName')
    instance_id = await client.start_new(function_name)
    response = client.create_check_status_response(req, instance_id)
    await client.suspend(instance_id, "found a bug")
    logging.info("Orchestration suspended")
    return response

Console response:

Functions:

        http_start:  http://localhost:7071/api/orchestrators/{functionName}

        hello: activityTrigger

        hello_orchestrator: orchestrationTrigger

For detailed output, run func with --verbose flag.
[2025-02-18T07:55:19.194Z] Host lock lease acquired by instance ID '000000000000000000000000F72731CC'.
[2025-02-18T07:55:50.392Z] Executing 'Functions.http_start' (Reason='This function was programmatically called via the host APIs.', Id=05a6a228-0dfb-4dcd-8c91-29da78ed0a1e)

[2025-02-18T07:55:50.760Z] Orchestration suspended

[2025-02-18T07:55:50.960Z] Executing 'Functions.hello_orchestrator' (Reason='(null)', Id=07f199d9-fd10-422b-a66e-e84677011a30)
[2025-02-18T07:55:50.966Z] Executed 'Functions.http_start' (Succeeded, Id=05a6a228-0dfb-4dcd-8c91-29da78ed0a1e, Duration=607ms)
[2025-02-18T07:55:51.054Z] Executed 'Functions.hello_orchestrator' (Succeeded, Id=07f199d9-fd10-422b-a66e-e84677011a30, Duration=110ms)
[2025-02-18T07:55:51.126Z] Executing 'Functions.hello' (Reason='(null)', Id=31e72fb9-ce64-4983-a931-8ceb9b1be8c1)
[2025-02-18T07:55:51.133Z] Executed 'Functions.hello' (Succeeded, Id=31e72fb9-ce64-4983-a931-8ceb9b1be8c1, Duration=9ms)
[2025-02-18T07:55:51.154Z] Executing 'Functions.hello_orchestrator' (Reason='(null)', Id=690cd49d-2765-41e0-bb43-e8b85c51f18a)
[2025-02-18T07:55:51.167Z] Executed 'Functions.hello_orchestrator' (Succeeded, Id=690cd49d-2765-41e0-bb43-e8b85c51f18a, Duration=15ms)
[2025-02-18T07:55:51.201Z] Executing 'Functions.hello_orchestrator' (Reason='(null)', Id=2d51e367-b295-45b4-ace4-a24dd1c5615e)
[2025-02-18T07:55:51.210Z] Executed 'Functions.hello_orchestrator' (Succeeded, Id=2d51e367-b295-45b4-ace4-a24dd1c5615e, Duration=9ms)

Orchestration Status can be seen as below:

enter image description here

You can also terminate the Orchestration by running the terminatePostURI of the function:

enter image description here

enter image description here

[2025-02-18T08:03:25.173Z] 523f442ed0574d3dab2f2d0226a27ce7: Function 'hello_orchestrator (Orchestrator)' was terminated. 
Reason: found a bug. State: Terminated. RuntimeStatus: Terminated. HubName: TestHubName. AppName: . SlotName: . ExtensionVersion: 2.13.2. SequenceNumber: 12.
[2025-02-18T08:03:25.233Z] Executing 'Functions.hello_orchestrator' (Reason='(null)', Id=95c9b9a7-5728-4ad5-ab35-439a6d377714)
[2025-02-18T08:03:25.242Z] Executed 'Functions.hello_orchestrator' (Succeeded, Id=95c9b9a7-5728-4ad5-ab35-439a6d377714, Duration=10ms)
  1. How do I set the number of retries to 0?

Set max_number_of_attempts=1, refer MSDOC.

first_retry_interval_in_milliseconds  =  5000
max_number_of_attempts  =  1
retry_options = df.RetryOptions(first_retry_interval_in_milliseconds, max_number_of_attempts)

Code:

# Orchestrator
@myApp.orchestration_trigger(context_name="context")
def hello_orchestrator(context: df.DurableOrchestrationContext):
    first_retry_interval_in_milliseconds = 5000
    max_number_of_attempts = 1

    retry_options = df.RetryOptions(first_retry_interval_in_milliseconds, max_number_of_attempts)
    result = yield context.call_activity_with_retry('hello', retry_options)
    result1 = yield context.call_activity("hello", "Seattle")
    result2 = yield context.call_activity("hello", "Tokyo")
    result3 = yield context.call_activity("hello", "London")

    return [ result1, result2, result3]
Reasons:
  • Blacklisted phrase (1): How do I
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is there a
  • High reputation (-1):
Posted by: Pravallika KV

79447592

Date: 2025-02-18 08:46:50
Score: 2.5
Natty:
Report link

ok, as of date 2025/2/18, after a exhaustive peruse of internet and more specifically the python api file on Py_Finalize. I am able to find the reason, Py_Finalize and its variant are not able to fully stop or terminate all python related processes and setting. In best pratice so far is to only use py_initialize and py_finalize once per system run (process) and avoid multiple calls to the two functions.

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

79447591

Date: 2025-02-18 08:45:49
Score: 2
Natty:
Report link

External services can access services managed by Istio via a Gateway. They can use internal IP of ingress gateway and provide a host header for which server the request is sent to. Or add a DNS entry for ingress gateway IP.

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

79447590

Date: 2025-02-18 08:45:49
Score: 1.5
Natty:
Report link

If you need version 1.4.5 of relinker library, you must download it from this repository:

https://repo1.maven.org/maven2/
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Valentin Katić

79447587

Date: 2025-02-18 08:44:49
Score: 1.5
Natty:
Report link

The problem is that because you are using a remote repository there isn't a local folder (with full access), which is needed for extensions like Live Server. If you copy your repository to a local folder and open that in vscode you should get the option.

I assume you're using the Live Server extension, if not, let me know which one you are using please.

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

79447583

Date: 2025-02-18 08:42:48
Score: 3.5
Natty:
Report link

For those who still struggle with this: enter image description here

You can see on the bottom "Use via Api". Here you have the link

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alexander Kolarov

79447582

Date: 2025-02-18 08:41:48
Score: 1.5
Natty:
Report link

You've used c.Next() in the error handling middleware, which is logically incorrect. When a panic occurs, the execution halts, and continuing with c.Next() isn't appropriate. Instead, you should use c.Abort(), which is the preferred approach. c.Abort() ensures that next handlers in the chain are not called which effectively stopping further processing.

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

79447579

Date: 2025-02-18 08:40:48
Score: 3.5
Natty:
Report link

you can install a extension of vscode live-server

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

79447572

Date: 2025-02-18 08:36:47
Score: 1.5
Natty:
Report link

you can use the Create Table connector in Excel. but you may need to specify the range of the table manually.

enter image description here

sample data

before running: enter image description here

after running:

the table name is also updated enter image description here

Note: when power automate succeeded, wait to reflect the changes in file. it may take around 1 minute or less to reflect.

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: frue

79447570

Date: 2025-02-18 08:36:46
Score: 10.5 🚩
Natty: 4.5
Report link

I have a similar problem to this one, but if I try to subscribe the phone number using phone id I get the following error:

Unsupported post request. Object with ID 'ID_HERE' does not exist, cannot be loaded due to missing permissions, or does not support this operation.

So, basically, I've successfully subscribed the app first and I did not receive any webhooks. Then I found your solution and tried to subscribe the phone number, but it seems that it is not working.

When I debug the token in the Access Token Debugger, it is clear that it has both WhatsApp permissions, but this is not the only endpoint for which I get the 'missing permissions' error, which is weird to me. Do you have an idea what could the issue be here? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I have a similar problem
  • RegEx Blacklisted phrase (1): I get the following error
  • RegEx Blacklisted phrase (2.5): Do you have an
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: jmes

79447560

Date: 2025-02-18 08:32:45
Score: 1
Natty:
Report link

I think you should remove this orga policy from your project

Domain restricted sharing constraints/iam.allowedPolicyMemberDomains

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

79447551

Date: 2025-02-18 08:28:44
Score: 1.5
Natty:
Report link

I have added -Djava.net.preferIPv4Stack=true in jvm.options file and changed network.host value to network.host: 0.0.0.0 in elasticsearch.yml.

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

79447539

Date: 2025-02-18 08:21:43
Score: 2.5
Natty:
Report link

What do you have set as Detection rule? make sure that the file or registry intune is using for the detection is indeed not on the system. If you want a "hacky way" you can also do the following:

  1. Duplicate the app in intune
  2. Assign the app to a test group
  3. Create a false Detection rule. Because this is fast it will then reinstall the app

once all that is done cleanup the environment

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What do you have
  • Low reputation (1):
Posted by: YX Digital

79447535

Date: 2025-02-18 08:17:42
Score: 2.5
Natty:
Report link

Try Weeom Lotus Notes to Outlook Converter tool, this tool provides various advanced features to its users for better performance and fast conversion of files. This tool also provides a free demo version in which you can experience the tool's performance.

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

79447529

Date: 2025-02-18 08:15:42
Score: 1.5
Natty:
Report link

Web scraping tools should be used when you need to extract large amounts of data from websites quickly and efficiently. The advantage is that they automate the process, saving time and improving data accuracy for analysis. Here's a list of the 15 best web scraping tools and software, their significant features, and pricing.

https://www.scrapehero.com/top-free-and-paid-web-scraping-tools-and-software/

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

79447527

Date: 2025-02-18 08:14:41
Score: 1.5
Natty:
Report link
"C_Cpp.intelliSenseEngine": "disabled" 

change disable to "default" in global settings.json if using C/C++ extension.

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

79447521

Date: 2025-02-18 08:12:41
Score: 3
Natty:
Report link

bro just use the max function

L = [2,4,7,2,1,9,33,105,2,3,7,300,4,9] print(max(L))

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

79447520

Date: 2025-02-18 08:12:41
Score: 3
Natty:
Report link

You can delete telemetry data by time period. Go to Devices -> select device -> Latest telemerty tab -> select some telemetry that you want to delete and press on the trash icon -> Select delete all data for a time period See images enter image description here

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

79447502

Date: 2025-02-18 08:05:39
Score: 1.5
Natty:
Report link

To highlight the item in the collectionview when the mouse is hovering it, you can just use the VisualStateManager PointOver state.

<VisualState Name="PointerOver">
   <VisualState.Setters>
       <Setter Property="BackgroundColor" Value="Red" />
   </VisualState.Setters>
</VisualState>

Source: https://learn.microsoft.com/en-us/dotnet/maui/user-interface/visual-states?view=net-maui-9.0

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

79447493

Date: 2025-02-18 07:59:38
Score: 3
Natty:
Report link

Syntax to add computed column in snowflake table:

ALTER TABLE "TABLE NAME" AS "COLUMN Name" "Datatype" AS "EXPRESSION"

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

79447492

Date: 2025-02-18 07:59:38
Score: 2.5
Natty:
Report link

maybe you're referring to front-end/javascript npm run dev?, there is no composer command composer run dev only NPM have that at package.json.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: RJ Estavillo

79447488

Date: 2025-02-18 07:57:37
Score: 1
Natty:
Report link

In my case, the solution was that I had to install the globals package:

npm install --save-dev @jest/globals --legacy-peer-deps

I think I read somewhere that the @vue/test-utils package requires the globals package.

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

79447481

Date: 2025-02-18 07:53:36
Score: 3.5
Natty:
Report link

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager><asp:UpdatePanel ID="UpdatePanel...

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: bew trre

79447473

Date: 2025-02-18 07:50:36
Score: 2
Natty:
Report link

No, an attacker cannot simply modify data and send it along with the hash for the modified data because a fundamental property of cryptographic hash functions is that even a tiny change in the original data will result in a significantly different hash value, making it readily detectable if the recipient recalculates the hash on the received data and compares it to the original hash

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

79447467

Date: 2025-02-18 07:49:35
Score: 0.5
Natty:
Report link

Create font folder in res folder and copy a font file, for example my_font.ttf. Then use without file extention:

android:fontFamily="@font/my_font"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Style-7

79447449

Date: 2025-02-18 07:42:34
Score: 1
Natty:
Report link

For anyone else wondering I have found an answer, it's not controlled by Angular, it's jQuery and this line of code in onSubmit function:

return ($event?.target as HTMLFormElement | null)?.method === 'dialog';

reference: event.preventDefault() vs. return false

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

79447438

Date: 2025-02-18 07:35:32
Score: 1
Natty:
Report link

There are a lot of browser plugins for web scraping, like webscraping.io among others. You could even save/download the content of a page and make offline extraction of data.

It is hard to make a generic solution because of restrictions and terms & conditions of each website. If a page is blocking your scraper, any work around will be blocked eventually.

Recently, I was collecting my own data in LinkedIn to reuse the information in offline resumes and I got a warning from their system to not use web scraper plugins in my browser.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: George H. Silva

79447434

Date: 2025-02-18 07:33:32
Score: 0.5
Natty:
Report link

Numbers are stored in binary, as dyadic fractions. Decimal fractions, in general, are not representable as binary fractions. When parsing the numbers in the code, from text to binary, rounding is applied. It may go in different directions for the two .9 constants, so that the rounding error is not cancelled but emphasized in the difference.

Look at any introduction to floating point numbers, the "Related" side bar has some famous ones, like Is floating-point math broken?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Lutz Lehmann

79447432

Date: 2025-02-18 07:33:32
Score: 2.5
Natty:
Report link

1.Goto this path C:\ProgramData\Microsoft\Crypto\RSA 2.Riht click on MachineKeys,Goto properties and select Security 3. In Security Add & give all the rights to Every one, IIS_IURS, Administrators it is worked in my case

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

79447431

Date: 2025-02-18 07:33:32
Score: 3.5
Natty:
Report link

Please check Run/Build Configurations to see if you set any run params there. if yes?

remove --web-renderer, because if youre using the flutter latest its not gonna work with any '--web-renderer' because now flutter team made these changes :

Make --web-renderer=canvaskit the new default (the current default is auto).

Remove --web-renderer=auto.

and you can simply build using

flutter build web

if you face any more problem please let me know, i would be happy to help you out.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hussnain_28

79447426

Date: 2025-02-18 07:29:31
Score: 3
Natty:
Report link

In MSTest 3.8.0, there is a Retry attribute, that can be used for this purpose. See https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-mstest-writing-tests-attributes

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

79447421

Date: 2025-02-18 07:26:30
Score: 2.5
Natty:
Report link

As of MSTest 3.8.0, there is a Retry attribute, which can be used to rerun a test upon failure. See https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-mstest-writing-tests-attributes .

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

79447420

Date: 2025-02-18 07:25:30
Score: 3
Natty:
Report link

If the psql server is run via docker, make sure docker and your container is running.

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

79447417

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

Add this css in your active class for css arrow

.up-arrow {
    position: absolute;
    transform: rotate(-45deg);
    display: inline-block;
    width: 20px;
    height: 20px;
    z-index: 10;
    border-top: 1px solid #c1c1c1;
    border-right: 1px solid #c1c1c1;
    background-position-x: center;
    background: #eeeeee;
    margin-top: 7px;
    margin-left: 5px;
}

Below image for menu item with arrow

enter image description here

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

79447410

Date: 2025-02-18 07:21:29
Score: 1.5
Natty:
Report link

BIOROLES is fastest growing Brand in the field of Entrance Automation, Access Control Systems, Time Attendance System, Smart Locks and allied products. Our product comprises Boom Barriers, UHF Controller, Metal Detectors, Barrier Gates, Guard Patrol System, Finger & Face Attendance System, Access Control System, Smart Door Locks and widest range of Access Control Accessories in India. We ensure all our products meet the international standards and we adopt strict quality control approach while manufacturing & test functioning & compatibility. We have gained trust of our clients due to our Range of Quality Products and Excellent After Sale Services

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

79447405

Date: 2025-02-18 07:20:29
Score: 0.5
Natty:
Report link
    private void removeAnimal_Click(object sender, RoutedEventArgs e)
    {
            string consulta = "DELETE from AnimalZoo where ZooId = @ZooId AND AnimalId = @AnimalId";
            SqlCommand sqlCommand = new SqlCommand(consulta, sqlConnection);

            sqlConnection.Open();
            sqlCommand.Parameters.AddWithValue("@ZooId", listZoos.SelectedValue);
            sqlCommand.Parameters.AddWithValue("@AnimalId", listAssociatedAnimals.SelectedValue);
            sqlCommand.ExecuteScalar();
       
            sqlConnection.Close();
            showAssociatedAnimals();
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29690790

79447400

Date: 2025-02-18 07:19:28
Score: 1.5
Natty:
Report link

To exclude a specific tag in Logcat, simply use the minus sign (-) followed by "tag:" and your tag name in the Logcat search bar. Ex-

-tag:YourTagToExclude
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dhiraj Kumar

79447399

Date: 2025-02-18 07:19:28
Score: 1
Natty:
Report link

When attempting to run npx create-nx-workspace@latest my-workspace, I encountered the following error:

npm ERR! code ECONNREFUSED
npm ERR! syscall connect
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to https://registry.npmjs.org/create-nx-workspace failed, reason: connect ECONNREFUSED 127.0.0.1:8080

This error indicates that npm is trying to connect through a proxy at 127.0.0.1:8080, which is refusing the connection. To resolve this issue, I followed these steps:

Remove npm proxy settings:

I cleared the proxy configurations by running:

npm config delete proxy
npm config delete https-proxy

These commands remove any existing proxy settings from npm's configuration, allowing direct internet access. STACKOVERFLOW.COM Install create-nx-workspace globally:

Instead of using npx, I installed the package globally:

npm install -g create-nx-workspace@latest

After installation, I created the workspace with:

create-nx-workspace my-workspace

This approach bypasses potential issues with npx fetching the package. NX.DEV By following these steps, I successfully created my Nx workspace without encountering the ECONNREFUSED error.

Note: If you're operating behind a corporate proxy or have specific network configurations, ensure that your npm settings align with your network requirements. You can configure npm to use a proxy with:

npm config set proxy http://proxy.company.com:8080
npm config set https-proxy http://proxy.company.com:8080

Replace http://proxy.company.com:8080 with your organization's proxy URL and port.

Reasons:
  • Blacklisted phrase (1): STACKOVERFLOW
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Maryam Rajabi

79447391

Date: 2025-02-18 07:13:27
Score: 0.5
Natty:
Report link

In my case, I reverted to the postcss install method and removed the tailwind vite plugin.

https://v3.tailwindcss.com/docs/installation/using-postcss

It was because the vite plugin method expected a css config not a js config

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

79447387

Date: 2025-02-18 07:11:26
Score: 5.5
Natty:
Report link

check this video on How to fix vercel/path0/node_modules/.bin/vite: Permission denied "npm run build" exited with 1

[https://www.youtube.com/watch?v=ZjbNT02xE-Q][2]t/pBk3vI8f.png

[1]: [2]: https://www.youtube.com/watch?v=ZjbNT02xE-Q

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): check this video
  • Blacklisted phrase (1): this video
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Samwel Monda

79447380

Date: 2025-02-18 07:07:25
Score: 4.5
Natty:
Report link

Here you can try the steps to install

https://github.com/smvinay/Flutter-and-Android-SDK-Setup-on-Ubuntu

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

79447376

Date: 2025-02-18 07:05:24
Score: 3
Natty:
Report link

Apperently the ports in Dockerfile, docker-compose.yml and launchSettings.json where not set correctly, it gave the volume sharing error because the port I was trying to use was taken.

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

79447357

Date: 2025-02-18 06:57:22
Score: 0.5
Natty:
Report link

When curl isn't recognized in your current environment (e.g., due to path issues), using the full file path to the curl executable is a valid workaround

/curl.exe --cacert ca.crt --key client.key --cert client.crt "https://myurl"

this worked for me ! :)

Reasons:
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: S RESHMI

79447355

Date: 2025-02-18 06:56:22
Score: 1.5
Natty:
Report link

you can request for a faster review from apple

  1. Go to Apple's contact page. https://developer.apple.com/contact/topic/select
  2. Select App Review.
  3. Choose Expedited App Review Request.
  4. You'll then have the option to request expedited review from Apple.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: keshav

79447350

Date: 2025-02-18 06:55:22
Score: 1.5
Natty:
Report link

In a Flutter layout with a Row and Column, use the property CrossAxisAlignment.start in both widgets to align all the text at the same height. Example:

dart Copy Edit Row( crossAxisAlignment: CrossAxisAlignment.start, children: [ Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text('Item 1'), Text('Item 2'), ], ), Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ Text('Description 1'), Text('Description 2'), ], ), ], )

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

79447347

Date: 2025-02-18 06:54:22
Score: 1
Natty:
Report link

Assuming you're using cpptools, I think it just doesn't have this feature right now. I don't see an existing feature-request with a quick search, so I'd suggest that you try raising one.

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

79447344

Date: 2025-02-18 06:52:21
Score: 0.5
Natty:
Report link

You can wrap each of your FormChecklistCheckbox with Expanded or Flexible.

The result of this, I tested on a small screen device with large font rendering enabled, is bottom overflow somewhere, which may make widgets overlapping over one other.

overflow_pic

To overcome this, I also wrapped the Text and Checkbox widgets used within the FormBuilderField widget with Expanded and the result looked like:

text_bottom_clipped_pic

Here, for long text, the bottom appears clipped.

I then also tried wrapping the same Text filed that I previously wrapped with Expanded with FittedBox. Now the text fit, but since we're using Flexible/Expanded and FittedBox, the text appear large somewhere and somewhere they are small. You can try and check for yourself and choose whichever you prefer or just ignore.

after_fittedbox_pic

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

79447330

Date: 2025-02-18 06:47:20
Score: 0.5
Natty:
Report link

I realize this is an old question.(and even older bug)

The first line in @jcharaoui answer should read "doesn't work properly"

Setting the terminal type using TERM= does not work for me. For the record, the bulk of my terminal usage these days is using xterm.js.

After much testing, my semi-educated assumption is this: It seems whiptail still reserves button space when using infobox even though no buttons are shown and no additional space is allocated. Then when whiptail tries to display the text, it sees that the space is reserved for the buttons and won't render text in that reserved space. Compare the height of a rendered msgbox vs infobox with the same text. The difference amounts to 2 lines. The same is observed when displaying a long paragraph. The last 2 lines are cut off. When they coded infobox, they reduced the height of the dialog by the 2 lines of button space but left the actual button space and took the space where the text goes.

My workaround is to simply make the infobox taller. If I'm using a heredoc or a multi-line string to create the message, I add 2 newlines to the end. If it's a simple message, I manually use n+6 as the height, where n is the number of lines of text and 6 is the number of reserved lines in a basic whiptail dialog, 2 top and 4 bottom(2 are for the buttons). Yes, 6 reserved lines does seem to clash with a 5 line tall default infobox. So, for 1 line of text, the height would be 7. With that said, setting height to 0 to make it dynamic like the OP example shows causes it to not render the text, which doesn't happen with dialogs that have buttons.

# this works
whiptail --infobox "Message" 7 0

# this doesn't
whiptail --infobox "Message" 0 0

I have filed a bug report with this information. Considering how long this bug has been actively dismissed and ignored, I don't expect the newt team to even look at it. I really hope they do though. This is just one imperfect human's postion on the matter, of course.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @jcharaoui
  • Low reputation (1):
Posted by: theOtherLukeN

79447314

Date: 2025-02-18 06:38:18
Score: 2.5
Natty:
Report link

Another way that worked:

echo ${DOCKERHUB_PASSWORD} | docker login -u "$DOCKERHUB_USERNAME" --password-stdin

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

79447309

Date: 2025-02-18 06:35:17
Score: 4
Natty: 5
Report link

We have an application which server side is AIX and we download and install the application on Windows VM. When I migrate the application on the server side, and try to start the application on windows, the application update gets stuck and the error says this ERROR: org.eclipse.equinox.p2.artifact.repository code=0 Public key not found for 8074478291308066379.

How can I deal with this in this situation?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Amit Patil

79447304

Date: 2025-02-18 06:31:16
Score: 1
Natty:
Report link

From this question

The field names are available here. @SingleNegationElimination suggested making one, but it already exists:

SELECT name FROM PRAGMA_TABLE_INFO('your_table');
cid | name | type |...

Check if a certain column exists by querying:

SELECT 1 FROM PRAGMA_TABLE_INFO('your_table') WHERE name='column1';

So one could pull this into a list and verify each field is in the list. This seems bulletproof for preventing sql injections.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @SingleNegationElimination
  • Low reputation (0.5):
Posted by: David Lotts

79447296

Date: 2025-02-18 06:25:15
Score: 2
Natty:
Report link

Is the condition (f.water_utility*1.0 +) = facility_weighted correct ?

This might be the reason of query returned no rows.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is the
  • Low reputation (0.5):
Posted by: Jay Makhija

79447288

Date: 2025-02-18 06:21:14
Score: 1.5
Natty:
Report link

Someone who still struggles in 2025 here, no AI tools comes up with this answer, so hooray for Stackoverflow! :)

What worked directly was to create a new placeholder subscription (This really needs to be in your doc, Google, no shame admitting this).

Tried, but didn't work (at least directly):

Reasons:
  • Blacklisted phrase (1): Stackoverflow
  • No code block (0.5):
Posted by: Samuel Adam

79447287

Date: 2025-02-18 06:20:13
Score: 6 🚩
Natty: 4.5
Report link

Is it solved? I've encountered the same problem

Reasons:
  • RegEx Blacklisted phrase (1.5): solved?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is it solve
  • Low reputation (1):
Posted by: zhihua chen

79447279

Date: 2025-02-18 06:17:11
Score: 8.5 🚩
Natty:
Report link

Has anyone been able to solve this problem of LinkedIn 999 Non-standard. I am also facing the same problem.

Reasons:
  • RegEx Blacklisted phrase (3): Has anyone been
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rewriter Tools

79447278

Date: 2025-02-18 06:16:10
Score: 2
Natty:
Report link

I found an interesting hack to this by mistake. Just copy the column and paste it in a column in google sheet. I had opened an excel file from my drive using google sheet to work on it for this and it worked for both. SO i have been able to finally copy a whole column that that a formula which looked like =HYPERLINK(B2,TRIM(A2))

best kausik

Reasons:
  • Whitelisted phrase (-1): it worked
  • Contains signature (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: kausik

79447277

Date: 2025-02-18 06:16:10
Score: 2.5
Natty:
Report link

xsi:schemaLocation="http://www.hazelcast.com/schema/config
https://hazelcast.com/schema/config/hazelcast-config-5.3.xsd"

Use the Schema-URL.The latest version is 5.3 (or higher), as Hazelcast 3.x versions are outdated.

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

79447274

Date: 2025-02-18 06:15:10
Score: 3.5
Natty:
Report link

Donot use Content-Type, let browser decide correct Content Type

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

79447266

Date: 2025-02-18 06:06:08
Score: 1.5
Natty:
Report link

use ->change() method

$table->enum('type', ['mail', 'logo', 'theme'])->change();
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Saptarshi Dey

79447261

Date: 2025-02-18 06:04:06
Score: 7.5 🚩
Natty: 5.5
Report link

are you fixed this problem? and how ?

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed this problem?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: يوسف محمود

79447260

Date: 2025-02-18 06:02:06
Score: 2.5
Natty:
Report link

This model is acceptable and looks good. Here, slave would not recognise the Master (M1/M2) as there is a Gateway inbetween. But, it should not matter as the response goes to apprpriate master.

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

79447256

Date: 2025-02-18 06:00:05
Score: 2.5
Natty:
Report link

I am getting this every time I run the After Syncing files this is the first statement which will show up but it is not at all hindering the app's flow

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

79447254

Date: 2025-02-18 05:59:05
Score: 1
Natty:
Report link

Likely Tailwind does not generate the bg-gray-900/80 and bg-gray-900/50 utilities, because they do not occur in any of the files scanned by tailwind.

In tailwind.config.js, './node_modules/flowbite/**/*.js' should cause tailwindcss to process all js files in the Flowbite module. If your tailwind.config.js is not in the app root, you need to adjust the relative path to match.

In my own app, tailwind.config.js resides in config/, so mine looks like this: '../node_modules/flowbite/**/*.js' - note the .. at the beginning.

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

79447244

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

It sounds like you're dealing with a common issue when working with SSIS and Excel files, especially when there's a mix of 32-bit and 64-bit components. Let me break this down for you:

  1. Since you have Office 365 32-bit installed on your dev machine, you’ll need the 32-bit version of the Microsoft Access Database Engine. This is because SSIS needs to match the bitness of the Office installation to interact with Excel files properly.
  2. Installing the 32-bit Access Database Engine should resolve the error you're seeing during column mapping in Visual Studio.
  3. On the database server where the SSIS package will run, if the Office installation is 64-bit, you’ll need the 64-bit version of the Microsoft Access Database Engine. This ensures compatibility when the package is executed via SQL Server Agent.
  4. If the server has a 64-bit Office installation, the package should run in 64-bit mode without issues.
  5. Dev Machine: Install the 32-bit Access Database Engine to match your 32-bit Office installation.
  6. Database Server: Install the 64-bit Access Database Engine if the the server has a 64-bit Office installation.
  7. Package Execution: Ensure the Run64BitRuntime setting is correctly configured for development and deployment. On the server, it should be set to True if running in 64-bit mode.
  8. If you’re developing in Visual Studio 2022 (64-bit) but need to debug in 32-bit mode, you might need to adjust your project settings or use a 32-bit version of Visual Studio for debugging purposes.
  9. Double-check the bitness of the Access Database Engine installed on both the dev machine and the server to avoid mismatches.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abu Rahat Sabir

79447238

Date: 2025-02-18 05:49:03
Score: 3.5
Natty:
Report link

Set the jvm to the same as your sdk version

Set the sdk version in your project

Your sdk and jvm tool chain version should be the same. I got the error when I was trying to create a kotlin multiplatform project

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

79447234

Date: 2025-02-18 05:46:02
Score: 11.5
Natty: 8
Report link

@tashoyan HI!

After some time, how did you solve this problem?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve this problem
  • RegEx Blacklisted phrase (1.5): solve this problem?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @tashoyan
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Ivanov Ivan

79447224

Date: 2025-02-18 05:41:00
Score: 3
Natty:
Report link

Thumbnail files are stored separately from the files themselves. Whatever app you're using to view the folder, contents probably has a cached thumbnail that isn't refreshing

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

79447222

Date: 2025-02-18 05:41:00
Score: 3.5
Natty:
Report link

Try fetching without the 'country' property, is it presenting more/different results? Perhaps there is a known bug with that filter.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nir Gofman

79447217

Date: 2025-02-18 05:35:59
Score: 2.5
Natty:
Report link

gitlab_rails['allowed_hosts'] might be the issue. at least for me. as many of gitlab functions do need localhost services. they don't have explicit hostnames allocated. not sure but for someone it might help.

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

79447214

Date: 2025-02-18 05:32:59
Score: 2.5
Natty:
Report link

[Data error (cyclic redundancy check)1

after updating my android studio recently, my code started showing this.

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

79447207

Date: 2025-02-18 05:26:58
Score: 3.5
Natty:
Report link

but doesnt allow to set color of barLabel , i tried

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

79447205

Date: 2025-02-18 05:25:57
Score: 0.5
Natty:
Report link

mesibo's server doesn't know or care how your app was terminated (whether it was killed, crashed, force-stopped or simply is in background). If you have configured push credentials in the mesibo console (which I assume you have since you're receiving push in some cases), the server sends push notifications when it detects the user is offline - regardless of your app's state.

In general, mesibo or any server that sends push has no role after sending the push notification to FCM. After that, it's entirely up to FCM and your device's operating system to handle delivery. This is where you need to focus your troubleshooting.

You can use mesibo push webhook to troubleshoot whether mesibo sent push or not. mesibo does apply push rate limits to prevent your apps from getting throttled by FCM or APN and resets rate limits after the user is online. Alternatively, try with your own custom script bypassing mesibo.

Refer to the mesibo push troubleshooting guide here: https://docs.mesibo.com/api/push-notifications/troubleshooting/ If you are using mesibo on-premise, view console logs for push results.

The most important thing is to ensure that after push is received, your app remains active while the push is being processed. If not, your app received push and before it can act upon it, the OS puts it back to sleep - which is as good as if the push was not received. This is likely what's happening when the app is killed.

Here are various approaches to keep your app awake after receiving push, for example,

  1. JobIntentService (deprecated in Android 12): mesibo uses this in Android messenger app https://github.com/mesibo/messenger-app-android/blob/master/app/src/main/java/org/mesibo/messenger/fcm/MesiboGcmListenerService.java

    https://github.com/mesibo/messenger-app-android/blob/master/app/src/main/java/org/mesibo/messenger/fcm/MesiboJobIntentService.java

  2. WorkManager which is a replacement for JobIntentService

  3. Start a foreground service

  4. Use WakeLocks to keep device awake while processing push

You can research them and use whichever is suitable for your needs.

Remember, there are various factors that can prevent delivery when an app is killed. Many Android manufacturers (particularly Xiaomi, Huawei, Samsung, etc.) implement aggressive battery saving features that can block FCM messages when an app is not running. You can cross-check with other apps to see if they have the same issue. However, testing push notifications during development can be tricky due to rate limits. Even standard Android has battery optimization features that can affect push delivery.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): have the same issue
  • High reputation (-1):
Posted by: mesibo