79199209

Date: 2024-11-18 08:38:52
Score: 4.5
Natty:
Report link

Indeed it's a bug with the copy_on_write mode. Confirmed here:

https://github.com/pandas-dev/pandas/issues/60309

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

79199206

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

You can use free, native Excel add-in for it e.g. https://text2data.com/ChatGPT-in-Excel

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

79199205

Date: 2024-11-18 08:37:52
Score: 2.5
Natty:
Report link

Thank you for your interest in GPBoost.

Here is an example have on how to do Bayesian optimization in R using the 'mlrMBO' R package. I hope this helps.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): hope this helps
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: fabsig

79199201

Date: 2024-11-18 08:37:52
Score: 1
Natty:
Report link
class PersonSerializer(serializers.ModelSerializer):
    children = serializers.SerializerMethodField()

    class Meta:
        model = Person
        fields = ['id', 'first_name', 'last_name', 'mother', 'father', 'children']

    def get_children(self, obj):
        # Get all children of the demo
        children_as_father = obj.children_as_father.values_list('id', flat=True)
        children_as_mother = obj.children_as_mother.values_list('id', flat=True)
        return list(children_as_father) + list(children_as_mother)

https://www.django-rest-framework.org/api-guide/fields/#serializermethodfield

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

79199197

Date: 2024-11-18 08:36:51
Score: 0.5
Natty:
Report link

For a faster way to check the availability of these usernames across various social platforms, you can use Social Checker Tool. This tool helps you check if the suggested usernames are available not only on Instagram but also on other social media platforms. It can speed up the process and makes sure that you aren't suggesting already taken usernames.

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

79199191

Date: 2024-11-18 08:32:50
Score: 1
Natty:
Report link

In my case, my project was stored on my WSL (Linux subsystem), and VSC had just stopped opening the project "with WSL". Once I opened it with VSC's WSL extension, it worked fine again.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Eva

79199183

Date: 2024-11-18 08:28:49
Score: 1
Natty:
Report link

I needed this with CMake. while ABI was a little confusing. Based on Boost/CMake docs 1, I was able to get a Universal (x86_64 arm64) on macOS/Xcode by defining the following:

BOOST_CONTEXT_ABI=sysv BOOST_CONTEXT_ARCHITECTURE=combined

Internally 2 it seems to include the AAPCS for arm64 and the sysv for x86_64.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rock_Artist

79199149

Date: 2024-11-18 08:15:46
Score: 1.5
Natty:
Report link

More details can be found here: https://news.ycombinator.com/item?id=40918052

Basically it's an old google extension, enabled by default on google chrome, edge and brave and only available on *.google.com urls.

Extension's source code can be found here: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/resources/hangout_services/thunk.js

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

79199146

Date: 2024-11-18 08:13:46
Score: 1.5
Natty:
Report link

Ok, as chtz said the problem was actually in the way I was checking if the eigenvector is right. When calculating vct2(i)/vct(i) I was sometimes getting right answer, sometimes not. When using vct2-lambda*vct it showed that vector was always correct. Poking around a bit showed, that all the places where division was giving wrong answers, had coefficient of order 1e-17, so basicaly zeroes.

I was dividing zeroes by zeroes. The vectors themself were good.

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

79199144

Date: 2024-11-18 08:12:45
Score: 2
Natty:
Report link
  1. Check your next config file is correctly set up.

    const nextConfig = { reactStrictMode: true, }

    module.exports = nextConfig

  2. Remove package-lock.json, node_modules, .next folder and files and reinstall.

  3. If the issue persists, try clearing your npm cache and rebuilding. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mitsuru Kudo

79199136

Date: 2024-11-18 08:09:44
Score: 8.5 🚩
Natty: 5
Report link

Does anyone have a solution for Mac?

Reasons:
  • RegEx Blacklisted phrase (3): Does anyone have a solution
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Antalagor

79199135

Date: 2024-11-18 08:09:44
Score: 1.5
Natty:
Report link

Assuming you have made a textbox named textBox1 in the designer, simply make a static link to it, like this:

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
        textBox1lnk = textBox1;
    }
}
static TextBox textBox1lnk = new TextBox();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: erik carlsson

79199130

Date: 2024-11-18 08:08:44
Score: 0.5
Natty:
Report link

Hook into walker_nav_menu_start_el and use str_replace:

// Add to menu item when CSS Classes (in Appearance > Menus) include "new"
function ona_walker_nav_menu_start_el( $item_output, $menu_item, $depth, $args ) {
    if ( ! empty( $args->theme_location ) && in_array( 'new', $menu_item->classes ) ) {
        $title = $menu_item->title;
        $item_output = str_replace( $title, $title . '<span class="new">NEW</span>', $item_output );
    }
    return $item_output;
}
add_filter( 'walker_nav_menu_start_el', 'ona_walker_nav_menu_start_el', 10, 4 );

See https://developer.wordpress.org/reference/classes/walker_nav_menu/start_el/

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

79199125

Date: 2024-11-18 08:07:43
Score: 2
Natty:
Report link

I would test the 2 modules separately:

Then there should be 100% test code coverage.

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

79199111

Date: 2024-11-18 08:00:42
Score: 1
Natty:
Report link

Solution that worked for me:

<p suppressHydrationWarning>Current time: {time?.toLocaleTimeString()}</p>

I followed this answer from this post.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sayeedur Rahman

79199108

Date: 2024-11-18 08:00:42
Score: 0.5
Natty:
Report link

you should be able to mitigate this with a project specific global.json file. the example should help to lock your project down to any 7.0.xxx SDK version.

{
  "sdk": {
    "version": "7.0.xxx",
    "rollForward": "latestFeature"
  }
}

