79611708

Date: 2025-05-08 04:09:45
Score: 3
Natty:
Report link

Even I faced the same issue.

Try pip3 install "Your Package" .That should work.

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

79611696

Date: 2025-05-08 03:49:40
Score: 4.5
Natty:
Report link

See https://stackoverflow.com/a/60326398/8322843 for help. That works indeed.

Here is my captured Debug Configuration page. img

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

79611694

Date: 2025-05-08 03:49:40
Score: 0.5
Natty:
Report link

Reinstall dependencies

rm -rf vendor composer.lock
composer install

Clear caches

php artisan cache:clear
composer dump-autoload

Check for missing core package

composer show laravel/framework
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abdullah Al Shahed

79611690

Date: 2025-05-08 03:45:39
Score: 1
Natty:
Report link

I encountered the same issue as I was integrating Keycloak for authentication in Apache Airflow. The information provided by Matt helped me to identify the issue and jwt.io pointed me to the expected audience value.
The Airflow documentation shows a good starting point regarding how to integrate Keycloak, but the instruction where the JWT is decoded was in my case lacking the audience information:

user_token = jwt.decode(token, public_key, algorithms=jwt_algorithms)

After changing it to the following, everything worked like a charm:

user_token = jwt.decode(token, public_key, algorithms=jwt_algorithms, audience=f"{expected_audience}")
Reasons:
  • Blacklisted phrase (1): worked like a charm
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: gcon

79611686

Date: 2025-05-08 03:36:38
Score: 2
Natty:
Report link

Sanctum Config:

SANCTUM_STATEFUL_DOMAINS=localhost
SESSION_DOMAIN=localhost
SESSION_DRIVER=cookie

Axios

axios.defaults.withCredentials = true;

Clear cookies & restart Docker.

Still broken?

Avoid mixing web + api middleware.

Check cors.php (supports_credentials => true).

Ensure no custom middleware modifies sessions.

Fixed? If not, check browser devtools for misconfigured cookies.

Reasons:
  • RegEx Blacklisted phrase (1.5): Fixed?
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Abdullah Al Shahed

79611682

Date: 2025-05-08 03:31:36
Score: 1.5
Natty:
Report link

-- Web.Config Configuration File -->

<configuration>

\<system.web\>

    \< mode="Off"/\>

\</system.web\>

</configuration>

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

79611677

Date: 2025-05-08 03:22:33
Score: 8.5 🚩
Natty:
Report link

Venkatesan, We are facing the same issue at our end, Did your issue get resolved, if yes, can you please share the solution. thanks.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (2.5): can you please share the solution
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anil Bhagchandani

79611675

Date: 2025-05-08 03:20:33
Score: 1.5
Natty:
Report link

8 years later, this very same code in ContosoUniversity open-source project works in .Net 6 but doesn't work in .Net 8.

My ContosoUniversity project in .Net 8 is pretty much fully functional except for insert and update.

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

79611670

Date: 2025-05-08 03:16:32
Score: 3
Natty:
Report link

I don't see the option to create key for user. Probably has to create a service account on GCP, set permission, then share the JSON file to the DB clients

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

79611668

Date: 2025-05-08 03:14:31
Score: 2.5
Natty:
Report link

HAHA, I solved this problem. I created an environment and compared it by saving the depth in png and exr formats. The depth map in png format is completely nonlinear compared to the actual depth, while the exr format is the opposite.

scene

depth map

png format depth map:

enter image description here

exr format depth map:

enter image description here

Even if you linearly map the depth of png, you can't get a depth value that matches exr.

depth_map_png = cv2.imread("images/depthpng.png", cv2.IMREAD_UNCHANGED)
depth_map_png = depth_map_png[:, :, 0].astype(np.float32)
height, width = depth_map_png.shape

depth_map_png = depth_map_png / 65535.0
depth_map_png = depth_map_png * (clip_far - clip_near) + clip_near
print(depth_map_png)

The reconstruction result of exr file:

enter image description here

Finally, I am still a little confused. Can I use the PNG depth map generated by blender through non-linear mapping?

Reasons:
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Clyde Tony

79611665

Date: 2025-05-08 03:12:31
Score: 0.5
Natty:
Report link
about_set_timestamp": 1738574755,
    "profile_picture": "/9j/4AAQSkZJRgABAQAAAQABAAD/4gIoSUNDX1BST0ZJTEUAAQEAAAIYAAAAAAQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAA9tYAAQAAAADTLQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlkZXNjAAAA8AAAAHRyWFlaAAABZAAAABRnWFlaAAABeAAAABRiWFlaAAABjAAAABRyVFJDAAABoAAAAChnVFJDAAABoAAAAChiVFJDAAABoAAAACh3dHB0AAAByAAAABRjcHJ0AAAB3AAAADxtbHVjAAAAAAAAAAEAAAAMZW5VUwAAAFgAAAAcAHMAUgBHAEIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFhZWiAAAAAAAABvogAAOPUAAAOQWFlaIAAAAAAAAGKZAAC3hQAAGNpYWVogAAAAAAAAJKAAAA+EAAC2z3BhcmEAAAAAAAQAAAACZmYAAPKnAAANWQAAE9AAAApbAAAAAAAAAABYWVogAAAAAAAA9tYAAQAAAADTLW1sdWMAAAAAAAAAAQAAAAxlblVTAAAAIAAAABwARwBvAG8AZwBsAGUAIABJAG4AYwAuACAAMgAwADEANv/bAEMACAYGBwYFCAcHBwkJCAoMFA0MCwsMGRITDxQdGh8eHRocHCAkLicgIiwjHBwoNyksMDE0NDQfJzk9ODI8LjM0Mv/bAEMBCQkJDAsMGA0NGDIhHCEyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMv/AABEIAoACgAMBIgACEQEDEQH/
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Hod

79611656

