79136155

Date: 2024-10-29 07:18:30
Score: 1.5
Natty:
Report link

To easily generate a random character A-Z as desire length:

$letters = range("A", "Z");
shuffle($letters);

echo "{$letters[0]}{$letters[1]}"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Set Ran N.

79136150

Date: 2024-10-29 07:17:30
Score: 4
Natty:
Report link

"@opentelemetry/exporter-prometheus": "^0.54.0" seems to solve the issue.

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

79136148

Date: 2024-10-29 07:17:30
Score: 1
Natty:
Report link

Thanks for the other solutions

I make a new one:

function extractString(sperator, str, limit = -1) {
  const parts = str.split(sperator);

  if (parts.length <= limit) {
    return parts;
  }

  return [
    ...parts.slice(0, limit - 1),
    parts.slice(limit - 1, parts.length).join(';'),
  ];
}

const str = 'name;price;content ; content 2 ; content3';

console.log(extractString(';', str, 3));
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Will

79136144

Date: 2024-10-29 07:15:29
Score: 1
Natty:
Report link

In my case I have to add three periods (...) before on, something like:

query getOrderType($userId: String!) {
  getOrderType(userId: $userId) {
    ... on DeliveryType {
       delivery
       deliveryStreetNumberId
       pickupLocationId
    }
    storeId
  }
}

Doc: https://www.apollographql.com/docs/apollo-server/schema/unions-interfaces#querying-a-union

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

79136133

Date: 2024-10-29 07:11:28
Score: 2.5
Natty:
Report link

install rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: happy

79136131

Date: 2024-10-29 07:11:28
Score: 1.5
Natty:
Report link

Thanks to Zhenning Zhang's answer this is how I have modified my function:

In ConsoleUtils.cpp:

void fastType(const std::string& text, int delay)
{
    timeBeginPeriod(1);

    for (char c : text)
    {
        std::cout << c;
        Sleep(delay);
    }

    timeEndPeriod(1);
}

In ConsoleUtils.h:

void fastType(const std::string& text, int delay = 2);

In Main.cpp:

fastType("This is would be a paragraph of text with a delay of 2ms");

The above works perfectly for my intended use.

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

79136128

Date: 2024-10-29 07:08:27
Score: 4
Natty:
Report link

GUI like redis Insight also show it.

enter image description here

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

79136114

Date: 2024-10-29 07:04:25
Score: 3.5
Natty:
Report link

Check the template type. If its a marketing template then it has various policies. Use utility template if you need to send any updates or something.

Reasons:
  • RegEx Blacklisted phrase (0.5): any updates
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Himanshu Parihar

79136109

Date: 2024-10-29 07:01:25
Score: 0.5
Natty:
Report link

From https://www.php.net/manual/en/function.register-shutdown-function.php

If you call exit() within one registered shutdown function, processing will stop completely and no other registered shutdown functions will be called.

Add a new handler to the very top of the code with the code:

exit();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vitaly

79136106

Date: 2024-10-29 07:01:25
Score: 5
Natty: 4.5
Report link

Thanks for the genious reverse engineering and solution @Thomas Hilbert. Also thanks @Mo enen for the correct event.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Thomas
  • Single line (0.5):
  • Low reputation (1):
Posted by: kostas petsis

79136104

Date: 2024-10-29 07:00:24
Score: 2
Natty:
Report link

Below steps work for me 1)Check your accessing url and changes https into http 2) Add the code beofore request System.Net.ServicePointManager.SecurityProtocol = System.Net.SecurityProtocolType.Tls12;

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

79136101

Date: 2024-10-29 06:59:24
Score: 3.5
Natty:
Report link

GX made a fix, so updating to 0.18.22 version will resolve this issue.

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

79136098

Date: 2024-10-29 06:59:24
Score: 1.5
Natty:
Report link
import { h } from 'vue'    
 formatter(row, column, cellValue, index) {
    return h('span', {class : 'bg-cyan-400 p-2 rounded' } ,cellValue)
}, 

My solution here

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

79136097

Date: 2024-10-29 06:58:24
Score: 1
Natty:
Report link

Wise up, yes AWS credits basically do function seamlessly. Amazon credits are applied on your account accordingly and so your charges of billing should come down where you have credits to your accounts. It’s especially useful if you’re new to AWS or expanding and need to cut back on expenses. Similarly, for start-ups, AWS Activate credits free can be highly advantageous to fund those early costs which you do not have to pay from your own pocket, at least initially. Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joseph Bruno

79136093

Date: 2024-10-29 06:56:23
Score: 2
Natty:
Report link

Tracing requirements through each stage of the Software Development Life Cycle (SDLC) – from requirement gathering, design, coding, and testing to deployment – ensures that every detail is accounted for, reducing the risk of misaligned outcomes. In New Delhi, Delhi NCR, India, software teams leverage tools like Rational RequisitePro to facilitate end-to-end traceability, streamlining development and boosting project success.

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

79136092

Date: 2024-10-29 06:56:23
Score: 1
Natty:
Report link

The error is caused by find_package looking into SDL directory in my project root directory.

The error message reviles the solution by itself, I had to set CMAKE_PREFIX_PATH to point find_package to the correct SDL build

set(CMAKE_PREFIX_PATH "${CMAKE_BINARY_DIR}/sdl" ${CMAKE_PREFIX_PATH})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: siery

79136090

