79597468

Date: 2025-04-29 01:37:35
Score: 8 🚩
Natty: 4
Report link

Quite old but I'll try my luck. Same issue for me but the rendering is still static. Could you give me the details of what you have try to get it work in VS Code?

Thanks in adavnce

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Could you give me
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Patrice

79597459

Date: 2025-04-29 01:23:31
Score: 1
Natty:
Report link

This is how you can get your own location:

import geocoder
 
g = geocoder.ip('me')
location = g.address
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tinyfold

79597456

Date: 2025-04-29 01:13:30
Score: 2.5
Natty:
Report link

How about solving it with code like below?


public class CustomPreference extends Preference {
    
    ..............

    @Override
    public void onBindViewHolder(@NonNull PreferenceViewHolder holder) {
        super.onBindViewHolder(holder);

        TextView tv (TextView)holder.findViewById(android.R.id.summary);
        if(tv != null) {
            if(mSummaryTextSize > 0) tv.setTextSize(mSummaryTextSize);
        }
    }

    private int mSummaryTextSize = 0;
    public void setSummaryTextSize(int size) {
        if(mSummaryTextSize != size) {
            mSummaryTextSize = size;
            notifyChanged();
        }
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Alex Hong

79597449

Date: 2025-04-29 01:05:28
Score: 1.5
Natty:
Report link

double subtotal = (double)nudBuffaloChickenSalad.Value * 13.25

+ (double)nudReuben.Value * 9.20

+ (double)nudWater.Value * 1.99

+ (double)nudWings.Value * 18.99

+ (double)nudChzPizza.Value * 10.99;

double discount = chkRewards.Checked ? subtotal * 0.05 : 0;

double tax = (subtotal - discount) * 0.06;

double total = (subtotal - discount) + tax;

lblSubtotal.Text = subtotal.ToString("C");

lblDiscount.Text = discount.ToString("C");

lblTax.Text = tax.ToString("C");

lblTotal.Text = total.ToString("C") ;

lblStatus.Text = "Calculated";

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

79597447

Date: 2025-04-29 00:58:26
Score: 3.5
Natty:
Report link

You could try forcing an empty array?

import numpy as np
import gc

# After clearing your data:
data.clear()
np.empty((0,)) # forces numpy malloc/free touch
gc.collect()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Prometheus

79597434

Date: 2025-04-29 00:30:21
Score: 0.5
Natty:
Report link

Double check that you're not calling useAppDispatch or useAppSelector outside of the store provider context.

This was the case for me. NextJS was throwing this esoteric error while collecting page data.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kyle S.

79597423

Date: 2025-04-29 00:15:17
Score: 2
Natty:
Report link

Extending the solution of @Tangentially Perpendicular you could insert the div style inside the <style> marker:

<style>
body {
  background-image: url("starbackground.gif");
}
div[id="textbox"]{
margin-left:100px;
}
</style>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Tangentially
  • Low reputation (1):
Posted by: Eddi

79597414

Date: 2025-04-29 00:02:15
Score: 0.5
Natty:
Report link

Well, what you can do is to create a "header" file if your file is app.py you can create a functions_app.py (put all your functions here) and in app.py you will do a from functions_app import * and then you can use all functions you want in any order without having to worry about where they are declared. This way you can have a file with setup variables at the beginning of the script which is I GUESS what you want. I do this too.

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

79597413

Date: 2025-04-29 00:01:14
Score: 2.5
Natty:
Report link

I found by trying this method I kept receiving the error that the tensor cannot be converted into a sequence. No matter what I did, the tensor won't allow me to pull the token values from it and convert them back into their pre-tokenized English words.

"'Tensor' object cannot be converted to 'Sequence'"

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

79597405

Date: 2025-04-28 23:52:13
Score: 0.5
Natty:
Report link

After some experimentation, it seems that binary_closing is the best helper. And it is important to vary the structure, to avoid artifacts with "square corners"

import scipy.ndimage as nd

bones = img_data > args.threshold
n = 5
for t in range(2):
    nd.binary_closing(bones, iterations=1, output=bones, structure=np.ones((n,n,n)))
    nd.binary_closing(bones, iterations=1, output=bones)
nd.binary_opening(bones, iterations=1, output=bones)

bone_labels, num_feat = nd.label(bones)
vals, counts = np.unique(bone_labels, return_counts=True)
vals = vals[1:]
counts = counts[1:]
print('begin erase small labels')
for i,value in enumerate(vals):
    if counts[i] < args.min_size:
        bones[bone_labels == value] = False

The bones is a binary mask. The last part labels all components and then aggressively deletes the small ones. The min_size is 1500 in my case.

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

79597400

Date: 2025-04-28 23:39:10
Score: 1
Natty:
Report link

If you have admin, you could create a Mail Flow Rule that tells exchange:

"Never mark incoming email as spam" (for all messages, or for a specific mailbox).

This would send all emails to the inbox folder regardless of if they would usually be classed as spam.

Steps:

This may not be helpful, as it does not change your code, but it is functional. I hope it does help though. ^_^

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

79597397

Date: 2025-04-28 23:34:09
Score: 1.5
Natty:
Report link

This isn't an amazing option but is the only one that comes to mind. You can create a separate form for each step and when clicking "next", you store the data in a context of some kind. That way you write a form with validation onBlur. Then only allow progression to the next page if the current page is valid. On the final submit, pull the data from the previous pages into the query.

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

79597396

Date: 2025-04-28 23:30:08
Score: 3.5
Natty:
Report link

This should be resolved in 5.12.2.

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

79597381

Date: 2025-04-28 23:09:04
Score: 1
Natty:
Report link

After you create the PM, you set a frequency where the PMWoGenCronTask looks at the PM module for the next due date (you have to set this initially when creating the PM). Afterwards, if you want to notify the asset managers, you can create an escalation with a communication template that looks a certain window (like all the PMs created on the first of every month). Unfortunately, it would likely be individual emails per eligible work order.

If you involved automation scripts to send a CSV to each asset manager with grouped work orders, or Object Structure and Publish Channels via Maximo Integration Framework (MIF), you could also send out monthly files to asset managers.

All of the above is a bit overkill, if the asset managers can log into Work Order Tracking and view the latest work orders sorted by Target Start Date.

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

79597371

Date: 2025-04-28 22:54:01
Score: 1.5
Natty:
Report link

I got it working, here's how I did it:

  1. Open devtools [F12]
  2. Navigate to Sources, Overrides subtab, click [X] Enable Local Overrides
  3. Navigate to Page subtab, find the stylesheet (usually in the css folder tree)
  4. Right click the stylesheet and select "Save for overrides"

You can now edit in the main editor window and see changes live. CTRL-S to save.

To turn off local override, go back to Overrides sub tab and uncheck [ ] Enable Local Overrides

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

79597361

Date: 2025-04-28 22:35:57
Score: 1.5
Natty:
Report link

Seems like a lot of coding when generally speaking the best way to deal with the NULL values is in a where clause. What lingers in all of these solutions is the lack of a where clause. Remove the NULLS in the where clause and the count will work more naturally.

Select count(distinct field_value) where field_value is NOT NULL

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

79597353

Date: 2025-04-28 22:23:54
Score: 6.5 🚩
Natty: 5
Report link

Can you please let us know if we can install Airflow in Windows 10 directly using Jupyter NB w/o docker and Linux.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please let us know
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you please
  • Low reputation (1):
Posted by: P Kumar

79597351

Date: 2025-04-28 22:19:53
Score: 3.5
Natty:
Report link

slant

This is a test response to see whether the slant functionality works.

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

79597345

Date: 2025-04-28 22:10:50
Score: 0.5
Natty:
Report link

@Rhys, sorry, but I don't understand the 'stacking' .... so, here's a slightly modified version of your script, demonstrating the write to the files happen in thread order despite what the order of the print(....In/Out) messages may appear on the terminal. If this does not clarify for you then i can't help any more without a clearer description of the issue.

cat test.py 
import concurrent.futures
import random
import datetime 

# Analysis of text packet
def Threads1(curr_section, index1):
    words = open('test.txt', 'r', encoding='utf-8', errors='ignore').read().replace('"', '').split()

    longest_recorded = []
    for ii1 in words:
        test1 = random.randint(1, 1000)
        if test1 > 900: break
        else: longest_recorded.append(ii1)

    perc = (index1 / max1) * 100
    print(str(datetime.datetime.now().time()) + ' In:  ' + str([index1, str(int(perc))+'%']), flush=True)
    return [index1, longest_recorded]


# Split text into packets
max1 = 20; count_Done = 0; ranger = [None for ii in range(0,max1)]
print(str(int((count_Done / max1) * 100)) + '%')

with concurrent.futures.ThreadPoolExecutor(max_workers=1) as executor:
    working_threads = {executor.submit(Threads1, curr_section, index1): curr_section for index1, curr_section in enumerate(ranger)}

    for future in concurrent.futures.as_completed(working_threads):
        count_Done += 1
        current_result = future.result()

        # Write to disk (random)
        text1 = 'a: thread:' + str(current_result[0])  + ' : ' + str(datetime.datetime.now().time()) # + ':' + 'a' *  (random.randint(1000, 1500) - 500)
        with open('temp_Publish.txt', 'a', encoding='utf-8') as file: # append
            file.write(text1 + '\n')

        # Write to disk (random)
        text2 = 'b :thread:' + str(current_result[0])  + ' : ' + str(datetime.datetime.now().time()) # + ':' + 'a' *  (random.randint(1000, 1500) - 500)
         
        with open('threads.txt', 'a', encoding='utf-8') as file: # append
            file.write(text2 + '\n' )

        print(str(datetime.datetime.now().time()) + ' Out: ' + str([current_result[0], str(int((count_Done / max1) * 100)) + '%']), flush=True)

#
# clear down any existing outputs
#  
rm -f threads.txt temp_Publish.txt
#
#
python test.py 
0%
22:55:08.067920 In:  [0, '0%']
22:55:08.069660 In:  [1, '5%']
22:55:08.069706 Out: [0, '5%']
22:55:08.071114 In:  [2, '10%']
22:55:08.072442 In:  [3, '15%']
22:55:08.072884 Out: [1, '10%']
22:55:08.073888 In:  [4, '20%']
22:55:08.075159 In:  [5, '25%']
22:55:08.076440 In:  [6, '30%']
22:55:08.076826 Out: [2, '15%']
22:55:08.077735 In:  [7, '35%']
22:55:08.079142 In:  [8, '40%']
22:55:08.079579 Out: [3, '20%']
22:55:08.080298 In:  [9, '45%']
22:55:08.081270 In:  [10, '50%']
22:55:08.081626 Out: [4, '25%']
22:55:08.082362 In:  [11, '55%']
22:55:08.083296 In:  [12, '60%']
22:55:08.084155 In:  [13, '65%']
22:55:08.084434 Out: [5, '30%']
22:55:08.085052 In:  [14, '70%']
22:55:08.086036 In:  [15, '75%']
22:55:08.086921 In:  [16, '80%']
22:55:08.088107 In:  [17, '85%']
22:55:08.089462 In:  [18, '90%']
22:55:08.089851 Out: [6, '35%']
22:55:08.090772 In:  [19, '95%']
22:55:08.091278 Out: [7, '40%']
22:55:08.091479 Out: [8, '45%']
22:55:08.091696 Out: [9, '50%']
22:55:08.091905 Out: [10, '55%']
22:55:08.092107 Out: [11, '60%']
22:55:08.092311 Out: [12, '65%']
22:55:08.092508 Out: [13, '70%']
22:55:08.092703 Out: [14, '75%']
22:55:08.092857 Out: [15, '80%']
22:55:08.093000 Out: [16, '85%']
22:55:08.093144 Out: [17, '90%']
22:55:08.093291 Out: [18, '95%']
22:55:08.093461 Out: [19, '100%']
#
# show file contents - side by side for convenience
#
paste threads.txt temp_Publish.txt 
b :thread:0 : 22:55:08.068613   a: thread:0 : 22:55:08.068403
b :thread:1 : 22:55:08.071506   a: thread:1 : 22:55:08.070138
b :thread:2 : 22:55:08.074275   a: thread:2 : 22:55:08.072966
b :thread:3 : 22:55:08.078270   a: thread:3 : 22:55:08.077831
b :thread:4 : 22:55:08.080626   a: thread:4 : 22:55:08.079636
b :thread:5 : 22:55:08.081744   a: thread:5 : 22:55:08.081663
b :thread:6 : 22:55:08.087198   a: thread:6 : 22:55:08.085128
b :thread:7 : 22:55:08.091212   a: thread:7 : 22:55:08.089909
b :thread:8 : 22:55:08.091389   a: thread:8 : 22:55:08.091321
b :thread:9 : 22:55:08.091606   a: thread:9 : 22:55:08.091536
b :thread:10 : 22:55:08.091819  a: thread:10 : 22:55:08.091743
b :thread:11 : 22:55:08.092018  a: thread:11 : 22:55:08.091949
b :thread:12 : 22:55:08.092238  a: thread:12 : 22:55:08.092154
b :thread:13 : 22:55:08.092434  a: thread:13 : 22:55:08.092353
b :thread:14 : 22:55:08.092616  a: thread:14 : 22:55:08.092552
b :thread:15 : 22:55:08.092811  a: thread:15 : 22:55:08.092747
b :thread:16 : 22:55:08.092954  a: thread:16 : 22:55:08.092890
b :thread:17 : 22:55:08.093098  a: thread:17 : 22:55:08.093034
b :thread:18 : 22:55:08.093244  a: thread:18 : 22:55:08.093178
b :thread:19 : 22:55:08.093413  a: thread:19 : 22:55:08.093326
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Rhys
  • Looks like a comment (1):
Posted by: ticktalk

79597340

Date: 2025-04-28 22:03:48
Score: 3
Natty:
Report link

Messages come in through the gateway. Use any websocket viewer on this url, gateway.discord.gg/?v=9&encoding=json just connect using your bot token (discord user accounts also work identically) and you can see the messages and other packet types coming in.

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

79597337

Date: 2025-04-28 22:00:47
Score: 7
Natty: 7
Report link

Not enough reputation to comment... but Fabricio's updated link appears to be: https://nielsberglund.com/post/2017-02-11-rabbitmq---sql-server/

Reasons:
  • Blacklisted phrase (1): to comment
  • RegEx Blacklisted phrase (1.5): enough reputation to comment
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tyson Moore

79597313

Date: 2025-04-28 21:33:40
Score: 2
Natty:
Report link

backdrop-filter also does not seem to work if one of the parent elements already has a (any!) backdrop-filter applied.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: H vd Meulen

79597306

Date: 2025-04-28 21:26:39
Score: 1
Natty:
Report link

You could add

pipe.enable_attention_slicing()

before sending it to cuda, however this will reduce the speed of the image generation.

Resolution can be changed by adding height and width arguments to the image definition.

image = pipe(prompt, height=512, width=512).images[0]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Prometheus

79597303

Date: 2025-04-28 21:24:38
Score: 2
Natty:
Report link

Just figured it out.

print(packet.frame.packet_flags) 

I was trying .flags but looked up all the field names with packet.frame.field_names

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

79597294

Date: 2025-04-28 21:13:35
Score: 2.5
Natty:
Report link

For all people from these years and future: In my Node-RED version 3.1.14 there is a Tab "Setup" where you can add custom modules. Did not need to modify any setup.js ✌🏼

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

79597293

Date: 2025-04-28 21:12:35
Score: 1
Natty:
Report link

If you want a fully featured terminal interface, curses is the way to go: https://docs.python.org/3/library/curses.html

For this, though, readline is pretty good: https://docs.python.org/3/library/readline.html

It should be noted that, despite being in the standard library, it might not be available on some windows python installs. (python's readline module not available for windows?)

import readline

def setup(text):
    readline.insert_text(text)
    readline.redisplay()

readline.set_pre_input_hook(lambda: setup("DEFAULT"))
a = input("Type your input here: ")

print(f"\n\"{a}\"\n")

readline.set_pre_input_hook(lambda: setup("OTHER DEFAULT"))
a = input("Type your input here: ")

print(f"\n\"{a}\"")
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Robert Boerwinkle

79597286

Date: 2025-04-28 21:06:34
Score: 0.5
Natty:
Report link

The docs state that you have to

disable HTTP long-polling on the client-side

But you are still trying to use polling

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

79597261

Date: 2025-04-28 20:45:28
Score: 0.5
Natty:
Report link

This is actually a PHP syntax typo not a WooCommerce function misunderstanding. The line

$_product = wc_get_product('$courseID');

asks for a product with an ID that matches a string that starts with a dollar sign (and is followed by eight other letters). Why? PHP does not evaluate variables inside single-quoted strings the way it does for double-quoted strings.

The $courseID variable holds a number, and the string 7172 can also be "cast" to a number, so neither of them fail. The following two corrected versions of the line are equivalent (unless strict typing is turned on):

$_product = wc_get_product("$courseID");
$_product = wc_get_product( $courseID );
Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: David

79597231

Date: 2025-04-28 20:23:23
Score: 3
Natty:
Report link

Something to consider here that I don't see on any of the posts in terms of a company context: Has your repo been migrated elsewhere and locked in Azure? I was getting the same error and it turns out that a team I hadn't worked for in a while had migrated the repo to another service

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

79597230

Date: 2025-04-28 20:22:22
Score: 3
Natty:
Report link

check if your enum has not setter method and check the value of enum is final

private final String value;

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

79597221

Date: 2025-04-28 20:13:21
Score: 1.5
Natty:
Report link

Solution for me

from  keras import layers
layers.RandomFlip("horizontal")

OR

from keras.layers import RandomFlip
RandomFlip("horizontal")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: HeroLikeNoOther

79597215

Date: 2025-04-28 20:10:16
Score: 7.5 🚩
Natty:
Report link

This is not working for me. Tough life :(

Reasons:
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdullahi Oladimeji

79597212

Date: 2025-04-28 20:09:16
Score: 2
Natty:
Report link

i think the problem is your memset is trying to 1. doesnt have enough space to allocate or 2. the memory got corrupted somehow. you may even mallocated more memory for the kernel directory than you can, but thats the only things i can think of. when dealing with low level stuff it is hard to debug. the mapping may not be correct, im sorry i couldnt answer tho

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

79597211

Date: 2025-04-28 20:07:15
Score: 1
Natty:
Report link

axis aligned solution 3D: maximum of chessboard distance transform

diagonal solution 3D: maximum of taxicab distance transform

largest inner sphere: maximum of Euclidean distance transform

*SciPy ndimage has them all^

Rotated cube:

Using the following facts:

  1. The largest sphere that fits inside a cube has radius L/2.

  2. The largest cube that fits inside a sphere has length r/sqrt(3).

  3. Thresholding the distance transform of a cube returns a cube

The center of the cube must lie at least r/sqrt(3) away from any boundary. Thresholding the Euclidean distance transform EDT at this value will retain at most Volume(shrunk largest cube) = ([1-1/sqrt(3)]N)^3 = 0.0755..N^3. Updating the threshold new_max = (previous_max + current_max)/sqrt(3) and recompute the EDT. Iterate until convergence.

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

79597208

Date: 2025-04-28 20:04:14
Score: 4
Natty:
Report link

Я просто снёс все старое и с нуля написал, набрал всё новое. Ушло дня три, но всё работает. Возможно, так будет проще, за одно и рефакторинг проведёте, вспомните, узнаете что-то новое )

А там много чего там есть и чего-то нет, в двух словах не опишешь. Но необходимые вещи для работы описаны на самом сайте Кейклока (нужные 3-4 либы). Там все инструкции должны быть.

Reasons:
  • No code block (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Kira 狐39

79597196

Date: 2025-04-28 19:58:12
Score: 2
Natty:
Report link

EDIT: Turned out I was too lazy to read the source code. Of course, looking at the implementation code, we can find the getNode(Object o) method which is called by get(Object o) method. Inside of it, indeed, the correct bucket is first accessed by calculating the following formula: (n-1) & hash, where n is the length of the internal array. Then for the first node (and each of the rest if there are more) we are comparing the hash of the Object o passed into the method with the hash of the Node/entry. If the hashes are equal, then the equals() method runs to make sure it's the same. If the hashes are not equal, well, then it skips to the next node (if the .next property is not null).

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

79597191

Date: 2025-04-28 19:53:11
Score: 2
Natty:
Report link

Hydra: Shield çöktü artık gölgelerde saklanan hydra yeryüzüne çıkabilir ve dünyanın hakimi olabilir Red Skull'un bıraktığı işi bitirmeye çok az kaldı çok yaşa Hydra Not: Kış Askeri programı kapatılmalı ve Buck Barnes'ın beyin yıkaması bırakılmalı artık huzur içinde uyuyabilir bide T.A.H.I.T.I programını tekrar devreye sokmak gerekebilir Yaşa Hydra

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Phil J. Coulson

79597186

Date: 2025-04-28 19:47:09
Score: 3
Natty:
Report link

Sorry for going somewhat off-topic, but that looks like the exact sort of extension I've been trying to create, and I'm also (horribly) new to TypeScript, so it hasn't gone well. Do you happen to have it on your GitHub or somewhere? I'd be interested in taking a look and/or collaborating.

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

79597182

Date: 2025-04-28 19:45:09
Score: 1
Natty:
Report link

It is a technique used to optimize a certain class of DP problems that involve the minimum (or maximum) of linear functions. You can read more about CHT here

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

79597180

Date: 2025-04-28 19:43:08
Score: 0.5
Natty:
Report link

As Gino Mempin said, you need to install Pylance via a .VSIX file, but, as written in this GitHub issue, you need to install the 2023.6.40 version.

In any case, it worked for me, unlike the last version.

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

79597178

Date: 2025-04-28 19:42:08
Score: 2
Natty:
Report link

When I moved over the IIS settings from one server to another, it did not automatically set the certificate correctly. So there was a blank certificate setup for https in IIS. Setting the certificate for the website fixed this error.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • High reputation (-1):
Posted by: Cryptc

79597157

Date: 2025-04-28 19:23:04
Score: 2
Natty:
Report link
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<artifactId>simple-java21-maven</artifactId>
<version>1.0.0</version>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Maruf Ahmed

79597145

Date: 2025-04-28 19:14:01
Score: 4.5
Natty:
Report link

you can use navigator.deviceMemory

for more info, please watch this video. https://youtu.be/zcxA1kVza4Q?si=pQX1OfADZlmS4-wy

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (1): this video
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hareram Ray

79597136

Date: 2025-04-28 19:07:59
Score: 4
Natty:
Report link

Thanks to @Clemens, the answer was to set Stretch="Uniform" on the Paths

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • Has code block (-0.5):
  • User mentioned (1): @Clemens
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: JoshQuake

79597134

Date: 2025-04-28 19:02:58
Score: 2.5
Natty:
Report link

Nope..the above scenario is totally change from the text.In the above pic they are talking about the textform field which is difficult to place in one row.In my opinion take one row and then add two TextformField

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

79597129

Date: 2025-04-28 18:59:57
Score: 1.5
Natty:
Report link

Monolithic and layered system (n-layer) are not mutually exclusive. The former is an architectural style, while the latter is a way to separate responsibilities.

Your Visual Studio solution sounds like a monolithic, multi-layer system.

Microservices is an n-tier pattern where each subsystem is autonomous and handles a different business activity.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: U. Malik

79597124

Date: 2025-04-28 18:56:56
Score: 0.5
Natty:
Report link

I think your problem is because your vector is rotating around its origin, and that is (0, 0), so you'll need to add up the two vectors, and you don't need to increase the rotating angle, as that makes the clock spin faster and faster.

This is how I implemented it in code:

import pygame, sys
from pygame import Vector2

pygame.init()
screen = pygame.display.set_mode((500, 500))
clock = pygame.time.Clock()
SCREEN_UPDATE = pygame.USEREVENT
pygame.time.set_timer(SCREEN_UPDATE, 100)

vector = Vector2(250, 100)
center = Vector2(250, 200)

while True:
    for event in pygame.event.get():

        if event.type == pygame.QUIT:
            pygame.quit()
            sys.exit()

        if event.type == SCREEN_UPDATE:
            vector.rotate_ip(1)


    screen.fill('black')
    pygame.draw.line(screen, 'white', center, center+vector)

    pygame.display.flip()
    clock.tick(60)

Please correct me if I am wrong.

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

79597123

Date: 2025-04-28 18:56:55
Score: 7.5 🚩
Natty: 4
Report link

Which version of SQLite are you using? I'm facing the same problem but the anwsers above are not helping me

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (1):
Posted by: José Leite da Cruz

79597111

Date: 2025-04-28 18:46:53
Score: 1
Natty:
Report link
app = Flask(__name__)
# ...
with app.app_context():
    app.logger.info(f"Running {os.environ.get('FLASK_APP')} on http://{os.environ.get('FLASK_RUN_HOST')}:{os.environ.get('FLASK_RUN_PORT')} ...")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Leszek Pachura

79597106

Date: 2025-04-28 18:41:52
Score: 2
Natty:
Report link

That's because both serve different purposes. There are many tasks in NLP where you simply need to tokenize by word. Handling multi-word expressions where there are certain pre-defined phrases you would like to keep fixed during tokenization, you use MWEtokenizer. If you use n-grams, then you might get irrelevant combinations, which requires additional time in filtering the unwanted ones, unless there is an exploration aspect to your task, where you are looking for a specific phrase.

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

79597105

Date: 2025-04-28 18:40:52
Score: 2
Natty:
Report link

From your description and the provided screenshots, it's challenging to pinpoint the exact cause of your problem, because the issue can result from multiple possible issues. To effectively debug this, additional information would be helpful, such as:

However there are multiple problems that I can see in your code:
$emails['WC_Email_Customer_Doi_Xac_Nhan_Order'] = include get_stylesheet_directory() . '/woocommerce/emails/class-wc-email-customer-doi-xac-nhan-order.php';

This approach is incorrect because you're directly using include, which returns only a boolean (true) or the return statement from the included file—not the actual instantiated object you need for WooCommerce emails.

I would use it like this:

add_filter('woocommerce_email_classes', 'add_custom_order_status_emails');

function add_custom_order_status_emails($emails) {
    // Include your email class files
    require_once get_stylesheet_directory() . '/woocommerce/emails/class-wc-email-customer-doi-xac-nhan-order.php';
    require_once get_stylesheet_directory() . '/woocommerce/emails/class-wc-email-admin-da-cap-nhat.php';
    require_once get_stylesheet_directory() . '/woocommerce/emails/class-wc-email-customer-da-cap-nhat.php';

    // Properly instantiate each email class
    $emails['WC_Email_Customer_Doi_Xac_Nhan_Order'] = new WC_Email_Customer_Doi_Xac_Nhan_Order();
    $emails['WC_Email_Admin_Updated']               = new WC_Email_Admin_Updated();
    $emails['WC_Email_Customer_Updated']            = new WC_Email_Customer_Updated();

    return $emails;
}

// Trigger custom emails on order status change
add_action('woocommerce_order_status_changed', 'trigger_custom_order_email', 10, 4);

function trigger_custom_order_email($order_id, $old_status, $new_status, $order) {
    if ($new_status === 'doi-xac-nhan') {
        WC()->mailer()->emails['WC_Email_Customer_Doi_Xac_Nhan_Order']->trigger($order_id);
    }

    if ($new_status === 'da-cap-nhat') {
        WC()->mailer()->emails['WC_Email_Admin_Updated']->trigger($order_id);
        WC()->mailer()->emails['WC_Email_Customer_Updated']->trigger($order_id);
    }
}

WooCommerce expects e-mail specific CSS to be available in the following files:
your-theme-folder/woocommerce/emails/email-styles.php

Before doing a real test, you can test it in WooCommerce -> Settings -> Emails -> [Your Custom Email] -> View Template

Please let me know how you progress - and if you provide more information, it will be handled easily.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please let me know how you
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mark

79597102

Date: 2025-04-28 18:39:51
Score: 1.5
Natty:
Report link

Thanks to Reinderien's comment, I was able to figure this out - I had no idea what a Kronecker product was until now. sp.kron does exactly what I want, with the added benefit of being able to multiply each block by a coefficient.

For the contrived example, the code to specify the pattern would be:

import scipy.sparse as sp
import numpy as np

# Setup subarray and big array parameters
a, b, c, d = 1, 2, 3, 4
sub = sp.coo_array([[a, b], [c, d]])
N = 8

# Setup block locations for our arbitrary pattern
row_idx = np.hstack((np.arange(N/sub.shape[0], dtype=int), np.arange(N/sub.shape[0]-1, dtype=int)))
col_idx = np.hstack((np.arange(N/sub.shape[1], dtype=int), np.arange(N/sub.shape[0]-1, dtype=int)+1))
coeff = np.ones_like(row_idx) # Multiply blocks by coefficients here
locs = sp.csc_array((coeff, (row_idx, col_idx))) # Array of coefficients at specified locations

# Not necessary, but shows what's going on.
print(f'Placing block top left corners at rows{row_idx*sub.shape[0]}, cols {col_idx*sub.shape[1]}')

Actually creating the sparse array is a one-liner once the locations and subarray are specified:

arr = sp.kron(locs, sub)

print(arr.toarray()) yields:

[[1 2 1 2 0 0 0 0]
 [3 4 3 4 0 0 0 0]
 [0 0 1 2 1 2 0 0]
 [0 0 3 4 3 4 0 0]
 [0 0 0 0 1 2 1 2]
 [0 0 0 0 3 4 3 4]
 [0 0 0 0 0 0 1 2]
 [0 0 0 0 0 0 3 4]]

This implementation...

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

79597100

Date: 2025-04-28 18:39:51
Score: 1
Natty:
Report link

If you simply want to check is the distance is less than a certain number, you can simply omit the sguare root altogether and just square the constant.

Math.hypot() might be useful too.

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

79597087

Date: 2025-04-28 18:32:50
Score: 1
Natty:
Report link

There's some documentation about contributing to CTS here:

https://source.android.com/docs/compatibility/cts#components

https://source.android.com/docs/setup/contribute/submit-patches

It's encouraged to contribute, but for the final certification it's not allowed to have local CTS patches as it needs to be run with the official binaries.

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

79597081

Date: 2025-04-28 18:27:48
Score: 3
Natty:
Report link

Try putting your entries into a scroll view that goes high enough on the screen to be visible when the keyboard is. Also try .net 9 as well, as it made some changes in this area.

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

79597078

Date: 2025-04-28 18:24:47
Score: 1
Natty:
Report link

Gotcha!

So, i was navigating through the docker container and found the container name in this file path -> /var/lib/gridstore/conf/gs_cluster.json and the clustername written in json like this

{
  "clusterName":"dockerGridDB",
  ...
}
docker exec -it griddb-server bash
cat /var/lib/gridstore/conf/gs_cluster.json
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: hordlaw

79597074

Date: 2025-04-28 18:21:46
Score: 4
Natty:
Report link

I have the same problem, but in NextJS 14.2.25

I tried the other: { 'apple-mobile-web-app-capable': 'yes' } workaround, but it didn't work for me.

I eventually added them manually to the <head> in my root layout.tsx like this

export default function RootLayout({
  children,
  params: { locale },
}: {
  children: React.ReactNode;
  params: { locale: string };
}) {
 
  return (
    <html>
      <head>
 
        {/* Apple Splash Screens */}
        <link rel="apple-touch-startup-image" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="/splash/apple-splash-2048-2732.jpg"/>
        <link rel="apple-touch-startup-image" media="(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" href="/splash/apple-splash-2732-2048.jpg"/>
        
        {/* Rest of the Splash Screens ... */}



 </head>

  {*/ Rest of your code */}
</html>
 

Reasons:
  • Blacklisted phrase (1): it didn't work for me
  • Blacklisted phrase (1): I have the same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (0.5):
Posted by: Remy Jouni

79597067

Date: 2025-04-28 18:17:45
Score: 1
Natty:
Report link
  $server = IoServer::factory(
            new HttpServer(
                   $wsServer= new WsServer(
                            new MyChat()
                    )
            ),
            8080,
            '0.0.0.0'
    );
   $wsServer->enableKeepAlive($server->loop, 5);
    $server->run();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Умный Дом Астрахань

79597059

Date: 2025-04-28 18:11:44
Score: 0.5
Natty:
Report link

Found the solution by using the union function.
basically, outside of the forEach loop, I created an array variable varComplete and then inside the loop after each call to a web activity, I set another variable varTempResponse as

@union( activity('Web1').output, varComplete)

Then, I reset the varComplete to the value of varTempResponse.
varComplete = varTempResponse

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

79597045

Date: 2025-04-28 17:59:41
Score: 0.5
Natty:
Report link

I found a clear way to get it using only existing methods without any formatting:

from datetime import UTC, datetime

int(datetime.now(UTC).timestamp())  # 1745862751

Please, feel free to tell me that I'm wrong, I'm not an python expert.

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

79597043

Date: 2025-04-28 17:59:40
Score: 11.5 🚩
Natty: 5.5
Report link

Did you solve it?
I have the same problem.

https://github.com/hyperledger-labs/minifabric/issues/161

As shown here, it is stated that it is possible, but it does not explain how.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you solve it
  • Low reputation (1):
Posted by: Theo Pedras

79597039

Date: 2025-04-28 17:56:39
Score: 2.5
Natty:
Report link

By setting the scrollpane background color to transparent, it is now seamless like this:

.scroll-pane {
    -fx-background-color: transparent;
}

enter image description here

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

79597038

Date: 2025-04-28 17:56:39
Score: 0.5
Natty:
Report link

I see this issue is coming regularly with newer versions

refer this solution for fix in Android Studio after Koala

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

79597036

Date: 2025-04-28 17:55:39
Score: 1
Natty:
Report link

Latest Android and XCode version has fixed this issue

refer this solution

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

79597034

Date: 2025-04-28 17:52:38
Score: 4.5
Natty:
Report link

Does it stay resident in memory even when you close that powershell session you used to set it?

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

79597030

Date: 2025-04-28 17:49:36
Score: 6 🚩
Natty:
Report link

Is the profile you used for signing a public trust one?

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): Is the
  • Low reputation (1):
Posted by: Jaxel Rojas

79597029

Date: 2025-04-28 17:48:35
Score: 4
Natty:
Report link

By removing dataloader_drop_last=True in TrainingArguments, the code worked

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

79597028

Date: 2025-04-28 17:48:35
Score: 1
Natty:
Report link

I was able to figure this out and thought I would post it here if anyone has the same issue. As described in this answer here which is what solved my problem, under the hood, SwiftUI uses view controllers which can only display one sheet or alert at a time. The problem was that in testing I was trying to display both the alert and sheet and only the alert displayed. Even if you put the sheet first, the alert will take precedence. Commenting out the alert, permitted the sheet to display.

SwiftUI - Cannot show alert over sheet

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: user6631314

79597027

Date: 2025-04-28 17:47:35
Score: 4.5
Natty: 5
Report link

Hi I found this site https://troll-winner.com/blog/woocommerce-variation-description-visual-editor/ and has plugin I'm using on some of my sites and it is working for me

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

79597026

Date: 2025-04-28 17:47:35
Score: 1
Natty:
Report link

So I found that PowerShell was acting up with my git as well.

I ran these commands to find that PowerShell recognized a broken version of git still buried in my Windows system 32 folder: "C:\Program Files\Git\bin> (Get-Command git).CommandType

\>>

Application

C:\Program Files\Git\bin> (Get-Command git).Source

\>>

C:\windows\system32\git

C:\Program Files\Git\bin> (Get-Command git).Definition

\>>

C:\windows\system32\git".

After I found and deleted the bad git.exe file in my system32 folder, I was able to run: "git -v" anywhere in powershell because it then was able to recognize the source folder for my main git installation in my "C:\Program Files\Git\bin".

Other terminals like CMD and Git Bash can find the right location right away, even if you have your environment variables set up properly, but then PowerShell is very particular, which is both a pro and con depending on how you look at it. It just forces you to clean up your system when working at runtime with it.

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

79597019

Date: 2025-04-28 17:44:34
Score: 1
Natty:
Report link

I have to add the file nuget.config in the project root folder with the following content:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
  </packageSources>
</configuration> 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: pguzman

79597016

Date: 2025-04-28 17:41:33
Score: 2
Natty:
Report link

Bit late to this but I'm getting this message when I use the prompt() javascript funtion so of course it takes longer than a few milliseconds for the user to type in the response. THis is perfectly valid and I realize this is just a warning but it's still annoying.

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

79597011

Date: 2025-04-28 17:37:32
Score: 0.5
Natty:
Report link

SOLVED!

Hey everyone, I managed to solve the issue and wanted to share the solution.

The Main Reason: The whole problem was happening because I was trying to use rustup (even though installed via Nix) alongside the Rust tools (rustc, cargo, rust-analyzer, rustfmt) also installed via Nix. The conclusion is: on NixOS, you generally shouldn't install rustup if you're managing your Rust toolchain directly with Nix.

Explanation:

Nix/NixOS already does the "job" that rustup would do on a traditional system, but in a declarative way that's integrated with the Nix package system. rustup is designed to manage different Rust versions and components in its own directory (~/.rustup), acting as a proxy for commands like rustc, cargo, etc.

When I installed rustup via Nix, it was placed in the system path, but it still tried to act like rustup, looking for toolchains managed by itself and expecting commands like rustup default stable or rustup component add.

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

79597010

Date: 2025-04-28 17:35:32
Score: 2
Natty:
Report link

the gorm official documentation doesn't mention the difference between the three ways of initialize a new *gorm.DB instance. But it seems WithContext is the one I need and Session is giving me all kinds of weird behavior.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Quan Ding

79597009

Date: 2025-04-28 17:34:31
Score: 1
Natty:
Report link

this solved my problem. delete node_modules and package-lock.json and then run:

npm install
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: amir seraj

79597000

Date: 2025-04-28 17:28:30
Score: 12.5
Natty: 8
Report link

Can anyone help me out here. I'm facing the same issue but only with .NET Framework 4.8.

More details here:

Azure Functions V1 on .NET Framework 4.8: TimerTrigger isn’t discovered [ No job functions found. Try making your job classes and methods public ]

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can anyone help me
  • RegEx Blacklisted phrase (2): help me out
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Starts with a question (0.5): Can anyone help me
  • Low reputation (1):
Posted by: tripler25

79596998

Date: 2025-04-28 17:28:30
Score: 4
Natty: 5
Report link

OttScott. You're right on. Enable Windows Firewall rule "Remote Event Log Management (RPC)" did it for me, even after 2 years. Thanks for taking the time to answer.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: tggandaff

79596989

Date: 2025-04-28 17:21:28
Score: 2.5
Natty:
Report link

When using npm init, separate keywords with commas (or spaces).

Based on @rsp's example

/caught $ npm init
...
keywords: promise async, UnhandledPromiseRejectionWarning, PromiseRejectionHandledWarning

...
# You cannot escape the space with a `\`. 

Adding this because npm is tagged

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @rsp's
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Jesulayomi

79596988

Date: 2025-04-28 17:20:28
Score: 2
Natty:
Report link

In my case, it was a bug in the older versions I was using quasar=2.14.2", with quasar/app-vite=1.7.1".
I upgraded those packages and it worked.

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

79596985

Date: 2025-04-28 17:19:27
Score: 3
Natty:
Report link
optimized_clips = []
for img_path in image_files:
    clip = (ImageClip(img_path)
            .set_duration(duration_per_image)
            .resize(height=480)  # Reducimos resolución
            .fadein(0.3)
            .fadeout(0.3))
    optimized_clips.append(clip)

# Concatenar los clips
optimized_video = concatenate_videoclips(optimized_clips, method="compose")

# Exportar el video optimizado
optimized_output_path = "/mnt/data/feliz_cumple_sin_texto_optimizado.mp4"
optimized_video.write_videofile(optimized_output_path, fps=24)
Reasons:
  • Blacklisted phrase (3): solución
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jefferson sierra

79596983

Date: 2025-04-28 17:18:27
Score: 2
Natty:
Report link

thanks for opening the issue!

I have looked at fixing in your github code and seems I made the same thing but it still gives me this error. If you have any idea why, I would be thankful! It works in useEffects, try catch block

Code:

            function generateUUID() {
                return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(
                    /[xy]/g,
                    function (c) {
                        const r = (Math.random() * 16) | 0;
                        const v = c === 'x' ? r : (r & 0x3) | 0x8;
                        return v.toString(16);
                    }
                );
            }

            async function copyAssetToAppDocs(): Promise<string> {
                const uuid = generateUUID();

                const asset = Asset.fromModule(
                    require('../../assets/images-notifications/image0.png')
                );
                await asset.downloadAsync();

                if (!asset.localUri) {
                    console.error('Asset localUri is missing');
                    throw new Error('Asset localUri is missing');
                }

                console.log('Asset localUri:', asset.localUri);
                console.log(asset.type, 'asset.type');

                const docsDir = FileSystem.documentDirectory;

                if (!docsDir) {
                    console.error('Document directory is missing');
                    throw new Error('Document directory is missing');
                }

                const targetPath = `${docsDir}${uuid}.png`; // random unique file

                console.log(targetPath, 'targetPath');
        
                await FileSystem.copyAsync({
                    from: asset.localUri.startsWith('file://')
                        ? asset.localUri
                        : `file://${asset.localUri}`,
                    to: targetPath,
                });

                const fileInfo = await FileSystem.getInfoAsync(targetPath);
                if (fileInfo.exists) {
                    console.log('File exists, using existing path:', targetPath);
                }
                console.log('File copied to:', targetPath);
                return targetPath.substring('file://'.length);
            }

            const attachmentUrl = await copyAssetToAppDocs();

            if (!attachmentUrl) {
                console.error('Failed to copy asset to app docs');
                return;
            }

            console.log(attachmentUrl, 'attachmentUrl');

            setImageurl(attachmentUrl);
            console.log(imgurl, 'imgurl');

            await Notifications.scheduleNotificationAsync({
                content: {
                    title: 'Finish your profile',
                    body: 'Ready to find your perfect match? Complete your profile now and start your journey to love!',
                    attachments: [
                        {
                            identifier: 'lalala',
                            url: attachmentUrl,
                            type: 'image/png',
                            typeHint: 'public.png',
                            hideThumbnail: false,
                        },
                    ],
                    data: { route: 'imageScreen' },
                },
                trigger: {
                    type: Notifications.SchedulableTriggerInputTypes.TIME_INTERVAL,
                    seconds: 5,
                },
            });

            console.log('Notification scheduled');
Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (2): I would be thankful
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zhibek Abdykalykova

79596981

Date: 2025-04-28 17:17:27
Score: 0.5
Natty:
Report link

I don't know what they did in the later versions of Godot (I think around version 4.4), but in one the versions earlier, after I turned on emulate 3 button mouse I could rotate the camera around the center by holding alt and moving the mouse.

Maybe I am missing something but after some update the only way I can turn around the camera around the center is through the axis icon in the top right corner by holding the mouse key and moving the mouse on it.

So in my case the options are a downgrade and possibly also redoing some work or getting used to the annoying movement system when I'm on the go in a bus or train (or even at home since I can't sit still in once place) where I can't easily pull out a mouse.

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

79596980

Date: 2025-04-28 17:16:26
Score: 2.5
Natty:
Report link

Make sure the dir. and Folder a are correctly assigned secondly check whether too executed the command in same Dir in which the Folder and Files are

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

79596978

Date: 2025-04-28 17:15:26
Score: 2.5
Natty:
Report link

please try the below command.

dmpmqmsg -m <queue manager name> -i <queue name> |grep MSI |grep <message id>

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

79596975

Date: 2025-04-28 17:13:25
Score: 0.5
Natty:
Report link

What does the PrimeVue DatePicker return? A date object or a formatted string? If PrimeVue parses it automatically, it's a Date, and your string regex validation gets skipped. This could be why your validations are having issues. Your form schema seems to expect a string. If they are expecting different types, this could be where the issue is happening.

If it does return a date object then could you simply do:

const formSchema = z.object({
  start_date: z
    .date()
    .refine((date) => date !== null, "Start date is required."),
});
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What do
  • Low reputation (0.5):
Posted by: David

79596972

Date: 2025-04-28 17:08:24
Score: 5
Natty:
Report link

Fortunately, there is a package that does this. You can read more about it at this link:


https://dev.to/dutchskull/poly-repo-support-for-dotnet-aspire-14d5

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: MILAD BAHARLO

79596963

Date: 2025-04-28 17:03:22
Score: 1
Natty:
Report link

So, as of late, I haven't found any solution similar to the @PostConstruct one.

In the end, here's how I made it work without inheritance or @BeforeEach setups:

This is what the custom IntegrationTest annotation looks like:

@Retention(RetentionPolicy.RUNTIME)
@SpringBootTest(classes = SpringSecurityTestConfig.class)
@ActiveProfiles("test")
@Sql(scripts = "classpath:sql/clearTables.sql", executionPhase = ExecutionPhase.AFTER_TEST_METHOD)
@AutoConfigureMockMvc
@EnableWireMock({
    @ConfigureWireMock(name = "localazy-client", baseUrlProperties = "i18n.localazy.cdnUrl", filesUnderClasspath = "wiremock/localazy-client")
})
@MockitoSpyBean(types = {JavaMailSender.class, LocalazyService.class})
public @interface IntegrationTest {

}

Using Wiremock is a bit heavier than I would have liked, and I might lose a few seconds when running tests individually, but it's a compromise I can accept.

I don't need the IntegrationTestConfig configuration class anymore, as it's now empty.

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

79596960

Date: 2025-04-28 17:01:22
Score: 1
Natty:
Report link

For anyone still looking for a solution, the fix I found was to assign the shortcut to a button on my Razer mouse with the Razer Synapse app. In Synapse, click on the button you want to change, select "Launch" and select the "Website" option. Paste the filepath from your Windows shortcut into the field (e.g. "%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "C:\Users\kekus\Documents\scripts\audio_switcher.ps1"). Save.
For whatever reason, the startup time is reduced to a few milliseconds.

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

79596956

Date: 2025-04-28 17:00:22
Score: 1.5
Natty:
Report link

Fixed it.

var viewer;
var options = {
    env: 'AutodeskProduction2',
    api: 'streamingV2',
    accessToken: ''
};

needed to be. 

var viewer;
var options = {
    env: 'AutodeskProduction2',
    api: 'streamingV2_EU',
    accessToken: ''
};


region of stroage was set to europe
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Doctor J

79596930

Date: 2025-04-28 16:46:18
Score: 2.5
Natty:
Report link

What would be the use for this ? Python already has built-in "templating". The main reason c++ requires templating is because everything needs type unlike in Python. In a way, C++ is a fairly dumb language compared to Python. It is overly complicated now with lots of bells and whistles that makes coding slow, laborious and brittle . A stripped down version of C++ like Python (or C) would be sufficient for all tasks,

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What would
  • Low reputation (0.5):
Posted by: whadhack

79596929

Date: 2025-04-28 16:45:17
Score: 1
Natty:
Report link

The problem was my trick to + or - 90 degrees to get the forward wall direction, which was backwards on the opposite side of the wall. Thanks to Sanjay Nakate for the solution. Here's the updated code for any wondering:

private void WallStick()
    {
        Vector3 normal = Vector3.zero;

        if (leftWall) normal = leftWallHit.normal;
        else if (rightWall) normal = rightWallHit.normal;

        // Calculate the wall-facing direction only on the XZ plane
        Vector3 wallForward = Vector3.Cross(normal, Vector3.up);  // Vector perpendicular to the wall normal
        if (rightWall) wallForward = -wallForward;

        float targetYRotation = Mathf.Atan2(wallForward.x, wallForward.z) * Mathf.Rad2Deg;

        playerMovement.rotationScript.yRotation = targetYRotation;
    }
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shog

79596928

Date: 2025-04-28 16:45:17
Score: 5.5
Natty: 5
Report link

If you had found the answer for this question please explain it . I am also working on document automation project.

Reasons:
  • RegEx Blacklisted phrase (2.5): please explain
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30342609

79596927

Date: 2025-04-28 16:45:17
Score: 1
Natty:
Report link

When you run the ALTER DEFAULT PRIVILIGES statement, it only applies to objects created by the user who ran the command. If your table is getting recreated by a different user, then you need to run the command with the FOR USER clause. This will now target objects created by the specified user.

EX: I have schema_a.table_a, user_a, and user_b. Logged in as user_admin I ran the following to grant select privileges on table_a for user_a:

GRANT SELECT on schema_a.table_a TO user_a;

user_a now has select permissions as long as table_a is not recreated. If I want to maintain those permissions I could run something like this:

ALTER DEFAULT PRIVILEGES IN SCHEMA schema_a GRANT SELECT ON TABLES TO USER user_a;

However, this only applies to any tables created by my current logged in user user_admin. When an ETL process that uses user_b recreates the table, the privileges are lost. To achieve my desired behavior I would have to run the following:

ALTER DEFAULT PRIVILEGES FOR USER user_b IN SCHEMA schema_a GRANT SELECT ON TABLES TO USER user_a;

Now when user_b recreates the table user_a maintains their permissions.

AWS Docs: https://docs.aws.amazon.com/redshift/latest/dg/r_ALTER_DEFAULT_PRIVILEGES.html

Good blog post talking about this:
https://medium.com/@bob.pore/i-altered-my-redshift-schemas-default-privileges-why-can-t-my-users-query-my-new-tables-4a4daef11572

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Mr. Spock

79596923

Date: 2025-04-28 16:44:16
Score: 1
Natty:
Report link

One way to achieve this is to handle the navigation using state management, for example you have a high level screen with multiple screens as fragments once the deeplink is triggered in the app you can change the current selected frame and in that specific frame (in your case "chat screen") you navigate using Navigator or any other API to the desired screen with the data present in the deeplink metadata

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Badr Kouki

79596920

Date: 2025-04-28 16:42:16
Score: 3.5
Natty:
Report link

From my conversation with the team, they are refusing to support (which is new because EVERY web server does this) https://github.com/spring-projects/spring-framework/issues/34834#issuecomment-2834546422

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

79596912

Date: 2025-04-28 16:35:15
Score: 3.5
Natty:
Report link

The solution was basically to add a while loop to retry the paste operation with a waiting interval between each attempt, until it succeeds.

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

79596906

Date: 2025-04-28 16:33:14
Score: 2.5
Natty:
Report link

I had this morning the same problem that https://repo.eclipse.org/content/groups/releases/org/eclipse/rcptt/ returned HTTP code 403. But now it works again, so I would assume that your problem is also fixed (the latest release version is 2.5.5, latest Snapshot version is 2.6.0-SNAPSHOT)

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

79596904

Date: 2025-04-28 16:32:13
Score: 13 🚩
Natty: 5
Report link

Hi I have the similar issue, I have done the cloud trail setup but I am not getting any LOG info for DeleteObject through an API but I am getting the info for PutObject and DeleteObjects. Can someone help me out what I might have missed

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can someone help me
  • RegEx Blacklisted phrase (2): Hi I have the
  • RegEx Blacklisted phrase (2): help me out
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the similar issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: fardeen shaikh

79596901

Date: 2025-04-28 16:29:12
Score: 2
Natty:
Report link

Make sure that

  1. The user on the server have permissions to open sockets

  2. SSH server is configured to allow creating sockets.

Try to connect via SSH as root or do su after you log in and try to use proxy.

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

79596896

Date: 2025-04-28 16:25:10
Score: 4
Natty:
Report link

Before executing

parted -s /dev/sda resizepart 3 100% 3 Fix Fix 3 \n

try to run:

sgdisk -e /dev/sda

You will move your GPT header to the end of the disk

(Sorry i cannot comment cause of low reputation :) )

Reasons:
  • Blacklisted phrase (0.5): i cannot
  • RegEx Blacklisted phrase (1): cannot comment
  • RegEx Blacklisted phrase (1.5): low reputation
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lucas