Date: 2025-05-08 02:57:27
Score: 3
Natty:
Report link

TLDR: Check the link.txt under CMakeFiles/ dir, see if there is a unexpected library linked. The library linked should be user-known.

In my case, CMake automatically found the glog/gflags under /opt/anaconda3 and linked to the .so under it, and then this error occurs. I recommend to revise the CMakeList.txt, regenerate CMakeCache.txt and try make again.

So please check your link.txt under CMakeFiles/ dir for more details. In my case, checking the link.txt did help!
enter image description here

Once correct 3rd libraries linked, everything went well.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (1): Check the link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Simplex

79611655

Date: 2025-05-08 02:56:26
Score: 3.5
Natty:
Report link

There is another way to do search using Full Text Search in MySQL which is the database I'm using. Although I need to do some testing to make sure I get what I want but seems like it might be possible to do search without breaking the string which is highly desirable as I want to use spring boot and jpa and query would be hardcoded. I found this video which shows how to use FTS on one table.

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

using this I modified my query by indexing both tables like the video describes and made the following query. Need to test to make sure it returns what I want.

Note: watch video on how to create FTS index in MYSQL workbench queries don't work without indexes

Query using one table

select * from Product where

MATCH (productName, productDescription, about)

AGAINST ('Plain-woven Navy');

Query using multiple tables

select *
    from Product a
    inner join
    productItem b on (a.productId=b.productId)
    inner join
    ProductColor c on (b.productColorId=c.productColorId)
where 
MATCH (a.productName, a.productDescription, a.about)
AGAINST ('Plain-woven Navy')
and 
MATCH (c.colorName)
AGAINST ('Plain-woven Navy');
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user2043759

79611654

Date: 2025-05-08 02:53:26
Score: 3.5
Natty:
Report link

I am having this problem too, popups social login or wallet connection are not working.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vĩnh Thoại

79611653

Date: 2025-05-08 02:53:26
Score: 1
Natty:
Report link

Turns out the answer was very simple, I needed to pass the index of the qubit to probabilities_dict rather than the qubit directly.

The last 2 lines should be changed to:

# marginal probability of flag==1 must equal P[x ≥ deductible]
# index of the single‑qubit flag register inside *this* circuit
flag_index = qc.qubits.index(flag[0])

p_excess = sv.probabilities_dict(qargs=[flag_index])['1']
print(f"P(loss ≥ 1) = {p_excess:.4f}")
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Alex F

79611642

Date: 2025-05-08 02:27:21
Score: 3
Natty:
Report link

After a little bit more of looking around, I think I managed to solve my own queries. I will post this answer here for sharing & advice. I hope it is useful for someone else. If there is another out-of-the-box way to achieve my goals without using the Java Agent, please let me know.


To instrument my IBM MQ Producer service without using Java Agent:

Since I am using io.opentelemetry.instrumentation:opentelemetry-spring-boot-starter, I realised that using @WithSpan on my IBM MQ Producer service's publish/put function allows it to be traced, as long as the function calling it is also instrumented. The Spans created in this way are "empty", so I looked at how to populate the Spans like how they would have been if it was instrumented by the Java Agent.

There are a few attributes that I needed to include in the span:

It seemed simple enough to include thread.id and thread.name - I just had to use Thread.currentThread().getXXX(). It also seemed simple to hardcode Strings for most of the messaging.* attributes.

However, since I implemented my IBM MQ Producer service to send its JMS Messages using org.springframework.jms.core.JmsTemplate$send, the messaging.message.id is only generated after the send method is called - I did not know how to obtain the messaging.message.id before calling the send method.

To populate the JMS Message Spans with messaging.message.id attributes without using Java Agent:

Turns out, I can use org.springframework.jms.core.JmsTemplate$doInJms to manually publish the JMS Message in my IBM MQ Producer service. This allowed me to use org.springframework.jms.core.SessionCallback to manually create the jakarta.jms.Message, send it, and eventually return the JMSMessageID as a String so that I can set it into my Span attributes.

This way, I can instrument my IBM MQ Producer service's put/publish methods while not propagating context downstream. A sample of my implementation is below:

@WithSpan(value = "publish", kind = SpanKind.PRODUCER)
    public void publish(String payload) {
        String jmsMessageID = jmsTemplate.execute(new SessionCallback<>() {
            @Override
            @NonNull
            public String doInJms(@NonNull Session session) throws JMSException {
                Message message = session.createTextMessage(payload);
                Destination destination = jmsTemplate.getDefaultDestination();
                MessageProducer producer = session.createProducer(destination);
                producer.send(message);
                return message.getJMSMessageID();
            }
        });
        Span currentSpan = Span.current();
        currentSpan.setAttribute("messaging.destination.name", jmsTemplate.getDefaultDestination().toString());
        currentSpan.setAttribute("messaging.message.id", jmsMessageID);
        currentSpan.setAttribute("messaging.operation", "publish");
        currentSpan.setAttribute("messaging.system", "jms");
        currentSpan.setAttribute("thread.id", String.valueOf(Thread.currentThread().getId()));
        currentSpan.setAttribute("thread.name", Thread.currentThread().getName());
    }

Note: The jmsTemplate is configured separately as a Bean and injected into my IBM MQ Producer service.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ALVIN

79611637

Date: 2025-05-08 02:24:19
Score: 9 🚩
Natty:
Report link

I'm actually getting the exact same error. I'm just running npx expo start --clear and using the QR code to run the app on my iPhone. Everything had been running fine for the duration of the tutorial I've been going through. App loads and starts fine, but it seems to trigger that error when I do something which attempts to interact with Appwrite. I'm not using nativewind or anything like that. It's a pretty simple app. (Going through the Net Ninja's series on React Native) Issue started on lesson #18 Initial Auth State. Any help would be appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (3): Any help would be appreciated
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): getting the exact same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: t_reed

79611631

