79502056

Date: 2025-03-11 20:37:58
Score: 3.5
Natty:
Report link

Try to put in the "div" that contains the class "slick-slide", the style:

z-index: -1;

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

79502055

Date: 2025-03-11 20:36:58
Score: 3.5
Natty:
Report link

Ensure you've appended ->fill() to your form's schema: https://filamentphp.com/docs/3.x/forms/fields/getting-started#setting-a-default-value

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dillalover

79502042

Date: 2025-03-11 20:31:57
Score: 1.5
Natty:
Report link

The fact that you don't get corr=1 at the expected location is because the normalization in Mathlab (and possibly also in other packages) is not performed correctly. A cross correlation is in fact a "sliding dot product" between the two data arrays. To get -1<=corr<=1 one can get the cos(theta) related to the dot product, which means that for each window one has to normalize the unnormalized corr by dividing by the product of the two vector lengths that is currently in use.

You can find the correct formula in eq. (1) of the following article

https://pmc.ncbi.nlm.nih.gov/articles/PMC4123965/#:~:text=A%20relatively%20efficient%20way%20of,sums%20of%20the%20squared%20signal)

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nick van Eijndhoven

79502036

Date: 2025-03-11 20:29:56
Score: 1
Natty:
Report link

Well,
I found the issue.
The event was different because it was created on a different calendar id.
The 3rd party system that created the event defined it on there own calendar, which is different from regular events that are sent to invitees.

so the only thing was to use the calendar id that is on the event:

event.getOriginalCalendarId()

and use it when calling Calendar.Events.get(calendarId, eventId)

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

79502029

Date: 2025-03-11 20:25:55
Score: 1
Natty:
Report link

Found an asnwer:

history package can still be used with react-router v.7 same as in the code in the question via unstable_HistoryRouter as follows:

import { unstable_HistoryRouter as Router, Routes, ... } from "react-router";

Key point is to add history listener before Router adds its listener, otherwise react-router throws an error disallowing more than 1 history listener.

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

79502025

Date: 2025-03-11 20:25:55
Score: 9 🚩
Natty: 5
Report link

I added cg = censusgeocode.CensusGeocode() to my code, but it's still not working. When I try to get the census tract with census_tract = cg.coordinates(x=newLoc.latitude, y=newLoc.longitude), it doesn't work as expected. I used newLoc to get the coordinates from the address. Can you help me figure out whats wrong?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (2): still not working
  • RegEx Blacklisted phrase (3): Can you help me
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Syed Aariz

79502019

Date: 2025-03-11 20:23:54
Score: 3.5
Natty:
Report link

Please see the code example in the original post that shows how I handled

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

79502017

Date: 2025-03-11 20:22:53
Score: 3.5
Natty:
Report link

Leaving only the Vue - Official extension and removing the Dart extension solved my problem

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

79502012

Date: 2025-03-11 20:19:53
Score: 2.5
Natty:
Report link

I think it depends on if you want your database table to enforce non-nulls and FK constraints. If you don't need your database table to do this kind of enforcement then you aren't breaking any contracts about the integrity or completeness of the rows in a single table. If you want to have your database table do this kind of "checking" then you'd need a second table that allows for "missing-ness" in your draft.

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

79502004

Date: 2025-03-11 20:15:52
Score: 4
Natty:
Report link

fixed it by removing flutter completely and reinstalling through vscode

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

79502003

Date: 2025-03-11 20:14:52
Score: 2
Natty:
Report link

In Magento 2, the decimal separator behavior is determined by the locale settings and the format of the numbers being displayed. Since the comma is being shown as the decimal separator in the customizable options dropdown, it may be due to the locale settings or a specific issue with number formatting in your theme.

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

79502001

Date: 2025-03-11 20:13:51
Score: 3
Natty:
Report link

You are using strict equality operator ===, make sure your value of user type in database and in the code are same.

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

79501986

Date: 2025-03-11 20:08:50
Score: 1
Natty:
Report link

what is wrong with my code? every time i run it and input the set username it just makes me input my username again.

import time
username = "229796"
password = "rwqfsfascx"
yes = "update my system"
no = "continue to browser"
count = 0
while count < 3:
    user_choice = input('Enter username.')
    if user_choice == username:
        print('Remember this code: 17283645.')
        count = 4
    else: 
        print('Login unsuccessful, please try again.')
        count += 1
time.sleep(2) # Pause for 2 seconds
while count < 3:
    user_choice = input('Enter password.')
    if user_choice == password:
        print('Access granted.')
        count = 4
    else: 
        print('Login unsuccessful, please try again.')
        count += 1
print('Initiating system start. Please wait...')
time.sleep(3) # Pause for 3 seconds
print('System activated.')
time.sleep(1) # Pause for 1 second
user_choice = input('Would you like to update your system or continue directly to the browser?')
if user_choice == yes:
    print('Beginning system update. Please wait.')
    time.sleep(7) # Pause for 7 seconds
    print('System update complete. Opening browser.')
elif user_choice == no:
    print('Opening browser.')
else:
    print('Error 136. Please reload the system.')
time.sleep(2)
print('Browser activated. Opening .pjycs37 coding platform.')
time.sleep(2)
user_choice = input('Choose a programming language.')
print('Activating', user_choice, 'code platform.')
time.sleep(3)
print(user_choice, 'code platform activated.') 



Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): what is
  • Low reputation (1):
Posted by: user29965646

79501973

Date: 2025-03-11 20:03:49
Score: 1
Natty:
Report link

Regarding why JSSE is not offering EMS in the ClientHello, here is the explanation.

When FIPS-mode is turned on, the Red Hat Build of OpenJDK ensures all the cryptographic primitives come from the SunPKCS11 security provider, configured with NSS as its PKCS #11 back-end. This is a FIPS requirement, since NSS acts as the cryptographic module, subject to the FIPS-validation process. Even though the EMS extension is implemented in the SunJSSE provider, it requires a specific key-derivation primitive to be available through the SunPKCS11-NSS-FIPS provider. Given this primitive is not currently available, SunJSSE automatically disables the extension.

Why is it not available? Although an NSS vendor-specific mechanism exists, this hasn't been implemented in SunPKCS11 due to the lack of a standard PKCS #11 way of doing it. This is expected to be fixed in PKCS #11 v3.2, and we will be able to implement the required SunPKCS11 enhancement allowing the support of EMS in FIPS-mode (when that version of the standard is released).

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

79501965

Date: 2025-03-11 20:00:48
Score: 2.5
Natty:
Report link

I tested on Android version 13, and it doesn't work there as well. I have been testing on different Android devices with different Android versions. According to all my tests, this package only supports Android 14. Regarding iOS, I have been working with iOS 17 and 18, and it work very well.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: allan fernando mejia nolasco

79501959

Date: 2025-03-11 19:58:48
Score: 1
Natty:
Report link

I just moved the project file into another new empty folder in same directory 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: smdmoz

79501949

Date: 2025-03-11 19:50:46
Score: 1.5
Natty:
Report link

