79636268

Date: 2025-05-23 22:46:45
Score: 2
Natty:
Report link

To change the language of std::filesystem::filesystem_error messages, adjust the system locale to your native language. But I think this method depends on your operating system.

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

79636266

Date: 2025-05-23 22:42:44
Score: 1.5
Natty:
Report link

Though I would update with my current best solution based on the responses. Thanks to @Jérôme Richard for the detailed analysis, I've re-implemented in a way that I think incorporates the most impactful suggestions:

cimport numpy as cnp

ctypedef cnp.npy_uint32 UINT32_t

from libc.math cimport exp
from libc.stdlib cimport malloc, free

cdef inline UINT32_t DEFAULT_SEED = 1
cdef enum:
    # Max value for our rand_r replacement (near the bottom).
    # We don't use RAND_MAX because it's different across platforms and
    # particularly tiny on Windows/MSVC.
    # It corresponds to the maximum representable value for
    # 32-bit signed integers (i.e. 2^31 - 1).
    RAND_R_MAX = 2147483647

##################################################################

cdef class FiniteSet:
    """
    Custom unordered set with O(1) add/remove methods
    which takes advantage of the fixed maximum set size
    """

    cdef:
        int* index     # Index of element in value array
        int* value     # Array of contained element
        int size       # Current number of elements
        
    def __cinit__(self, cnp.ndarray[int] indices, int maximum):
        self.size = len(indices)
        
        # Allocate arrays
        self.index = <int*>malloc(maximum * sizeof(int))
        self.value = <int*>malloc(maximum * sizeof(int))
        
        if not self.index or not self.value:
            raise MemoryError("Could not allocate memory")
        
        # Initialize index array to -1 (invalid)
        cdef int i
        for i in range(maximum):
            self.index[i] = -1
            
        # Set up initial values
        for i in range(self.size):
            self.value[i] = indices[i]
            self.index[indices[i]] = i 

    def __dealloc__(self):
        """Cleanup C memory"""
        if self.index:
            free(self.index)
        if self.value:
            free(self.value)

    cdef inline bint contains(self, int i) nogil:
        return self.index[i] >= 0 

    cdef inline void add(self, int i) nogil:
        """
        Add element to set
        """
        # if not self.contains(i):
        if self.index[i] < 0:
            self.value[self.size] = i
            self.index[i] = self.size
            ## Increase
            self.size += 1

    cdef inline void remove(self, int i) nogil:
        """
        Remove element from set
        """
        # if self.contains(i):
        if self.index[i] >= 0:
            self.value[self.index[i]] = self.value[self.size - 1]
            self.index[self.value[self.size - 1]] = self.index[i]
            self.index[i] = -1
            self.size -= 1

cdef class XORRNG:
    """
    Custom XORRNG sampler that I copied from the scikit-learn source code
    """

    cdef UINT32_t state

    def __cinit__(self, UINT32_t seed=DEFAULT_SEED):
        if (seed == 0):
            seed = DEFAULT_SEED
        self.state = seed

    cdef inline double sample(self) nogil:
        """Generate a pseudo-random np.uint32 from a np.uint32 seed"""
        self.state ^= <UINT32_t>(self.state << 13)
        self.state ^= <UINT32_t>(self.state >> 17)
        self.state ^= <UINT32_t>(self.state << 5)

        # Use the modulo to make sure that we don't return a values greater than the
        # maximum representable value for signed 32bit integers (i.e. 2^31 - 1).
        # Note that the parenthesis are needed to avoid overflow: here
        # RAND_R_MAX is cast to UINT32_t before 1 is added.
        return <double>(self.state % ((<UINT32_t>RAND_R_MAX) + 1))/RAND_R_MAX

def xorrng_py(int seed=1):
    cdef XORRNG prng = XORRNG(seed)
    return prng.sample()

###############################################################

cdef XORRNG prng = XORRNG()

def spgreedy(cnp.ndarray[double, ndim=2] J, 
             cnp.ndarray[double, ndim=1] h,
             FiniteSet s,
             double temp,
             ):

    cdef int d
    d = J.shape[0]

    cdef int j, k
    cdef double dot, curr, prob

    for j in range(d):

        s.remove(j)

        dot = h[j]
        for k in range(s.size):
            dot += J[j, s.value[k]]

        curr = dot / temp

        if curr < -100:
            prob = 0.0
        elif curr > 100:
            prob = 1.0
        else:
            prob = 1.0 / (1.0 + exp(-curr))

        if (prng.sample() < prob):
            s.add(j)

    return s