see here for further information

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

79199107

Date: 2024-11-18 07:59:42
Score: 1
Natty:
Report link

I hope that following basics will help beginners to understand oAuth purpose.

What is an Access Token and Refresh Token?

Access Token:
A short-lived token that grants a user or third-party applications access to specific user resources on a server. It typically contains user information and permissions (scopes) and is used to authenticate requests.
(You will store it in the database and use it on the frontend to include in request headers by retrieving it from the backend, or in some cases, use it on the backend to call third-party APIs.)

Refresh Token:
A long-lived token used to obtain a new access token when the current one expires. It’s only exchanged with the server, not sent with each request to protected resources.
(You will store it in the DB and only retrieve it from the database when the backend server needs a new access token. Once you get a new token, you can immediately update the access token in the database. If a new refresh token is also issued, it is a good practice to update the refresh token in the database as well.)


Why Do We Need Two Tokens Instead of One?

In the OAuth strategy, there are multiple steps of authorization and authentication to obtain an access token. Once the access token is issued, it means all steps have been completed. However, access tokens have an expiry limit for security purposes. The expiry duration varies for each app depending on its requirements and security concerns.

Without a refresh token, users would need to repeat the entire authentication process whenever the access token expires. This can be cumbersome, especially if the access token has a short expiry. With a refresh token, obtaining a new access token requires only a single request. This approach simplifies the process, as you only need to use the refresh token when the access token has expired, ensuring a seamless user experience.


How Does Using Two Tokens Enhance Security?


Where to Store Tokens in a Django REST and React Project?

(Already mentioned in the first section in brackets.) Additionally, if you need them on the front-end, then:

  1. Access Token:

    • Store in memory or React state.
    • Avoid using localStorage/sessionStorage to prevent XSS attacks.
  2. Refresh Token:

    • Store in HTTP-only cookies for better security against XSS attacks. These cookies are inaccessible via JavaScript.

Example Workflow:

  1. User logs in β†’ Server issues both an access token and a refresh token.
  2. Access token is used for API calls.
  3. When the access token expires:
    • Use the refresh token to obtain a new access token.
  4. If the refresh token also expires, the user is prompted to log in again.

Conclusion

Using both tokens provides a balance between security (short-lived access tokens) and user experience (long-lived refresh tokens). Store tokens properly to avoid vulnerabilities like XSS and CSRF.

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

79199101

Date: 2024-11-18 07:58:42
Score: 2.5
Natty:
Report link

Just use the wildcard. Say I want the PFN for Microsoft Teams but I don't know the full name to look it up. I narrow it down by placing asterisk before the t and after the s in "teams":

PS C:\Windows\System32> get-appxpackage "teams"

Name : MSTeams Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US Architecture : X64 ResourceId : Version : 24295.605.3225.8804 PackageFullName : MSTeams_24295.605.3225.8804_x64__8wekyb3d8bbwe InstallLocation : C:\Program Files\WindowsApps\MSTeams_24295.605.3225.8804_x64__8wekyb3d8bbwe IsFramework : False PackageFamilyName : MSTeams_8wekyb3d8bbwe PublisherId : 8wekyb3d8bbwe IsResourcePackage : False IsBundle : False IsDevelopmentMode : False NonRemovable : False IsPartiallyStaged : False SignatureKind : Developer Status : Ok

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: John V

79199099

Date: 2024-11-18 07:58:42
Score: 2.5
Natty:
Report link

There is no way to click on the element directly from the jshandle object, if you have "lazy-list", you either have to scroll your dropdown by locators and wait until desired element appears or use search input to truncate the list of options

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

79199098

Date: 2024-11-18 07:57:41
Score: 1
Natty:
Report link

FlutterError.onError is for Flutter-specific errors (e.g., widget rendering errors, state management issues, etc.).

PlatformDispatcher.instance.onError is for errors originating from the platform side, including Dart VM errors and native code crashes.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Masum Billah Sanjid

79199097

Date: 2024-11-18 07:57:41
Score: 0.5
Natty:
Report link

import { CustomDatePicker } from '[Organization-folder]/oneems-react-components'; => this is wrong.

You have exported CustomDatePicker as default in other file so use as per below statement.

import CustomDatePicker from '[Organization-folder]/oneems-react-components'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Riyaz Panarwala

79199093

Date: 2024-11-18 07:56:41
Score: 4.5
Natty:
Report link

I have different use case.

is it possible to disable connection in "Read-only" replica? because my recovery is getting delayed due to active connections. I want to disable all connection until it reaches 0 Lag except superuser connections.

Using version 13.

Reasons:
  • Blacklisted phrase (1): is it possible to
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: PRaj

79199085

Date: 2024-11-18 07:54:40
Score: 2.5
Natty:
Report link

Have you addedd localizationsDelegates inside your MaterialApp ?

localizationsDelegates: [
    GlobalMaterialLocalizations.delegate,
    GlobalWidgetsLocalizations.delegate,
    GlobalCupertinoLocalizations.delegate,
],
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: 2IIZ

79199084

Date: 2024-11-18 07:54:40
Score: 1.5
Natty:
Report link

Nordic Semiconductor provides some Android apps for developers to test their devices. The most flexible one is nRF Connect for Mobile, but this one is not open source. Instead, I can recommend the nRF Toolbox app or the nRF Device Manager app, both of which have open source code on git that you can download, change and build yourself.

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

79199071

Date: 2024-11-18 07:46:38
Score: 2
Natty:
Report link

Since march no one has answered it? A lots of people are facing this issue now. I send notifiction to my iOS device and suddenly it occurs then the token gets unregisterd. Now app has to open again and get notification token and send notification to new token.