I know this is old, but at least as of now, it's pretty streamlined. If you open the GitLens sidebar in VS Code there should be a "Connect" button at the top next to icons of GitHub, GitLab, ADO, etc. Once clicked in the browser you select the respective service to connect with, in this case Azure DevOps, and it should redirect to ADO and request permissions.
enter image description here

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Nathanael Istre

79501946

Date: 2025-03-11 19:49:46
Score: 0.5
Natty:
Report link

Similar solution without having to explicitly specify columns or column index:

df = data.frame(person=c("a","b","c"),var1=c(1,2,3),var2=c(4,5,6))

df %>% mutate(total=rowSums(.[names(.)[names(.)!="person"]]))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user3667133

79501945

Date: 2025-03-11 19:49:46
Score: 2.5
Natty:
Report link

The same thing happened, I was spending about a half day writing fixes of my date saving logic and then finally connected to DB from local pgadmin and saw everything was ok. It's just the GUI of railway Postgres that breaks the date.

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

79501942

Date: 2025-03-11 19:45:45
Score: 1
Natty:
Report link

This is very confusing but somehow on API 29 the system navigation bar does not get covered but does on API 33. I only managed to avoid the overlay overlapping with navigation bar is my subtracting window height (currentWindowMetrics) with navigation bar inset (these APIs are available on API 30) along with setting the layout gravity.

I also experimented with several flags but none worked. In conclusion this change was added somewhere between API 30 and 33.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nishain de Silva

79501941

Date: 2025-03-11 19:45:44
Score: 7.5 🚩
Natty: 4
Report link

Tried by both options, none helped .. still getting same error from "flutter doctor"

Option 1:

1. url -L https://get.rvm.io | bash -s stable

2. rvm install ruby-3.4.2

3. rvm use ruby-3.4.2

4. rvm --default use 3.4.2

5. sudo gem install cocoapods

Option 2:

1. rvm uninstall ruby-3.4.2

2. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

3. brew install ruby 

4. updated .zshrc, to point PATH to /opt/homebrew/opt/ruby/bin

5. source ~/.zshrc

6. brew install cocoapods

In both options, validated that ruby version is 3.4.2 by running "ruby -v" command.

Getting same error and not able to overcome this error. Have been working to overcome it since two days. Any help would be appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (3): Any help would be appreciated
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): getting same error
  • Me too answer (0): Getting same error
  • Low reputation (1):
Posted by: srinivas biramoni

79501933

Date: 2025-03-11 19:42:43
Score: 3
Natty:
Report link

Thanks!
Still in March 2025 and it is the only reference also compatible with Doctrine migrations :-)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Joan Roqué

79501924

Date: 2025-03-11 19:39:42
Score: 1.5
Natty:
Report link

I actually think I have an option here in a not destructive way... albeit a touch hacky

What I am doing is getting a list of all the top level files and running a move for each of those items in a try catch...

Move to (pathname + ".temp") and back

This will fail if there is any user control issues (open folders or greedy processes) and succeed if all processes will continue without said file / directory.

This catches most of my edge cases, and may help someone else whose trying the same

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

79501913

Date: 2025-03-11 19:32:41
Score: 0.5
Natty:
Report link

I didn't code it already, but the most efficient way i can think of is by factoring and using the the generated Power set. Here's the basic idea.

Factoring

if a number is not prime, it can be factored into a product of primes. For instance:

Factoring and the Power Set

Now let's look at the divisors of 66, which we can deduce from it's factored state. They are:

  1. 1

  2. 2

  3. 3

  4. 11

  5. 2 * 3 = 6

  6. 2 * 11 = 22

  7. 3 * 11 = 33

  8. 2 * 3 * 11 = 66

But notice you'll find a similar result if you calculate the powerset of {2, 3, 11}, which is

{ {}, {2}, {3}, {11}, {2, 3}, {2, 11}, {3, 11} , {2, 3, 11}}

Note the size of the resulting set is 8, the number of divisors of 66. There's a property of power sets which states that the size of a powerset is 2^n, where n is the size of the original set. So you should be able to find the number of divisors of a number by factoring it and passing it as power of 2.

But this does not work for all numbers. For instance, the same strategy won't work for 22.308, because the number 2 appears twice when factored.

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

79501909

Date: 2025-03-11 19:30:40
Score: 10.5 🚩
Natty: 5.5
Report link

Were you able to resolve the issue?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve the issue?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lucas Gomes

79501903

Date: 2025-03-11 19:28:39
Score: 1
Natty:
Report link

To retrieve the view with the tag GoogleMapCompass in Kotlin, similar to the Java solution, you can adjust the position by modifying the rules of the RelativeLayout.

Here is an example where the button is positioned 50 pixels from the right and 150 pixels from the bottom:

val compassButton = (supportFragmentManager
    .findFragmentById(R.id.map) as SupportMapFragment)
    .requireView()
    .findViewWithTag<View>("GoogleMapCompass");

val rlp = compassButton.layoutParams as RelativeLayout.LayoutParams
rlp.addRule(RelativeLayout.ALIGN_PARENT_END)
rlp.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM)
rlp.removeRule(RelativeLayout.ALIGN_PARENT_START)
rlp.removeRule(RelativeLayout.ALIGN_PARENT_TOP)
rlp.bottomMargin = 150
rlp.rightMargin = 50

Screenshot of Google Map compass at bottom right position

For further customizations of the compass, you will need to create your own implementation.

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

79501898

Date: 2025-03-11 19:26:39
Score: 1
Natty:
Report link

In my case, I had forgotten to add the receiver to Manifest. Adding these lines fixed the issue:

<receiver
    android:name=".AlarmReceiver"
    android:exported="true" />
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hassaan J.

79501895

Date: 2025-03-11 19:25:39
Score: 1.5
Natty:
Report link

Node.js doesn’t seem to support directory imports based on this documentation. You have to explicitly point to your .js file for example:

import …from “./database/index.js”

You may also find the suggestions in this old SO post helpful for your case.

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yannco

79501893

Date: 2025-03-11 19:25:38
Score: 6.5 🚩
Natty:
Report link

I am facing the same issue while creating an instance of Db2 lite. I tried mentioning the version:11 in tags column in the configure your resource tab. It didn't work. Let me know if you got any solution or work around for that.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Srinivas

79501890

Date: 2025-03-11 19:24:37
Score: 2.5
Natty:
Report link

I have just released a framework for 6DoF object detection and tracking in the web browser. I works nicely on mobile, even low-end devices. It is released on Github under MIT license here: https://github.com/WebAR-rocks/WebAR.rocks.train

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

79501887

Date: 2025-03-11 19:22:37
Score: 0.5
Natty:
Report link

As far as I know there’s no dedicated test API key for Google Cloud Translation API. But there’s some strategies to mitigate costs during your development like applying API key restrictions such as IP addresses and HTTP referrers. For example when creating your API key, restrict access to specific IP addresses, This limits usage to your local development machines or your test server's IP and prevents accidental or unauthorized access from other sources.

But if you just really want to do a lot of API Key testing, then maybe the 90-day $300 free trial for Google Cloud is another option for you.

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

79501881

Date: 2025-03-11 19:20:37
Score: 1.5
Natty:
Report link