Date: 2025-05-08 02:17:17
Score: 2
Natty:
Report link

duplicate config fix problem by :
vim /usr/lib/systemd/system/redis-server.service

ExecStart=/usr/bin/redis-server /etc/redis/redis.conf

sudo systemctl daemon-reload

sudo systemctl start redis-server

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

79611629

Date: 2025-05-08 02:08:15
Score: 2.5
Natty:
Report link

What type of notification, and maybe you would have to make a complete new account. Use (e.g. John)

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What type of not
  • Low reputation (1):
Posted by: Steven Dean

79611628

Date: 2025-05-08 02:08:15
Score: 3
Natty:
Report link

lusfnhcis jakWBDIKH KWHBSDK LKJSKksbc ah aj sajh a ak caj aam ka cka ckah ca ck aj kac ak cka c k c c kc c kc kc

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

79611626

Date: 2025-05-08 02:04:15
Score: 0.5
Natty:
Report link

The main issue is that when running ECS containers inside LocalStack, they need to be configured to use LocalStack's internal networking to access other AWS services like S3.

  1. Configure the ECS container to use LocalStack's internal networking:
  1. Create a task definition that includes the necessary environment variables and networking configuration

  2. Create a service that uses this task definition and connects to the same network as LocalStack

  3. In your application code, configure the AWS SDK to use the LocalStack endpoint

  4. Make sure your LocalStack container and ECS tasks are on the same network.

  5. When creating the S3 bucket in LocalStack, make sure to use the same region and credentials that your ECS task is configured to use

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

79611622

Date: 2025-05-08 02:02:14
Score: 2
Natty:
Report link

This might be related:

<PropertyGroup>
    <NoSymbolStrip Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'ios'">True</NoSymbolStrip>
</PropertyGroup>

https://github.com/dotnet/macios/releases/tag/dotnet-8.0.1xx-xcode16.0-8303

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

79611618

Date: 2025-05-08 01:59:13
Score: 1.5
Natty:
Report link

You will need to migrate to Android Health Connect now, given Google Fit will be deprecated in 2026: https://developer.android.com/health-and-fitness/guides/health-connect/migrate/migration-guide

There are also health, sleep, fitness data aggregator / analysis API such as https://sahha.ai/sleep-api which provide an easier solution to collecting data more broadly across multiple devices

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

79611617

Date: 2025-05-08 01:58:13
Score: 1
Natty:
Report link

till playframework version 3.1.0 still it relies on javax, use

3.1.0-SNAPSHOT

or the M version, although i found some problems by using M version and then again got back too snapshot

addSbtPlugin("org.playframework" % "sbt-plugin" %"3.1.0-SNAPSHOT")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raya

79611607

Date: 2025-05-08 01:42:09
Score: 3
Natty:
Report link

You start the second timer with a negative first argument.

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

79611602

Date: 2025-05-08 01:35:07
Score: 4.5
Natty: 4.5
Report link

How can this possibly work? setInstrument() is never called.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How can this
  • Low reputation (1):
Posted by: Jim

79611601

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

The sizes of the structs in C and Rust are not the same. Even after turning on C representation, and packed, I was still left with a struct that was at least 195 bytes. In comparison, the same struct in C was only 52 bytes...

So what is needed here is some deserialization wherein one extracts the values seperately and reconstructs the struct in Rust. So, I implemented exactly that.

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

79611593

Date: 2025-05-08 01:22:04
Score: 1.5
Natty:
Report link

https://crates.io/crates/startt/0.1.0

i published an example that demonstrates how to do it using rust. I tried all the different things; when it comes to chrome it can be tricky. it uses the time to help determine what instance to use.

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

79611591

Date: 2025-05-08 01:20:03
Score: 2
Natty:
Report link

The primative trigger allowable in Power Automate only works sucessfully from a new email arrival in the gMail inbox. You have to have a gMail rule apply the label. The power automate has ZERO capability of allowing a developer to test this functionality unless you can generate the email manually, but if the email is from automation, then you need to be able to control that automation a force it to generate the email. Without a new email hitting the inbox, the power automate tools are useless.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eric L

79611588

Date: 2025-05-08 01:17:03
Score: 0.5
Natty:
Report link

You can show total count in side the datatable