Date: 2024-10-29 06:56:23
Score: 3.5
Natty:
Report link

Just execute npm install npm@latest -g and then create new app

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

79136075

Date: 2024-10-29 06:50:22
Score: 3.5
Natty:
Report link

PS C:\Users\m-one\comiendoEX> npm install express --save

npm error code ENOTFOUND npm error syscall getaddrinfo npm error errno ENOTFOUND npm error network request to https://registry.npmjs.org/express failed, reason: getaddrinfo ENOTFOUND myproxy.example.com npm error network This is a problem related to network connectivity. npm error network In most cases you are behind a proxy or have bad network settings. npm error network npm error network If you are behind a proxy, please make sure that the npm error network 'proxy' config is set properly. See: 'npm help config' npm error A complete log of this run can be found in: C:\Users\m-one\AppData\Local\npm-cache_logs\2024-10-29T06_33_34_549Z-debug-0.log como solucionar este error

Reasons:
  • Blacklisted phrase (2.5): solucion
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gleimer

79136065

Date: 2024-10-29 06:46:21
Score: 1.5
Natty:
Report link

I have upgraded cassandra 3.x to Cassandra unit 4.3.1.0. and datastax driver version 3.11.5. In test class I use EmbeddedCassandraServerHelper to connect to database. When doing this after upgrade EmbeddedCassandraServerHelper.getSession() is giving CqlSession ,not able to get com.datastax.driver.core.Session to execute queries

How to resolve this issue

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

79136064

Date: 2024-10-29 06:43:20
Score: 1
Natty:
Report link

using this command in terminal can show you the history of commands

history

maybe you can find the whole history in your .zsh_history or .bash_history?

if you can't display the history of commands by using this command,you may need reset the bash config file.

like ~/.zshrc includes

HISTSIZE=1000
SAVEHIST=2000
HISTFILE=~/.zsh_history

reload file:

source ~/.zshrc
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: vac chou

79136060

Date: 2024-10-29 06:41:19
Score: 3.5
Natty:
Report link

Thanks, that's help a lot. I met the same issue, when I upgraded clion to 2024.2.2.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: yuan fang

79136058

Date: 2024-10-29 06:40:19
Score: 0.5
Natty:
Report link

WSO2 API manager is independent of OS packages. So there shouldn't be a problem when upgrading the OS packages. But as you have mentioned, better to do this in a testing environment and proceed.

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

79136056

Date: 2024-10-29 06:39:19
Score: 3
Natty:
Report link

by the way i dont think the python dictionaries has a natural order for this, you can by the way only sort them by the strength of each using the sorted() function + key

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

79136053

Date: 2024-10-29 06:37:19
Score: 1
Natty:
Report link

You have to do a role mapping when you configure the external IDP. This will map a claim coming from the external IDP to a local role (say test-role). See the section 'Add the following role mapping under the Role Configuration section:' in [1]

[1] https://apim.docs.wso2.com/en/latest/install-and-setup/setup/sso/configuring-identity-server-as-external-idp-using-oidc/#configure-the-api-manager

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Chamila Adhikarinayake

79136051

Date: 2024-10-29 06:36:18
Score: 1
Natty:
Report link

I encountered this issue due to the network restrictions and rules set by our organization, along with VPN limitations. Because of these restrictions, the intent will not work on your emulator or device with HTTPS in the browser. I tried alternative methods to resolve it, but the solution is to raise a support ticket and contact the IT team. They can grant the necessary permissions, which should resolve the issue.

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AmirZubairButt

79136045

Date: 2024-10-29 06:35:18
Score: 1.5
Natty:
Report link

Just use "?", so if there's value it will return otherwise you will not get null value error.

const sodas = Number(document.querySelector('input[name = soda]:checked')?.value);
console.log(sodas);

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Usama Kayani

79136042

Date: 2024-10-29 06:34:16
Score: 8 🚩
Natty: 5
Report link

hi sir I have the same problem with dompdf version 3.0.0 but I cant find this dompdf/include/text_renderer.cls.php file can any help me

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): any help
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: abdulrahman

79136041

Date: 2024-10-29 06:33:15
Score: 4.5
Natty:
Report link

Blockchain Customer Care: Where Crypto Knowledge Meets Expert Guidance

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

79136038

Date: 2024-10-29 06:33:15
Score: 0.5
Natty:
Report link

You can try with:

export default defineConfig(({ mode }) => {
  return {
    // other configuration
    esbuild: {
      pure: mode === 'production' ? ['console.log'] : [],
    }
  }
}

Came from github issue

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

79136037

Date: 2024-10-29 06:32:15
Score: 4.5
Natty: 4.5
Report link

https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/inference#python_2

See sample code here. Just need mimetype and URI.

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

79136034

Date: 2024-10-29 06:32:14
Score: 3
Natty:
Report link

A lot of things can result to this particular issue, but the few things you should look into is; API Gateway, App Configuration, Network Configuration, Base URL

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

79136027

Date: 2024-10-29 06:28:14
Score: 2.5
Natty:
Report link

Here You can check the document for setstate, and after setstate if you use bool to change then UI won't change but value of variable get changed.

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

79136025

Date: 2024-10-29 06:27:14
Score: 3
Natty:
Report link

@Maciejg, thanks for your last reply. I was once told that it's not common for topic starters to answer their topics that way, that's why.

The code I use now is:

let $referenceDate := xs:date("2024-01-01")
let $daysInWeek := 7
let $startDate := fn:current-date()
let $endDate := xs:date($temp.t_laatsteLeverDatum) (: or $temp.t_dateRequestedJDE :)

return if (
    fn:sum(
        for $i in 0 to fn:days-from-duration($endDate - $startDate)
        let $currentDate := $startDate + xs:dayTimeDuration(concat('P', $i, 'D'))
        let $daysSinceReference := fn:days-from-duration($currentDate - $referenceDate)
        let $dayOfWeek := (1 + ($daysSinceReference mod $daysInWeek)) (: Convert to 1=Monday, ..., 7=Sunday :)
        return if ($dayOfWeek >= 1 and $dayOfWeek <= 5) then 1 else 0
    ) <= 3
) then 1 else 0

This code gave the expected 9 instead of 5. Unfortunately the simpler function fn:day-of-week() was not available in the environment I am working in.

Thanks for thinking along and your reactions and kind regards,

Aad

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Maciejg
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aad Dijksman

79136005

Date: 2024-10-29 06:17:12
Score: 1
Natty:
Report link

If you are using Ubuntu, try to start with 'sudo'

like pull something:

   sudo docker pull hello-world
   sudo docker pull...

like build something:

   sudo docker-compose -f xxxx.yaml
   sudo docker-compose ... 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: tamding dojee

79135994

Date: 2024-10-29 06:12:11
Score: 3
Natty:
Report link

Open ~/.config/pulse/<instance_id>-default.source with an editor and change the source value to virtual_mic.

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

79135970

Date: 2024-10-29 06:00:08
Score: 3
Natty:
Report link

I have this same issue. It simply clears the username and password and says that a username and password are required.

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

79135967

Date: 2024-10-29 06:00:06
Score: 7 🚩
Natty: 6
Report link

@derHugo How to reverse trail redener when collion with wall ?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @derHugo
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: NaMy

79135964

Date: 2024-10-29 05:58:05
Score: 2
Natty:
Report link

Sever Name on both informix server must be different.

I faced same problem. Then i noticed that in my case server name for both informix server was same. I changed the server name on one of the informix server and its work for me.

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

79135963

Date: 2024-10-29 05:58:05
Score: 2
Natty:
Report link

I was looking for cloud backup methods, but Google cloud storage provides soft delete (protection) feature. The max-soft-delete policy is 90 days. https://cloud.google.com/storage/docs/soft-delete

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

79135940

Date: 2024-10-29 05:47:03
Score: 3
Natty:
Report link

Select "Do reintegrate instead of automatic merge (old style)" in the Merge Options window on the SVN GUI.

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

79135935

Date: 2024-10-29 05:43:02
Score: 4.5
Natty: 4
Report link

The system won't let me comment because I'm a new user. So submitting an answer to comment about the post.

  1. This helped me a lot.
  2. I looked for information about using right-click, Text Document to make a .txt file in File Explorer. The problem was the default setup would disappear sometimes.
  3. Your post gives me a more reliable solution. Generic is ok.
Reasons:
  • Blacklisted phrase (1): to comment
  • Blacklisted phrase (1): helped me a lot
  • RegEx Blacklisted phrase (1): won't let me comment
  • No code block (0.5):
  • Low reputation (1):
Posted by: Arthur Hebert

79135926

Date: 2024-10-29 05:39:01
Score: 4
Natty:
Report link

If I'm understanding correctly, you are using this package:

https://jwt-auth.readthedocs.io/en/stable/quick-start/

Here, you can see the modifications to the User model, I can't see if you did that. Also did you configure auth.php to use the jwt driver for api guard?

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

79135918

Date: 2024-10-29 05:31:59
Score: 1.5
Natty:
Report link

To continue with the general zero widht scrollbar, I overrode the css for textareas by adding:

textarea::-webkit-scrollbar {
    width: 1rem;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Benjamin James

79135916

Date: 2024-10-29 05:31:59
Score: 3
Natty:
Report link

Delete build folder worked for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amol Chavan

79135904

Date: 2024-10-29 05:23:58
Score: 3.5
Natty:
Report link

You should research Contract Proxy, it can do it

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tran Van Huynh Pho

79135903

Date: 2024-10-29 05:21:57
Score: 0.5
Natty:
Report link

showTabbar() {
double? tabHeight;

return StatefulBuilder(builder: (context, setState) {
  if (tabHeight == null) {
    WidgetsBinding.instance.addPostFrameCallback((_) {
      Future.delayed(Duration(milliseconds: 200)).then((_) {
        setState(() {
          tabHeight = tabKey.currentContext!.size!.height;
        });
      });
    });
  }
  return DefaultTabController(
    length: detailTabs.length,
    child: Column(
      children: [
        TabBar(
          ...
        ),
        TabBarView(
          physics: NeverScrollableScrollPhysics(),
          children: [
             showDetailTab(),
          ],
        ),
      ],
    )
  );
});

}

showDetailTab() { return SingleChildScrollView( physics: NeverScrollableScrollPhysics(), child: ListView( key: tabKey, shrinkWrap: true, physics: NeverScrollableScrollPhysics(), children: [ ... ], ), ); }

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

79135902

Date: 2024-10-29 05:21:57
Score: 3
Natty:
Report link

I am attempting to pass user_id along with the client ID. But this doesnt seem to be working for me.

When i remove the User_id and just pass a client ID i can find the event available in real time reports and in a few days avaialble in events page. But when i add the User_Id this is not getting populated.

What could be the issue?

    {
    "client_id": "1494455746.1729597931",
"user_id": "4a31cbb0-2d2c-4fe5-9d8e-c72d7db32ce7",
    "events": [
        {
        "name": "test_senario_5",
        "params": {
            "segment_sync_date": "2024-09-09",
            
            "debug_mode": true
        }
        }
    ]
    }
Reasons:
  • Blacklisted phrase (1): What could be
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Bala Murali

79135892

Date: 2024-10-29 05:15:56
Score: 3
Natty:
Report link

Go to TERATERM.INI file, it should be in the same folder as teraterm, it has a default baud rate and default COM port setting, just change it to what ever you like.

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

79135889

Date: 2024-10-29 05:14:53
Score: 8.5 🚩
Natty: 6.5
Report link

www.trust-reality.in Who is the owner of this in Gurgaon? Please tell me

Reasons:
  • RegEx Blacklisted phrase (2.5): Please tell me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Who is the
  • Low reputation (1):
Posted by: Rohit Chauhan

79135880

Date: 2024-10-29 05:08:52
Score: 2.5
Natty:
Report link

Better check with https://www.w3.org/standards/.

W3schools.com is not recommended and outdated.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Naeem Akhtar

79135856

Date: 2024-10-29 04:50:49
Score: 2.5
Natty:
Report link

I reinstalled my windows. After this i could not open my jupyter notebook. Doing this solved my problem : Create a New Environment:

If you are facing issues with a specific environment, try creating a new one: bash

conda create -n myenv python=3.10 conda activate myenv conda install jupyter

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

79135836

Date: 2024-10-29 04:33:45
Score: 0.5
Natty:
Report link

In the code you posted, you have

<c-tooltip enabled="true" filter={myCustomTooltipFunction}></c-tooltip>

but the documentation says that filter is used to select only some of items of the tooltip, while the function that should be used to change the label is labelCallback, so it should be:

<c-tooltip enabled="true" labelCallback={myCustomTooltipFunction}></c-tooltip>

The documentation also includes an example of that function being used, see this link.

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): see this link
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: kikon

79135830

Date: 2024-10-29 04:30:44
Score: 2
Natty:
Report link

I respectfully disagree with this analysis. You cannot use an integral to reduce a sum of discrete numbers. Additionally, the number of tracks is N, therefore the sum has to run either from 1 to N or from 0 to N-1, and not from 0 to N as in the derivation (this would work for N+1 track). As a counter example, consider a disk with 3 tracks. The average seek time if you are on track 0 is 1 (assuming a uniform distribution for computing the average). If you are on track 1, the average is 2/3. Track 3 is likewise 1. Summing this up for all tracks and dividing by 3 will yield 8/9 which is less than 1/3 of the number of tracks. If you try 4 tracks, you get an average of 1.25 (4/3 = 1.33). The inaccuracy is due to the use of integration which computes the area under a curve instead of computing the sum of discrete values, and for integrating over N+1 tracks instead of N.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mootaz Elnozahy

79135828

Date: 2024-10-29 04:30:44
Score: 1
Natty:
Report link

No, it is using the quic transport protocol on 443 for this specific purpose:

_443._quic.example.com. 300 IN TLSA 1 0 1 HASH...

Obviously, substitute all the other bits [example.com, TTL and the various usage, selector, and matching-type to suit.

This might be a useful tool for you, though, if you haven't found the answer in 6 years and 4 months...anyway, so that people who come here can find an answer to it, I thought I'd add something here! I noticed it came up first in a web search on the topic.

https://www.tlsagenerator.com/

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

79135823

Date: 2024-10-29 04:26:44
Score: 2
Natty:
Report link

To build an image classification model for pet food, start by collecting a dataset of labeled images, categorized by type and species (e.g., dog, cat, wet, dry). Preprocess the images by resizing, normalizing, and augmenting them for better model generalization. Use a Convolutional Neural Network (CNN) like Reset or Mobile Net, and fine-tune it with this dataset. Learn More...

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

79135822

Date: 2024-10-29 04:26:43
Score: 4
Natty:
Report link

Just use 100dvh, instead of 100vh

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

79135817

Date: 2024-10-29 04:20:42
Score: 1
Natty:
Report link

Try to Wrap indicator widget with Obx

Obx(()=> IndicatorWidget())

I think it didn't update because i didn't see Obx in your code maybe that why it didn't observe

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

79135813

Date: 2024-10-29 04:18:42
Score: 1.5
Natty:
Report link

To render view in React Native for iOS, we use the SafeAreaView component.

SafeAreaView renders nested content and automatically applies padding to reflect the portion of the view that is not covered by navigation bars, tab bars, toolbars, and other ancestor views.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Pratik Prakash Bindage

79135798

Date: 2024-10-29 04:03:40
Score: 1
Natty:
Report link

TL;DR: change the test struct to a class.

My source is from the Apple documentation on Swift Testing, which makes that suggestion here: "If teardown is needed, declare your test suite as a class or as an actor rather than as a structure and implement deinit".

Bonus: if you don't need inheritance, then adding final for compiler optimization is a good idea (see this Stackoverflow answer explaining why).

So, the only change I made was in my @Suite line doing just that.

Before:

@Suite("Single Quote View Model Tests") struct SingleQuoteViewModel_Tests {

After (Fixed):

@Suite("Single Quote View Model Tests") final class SingleQuoteViewModel_Tests {

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

79135793

Date: 2024-10-29 04:02:39
Score: 2.5
Natty:
Report link

If its in excel format I think you should use some command similar to this pd.read_xlsx('filename'). if that doens't work maybe try passing in the path of the csv file. Make sure its in the same directory as the project.

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

79135792

Date: 2024-10-29 03:58:39
Score: 0.5
Natty:
Report link

Don’t go with @ExceptionHandler. It would become problematic for other custom expectations in future.

For your problem I would create

Create a Custom Exception:

public class CustomRestClientException extends RestClientException {
private final String requestUrl;

public CustomRestClientException(String message, Throwable cause, String requestUrl) {
    super(message, cause);
    this.requestUrl = requestUrl;
}

public String getRequestUrl() {
    return requestUrl;
} }

Add an Interceptor:

public class RestClientInterceptor implements ClientHttpRequestInterceptor {
@Override
public ClientHttpResponse intercept(HttpRequest request, byte[] body, ClientHttpRequestExecution execution) throws IOException {
    try {
        return execution.execute(request, body);
    } catch (RestClientException e) {
        throw new CustomRestClientException("External Reqyest Exception", e, request.getURI().toString());
    }
}}

Configure Your RestTemplate:

RestTemplate restTemplate = new RestTemplate();
restTemplate.getInterceptors().add(new RestClientInterceptor());
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @ExceptionHandler
  • Low reputation (1):
Posted by: dheeraj reddy

79135790

Date: 2024-10-29 03:58:39
Score: 0.5
Natty:
Report link

In Android 10+, scoped storage restricts general access to shared directories which includes "download" directory. You can use app specific external directory access (Android/data/) instead. If access to download directory without user action is absolutely necessary for your app, you'll need All Files Access (MANAGE_EXTERNAL_STORAGE) permission. But Google Play requires apps to have a justifiable reason for requesting All Files Access. Otherwise your app will be rejected

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user27894462

79135786

Date: 2024-10-29 03:56:38
Score: 3
Natty:
Report link

it's very simple go to Android studio setting search for k2 then uncheck . because it's still in beta version .

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

79135769

Date: 2024-10-29 03:41:34
Score: 2.5
Natty:
Report link

After reviewing the results of ViewCompat.setOnApplyWindowInsetsListener, I found that when the SDK is below 30, the pixel values you receive cannot be used directly and need to be converted to DP. However, for SDK 30 and above, these values can be used as DP directly.

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

79135764

Date: 2024-10-29 03:38:34
Score: 0.5
Natty:
Report link

Thanks for the example code. I found the issue with the multiple rectangles depends on how the differences are found. Basically there will be two points initially that aren't close enough to join but at some point one of the boxes will grow large enough that they could have. I found the easiest way to manage this is by cleaning up any intersecting boundaries at the end. I also found that I had less of these artifacts by scanning horizontally instead of vertically because I was comparing human text.

//Reduce intersecting rectangles
boolean fixed = true;
while(fixed) {
    fixed = false;
    for(int i = 0; i < regions.size(); i++){
        for(int j = i+1; j < regions.size(); j++){
            if(regions.get(i).intersects(regions.get(j))) {
                regions.get(j).add(regions.get(i));
                regions.remove(i--);
                fixed = true;
                break;
            }
        }
    }
}

I modified the original code to simplify it a bit.

public static void compareImages() throws IOException {
    BufferedImage img1 = ImageIO.read(new File(path_to_img1));
    BufferedImage img2 = ImageIO.read(new File(path_to_img2));
    BufferedImage dest = new BufferedImage(img1.getWidth(), img1.getHeight(), BufferedImage.TYPE_INT_ARGB);
    
    Graphics2D gfx = dest.createGraphics();
    try {
        gfx.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 0.65f));

        //Compare Images pixel by pixel
        List<Rectangle> regions = new ArrayList<>();
        int tolerance = 20;

        for (int j = 0; j < img1.getWidth(); j++) {
            pixelLoop: for (int i = 0; i < img1.getHeight(); i++) {
                int img1rgb = img1.getRGB(j, i);
                int img2rgb = img2.getRGB(j, i);
                if(img1rgb != img2rgb) {
                    for(Rectangle region : regions){
                        //Attempting to locate a matching existing Region
                        Rectangle tmp_comparison = new Rectangle(j-tolerance, i-tolerance, 2*tolerance, 2*tolerance);
                        if (tmp_comparison.intersects(region)) {
                            region.add(new Rectangle(j, i, 1, 1));
                            continue pixelLoop;
                        }
                    }
                    
                    regions.add(new Rectangle(j, i, 1, 1));
                }
            }
        }
        
        //Reduce intersecting rectangles
        boolean fixed = true;
        while(fixed) {
            fixed = false;
            for(int i = 0; i < regions.size(); i++){
                for(int j = i+1; j < regions.size(); j++){
                    if(regions.get(i).intersects(regions.get(j))) {
                        regions.get(j).add(regions.get(i));
                        regions.remove(i--);
                        fixed = true;
                        break;
                    }
                }
            }
        }
        
        gfx.drawImage(img1, 0, 0, null);
        gfx.drawImage(img2, 0, 0, null);
        
        gfx.setComposite(AlphaComposite.getInstance(AlphaComposite.SRC_OVER, 1f));
        gfx.setPaint(Color.red);
        
        if(!regions.isEmpty()) {
            // If there are any differences, draw the Regions
            // Regions are 10px bigger in all directions as compared to the actual rectangles of difference
            for (Rectangle region : regions) {
                region.add(new Rectangle2D.Double(region.getX()-10, region.getY()-10, region.getWidth()+20, region.getHeight()+20));
                gfx.draw(new Rectangle2D.Double(region.getX() >= 0 ? region.getX() : 0, region.getY() >= 0 ? region.getY() : 0, Math.min(img1.getWidth(), region.getWidth()), Math.min(img1.getHeight(), region.getHeight())));
            }
            
            File out = new File("C:\\output.png");
            ImageIO.write(dest, "PNG", out);
        }
        
    } finally {
        gfx.dispose();
    }
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Luke

79135763

Date: 2024-10-29 03:38:33
Score: 5
Natty:
Report link

im very new to this sql thing but i just changed my port from 3306 to 3307 and its works

Reasons:
  • RegEx Blacklisted phrase (1.5): im very new
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hu2s3y

79135761

Date: 2024-10-29 03:37:33
Score: 2.5
Natty:
Report link

I finally found a solution.

 <AgGridVue rowBuffer={0} />
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: link

79135753

Date: 2024-10-29 03:34:33
Score: 2
Natty:
Report link

From what I can see, the problem has nothing to do with Django, but that your example is not a valid quoted-printable encoding.

[...], may be represented by an "=" followed by a two digit hexadecimal representation of the octet's value. The digits of the hexadecimal alphabet, for this purpose, are "0123456789ABCDEF". [...]

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alexander Lazarević

79135743

Date: 2024-10-29 03:25:31
Score: 0.5
Natty:
Report link

After my test, you need to initialize this tool first, just double-click the following:

enter image description here Then enter the C# Interactive window. It is wrong to directly use the Process.Start("ping") command. You need to use the following code in the C# Interactive window:

var startInfo = new ProcessStartInfo
{
   FileName = "ping",
   Arguments = "",
   RedirectStandardOutput = true,
   UseShellExecute = false,
   CreateNoWindow = true,
};
 
using (var process = Process.Start(startInfo))
{
   using (var reader = process.StandardOutput)
   {
       string result = reader.ReadToEnd();
       Console.WriteLine(result);
   }
}

This will achieve what you want:

enter image description here

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

79135739

Date: 2024-10-29 03:20:30
Score: 1
Natty:
Report link

When freezing Python codes with modules like pyinstaller or aut_py_to_exe, there are possibilities that some modules might not work as they specifically require certain functions from the Interpreter.

As @Aaron mentioned, putting the multiprocessing.freeze_support() will do.

But sometimes, the freeze_support() might have to be put before import as specified by pyinstaller's documentation:

This might be necessary if your script imports a module that does one of the following during its initialization (i.e., when it is imported):

  • makes use of multiprocessing functionality.
  • parses command-line arguments for your program.
  • imports and initializes a GUI framework. While this might not result in an error, it should be avoided in the worker processes by diverting the program flow before it happens.

They provided a detailed explanation of the multiprocessing module with freezing codes; You can get much information from it.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Aaron
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: hokwanhung

79135732

Date: 2024-10-29 03:16:29
Score: 2
Natty:
Report link

Both the following code will return the file name with extension but does not include the full directory path of the file on the client.

string filename = System.IO.Path.GetFileName(FileUpload1.PostedFile.FileName);

string filename = FileUpload1.FileName;

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: TAN YEW MENG

79135728

Date: 2024-10-29 03:14:29
Score: 2.5
Natty:
Report link

I’ve been using Unibee.dev lately, and it’s a great open-source billing option for handling scenarios like this. One thing I appreciate is how easy it makes setting up pro-rated billing on a fixed monthly date, even if customers join mid-cycle. It keeps everything consolidated to a single billing day each month, which has simplified things a lot on my end.

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

79135722

Date: 2024-10-29 03:09:28
Score: 0.5
Natty:
Report link

Testing with https://json-everything.net/json-path/, the following expression works with the above JSON example. Split across multiple lines for clarity:

$[?    (@.type=="Conveyor - Single Item" || @.type=="Conveyor - Accumulating") 
       && 
       @["Downstream Device"][?search(@.value, SEARCH_STRING)] 

  ||   @.type=="Shuttle" 
       && 
       @["Locations"][*]["Downstream Device"][?search(@.value, SEARCH_STRING)]
]
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Cliff Pennalligen

79135719

Date: 2024-10-29 03:07:27
Score: 2
Natty:
Report link

If you found this error from a Cloudflare build, sometimes its because Cloudflare is using a newer yarn version and setting YARN_VERSION in your environment resolves the error. This is what resolved the error for me

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

79135710

Date: 2024-10-29 03:01:24
Score: 6.5 🚩
Natty:
Report link

Please change the xpath selector to class selector as documented in the selenium newest documentation. I have the same error and that solved my problem <3

Reasons:
  • RegEx Blacklisted phrase (1): I have the same error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: sjxlk nzkflsls

79135709

Date: 2024-10-29 03:00:23
Score: 1.5
Natty:
Report link

CAPABILITY_IAM - is used to create a role in Cloudformation that will be given an auto-generated role name.

CAPABILITY_NAMED_IAM - is used to create a role in Cloudformation with a custom name that you will provide.

Additional CAPABILITY_AUTO_EXPAND - is used for Cloudformation templates that have macros or nesting, It grants CloudFormation permission to automatically expand certain resources and macros, which allows for dynamic creation and management of nested stacks

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

79135708

Date: 2024-10-29 03:00:23
Score: 0.5
Natty:
Report link

No, trial_period_days isn't a valid param in price creation request. Since you are using Stripe Checkout, you should check your code for checkout session creation and see if either trial_period_days or trial_end is set.

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

79135706

Date: 2024-10-29 02:59:23
Score: 3
Natty:
Report link

I found changing "Dynamic Global Illumination Method" and "Reflection Method" in project settings to None helped.

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

79135704

Date: 2024-10-29 02:55:22
Score: 3.5
Natty:
Report link

whne you use IdentityDbContext while using Microsoft.AspNetCore.Identity.EntityFrameworkCore;

add this line of code

enter image description here

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

79135701

Date: 2024-10-29 02:54:22
Score: 0.5
Natty:
Report link

To set it to be able to go to the middle or set the text in the Select2 box, just add this style

<style>
.select2-selection__rendered {
  margin: 10px;
}
</style>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: GigaTera

79135679

Date: 2024-10-29 02:39:19
Score: 2.5
Natty:
Report link

I don't think we can do that in Power BI.

Here is a workaround for you.

Turn off Text wrap

enter image description here

Then click the column right slide and slowly move to left to hide the columns

enter image description here

enter image description here

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

79135678

Date: 2024-10-29 02:38:19
Score: 2.5
Natty:
Report link

The problem may be that since there are two installer options displayed on the MySQL website, you might have downloaded the smaller package which usually gives these errors. Try the other installer that will be on that same page and let me know if it helps.

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

79135668

Date: 2024-10-29 02:33:18
Score: 1
Natty:
Report link

Update: found the solution. I pass the outletData in Root component to the following function that loops through all the inner objects until reaching the bottom and that's where the name of the child component rendered in Outlet is specified:

export const getOutletChildName = (outletData) => {
    let childName;

    if (outletData.hasOwnProperty('props') && outletData.props.hasOwnProperty('children')) {
        return getOutletChildName(outletData.props.children);
    } else {
        childName = outletData.type.name;
    }

    return childName;
}

and now as I have the name of the component I can further work on permissions logic and then render either Outlet or some default "Not allowed" component. Thanks everyone who looked into this issue and I hope my solution can help somebody.

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

79135665

Date: 2024-10-29 02:30:13
Score: 7 🚩
Natty: 5.5
Report link

if it is in file system how to troubleshoot it please guide me

Reasons:
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2.5): please guide me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rajith Bhargav

79135664

Date: 2024-10-29 02:30:10
Score: 6 🚩
Natty:
Report link

I have spec file which has analysis as follows:

# Generate Analysis and EXE objects for each script
analyses = []
exes = []

for script in script_names:
    analysis, exe = create_analysis_exe(script)
    analyses.append(analysis)
    exes.append(exe)

# Combine binaries and datas from all analyses to avoid duplication
all_binaries = []
all_zipfiles = []
all_datas = []

for analysis in analyses:
    all_binaries += analysis.binaries
    all_zipfiles += analysis.zipfiles
    all_datas += analysis.datas

and I am using collect as follows:

coll = COLLECT(
    *exes,  # Add all EXEs
    all_binaries,
    all_zipfiles,
    all_datas,
    strip=False,
    upx=True,
    name='_global'  # Adjust output name as needed
)

but somehow it's overwriting some dependencies information i think, which is why the exe's don't work as they should.

If i create exes with separate spec file, i get individual exe and it's dependencies folder. I am looking for a way to have a single dependencies folder as mentioned above.

Can someone please suggest a way to achieve this or let me know if it is not doable at all?

Reasons:
  • Blacklisted phrase (2): I am looking for
  • RegEx Blacklisted phrase (2.5): Can someone please suggest
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Renu

79135662

Date: 2024-10-29 02:29:09
Score: 0.5
Natty:
Report link
from elasticsearch import Elasticsearch

es = Elasticsearch(
    "https://localhost:9200", 
    basic_auth=('elastic', 'changeme'), 
    ca_certs="/path/to/cert/ca.crt", 
    verify_certs=True)

print(es.indices.get(index="_all"))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: happy

79135593

Date: 2024-10-29 02:09:05
Score: 4
Natty:
Report link

I have Updated the packed in the file, and it worked

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hammad

79135592

Date: 2024-10-29 02:08:05
Score: 2
Natty:
Report link

You have to these steps:

  1. Check the Endpoint:Ensure you have a /authenticate endpoint in your controller that uses AuthenticationManager to authenticate users. For example:

    @PostMapping("/authenticate") public ResponseEntity<?> createAuthenticationToken(@RequestBody AuthRequest authRequest) throws Exception { authenticationManager.authenticate( new UsernamePasswordAuthenticationToken(authRequest.getUsername(), authRequest.getPassword()) ); }

  2. Configure AuthenticationManager:Verify that AuthenticationManager is set up correctly. For testing, you might want to use in-memory authentication like this:

    @Autowired public void globalUserDetails(AuthenticationManagerBuilder auth) throws Exception { auth.inMemoryAuthentication() .withUser("usuario").password(passwordEncoder().encode("pass")).roles("USER"); }

  3. JWT Utility:Ensure your JwtUtil class is properly generating and validating JWT tokens.

  4. Request Format: Make sure your request includes Content-Type: application/json and that the JSON body is formatted correctly.

  5. Check Logs:enter code hereReview application logs for any authentication errors or warnings.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Autowired
  • Low reputation (1):
Posted by: dheeraj reddy

79135587

Date: 2024-10-29 02:04:04
Score: 2
Natty:
Report link

This is now included in Typescript as v5.6, so if you're able to update to the latest version then there's no need for the separate package.

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

79135585

Date: 2024-10-29 02:03:03
Score: 1.5
Natty:
Report link

Really interesting question. I have dealt with this in the past, and I hope to share with you!

  1. You should implement enhanced memory pooling with object pools. Use a more sophisticated memory pool mechanism that recycles objects efficiently.
  2. What I often used to detect data races at runtime is by using ThreadSanitizer (which is a part of LLVM) :). This will help you by a lot!
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gadjsan Yusuf

79135567

Date: 2024-10-29 01:55:01
Score: 1.5
Natty:
Report link

flutter first finds the android studio one, in case java 21, try setting flutter's java to 17 in:

flutter config --java-dir={YOUR-JAVA-17-HOME}

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

79135564

Date: 2024-10-29 01:52:01
Score: 3
Natty:
Report link

I'm also looking for this fix. I've tried everything I could find and the only solution that worked was to add the certificate to the image and then run update-ca-certificates, but as you said, that's not feasible. I'm the only one in my team that had this issue and updating the Dockerfile is not a viable option

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ideo

79135556

Date: 2024-10-29 01:49:00
Score: 1
Natty:
Report link

Are you sure you have looked over the app registration in Azure portal as well as the enterprise apps sections (you can configure both and they have unique variables that might be worth revising. They can be found in the Azure portal App Registrations and Enterprise Apps, respectively. with the correct information, especially concerning the scope, permissions and app roles? Make sure too go to the Api permissions and grant the correct ones to your app, such as "offline_access", which is crucial for some sign-ins.

Microsoft graph API permissions can be used under the API permissions under App Registrations (your app name). I usually just look at those APIs and write my app roles/scopes/api permissions from the ones that are listed there by mixing and matching a few words around.

It does look like the fatal error is derived from misconfiguration in the token configuration, and since you are using openidconnect be sure you have all the small details specific to this protocol. It relies on your configuration of the Token exchange and the correct permissions and scopes. I hope this answer can give some clue in this mysterious affair.

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

79135549

Date: 2024-10-29 01:40:58
Score: 0.5
Natty:
Report link

This inconsistency typically stems from integration settings between GA4, Google Merchant Center (GMC), and Google Ads. Please try the following steps:

GA4 Admin > Property Settings > Product Links > Merchant Center

  1. Verify linking status is active
  2. Ensure data sharing settings are enabled
  3. Confirm the same GMC account is linked across properties then

Verify Google Ads Configuration

  1. Enable auto-tagging
  2. Check Enhanced E-commerce settings
  3. Verify conversion tracking setup then

Review Data Stream Settings

  1. Enable enhanced measurement
  2. Check e-commerce data collection settings
  3. Verify product data collection is active

That's what I can think of at the moment, please follow up if you have other issues

Reasons:
  • Whitelisted phrase (-1): try the following
  • RegEx Blacklisted phrase (1): I can think of at the moment, please
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Owen Valentinus

79135543

Date: 2024-10-29 01:33:57
Score: 0.5
Natty:
Report link

It late, but I think you got it wrong: 0x1822 will become 00001822-0000-1000-8000-00805f9b34fb

So to convert whatever service UUID, you just need to replace the string after 0000 and keep the rest:

input:
- Hex UUID: 0x<any_number>

output:
- UUID: 0000<any_number>-0000-1000-8000-00805f9b34fb
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: BD Tren

79135542

Date: 2024-10-29 01:33:57
Score: 2
Natty:
Report link

The reason for this crash was the name of the App target. App was named App and that doesn't seem to sit well with Xcode 16 anymore.

There seems to be some naming conflict when calling the scheme App as well.

This Thread helped diagnose the issue: https://forums.developer.apple.com/forums/thread/757397

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

79135541

Date: 2024-10-29 01:31:57
Score: 2.5
Natty:
Report link

tflite package was not updated since 3 years ago, this error probably because the package is not compatible with the current flutter version. Try tflite_flutter package instead, it was released 55 days ago.

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

79135540

Date: 2024-10-29 01:31:55
Score: 9.5 🚩
Natty: 5.5
Report link

Could you explain more the steps you did to solve the issue?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you explain
  • RegEx Blacklisted phrase (1.5): solve the issue?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: VManne

79135522

Date: 2024-10-29 01:10:50
Score: 4
Natty:
Report link

The best alternative is to use Fluxor https://github.com/mrpmorris/Fluxor instead of MediatR

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

79135521

Date: 2024-10-29 01:08:47
Score: 8.5 🚩
Natty: 5.5
Report link

@Thomas Farrar, same issue with flextable but solved by installing knitr, systemfonts, gdtools --> flextable 0.9.7 successfully. Thanks for sharing.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (2): Thanks for sharing
  • RegEx Blacklisted phrase (1): same issue
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Thomas
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: genghiskhan