79809714

Date: 2025-11-05 07:08:07
Score: 2
Natty:
Report link

first kill server then do this

adb kill-server
adb start-server
adb devices
adb tcpip 5555
adb shell ip addr show wlan0
it will give u ip address like 192.XXX.XX.XXX

adb connect 192.168.18.140:5555 (change with yours)
and boom!!!

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

79809713

Date: 2025-11-05 07:07:07
Score: 2.5
Natty:
Report link

I faced the same 16KB page size issue — turned out my emulator image and gradle dependency versions weren’t synced. After cleaning the project and re-syncing, it worked. I actually found a helpful discussion about this while browsing tech blogs on Jobipo — worth checking if you’re into dev-related job tips.

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

79809711

Date: 2025-11-05 07:05:07
Score: 0.5
Natty:
Report link

This is a common issue with the Google Play Integrity API setup — sometimes it gets stuck at “Integration started” for days, especially when linking new apps or Firebase projects.

Here are a few things to check and try:

  1. Verify Google Cloud Project Link

    • Make sure your app is correctly linked to the same Google Cloud project where the Play Integrity API is enabled.

    • Go to Play Console → Setup → App integrity → Play Integrity API and confirm the correct project is selected.

  2. Enable Billing on the Cloud Project

    • Even though Integrity API has a free tier, Google requires billing enabled to activate the API in some regions or accounts.

    • Go to Google Cloud Console → Billing → Link billing account.

  3. Recheck API Enablement

  4. Firebase App Check Timing

    • After setup, the activation process can take anywhere from a few hours to several days.

    • If it’s stuck for more than a week, try unlinking and relinking the API in Play Console.

  5. Contact Google Support via Play Console Form

    • Instead of general tickets, use the Play Console > Help > Contact support form. It routes directly to the Integrity API team.

    • Mention your App ID, Project Number, and Integration started status in the message.

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

79809710

Date: 2025-11-05 07:04:06
Score: 0.5
Natty:
Report link

The error Ad failed to load: 3 means no ad fill, not a coding issue. The adaptive test ad unit /21775744923/example/adaptive-banner often doesn’t serve ads. To test adaptive banners, use Google’s universal AdMob test ID (ca-app-pub-3940256099942544/9214589741) or create your own ad unit in Google Ad Manager with active line items. Also ensure you calculate adaptive size dynamically using AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize() and set your test device ID before loading the ad.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Origins Advertising Pvt. Ltd.

79809706

Date: 2025-11-05 07:02:06
Score: 2
Natty:
Report link

This error usually occurs due to a name conflict or an incorrect package. You need to install the correct package and then import it. After doing this, the error AttributeError: module ‘mysql.connector’ has no attribute ‘CMySQLConnection’ will be fixed.

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

79809704

Date: 2025-11-05 07:00:05
Score: 2.5
Natty:
Report link

Neither Int nor Double are types. What task are you solving?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-2):
Posted by: 3CEZVQ

79809696

Date: 2025-11-05 06:54:04
Score: 3
Natty:
Report link

My cpanel doesnt even have this file = /etc/dovecot/dovecot-sql.conf.ext

And I am getting these errors.

Now twice in one month. Last time i had to manually recreate the whole server, moving one by one email account to the new server.... WHY!?

server2 dovecot[9970]: auth-worker(10118): Error: conn unix:auth-worker (pid=9978,uid=97): auth-worker<2>: dict([email protected]): Invalid password in passdb: crypt() failed: Invalid argument

Reasons:
  • RegEx Blacklisted phrase (1): I am getting these error
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Natural IT Solutions NSPE

79809695

Date: 2025-11-05 06:53:04
Score: 3
Natty:
Report link

As of Ktor Version 3.2.0, Ktor has a dependency injection plugin. You can see the docs here: https://ktor.io/docs/server-dependency-injection.html?topic=rx

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

79809692

Date: 2025-11-05 06:50:03
Score: 0.5
Natty:
Report link

This is worked for me

val iFrameHtmlData = """<iframe width="100%" height="100%" src="$iframeUrl" frameborder="0" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>""".trimIndent()
val baseUrl = "https://$packageName"
loadDataWithBaseURL(baseUrl, iFrameHtmlData, "text/html", "utf-8", null)

You may find the documentation:
https://developers.google.com/youtube/terms/required-minimum-functionality#embedded-player-api-client-identity

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Guna M

79809688

Date: 2025-11-05 06:42:01
Score: 2.5
Natty:
Report link

It is codes, and you can put them togheter into one program . I hav done it many times. My last game is my best for now. when i get a macBook agai i can use my free developer account to make real 1st class games.

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

79809684

Date: 2025-11-05 06:32:59
Score: 2
Natty:
Report link

Are you looking for a discussion here, or did you mean to actually create this as a QnA and get an answer solution?

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

79809680

Date: 2025-11-05 06:28:58
Score: 2.5
Natty:
Report link

USE THIS
you can use this tool to edit your fonts

https://tophix.com/assets/js/fonteditor/index-en.html

Reasons:
  • 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: Alexander Radev

79809664

Date: 2025-11-05 06:04:53
Score: 1.5
Natty:
Report link

@chux You are wrong.:) s[-n] is not equivalent to s[UINT_MAX].

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • User mentioned (1): @chux
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Vlad from Moscow

79809662

Date: 2025-11-05 05:54:50
Score: 2.5
Natty:
Report link

WITH duplicate_data AS( select email,dob,country from customers Group by email dob,country Having count(*)>1) select cus.* from customers c join duplicate_data d on cus.email=d.email and cus.dob=d.dob and cus.country=d.country; try modifying your query like this.

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

79809656

Date: 2025-11-05 05:49:49
Score: 3
Natty:
Report link

"As in how urgently do I need to go thru my code base looking for these instances?" --> Step 1, save time and enable many (if not just about all) compiler warnings.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2): urgently
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: chux

79809655

Date: 2025-11-05 05:48:49
Score: 1.5
Natty:
Report link

No, your Masking layer does not mask your loss because the layers.LSTM(return_sequences=False) layer breaks the mask propagation. The built-in loss function will incorrectly try to reconstruct the [0,0,0] padding.

One of the solution is to use a custom loss function and a custom metric that manually ignore padded steps.

Q1: Is there any way to visualize that this is exactly how it is working?

You can verify the mask is lost by checking model.layers[3].output_mask (the output of your LSTM(return_sequences=False) layer); it will be None.

Adjacent Q2: Is there a simple way to calculate the loss later on with the same masking...

Yes, the custom loss function below is the simple way. It works automatically for both model.fit() and model.evaluate(), which correctly calculate the masked loss at all times.

import tensorflow.keras.backend as K
import tensorflow as tf

