79199556

Date: 2024-11-18 10:34:26
Score: 2
Natty:
Report link

Good afternoon!

I recently automated a dynamic website like universal assistance, where interacting with fields like destination and date pickers was challenging due to JavaScript. Using Selenium, I handled this by employing explicit waits and JavaScript execution.

For example, to select a destination:

python Copy code wait = WebDriverWait(driver, 10) destination = wait.until(EC.element_to_be_clickable((By.CLASS_NAME, 'item-opener'))) destination.click()

europe_option = wait.until(EC.element_to_be_clickable((By.XPATH, "//li[contains(text(), 'Europa')]"))) europe_option.click() And for setting a date directly:

python Copy code driver.execute_script("document.getElementById('start-date-id').value = '2024-12-01';") This approach helped me overcome the dynamic elements effectively. For similar projects, you can check out examples on nandomenus.co.uk.

Reasons:
  • Blacklisted phrase (1): Good afternoon
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: nando menu

79199555

Date: 2024-11-18 10:34:26
Score: 2.5
Natty:
Report link

I can confirm that for a Dev/test instance the plugin works.

So it seems like ADX version 1.0.9070.26640 is the root cause of the problem.

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

79199550

Date: 2024-11-18 10:31:25
Score: 0.5
Natty:
Report link

I would state that calling the poll(timeout) has the downside that it reads and waits for messages to be produced, until the poll limits are reached.

Example: Read the offset of the last message in the partition, seek to that position, then call poll(30s).

If the partition has 1000 more records meanwhile, the poll will return quickly. If the partition does not get any new messages, the poll will wait for 30 seconds for new data.

Setting max.poll.records=1 does not help.

The maximum number of records returned in a single call to poll(). Note, that max.poll.records does not impact the underlying fetching behavior.

The setting fetch.max.bytes=0 should do the trick, however.

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

79199544

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

what about:

 def module_is_available(the_path,module_folder_name):    
    return module_folder_name in os.listdir(the_path)

or if you want to check all paths currently in sys.path:

def module_is_available_in_sys_path(module_folder_name):        
    for p in sys.path:
        if module_is_available(p,module_folder_name)
            return True
    return False
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: 3d Illusions

79199540

Date: 2024-11-18 10:28:24
Score: 7.5 🚩
Natty: 4
Report link

I ran into the same problem myself on the Chainway C66 device with DeviceApi 2019.8.19.

I found that if you open the Chainway App Center app and open the UHF option it will initialize it for you and then it should be open for the SDK in my own app.

Anyone found a proper fix for this?

Reasons:
  • Blacklisted phrase (2): Anyone found
  • RegEx Blacklisted phrase (1.5): fix for this?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: EQOla

79199539

Date: 2024-11-18 10:26:23
Score: 1.5
Natty:
Report link

select emp_id,AsofDate,Comment FROM ( SELECT emp_id,AsofDate,Comment, lag(AsofDate) over(partition by emp_id order by AsofDate)prev_date, lag(AsofDate,2) over(partition by emp_id order by AsofDate)prev_pre_date from Employees_data where Comment = 'Absent') WHERE prev_date=AsofDate-1 and prev_pre_date = AsofDate-2;

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

79199536

Date: 2024-11-18 10:26:23
Score: 0.5
Natty:
Report link

Remove .Date from DateTime.Now.Date and try this, it should work.

var todayChanges = kbEntities.Changelogs.Where(c => EntityFunctions.TruncateTime(c.creationdate) == EntityFunctions.TruncateTime(DateTime.Now) && (c.name == ChangelogBL.ChangeLogName.ChangedKB.ToString() || c.name == ChangelogBL.ChangeLogName.Imported.ToString())).ToList();

Reasons:
  • Whitelisted phrase (-1): try this
  • No code block (0.5):
  • Low reputation (1):
Posted by: Irfan Afzal

79199533

Date: 2024-11-18 10:25:23
Score: 6 🚩
Natty: 4.5
Report link

Any update? inform me please..

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

79199530