$('#my_table').DataTable({
    "language": {
      "info": "show _PAGE_ page total pages _PAGES_ total record _TOTAL_ ",
    paging: true, 
  });    

variable _TOTAL_ is the total rows of table.

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

79611586

Date: 2025-05-08 01:14:02
Score: 1.5
Natty:
Report link

Just use \"o for ö.

This does not need special packages for geman such as \usepackage[utf8]{inputenc} and \usepackage[german]{babel}.

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

79611575

Date: 2025-05-08 01:03:59
Score: 0.5
Natty:
Report link

You need to explitely add the allowed origins to your settings after activating cors-headers. Add this to settings.py :

CORS_ALLOWED_ORIGINS = ["https://project.mydomain.com"] # This is your frontend's url

It will let your frontend receive the response.

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

79611574

Date: 2025-05-08 01:01:59
Score: 3.5
Natty:
Report link

I switched all my controls to keyboards controls and it works like a charm when the mouse click is unresponsive.

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

79611560

Date: 2025-05-08 00:42:54
Score: 4
Natty: 4
Report link

Excelente con esto funciona correctamente.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: DANIEL PEREZ

79611551

Date: 2025-05-08 00:17:49
Score: 3
Natty:
Report link

Once had that Issue. On the first load, it failed due to inconsistent container responses. With multiple replicas, each request hit a different container.

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

79611549

Date: 2025-05-08 00:16:49
Score: 1
Natty:
Report link

Lets do this!

There appears to be some confusion about how virtual address works.

Same Physical Page and Multiple Virtual Addresses Since p and q are both pointers to the same (non-volatile) type that do not compare equal, it might be possible for C++ to assume that the write to p can be lifted out of the conditional and the program optimized to:

This section has incorrect assumptions:

  1. C++ does not make assumptions about pointers, in fact due to how it treats arrays (as pointers), C++ cannot make assumptions about arrays that Fortran or Cobal can, which is why some matrix operations in C++ are slower than Fortran and Cobal as they cannot benefit from hardware accelerators. That require one to make an unsafe C++ assumption. So no, it will not happen.

  2. A process cannot map multiple virtual addresses to the same physical address.

  3. The OS chooses how things are mapped, and as far as I know it doesn't map things to the same physical address except where it makes sense (shared libraries, which store all of their runtime data in the virtual space of their parent process).

Same Virtual Address Maps to Different Physical Pages for Different "threads"

Threads share the same virtual memory mapping for Data, Code, and Heap sections of your program.

They do map the stack differently, but this isn't an issue you should worry about, as you shouldn't pass pointers to things on the stack between threads. Even if threads shared the same stack space doing so is a bad idea.

If you decide for some strange reason to pass pointers to the stack between processes are using pointers to the stack.

  1. Why?

  2. using pointers to the stack from anything that isn't a child of the function that claimed that stack space. Is generally considered bad practice and the source of some really odd behavior.

  3. You will be so busy dealing with other problems caused by this bad life choice that the minor fact that the stack has different physical addresses between threads is the least of your problems.

What does this mean? Don't use pointers to the stack outside of their stack context. Everything else works as expected.

But could I if I wanted to?

Yea, you could write an OS that did the bad things you describe... But you would have to decide to do this.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Questor

79611535

Date: 2025-05-07 23:58:44
Score: 3.5
Natty:
Report link

Please see this official documentation guide on the international scope for support in countries for 2-wheeled vehicles:
https://developers.google.com/maps/documentation/routes/coverage-two-wheeled

If you want to improve coverage, you may file a feature request through our public issue tracker through this link: https://developers.google.com/maps/support#issue_tracker

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

79611530

Date: 2025-05-07 23:46:41
Score: 1.5
Natty:
Report link

I came across this issue today.

Assume this is a recent addition to the library, but disabling drag is now possible using the following:

layer.pm.disableLayerDrag();

Reference: https://geoman.io/docs/leaflet/modes/drag-mode

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

79611529

Date: 2025-05-07 23:46:41
Score: 2.5
Natty:
Report link

You will need to migrate to Android Health Connect now, given Google Fit will be deprecated in 2026: https://developer.android.com/health-and-fitness/guides/health-connect/migrate/migration-guide

Also consider using an health, sleep, fitness data aggregator / analysis API such as https://sahha.ai/sleep-api

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

79611520

Date: 2025-05-07 23:34:38
Score: 2.5
Natty:
Report link

Old question but still relevant. There is an Access add-on tool, called ProcessTools that has the ability to change all forms colours, fonts etc. this may assist "modernise" the look of your application or those of others that hit this question.

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

79611517

Date: 2025-05-07 23:32:37
Score: 3
Natty:
Report link

Probably not still an issue for op, but was having this issue on a self-hosted Docker swarm service with three replicas. The resolution was to limit to 1 replica.

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

79611516

Date: 2025-05-07 23:25:35
Score: 0.5
Natty:
Report link

Just found a random page with jQuery and could not reproduce the issue you have. However, per the documentation at https://developer.mozilla.org/en-US/docs/Web/API/Window/scroll , window.scroll({top: sScrollPos, left: 0, behavior: 'instant'}) should work.

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

79611512

Date: 2025-05-07 23:20:33
Score: 0.5
Natty:
Report link

This isn't going to be the answer you were hoping for but hopefully it will have some guidance that is useful to you.

But I’m trying to make sure I’m asking the right questions upfront. What should I be looking for when it comes to system performance?

I really like that you are taking a moment to stop and think about what you are trying to achieve before "just doing stuff". This is multi-facetted:

What’s the best way to push the whole thing to its limits and really explore where it breaks?

I've always thought that performance testing is a specialist area, fraught with complexity. It depends on how much effort and time you want to invest in this, and how critical the results are. If it's critical maybe talk to a specialist performance tester/company.

Low-effort testing might be stubbing out the external systems in your dev environment and throwing some transactions through, with some kind of observability to measure performance; high-effort testing might be setting up a dedicated environment, working with the providers of the external systems, etc.

Questions to ask / aspects to consider:

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Adrian K

79611511

Date: 2025-05-07 23:20:33
Score: 3
Natty:
Report link

Have to restart after setting the username/password.
The instructions here kind of skip that part - https://nifi.apache.org/docs/nifi-docs/html/getting-started.html#i-started-nifi-now-what

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

79611508

Date: 2025-05-07 23:17:32
Score: 10 🚩
Natty: 6.5
Report link

did you ever find an answer to this.. ? thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (3): did you ever find an answer to this
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Greg

79611504

Date: 2025-05-07 23:14:31
Score: 1.5
Natty:
Report link

how do I do that when the phashion gem is defined in a gemfile? The env variables don't seem to work when I run Bundler.

Doing the following worked for me on arm64 (M3 macos)

    export CFLAGS="-I/opt/homebrew/opt/jpeg/include -I/opt/homebrew/include $CFLAGS"
    export CPPFLAGS="-I/opt/h/omebrew/opt/jpeg/include -I/opt/homebrew/include"
    bundle config build.phashion --with-ldflags="-L/opt/homebrew/lib -L/opt/homebrew/opt/jpeg/lib"
Reasons:
  • Blacklisted phrase (1): how do I
  • Whitelisted phrase (-1): worked for me
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how do I
  • Low reputation (1):
Posted by: Nick E

79611503

Date: 2025-05-07 23:10:30
Score: 0.5
Natty:
Report link

While not exactly the same problem I had a similar issue with a modem SIMCOM 7600 (SIM7600SA) USB device on a Raspberry pi4 that USB disconnects / reconnects and then basically fails all over the place with this error until a system reboot was done.

"Error getting SMS status: Error writing to the device. (DEVICEWRITEERROR[11])".

Turns out it was the devices fault, it's advertised as 4g capable but when on 4g it becomes unstable, i manually used AT commands to put it on the 3g network and its working perfectly.

I've read that 4g uses more power than 3g and this might be the cause of the issue (haven't verified) but I'm not using the modem for data (at all) just SMS.

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