which is now better than the dense algorithm (in the problems I've tested on). It also takes a similar amount of time as numpy's matrix multiplication (just doing J@s+h) which is both reassuring, since that code is very optimized I assume, but a bit disappointing because I don't get much benefit from the sparsity after all. I also don't know much about Cython so it's very possible I did something silly in this implementation as well!

average run time of each function on synthetic data as in the original question

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Jérôme
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matteo Alleman

79636265

Date: 2025-05-23 22:42:44
Score: 4
Natty:
Report link

Not saying this will work but, here's some instructions that is online...

https://www.smackcoders.com/blog/how-to-install-wamp-and-xampp.html

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

79636257

Date: 2025-05-23 22:26:40
Score: 1
Natty:
Report link

This is due to how sql and spark execute these functions differently.

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

79636239

Date: 2025-05-23 21:51:31
Score: 0.5
Natty:
Report link

Let understand with examples, you are trying to send and receive messages between parts of your app — like one part says, "Hey, a new order came in!" and another part listens for that and does something (like sending an email).

What is a Message Bus?

A message bus is like a middleman that helps parts of your app talk to each other without knowing about each other directly. It's like a delivery service: you drop off a message, and it makes sure the right person gets it.

What is MassTransit?

MassTransit is a tool (or framework) that helps you use a message bus more easily in your .NET apps. It gives you a friendly, consistent way to send and receive messages.

But MassTransit doesn’t deliver messages itself — it uses real delivery services behind the scenes.

What’s the Messaging Library?

This is the actual delivery service — like:

-RabbitMQ

-Azure Service Bus

-Amazon SQS

MassTransit connects to one of these behind the scenes and handles the setup, sending, and receiving for you.

So yes — you're right:

MassTransit is a message bus framework that works on top of real messaging systems (like RabbitMQ or Azure Service Bus). It lets you switch between those systems easily without changing much of your code.

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

79636235

Date: 2025-05-23 21:46:30
Score: 3.5
Natty:
Report link

try using the so file
or go through the repo if you feel that there is a need for more files, especially for AWS.

https://github.com/avinashmunkur/pyodbc-py310/tree/master/python-py310

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

79636234

Date: 2025-05-23 21:45:30
Score: 0.5
Natty:
Report link

Must use custom ISqlGeneratorHelper:
builder.Services.AddEntityFrameworkMySql();

builder.Services.AddSingleton<ISqlGenerationHelper, CustomMySqlSqlGenerationHelper>();

then

public sealed class CustomMySqlSqlGenerationHelper : MySqlSqlGenerationHelper
{
    public CustomMySqlSqlGenerationHelper(
        RelationalSqlGenerationHelperDependencies dependencies,
        IMySqlOptions options)
        : base(dependencies, options)
    {
    }

    public override string GetSchemaName(string name, string schema)
        => schema; // <-- this is the first part that is needed to map schemas to databases
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sergey Or

79636230

Date: 2025-05-23 21:39:28
Score: 9 🚩
Natty: 5
Report link

is it resolved ? i am facing the same issue

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i am facing the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is it
  • Low reputation (1):
Posted by: jatin arora

79636228

Date: 2025-05-23 21:38:27
Score: 1
Natty:
Report link
Hi, since you already have the driver file/inf, then have gander with this
    #find device
    $Device = Get-PnpDevice -FriendlyName "Name of your device"
    #update driver
    Update-PnpDevice -InstanceId $Device.InstanceId -Driver $DriverPath
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: xavier Scott

79636227

Date: 2025-05-23 21:37:27
Score: 1.5
Natty:
Report link

Hy after hover do :active for the user click

.dropdown:active .dropdown-content { 

display: block; }

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

79636216

Date: 2025-05-23 21:28:24
Score: 4
Natty: 4.5
Report link

Pull Handles & Finger Plates Clearance Bargains https://www.frelanhardware.co.uk/Products/turns-releases

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

79636210

Date: 2025-05-23 21:23:23
Score: 3.5
Natty:
Report link

Getting help for ai you will get it brother. Wverthink can make you right

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

79636208

Date: 2025-05-23 21:22:22
Score: 4
Natty:
Report link

which search algorithm is more likely to find a solution in an infinite space state

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): which
  • Low reputation (1):
Posted by: zayn Farrag

79636204

Date: 2025-05-23 21:15:21
Score: 1.5
Natty:
Report link

Thanks to everyone who tried to help.

Somehow, YouTube video playback suddenly stopped working. While searching for a solution, I stumbled upon this thread: https://bbs.archlinux.org/viewtopic.php?id=276918 , and found that running

pacman -Syu pipewire-media-session

did the trick.

Not only did YouTube start working again, but I also started hearing sound from my device — the volume meter began responding too.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Владимир Горин

79636201

Date: 2025-05-23 21:14:20
Score: 4.5
Natty:
Report link

Please feel free to check out the Closed Caption Converter API. https://www.closedcaptionconverter.com

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

79636197

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

Event library that you must use:
package0 and replication.
Inside the replication library, you can find events related to the agents, including the distribution agent.
Key event for your case:
replication.agent_message.
This event captures messages that the replication agents (snapshot, log reader, distribution) generate. It is useful because many times the distribution agent writes to its output when the execution mode or the number of threads changes.
You can filter messages containing things like:
“Switching to single thread”
“Switched from multi-threaded to single-threaded”.
SQL Server doesn't have a direct event that says “switched from multi-threaded to single-threaded”, but the agent messages (which are captured with replication.agent_message) do reflect that behavior internally, and that's what you can track.

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

79636172

Date: 2025-05-23 20:42:12
Score: 0.5
Natty:
Report link

Have you tried setting the domain of the cookies to your API URL, e.g.:

ctx.SetCookie(..., "/", "api.azurecontainerapps.io", true, true)
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RecursionError

79636170

Date: 2025-05-23 20:40:11
Score: 3.5
Natty:
Report link
  1. rm -rf android/ ios/
  2. npx expo prebuild
Reasons:
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: AndrewS

79636166

Date: 2025-05-23 20:39:10
Score: 4
Natty: 4
Report link

Did anyone notice the typo of attachements instead of attachments?

Not certain, but I think that was the actual problem here... or at least part of the problem.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Did anyone not
  • Low reputation (1):
Posted by: Nick

79636165

Date: 2025-05-23 20:38:10
Score: 2.5
Natty:
Report link

The Fix: I switched to using the default App Engine service account:

[PROJECT_ID]@appspot.gserviceaccount.com and suddenly everything worked. Same code. Same database. Just a different service account.

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

79636160

Date: 2025-05-23 20:34:08
Score: 2.5
Natty:
Report link

Figured out the answer to the question:

Simply refreshing the content of the QTextBrowser / QTextEdit with 'the next' picture slide, using a QTimer delay, does achieve the desired goal - displaying an animation.

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

79636156

Date: 2025-05-23 20:31:06
Score: 8 🚩
Natty:
Report link

Also having the same issue. Related: Microsoft Graph 502 Bad Gateway - Failed to execute backend request when creating a private channel (beta API)

Could be because of metered api usage limit for transcripts.

Any clue so far?

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Also having the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Abreham Gezahegn

79636152

Date: 2025-05-23 20:27:05
Score: 2
Natty:
Report link

You need to ask tap payment support to register your bundle ID. After they register it, you will get new secret keys for both production and sandbox. kindly use those keys, and also, make sure to put the correct Sdk configurations. This way, the payment sheet will be opened

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

79636151

Date: 2025-05-23 20:26:05
Score: 1.5
Natty:
Report link

This is still a bit of a hack, but seems to work in all cases I need.

I created a sleep_exec script as follows:

#!/bin/bash -norc

sleep $1
shift
exec "$@"

Than changed my wrapper function to run

tmux new-window -- sleep_exec 0.5 vim "$@"

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: Marcin K

79636129

Date: 2025-05-23 20:06:59
Score: 3
Natty:
Report link
frame.rootPane.setDefaultButton(jButton1);
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: GHOST SKIKDA

79636123

Date: 2025-05-23 19:57:57
Score: 4.5
Natty: 4
Report link

Please take a look at these pages.

https://medium.com/@OlenaKostash/load-testing-http-api-on-c-with-nbomber-96939511bdab

https://nbomber.com/docs/protocols/http#dedicated-httpclient-per-user-session

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: AntyaDev

79636120

Date: 2025-05-23 19:53:56
Score: 0.5
Natty:
Report link

i hope its what is required.

import matplotlib.pyplot as plt
import numpy as np

z1 = np.linspace(0, 1.4, 20)
z2 = np.linspace(0, 1.1, 20)
z3 = np.linspace(0, 1.0, 20)

fig, axes = plt.subplots(1, 3)

axes[0].plot(np.exp(-z1), z1, c='k')
axes[1].plot(np.exp(-z2), z2, c='k')
axes[2].plot(np.exp(-z3), z3, c='k')

orig_pos = [ax.get_position() for ax in axes]

max_y_vals = [np.max(z1),np.max(z2),np.max(z3)]
max_y = max(max_y_vals)
height_ratios = [v / max_y for v in max_y_vals]

# Align bottoms
for ax, pos, h in zip(axes, orig_pos, height_ratios):
    new_height = (pos.y1 - pos.y0) * h
    new_y0 = pos.y0  # keep bottom fixed
    new_y1 = new_y0 + new_height
    ax.set_position([pos.x0, new_y0, pos.width, new_height])

plt.show()

subplots align bottom

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

79636101

Date: 2025-05-23 19:32:50
Score: 2
Natty:
Report link

FWIW, Drake now natively supports SolveInParallel and it is recommended that you use this method rather than try to multi-thread your own solver.

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

79636094

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

All of above mentioned solutions are unreliable and should not be accepted.

All of them will fail whenever process requests console input from user.

In this case console message will stuck in standard input stream and and won't get into OutputDataReceived event. This is because input prompt is unflushed string in stream buffer and is not committed as output data until user responded. Asynchronous read of process output using events doesn't allow to read unflushed data in stream buffer. The only way to make reliable process output read is to redirect output to file and monitor file changes instead of reading directly from standard output stream. But this workaround may be not suitable for case when there may be sensitive data in output stream.

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

79636080

Date: 2025-05-23 19:14:46
Score: 3.5
Natty:
Report link

The Parrot equations do not include raising many of the functions to a power. Huffington left off all the power expressions in the three equations, as they do in most Yeganeh examples.

Bill Nee

Reasons:
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Bill Nee

79636076

Date: 2025-05-23 19:06:44
Score: 8.5
Natty: 8
Report link

Can you explain why the use of URL fixes the issue? I guess it is because URL loads the file as an absolute path while the previous method would load the .env file from the incorrect directory when nested inside module files?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you explain
  • RegEx Blacklisted phrase (1.5): fixes the issue?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (0.5):
Posted by: kaligrafy

79636075

Date: 2025-05-23 19:05:43
Score: 1.5
Natty:
Report link

After you have loaded the Chrome Extension in the Browser , you will have to reload the site with the domain mail.google.com . After reloading you can open the console and check it will show the log.

Incase you do not see the logs , you can also check if the content script has been injected in the tab . Open the devtools and click on sources . Under it select content script . If your file is injected then it will be visible there.

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

79636069

Date: 2025-05-23 19:02:42
Score: 2
Natty:
Report link

There was a bug in my used Version. A new Release solved it

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

79636060

Date: 2025-05-23 18:49:40
Score: 0.5
Natty:
Report link

Are you sure your ic_notification exists in the drawable directory?

Add this to your main activity :

<intent-filter>
    <action android:name="android.intent.action.VIEW" />
    <category android:name="android.intent.category.DEFAULT" />
</intent-filter>

This should always redirect the users to your app instead of settings

Also sometimes its tricky because permissions are messed up when you are simulating vs actually running it locally on a device

Add this to your <service> tag : 

android:name="com.ryanheise.audioservice.AudioService"
    
android:foregroundServiceType="mediaPlayback"
    
android:exported="true">

Make sure "AndroidManifest" includes :
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />

Should fix the issues you have, but also make sure that you don't have local and flutter notifications conflicting, check your flutter_local because remember its not a simulation when its local :)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: dave antony

79636049

Date: 2025-05-23 18:41:38
Score: 1
Natty:
Report link

No there is not, and the introduction of ISO/IEC 13211-2 forecloses on the possibility:

This International Standard defines syntax and semantics of modules in ISO Prolog. There is no other International Standard for Prolog modules.

You can see the list of ISO standards under development published on their website. There is nothing to suggest a revision or supersession of 13211-2 is in the works.

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

79636037

Date: 2025-05-23 18:33:36
Score: 2
Natty:
Report link

Thank you @mathias

I found this article while looking for a way to script changes for an email domain name change on local AD that was synced to 365. I wanted to be able to have a precise lookup and be able to use variables to fill the right alias into the account in preparation for the migration to the new domain. While this got me closer than anything else I found online (which I found so hard to believe), I was challenged with getting to operate properly on a server that had way too many differences between SamAccountName and GivenName. I also wanted to have something that was less specific and provided options for future use across multiple clients we support that are Azure ADSynced. Enjoy.

$proxydomain = "@domain.com"
$OUpath = 'OU=Users,OU=FOLDER,DC=domain,DC=local'
     Get-ADUser -Filter {(Enabled -eq $true -and UserPrincipalName -notlike '*.local')} -SearchBase $OUpath -SearchScope Subtree -Properties *  | foreach-object {
    
    # Create user alias from user account information. 
    # Various options provided, adjust comment header to select the format you wish
    # NOTE THAT "smtp" ON THESE ARE LOWER CASE, MAKING THEM ALIASES, NOT PRIMARY EMAIL ADDRESSES
    $alias = ("smtp:{0}{1}$proxydomain" -f $user.GivenName.Trim()[0], ($user.Surname)) #[email protected]
    #$alias = ("smtp:{0}{1}{2}$proxydomain" -f ($user.GivenName), ".", ($user.Surname)) #[email protected] WATCH FOR MIDDLE INITIALS!  You may need to replace GivenName with SamAccountName or use other trim methods.
    #$alias = ("smtp:{0}$proxydomain" -f ($user.GivenName)) #[email protected]

   # -match is a regex operator, escape appropriately
    if ($_.ProxyAddresses -match [regex]::Escape($alias)) {
        Write-Host "Result: $alias value already exists for user $($_.displayname); No action taken."
    }
    else {
        # Now we only have a single variable that needs to be expanded in the string
        Set-ADUser -Identity $_.SamAccountName -Add @{proxyAddresses = "$alias"}
        Write-Host "Result: Added $alias value to $($_.displayname)"
    }
}
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): this article
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @mathias
  • Low reputation (1):