Someone in other threads suggested that you build the app with Biuld Settings > Lagacy Build. But i have not tried it and dont know how will that ipact it.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: M. Adil

79199067

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

This is a really old question, but if someone still having the same issue. I'm using:

try await Transaction.beginRefundRequest(for: transactionId, in: scene)

The only thing you will need is the transaction id.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): having the same issue
  • Low reputation (0.5):
Posted by: EitΓ‘n JosΓ© Teplitzky

79199064

Date: 2024-11-18 07:44:37
Score: 0.5
Natty:
Report link

The playground always evaluates the entire package you've put into it's Rego panel. Your SDK Decision call evaluates a certain path:

Path: decisionReq.Policy

If that path is not the path of the package, but, say, the path to your allow rule, you'd only see true/false.

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

79199060

Date: 2024-11-18 07:42:37
Score: 2.5
Natty:
Report link

spring boot 3.3.6 should be released at 21.11 (Release calendar can be found here https://spring.io/projects#release-calendar) and it will use spring framework 6.1.15

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

79199056

Date: 2024-11-18 07:40:37
Score: 0.5
Natty:
Report link

One approach is just to open a service on my-domain.com on port 443, solely for the sake of hosting the /.well-known/assetlinks.json file.

It doesn't need to do any other stuffs, any other service can stay on your port-specific endpoints. It should work beacuse the deeplink urls will actually be handled by your app, and your app is free to point to any other endpoints (with the specific ports). The only time you need to go through the port 443 is when you need to retrieve the /.well-known/assetlinks.json file. This way, you don't even need subdomains.

If you have dedicated package name for every development environment, you can list all of them in single assetlinks.json

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

79199055

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

Okay, I changed my code but unfortunately I now got the same problem - the state is not created for the second Widget-Instance :(

This is how the code nowlooks:

Call of the first instance:

  @override
  SearchTermInput get searchTermInput => SearchTermInputOneString(
        // key: Key("ApiEndpointName"), // UniqueKey(),
        apiEndpointSearchTermInputContentProvider:
            apiEndpointSearchTermInputContentProvider,
        captionList: ["Name"],
        textInputFormatter: [
          FilteringTextInputFormatter.deny(RegExp(r"[0-9]"))
        ],
        onSubmit: onSubmit,
        onLostFocus: onLostFocus,
      );

Call of the second instance:

  @override
  SearchTermInput get searchTermInput => SearchTermInputOneString(
        // key: Key("ApiEndpointUniversal"), // UniqueKey(),
        apiEndpointSearchTermInputContentProvider:
            apiEndpointSearchTermInputContentProvider,
        captionList: ["Statement"],
        textInputFormatter: [FilteringTextInputFormatter.allow(RegExp(r".*"))],
        onSubmit: onSubmit,
        onLostFocus: onLostFocus,
      );

StatefulWidget:

class SearchTermInputOneString extends SearchTermInput {
  @override
  final NotifierProvider apiEndpointSearchTermInputContentProvider;

  @override
  final List<String> captionList;

  @override
  final List<TextInputFormatter>? textInputFormatter;

  @override
  final void Function(BuildContext, WidgetRef, List<String>) onSubmit;

  @override
  final void Function(BuildContext, WidgetRef, List<String>) onLostFocus;

  const SearchTermInputOneString({
    super.key,
    required this.apiEndpointSearchTermInputContentProvider,
    required this.captionList,
    required this.textInputFormatter,
    required this.onSubmit,
    required this.onLostFocus,
  });

  @override
  // ignore: no_logic_in_create_state
  ConsumerState<ConsumerStatefulWidget> createState() {
    final log = getLogger();
    log.t("createState");
    return _SearchTermInputOneStringState();
  }
}

class _SearchTermInputOneStringState
    extends ConsumerState<SearchTermInputOneString> {
  late TextEditingController textEditingController;
  late List<String> currentContent;

  @override
  void initState() {
    super.initState();
    final log = getLogger();
    log.t("initstate");
    textEditingController = TextEditingController();
  }

  @override
  void didChangeDependencies() {
    _runsAfterInit(context, ref);
    final log = getLogger();
    log.t("didChangeDependencies");

    // read apiEndpoint content
    currentContent = ref
        .read(widget.apiEndpointSearchTermInputContentProvider)
        .cast<String>();
    textEditingController.text =
        currentContent.isNotEmpty ? currentContent[0] : "";

    super.didChangeDependencies();
  }

  @override
  void dispose() {
    textEditingController.dispose();
    final log = getLogger();
    log.t("dispose");
    super.dispose();
  }

  Future<void> _runsAfterInit(BuildContext context, WidgetRef ref) async {
    await Future.delayed(Duration.zero); // <-- Add a 0 dummy waiting time

    final log = getLogger();
    log.t("_runsAfterInit");

    // set current content
    ref
        .read(currentSearchTermInputContentProvider.notifier)
        .setValue(currentContent);
  }

  @override
  Widget build(BuildContext context) {
    return Focus(
      child: TextFormField(
        controller: textEditingController,
        decoration: InputDecoration(
          border: const OutlineInputBorder(),
          labelText: widget.captionList.isNotEmpty ? widget.captionList[0] : "",
          suffixIcon: IconButton(
            onPressed: () {
              textEditingController.text = "";
            },
            icon: Icon(Icons.clear),
          ),
        ),
        inputFormatters: widget.textInputFormatter,
        onFieldSubmitted: (_) {
          widget.onSubmit(context, ref, [textEditingController.text]);
        },
      ),
      onFocusChange: (hasFocus) {
        if (!hasFocus) {
          widget.onLostFocus(context, ref, [textEditingController.text]);
        }
      },
    );
  }
}

Logoutput after the first instance has been created:

────────────────────────────────────────────────────────────────────────────────────────
#0   SearchTermInputOneString.createState (package:obituary_viewer/features/obituaries/presentation/widgets/search_term_inputs/search_term_input_one_string.dart:39:9)
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
2024-11-18 08:26:03.262
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
 createState
────────────────────────────────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────────────────────────────────
#0   _SearchTermInputOneStringState.initState (package:obituary_viewer/features/obituaries/presentation/widgets/search_term_inputs/search_term_input_one_string.dart:53:9)
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
2024-11-18 08:26:03.269
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
 initstate
────────────────────────────────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────────────────────────────────
#0   _SearchTermInputOneStringState.didChangeDependencies (package:obituary_viewer/features/obituaries/presentation/widgets/search_term_inputs/search_term_input_one_string.dart:61:9)
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
2024-11-18 08:26:03.272
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
 didChangeDependencies
────────────────────────────────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────────────────────────────────
#0   ApiEndpointNameSearchTermInputContent.build (package:obituary_viewer/features/obituaries/presentation/provider/search_term_input_content_provider.dart:26:9)
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
2024-11-18 08:26:03.275
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
 ApiEndpointNameSearchTermInputContent provider build
────────────────────────────────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────────────────────────────────
#0   DoSearchFunction.build (package:obituary_viewer/features/obituaries/presentation/provider/search_screen_provider.dart:13:9)
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
2024-11-18 08:26:03.402
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
 DoSearchFunction provider build
────────────────────────────────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────────────────────────────────
#0   DoSearchFunction.setValue (package:obituary_viewer/features/obituaries/presentation/provider/search_screen_provider.dart:19:9)
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
2024-11-18 08:26:03.404
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
 DoSearchFunction set to Closure: (BuildContext, WidgetRef) => void from Function 'doSearch':.
────────────────────────────────────────────────────────────────────────────────────────
────────────────────────────────────────────────────────────────────────────────────────
#0   _SearchTermInputOneStringState._runsAfterInit (package:obituary_viewer/features/obituaries/presentation/widgets/search_term_inputs/search_term_input_one_string.dart:85:9)
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
2024-11-18 08:26:03.405
β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
 _runsAfterInit
────────────────────────────────────────────────────────────────────────────────────────

Logoutput after the second instance:

> flutter:
> β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
> flutter: β”‚ #0   CurrentApiEndpoint.setValue
> (package:obituary_viewer/features/obituaries/presentation/provider/api_endpoint_provider.dart:30:9)
> flutter:
> β”œβ”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
> flutter: β”‚ 2024-11-18 08:27:41.773 flutter:
> β”œβ”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„
> flutter: β”‚  CurrentApiEndpoints set to Instance of
> 'ApiEndpointUniversal' flutter:
> └─────────────────────────────────────────────────────────────────────────────────────────

That's it - and the text of the texteditingcontroller is still the one of the first instance :(

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

79199051

Date: 2024-11-18 07:35:36
Score: 3.5
Natty:
Report link

Chrome 130 introduced a new scroll badge in the elements panel of the devtools to locate scrollable elements https://developer.chrome.com/blog/swe-devtools-scroll-badge

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

79199046

Date: 2024-11-18 07:33:35
Score: 0.5
Natty:
Report link

You can try this, testWidgets like this: Url

This is easy way for testing logic inside project flutter.

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: AzPsu

79199045

Date: 2024-11-18 07:33:35
Score: 0.5
Natty:
Report link
Use <com.google.android.material.button.MaterialButton  button for rounded button with border. and also use

app:strokeColor="@color/color_E0E6F9"
app:strokeWidth="0.5dp"
app:cornerRadius="8dp"


these properties for round corner and border of button.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Devesh Kumawat

79199043

Date: 2024-11-18 07:33:35
Score: 0.5
Natty:
Report link

For me I found that the problem is when you have MORE THAN ONE GOOGLE ACCOUNT OPEN.

So a workarround is to open a private page or to use another browser, where you will only log in with one user account... In my case, I use firefox, so I do use it in Chromium where I just log with one of my google user accounts...

I also have issues when oppening app scripts from the menu when having more than one account open, so that is the root of the problem... google is not managing correctly having multiple google accounts open..

It says "Script could not be found" but internally it looks it is trying to execute it with the wrong account and then it is a permissions issue, so best is to have only one google account open and it does work as a charm..

Hope this helps everyone ;)

Pere - increiblesostenible.org

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Pere Vidal

79199042

Date: 2024-11-18 07:32:34
Score: 8.5 🚩
Natty: 5
Report link

Did you ever managed to resolve this? I am stuck with it right now with MacOS on Sequioa, debugging for 2 days, and it seems that it happens even with VS code not having any plugins whatsoever. I also did all of the steps you wrote about, and every clean install of VS code eventually results with the intellisense being stuck in loading.

Reasons:
  • RegEx Blacklisted phrase (1.5): I am stuck
  • RegEx Blacklisted phrase (3): Did you ever manage
  • RegEx Blacklisted phrase (1.5): resolve this?
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Nelfo

79199027

Date: 2024-11-18 07:26:33
Score: 1
Natty:
Report link

input[type=range][orient=vertical] {
    writing-mode: vertical-lr;
    direction: rtl;
    appearance: slider-vertical;
    width: 16px;
    vertical-align: bottom;
}
<input type="range" orient="vertical" />

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

79199025

Date: 2024-11-18 07:25:33
Score: 2
Natty:
Report link

you can use jsonfy return statements as well

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Uvesh Lakhara

79199018

Date: 2024-11-18 07:22:32
Score: 1
Natty:
Report link

I found it

exchange.getAttributes().put(ServerWebExchangeUtils.GATEWAY_PREDICATE_MATCHED_PATH_ATTR, newServiceName);
    exchange.getAttributes().put(ServerWebExchangeUtils.GATEWAY_PREDICATE_PATH_CONTAINER_ATTR, newServicePath);
    exchange.getAttributes().put(ServerWebExchangeUtils.GATEWAY_REQUEST_URL_ATTR, newUri);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: A.B.

79199011

Date: 2024-11-18 07:20:31
Score: 3
Natty:
Report link
  1. Enable Gitlens on Source Control from (...) icon.
  2. Click the (...) icon on Gitlens menu under source control.
  3. Select Detach Stashes View.
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: IkramiAswan

79199009

Date: 2024-11-18 07:19:31
Score: 2
Natty:
Report link

As deceze mentioned in the comments, you can't access cookies from different domains. You can update the authentication endpoint to return the accessToken in the response body. Then you can store it using useUserStore.

But be aware that if you want to store the auth data in the local storage, it can be vulnerable to cross-site scripting (XSS) attacks.

See this question for more information: Where to store a JWT token properly and safely in a web based application?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Sadra Saderi

79199008

Date: 2024-11-18 07:19:31
Score: 2.5
Natty:
Report link

Try to minimize the use of DISTINCT within GROUP_CONCAT. You can achieve this by grouping your posts more efficiently. Use with() to eagerly load instead of manual connections. This reduces the number of queries and speeds up the process.

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

79199007

Date: 2024-11-18 07:18:31
Score: 2.5
Natty:
Report link

I removed the problematic project from the solution, rebuilt it, and then added it back. The issue was resolved!

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

79199003

Date: 2024-11-18 07:17:31
Score: 2
Natty:
Report link

This type of situation occurs mostly when the LLM does not have tool support. So you might want to try other bigger models. Check the following link to know which Mistral models have tool support. https://docs.mistral.ai/capabilities/function_calling/

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

79198998

Date: 2024-11-18 07:16:31
Score: 0.5
Natty:
Report link

In my case, from GIT windows to a remote GIT on pi raspberry server, using this command:

GIT_SSH_COMMAND="ssh -p 22" git push origin master

instead of

git push origin master

solved the problem

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

79198990

Date: 2024-11-18 07:14:30
Score: 1.5
Natty:
Report link
SELECT A.Session,A.UserId,B.Username FROM TableA A JOIN TableB B ON A.Session = B.Session
JOIN UserTable U ON A.UserId = U.UserId
WHERE A.UserId = 1 AND B.Username = 'xxx';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pulugu Manikantareddy

79198989

Date: 2024-11-18 07:14:30
Score: 2
Natty:
Report link

I had the same problem and this video solved it

https://www.youtube.com/watch?v=rkcxxp4Avt0

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Poonam Bhatt

79198974

Date: 2024-11-18 07:11:29
Score: 1
Natty:
Report link

The following is a bit easier to read from my point of view:

df["New_date"] = df["Date"] - pd.offsets.MonthBegin()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: omg_me

79198972

Date: 2024-11-18 07:11:29
Score: 0.5
Natty:
Report link

It seems that SQL Server is not installed on your system. What you currently have is only Microsoft SQL Server Management Studio (SSMS), which is just a tool to connect to and manage SQL Server instances.

To resolve this, you need to install Microsoft SQL Server. You can download it from the official Microsoft SQL Server page.

I recommend installing SQL Server 2022 Express, as it is a free edition suitable for development and lightweight production use. However, you can choose any edition that suits your needs.

Once SQL Server is installed, the server name will automatically appear when you open SSMS. From there, you can connect to the SQL Server instance and start working with it.

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

79198964

Date: 2024-11-18 07:09:28
Score: 0.5
Natty:
Report link

String parameters as well as string inputs, outputs are valid variables defined in the FMI standard. You can find e.g. an example in the Reference FMUs here: https://github.com/modelica/Reference-FMUs/tree/main/Feedthrough

Some simulation tools do not support the String variables at all as they are only intended for numerical simulation with numerical data types. So they are not fully FMI compliant.

However, I would say that most tools support string parameters, while string inputs/outputs are only supported by a minority of tools.

In FMI 3.0 supporting tools the situation is better, as most of them support binary variables, a concept that is not far away from string variables.

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

79198959

Date: 2024-11-18 07:07:28
Score: 1
Natty:
Report link

The best answer for multi-module projects would be https://github.com/gradle/gradle/issues/12789#issuecomment-612638399

quote: I don’t think this is a gradle bug (I’m not a maintainer also).

You are applying the spring boot plugin at root level by doing.

Since you are doing this, the spring boot project expects that your root project is a sb app requiring a mainClassName For the bootJar.

You should only apply the spring boot project to the projects that are SB apps. In this case, your products-service.

The fact that you disable bootJar in the root project is a smell that shouldn’t be applied there.

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

79198953

Date: 2024-11-18 07:05:28
Score: 1
Natty:
Report link

I've made some changes to your code. To keep the pretrained ELMo model fixed, I've set its trainable parameter to False. I've also used tf.keras to add layers to the Sequential model and reshaped the ELMo output to a 3D format, which is compatible with Conv1D layers. These changes have made the code operational. For a detailed look at the updated code, please refer to the gist.

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

79198950

Date: 2024-11-18 07:03:27
Score: 5.5
Natty:
Report link

I do have the similar problem that occurs today. Mine situation is even simpler. I am deploying to the localstack by the serverless-localstack plugin. It works all good last week but it failed today. I didn't change anything at all.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the similar problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dickens

79198948

Date: 2024-11-18 07:02:27
Score: 2.5
Natty:
Report link

you can basically comment the line debugger; fr fr πŸ’€πŸ’€

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

79198942

Date: 2024-11-18 07:00:26
Score: 0.5
Natty:
Report link

You need to download the version of Pytorch that is compatible with CUDA for that, head over to the website: https://pytorch.org/

As shown in the picture

Download the latest one (12.4) and Run the command that is shown in the image on your Command Terminal.

Then Install Cuda same version (12.4) URL: https://developer.nvidia.com/cuda-12-4-0-download-archive?target_os=Windows&target_arch=x86_64&target_version=10&target_type=exe_local

Download Same Version for CUDA that is compatible with Pytorch

Then check the commands,

Nvidia-smi
nvcc --version 

Ensure the versions for Pytorch & CUDA are same, Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sami Ullah

79198939

Date: 2024-11-18 07:00:26
Score: 2.5
Natty:
Report link

window.addEventListener("scroll", function(e) {
      
},{once:true});

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Rahul Dhiman

79198938

Date: 2024-11-18 06:59:25
Score: 4
Natty: 4.5
Report link

What is your age group?

Graph: (Insert pie chart)

Findings: The respondents were primarily aged 18–35, accounting for 60% of the sample, followed by 36–45 (30%) and 46 and above (10%). The demographic focus highlights the importance of addressing service issues for the most frequent age group of customers.

Reasons:
  • Blacklisted phrase (1): What is your
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What is you
  • Low reputation (1):
Posted by: Dolph

79198932

Date: 2024-11-18 06:56:24
Score: 0.5
Natty:
Report link
pip install ale-py
import gymnasium as gym
import ale_py

gym.register_envs(ale_py)

env = gym.make('ALE/Breakout-v5')
obs, info = env.reset()
obs, reward, terminated, truncated, info = env.step(env.action_space.sample())
env.close()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: qmzp

79198928

Date: 2024-11-18 06:55:24
Score: 2
Natty:
Report link

Adding one more step after the long accepted answer that may help others. Go to Tools->Options in Sourcetree. Make sure you are using OpenSSH and not Putty. My problem was not resolved until I did this.

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

79198925

Date: 2024-11-18 06:53:23
Score: 3
Natty:
Report link

I think it can be achieved with extension function.

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

79198924

Date: 2024-11-18 06:53:23
Score: 1.5
Natty:
Report link

open the launch.json file in your project add the following configuration "skipFiles": ["<node_internals>/", "/node_modules/**"], "skipBreakpoints": true use the node debug flags node --inspect script.js --no-debug-brk in webStorm: go to run edit configurations comment or disable the code use a custom configuration or proxy that stipd\s out debugger statements

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

79198922

Date: 2024-11-18 06:52:23
Score: 2.5
Natty:
Report link

i think here "Unable to open root Jar file 'war:file:/apps" is the key but i still cant undestand I encountered the same problem in springboot3.3.3 and jdk21

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

79198911

Date: 2024-11-18 06:50:21
Score: 12 🚩
Natty: 6
Report link

Facing same issue while updating from 13 to 14. @KKR have got any solution for this?.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution for this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Facing same issue
  • Ends in question mark (2):
  • User mentioned (1): @KKR
  • Low reputation (1):
Posted by: Dilip Barnwal

79198905

Date: 2024-11-18 06:45:20
Score: 3
Natty:
Report link

just add implementation(platform("org.jetbrains.kotlin:kotlin-bom:1.8.0")) work for me

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

79198901

Date: 2024-11-18 06:44:20
Score: 3.5
Natty:
Report link

This link may help, there're other similar classes in

Journey Sharing

You can select the suitable class depending on your case.

Reasons:
  • Blacklisted phrase (1): This link
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mostafa Bedor

79198898

Date: 2024-11-18 06:42:20
Score: 1.5
Natty:
Report link

Try sdkmanager --install "emulator"

For whatever reason, it seems to want the package name surrounded in double-quotes.

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

79198894

Date: 2024-11-18 06:41:19
Score: 0.5
Natty:
Report link

To resolve the issue, modify the code in flutter_carplay/ios/Classes/models/list/FCPListSection.swift at line 30. Update the sectionIndexTitle parameter to nil as shown below:

let listSection = CPListSection.init(items: items, header: header, sectionIndexTitle: nil)
This will prevent the alphabetic sorting issue since CarPlay won't attempt to use the sectionIndexTitle.
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Richa Shah

79198880

Date: 2024-11-18 06:35:18
Score: 2
Natty:
Report link

I had the same issue with the latest version of IB Gateway recently. I would recommend you to make sure that you are using a stable version.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Obscure

79198874

Date: 2024-11-18 06:31:17
Score: 1.5
Natty:
Report link

As Iakobski says, you can try JetBrains dotTrace.After dowload JetBrains dotTrace, choose your application to profile and choose "Tracing" as your profiling Type.

Step1 After Starting profiling, you click "get snapshot" and you will get a Call Tree which records all your all methods that get executed. Step 2 Result Call Tree

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

79198873

Date: 2024-11-18 06:31:17
Score: 1.5
Natty:
Report link

You need to turn on the plugin called 'Diagrams' in more recent versions of Intellij Idea.

Source:

https://youtrack.jetbrains.com/issue/PY-19438/No-profiler-button-for-intellij-with-python-plugin-if-UML-is-disabled#focus=Comments-27-10652677.0-0

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

79198861

Date: 2024-11-18 06:27:16
Score: 0.5
Natty:
Report link

You can find and set shortcut keys.

CTRL+SHIFT+P to search related settings:

Collapse All Cell Outputs/Inputs.

enter image description here

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

79198858

Date: 2024-11-18 06:26:16
Score: 1
Natty:
Report link

Fix the GridItem area prop typo: "asbide" to "aside" As you have mentioned above in templateAreas templateAreas={ { base: "nav" "main", md: "nav nav" "aside main" } }

<Show above="md">
        <GridItem area="aside" bg="red">
          Aside
        </GridItem>
      </Show>

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

79198853

Date: 2024-11-18 06:24:15
Score: 3
Natty:
Report link

I came across calweek module to emulate weeknum function (link). The weeknum() function in this module is compatible with Microsoft Excel's WEEKNUM formula function.

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

79198849

Date: 2024-11-18 06:22:15
Score: 3.5
Natty:
Report link

For those of you using unity version 2022.1 or earlier this helped a lot.

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

79198844

Date: 2024-11-18 06:18:14
Score: 1
Natty:
Report link

Using part of the full answer provided by @Martin Prikryl, I managed to solve this problem using the Manual Method (repeating WizardIsComponentSelected), I would still like to figure out how to automate this process like Martin suggested with large quantities of [Components], but this works fine for now.

Here is all the relevant [Code] for the solution that worked for me:

[Code]
// You still need all the necessary pascal script from 'CodeDownloadFiles.iss', I just left it out to keep the answer from being too long  
function NextButtonClick(CurPageID: Integer): Boolean;
var
  Temp: string;
begin
  if CurPageID = wpReady then begin
    DownloadPage.Clear;
    if WizardIsComponentSelected('pack1') then 
     DownloadPage.Add('DownloadLink1', 'pack1.zip', '');

    if WizardIsComponentSelected('pack2') then 
     DownloadPage.Add('DownloadLink2', 'pack2.zip', '');
    DownloadPage.Show;
    try
      try
        DownloadPage.Download; // This downloads the files to {tmp}
        Temp := ExpandConstant('{tmp}');
        if WizardIsComponentSelected('pack1') then 
         UnZip(Temp+'\pack1.zip', 'pack1', Temp);

        if WizardIsComponentSelected('pack2') then 
         UnZip(Temp+'\pack2.zip', 'pack2', Temp);
        Result := True;
      except
        if DownloadPage.AbortedByUser then
          Log('Aborted by user.')
        else
          SuppressibleMsgBox(AddPeriod(GetExceptionMessage), mbCriticalError, MB_OK, IDOK);
        Result := False;
      end;
    finally
      DownloadPage.Hide;
    end;
  end else
    Result := True;
end;

If anyone can elaborate on the Automated Method Martin mentioned, please feel free to comment or add your own answer to this post!

Reasons:
  • Blacklisted phrase (1): to comment
  • Whitelisted phrase (-1): worked for me
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Martin
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Lilith Helsente

79198843

Date: 2024-11-18 06:18:14
Score: 1
Natty:
Report link

First, modify the User model to properly implement Illuminate\Database\Eloquent\Concerns\HasUlids

Now in your user model

public function uniqueIds(): array
{
    return ['ulid'];
}

make sure in your migration $table->ulid('id');

then

php artisan optimize:clear
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: theihasan

79198842

Date: 2024-11-18 06:16:13
Score: 1
Natty:
Report link

If you're running on Windows, try this step (worked on me in my Windows 11) :

  1. Make sure you have python version of >= 3.x
  2. Node version 18.16.1 (use NVM for easier to manage node version)
  3. Visual Studio Build Tools 2019 or newer with "Desktop development with C++" workload
  4. Install npm install -g node-gyp
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Samuel Djodi

79198838

Date: 2024-11-18 06:14:13
Score: 1
Natty:
Report link

To solve this issue with netlify you just want to create a _redirects file with the following content and put it in the directory where your Flutter build files are located

/* /index.html 200
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vishnu

79198830

Date: 2024-11-18 06:10:12
Score: 0.5
Natty:
Report link

Please follow this to debug issue:

  1. Use deleting and deleted events in your model's boot method.
  2. Activate query logging using \DB::enableQueryLog(); to track all database interactions, including deletions.
  3. Add logs to easier tracking and understanding of the deletion event.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nilesh

79198829

Date: 2024-11-18 06:09:11
Score: 1.5
Natty:
Report link

Just use

flutter packages upgrade

It will also filter packages that are dependent on each other and will update not breaking the build

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

79198822

Date: 2024-11-18 06:03:10
Score: 2
Natty:
Report link

The API was passing x-goog-content-length of 0,7GB that was the required header, not the chunk length

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

79198821

Date: 2024-11-18 06:02:09
Score: 7
Natty: 8
Report link

FUCK U SO MUCH SUCK MY DICK IT FUCKING NIGGERING DID NOT WORK

Reasons:
  • Blacklisted phrase (1): DID NOT WORK
  • Blacklisted phrase (2): FUCK
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28351878

79198819

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

No, it's not possible to create two BigQuery datasets with the same name but different locations. As per the limitations mentioned in this documentation, the Dataset names must be unique within the project.

The location of a BigQuery dataset is specified when it's created and cannot be changed. However, if you want to recreate the Dataset in different location, you can follow the steps mentioned in this documentation.

Reasons:
  • Blacklisted phrase (1): this document
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dhiraj Singh

79198813

Date: 2024-11-18 05:59:08
Score: 1
Natty:
Report link

The .NET Core Hosting bundle allows ASP.NET Core apps to run with IIS.

For blazor app, we also need to install URL Rewrite Module.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Jason Pan

79198804

Date: 2024-11-18 05:54:07
Score: 2
Natty:
Report link

function is_Mobile_Desktop() { return preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up.browser|up.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"]); } if(is_Mobile_Desktop()) { echo "mobile"; }else { echo "desktop"; }

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

79198803

Date: 2024-11-18 05:54:07
Score: 0.5
Natty:
Report link
export class WebsocketService {
    private socket$: WebSocketSubject<any>;

    disconnect() {
      this.socket$?.unsubscribe();
    }
}

this one worked for me. Ref: https://rxjs.dev/api/webSocket/webSocket

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
Posted by: Tushar Roy

79198799

Date: 2024-11-18 05:51:06
Score: 2
Natty:
Report link

I had a problem like you, in my case i closed the cammera with cap.release() immediately after capturing frames

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohammad Hosein Abedi

79198797

Date: 2024-11-18 05:48:06
Score: 1
Natty:
Report link

I am having this same issue. for about a week now, I cannot figure it out. I have 6 slurm nodes. 2 are working find. But the 4 give same error:

sudo slurmd -Dvvvv give me the below error slurmd: error: Error binding slurm stream socket: Address already in use slurmd: fatal: Unable to bind listen port (6818): Address already in use

The slurmd service is running.

sudo lsof -i :6818 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME slurmd 1312724 root 5u IPv4 12836747 0t0 TCP *:6818 (LISTEN)

If I kill the process it error goes away for a few minutes and the node is in a state of idle. But a few minutes later, the node is down.

I rand a sudo killAll slurmd with no success All the 4 nodes behave same way except the controller and the first worker node on the cluster.

I have since added a port range thinking that its having a port conflict scontrol show config | grep SrunPortRange SrunPortRange = 60001-63000

So something is blocking the port or the process

I tried all the suggestions above and non has helped

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hippolyte Asah

79198795

Date: 2024-11-18 05:47:05
Score: 3
Natty:
Report link

The project is using webpack. Excluding quill from the shared plugins resolves the mentioned issue.

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

79198785

Date: 2024-11-18 05:39:03
Score: 5
Natty:
Report link

I'm also facing similar issue after updating sdk to 52 and trying to login getting this error ==> TypeError: Cannot read property 'add' of undefined, currently we are taking the development build in sdk 51 and running the app

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm also facing similar issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: aswinraj vm

79198775

Date: 2024-11-18 05:32:02
Score: 1.5
Natty:
Report link

As seen here in this blog post you can specify a secret token in the environment and use Sys.getenv() to get the value of that token from the environment.

      - name: example
        env:
          SECRET_TOKEN: ${{ secrets.SECRET_TOKEN }}
        run: |
          secret_token = Sys.getenv("SECRET_TOKEN")
Reasons:
  • Blacklisted phrase (1): this blog
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ryanzom

79198774

Date: 2024-11-18 05:32:02
Score: 3
Natty:
Report link

There are two simple ways to do this without using tensorboard, if you are using TPU VMs:

  1. using tpu-info (read more here)

    $ pip install git+https://github.com/google/cloud-accelerator-diagnostics/#subdirectory=tpu_info

    $ tpu-info

  2. Using Google Cloud Monitoring (metrics explorer) Go to this link and select which metrics you want to plot : https://console.cloud.google.com/monitoring/metrics-explorer

enter image description here

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ramith Hettiarachchi

79198770

Date: 2024-11-18 05:26:01
Score: 0.5
Natty:
Report link

To correct this, rather than using the filemd5() function over the output_path property, instead use the output_md5 property, like so:

data "archive_file" "my_file" {
  # ...
}

resource "aws_s3_object" "my_object" {
  # ...
  etag = data.archive_file.my_file.output_md5
  # ...
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: KommandantKeen

79198769

Date: 2024-11-18 05:26:01
Score: 0.5
Natty:
Report link

In my case, I tried to cache the request with defineCachedEventHandler.

I solve the problem by not caching the event:

export default defineEventHandler(userPrivacyPolicyCreateController)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ryan Pham

79198765

Date: 2024-11-18 05:24:00
Score: 3
Natty:
Report link

No, web site(app service) name must be unique globally.

enter image description here

For details, docs

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

79198759

Date: 2024-11-18 05:18:59
Score: 1
Natty:
Report link

To run the metro in the same terminal just run the below command.

npx react-native start

and if you are using yarn

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

79198758

Date: 2024-11-18 05:16:59
Score: 1.5
Natty:
Report link

You need a UIView of a UIViewController, don't you ? So you can basically import UIKit in place of the whole app.

expr -l Swift -- import UIKit
expr -l Swift --  let $vc = unsafeBitCast(0x3daf26c078d8, UIViewController.self)
expr -l Swift -- print($vc.view)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Denis

79198751

Date: 2024-11-18 05:09:56
Score: 1
Natty:
Report link

In my case, I mistakenly disabled Invert check-box, just enabled it and this worked for me.

Reasons:
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: VIVEK DEV SHAH

79198749

Date: 2024-11-18 05:06:56
Score: 2.5
Natty:
Report link

Try to Increase the memory limit:

set NODE_OPTIONS=--max-old-space-size=4096

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

79198740

Date: 2024-11-18 05:04:55
Score: 1.5
Natty:
Report link

This happen because even though the state is updated, the pop up isn't, hence the state is stale. useRef wouldn't help because useRef will not trigger a re-render, its different than useState. Try making the handleOpenModal into a react component, and pass the counter as a prop. This way, everytime the state change, the modal will change as well.In the end the modal have to re-render everytime no matter what, but I think this approach is much better than the useEffect one, which can cause unnecessary re-render.

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

79198739

Date: 2024-11-18 05:04:55
Score: 2.5
Natty:
Report link

For Office 365, please add one more line in the beginning.

We need to activate the developer tab from File>Options>Customized_Ribbon

Then this Macro is to be added to the 'view_code' window

Make it operable in all sheets from the left pane,

And convert file to xlsm format for the macro to be enabled.

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