79611502

Date: 2025-05-07 23:10:30
Score: 0.5
Natty:
Report link

Perhaps you should use a GridView instead? Set the Orientation to Vertical and the MaximumRowsOrColumns to 1 (weird name, but since it is vertical you can have multiple columns).

This will allow you to scroll horizontally using the mouse scrollwheel and change the selected item using the left/right keys or clicking.

<GridView x:Name="HorizontalList"
    ItemsSource="{x:Bind MyList, Mode=OneWay}"
    ScrollViewer.HorizontalScrollMode="Enabled"
    ScrollViewer.HorizontalScrollBarVisibility="Visible"
    ScrollViewer.VerticalScrollMode="Disabled"
    ScrollViewer.VerticalScrollBarVisibility="Hidden">
    <GridView.ItemsPanel>
        <ItemsPanelTemplate>
            <ItemsWrapGrid Orientation="Vertical"
                       MaximumRowsOrColumns="1" 
                ItemWidth="150"
                ItemHeight="150" />
        </ItemsPanelTemplate>
    </GridView.ItemsPanel>
</GridView>

enter image description here

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

79611495

Date: 2025-05-07 23:05:28
Score: 1
Natty:
Report link

Apparently when spawning a new LanguageClient, the serverOptions field includes a field called options of type ForkOptions. This allows the setting of stack size in forked processes.

The final configuration:

const node = require('vscode-languageclient/node'); 
... 
const serverOptions = {     
    module: serverModule,      
    transport: node.TransportKind.ipc,     
    options: {  
        execArgv: ['--stack-size=8192'],    
    } 
};
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Qiancheng Fu

79611485

Date: 2025-05-07 22:54:25
Score: 1.5
Natty:
Report link

The correct content type for Protobuf is application/x-protobuf. It is used when sending or receiving Protobuf data in HTTP requests or responses.

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

79611482

Date: 2025-05-07 22:48:23
Score: 1
Natty:
Report link

I'm not sure of the size and scope of your software system - and therefore how much architecture you think is appropriate to build into it.

In general terms, its usually better to "separate concerns" - a given code module should have one job and do that job well; this means it should only have one reason to change. The SOLID design principles address this and discuss the various motivations and considerations.

Of your options, the first option is "better" as separates two different ideas:

Using this approach means code modules can more easily be reused and composed in different ways.

Further reading:

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Adrian K

79611481

Date: 2025-05-07 22:46:23
Score: 0.5
Natty:
Report link

gRPC makes remote procedure calls (RPCs) possible between a client and a server over a network.

It uses Protobuf to define the data structures (messages) and the services (functions or methods) that the client can call on the server.

So, gRPC is the system that actually allows the client to call server functions, while Protobuf is used to describe the data (messages) that’s passed between them.

In short:

Protobuf defines how the data should look (structures).

gRPC lets you call remote functions and exchange that data.

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

79611475

Date: 2025-05-07 22:30:19
Score: 1
Natty:
Report link

You want to match either the start of the string ^ or after any newline \n character:

mystr:match("^(%#+)") or mystr:match("\n(%#+)")

I don't think you can combine it into one match. Logical 'or' in Lua patterns?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Mikael Öhman

79611466

Date: 2025-05-07 22:14:15
Score: 3
Natty:
Report link

The edited code from Lukas was exactly what I needed when one million records were being loaded through INSERT INTO statements and the script failed in the middle of the import. I needed to know the last record that was loaded and finding the last 5 records in "natural order" showed me where the script stopped.

@ErwinBrandstetter - all of your points are valid regarding the uncertainty of a "natural order" of rows. Since I just loaded the data, I was able to do the research immediately while the natural order of my table was still intact.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @ErwinBrandstetter
  • Low reputation (1):
Posted by: ScottyK

79611465

Date: 2025-05-07 22:13:14
Score: 1
Natty:
Report link

The area you can scroll within a Scroll View is determined by the size of the Content game object.

When you create an Image as a child of the Content game object, you then have to make sure, that it matches the size of all your images.

If the Images are set up in a horizontal or vertical line, or in a grid, I would advise you to use a Layout Group Component alongside a Content Size Fitter Component set to preferred width and or height.

If the Images are placed more loosely, you probably have to calculate the bounds of all your objects manually. For that, you could iterate over the RectTransforms of your level elements and use RectTransform.GetWorldCorners() to get the bounds and find the bottom left most point and top right most point in your level. With this you can easily calculate the width and height, but you might have to take offsets and scaling into consideration.

More details and maybe an image of your setup could be useful for further help.

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

79611464

Date: 2025-05-07 22:12:14
Score: 0.5
Natty:
Report link

Another option is to do what is done in EXIF, which is to use rational numbers. Then you are simply saving two integers. You could use continued fractions to find a good pair. Or just use the digits you want to save and the appropriate power of ten.

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

79611463

Date: 2025-05-07 22:10:13
Score: 3
Natty:
Report link

Thank you very much to everyone who responded.

I've found a solution that works for now. I'm simply generating a LISP file from the Excel table.

Inserting the blocks using this method is extremely fast in comparison.

When I have a bit more free time, I'll look into migrating my code to AutoCAD VBA.

:D

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Julián Felipe Herrera Mejía

79611458

Date: 2025-05-07 21:59:10
Score: 0.5
Natty:
Report link

How about this:

convert input.png -colorspace rgb -fx 'if(u!=0 && u!=1, rgb(255,0,0), u)' output.png

This command preserves the black and white parts of the image and turns anything else red. This way, the red pixels can be seen in context.

Note: A solution using "global" operations like -negate, -opaque, etc. would be MUCH faster than applying a formula to every pixel. This command pegged my CPUs for about 10 minutes, but it worked!

Reasons:
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Steven S. Shrader

79611457

Date: 2025-05-07 21:58:10
Score: 0.5
Natty:
Report link

You can add a delay to slow down consumption, but it's best to do that in the code that's deserializing the records from Kafka. That's running in a separate thread, so your delay won't block other work being done by the subtask thread.

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

79611443

Date: 2025-05-07 21:47:07
Score: 3
Natty:
Report link

Take a look at BitDive. They have continued method-level profiling for Java/Spring/Kotlin, and it works perfectly fine, especially in Kubernetes and for distributed tracing in general.

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

79611440

Date: 2025-05-07 21:45:06
Score: 5.5
Natty: 5
Report link

Thank you, it helped me a lot.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): helped me a lot
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: steeve55

79611438

Date: 2025-05-07 21:44:05
Score: 5
Natty:
Report link

It did not work for me, please is there a way you can do video on this please, I am getting tired and frustrated.

Reasons:
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): is there a way
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kings Oduah

79611437

Date: 2025-05-07 21:44:05
Score: 2.5
Natty:
Report link

In my situation i was using backend and frontend on same ingress. When i split them, they started working properly.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mehmet Gökalp

79611434

Date: 2025-05-07 21:42:04
Score: 0.5
Natty:
Report link

Update: It turns out the host (privately hosted GitHub) is setting sandbox policy for its CSP which does not explicitly set 'allow-downloads'. As a result of this, we cannot use 'meta' tags in the HTML headers to override it. The only real options are to either workaround (force use to right click and save the Blob URL link) or to change the actual CSP policy on the server side.

Hope this helps someone who runs into this down the line.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Edwin

79611431

Date: 2025-05-07 21:41:04
Score: 1.5
Natty:
Report link

I have been programming C & C++ since they escaped Bell Labs. I have done it on many Unix flavors, Linux and all visual C++ versions. The entire purpose of the design of the C language was portability; copy files and compile. What a genius idea! Makefile(s) suck but they are better than listing a few hundred files for the command line or putting in batch files.

Maybe a horrible IDE is actually a strategy to forced people into using other tools they sell because they certainly have been unable to sell this one.

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

79611419

Date: 2025-05-07 21:20:59
Score: 0.5
Natty:
Report link

The solution is quite simple. In short, my structs were not not of the same size.

typedef struct dirent {
    char name[DIR_NAME];
    int  inum;
    bool active;
    char _unused[4];
} dirent;
Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gjbauer

79611418

Date: 2025-05-07 21:20:59
Score: 1.5
Natty:
Report link

You can do it without the explicit cast if you use sqrtf(x).

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

79611416

Date: 2025-05-07 21:19:58
Score: 1
Natty:
Report link

Wayland won't draw a window's contents until something is committed (drawn to) that window. For Vulkan, that means doing a present.

Once you complete your sample/demo code far enough to present something, you should then see the window.

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

79611409

Date: 2025-05-07 21:08:56
Score: 1.5
Natty:
Report link

For that you will have to save the user's time zone in the database somewhere, so you can know it ahead of time. Unless you also bundle some js, that can change the dates later when js is run in the browser.

There other advanced tactics sites use to detect user's location, like the 'Accept-Language' header or analysing the ipaddress, you can research those if you like.

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

79611406

Date: 2025-05-07 21:06:55
Score: 2
Natty:
Report link

Start-Process explorer.exe "C:\Users\Users\Pictures"

Start-Process explorer.exe "C:\Users\Users\Downloads"

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

79611395

Date: 2025-05-07 20:56:53
Score: 2
Natty:
Report link

If you outside of TFS, I prefer to copy file into new project and even solution as a file and then add it into another project. As a quick and dirty solution can be just copy /paste xml content into any existing or new package.

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

79611393

Date: 2025-05-07 20:52:52
Score: 0.5
Natty:
Report link
HttpURLConnection connection = (new Connection(urlString)).connection;
connection.setRequestProperty("User-Agent", "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2");

It is crucial to change the user-agent because the old user agent is on Yahoo's stop-list.

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

79611391

Date: 2025-05-07 20:52:52
Score: 3
Natty:
Report link

The reason for illegal argument was because of the http request we are passing in should be same by receiver class. In one of the case I observed today where the receiver method has javax.servlet HttpRequest while we are passing in PreAuthorized for jakarta httpRequest.

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

79611386

Date: 2025-05-07 20:48:51
Score: 0.5
Natty:
Report link

import pyttsx4

# Maelezo ya sauti

narration_text_en = """

I am a descendant of the Kwahhayi clan — a proud branch of the Wairaqi people of Tanzania.

The name Kwahhayi means "to throw" — a symbol of release, strength, and continuity of generations.

My clan name is Tlhathlaa, meaning "Daylight" — the light of life and the rise of new beginnings.

The Wairaqi are a Cushitic community that migrated from the Horn of Africa thousands of years ago.

Today, we proudly preserve our language, Iraqw, our deep-rooted traditions, and the honor of our lineage.

From my bloodline to the world, my voice says: I am Wairaqi. I am Kwahhayi. I am Tlhathlaa.

"""

# Anzisha injini ya sauti

engine = pyttsx4.init()

# Chagua sauti ya kiume au kike

voices = engine.getProperty('voices')

engine.setProperty('voice', voices[0].id) # 0 kwa sauti ya kiume, 1 kwa sauti ya kike

# Seti kasi ya sauti

engine.setProperty('rate', 150)

# Seti sauti

engine.setProperty('volume', 1)