Posted by: ComputerSuperheroes

79636034

Date: 2025-05-23 18:31:35
Score: 1
Natty:
Report link

The purpose of DTO is that your controller returns an object in your API that is separate from your core entities.

If you have a core entity called Transaction that contains an object of type Currency, it is a bad practice to return Transaction and leak to the outside that your transaction has a type Currency in it, instead you create a DTO and in the DTO format the currency to a String, this way your entities preserved and hidden from what your controller returns. Now your API and core entities can change independently without breaking each other.

The correct order is that services will return model entities, and in your controller, they are mapped to a DTO.

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

79636020

Date: 2025-05-23 18:17:31
Score: 2.5
Natty:
Report link

Check out Google Workspace and the 'ways to build' section. You have options to use API and UI toolkits or using low-code/ no-code app options to start building calendar functions into another app.

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

79636016

Date: 2025-05-23 18:12:30
Score: 0.5
Natty:
Report link

The problem is that SentenceTransformer relies on the indices present in the Series. Therefore, to eliminate this issue, you need to reset the indices before calling encode(sentences):

sentences = sentences.reset_index(drop=True)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kirill Dolmatov

79636009

Date: 2025-05-23 18:09:28
Score: 2
Natty:
Report link

It is working with the .encode('utf-8') method, valid for "raw python 2.7":