My bad, The AsyncNotifier automatically wraps the state into AsyncValue. So in my code, its a AsyncValue inside a AsyncValue which gave this behaviour. Converting state of AsyncValue<VirtualBook> to just VirtualBook solved the issue.

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

79501875

Date: 2025-03-11 19:15:36
Score: 1.5
Natty:
Report link

Your post is a bit tricky because it asks about stopping a thread (we'll call that "X") but strongly implies that reading SerialPort data is the ultimate goal (that we'll call "Y"). You said:

Any pointers for problems or a better / alternative way of doing it or any help is greatly appreciated.

In keeping with this, I'll try and share what's worked for me for both X and for Y.


Stopping the Thread (X)

If the code that you posted is the code you wish to keep (i.e. having a polling loop) then you might want to experiment with making the loop asynchronous so that you don't lose the UI thread context while the background work proceeds on an alternate thread. In this snippet:

public partial class MainForm : Form
{
    public MainForm()
    {
        InitializeComponent();
        checkBoxToggleServer.CheckedChanged += async (sender, e) =>
        {
            if (checkBoxToggleServer.Checked)
            {
                _cts?.Cancel();
                // Wait for previous run (if any) to cancel
                await _awaiter.WaitAsync();
                _cts = new CancellationTokenSource();
                try
                {
                    txtbox_log.AppendText("Serial Server Started", true, Color.Green);
                    while (true)
                    {
                        _cts.Token.ThrowIfCancellationRequested();
                        txtbox_log.AppendText(
                          $@"[{DateTime.Now:hh\:mm\:ss\ tt}] TEST! I'm running", true, Color.Blue);
                        await Task.Delay(TimeSpan.FromSeconds(2.5), _cts.Token);
                        // "do some more serial stuff here"
                    }
                }
                catch (OperationCanceledException)
                {
                    txtbox_log.AppendText("Serial Server Canceled", true, Color.Maroon);
                    checkBoxToggleServer.Checked = false;
                    _awaiter.Wait(0);
                    _awaiter.Release();
                }
            }
            else
            {
                if (_cts is not null && !_cts.IsCancellationRequested) _cts.Cancel();
            }
        };
    }
    SemaphoreSlim 
        _awaiter = new SemaphoreSlim(1, 1),
        _criticalSection = new SemaphoreSlim(1, 1);
    CancellationTokenSource? _cts = null;
}

stopping the thread

Where AppendText is an Extension for RichTextBox.
static class Extensions
{
    public static void AppendText(this RichTextBox @this, string text, bool newLine, Color? color = null)
    {
        var colorB4 = @this.SelectionColor;
        if(color is Color altColor) @this.SelectionColor = altColor;
        @this.AppendText($"{text}{(newLine ? Environment.NewLine : string.Empty)}");
        @this.SelectionColor = colorB4;
    }
}

Reading Serial Port Data

What I have found is that retrieving asynchronous data from a SerialPort takes on a different flavor because we're often listening to the DataReceived event and responding on an interrupt basis. This code snippet:

public partial class MainForm : Form
{
    SerialPort _serialPort = new();
    public MainForm()
    {
        InitializeComponent();

        _serialPort.DataReceived += async (sender, e) =>
        {
            await _criticalSection.WaitAsync();
            if (!IsDisposed) BeginInvoke((MethodInvoker)delegate
            {
                try
                {
                    if (sender is SerialPort port)
                    {
                        while (port.BytesToRead > 0)
                        {
                            byte[] buffer = new byte[16];
                            int success = port.Read(buffer, 0, buffer.Length);
                            BeginInvoke(() => 
                            { 
                                txtbox_log.AppendText($@"[{DateTime.Now:hh\:mm\:ss.ff tt}] ", false, Color.CornflowerBlue);
                                txtbox_log.AppendText( BitConverter.ToString(buffer, 0, success).Replace("-", " "),  true);
                            });
                        }
                    }
                }
                finally
                {
                    _criticalSection.Release();
                }
            });
        };

        checkBoxToggleServer.CheckedChanged += (sender, e) =>
        {
            if (checkBoxToggleServer.Checked)
            {
                _serialPort.Open();
                txtbox_log.AppendText($"Serial Server Started", true, Color.Green);
            }
            else
            {
                _serialPort.Close();
                txtbox_log.AppendText("Serial Server Canceled", true, Color.Maroon);
            }
        };
    }
    SemaphoreSlim 
        _awaiter = new SemaphoreSlim(1, 1),
        _criticalSection = new SemaphoreSlim(1, 1);
    CancellationTokenSource? _cts = null;
}

responding to SerialPort DataReceived

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): any help
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (3): any help is greatly appreciated
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: IV.

79501864

Date: 2025-03-11 19:11:35
Score: 2
Natty:
Report link

Turns out, The answer was under my nose. I just looked through my notes and found out I had to use this command:

ps aux --sort -%mem | paste -d ' ' > running_processes.csv

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

79501861

Date: 2025-03-11 19:10:34
Score: 1
Natty:
Report link

I'm not sure where I heard it or read it, but the way I know is that you want a single owner for every issue (user story, bug or task). There may be different subtasks of that user story that may be assigned to other people, but ultimately the owner of the user story reflects the person that is ultimately responsible to make sure that user story gets done. That person should be the developer that will do the work. The developers usually prepare a testing subtask for the user story when they are tasking it for themselves. The testing subtask may be re-assigned to other testers if needed and testers may create additional testing subtasks based on what they see. If they find bugs, they can create subtasks under that user story to fix it before the sprint end. If it looks like the bug will not be fixed before the sprint finishes, it can be turned into its own bug (issue, not subtask). But ultimately, the developer is responsible to make sure it goes through all phases.

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

79501842

Date: 2025-03-11 19:02:33
Score: 3.5
Natty:
Report link

According to Google Support, Autocomplete (NEW) Requires BOTH: Places (New) API + Places Legacy to be enabled (who knows why?) -- I was instructed to enable Legacy by going to: https://console.cloud.google.com/apis/library/places-backend.googleapis.com

Once that is enabled, the Autocomplete element worked as expected when using their Sample code: https://developers.google.com/maps/documentation/javascript/examples/place-autocomplete-element

Reasons:
  • Blacklisted phrase (0.5): why?
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Chad Reitsma

79501837

Date: 2025-03-11 19:01:32
Score: 3.5
Natty:
Report link

According to Google Support, Autocomplete (NEW) Requires BOTH: Places (New) API + Places Legacy to be enabled (who knows why?) -- I was instructed to enable Legacy by going to:

https://console.cloud.google.com/apis/library/places-backend.googleapis.com

Once that is enabled, the Autocomplete element worked as expected when using their Sample code: https://developers.google.com/maps/documentation/javascript/examples/place-autocomplete-element

Reasons:
  • Blacklisted phrase (0.5): why?
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Chad Reitsma

79501835

Date: 2025-03-11 19:00:32
Score: 2
Natty:
Report link

Visual isTranslatable: NO; reason: observation failure: noObservations is due to the default enabled Vision Text analysis that occurs for many views, You can disable this by updating fields like allowsVideoFrameAnalysis to false. I think that log is a warning that that subsystem does not detect any VisionKit based OCR output. (ie text on screen)