# Hifadhi sauti kwenye faili

audio_file_path_en = "Wairaqi_Clan_Username_English.mp3"

engine.save_to_file(narration_text_en, audio_file_path_en)

engine.runAndWait()

print(f"Sauti imehifadhiwa kwenye: {audio_file_path_en}")

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

79611381

Date: 2025-05-07 20:42:49
Score: 2.5
Natty:
Report link

Modern SQL server will handle everything above, technically exists works faster then anything else, so I voted for it.

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

79611377

Date: 2025-05-07 20:40:48
Score: 2
Natty:
Report link

I don't have enough reputation to write comment, so I apologize for asking questions in an "answer".

What git hosting services are you using behind those remoteHost1 and remoteHost2? Are they the same or they are different? For example GitHub, BitBucket, Gogs, etc? If they are the same, are they both configured the same? Or if they are not the same, does the other one support large files? Does it have enough space on disk? Are they in the same or in different networks? Maybe some firewall in front of remoteHost2 is blocking large requests? Does git push --verbose show any meaningful message?

Regarding that last part of your question, it can't be done. If it's one repo locally, you can't add one file for one remote and ignore it for another.

Reasons:
  • RegEx Blacklisted phrase (1.5): I don't have enough reputation
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: jura

79611368

Date: 2025-05-07 20:29:45
Score: 0.5
Natty:
Report link

You need to generate a signed URL to upload your file in the bucket.

You can follow the instructions from https://aps.autodesk.com/en/docs/data/v2/tutorials/upload-file/#step-4-generate-a-signed-s3-url

You can also find a .NET example using our SDK at https://github.com/autodesk-platform-services/aps-sdk-net/blob/main/samples/oss.cs#L41-L53

For the Model Derivative part (conversion to IFC), you can use the Model Derivative SDK, as done at https://github.com/autodesk-platform-services/aps-sdk-net/blob/main/samples/modelderivative.cs#L31-L93

You just need to change the payload according to the RVT->IFC options

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: João Martins

79611366

Date: 2025-05-07 20:27:45
Score: 2.5
Natty:
Report link

the first answer worked for me, but I only put 10 milliseconds in the dalayed

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

79611361

Date: 2025-05-07 20:21:43
Score: 2
Natty:
Report link

You can bind it as an attribute of the module with, e.g.,

m.attr("ERR_FAIL") = my_namespace::ERR_FAIL;

This gist has a complete example.

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

79611351

Date: 2025-05-07 20:14:41
Score: 0.5
Natty:
Report link
<?
$array = ['one', 'two', 'three', 'four'];
$n = 10;
$arr=array_fill(0, ceil($n/count($array)), $array);
$arr=array_merge(...$arr);
shuffle($arr);
$arr=array_slice($arr,0,$n);
print_r($arr);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sergey Soltanov

79611348

Date: 2025-05-07 20:10:40
Score: 2.5
Natty:
Report link

I am encountering the same issue with the latest version of Ray (2.35.0) on DBR 15.4 ML LTS. This happens whether I am writing my checkpoints to a regular DBFS path or a mount pointing to a cloud storage location.

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

79611347

Date: 2025-05-07 20:10:40
Score: 1.5
Natty:
Report link

Kinda late to the party at this time but bear in mind: unload can blindly unload to a fifo.

So if you create a fifo and have a program reading from the fifo and appending to your target file, you can throw several UNLOAD outputs into the fifo and have the data from all those unloaded queries sent to the one file, courtesy of the fifo-reader.

I did this years ago, unloading to a FIFO and having a dbimport (dbload? I forget) reading the FIFO to load another table. Very fast table copy!

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jacob Salomon

79611343

Date: 2025-05-07 20:05:38
Score: 2
Natty:
Report link

With
lwz r19, 4(r29)
you are actually reading a word value 4 bytes after the label VC_INPUT:

The same with
stw r19, 4(r23)
writing 4 bytes after the address given by label VC_OUTPUT:

Maybe something is then overwritten.

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

79611339

Date: 2025-05-07 20:04:38
Score: 0.5
Natty:
Report link

You can define a ZLIB_ROOT cmake/env variable pointing to homebrew's zlib prefix:

export ZLIB_ROOT=/opt/homebrew/Cellar/zlib/1.3.1/
cmake
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: max

79611334

Date: 2025-05-07 20:02:37
Score: 1
Natty:
Report link

In my case I had forgotten the code in "project/project/__init__.py" (in this example), which resulted in the same error message. So in this case the question itself was my answer.

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

79611329

Date: 2025-05-07 19:58:36
Score: 2.5
Natty:
Report link

In most cases, the client platform handles PIN entry for security keys, not the browser (there are some exceptions).

but how do they know what process on the host they are allowing to act on their identity? What stops the authenticator from granting a hidden webauthn client privileges to act on their behalf? Must they still enter a PIN for every session?

Client platforms are responsible for interacting with authenticators, including managing who can call the APIs. Most major client platforms only allow a single WebAuthn request to be in flight at a time.

A simple solution would be for the www browser to keep the authenticator binding state pinUvAuthToken established by a single PIN entry in long term memory. Does anyone know whether browsers behave that way?

No, the PUAT is not an artifact designed to be stored.

Reasons:
  • RegEx Blacklisted phrase (2): Does anyone know
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: Tim

79611328

Date: 2025-05-07 19:56:35
Score: 0.5
Natty:
Report link

My error was as follows:

Severity    Code    Description Project File    Line    Suppression State
Error (active)  CS0006  Metadata file '..\packages\AWSSDK.S3.3.5.7.8\analyzers\dotnet\cs\AWSSDK.S3.CodeAnalysis.dll' could not be found CCNRebuild  C:\Users\jp2code\source\Workspaces\Dealers Rebuild\CCNRebuild\CCNRebuild\CSC    1   

This was after a fresh install of my project from Source Control.