Date: 2024-11-18 10:24:22
Score: 1
Natty:
Report link

You can simply create a colorset in the Assets.xcassets

Colorset in Assets.xcassets

and use it like this.

    Button {
        
    } label: {
        Image(systemName: "play.fill")
            .resizable()
            .aspectRatio(contentMode: .fit)
            .foregroundStyle(Color("imageColor"))
            .frame(width: 60, height: 60)
        
    }
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yasha

79199527

Date: 2024-11-18 10:23:22
Score: 0.5
Natty:
Report link

This was caused by docker compose trying to load a .env file in my path. The env file had variables not supported by docker due to format issues. Example, variables with '-' in their names.

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

79199526

Date: 2024-11-18 10:23:22
Score: 1.5
Natty:
Report link

Please try with this command

npx react-native start --experimental-debugger
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Avijit

79199499

Date: 2024-11-18 10:16:20
Score: 1.5
Natty:
Report link

Ok, this is what fixed it for me: remove the project folder, and clone the repo again. Why it works, I do not know.

We tested it with no react projects, and it seemed to work, but something was off in the TSX files and this is where Intellisense was bogged down. Cloning the repo fixed it after trying: clean install, cleaning all VS code folders from the Mac, and running the project in a VS without any plugins failed.

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

79199493

Date: 2024-11-18 10:15:19
Score: 4
Natty: 4
Report link

how was this sorted out? We are approaching the same journey now.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how was this
  • Low reputation (1):
Posted by: user28355958

79199482

Date: 2024-11-18 10:13:18
Score: 3.5
Natty:
Report link

I got the exact same problem, the "aW-" technic did not work for me πŸ˜₯ I'm still stuck in "still running" on my conversions. When I try it, I get a response saying that my ID must be a number or zero.

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Massakara

79199478

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

I faced the same error. To resolve it, I first ran β€œnpm uninstall openai” , followed by β€œnpm install [email protected]"

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

79199473

Date: 2024-11-18 10:11:18
Score: 2.5
Natty:
Report link

All these dependencies part of jcenter which are not supported anymore. find alternate dependencies or download these and use as a module.

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

79199451

Date: 2024-11-18 10:05:16
Score: 4
Natty:
Report link

Whenever i do this (my model is Offer, slug is availableWeight and id is weight), it gives me an error P3006 saying this migration failed to apply cleanly to the shadow database.

Did you have to change your model to ensure this thing was working ? Bc rn my model Offer just had 'availableWeight int', no default no nothing written after

Reasons:
  • RegEx Blacklisted phrase (2): working ?
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Lucas Roblin

79199448

Date: 2024-11-18 10:03:15
Score: 3.5
Natty:
Report link

wget http://ftp.de.debian.org/debian/pool/main/g/gtkglext/libgtkglext1_1.2.0-11_amd64.deb

sudo dpkg -i libgtkglext1_1.2.0–11_amd64.deb

Then install anydesk: sudo dpkg -i anydesk_6.3.0–1_amd64.deb

then reboot

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

79199438

Date: 2024-11-18 10:01:15
Score: 2
Natty:
Report link