for p in data['policies']:
    print "Service:", p['service'], "Name:", p['name'].encode('utf-8')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Peter Krauss

79635998

Date: 2025-05-23 17:50:23
Score: 4.5
Natty:
Report link

Perhaps this customer location requires a PO Receipt before you can bill?

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

79635988

Date: 2025-05-23 17:42:21
Score: 1.5
Natty:
Report link

use this package:

https://pub.dev/packages/flutter_internet_signal

import 'package:flutter_internet_signal/flutter_internet_signal.dart';

void main() async {
  final FlutterInternetSignal internetSignal = FlutterInternetSignal();
  final int? mobileSignal = await internetSignal.getMobileSignalStrength();
  final int? wifiSignal = await internetSignal.getWifiSignalStrength();
  print('Result dBm -> $mobileSignal');
  print('Result dBm -> $wifiSignal');
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sebastian celis

79635975

Date: 2025-05-23 17:32:18
Score: 2
Natty:
Report link

When using the contains operator with an array, the right hand side of the operator needs to be an array as well. You can try:

data @> jsonb_build_array(data->0)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: 007MIPSGOD

79635969

Date: 2025-05-23 17:24:16
Score: 2
Natty:
Report link

I author of CLI/TUI is a utility on Go for managing files in the terminal, supports flexible filters by modification time, size and extensions, and also allows you to quickly navigate through directories, select files and save sets of rules for reuse, and safely move files to the trash.

https://github.com/pashkov256/deletor

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

79635968

Date: 2025-05-23 17:23:15
Score: 1
Natty:
Report link

In Java generics T is refered to a class parameter . It cannot be applied for primitive types.

See Arrays::sort() for details.

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

79635953

Date: 2025-05-23 17:11:10
Score: 7.5 🚩
Natty: 5.5
Report link

Do we have any solution for this I am still facing the same.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): Do we have any
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: j. Beniwal