Please share the AVMutableComposition code, and not just the instruction. The Composition creation is missing, and i believe the timing there is wrong, as you have a 00:00:00 to 00:00:00 time. This tells me you did not insert an empty track and add a gap of 20 seconds to your MutableComposition.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please share
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: vade

79501830

Date: 2025-03-11 18:58:32
Score: 0.5
Natty:
Report link
function isGmail($email) {
    $email = trim($email); 
    $validate = substr($email, -10);
    

   if ($validate == "@gmail.com"){
       return true;
   }  
   
   return false;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: KHALID

79501821

Date: 2025-03-11 18:54:31
Score: 1
Natty:
Report link

I've it up in gunicorn.conf.py file as given here:

proc_name = "gunicorn"
default_proc_name = "gunicorn"

I referred the gunicorn docs https://docs.gunicorn.org/en/stable/settings.html

And run the service like:

gunicorn --name "gunicorn" -c gunicorn.conf.py wsgi:app

Even if you don't specify the --name flag, the default is set to be gunicorn.

and when the gunicorn service starts, it sets the values correctly and logs like:

display proc_name and default_proc_name

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

79501820

Date: 2025-03-11 18:54:31
Score: 1
Natty:
Report link
deactivate  # Exit venv  
venv\Scripts\activate  # Reactivate (Windows)  
source venv/bin/activate  # Reactivate (Mac/Linux)  
streamlit run your_script.py

run this in terminal 
 

and run vs code as administrator
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Prathamesh24

79501807

Date: 2025-03-11 18:47:29
Score: 3
Natty:
Report link

PHP is a server side script which means it can run processes, download files or initiate header redirections without outputting any HTML.

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

79501801

Date: 2025-03-11 18:45:29
Score: 1
Natty:
Report link

This is a known issue: Poetry Issue 10032 More context in 10031 and 10033 issues too.

Even with package-mode set to false, Poetry 2.0 mandates the presence of the project.name configuration but should be disallowed according to PEP 621.

I believe some documentation updates have been made to clarify this as shown in issue 1033.

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

79501798

Date: 2025-03-11 18:44:28
Score: 1
Natty:
Report link

I believe the issue lies in the following line:

Image.fromarray(np.asarray([blueAmount,blueAmount,blueAmount])

The numpy array you use here would have shape (3, x, y) rather than (x, y, 3) which may have been your intention.

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

79501797

Date: 2025-03-11 18:43:28
Score: 1
Natty:
Report link

The roles/redis.dbConnectionUser is in Beta and currently this is the only supported redis.clusters.connect for Cloud Memorystore Redis Db Connection User. Check this page to see the list of all basic and predefined roles for Identity and Access Management (IAM). Memorystore Redis roles

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

79501795

Date: 2025-03-11 18:42:28
Score: 1.5
Natty:
Report link

If you've managed to get a Module selected, you may be able to ignore the error and Continue Anyway. For me it runs Gradle, says "Install successfully finished," and then there's an error about running the project (presumably because it's in release mode on my physical watch, not remote debug mode in an emulator), but I'm still able to install the modified watch face on my device.

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

79501792

Date: 2025-03-11 18:41:27
Score: 6 🚩
Natty: 5.5
Report link

Did you guys find any way to click on skip ad button with JS ?

Reasons:
  • 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 you
  • Low reputation (1):
Posted by: deepak mehra

79501786

Date: 2025-03-11 18:38:26
Score: 4.5
Natty:
Report link

Have you added the required manifest declarations to indicate that you support messaging notifications?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
Posted by: Ben Sagmoe

79501785

Date: 2025-03-11 18:38:26
Score: 3
Natty:
Report link

According to their documentation, Angular v18+ requires PrimeFlex 4.x.x+

https://primeflex.org/installation

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

79501784

Date: 2025-03-11 18:38:26
Score: 0.5
Natty:
Report link

I've created a NodeJS package to deal with callbacks and I want to present it as a possible solution to avoid 'callback hell'.

It allows to run functions with callback arguments in parallel or in sequence, even accessing previous results (creating cascading calls, waterfall).

An example:

/*
Creates a log file from several other files using node:fs functions with callbacks.
*/

import { CB } from "callback-utility";


const logFile: string = path.resolve(__dirname, "mainLog.log"),
      file1:   string = path.resolve(__dirname, "file1.log"),
      file2:   string = path.resolve(__dirname, "file2.log"),
      file3:   string = path.resolve(__dirname, "file3.log"),
      file4:   string = path.resolve(__dirname, "file4.log");


// Create execution structure 
const structCB = 
    CB.s ( // 🠄 sequential structure as root

        // Delete current log file
        CB.f ( fs.rm, logFile, {force: true}), // 🠄 Creates a function structure using CB.f()


        // Create log from several files
        CB.p ( // 🠄 parallel structure, since the order in which every file is written in
               //    log is not important (can be parallelized)

            CB.s ( // 🠄 sequential structure
                CB.f ( fs.readFile, file1, {encoding: 'utf-8'} ),      // 🠄 read content 
                CB.f ( fs.appendFile, strLogFile, CB.PREVIOUS_RESULT1) // 🠄 write results from 
                                                                       //    previous call to log file
            ),

            // The same (in parallel) for every file ...
            CB.s (
                CB.f ( fs.readFile, file2, {encoding: 'utf-8'} ),
                CB.f ( fs.appendFile, logFile, CB.PREVIOUS_RESULT1)
            ),
            CB.s (
                CB.f ( fs.readFile, file3, {encoding: 'utf-8'} ),
                CB.f ( fs.appendFile, logFile, CB.PREVIOUS_RESULT1)
            ),
            CB.s (
                CB.f ( fs.readFile, file4, {encoding: 'utf-8'} ),
                CB.f ( fs.appendFile, logFile, CB.PREVIOUS_RESULT1)
            )
        )
    );


// Execute and retrieve results using Promise (async/await)
const objResult = await CB.e (structCB);


// Check results
if (objResult.timeout || objResult.error)
    console.log("Something went wrong while creating the log");
else
    console.log("Log created");

In the above example, 9 functions with callbacks were invoked and ran in parallel or in sequence, accordingly to the structure created to rule the execution.

All results can be retrieved at once.

Get, please, more info about it in npmjs.com/callback-utility

There are several good options available to address this issue, and I want to present a new one. I hope it will be useful.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Moacyr Catani

79501780

Date: 2025-03-11 18:35:25
Score: 9.5
Natty: 7
Report link

"This webpage was reloaded because it was using significant energy safari" reloads the pages and disrupts the conversation in the page. I think it is general and chronic issue in Safari. Is there any solution and anyone experiencing the same problem?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): Is there any
  • RegEx Blacklisted phrase (2): any solution and anyone experiencing the same problem?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: kerem

79501773

Date: 2025-03-11 18:33:24
Score: 1
Natty:
Report link

After some hard debugging and searching, I think I found where I am wrong.

  1. I declared Messages to be ObservableCollection, but it only Add operation will be notified to update the UI, .Text field change won't, to make the UI knows that .Text field changed in Messages, I need to let my ChatMessage class implement INotifyPropertyChanged

  2. After step 1, any message.Text field changed in Messages should trigger UI to update, but because of AI inference is CPU heavy, so `generator.GenerateNextToken();` will block the main thread, so I my case the UI will be updated after the AI part.

To solve my problem, I should try make `generator.GenerateNextToken()` async, so its execution won't block the main thread, I need to dig into Microsoft.ML.OnnxRuntimeGenAI to find a async method or find another library that provide async method.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Joey

79501772

Date: 2025-03-11 18:32:24
Score: 1.5
Natty:
Report link

Solved using match()

# Match-Method
t3 <- Sys.time()
v2_match <- letter_class[match(v1, data_key)]
Sys.time() - t3
# Time difference of 0.821255 secs
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: gvan

79501763

Date: 2025-03-11 18:28:23
Score: 0.5
Natty:
Report link

The best solution I found was to use imports via the Keras API. Instead of

from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import LSTM, Dense, Dropout
from tensorflow.keras.optimizers import Adam

I now use

from keras.api.models import Sequential
from keras.api.layers import LSTM, Dense, Dropout
from keras.api.optimizers import Adam

This way you can still import the objects directly, without needing to reference their parent. Note that this was tested in Linux using Tensorflow version 2.12 (which includes Keras 3).

API reference: Keras 3 API. Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yan Tavares

79501759

Date: 2025-03-11 18:27:23
Score: 3.5
Natty:
Report link

The reference website says that release branches are optional.

  1. A release can happen on trunk
  2. Or on a release branch

The latter can happen because you might want to “harden” a release. Which I interpret as cutting a release point, testing it, and incorporating urgent fixes. Meanwhile trunk can continue its life with whatever other changes which will not impact the release branch.

Keep in mind that there’s another dimension here:

  1. A preemptive release branch (what we just discussed)

  2. An after-release release branch

    - - - ★ - ★ - ★ - ★ trunk
           \v1.0
    

The latter here is relevant if you released 1.0, a bug was found and you need some version like 1.0.1 with just that bug fix. But trunk has many more commits at this point. But that’s not a problem. Just check out the tag and make a release branch. Then you can incorporate the change there.

How to incorporate changes between trunk and the release branches

How do you incorporate changes between the eternal trunk branch and the releases?

The reference has its guideline for this:

The best practice for Trunk-Based Development teams is to reproduce the bug on the trunk, fix it there with a test, watch that be verified by the CI server, then cherry-pick that to the release branch and wait for a CI server focusing on the release branch to verify it there too.

Apparently this is the Trunk Based Development approach. But I disagree. This is not the correct approach if you want to handle changes in the best way with Git.

Take the bug on v1.0 example. Is the bug urgent enough to fix on top of v1.0 and make a bug fix version? Then fix it there.

- - - ★ - ★ - ★ - ★ trunk
      v1.0 - ★ (bugfix)

Then merge it into trunk:

- - - ★ - ★ - ★ - ★ - - - ★ (merge) trunk
      v1.0 - ★ (bugfix) /

Now the upcoming v1.0.1 (or whatever it will be) will have the commit. Just query it:

git tag --contains=<bugfix commit>

As does trunk. Just query it:

git branch --contains=<bugfix commit>

You cannot directly query it if you use cherry-picks.

You should also get less merge conflicts since there is less merge-base drift when you avoid cherry-picks. You can imagine multiple releases and multiple cherry-picks on top of release branches or trunk. That means that Git has to go further back to calculate differences when doing future merges.

And if you have multiple releases? Merge upwards from the oldest release to trunk. For the release branches corresponding to these tags:

  1. v1.0.1 into 1.5.5
  2. 1.5.5 into 1.7.0
  3. 1.7.0 into trunk

Imagine having to use cherry-picks for all of that instead. The work compounds.

When cherry-picks might be relevant

The merge approach works well when you apply the change to the correct place from the start. But sometimes you might apply a fix to trunk and then later figure out that you want it in some release branch as well. Use cherry-pick in that case since that’s the only option anyway.

TBD website says not to do this

This should not be done according to the reference website:

You should not fix bugs on the release branch in the expectation of cherry-picking them back to the trunk. Why? Well in case you forget to do that in the heat of the moment. Forgetting means a regression in production some weeks later (and someone getting fired).

(Why not merge instead of cherry-pick?)

The emphasis on “forgetting” seems arbritrary here since their recommended approach is to fix on trunk, then wait until CI passes, then finally cherry-pick to the release branch. Well. What if you forget to cherry-pick that way?

We might risk getting fired here according to their corporate crystal ball. But fixing on the release branch and then merging to trunk is both neater and prioritizes the most immediate need:

  1. The upcoming release has the fix
  2. You might break trunk with a fix that works well for the release branch but not on `trunk** for some reason, which is a small inconvenience compared to a broken release
  3. You have all the time until the next release to remember to merge to trunk before the harm is done
    • Granted this is not a strong point if you release every day
    • But just merge immediately to trunk and don’t worry about forgetting it in the first place

Questions

In TBD, where should version updates (pom.xml changes) happen?

This does not have anything to do with any version strategy. The Maven Masters demand a build to have the correct version. So you need to have that on whatever commit you choose to release on.

What’s the recommended way to handle multiple active versions in TBD without causing confusion or conflicts?

It is poorly thought out. See the reference website again:

Merge Meister role

The process of merging commits from trunk to the release branch using ‘cherry pick’ is a role for a single developer in a team. Or dev pair, if you are doing Extreme Programming. Even then, it is a part time activity. The dev or pair probably needs to police a list of rules before doing the cherry pick. Rules like which business representative signed off on the merge. Perhaps the role should also rotate each day.

Some teams update a wiki to audit what made it to the release branch after branch cut, and some use ticket system as this by its nature interrupting and requiring of an audit trail of approvals.

The “merging” here means cherry-picking all changes that are going into a release.

No thanks. All you need:

Now, as mentioned, it is simple to query exactly what commits are in what tags and branches. It’s simple to see the discrepancy between any two points in the history. No “wiki to audit” needed beyond the standard fare (maybe issue tracker keys from the commit messages).

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): How do you
  • Blacklisted phrase (0.5): Why?
  • RegEx Blacklisted phrase (1.5): fix version?
  • RegEx Blacklisted phrase (2): urgent
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Guildenstern

79501754

Date: 2025-03-11 18:23:22
Score: 3.5
Natty:
Report link

p4 add -f -t symlink <dir1>, where -f is necessary

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

79501745

Date: 2025-03-11 18:20:21
Score: 4.5
Natty: 4
Report link

you can read the csv file like pandas python syntax using my lib https://github.com/hima12-awny/read-csv-dataframe-cpp

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

79501742

Date: 2025-03-11 18:19:21
Score: 0.5
Natty:
Report link

Bu Kodu Daha Kolay Anlamak İçin Ne Yapabilirsin?

Kodun eksik parçalarını tamamla. (Örneğin init() fonksiyonunun içinde ne olduğunu öğren.)
Hatayı düzelt ve tekrar çalıştır. (method="init()')" yerine method="init()")
Bu kodu ADF belgesinde nasıl kullanıldığını araştır.
Kendi bilgisayarında test edip çıktıyı görmeye çalış.

Bu kod sana JavaScript ve ADF'in birleşimi gibi karmaşık geldiyse, önce JavaScript öğrenerek başlayabilirsin. Eğer kodun belirli bir kısmını anlamıyorsan, o kısmı ayırıp sorabilirsin! 🚀

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

79501738

Date: 2025-03-11 18:16:21
Score: 2
Natty:
Report link

You are violating Google terms of use! - they will not allow you to use automation on their websites or services repeatedly without having to pay an API license. Hence why they have anti-bot captchas to protect their systems.

Try picking another website to automate that will you to do such things!

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

79501733

Date: 2025-03-11 18:13:19
Score: 6.5 🚩
Natty: 4
Report link

I'm having the same problem when installing flash-attn on Windows. Unfortunately PyTorch no longer support conda installation!
enter image description here

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chris Raper

79501730

Date: 2025-03-11 18:10:19
Score: 1.5
Natty:
Report link

I know this is an old discussion, but I think it's worth to add a probably better solution since I did not find any on the net. My scenario is that I want to move folders containing media files, movies, so copying takes a long time. Imagine moving a number of movies extracted from blu-ray disks and DVD's and you see what I mean.
Thing is that it is not possible to move a folder with content. But a file can be moved to another branch in the same folder tree as long as it is not moved outside the 'approved' folder tree. In my case it is approved by the user using the FolderPicker.
So, first I create a folder at the new location, then I rename the files to the path and name they will have in the folder at the new location, and finally remove the old folder.

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

79501725

Date: 2025-03-11 18:09:18
Score: 0.5
Natty:
Report link

I use a simple workaround. I paste the text:

first linesecond line

into any text editor (i.e. Light Notepad, but you can also do this inside xCode), add new line in proper place:

first line
second line

and copy two lines into the Localizable.xcstrings. It works.

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

79501720

Date: 2025-03-11 18:06:18
Score: 4
Natty:
Report link

I know too little about xml.... Found this: stackoverflow.com/questions/64243628/….

Looks like I had a namespace...

xml_ns(doc) output "d1"

now running 
>xml_find_all(doc, "//d1:t") #finds the text nodes! 
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user2299029

79501718

Date: 2025-03-11 18:06:18
Score: 1.5
Natty:
Report link

After numerous solutions, the one which works for all my chat-api, image-api, using spring-ai :

Try version 3.2.3 of SpringBoot,After modification, I can start

https://github.com/spring-projects/spring-ai/issues/683
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vineet Tripathi

79501717

Date: 2025-03-11 18:05:17
Score: 2.5
Natty:
Report link

Try using "ALT + Mouse drag" (hold ALT while selecting with the left mouse button) it will select without empty lines.

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

79501715

Date: 2025-03-11 18:04:17
Score: 0.5
Natty:
Report link

In the end I solved this by using a Shell Script,
I looked all around in the docs, and for StarRocks there is not such a thing as making UDF's or Procedures to ALTER TABLES, also no cursor/recursive functions.

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

79501713

Date: 2025-03-11 18:04:17
Score: 3.5
Natty:
Report link

Has anybody implemented same thing in LangGraph?

I want to export the verbose to a variable. Currently initialising the llm with the arguments prints the verbose in the command line.

Reasons:
  • 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: Rajesh Kumar

79501712

Date: 2025-03-11 18:04:17
Score: 0.5
Natty:
Report link

Have you checked the migration directory?

Source: Previously had this issue.

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

79501694

Date: 2025-03-11 17:58:14
Score: 6.5 🚩
Natty:
Report link

Thanks Leon Unfortunately it still doesn't work, I inserted in the Manifest:

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

<receiver android:name=".MyReceiver" android:exported="true" android:enabled="true">
    <intent-filter>
        <action android:name="com.google.firebase.MESSAGING_EVENT" />
    </intent-filter>
</receiver>

I made the receiver like this:

[BroadcastReceiver(Name= "MyReceiver", Enabled = true,Exported =true)]
[IntentFilter(["com.google.firebase.MESSAGING_EVENT"])]
public class MyReceiver : BroadcastReceiver
{
    public override void OnReceive(Context? context, Intent? intent)
    {
        if (intent != null && context!=null) 
        { 
                Intent serviceIntent = new(context, typeof(NotificationMessagingService));
              
                if (Build.VERSION.SdkInt >= BuildVersionCodes.O)
                {
                    Android.App.Application.Context.StartForegroundService(serviceIntent);
                }
                else
                {
                    Android.App.Application.Context.StartService(serviceIntent);
                }
                Intent main = new(context, typeof(MainActivity));
                context.StartActivity(main);
        }
    }
}
I also tried to insert the full name in the Receiver name, with no success.

The Messages I send are of this type:

Message message = new()
{
Data = new Dictionary<string, string>()
{
{"xxx","xxx"},
{"yyy","yyy"}
},
Topic = "gggg'
};
Do you have any other suggestions?
Tanks.
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2): any other suggestions?
  • RegEx Blacklisted phrase (2): it still doesn't work
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Antonio Moscati

79501692

Date: 2025-03-11 17:58:14
Score: 0.5
Natty:
Report link

When the configs are managed from Ambari UI., Here are the steps.

From
Ambari -> YARN -> Configs -> Adavcned Configs -> Advanced container-executor

The default values are

banned.users=hdfs,yarn,mapred,bin

Remove the hdfs user and other user required.

I prefer to remove hdfs and hive

Followed by restart of YARN service, should fix the values.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When the
  • Low reputation (0.5):
Posted by: Basapuram Kumar

79501689

Date: 2025-03-11 17:57:13
Score: 6 🚩
Natty: 4
Report link

@Jalpa, is the middleware AND ErrorBoundary needed to be able to handle all unhandled exceptions? e.g., does this depend on the render mode? does it handle circuit errors (eg, temporary & full Blazor disconnects), errors in razor components, errors in controllers, errors in the DB?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Jalpa
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Orion

79501684

Date: 2025-03-11 17:54:12
Score: 4
Natty:
Report link

How do I refresh the related UI after passing data into a server component in Next.js 15 (without full page refresh)? Problem I'm working with Next.js 15 and trying to update a server component's UI after a client component triggers a server action.

Here's the simplified setup: Client Component

'use client';

import { updateText } from './parent_comp';

export default function ClientComp() {
 const handleClick = async () => {
  await updateText('devtz007'); // Sends new data to the server
};
return (
 <button
  onClick={handleClick}
  style={{ color: 'black', background: 'coral' }}
 >
  Send Text
 </button>
 );
}

Server Component + Action

'use server';

import ClientComp from './client_comp';
import { revalidatePath } from 'next/cache';

let text = 'initial text';

export async function updateText(newText: string): Promise<string> {
 text = newText;
  // revalidatePath('/example_page'); // This re-renders the page, but I want a 
 more targeted update!
  return text;
}

export default async function ParentComp() {
  return (
    <>
      <p style={{ color: 'green', backgroundColor: 'coral' }}>
         Received Text: {text}
        </p>
       <ClientComp />
     </>
    );
}

What I’ve Tried

And the component:

export default async function ParentComp() {
   return (
     <>
      <p style={{ color: 'green', backgroundColor: 'coral' }}>{text}</p>
      <ClientComp />
     </>
    );

  }

Issue

  1. Is revalidateTag() re-rendering just the related portion (e.g.,

    Received Text

    ) or the whole page?
  2. If I use ClientComp on another page, clicking the button does not immediately update the ParentComp without a manual page refresh.
  3. I don’t want to use router.refresh() because it refreshes the full page.
  4. What's the intended pattern in Next.js 15 to partially refresh components after an action without reloading the whole page?
Reasons:
  • Blacklisted phrase (1): How do I
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How do I
  • Low reputation (1):
Posted by: Ch Farrukh

79501683

Date: 2025-03-11 17:54:12
Score: 4.5
Natty: 6
Report link

What you want may be to "Mute inline plotting" as described here https://docs.spyder-ide.org/current/panes/plots.html

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What you
  • Low reputation (0.5):
Posted by: Fırat Kıyak

79501681

Date: 2025-03-11 17:54:12
Score: 1
Natty:
Report link

A version of the code by @crazy2be which also respects newline characters already in the string, so that for example "Hello\nWorld!" becomes [ "Hello", "World" ]

function getLines(ctx, text, maxWidth) {
    const groups = text.split('\n');

    let lines = [];

    groups.forEach((group) => {
        const words = group.split(' ');

        let currentLine = words[0];

        for (let i = 1; i < words.length; i++) {
            const word = words[i];
            let width = ctx.measureText(currentLine + ' ' + word).width;
            if (width < maxWidth) {
                currentLine += ' ' + word;
            } else {
                lines.push(currentLine);
                currentLine = word;
            }
        }
        lines.push(currentLine);
    });

    return lines;
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @crazy2be
  • Low reputation (1):
Posted by: limes.pink

79501671

Date: 2025-03-11 17:51:11
Score: 2
Natty:
Report link

I encountered this today and it was due to the server datetime being way off. The date was March 11, 2025 at the time of this screenshot:

enter image description here

Once I corrected this, it started working again

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

79501662

Date: 2025-03-11 17:46:10
Score: 0.5
Natty:
Report link

The way I was able to adjust this was to ustilize their "attach='true'" property on those methods within vitest. When setting up my mounts I would have to import vuetify into the global plugins:

const vuetify = createVuetify({
  components,
  directives
})

The trick was to set the defaults for those properties in here:

const vuetify = createVuetify({
  components,
  directives,
  defaults: {
    VTooltip: {
      attach: true,
    }
  }
})

This may not be a good way to get around the teleport problems, but so far it has been working well.

I found a work around to my problem and wanted to share with people

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

79501661

Date: 2025-03-11 17:46:10
Score: 0.5
Natty:
Report link

In the Nuitka page you can read that

Nuitka Standard
The standard edition bundles your code, dependencies and data into a single executable if you want. It also does acceleration, just running faster in the same environment, and can produce extension modules as well. It is freely distributed under the Apache license.

Nuitka Commercial
The commercial edition additionally protects your code, data and outputs, so that users of the executable cannot access these. This a private repository of plugins that you pay to get access to. Additionally, you can purchase priority support.

So to encrypt all traceback outputs you have to buy the Commercial version.

In this Nuitka Commercial you can see the features only Nuitka Commercial offers.

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

79501660

Date: 2025-03-11 17:46:10
Score: 3.5
Natty:
Report link

Did you add the following tag in manifest?

<service
    android:name=".yourpackage.MyFirebaseMessagingService"
    android:directBootAware="true"
    android:exported="true">
    <intent-filter>
        <action android:name="com.google.firebase.MESSAGING_EVENT" />
    </intent-filter>
</service>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you add the
  • Low reputation (1):
Posted by: Phan Tuan

79501657

Date: 2025-03-11 17:45:09
Score: 2
Natty:
Report link

I downloaded your sheet and found that it would not properly sum. So I recreated it from "nearly scratch. The cost for an line item is calculated as the total cost of all items ($200) times the number of units in the line item all divided by the total of all the units in all of the line items. Hopefully you can get to my copy of your spreadsheet here : https://docs.google.com/spreadsheets/d/1yP7bFN-vV5W3RAPUSt3VSdDhE9JF2rWZV9lLTHi0_8c/edit?gid=0#gid=0

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

79501654

Date: 2025-03-11 17:45:09
Score: 1
Natty:
Report link

In researching App Pool Identities, I came across your question - late to the discussion but passing this on in case anyone else runs into it: the system doesn't create a user profile when using Application Pool Identity. According to Microsoft:

"However, with the switch to unique Application Pool identities, no user profile is created by the system. Only the standard application pools (DefaultAppPool and Classic .NET AppPool) have user profiles on disk. No user profile is created if the Administrator creates a new application pool."

Full documentation here: https://learn.microsoft.com/en-us/iis/manage/configuring-security/application-pool-identities#application-pool-identity-accounts

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

79501644

Date: 2025-03-11 17:42:09
Score: 1.5
Natty:
Report link

As it turns out, the solution was simpler than I expected.

Since those files are not necessary, I could simply remrove them from the repo and add them to .gitignore:

.gitignore

...

venv/
__pycache__/
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Maurício Schwartsman

79501630

Date: 2025-03-11 17:35:06
Score: 6.5 🚩
Natty:
Report link

what LLM provider are you using?

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

79501628

Date: 2025-03-11 17:35:06
Score: 1
Natty:
Report link

I was using WiFi (internet) and Ethernet networks. Docker was trying to use the latter, shutting it down solved the problem.

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

79501626

Date: 2025-03-11 17:35:06
Score: 1.5
Natty:
Report link

It worked for me to disable optimization with: "buildOptimizer": false,

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

79501623

Date: 2025-03-11 17:33:06
Score: 1.5
Natty:
Report link

In order to revert changes, you can perform two different actions:

  1. Manually changing the migration produced by the execution of this command

  2. Manually removing that migration file

Probably, you should also update the interested database tables, depending on your situation.

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

79501613

Date: 2025-03-11 17:30:05
Score: 2.5
Natty:
Report link

In the nearest Playwright version (1.52) there will be an option to set up the number of workers per specific project: https://github.com/microsoft/playwright/issues/21970

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

79501611

Date: 2025-03-11 17:29:05
Score: 1.5
Natty:
Report link

Check this out https://github.com/ekasetiawans/flutter_background_service/issues/285#issuecomment-1683243726

you may need to:

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

79501596

Date: 2025-03-11 17:19:02
Score: 3
Natty:
Report link

### Issue:

You are setting up an OpenSearch cluster using LocalStack on a Kubernetes pod, exposing it via a Kubernetes service. When making a search request, you encounter the error:

exception during call chain: Unable to find operation for request to service es: POST /api-transactions/_search

### Possible Causes & Fixes:

#### 1. Verify OpenSearch Domain Exists

Run the following command to confirm that the domain was created successfully:

awslocal opensearch list-domain-names --endpoint-url http://localhost:4566

Ensure that api-transactions appears in the output. If not, try recreating it.

#### 2. Check the OpenSearch Endpoint

Get the domain details and check its Endpoint:

awslocal opensearch describe-domain --domain-name api-transactions --endpoint-url http://localhost:4566

Ensure you are making requests to the correct endpoint.

#### 3. Ensure LocalStack Recognizes OpenSearch

Since you have specified both opensearch and es in the LocalStack SERVICES environment variable:

name: SERVICES

value: "dynamodb,s3,sqs,opensearch,es"

Try setting only opensearch:

name: SERVICES

value: "dynamodb,s3,sqs,opensearch"

Then restart the LocalStack pod.

#### 4. Verify Your OpenSearch Request Format

Your Go code is signing the request with:

signer, err := requestsigner.NewSignerWithService(awsCfg, "es")

Try changing "es" to "opensearch":

signer, err := requestsigner.NewSignerWithService(awsCfg, "opensearch")

LocalStack may expect opensearch instead of es for signing requests.

#### 5. Manually Test OpenSearch API

Test OpenSearch directly to check if the issue is with LocalStack or your application:

curl -X POST "http://localhost:4566/api-transactions/_search" -H "Content-Type: application/json" -d '{ "query": { "match_all": {} } }'

If you get the same error, the issue is likely with LocalStack’s OpenSearch service.

#### 6. Check LocalStack Logs for Errors

Run:

kubectl logs <localstack-pod-name> | grep "opensearch"

Look for any errors indicating OpenSearch initialization issues.

#### 7. Specify the OpenSearch Endpoint Explicitly in Your Code

Instead of relying on auto-discovery, explicitly set the OpenSearch endpoint in your Go client:

osCfg, err := opensearchapi.Config{ Addresses: []string{"http://localhost:4566"}, Transport: signer, }

This ensures your application is hitting the right OpenSearch URL.

#### 8. Restart LocalStack if Necessary

If nothing works, restart the LocalStack pod:

kubectl delete pod <localstack-pod-name>

Then, redeploy with:

helm upgrade --install localstack localstack/localstack

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): get the same error
  • Low reputation (1):
Posted by: Rahul Bansod

79501577

Date: 2025-03-11 17:11:01
Score: 1
Natty:
Report link

Try using SeleniumBase, it worked fine for me and it bypasses cloudflare with the CDP mode.

you can find examples on the cdp mode here, https://seleniumbase.io/examples/cdp_mode/ReadMe/#cdp-mode-api-methods

it also passes AntiCaptchaV2, and AntiCaptchaV3 like most of the time but not always, good luck trying.

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

79501568

Date: 2025-03-11 17:09:00
Score: 6 🚩
Natty:
Report link

Its is a loading issue I think so but not sure I have also face same issues

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): also face same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: king

79501553

Date: 2025-03-11 17:05:59
Score: 1.5
Natty:
Report link

Some CAs interpret the CA/B forum rules more strictly than others. Some require attestation proof that chains up to a hardware root of trust while others just require you to pinky promise that you use an HSM. A while back I asked our CA why they don't require the attestation and they said it isn't strictly required by the CA/B rules.

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

79501550

Date: 2025-03-11 17:05:59
Score: 2.5
Natty:
Report link

In my case, I was trying to create Amason Machine Image (AMI), and by default aws reboot the instance, which cause a disconnection.

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

79501549

Date: 2025-03-11 17:05:59
Score: 1.5
Natty:
Report link

Affective computing is a field that comprises systems that recognize, interpret, process, or simulate human feeling, emotion, and mood.[65] For example, some virtual assistants are programmed to speak conversationally or even to banter humorously; it makes them appear more sensitive to the emotional dynamics of human interaction, or to otherwise facilitate human–computer interaction.

However, this tends to give naïve users an unrealistic conception of the intelligence of existing computer agents.[66] Moderate successes related to affective computing include textual sentiment analysis and, more recently, multimodal sentiment analysis, wherein AI classifies the effects displayed by a videotaped subject.[67]

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

79501536

Date: 2025-03-11 17:01:58
Score: 2
Natty:
Report link

https://github.com/adamstark/Chord-Detector-and-Chromagram

This library is real-time and performs well enough to play along.

Usage with JACK Audio Connection Kit can be seen here: https://github.com/relascope/chordola

@herzmeister: the guys from melodyne don't talk much, but I think they are using the stuff from the experience around Sonic-Visualizer and Tony (https://sonicvisualiser.org/tony/)

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @herzmeister
  • High reputation (-1):
Posted by: relascope

79501529

Date: 2025-03-11 16:59:57
Score: 0.5
Natty:
Report link

Thanks to Alix for the general solution. Here's a version that doesn't depend on the Location header being in a fixed position.

$context = array
(
    'http' => array
    (
        'method' => 'GET',
        'max_redirects' => 1,
    )
);

@file_get_contents('https://YOUR-SHORTCUT-URL', null, stream_context_create($context));

$urlRedirect = NULL;
foreach ($http_response_header AS $header)
{
    $rec = explode(': ', $header);
    if (count($rec) == 2 && $rec[0] == 'Location')
        $urlRedirect = $rec[1];
}

if ($urlRedirect != NULL)
    echo "redirects to $urlRedirect";
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tom Saxton

79501522

Date: 2025-03-11 16:58:57
Score: 1
Natty:
Report link

I resolved in Visual Studio by going to Properties > Build then turn on 'Prefer 32-bit'.

Reasons:
  • Whitelisted phrase (-2): I resolved
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: RevitArkitek

79501519

Date: 2025-03-11 16:57:57
Score: 1.5
Natty:
Report link

Recreating an entire list of dates with a framework that can be quite slow loading, like Ext JS 3.x, sounds counter intuitive. But that's how to resolve this.

I copied my Browser Fixture properties that create the the first Programmatic List. And named these as Secondary Programmatic Dates, etc.

One saves the date whether it is going to be Post(ed) (activated, checked) or Deactivated (unchecked). Then using the secondary list, the date is returned to its pre-test value.

Working with the already existing list seems much faster an approach but IReadOnlyCollection is just that.

Jeff C, Diego, DeLaphante, thanks for the input.

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

79501515

Date: 2025-03-11 16:57:57
Score: 1.5
Natty:
Report link

you could try to add onClick conditionally:

<div {...!disabled && {onClick}}>{children}</div>

this way there will not be onClick added to the div if it is disabled

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

79501514

Date: 2025-03-11 16:56:56
Score: 2
Natty:
Report link

You should explicitly specify the certificate you want to sign with via its thumbprint by using the /sha1 switch. You can get the thumbprint by double clicking on the certificate in your certificate store, clicking on Details, then scroll down to the Thumbprint value.

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

79501512

Date: 2025-03-11 16:56:56
Score: 2.5
Natty:
Report link

If you're using context isolation as recommended by Electron, each window should have its own context and window object. That would prevent the leak as each window object is separate and would be removed alongside the closed window.

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