in build.gradle(app level:

   implementation 'com.github.CanHub:Android-Image-Cropper:4.5.0'

is now:

implementation("com.vanniktech:android-image-cropper:4.6.0")

Refer to the documentation at:

https://github.com/CanHub/Android-Image-Cropper

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

79199436

Date: 2024-11-18 10:00:15
Score: 2.5
Natty:
Report link

The answer is so dumb. I had this issue and finally decided to solve it...

Got to your font settings and make your font size for text editor small like 10 or so.

Now hold ctr and scroll your text up and viola.. problem solved

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

79199432

Date: 2024-11-18 09:58:14
Score: 4.5
Natty: 5
Report link

Β΄Thank you very much for this!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anders H

79199431

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

What you can do is ensure the following:

  1. Correct Mock Path: Make sure that the path in patch() matches where create_memcache_item is used in your code.

  2. Patch Scope: The patch() context should wrap the entire interaction with the endpoint to ensure the mock is used instead of the actual function.

  3. Consistent Return Value: Mock create_memcache_item to return a consistent value (e.g., milliseconds).

  4. Response Format: Also, verify the return value matches the expected format in your assertions.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What you can
  • Low reputation (1):
Posted by: Jatin Garg

79199425

Date: 2024-11-18 09:55:13
Score: 2.5
Natty:
Report link

First create folder

helloblog/index.html myfirstblog/index.html

And upload it to any static hosting solution like statichost.host

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

79199424

Date: 2024-11-18 09:55:13
Score: 2.5
Natty:
Report link

This seems like a CORS issue. In this case, you should use a backend as a proxy to execute the network requests.

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

79199420

Date: 2024-11-18 09:54:12
Score: 9 🚩
Natty: 5.5
Report link

Did anyone get the solution, how to stop this rerendering?

Reasons:
  • RegEx Blacklisted phrase (3): Did anyone get the solution
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did anyone
  • Low reputation (1):
Posted by: Juhi Sahu

79199417

Date: 2024-11-18 09:53:12
Score: 0.5
Natty:
Report link

You are right on your assumption, the bottom sheet is capturing the gestures and does not allow the map to take over them.

Did you try to use a GestureDetector to resolve it? Something like this:

void showLocationSelection(
  BuildContext context,
  ThemeData theme,
  CommonColorsExt? commonColors,
  MerchantQuestionsViewModel viewModel,
) {
  showModalBottomSheet(
    context: context,
    shape: RoundedRectangleBorder(
      borderRadius: BorderRadius.vertical(
        top: Radius.circular(16.0),
      ),
    ),
    isScrollControlled: true,
    builder: (BuildContext context) {
      return GestureDetector(
        onTap: () {
          FocusScope.of(context).unfocus(); // Dismiss keyboard
        },
        child: Container(
          constraints: BoxConstraints(
            maxHeight: MediaQuery.of(context).size.height * 0.9,
          ),
          child: Column(
            children: [
              Expanded(
                child: GestureDetector(
                  onVerticalDragUpdate: (_) {}, // Prevents bottom sheet gestures
                  child: GoogleMap(
                    initialCameraPosition: CameraPosition(
                      target: LatLng(6.91177, 79.85043),
                      zoom: 15.0,
                    ),
                    onTap: (LatLng position) {
                      viewModel.setGeoLocation(position);
                    },
                    markers: viewModel.markers,
                    mapType: MapType.normal,
                    gestureRecognizers: <Factory<OneSequenceGestureRecognizer>>{
                      Factory<ScaleGestureRecognizer>(
                        () => ScaleGestureRecognizer(),
                      ),
                      Factory<PanGestureRecognizer>(
                        () => PanGestureRecognizer(),
                      ),
                      Factory<TapGestureRecognizer>(
                        () => TapGestureRecognizer(),
                      ),
                    },
                    zoomGesturesEnabled: true,
                    scrollGesturesEnabled: true,
                    myLocationButtonEnabled: false,
                    myLocationEnabled: false,
                  ),
                ),
              ),
            ],
          ),
        ),
      );
    },
  );
}
Reasons:
  • Whitelisted phrase (-2): Did you try
  • RegEx Blacklisted phrase (1.5): resolve it?
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: kikoso

79199414

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

$full_path = Storage::disk("uploads")->put("/my_image.jpg", $file);

$full_path = Storage::disk("uploads")->put("images/my_image.jpg", $file);

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

79199412

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

Although not efficient, I found two solutions: one is to generate the files separately and merge them via a user control, another is to generate them separately as "temporary files", receive the length of the document as an output parameter (the &Page variable) and use this parameter as a total for the corresponding section. Then I delete the temporary file.

Pretty crude, but it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nicola

79199399

Date: 2024-11-18 09:47:10
Score: 3.5
Natty:
Report link

Been having a similar problem while activating relays using ESP32's, tried a couple of different dev boards and was getting the same issue on them all, board sends gibberish to the serial port indefinitely and refuses to continue normal operation until reset.

I've managed to get a partial solution with the ESP32-WROOM-32 dev module by reducing the CPU frequency. It now reboots by itself instead of getting stuck. I tested with two of these boards and it appears consistent.

Unfortunately, with a supermini dev board using the ESP-C3 chip, lowering the frequency didn't help.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): having a similar problem
  • Low reputation (1):
Posted by: Xaephare

79199392

Date: 2024-11-18 09:45:10
Score: 3
Natty:
Report link

I am also encountering this same issue! The differences between the OP and I are that I am using a virtual environment and I am importing from Translate v2. I am unsure of the OS that the OP is using, but I am using Win 10 Python 3.10.10. I wondering if variable is supposed to go in between the parenthesis? Anyway, can someone please shed light on this question? Thank you! Be Blessed

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28355313

79199390

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

Just delete send empty title. Then it will share.

await navigator.share({ title: "", text: "Captured using the app.", files: [file], // Pass only one file });

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

79199389

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

One convenient way to do it is to hash the password using a fixed length hashing algorithm, such as sha256. I will add exact code later.

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

79199387

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

You're right to be cautious about using Celery with Redis on Windows. Historically, Celery on Windows has had some compatibility issues, especially with its default prefork concurrency model, which doesn't play well with Windows due to how multiprocessing works on that platform. This is especially relevant if you're using Celery 4.x, which relies heavily on multiprocessing and may cause synchronization problems or poor performance on Windows.

If you need something simpler than Celery for small tasks like CSV uploads: multiprocessing or Django Q would be good choices, especially if you're looking for something that doesn’t require as much setup or infrastructure.

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

79199383

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

I know this is quite and old thread but maybe it helps for some who have the same issue.

I had the problem that Sentry got flooded with thousands of null ref exceptions in my Unity project within one session and that could eat up any quota pretty quickly.

Here's what I did for Unity:

using UnityEngine;
using Sentry.Unity;
using System.Collections.Generic;

[CreateAssetMenu(fileName = "Assets/Resources/Sentry/SentryRuntimeConfiguration.asset", menuName = "Sentry/SentryRuntimeConfiguration", order = 999)]
public class SentryRuntimeConfiguration : Sentry.Unity.SentryRuntimeOptionsConfiguration
{
  private bool _userIdLogged = false;
  private HashSet<string> _loggedMessages = new HashSet<string>();

  /// Called at the player startup by SentryInitialization.
  /// You can alter configuration for the C# error handling and also
  /// native error handling in platforms **other** than iOS, macOS and Android.
  /// Learn more at https://docs.sentry.io/platforms/unity/configuration/options/#programmatic-configuration
  public override void Configure(SentryUnityOptions options)
  {
    // this option will filter the sending of data to Sentry in case the user did not give consent
    options.SetBeforeSend((sentryEvent, hint) =>
    {
      bool sendAnalytics = PlayerPrefs.GetInt("SendAnalytics") == 1;
      if (!sendAnalytics)
      {
        return null; // Don't send this event to Sentry
      }

      if (!_userIdLogged)
      {
        var userID = sentryEvent.User?.Id;
        if (userID != null)
        {
          // I'm logging the user ID here
        }
        _userIdLogged = true;
      }

      var stackTrace = sentryEvent.Exception?.StackTrace;

      if (stackTrace != null)
      {
        if (_loggedMessages.Contains(stackTrace))
        {
          // we already had this issue tracked, don't track the same exception over and over again
          return null;
        }

        // this one is new, but remember it for this session
        _loggedMessages.Add(stackTrace);
      }

      return sentryEvent;
    });
  }
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same issue
  • Low reputation (1):
Posted by: Martin Leidel

79199377

Date: 2024-11-18 09:40:09
Score: 3
Natty:
Report link

I did some research and with the help of @CZoellner. This is how I've updated the onhand quantity in model stock.quant

env['stock.quant']._update_available_quantity(record.x_studio_tools,record.x_studio_stock_location,1).

Thank you @CZoellner

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @CZoellner
  • User mentioned (0): @CZoellner
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dape

79199371

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

I had a similar issue (syntax error at or near "force"). I then realized that the parenthesis around force are mandatory.

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

79199363

Date: 2024-11-18 09:36:08
Score: 2
Natty:
Report link

This question is still relevant, since now the api Key is passed to the header, and now you can't just copy the url and paste it into newman Update: The issue has been resolved, now you need to add a new parameter to the newman command --postman-api-key [api-key]

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Антон Пальшин

79199361

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

In version 7.X you need to add swipeEnabled: false, inside the screenOptions like in below.

screenOptions={{
    headerShown: false,
    drawerType: 'front',
    swipeEnabled: false,
    drawerStyle: {
      width: deviceWidth - 50,
    },
  }}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Deepika

79199356

Date: 2024-11-18 09:34:07
Score: 2
Natty:
Report link

Alan Fahrner reply works fine. From that stage you need to drill down into your company domain to find what you are looking for.

How to find "yourdomain"
Open Command Line and type in: net user %username% /domain

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Svein Arne Hylland

79199346

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

Tomcat is a special case: via tomcat-native it can use openssl; in my case Java5+Tomcat6 merrily works with tomcat-native-1.3.1/openssl-3.4.0

https://tomcat.apache.org/download-native.cgi

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: Lorinczy Zsigmond

79199345

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

enter image description here

Change the owner to administrator. Here are the steps I took to solve this issue:

Right-Click on the SSISDB database and select properties

Click on Files under the Select a page

Under the Owner, but just below the Database Name on the right-hand pane, select [pc name]/Administrator as the owner.
Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: hedayat sqz

79199342

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

I want to thank everyone for your responses. Very helpful.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: treecatt

79199339

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

After doing I18nManager.allowRTL(false) and then I18nManager.forceRTL(false) you need to restart the app (with React Native Restart for example)

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28355142

79199309

Date: 2024-11-18 09:19:03
Score: 1
Natty:
Report link

No, deleting the OpenSearch index after shrinking is not required, but it depends on your use case and the specific context. Let's break down the scenario:

What is Index Shrinking in OpenSearch? Index shrinking is a process that allows you to reduce the number of primary shards in an index to make it more efficient. This is typically done when:

An index has grown large with many shards, and you want to optimize storage or improve query performance. You no longer need to keep the original number of primary shards because the index is no longer actively growing or being written to, but you still want to keep it for historical data. The shrinking process in OpenSearch involves:

Creating a new index with fewer primary shards. Reindexing data from the old index into the new one. Deleting the old index (optional, depending on whether you want to save space or not). Should You Delete the Index After Shrinking? After you shrink an index, you don't have to delete the original index immediately unless:

You no longer need the original index: If you’ve reindexed the data into a smaller, more efficient index and you no longer require the old index, you can delete it to free up storage space. You want to optimize disk usage: Deleting the old index after shrinking will save storage if the original index had many unused or fragmented shards. However, if you still need the original index for reference, backup, or other purposes, you can retain it. Just keep in mind that it may occupy significant storage depending on how much data was reindexed and how many shards are in the original index.

Considerations: Backup: Before deleting the original index, ensure you have a backup if it contains important data or if the shrinking process was part of a migration. Cluster Performance: After shrinking, if you no longer need the original index, deleting it can help improve cluster performance by freeing up resources. Snapshot: It’s a good practice to take a snapshot of the index before deleting it, especially if it contains important or historical data

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

79199286

Date: 2024-11-18 09:11:01
Score: 7.5 🚩
Natty: 4
Report link

I have the same issue but answers did not work. My configuration is Bumblebee 2021.1.1 with Pepper SDK 1.5.3, QiSDK 1.7.5. I followed this tutorial: https://github.com/Karageorgiou/GaioPepper . Emulator works and everything else seems fine. I can also connect to the robot viewer and move joints.

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): I have the same issue
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Enzo Ubaldo Petrocco

79199278

Date: 2024-11-18 09:08:59
Score: 2
Natty:
Report link

Fortunately, there was a fix made last year in version 21.0.1 of the play-services-location library. To leverage this fix, I added the following line in my android > build.gradle:

buildscript { ext { .... playServicesLocationVersion = "21.0.1". <----- ADD THIS LINE }

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

79199271

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

this is fixed in V28.3.2

https://github.com/VerifyTests/Verify/pull/1352

And here is some extra text since stackoverflow is a PITA

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Simon

79199269

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

For simple formulas you can add a number value as first list entry and add your formula after:

0, =x21*c24, =y25-10

But since the list entries are separated by comma, when adding a formula with a comma the formula will be split at the comma and seen as a new list entry ...

unfortunately I have not found out how to get around that

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

79199258

Date: 2024-11-18 09:01:58
Score: 2.5
Natty:
Report link

Some library might have been downgraded or upgraded.

pip update the related library.

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

79199246

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

You can integrate CodeBeamer with GitLab using GitLab webhooks to validate commit messages. Set up a webhook in GitLab to trigger a script or API that checks commit message guidelines in CodeBeamer before allowing the push.

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

79199243

Date: 2024-11-18 08:55:56
Score: 3
Natty:
Report link

It is a gdb bug. I have filed on gcc (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117647), and they asked me to move to sourceware.org. Meanwhile they mentioned two related issues https://sourceware.org/PR28999 and https://sourceware.org/PR26325, but as of today 2024/11/18 gdb 15.2 still hasn't fixed the issue.

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

79199242

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

The issue you're experiencing is likely due to mismatches or conflicts between the event handler declaration and how the event is referenced in your XAML. Here’s a breakdown of the possible causes and solutions:

1. Check the Namespace Ensure that the namespace in your MainWindow.xaml and MainWindow.xaml.cs files matches the namespace of your project. In your example: namespace C__experiments_WPF_

If there’s a typo or discrepancy, the event handler might not be found.

2. Event Handler Definition The error suggests that the ToggleB1_Click event handler is not being found during compilation. Verify that:

The method ToggleB1_Click is exactly spelled the same in both the XAML and the code-behind. The method signature in MainWindow.xaml.cs matches the required signature:

private void ToggleB1_Click(object sender, RoutedEventArgs e)

3. XAML Definition The Click attribute in your XAML references the method by its name. Ensure it's correctly written:

4. Avoid Redundant Attachments Since you're specifying Click="ToggleB1_Click" in XAML, the line in your constructor:

ToggleB1.Click += ToggleB1_Click;

5. Rebuild and Clean the Project

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

79199235

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

What worked for me so far was to store element and attribute names of .xsd in Dictionaries and check them in .xml-file.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: koji0285

79199233

Date: 2024-11-18 08:51:56
Score: 3
Natty:
Report link

In my case, I placed the repository under Onedrive Cloud thus causing permission issue. After Moving the repository under C: the issue has been resolved.

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

79199227

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

This happens when large amount of data shared b/w application and service. To fix this you can truncate your data length.

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

79199220

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

You are using too much threading. try avoid withContext(Dispatchers.IO). Dispatchers.IO is correct for network calls but reissueToken function is in runblocking, which may not properly switch to the IO thread due to the context mismatch in runBlocking.

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

79199219

Date: 2024-11-18 08:43:54
Score: 3.5
Natty:
Report link

Add new option in service.Configure => options.UseSecurityTokenValidators = true;

read more: https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/8.0/securitytoken-events

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Trường Nguyα»…n

79199217

Date: 2024-11-18 08:42:53
Score: 2.5
Natty:
Report link

this issue sometimes occur due to the space in any of the folder name in which the project is installed

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

79199215

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

Answer related to Powershell.

In case <esc> does not move from insert to normal mode, remap the following to something your shell/terminal won't complain about;

<C-\><C-n> <C-w>N

(taken from here)

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

79199212

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

The solution is so simple

  1. Go to device manager
  2. Remove all network adaptor related with VPN (EVEN THE DISABLED ADAPTERS)

Good luck!

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Qian Moss

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