79635945

Date: 2025-05-23 17:06:08
Score: 1
Natty:
Report link

I've found an alternate workaround in DAX that relies on the structure of my source data:

MajorMinor = DISTINCT(SELECTCOLUMNS(Data, [Major], [Minor]))

where I can guarantee that all of the possible products are present in my data. This is just as fast as it ought to be.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sort of Damocles

79635940

Date: 2025-05-23 17:04:08
Score: 3.5
Natty:
Report link

The 2nd president of the republic of kenya was Arap Moi

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

79635939

Date: 2025-05-23 17:03:06
Score: 9.5 🚩
Natty: 4.5
Report link

Did you ever get an answer or solution for this? I am having the same issue. I have a SQL task that the error doesn't propagate to the package it is in, but that package is called by another parent package that the error is still propagating to.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever get an answer
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Stephen

79635937

Date: 2025-05-23 17:01:05
Score: 4
Natty:
Report link

As pointed out by @Slbox, an expo project has to be added to git (i.e. have a .git dir) for eas build to be able to process it.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Slbox
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: tim bits

79635932

Date: 2025-05-23 16:58:04
Score: 2
Natty:
Report link

There's no module called "RNPermissione", it should be "RNPermissions" (Ending with an S instead of an E). Check the Android/iOS configuration to see if maybe you have something there with this typo

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

79635924

Date: 2025-05-23 16:52:02
Score: 1.5
Natty:
Report link

After some testing, I found out that the most upvoted answer isn't good for reusability and is ugly, so I ended up going with one of the other suggested solutions and created this method in my utils:

openInNewTab(url: string): void {
  if (this.isSafari()) {
    const a = document.createElement('a')
    a.setAttribute('href', url)
    a.setAttribute('target', '_blank')
    setTimeout(() => a.click())
  } else {
    this.window.open(url, '_blank')
  }
}

For those curious how I determine Safari:

// https://stackoverflow.com/a/70585394/20051807
isSafari(): boolean {
  return (this.window as any).GestureEvent || this.window.navigator.userAgent.match(/iP(ad|od|hone)/i)
}

Tested on iPhone and Mac.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (0.5): upvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ilya Konrad

79635894

Date: 2025-05-23 16:29:56
Score: 0.5
Natty:
Report link
variables:
- name: runs
  value: 1,2,3

stages:
- ${{ each run in split(variables.runs, ',') }}:
  - stage: SomeTests_${{ run }}
    jobs:
    - job:
      ...

- stage: Installation
  jobs:
  - job:
    ...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Iqan Shaikh

79635886

Date: 2025-05-23 16:24:55
Score: 2
Natty:
Report link

Phone numbers can get rather long when you have to insert dialing pauses (usually represented by ","), outside vs inside access, access numbers, extensions, confirmation codes (which might include "#" and "*"), etc. The best test of a phone number is actually to dial it or text to it and verify that it is legitimate and request a return tone, text, or click through to a verification site. Yes, 7-15 seems right, if you aren't going to verify it otherwise.

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

79635874

Date: 2025-05-23 16:16:52
Score: 3
Natty:
Report link

I have decided that instead of asking this question, I should have adjusted my code to remove the need for it entirely. Some comments kindly alluded to this which helped me arrive at this conclusion (thank you). My function is better for it.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: edubu2

79635853

Date: 2025-05-23 16:03:47
Score: 5
Natty: 5
Report link

Some actions and situations may automatically switch your pricing plan between Spark and Blaze. Learn more in the following sections.

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

79635847

Date: 2025-05-23 15:59:46
Score: 3.5
Natty:
Report link

need manually all things . not any app available for this. you can add posts only.

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

79635845

Date: 2025-05-23 15:58:46
Score: 1
Natty:
Report link