def masked_cosine_distance(y_true, y_pred):
    mask = K.cast(K.greater(K.sum(K.abs(y_true), axis=-1), 1e-9), K.floatx())
    y_true_normalized = K.l2_normalize(y_true, axis=-1)
    y_pred_normalized = K.l2_normalize(y_pred, axis=-1)
    similarity = K.sum(y_true_normalized * y_pred_normalized, axis=-1)
    loss_per_timestep = 1 - similarity 
    masked_loss = loss_per_timestep * mask
    sum_of_losses = K.sum(masked_loss)
    num_unmasked_steps = K.sum(mask)
    return sum_of_losses / (num_unmasked_steps + K.epsilon())

def masked_cosine_similarity(y_true, y_pred):
    mask = K.cast(K.greater(K.sum(K.abs(y_true), axis=-1), 1e-9), K.floatx())
    y_true_normalized = K.l2_normalize(y_true, axis=-1)
    y_pred_normalized = K.l2_normalize(y_pred, axis=-1)
    similarity = K.sum(y_true_normalized * y_pred_normalized, axis=-1)
    masked_similarity = similarity * mask
    sum_of_similarity = K.sum(masked_similarity)
    num_unmasked_steps = K.sum(mask)
    return sum_of_similarity / (num_unmasked_steps + K.epsilon())

model = tf.keras.models.Sequential([
    tf.keras.Input(shape=(window_size, line_feature_size)),
    tf.keras.layers.Masking(mask_value=0.0), # Still good for LSTM efficiency
    tf.keras.layers.Bidirectional(tf.keras.layers.LSTM(64, return_sequences=True)),
    tf.keras.layers.Bidirectional(tf.keras.layers.LSTM(32, return_sequences=False)),
    tf.keras.layers.RepeatVector(window_size),
    tf.keras.layers.LSTM(32, return_sequences=True),
    tf.keras.layers.LSTM(64, return_sequences=True),
    tf.keras.layers.TimeDistributed(tf.keras.layers.Dense(line_feature_size))
])
model.compile(optimizer="adam", 
              loss=masked_cosine_distance, 
              metrics=[masked_cosine_similarity])

Reasons:
  • Blacklisted phrase (1): Is there any
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (2): working?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Sagar

79809645

Date: 2025-11-05 05:42:47
Score: 1
Natty:
Report link

import requests

url = "http://example.com"

try:

response = requests.get(url)

if response.status_code == 200:

    print(f"{url} is reachable")

else:

    print(f"{url} returned status code: {response.status_code}")

except requests.ConnectionError:

print(f"Failed to reach {url}")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nallamekala Renuka

79809643

Date: 2025-11-05 05:39:46
Score: 1
Natty:
Report link

I've just had the same issue trolling through documentation but got there!

Refer to https://developer.android.com/google/play/billing/getting-ready#configure-rtdn for googles guide on this.

It will guide you how:

You can then create a subscription that suits your needs. Eg pushes the messages to a lambda or provides a subscription for your backend server to listen to.

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

79809641

Date: 2025-11-05 05:35:45
Score: 4
Natty:
Report link

@ikegami, any thoughts if possible and how to move this question from a general advice / other to trouble shooting / debugging? Or it is too late? Perhaps I should ask a moderator.

Reasons:
  • Blacklisted phrase (1.5): any thoughts
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @ikegami
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: chux

79809637

Date: 2025-11-05 05:24:43
Score: 1
Natty:
Report link

I found my fault. What a shame! After the filter method, I had a finally block with a save and dispose, but the problem was that I had two instances of the same book. So, I saved and disposed of one with all the changes, and then I overwrote it when I saved the second instance.

Sorry, guys. But now I know that the instance that saves the file in memory is not just a link to the file. I hope someone else learns this with my mistake.

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

79809630

Date: 2025-11-05 05:12:40
Score: 3
Natty:
Report link

Was able to achieve that with giving my user account, the 'Storage Blob Data Contributor' role

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

79809625

Date: 2025-11-05 05:00:38
Score: 1
Natty:
Report link

When we look in terms of the software interrupt like needing Hardware, Then these Interrupts will come into picture. Suppose if we want to print the value on the screen(written in c program) , The CPU will stop it's execution and that interrupt will be serviced first. It will leads to call the system call. System call is a special type of function which is going to be in the OS code. This function can't be accessed by the user without the system call. Compiler will converts the given c code to assembly code. So when ever you write the "printf("hello")", In the assembly code it will be 'rax 50,syscall' ,where rax is a register. Once syscall is instruction seen by the cpu ,it'll go to the rax register and finds the appropirate number for that syscall as there 400+ system calls in the OS. Now cpu will go to the system call table(Interrupt vector table) and finds the address of that 50. Address of that 50 is function pointer sys_write. It is also takes arguments "hello" inorder to print on the screen and cpu will execute the code of the function sys_write in the kernel mode(OS) which is to be INTERRUPT SERVICE ROUTINE. Once that interrupt service routine is done with the help of function pointer then cpu will get back to the user mode.

For the fun(), fun is pointer to that function.

50 sys_write.
51 fork.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When we
  • Low reputation (1):
Posted by: murali dileep

79809624

Date: 2025-11-05 04:57:37
Score: 1
Natty:
Report link

It is not throwing exception because you are not accessing values from vector, you are just feeding the value to i.