For me, I went into the Package Manager (Tools > NuGet Package Manager > Manage NuGet Packages for Solution...")

menu screenshot

I located my package in Nuget by searching for AWSSDK.S3 and picked the version that matched from the dropdown list:

nuget screenshot

It looks like the last person forgot to check in a package that they had added to the project.

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

79611323

Date: 2025-05-07 19:52:34
Score: 0.5
Natty:
Report link

Yes, you can listen for and handle both events.
You can even add multiple listeners for the same event and all the handlers will get called for that event.

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

79611319

Date: 2025-05-07 19:50:33
Score: 2
Natty:
Report link

For anyone that might look at this, the docs are not super helpful when trying to upload a story. If you are in the US,

https://api-us.storyblok.com/v1/spaces/

Is the fetch url.

NOT mapi, or v2, this is the exact one that finally worked.

It ONLY seems to say that here: https://www.storyblok.com/docs/api/management/getting-started/

I spent hours on this hopefully this helps someone some day.

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

79611316

Date: 2025-05-07 19:49:33
Score: 2.5
Natty:
Report link

APKs are binaries intended for distribution and use specifically for Android. You may want to look into something like Waydroid or BlueStacks for what you're trying to accomplish.

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

79611305

Date: 2025-05-07 19:42:31
Score: 1
Natty:
Report link

I couldn't find a way to re-initiate django-autocomplete-ligth, as you asked, but found a workaround that solved the issue:

htmx.on('htmx:afterSettle', (e) => {
  const selElement = $('#id_of_must_hide_select_element')
  if (selElement) {
    selElement.addClass('select2-hidden-accessible')
  }
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Leonardo Checon Dantas

79611304

Date: 2025-05-07 19:42:31
Score: 1
Natty:
Report link

If you're building a site with advanced registration and want to allow frontend search of registered users, I’d recommend checking out the Member Directory module we recently released.

It’s designed exactly for this type of use case:

Real-time search with multiple filter options

Fully customizable fields pulled from the Joomla User Profile plugin

Responsive layout, ready for multilingual use (12 languages including RTL)

Secure input validation and caching for performance

It works well alongside your RSForm Pro setup if you're using it just for registration, but it can also integrate directly with standard Joomla user profiles – so no need for complex coding or custom components.

You can see it in action here:

Demo: https://www.xcelerate-future.com/member-directory-module-demo

And docs here:

Docs: https://www.xcelerate-future.com/member-directory-installation-guide

Member Directory Image

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

79611302

Date: 2025-05-07 19:41:31
Score: 0.5
Natty:
Report link
<?php
$members = [
    'myname' => ['userid' => 52, 'age' => 46],
    'isname' => ['userid' => 22, 'age' => 47],
    'yourname' => ['userid' => 47, 'age' => 85]
];
$result=array_keys($members);
$result=array_combine($result,$result);
$result=array_merge_recursive($members,$result);
print_r($result);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sergey Soltanov

79611280

Date: 2025-05-07 19:28:27
Score: 2
Natty:
Report link

as the user

Akina said Replace INTO works

REPLACE INTO Table_copy
SELECT *
FROM Table
WHERE Table.Counter >= SELECT(MAX(Counter) FROM Table_Copy)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: onering20

79611278

Date: 2025-05-07 19:21:25
Score: 0.5
Natty:
Report link

There may be compatibility issues with Rails 7.2 due to recent changes introduced in this version.

Consider downgrading to Ruby 2.7 and Rails versions which are supported by the standard environment.

Rails 7.2 now requires Ruby 3.1 as the minimum version. This change means that Rails 7.2 may not be fully compatible with Ruby 3.0 or earlier versions. However, it doesn't explicitly state that Rails 7.2 is incompatible with Ruby 3.2.

Although Ruby 3.2 is supported according to the Runtime Schedule by the App Engine Standard Environment, there have been reports of deployment issues when using it. One example is in the Google Cloud Community mentions problems with the foreman gem when deploying Rails apps with Ruby 3.2 in the Standard Environment.

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

79611277

Date: 2025-05-07 19:20:25
Score: 2
Natty:
Report link

If you click this button to disable the breakpoint, it won’t be hit after refreshing the page.
But it's enabled by default, and as far as I know, there's no way to change that in DevTools, as it gets enabled again when you close and reopen the page.
Disable breakpoint on DevTool

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

79611269

Date: 2025-05-07 19:15:23
Score: 2
Natty:
Report link

For anyone interested, I've decided to disable Django's CSRF protection and now the mobile client (android specifically) can make logout request by sending only the session id as header.

One can check how to disable it here, provided by Saeed user

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

79611259

Date: 2025-05-07 19:04:20
Score: 0.5
Natty:
Report link

The best tool we use at our place is the "let the computer figure it out" approach; instead of pruning deps they're generated by default using gazelle.

The default is to generate, and only if you mark things in your build files will it "keep" it... The tool you're describing could certainly work, but I think it's working backward instead of letting the file dependencies themselves inform bazel on what the BUILD files should look like.

It works really well for Go and OK for Java in my experience, we haven't managed to get it going for Python though. Its main downside as a toolchain is you have to hook it into how you run your bazel commands if you don't want to keep rerunning the "regenerate" command, but I think it's worth it for the "autoimport" capabilities that you get.

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

79611246

Date: 2025-05-07 18:56:17
Score: 1
Natty:
Report link

In my case I found that it failed due to

https://www.google.com/recaptcha/

not being added to the "child-src" of the content security policy. From what I gather google loads an iFrame for reCAPTCHA and this needs to be allowed in the browser.

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

79611245

Date: 2025-05-07 18:55:17
Score: 2
Natty:
Report link

For my IntelliJ folks out there: Re-initialize maven project:

1. Right click on pom.xml -> Maven -> Unlink Maven Projects
2. Right click on pom.xml again -> Add as a Maven Project

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