The maximum length is 73 characters as of this writing.

You can get it through the Admin Console GUI:

  1. Go to https://admin.google.com/u/1/ac/groups.
  2. Click Create group.
  3. In the Group name field, enter a long name, like This is a long group name, so long that it causes a validation error to appear that specifies the field's maximum length.
  4. A validation error should appear that specifies the field's maximum length.

A validation error in the Google Admin SDK specifying the maximum length of the group  name field, 73 characters

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Eric Eskildsen

79635839

Date: 2025-05-23 15:55:45
Score: 3
Natty:
Report link

You need to remove the nav mesh and then make sure your player has a rigidbody and simply write a code that applies force on the y-axis.

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

79635835

Date: 2025-05-23 15:52:44
Score: 2.5
Natty:
Report link

Good or bad, I went for the following:

set @v_xml_nest_level_pos = CHARINDEX ('<tsql_stack><frame nest_level', @p_additional_info, 0);

    -- nest_level  found
    if @v_xml_nest_level_pos > 0
    begin
        
    -- Replace single quotes with double quotes to make it valid XML
    set @xmlString = REPLACE(@p_additional_info, '''', '"');
    -- Now cast to XML
    set @xml = TRY_CAST(@xmlString AS XML);
    -- Extract nest_level as string
    set @nest_level_str =  @xml.value('(/tsql_stack/frame/@nest_level)[1]', 'NVARCHAR(100)');
    -- Try casting to INT safely
    SET @nest_level = TRY_CAST(@nest_level_str AS INT);

        if @nest_level is null
        begin
        set @P_SEO_CURR_USER = 1;
        end;
        if @nest_level is not null
        begin
            if @nest_level < 1
            begin
            set @P_SEO_CURR_USER = 1;
            end;
        end;
    
    end
    
    else -- nest_level not found
    
    begin
    set @P_SEO_CURR_USER = 1;
    end;

where:

p_additional_info - is field additional_information of fn_get_audit_file, within a loop of which the above code is run.

@P_SEO_CURR_USER is set as default 0, meaning non-top-level SQL. Set to 1 when top-level.

Thank you to all commenters who helped me on this.

best regards

Altin

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): best regards
  • Blacklisted phrase (1): regards
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @P_SEO_CURR_USER
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: altink

79635833

Date: 2025-05-23 15:51:43
Score: 4
Natty: 5
Report link

Hey I have a question on the similar lines

I am using flink to consume events from kafka and having a sliding window assigner for 1 hour window slides every 5 mins and then it has to write result in cassandra. I want to understand how this works internally ??

For example we have 10000 events and 5 taskmanagers and let's say each taskmanager gets 2000 event so there will be 5 entries in cassandra or Flink internally will aggregate all the outputs from 5 taskmanager and then create a single entry in cassandra.

Reasons:
  • Blacklisted phrase (1.5): I have a question
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: swapnil jain

79635830

Date: 2025-05-23 15:48:43
Score: 1
Natty:
Report link

Допоможіть що тут не так
Назва

Name that will be used for config entry and also the sensor

URL бази даних

Leave empty to use Home Assistant Recorder database

Колонка

Стовпець для повернутого запиту для представлення як стану

SQL query invalid

Select query

Запит для запуску має починатися з "SELECT"

Unit of measurement

The unit of measurement for the sensor (optional)

Value template

1

Template to extract a value from the payload (optional)

Device class

Тип/клас датчика для встановлення піктограми у інтерфейсі

State class

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

79635826

Date: 2025-05-23 15:46:42
Score: 1
Natty:
Report link
In my case I had extra spaced after the closing node. 

<Grid>
   <Polygon/>  <!--spaces here-->
   <Polyline/>  <!--spaces here-->
</Grid>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: CBFT

79635824

Date: 2025-05-23 15:45:41
Score: 1
Natty:
Report link

The most straightforward approach is to hook into the deleting event of the User Eloquent model and delete the Sanctum tokens there.

// app/Models/User.php

use Illuminate\Foundation\Auth\User as Authenticatable;
use Laravel\Sanctum\HasApiTokens;

class User extends Authenticatable
{
    use HasApiTokens;

    protected static function booted(): void
    {
        self::deleting(function ($user) {
            $user->tokens()->delete();
        });
    }
}

Now your proposed line will work as expected, no need to call $user->tokens()->delete() explicitly anymore:

User::find(123)->delete();

Explanation

We use the static booted method on our User Eloquent model. Within this function, you can listen for various model events, such as creating, updating, and deleting.

Defining an event listener as a closure, we listen for the deleting event, which is performed before the user is deleted and delete the user's Sanctum tokens on that occasion.

Note: if you extend the User model with child classes and still want this behavior, you'll want to use static::deleting instead of self::deleting (Understanding Static vs Self in PHP).

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

79635821

Date: 2025-05-23 15:44:41
Score: 1
Natty:
Report link

have you tried this?

<Connector port="8080" protocol="org.apache.coyote.http11.Http11NioProtocol"
               connectionTimeout="20000"
               redirectPort="8443"
               maxParameterCount="1000"
               useVirtualThreads="true"
                executor="tomcatThreadPoolVirtual"
               />
Reasons:
  • Whitelisted phrase (-1): have you tried
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Bruno Manuel Rosas Marques

79635820

Date: 2025-05-23 15:44:41
Score: 3.5
Natty:
Report link

joblib won't work with pyinstaller, use nuitka

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

79635817

Date: 2025-05-23 15:43:41
Score: 1
Natty:
Report link

If you are using SimpleAuthManager, the user name is defined by simple_auth_manager_users in airflow.cfg. Default is admin:admin meaning a user named "admin" that has the "admin" role. The password is auto-generated and can be found in the webserver's log. See airflow's document here

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

79635813

Date: 2025-05-23 15:39:39
Score: 4
Natty:
Report link

This was implemented on my phone without my knowledge and I'm pissed off about it I want this API and stk crap off my account

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Plumbers Nightmare

79635800

Date: 2025-05-23 15:32:37
Score: 0.5
Natty:
Report link

In case anyone came here as I did while debugging an ASP.NET Web Forms application, what worked for me was properly configuring the project properties Web tab, to start the application on the same URL as the project URL. You can either check the Start URL option and duplicate the project URL in that field, or as I did check Specific Page and enter a forward slash in the field.enter image description here

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Buzzy Hopewell

79635799

Date: 2025-05-23 15:32:37
Score: 0.5
Natty:
Report link

It sounds like you didn’t open the correct terminal. Double check it is the correct MSYS2 terminal as the installer places many in there (it is specified in the getting started doc).

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

79635797

Date: 2025-05-23 15:32:37
Score: 1.5
Natty:
Report link

If I understand your question correctly, this is what typically happens:

1. T1 modifies x but does not commit - it sets a write intent on x
2. T2 reads x - T2 will block here for T1 to complete
3. T1 commits
4. T2 resumes and reads x for the first time. if it reads x again, it will see the same value.

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

79635795

Date: 2025-05-23 15:29:36
Score: 2.5
Natty:
Report link
  1. On Docker Desktop, click on the Debug Icon at the top

  2. Select Clean/Purge

  3. Selected WSL 2

  4. Delete

See Screenshot

enter image description here

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

79635788

Date: 2025-05-23 15:26:35
Score: 1.5
Natty:
Report link

As far as I know it has sth to do with sensors for example starting a session of running will enable the GPS some others will enable the gyroscope but it is not clear which ones enable what. There is a service I used for this found on rapidAPI that turns the workout to hkWorkoutActivityType I used it to get all the predefined workout types once.

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

79635787

Date: 2025-05-23 15:26:35
Score: 3
Natty:
Report link

You need to program a script that will check if there are any other agents/obstacles and then change the position of the object you want to move.

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

79635786

Date: 2025-05-23 15:24:34
Score: 5
Natty:
Report link

Invalidating IntelliJ caches helped. Wtf

What does it have to do with anything? Why would the IDE "uncache" that property from my property file?

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
Posted by: Sergey Zolotarev

79635777

Date: 2025-05-23 15:16:32
Score: 1.5
Natty:
Report link

The answer was to use a form subform, not a query subform. See MajP's answer here: https://www.access-programmers.co.uk/forums/threads/how-do-i-save-the-layout-of-a-subform-after-modifying-it-on-the-main-forms-on-open-event.334086/#post-1963627

You should not have to save or get this message. I do this all the time without any prompt. However it looks to me that your subform source object is a query object and not a form in datasheet. Make sure to use a datasheet form and your problem should go away. Also call the code in the on load event and not the on open event.

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

79635776

Date: 2025-05-23 15:16:32
Score: 2.5
Natty:
Report link

So the problems was I added Swift files in VSCode and it was not added in the scope of the project in ios. Open the project in xcode and added those files in scope fixed the issue

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Ali Yar Khan

79635775

Date: 2025-05-23 15:14:31
Score: 2.5
Natty:
Report link

My Google Chrome memory footprint for subframe is at 1,345,212K and I have no idea what to do about this, it is a 9 month old Lenovo Chromebook+ and I did not know it was a Chromebook when I bought it or I would have gone somewhere else. I am guessing it has to do with my ad blocker because Chrome REALLY does not like ads being blocked. But I have spent nearly the entire time I owned it in Google's misclick jail I am ready to recycle the piece of garbage.

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

79635772

Date: 2025-05-23 15:13:31
Score: 2.5
Natty:
Report link

The solution is to upload datas to the system

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jeff Steve

79635770

Date: 2025-05-23 15:12:31
Score: 1
Natty:
Report link

For everyone like me who had the same error because you are making the app cross-compatible with bun, node, and deno, the right answer is to make sure that you are passing .pem files contents as an utf8 text.

I had to add "utf8" as the second argument to the readFileSync function from the fs-extra

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

79635764

Date: 2025-05-23 15:08:29
Score: 0.5
Natty:
Report link

Found a solution that works recursively:

$ jq --sort-keys \. data.json

If also wish to sort the arrays use:

$ jq --sort-keys 'walk(if type == "array" then sort else . end)' data.json
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: I J

79635762

Date: 2025-05-23 15:06:29
Score: 1
Natty:
Report link

Maybe something like this:

block-beta
  block:s1
    columns 1
    t1["Stack 1"]
    n1("Node 1")
    n2("Node 2")
  end
  space
  block:s2
    columns 1
    t2["Stack 2"]
    n3("Node 3")
    n4("Node 4")
  end
  s1 --> s2
  style t1 fill:none,stroke-width:0px
  style t2 fill:none,stroke-width:0px

Two stacks

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

79635744

Date: 2025-05-23 14:54:25
Score: 1
Natty:
Report link

By default, sort_values puts the smallest y first. But in the doc (containing F), y=0 is at the bottom of the shape and y grows as you go up. So you ended up printing the bottom stroke of your “F” first, then the middle and then the top giving you an upside-down “F.”

To fix this you would need to define the sorting order of y-cordinates as descending in your getTableDataSorted function:

tableData[0].sort_values(by=["y-coordinate","x-coordinate"], ignore_index=True,ascending=[False, True])

As the doc with the lengthier message is already laid out with the highest y-values first, asking pandas to sort y descending doesn’t change its row order. In contrast, the “F” doc had y ascending (bottom→top), so flipping to descending is what corrects its orientation.

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

79635718

Date: 2025-05-23 14:35:20
Score: 2
Natty:
Report link

is it a must to execute the command of :

git submodule update --init --recursive

and where to put

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): is it a
  • Low reputation (1):
Posted by: Mohamed Osama

79635709

Date: 2025-05-23 14:33:19
Score: 3.5
Natty:
Report link

Thanks, this worked beautifully in a bash script called remotely (ssh hostname 'myscript.sh')

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

79635702

Date: 2025-05-23 14:28:18
Score: 1.5
Natty:
Report link

For a venerable approach to this, see the source code to the classic computer program "The Colossal Cave Adventure" which implemented a scheme to hide the text in the executable so as to prevent users from dumping the text as referenced in the Literate PDF:

http://literateprogramming.com/adventure.pdf

but you'll need the original source:

https://www.ifarchive.org/indexes/if-archive/games/source/

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

79635700

Date: 2025-05-23 14:26:17
Score: 2
Natty:
Report link

just use this in windows:

from serial.serialwin32 import Serial
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mahdi_asdzd

79635698

Date: 2025-05-23 14:25:17
Score: 1
Natty:
Report link

When using Esm.sh the version number precedes any path information. So in your example, the correct URL will be:

https://esm.sh/[email protected]/jsx-runtime

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
Posted by: oravecz

79635697

Date: 2025-05-23 14:25:17
Score: 1
Natty:
Report link

This error appeared to me by adding a find_package(homemade_package) in my CmakeLists.txr
In my case, this "homemade_package" relied on gazebo and rviz.

I don't know if my comment will be helpfull but, eliminating the packages that depended on gazebo and rviz fixed the problem for me.

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

79635679

Date: 2025-05-23 14:14:14
Score: 5
Natty: 4.5
Report link

Is it correct that 15 years after this question was asked, there is still no acceptable alternative? Yes, it is.

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

79635677

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

In Dart 3.8, to preserve trailing commas during formatting, update your analysis_options.yaml

formatter:
  trailing_commas: preserve
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fawzi Gharib

79635673

Date: 2025-05-23 14:11:12
Score: 2.5
Natty:
Report link

In your Program.cs file, add

public partial class Program { }

that way your test project will have something to reference.

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

79635672

Date: 2025-05-23 14:11:12
Score: 1.5
Natty:
Report link

Finally Solved it by changing in .env file

SESSION_DRIVER=file
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: sanu

79635664

Date: 2025-05-23 14:05:11
Score: 1
Natty:
Report link

Just let Integer.intValue() fail with NullPointerException and catch it.

Integer result;
try {
    result = intList.stream().mapToInt(Integer::intValue).sum();
} catch (NullPointerException e) {
    result = null;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ds1

79635662

Date: 2025-05-23 14:03:10
Score: 3
Natty:
Report link

Is the DWR is compatible with CSRF (Cross-site Request Forgery) ? I tried by sending the csrf token both in dwr header and as a request parameter. But it doesn't give any impact

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is the
  • Low reputation (0.5):
Posted by: Linidu Praneeth Gunathilaka

79635660

Date: 2025-05-23 14:02:10
Score: 2.5
Natty:
Report link

Additionally, please try to avoid using too many subqueries, as they can negatively impact the performance of your query. Consider using SQL Server Common Table Expressions (CTEs) or table variables as alternatives for better efficiency and please avoid using function on your where clause.

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

79635654

Date: 2025-05-23 13:59:09
Score: 1.5
Natty:
Report link

Solution 1 from @rozsazoltan is very effective.

Actually to use dark:inline with Astro & Vite, you should just add to your CSS file:

@custom-variant dark (&:where(.dark, .dark *));

Good luck!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @rozsazoltan
  • Low reputation (0.5):
Posted by: Guillaume Duhan

79635653

Date: 2025-05-23 13:58:08
Score: 2.5
Natty:
Report link

Just to corroborate Soroush Fathi's report:

For me it only worked when I changed the API_KEY to PROD. Even using Sandbox mode, it only worked with the Prod API Key.

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

79635647

Date: 2025-05-23 13:55:07
Score: 4
Natty:
Report link

Use pattern.

erp/functions/proj1/**

https://docs.aws.amazon.com/codepipeline/latest/userguide/syntax-glob.html

Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Grzegorz

79635643

Date: 2025-05-23 13:53:06
Score: 5.5
Natty: 5.5
Report link

and how to set exacly current cursor position?

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