for (int i = 0; i <= v.size(); ++i) -- you are basically saying repeat this loop 6 times(doesn't access vector v)

for (int i = 0; i <= v.size(); ++i) {

cout << v[i] << "\n"; -- this line will throw an error because you are trying to access the values outside the range of vector v

cout << "Success\n"; -- this works because it has nothing do with vector v

}

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

79809621

Date: 2025-11-05 04:44:34
Score: 0.5
Natty:
Report link

understanding your issue - Manifest Infotech Solutions
Problem Analysis

Your current issue stems from a fundamental misunderstanding of CSS positioning:

  1. position: fixed positions elements relative to the viewport (browser window), not your background image

  2. background-size: cover scales your background image dynamically based on viewport size

  3. Your elements are positioned with fixed pixel values, but the background scales proportionally

Best Practices from Manifest Infotech

  1. User Experience: The elements remain clickable and interactive at all screen sizes

  2. Performance: Use optimized images (WebP format recommended)

  3. Accessibility: Add proper alt text and ARIA labels

  4. Cross-Browser Compatibility: Tested across Chrome, Firefox, Safari, and Edge

Implementation Tips

  1. Calculate your background image's aspect ratio: width ÷ height

  2. Position elements using percentages based on their position in the original design

  3. Test on multiple devices and screen sizes

  4. Consider adding minimum/maximum sizes for very small/large screens

This solution, developed following Manifest Infotech's web development standards, ensures your interactive elements remain perfectly positioned relative to your background image across all screen sizes and devices.

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

79809619

Date: 2025-11-05 04:41:34
Score: 5.5
Natty:
Report link

this is usu. because Grafana cannot uniquely identify the data points due to duplicate labels. You need to carefully checking your raw data to see if there are duplicate labels, making it impossible for Grafana to distinguish between different data points. Try google search it may give your more detailed suggestions to fix this problem?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix this problem?
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ZoomPhant

79809618

Date: 2025-11-05 04:41:34
Score: 0.5
Natty:
Report link

The problem

As mentioned in the comments by Barmar, an attempt to put things into the positional argument of time when there are multiple spaces moves it to the reason.

+t @user 3d2h1s30m test

The solution

Regex works

A simple fix could be the way that you run the command itself: without spaces fix

As long as the time duration is without spaces, your regex works perfectly!

Using quotes

+t @Nestling Bot#9410 "3d 2h 1s 30m" test

using quotes Like Barmar mentioned, quotes work just fine.

Making one argument and parsing through it (probably what you want)

Another way to do this is to have one keyword positional argument that parses until the last segment of hour/minute/second/day:

@bot.command(
    name="timeout",
    aliases=["mute", "t"],
    help=""
)
@has_permissions(moderate_members=True)
async def timeout(ctx, user: discord.Member, *, reasonAndTime="No reason provided"):

    print(reasonAndTime)

    # this is an odd way to go about things but hey it should work right?
    time = ''
    reason = ''
    for param in reasonAndTime.split(' '):
        try:
            if param[-1] == 's':  # check seconds
                time += param
            elif param[-1] == 'm':  # check seconds
                time += param
            elif param[-1] == 'h':  # check seconds
                time += param
            elif param[-1] == 'd':  # check seconds
                time += param
            else:
                reason += f' {param}'
        except TypeError:  # Not an int, see https://stackoverflow.com/a/3501408/15982771
            reason += f' {param}'

Timeout based on positional

Resources

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Blue Robin

79809617

Date: 2025-11-05 04:39:33
Score: 1.5
Natty:
Report link

Please ignore the advice you are being given by @Shivraj Gudas, as it's just more of the same generic cut'n'paste nonsense that has been swirling around on this topic for more than six months.

Go to the Jira section of the Atlassian public Community Forum and do a general search on the topic of the new JQL Search endpoints. You'll find the topic has been discussed many, many, MANY times there over the past six months, and there is detailed descriptions and links to extensive documentation on how to use the new endpoints and how their pagination mechanism is different to their predecessors, which have now all been deprecated.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Shivraj
  • Low reputation (0.5):
Posted by: Sunny Ape

79809607

Date: 2025-11-05 04:23:30
Score: 3
Natty:
Report link

@EricPostpischil Is not "... the value stored in *quo: It is congruent modulo 2^n to the quotient, ..." more like "... the value stored in *quo: It's magnitude is congruent modulo 2^n to the quotient ...", or are negative values -x considered just as congruent as +x?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @EricPostpischil
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: chux

79809600

Date: 2025-11-05 03:55:24
Score: 1
Natty:
Report link

One simple trick is Ctrl and arrows LEFT/RIGHT. <- -> It will skip by WORDS in the command line. Is kinda fast

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

79809598

Date: 2025-11-05 03:52:23
Score: 6 🚩
Natty:
Report link

I have same issue also, still could not fix it

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chung Than

79809584

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

This may be caused by the following reasons:

  1. Accidentally changed htop display settings

  2. Terminal color scheme or theme issues

  3. Font or display scaling settings in the terminal

Solutions to try:

  1. Press F2 in htop to access settings menu and check display options

  2. Exit htop with F10 and restart it

  3. Check your terminal's color configuration

  4. If using remote connections (like putty or VSCode), you might need to adjust terminal color settings

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

79809583

Date: 2025-11-05 03:00:13
Score: 2
Natty:
Report link

I’m wondering if there has been any update or resolution on this issue. We are facing the same memory increase in both heap and metaspace when using StatelessSession.

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

79809571

Date: 2025-11-05 02:38:07
Score: 1
Natty:
Report link

(Couldn't comment on your answer despite having enough reputation, so leaving another answer instead)

Your question about \gdef versus \xdef is addressed by https://tex.stackexchange.com/a/353139, which explains that:

With [\def<cs>{<replacement text>}] you define <cs> to look for its arguments (if any) and to be replaced by <replacement text>, which is not interpreted in any way at definition time. With [\edef] the replacement text is fully expanded at definition time.

That same distinction applies to \gdef and \xdef, respectively. They function just like \def and \edef except that their definitions are global (persisting after the end of the block in which they were executed).

So, yes, switching from \xdef to \gdef just prevents the immediate expansion of the replacement text.

Reasons:
  • RegEx Blacklisted phrase (1.5): enough reputation
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: LRitzdorf

79809560

Date: 2025-11-05 02:07:00
Score: 1
Natty:
Report link

1. tl;dr


2. Long Answers

Q:

Before I get to my main question, I'm assuming that std::mutex::unlock() stops touching this as soon as it puts the mutex in a state where another thread might lock it [...]

A:

That's a valid assumption - the standard even mandates that this type of usage must be supported:

35.5.3.2.1 Class mutex [thread.mutex.class]

(2) [ Note: After a thread A has called unlock(), releasing a mutex, it is possible for another thread B to lock the same mutex, observe that it is no longer in use, unlock it, and destroy it, before thread A appears to have returned from its unlock call. Implementations are required to handle such scenarios correctly, as long as thread A doesn't access the mutex after the unlock call returns. These cases typically occur when a reference-counted object contains a mutex that is used to protect the reference count. — end note ]


Q:

Is it possible to build a mutex from C++20 std::atomic without spinning to avoid use-after-free when deleting?

A:

Yes, it is possible.
But not as straight-forward as one might expect, due to the lifetime issues you already mentioned.
See 3. Solutions for a list of potential ways you could work around this limitiation.


Q:

Is there any hope that a future version of C++ might provide a safe way to notify on destroyed atomics?

A:

There is a paper addressing this specific issue, that could have been part of C++26:
P2616 - Making std::atomic notification/wait operations usable in more situations

Revisions:

Paper Date Target C++ Version
P2616R4 2023-02-15 C++26
P2616R3 2022-11-29 C++26
P2616R2 2022-11-16 C++26
P2616R1 2022-11-09 C++26
P2616R0 2022-07-05 C++26

The current state of this paper can be seen at cplusplus/papers Issue #1279 on github
(currently the repo is private due to the current committee meeting - archive.org version)

It is stuck with needs-revision since May 23, 2023 - so it's unclear if (and when) it'll ever become part of the standard.


Q:

So, my next question is, can I do anything about this?
The best I've come up with is to spin during destruction, but it's offensive to have to spin when we have futexes that are specifically designed to avoid spinning.

A:

There's unfortunately no one-size-fits-all solution for this.


Q:

Am I missing some other trick I could use to do this without spinning - maybe with std::atomic_ref?

A:

std::atomic_ref doesn't help in this case either unfortunately.
One of its rules is that the object it points to must outlive the atomic_ref object.
(which would not be the case if you destruct the object)

31.7 Class template atomic_ref [atomics.ref.generic]
(3) The lifetime ([basic.life]) of an object referenced by *ptr shall exceed the lifetime of all atomic_­refs that reference the object. While any atomic_­ref instances exist that reference the *ptr object, all accesses to that object shall exclusively occur through those atomic_­ref instances. [...]


Q:

Is there any benefit to the language making this UB, or is this basically a flaw in the language spec that atomics don't expose the full expressiveness of the underlying futexes on which they are implemented?

A:

TODO


3. Potential Solutions

3.1. TODO

TODO

3.2. Using std::counting_semaphore / std::binary_semaphore

It is relatively straightforward to wrap std::binary_semaphore into a custom mutex implementation that supports unlocking the mutex from a different thread than the one that locked it.

e.g.: godbolt

class my_mutex {
private:
    std::binary_semaphore sem;

public:
    my_mutex() : sem(1) {}

    void lock() {
       sem.acquire();
    }

    void unlock() {
        sem.release();
    }

    bool try_lock() {
        return sem.try_acquire();
    }

    template<class Rep, class Period>
    bool try_lock_for(std::chrono::duration<Rep, Period> const& timeout) {
        return sem.try_acquire_for(timeout);
    }

    template<class Clock, class Duration>
    bool try_lock_until(std::chrono::time_point<Clock, Duration> const& timeout) {
        return sem.try_acquire_until(timeout);
    }
};

Upsides:

Downsides:

3.3. Use std::atomic_ref and use the futex wait / wake syscalls

Another option would be to use std::atomic_ref for the atomic read & write operations, and manually handle the waking / sleeping part (by calling the syscalls directly).

e.g.: godbolt

class my_mutex {
private:
    using state_t = std::uint32_t;
    static constexpr state_t StateUnlocked = 0;
    static constexpr state_t StateLocked = 1;
    static constexpr state_t StateLockedWithWaiters = 2;
    static_assert(std::atomic_ref<state_t>::is_always_lock_free);

    state_t state = StateUnlocked;

    void wait() {
        // TODO use WaitOnAddress for windows, ... other oses ...
        syscall(
            SYS_futex,
            &state,
            FUTEX_WAIT_PRIVATE,
            StateLockedWithWaiters,
            NULL
        );
    }

    void wake() {
        // TODO use WakeOnAddress for windows, ... other oses ...
        syscall(
            SYS_futex,
            &state,
            FUTEX_WAKE_PRIVATE,
            1
        );
    }

public:
    void lock() {
        state_t expected = StateUnlocked;
        if(std::atomic_ref(state).compare_exchange_strong(
            expected,
            StateLocked,
            std::memory_order::acquire,
            std::memory_order::relaxed
        )) [[likely]] {
            return;
        }

        while(true) {
            if(expected != StateLockedWithWaiters) {
                expected = std::atomic_ref(state).exchange(
                    StateLockedWithWaiters,
                    std::memory_order::acquire
                );
                if(expected == StateUnlocked) {
                    return;
                }
            }

            // TODO: maybe spin a little before waiting

            wait();
            expected = std::atomic_ref(state).load(
                std::memory_order::relaxed
            );
        }
    }

    bool try_lock() {
        state_t expected = StateUnlocked;
        return std::atomic_ref(state).compare_exchange_strong(
            expected,
            StateLocked,
            std::memory_order::acquire,
            std::memory_order::relaxed
        );
    }

    void unlock() {
        state_t prev = std::atomic_ref(state).exchange(
            StateUnlocked,
            std::memory_order::release
        );
        if(prev == StateLockedWithWaiters) [[unlikely]] {
            wake();
        }
    }
};

Upsides:

Downsides:

3.4 Use a waiter pool

Another option would be to avoid waiting on the atomic variable directly by using another atomic variable (with a longer lifetime) solely for the wait / notify.

This is also how most standard libraries implement std::atomic::wait() for types that are not futex-sized.
(libstdc++ for example has a pool of 16 futexes it uses for waits on atomic variables that are non-futex sized. (__wait_flags::__proxy_wait is the flag used to handle wether the wait will be on the atomic value itself or one of the 16 proxy futexes))

e.g.: godbolt

class waiter {
private:
    alignas(std::hardware_destructive_interference_size)
    std::atomic<std::uint32_t> counter = 0;

public:
    void notify_all() {
        counter.fetch_add(1, std::memory_order::release);
        counter.notify_all();
    }

    template <class T>
    void wait(
        std::atomic<T> const& var,
        std::type_identity_t<T> const& oldval
    ) {
        while (true) {
            auto counterval = counter.load(std::memory_order::acquire);
            if (var.load(std::memory_order::relaxed) != oldval) {
                return;
            }
            counter.wait(counterval);
        }
    }
};

template <std::size_t N = 256>
class waiter_pool {
private:
    static_assert(std::has_single_bit(N), "N should be a power of 2");
    waiter waiters[N];

    waiter& waiter_for_address(const void *ptr) {
        std::uintptr_t addr = reinterpret_cast<std::uintptr_t>(ptr);
        addr = std::hash<std::uintptr_t>{}(addr);
        return waiters[addr % N];
    }

public:
    template <class T>
    void notify_all(std::atomic<T> const& var) {
        waiter& w = waiter_for_address(static_cast<const void*>(&var));
        w.notify_all();
    }

    template <class T>
    void wait(
        std::atomic<T> const& var,
        std::type_identity_t<T> const& oldval
    ) {
        waiter& w = waiter_for_address(static_cast<const void*>(&var));
        w.wait(var, oldval);
    }
};

waiter_pool pool;

class my_mutex {
private:
    using state_t = std::uint8_t;
    static constexpr state_t StateUnlocked = 0;
    static constexpr state_t StateLocked = 1;
    static constexpr state_t StateLockedWithWaiters = 2;
    static_assert(std::atomic<state_t>::is_always_lock_free);
    std::atomic<state_t> state = StateUnlocked;

public:
    void lock() {
        state_t expected = StateUnlocked;
        if (state.compare_exchange_strong(
            expected,
            StateLocked,
            std::memory_order::acquire,
            std::memory_order::relaxed
        )) [[likely]] {
            return;
        }

        while (true) {
            if (expected != StateLockedWithWaiters) {
                expected = state.exchange(
                    StateLockedWithWaiters,
                    std::memory_order::acquire
                );
                if (expected == StateUnlocked) {
                    return;
                }
            }

            // TODO: maybe spin a little before waiting

            pool.wait(state, StateLockedWithWaiters);
            expected = state.load(std::memory_order_relaxed);
        }
    }

    bool try_lock() {
        state_t expected = StateUnlocked;
        return state.compare_exchange_strong(
            expected,
            StateLocked,
            std::memory_order::acquire,
            std::memory_order::relaxed
        );
    }

    void unlock() {
        state_t prev = state.exchange(
            StateUnlocked,
            std::memory_order::release
        );
        if (prev == StateLockedWithWaiters) [[unlikely]] {
            pool.notify_all(state);
        }
    }
};

Upsides:

Downsides:

Reasons:
  • Blacklisted phrase (1): can I do
  • Blacklisted phrase (1): Is it possible to
  • Blacklisted phrase (1): Is there any
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Turtlefight

79809553

Date: 2025-11-05 01:50:57
Score: 3.5
Natty:
Report link

The limit for internal testers is 80, which you have hit. You can create an external testers group, which should have a limit of 10,000.

https://developer.apple.com/help/app-store-connect/test-a-beta-version/invite-external-testers#invite-external-testers

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

79809547

Date: 2025-11-05 01:36:54
Score: 0.5
Natty:
Report link

You could use pyYAML to parse yaml files in python (pip install pyyaml).

Then, in your code:

import yaml

with open('yourfile.yml') as f:
    self.category_sector_mapping = yaml.safe_load(f)
       
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: monk

79809544

Date: 2025-11-05 01:29:53
Score: 1.5
Natty:
Report link

There's likely version mismatch here between flask and werkzeug. Try downgrading with pip install Werkzeug==2.2.2

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

79809532

Date: 2025-11-05 01:16:50
Score: 1.5
Natty:
Report link

try this extension - sprintreportpro It gives an amazing Sprint Report in Azure DevOps(ADO) in PDF format with charts, burndown, quality summary, team insights etc

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ginu Raju

79809527

Date: 2025-11-05 01:01:46
Score: 1
Natty:
Report link

Update:

openjdk:11-jdk-slim Is Deprecated on Docker Hub

Replace that with

eclipse-temurin:11-jdk-jammy

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

79809521

Date: 2025-11-05 00:47:44
Score: 1.5
Natty:
Report link

I found the answer -

test = test.with_columns(
    pl.when(pl.col(pl.Float32) > 8)
      .then(0)
      .otherwise(pl.col(pl.Float32)).name.keep()
)

I needed otherwise and to explicitly keep the column names. I thought the expression expansion was the issue but this works.

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

79809517

Date: 2025-11-05 00:36:42
Score: 1
Natty:
Report link

So after much more investigation, I have determined that this is just the difference in space efficiency between Parquet and Pandas for the kind of data in my files; The dataset includes several Date and Decimal columns, which can be handled in a very memory efficient way by Parquet and Spark, but not by Pandas.

If someone else has a similar issue, I suggest moving your implementation to PySpark, which can handle this data much better. Unfortunately that is not an option for me, so I have had to fundamentally alter my approach.

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

79809513

Date: 2025-11-05 00:25:39
Score: 3
Natty:
Report link

@0___________, chux posted an advice request, which is SE's attempt to introduce discussions posts. It should have been posted as "Troubleshooting / Debugging" to get the classic format (I think!)

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @0___________
  • Single line (0.5):
  • Filler text (0.5): ___________
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: ikegami

79809510

Date: 2025-11-05 00:24:38
Score: 8.5 🚩
Natty: 6.5
Report link

can someone answer this for me??? I want to be able to launch a game like chess, or block breaker/breakout

Reasons:
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (2.5): can someone answer
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can someone answer this for me
  • Low reputation (1):
Posted by: LeBron

79809506

Date: 2025-11-05 00:17:36
Score: 1
Natty:
Report link

Try using this, it's working for me.

.buttonBorderShape(.circle)
Button { 
  // Button actions here. 
} label: {
  Image(systemName: "chevron.forward")
      .fontWeight(.medium)
}
.buttonBorderShape(.circle)
.buttonStyle(.glass)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Brady White

79809502

Date: 2025-11-05 00:00:31
Score: 4
Natty:
Report link

I forgot to wrap the store. So I want the computed property to be in the store so I can just call store.b. Instead of having to write the computed ref seperately. So I think I'll need to do it the 'c' way. As the computed ref should be refering to a reactive object, but in the initilization state, the reactive object has not been created yet.

And yea, the proper way would be to use a proper store management system, but I was wondering if there's an easy way for it.

Reasons:
  • Blacklisted phrase (2): was wondering
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: TurtleTread

79809498

Date: 2025-11-04 23:45:28
Score: 2.5
Natty:
Report link

enter image description here

enter image description here

I also encountered the same problem and spent a long time troubleshooting it, but I’ve finally solved it.

The root cause of the issue was that Cloudflare returned a very poor-quality IP node for the domain.

From Cloudflare’s publicly listed IP ranges https://www.cloudflare.com/ips-v4/, I selected a high-quality IP node and added it to my Windows hosts file — that completely fixed the problem.

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

79809495

Date: 2025-11-04 23:42:27
Score: 1
Natty:
Report link

It looks like the issue is with the endpoint path. In Jira API v3, the correct endpoint for a JQL search is /rest/api/3/search, not /rest/api/3/search/jql. When you use /search/jql, Jira doesn’t return the paging metadata (startAt , maxResults , total). Try updating your URL to use /search ; that should fix the response format and bring back the pagination info.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shivraj Gudas

79809492

Date: 2025-11-04 23:38:26
Score: 1
Natty:
Report link

Question format is different form before: perhaps I set it up wrong.

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

79809491

Date: 2025-11-04 23:36:25
Score: 1.5
Natty:
Report link

Use gdb to open the core dump

gdb /path/to/binary /path/to/core.dump

Then run:

(gdb) info files
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: cr7

79809489

Date: 2025-11-04 23:33:25
Score: 2.5
Natty:
Report link

@your-common-sense Wouldn't type safety be one reason?

If I had only a set() method, I can't have explicit enforcement for all 3 types. I'd have to use mixed or object|callable.

Having separate methods allows me to be more explicit in how each service is stored.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @your-common-sense
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: germanshedder

79809488

Date: 2025-11-04 23:32:24
Score: 6
Natty:
Report link

I think I once read there was a way to clone a repository with just the .git in it. However I cannot find where I read that but if that's possible, I could change my parent clone to this and avoid having all the files duplicated and then the parent would just hold the .git which would be shared by the worktree ?

Reasons:
  • Blacklisted phrase (1.5): I cannot find
  • Blacklisted phrase (0.5): I cannot
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Lovis XII

79809486

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

I think I understand the problem. Groovy's Map coercion doesn't work on concrete types. Since the SpringApplicationBuilder is a concrete type, it instead tries to instantiate it, but because there's no default constructor it fails. When I tried Map coercion on a type that has a default constructor, it instantiates fine, but then my mocked methods aren't actually run.

TL;DR? I had to give up.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: bmauter

79809483

Date: 2025-11-04 23:26:21
Score: 6 🚩
Natty:
Report link

Well I faced the same issue but when using @nomicfoundation/hardhat-toolbox-mocha-ethers. So far i don't understand why Hardhat only recognise Solidity tests, but no TS tests.

Anybody can help with that?

Reasons:
  • RegEx Blacklisted phrase (3): Anybody can help
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Anton Holovchenko

79809480

Date: 2025-11-04 23:23:21
Score: 1
Natty:
Report link

Actually the only one solution seems to disable totally Copilot. At least for me, enabling, disabling and restarting the IDE won't work. NES will run one more time and the code completions will increase its percentage in the Copilot usage statistics, this includes enabling or disabling auto tringgering for code completions, or setting the language or setting all (*) in false, Copilot will run the NES and the code completion; is just like MS said "it's my IDE and I will make Copilot do whatever, no matter what you do".

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

79809478

Date: 2025-11-04 23:20:20
Score: 2.5
Natty:
Report link

I am the maintainer and primary author of the Spring Data DynamoDB community module -> https://github.com/prasanna0586/spring-data-dynamodb

The Spring Data projects page (https://spring.io/projects/spring-data) now points to this actively maintained version. The latest release is fully compatible with Java 21 and Spring Boot 3.5.6, and I am updating the underlying AWS SDK from v1 to v2 to align with current best practices.

The latest version and compatibility is available here -> https://github.com/prasanna0586/spring-data-dynamodb/?tab=readme-ov-file#version--spring-framework-compatibility

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Prasanna Kumar Ramachandran

79809474

Date: 2025-11-04 23:16:19
Score: 1.5
Natty:
Report link

instead of

CFLAGS="-O2 -Wall -march=native" ./configure <options>

use

CFLAGS="-O2 -Wall -march=native -fcommon" ./configure
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alex Bloom

79809471

Date: 2025-11-04 23:12:17
Score: 7.5 🚩
Natty:
Report link

вопрос больше не актуален
всем спасибо

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: Gregor Zamza

79809468

Date: 2025-11-04 23:04:15
Score: 2.5
Natty:
Report link

I think you misunderstood what II means. Are you saying that you want your top level function to have the same execution time as any one of the 2 functions you call? If so, then it should be II=3 in the top level. Because II is global. For example, one II is 2ns. Your proc1 and proc2 take 6ns to execute and your top level function also takes 6ns to execute.

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

79809467

Date: 2025-11-04 22:59:14
Score: 1
Natty:
Report link

Ran into this issue today and found that it was caused by importing the wrong scroll view.

Import like this: import { ScrollView } from 'react-native-gesture-handler';

DON'T IMPORT like this: import { ScrollView } from 'react-native';

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

79809464

Date: 2025-11-04 22:50:12
Score: 3
Natty:
Report link

All good but internal testing does not go through a review process. That is why we went with a closed testing and thinking to promote to a production but not sure about it.

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

79809460

Date: 2025-11-04 22:45:11
Score: 2
Natty:
Report link

I am officially supporting this project. The project is very much alive and is available here -> https://github.com/prasanna0586/spring-data-dynamodb. The link in spring-data project was updated to point people to the latest library. The latest version of the library uses Java 21 and spring boot 3.5.6. I am working on updating AWS SDK from V1 to V2. It should be available soon.

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

79809454

Date: 2025-11-04 22:38:09
Score: 2
Natty:
Report link

The following helped me with a TypeError: 'Task' object is not callable error in PyCharm when running the debugger. I was using the scrapy library and it behaved in the same way as your error while debugging, but I suspect that you are seeing a similar issue with the asyncio library.

This is taken from the following answer: Cannot debug script with trio_asyncio in PyCharm

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): seeing a similar issue
  • Low reputation (0.5):
Posted by: Nikolai Kummer

79809451

Date: 2025-11-04 22:35:08
Score: 4
Natty: 4
Report link

brew doctor can be really helpful here to make sure you don't need to cleanup, install, link, add to PATH, etc.

Other answers are accurate - it's likely your npm upgrade or reinstalling icu4c

This error can show up when installing php too - I ran into this error with brew install php on Mac OS Monterey 12 (which currently installs 8.4.14). Nothing worked for me though, I've tried everything.

Does anyone know if it's possible to install a version > 8.1 on this OS? I'm convinced it's not.

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • RegEx Blacklisted phrase (2): Does anyone know
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): can
  • Low reputation (0.5):
Posted by: pkucas

79809449

Date: 2025-11-04 22:32:06
Score: 0.5
Natty:
Report link

You should post the HTML that you claim was working but no longer is

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: ControlAltDel

79809444

Date: 2025-11-04 22:26:05
Score: 2
Natty:
Report link

<Ctrl><Shift>R once I highlighted ONLY the commands that I wanted to turn into a function.

My original code block that I wanted to refactor began with a comment and the last line had a comment at the end.

# this code does this
print(a)
print(b) #another comment here.

Refactoring only worked when I ONLY highlighted the print commands.
# this code does this
print(a)
print(b)
#another comment here.

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

79809437

Date: 2025-11-04 22:14:02
Score: 2
Natty:
Report link

I don't know if this is going to let me reply to @apnerve, but I'd have to agree with you that there's nothing technically wrong with skipping h2 and going straight to h3 - that being said, it may be prudent to use CSS to restyle your headings so h1-whatever work the way you want them to, then you have a h2 element that shows up as expected, and you can have an h3. The tiered heading system seems to be used to denote different headers as grouped by importance. H1 is a main header, important. Their importance to the crawler and ultimately organic search ranking will be directed by the standard hierarchy of elements. Creating a page which is pure clean HTML code will be easier for the crawler to recognize as "a product" or "a reservation page".

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @apnerve
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Brett

79809433

Date: 2025-11-04 22:06:01
Score: 1
Natty:
Report link

My company did a production quality test release of our Android app as an Internal Beta release. You can manage your internal testing releases in the Google Play Console under Home>Your App>Test and release>Testing>internal testing. These internal releases could only be downloaded from the app store by users added to the internal testing user group, who were sent a link that redirected them to the app store. Here is more information about Internal Testing of Android apps, it works for up to 100 invited users:

https://play.google.com/console/about/internal-testing/

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

79809431

Date: 2025-11-04 22:05:00
Score: 4
Natty:
Report link

I edited the example data. Hopefully this is easier to demonstrate with now.

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

79809428

Date: 2025-11-04 21:58:58
Score: 3.5
Natty:
Report link

"🎯 Fokus, nikmati, dan biarkan keberuntungan berpihak padamu. JO777 siap mendukungmu."

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

79809427

Date: 2025-11-04 21:55:58
Score: 3
Natty:
Report link

Can't a lot of this be solved by empty lists? And the rest with nullable or property bags

Reasons:
  • RegEx Blacklisted phrase (1.5): solved by empty lists?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can't a
  • High reputation (-2):
Posted by: siggemannen

79809425

Date: 2025-11-04 21:50:57
Score: 1.5
Natty:
Report link
# Source - https://stackoverflow.com/questions/45535861/automate-process-for-merging-csv-files-in-python?newreg=4b233792ea5540e9b7def53147e66644
# Posted by candid
# Retrieved 04/11/2025, License - CC-BY-SA 4.0

for file in os.listdir(DATA_PATH + 'datafolder/'):
    if file.endswith('.csv'):
        abs_path = os.path.abspath(DATA_PATH + 'datafolder/' + file)
        print(abs_path)
        data = openFile(abs_path)
        data2 = someFunction(data)
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Colin Smith

79809424

Date: 2025-11-04 21:49:56
Score: 3.5
Natty:
Report link

Is it possible to use list?

In the case you can just try something like this

import random

mylist = ["Dialogue1", "Dialogue2"]
print(random.choice(mylist))

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (1):
Posted by: Vladimir

79809420

Date: 2025-11-04 21:43:55
Score: 1.5
Natty:
Report link

I successfully uploaded the screenshot using my phone. I logged in to the account with my phone and did it that way.
For some unknown reason, when I transfer the screenshot to my Mac and try uploading it on my browser, it says the dimensions are not right.

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

79809408

Date: 2025-11-04 21:32:53
Score: 2
Natty:
Report link

With the help of @Shrotter I get the idea here is my solution. I used referance string creation methods. It's a great success at my life. thank you again Shrotter.

Dim inz
    For Each inz In prtLst

        'Referans string creation
        Dim sRef 
        sRef = rtPrd.Name & "/" & inz.Name & "/!" & bdyName

        'Create referance
        Set rfBdy = rtPrd.CreateReferenceFromName(sRef)

        'Find da body
        sel.Clear
        sel.Add(rfBdy)
        sel.Copy

        'Activate target
        sel.Clear
        sel.Add(trgtPrt)
        sel.PasteSpecial "CATPrtResult"

    Next
Reasons:
  • Blacklisted phrase (0.5): thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Shrotter
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Yunus Mert AŞKIN

79809397

Date: 2025-11-04 21:08:47
Score: 2.5
Natty:
Report link

Take a look at the specification of US Patent 9,269,157 - "Methods for extracting objects from digital images and for performing color change on the object" - https://ppubs.uspto.gov/pubwebapp/ - maybe you'll find it useful.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vítor Montovani

79809391

Date: 2025-11-04 21:00:46
Score: 0.5
Natty:
Report link

"participants": [

{

"name": "\u00f0\u009f\u0092\u00a5 \u00f0\u009d\u0099\u008e\u00f0\u009

d\u0099\u00a5\u00f0\u009d\u0099\u009e\u00f0\u009d\u0099\u00a7\u00f0\

u009d\u0099\u009e\u00f0\u009d\u0099\u00a9\u00f0\u009d\u0099\u00aa\u

00f0\u009d\u0099\u0096\u00f0\u009d\u0099\u00a1 \u00f0\u009d\u0099\u0

09d\u00f0\u009d\u0099\u00aa\u00f0\u009d\u0099\u00a2\u00f0\u009d\u009

9\u0096\u00f0\u009d\u0099\u00a3 \u00f0\u009f\u0098\u00ae\u00e2\u0080\

u008d\u00f0\u009f\u0092\u00a8"

},

{

"name": "\u00e1\u00b4\u00a9\u00e1\u00b4\u008f\u00e1\u00b4\u008f\u00e

1\u00b4\u008a\u00e1\u00b4\u0080\u00f0\u009f\u00a4\u008e"

}

],

"messages": [

{

"sender_name": "\u00f0\u009f\u0092\u00a5 \u00f0\u009d\u0099\u008e\u00

f0\u009d\u0099\u00a5\u00f0\u009d\u0099\u009e\u00f0\u009d\u0099\u00a7

\u00f0\u009d\u0099\u009e\u00f0\u009d\u0099\u00a9\u00f0\u009d\u0099\u

00aa\u00f0\u009d\u0099\u0096\u00f0\u009d\u0099\u00a1 \u00f0\u009d\u0

099\u009d\u00f0\u009d\u0099\u00aa\u00f0\u009d\u0099\u00a2\u00f0\u009

d\u0099\u0096\u00f0\u009d\u0099\u00a3 \u00f0\u009f\u0098\u00ae\u00e2\

u0080\u008d\u00f0\u009f\u0092\u00a8",

"timestamp_ms": 1743506546720,

"content": "\u00f0\u009f\u0092\u00a5 sent an attachment.",

"reactions": [

{

"reaction": "\u00f0\u009f\u0098\u0082",

"actor": "\u00e1\u00b4\u00a9\u00e1\u00b4\u008f\u00e1\u00b4\u008f\u0

0e1\u00b4\u008a\u00e1\u00b4\u0080\u00f0\u009f\u00a4\u008e"

}

],

"is_geoblocked_for_viewer": false,

"is_unsent_image_by_messenger_kid_parent": false

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

79809389

Date: 2025-11-04 20:57:45
Score: 1
Natty:
Report link

MOHAMED.

// Source - Why am I getting "ERR_CONNECTION_REFUSED" when querying by sidecar-hosted backend in Azure App Service?

// Posted by chris

// Retrieved 11/4/2025, License - CC-BY-SA 4.0

FROM python:3.10-slim

RUN mkdir /backend

WORKDIR /backend

ENV PYTHONDONTWRITEBYTECODE=1

ENV PYTHONUNBUFFERED = 1

RUN pip install --upgrade pip --trusted-host pypi.org

COPY requirements.txt /backend/

RUN apt-get update && \

apt-get install -y libpq-dev gcc

RUN pip install --no-cache-dir -r requirements.txt --trusted-host pypi.org

COPY . /backend/

EXPOSE 8080 80

CMD ["daphne", "-b", "0.0.0.0", "-p", "8080", "backend.asgi:application"]

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: MOHAMED

79809385

Date: 2025-11-04 20:53:44
Score: 0.5
Natty:
Report link

You can handle this directly with React Native’s built-in <Text> props

<Text numberOfLines={1} ellipsizeMode="tail">
  {yourLongText}
</Text>

This will automatically add ... when the text exceeds the available width, leaving no padding or margin.

React Native Docs: Text # EllipsizeMode

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

79809375

Date: 2025-11-04 20:44:42
Score: 3
Natty:
Report link

For me the issue was Flutter channel, try switching to Stable Channel.

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

79809368

Date: 2025-11-04 20:39:41
Score: 2
Natty:
Report link

Install or Repair Microsoft Visual C++ Redistributables

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

79809361

Date: 2025-11-04 20:22:37
Score: 4
Natty:
Report link

Thanks... I did make it all 1 record and things are working.. .Thanks everyone

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

79809360

Date: 2025-11-04 20:21:36
Score: 1
Natty:
Report link

In my case, I installed git in a new windows machine and the repository have links. I needed to mark the option to allow symlinks in the git installation, and clone the repository again.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Lucas Basquerotto

79809359

Date: 2025-11-04 20:21:36
Score: 2.5
Natty:
Report link

You wrongly delimited the memory segment I see. Look, you gave to Mo99 an array of size 100 but the loop goes from 0 to 100, it's 101 spaces of memory, because you wrote i=0 to i<=100. This includes i=100.

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

79809351

Date: 2025-11-04 20:14:35
Score: 1
Natty:
Report link

This is the most updated version of Metal-accellerated Jax that works on my Mac M3:

conda create -n jax-env python=3.11 pip -y
conda activate jax-env
python -m pip install --upgrade pip wheel setuptools
pip install numpy==1.26.4
pip install ml_dtypes==0.3.2 jax-metal
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user3173325

79809338

Date: 2025-11-04 20:01:31
Score: 1
Natty:
Report link

The other answer is correct in that QMap::operator[] returns a mutable reference (T&) while QMap::value() returns an immutable copy (const T), which is the first thing to address.

For what they left unaddressed, the "how do I update a specific struct value" part, the answer is that you want a QMultiMap for that. Whereas QMap::find() only takes a key, QMultiMap::find() takes a key and a value. Using that, you can find the precise instance of the struct you want to update.

Reasons:
  • Blacklisted phrase (1): how do I
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 6equj5

79809332

Date: 2025-11-04 19:51:29
Score: 4
Natty:
Report link

It works fine using Polars, just use Polars instead. thx

Reasons:
  • Blacklisted phrase (1): thx
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Frank

79809325

Date: 2025-11-04 19:44:27
Score: 0.5
Natty:
Report link

If the low 5 bits are 0x1F, then the identifier is encoded in multiple octets. The 0x1F is not a part of the identifier value. If the low 5 bits are < 0x1F, then that is your identifier (<=30). All you have to do is examine the low 5 bits of the first octet and compare to 0x1F.

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

79809324

Date: 2025-11-04 19:42:27
Score: 1
Natty:
Report link
lea     eax,msg
push    eax
call    printf
;!!
ADD     ESP, 1*4 ;1 (push eax), push + push + push 3*4
;!!
push    0                           ; return to os contorl point
call    ExitProcess@4

msvcrt does not balance the stack, in 32bits balance stack on use msvcrt

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

79809323

Date: 2025-11-04 19:40:26
Score: 3.5
Natty:
Report link

Looks like the compiler can't find GLFW's installation directory for includes and libs. How did you get GLFW on your machine? if you installed it via homebrew you should compile using:

(Apple Silicon)

clang++ main.cpp -o app \
  -I/opt/homebrew/include \
  -L/opt/homebrew/lib \
  -lglfw -framework Cocoa -framework OpenGL -framework IOKit

(Intel Macs)

clang++ main.cpp -o app \
  -I/usr/local/include \
  -L/usr/local/lib \
  -lglfw -framework Cocoa -framework OpenGL -framework IOKit

So I'd find the installation directory and compile via

clang++ main.cpp -o app \
  -I/path/to/installation/dir/include \
  -L/path/to/installation/dir/lib \
  -lglfw -framework Cocoa -framework OpenGL -framework IOKit

Also you might wanna try compiling via command line to get a clearer picture then vscode's.

Reasons:
  • RegEx Blacklisted phrase (3): did you get
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Emily Dror

79809322

Date: 2025-11-04 19:38:26
Score: 1
Natty:
Report link

i would give a try to this code:

res = (df.loc[df["A"]==2].index-1).isin(df.loc[df["A"]==1].index).all()

then print your dataframe bases on boolean value in res.

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

79809319

Date: 2025-11-04 19:33:24
Score: 1
Natty:
Report link

I had this same issue here, to fix I did this:

slotProps={{
    dialog: {
        sx: {
            zIndex: 10000
        },
        style: { 
            zIndex: 10000 
        }
    }
}}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Wesley Bernadoque

79809313

Date: 2025-11-04 19:28:23
Score: 0.5
Natty:
Report link

Short answer

Unfortunately (and fortunately privacy wise) that isn't possible.

Long answer

Whatsapp Web doesn’t actually give your browser full access to every participant’s phone number anymore. Since WhatsApp switched to its multi-device system, many group members are identified by random “linked device IDs” (those ending in @lid) instead of real numbers. These IDs are designed for privacy, and the actual phone numbers simply aren’t sent to the web client unless you already have that person in your contacts or you’ve chatted with them before.

When you open a group’s info panel and look at the participant list, WhatsApp briefly fetches and decrypts that data so you can see the numbers in the interface. But that information only exists in memory while the panel is open — it’s not saved anywhere like IndexedDB.

So technically, you can scrape phone numbers from the DOM after a user opens a group and scrolls through the full list, but you can’t do this automatically for every group. WhatsApp’s encryption model is designed to prevent that kind of bulk access. In short, you can export what’s visible on screen, but there’s no reliable way to programmatically fetch all participants’ phone numbers across all groups. That is unless you start simulating user interaction for each group.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @lid
Posted by: Remy Kabel

79809310

Date: 2025-11-04 19:24:22
Score: 1
Natty:
Report link

In PhpMyAdmin, when you add the password for the user, the error will go. it worked for me

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

79809300

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

I recently had the same problem and was able to solve it in the following way in Java (should work in most languages):

int useValue = value >> 31;
return value & ~useValue;

I needed it specifically for Integer so I used it in here. We do 31 signed bit-shifts to the right (because Java Integer have exactly 32 bits), which turns all bits into 1 if the value is negative, otherwise 0. Then we return a bitwise AND of our value and the complement of our bits. So a negative number will always return 0 because the complement of its right-shifted bits is always 0. Any value & 0 will always return 0. If our number is positive (or 0), then the complement of those bits will always be 1. Any value & 1 will just return the plain value.

You unfortunately need to know how many bits your value has for this work but it fulfills all other criteria that you mentioned.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kooper

79809299

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

imho, the easiest way is to prepare an array to multiply original one with, based on the arithmetical signs of your reshaped D array. And then mutiply it with your flipped original T array.

m = np.where(np.sign(D)[:, None]>0, [-1, 1], [1, -1])
res = np.flip(T,1)*m

res:

[[ 2 -1]
 [-4  3]
 [-6  5]
 [ 8 -7]]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: strawdog

79809298

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

@DrewReese "logging in the render function is an unintentional side effect and doesn't necessarily correlate to any actual rendering to the DOM during React's "commit phase", i.e. the "expensive" part" - in a table library, executing the render function for every single item (in a list of potentially thousands) is expensive in itself, regardless of what React does to the DOM (or not). Calling the row render function for every row when just one item changes (e.g. when the checkbox state is toggled) is infeasibly costly.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @DrewReese
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: Bergi

79809296

Date: 2025-11-04 19:01:16
Score: 2
Natty:
Report link

Thanks! Do you want to write an answer? I'll accept it. Otherwise I'll write up my own.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Paul A Jungwirth

79809293

Date: 2025-11-04 19:00:16
Score: 2.5
Natty:
Report link

Apart from the above answers, another thing to make sure is, if s3 bucket has server side encryption with KMS, in account B, and the access is originated from account A, make sure the principal in account A has access to that KMS, and the KMS's resource based policy allows it. Ref

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

79809282

Date: 2025-11-04 18:46:12
Score: 0.5
Natty:
Report link
 var outputConfig = new KnowledgeAgentOutputConfiguration
 {
     Modality = KnowledgeAgentOutputConfigurationModality.AnswerSynthesis,
     IncludeActivity = true
 };

  var agent = new KnowledgeAgent(
      name: "agent",
      models: new[] { agentModel },
      knowledgeSources: new[] { knowledgeSourceReference }
  )
  {
      OutputConfiguration = outputConfig
  }; 

Based on the code I was able to see LLM-generated response

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

79809273

Date: 2025-11-04 18:34:09
Score: 3.5
Natty:
Report link

You can change the 120-character limit of PyCharm for both the Project and the Default schemes as seen in the image below.

PyCharm Settings

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