79641910

Date: 2025-05-28 09:31:25
Score: 1.5
Natty:
Report link

If you want to delete an account with a large state on mainnet, you can use Lantstool - just choose the account, key, and beneficiary, and the tool will handle it for you.
Watch demo: https://www.youtube.com/watch?v=84OlJric7lk&t=9

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Taras

79641903

Date: 2025-05-28 09:29:24
Score: 1
Natty:
Report link

You got a 401 running your test because with @WebMvcTest, Spring does not load your security configuration. So, on your test class AuthenticationControllerTest, you should add an @Import with the configuration class that define your securityFilterChain bean. If the securityFilterChain bean is not in context, Spring uses defaults where all endpoints require authentication.

Also annotate your test method with @WithMockUser.

Hope this helps

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • User mentioned (1): @WebMvcTest
  • User mentioned (0): @Import
  • User mentioned (0): @WithMockUser
  • Low reputation (0.5):
Posted by: FBibonne

79641886

Date: 2025-05-28 09:20:22
Score: 1
Natty:
Report link

I have faced similar problem for one of the files in my spring boot project as it was not added in the project and somehow in the git commit too. It was not showing in the main branch of the git where I have merged my changes earlier so,

  1. All I did is created another branch from the main into my local

  2. then renamed that file into fileName_Temp.java which was showing orange in local as it was already there

  3. then created new java file fileName.java and copy pasted everything from temp(fileName_Temp.java) to current file(fileName.java)

  4. then committed my changes again and merged this new branch after commit into main branch

This solved my problem.

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

79641883

Date: 2025-05-28 09:19:21
Score: 1.5
Natty:
Report link

Git team applies special forces to make output unparseable.

How to separate semantic version tag from commit specification. This is very hard. Commit spec syntax is very unpredictable.

And no way to include some separator.

It makes me unhappy.

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

79641874

Date: 2025-05-28 09:16:21
Score: 1
Natty:
Report link

Apparently there is no pure WPF bindings by Microsoft, but as mentioned before you can use one of third-party implementations.
Alternatively, you can do it by yourself from the scratch:

It all boils down to WinAPI calls:
https://learn.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shell_notifyicona?redirectedfrom=MSDN
Those are C# bindings for those WinAPI functions:
https://www.pinvoke.net/default.aspx/shell32/Shell_NotifyIcon.html?diff=y

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

79641863

Date: 2025-05-28 09:08:18
Score: 0.5
Natty:
Report link

So, I eventually figured it out after confirming that not a single connection attempt had been logged by the broker.

The update in combination with the configuration of this specific installation caused another IHostedService to never finish its Initialization, leading to MyMqttHandler's StartAsync never being called and my application never even trying to contact the mqtt broker.

This also explains why there weren't any connection attempts.

Funnily enough, the setting used to configure the client-id was also involved in triggering the bug in the other IHostedService, explaining why it worked with a different client-id.

So I guess adding logging in StartAsync / what IHostedServices have been started already would have made troubleshooting a lot easier.

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

79641862

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

in new version of the package just add this :

 noOfPages: 1,
   final pickedFile = await CunningDocumentScanner.getPictures(
          noOfPages: 1,
        );
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: belal mohamed

79641849

Date: 2025-05-28 09:02:16
Score: 4.5
Natty: 5.5
Report link

Is there an update to this?
I am trying to connect an n8n AI Agent to my telegram, in order for it to read my messages and give me executive summary of everything!

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is there an
  • Low reputation (1):
Posted by: NealFB

79641846

Date: 2025-05-28 09:01:15
Score: 3.5
Natty:
Report link

I have done something similiar but on web. Using the intelephense language server in the backend ( which I connect using web socket )

and @codingame/monaco-languageclient , @codingame/monaco-jsonrpc in the frontend as shown in this answer

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

79641845

Date: 2025-05-28 09:01:15
Score: 2
Natty:
Report link

Implementing HSTS is helpful even if only HTTPS is used. without HSTS, browser may attempt initial connection as HTTP to the server. HSTS force the browser to use HTTPS after the first visit and with HSTS preload list, even the first request send over https, make sure the requested site is in HSTS preload list.

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

79641843

Date: 2025-05-28 08:59:15
Score: 1.5
Natty:
Report link

update you allowed_host

ALLOWED_HOSTS = ['*']
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: danial hadi

79641840

Date: 2025-05-28 08:57:14
Score: 3
Natty:
Report link

Fixed by creating a custom UI focus logic. Apparently SpriteKit is not well integrated with the focus engine as UIKit is.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: I Don't Tell

79641838

Date: 2025-05-28 08:55:14
Score: 3.5
Natty:
Report link

I was able to fix the same issue by downgrading the Microsoft Graph to version 2.25.0.

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

79641837

Date: 2025-05-28 08:54:13
Score: 2.5
Natty:
Report link

devm_ioremap_nocache was removed since for all architectures it is the same as devm_ioremap (https://lore.kernel.org/linux-mips/[email protected]/T/). So, you can just use devm_ioremap.

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

79641834

Date: 2025-05-28 08:52:12
Score: 2
Natty:
Report link

If dialog.destroy() is not a valid function, nothing will happen when closeDialog() is called. try using dialog.hide()/dialog.close()

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

79641828

Date: 2025-05-28 08:50:12
Score: 3.5
Natty:
Report link

AAAAAAAAAAAAAAAAAAAAAA jaaaaaaaaaaaaaaaaaaaa sam pooooooooooooooceooooooooooo da luuuuuuuuuttttttaaaaaaaaaaaaaaaammmmmmmmmmm ja vise ne znam skim vencavao sam se i razvodio lalal lalala

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Filler text (0.5): AAAAAAAAAAAAAAAAAAAAAA
  • Filler text (0): aaaaaaaaaaaaaaaaaaaa
  • Filler text (0): oooooooooooooo
  • Filler text (0): ooooooooooo
  • Filler text (0): uuuuuuuuu
  • Filler text (0): aaaaaaaaaaaaaaaa
  • Filler text (0): mmmmmmmmmmm
  • Low reputation (1):
Posted by: 222222222222222222222222222

79641827

Date: 2025-05-28 08:50:12
Score: 0.5
Natty:
Report link

The solution for me was right in front of my eyes the whole time: the error suggests that whatever token was at index 0 (in my case, a file name) was unexpected.

In my case, I forgot to add Data Source= to the connection string, and just gave the name of my .db file.

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

79641825

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

If you want to clear contract state on a mainnet account, you can use Lantstool — simply choose the account and key, and the tool will do it for you.
👉 Watch how it works: https://www.youtube.com/watch?v=84OlJric7lk&t=9s

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Taras

79641822

Date: 2025-05-28 08:48:11
Score: 0.5
Natty:
Report link
create a function and give a route path as a parameter in this function if the path is same to the route path then use window.scrollTo function and  pass a object. 

const handleSamePageNavigation = (event, path) => {
  if (route.path === path) {
    event.preventDefault();
    window.scrollTo({ top: 0, behavior: "smooth" });
  }
};

and use this function where you use any link like:

<NuxtLink
 to="/about-us"
 @click="
 (e) =>handleSamePageNavigation(e, localePath('/about-us'))">
About 
</NuxtLink>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rony

79641821

Date: 2025-05-28 08:47:11
Score: 0.5
Natty:
Report link

YES, you can, just use FormulaLocal. 😉

Exemple in French version, both are working the same way.

Sub test()
    Cells(1, 1).Formula = "=RIGHT(""TOTO"", 2)"
    Cells(1, 2).FormulaLocal = "=DROITE(""TOTO""; 2)"
End Sub
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: CodeKiller

79641806

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

The LPA address format might be wrong. Try these variations:

// Option 1: Full LPA format (if activationCode already contains full LPA)

request.address = activationCode

// Option 2: Standard format you're using

request.address = "LPA:1$\(smdp)$\(activationCode)"

// Option 3: Alternative format some carriers use

request.address = "\(smdp)$\(activationCode)"

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

79641789

Date: 2025-05-28 08:26:05
Score: 0.5
Natty:
Report link

How about adding a 2-second restriction? This way, it would only allow assignment operations every 2 seconds.

import { useRef, useState } from "react"
import { TextInput } from "react-native"

interface UseBarcodeScanner {
    onScan: (barcode: string) => Promise<void> | void
}

const useBarcodeScanner = ({ onScan }: UseBarcodeScanner) => {
    const [barcode, setBarcode] = useState("")
    const inputRef = useRef<TextInput>(null)
    const lastScanTimeRef = useRef<number>(0)

    const handleStringListener = (text: string) => {
        const now = Date.now()
        if (now - lastScanTimeRef.current < 2000) {
            console.log("Barcode came so fast, it is ignored")
            return
        }

        setBarcode(text)
    }

    const handleEndEditing = () => {
        if (barcode.length > 0) {
            lastScanTimeRef.current = Date.now()
            void onScan(barcode)
            setBarcode("")
            inputRef.current?.focus()
        }
    }

    return {
        inputRef,
        barcode,
        inputProps: {
            value: barcode,
            onChangeText: handleStringListener,
            onEndEditing: handleEndEditing,
            onSubmitEditing: handleEndEditing,
            showSoftInputOnFocus: false,
            blurOnSubmit: false,
        },
    }
}

export default useBarcodeScanner
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Live Stream

79641781

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

Well, it seems that although it used to work, and that our org mandates using SSO not tokens or keys, its not possible to get SSO not to prompt every time.

The work around I used was to create an app token in bitbucket, then modify my remote thusly:

git remote set-url origin https://[email protected]/myorg/my -service.git

Before that it used our organisation name in place of mytokenname.

Now the first time I did a git operation, I put in the token, and now it remembers it so no more logging in every time.

What's the point of SSO though, if you cant use it because doesn't remember your details?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • High reputation (-2):
Posted by: John Little

79641778

Date: 2025-05-28 08:20:03
Score: 3
Natty:
Report link

To handle a form in your WordPress SPA setup, use JavaScript to submit it via AJAX to admin-ajax.php, just like you load profile sections dynamically.

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

79641767

Date: 2025-05-28 08:10:01
Score: 1.5
Natty:
Report link

Q: "Does anyone know what is wrong with this code?"

A: First, the is a syntax error

template error while templating string: expected token 'end of print statement', got 'item'. String: {{ kill item }}. expected token 'end of print statement', got 'item'"

the cmd should be

shell: "kill {{ item }}"

Despite of the question looks like a duplicate of How to kill running process using Ansible or How force kill process and exit from ansible-playbook if not successful?, you may try the specific Ansible module in this case, here pids module – Retrieves process IDs list if the process is running otherwise return empty list.

---
- hosts: localhost
  become: true
  gather_facts: false

  tasks:

    - name: Getting process IDs of the process
      community.general.pids:
        name: httpd
      register: pids_of_httpd

    - name: Force kill the processes
      shell:
        cmd: "kill -9 {{ item }}"
      loop: "{{ pids_of_httpd }}"

Furthermore you should try to just simply stop the processes via service module – Manage services.

---
- hosts: localhost
  become: true
  gather_facts: false

  tasks:

    - name: Stop service httpd, if started
      service:
        name: httpd
        state: stopped
Reasons:
  • Blacklisted phrase (1): know what is wrong
  • RegEx Blacklisted phrase (2): Does anyone know
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: U880D

79641762

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

As answered, the size of VotingSystem.sol will still exceed the deployment limit. Another way to split up implementation handling, is by using libraries.

  1. If some of your logic is purely functional (doesn't modify state or only modifies the state of passed-in arguments), you can extract it into libraries.

  2. Libraries are deployed once, and other contracts can then call their functions using DELEGATCALL. This means the library's code isn't duplicated in every contract that uses it, saving space.

  3. Note: Using internal library functions will embed the code, so for size reduction, you'd typically use public/external library functions, though this involves external calls.

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

79641757

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

Using IOptions<T> helps avoid injecting the entire configuration model. However, defining an explicit class has the advantage of clearly expressing required settings, improving code readability, maintainability, and testability.

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

79641751

Date: 2025-05-28 07:57:57
Score: 2.5
Natty:
Report link

For any installations you can also go to the 'CloudShell' using the button at the top of the AWS console page.

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

79641748

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

I fixed it. I had to manually add the junit platform launcher dependency:

testRuntimeOnly 'org.junit.platform:junit-platform-launcher:1.12.2'

Thanks for everyone's help.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pandab

79641747

Date: 2025-05-28 07:54:56
Score: 2.5
Natty:
Report link

This gives a symbolic expression, but I don't know how to evaluate it.

5*Num(pi)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30656326

79641744

Date: 2025-05-28 07:51:55
Score: 0.5
Natty:
Report link

In Highcharts currently there is no built-in smoothing option for line charts, but there are ways around it.

  1. Have you tried a spline chart? For most use cases, it works well in such a scenario https://www.highcharts.com/docs/chart-and-series-types/spline-chart
  2. You can also preprocess your data with a smoothing algorithm like 'moving average', and then use it to plot a chart with Highcharts (line or spline, whatever fits your needs)
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Andrzej Bułeczka

79641739

Date: 2025-05-28 07:49:54
Score: 2.5
Natty:
Report link

Maybe the copy constructor for Base2(constBase1&) is a converting constructor, not a true copy constructor its according to my insights. I believe it's better to explicitly define a copy constructor for ensuring proper constructor selection.

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

79641736

Date: 2025-05-28 07:48:53
Score: 1.5
Natty:
Report link

Adding parameters in graal 21 poi-ooxml 5.4.1 can be executed


<buildArg>--initialize-at-run-time=org.apache.poi,org.apache.commons</buildArg>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Qeir Mr.钟

79641735

Date: 2025-05-28 07:48:53
Score: 0.5
Natty:
Report link

The issues are:

  1. Kivy's Logger is a separate logging system from Python's standard logging module.

  2. When you call Logger.addFilter(), you're adding a filter to Kivy's logger, not to Python's standard logging system.

  3. The logger = logging.getLogger('poopoo') creates a standard Python logger, which is completely independent from Kivy's Logger.

Issues with your code:

# Adds filter to Kivy Logger, not Python logger
Logger.addFilter(logging.Filter('poopoo'))

# NOT filtered (still shows DEBUG logs)
logger.debug('pylogger')  

Solution 1: Redirect Python logging to Kivy’s Logger.

from kivy.logger import LoggerHistory
import logging

class KivyHandler(logging.Handler):
    def emit(self, record):
        LoggerHistory.add_record(record)

root_logger = logging.getLogger()
root_logger.setLevel(logging.INFO)
root_logger.addHandler(KivyHandler())

logging.getLogger('poopoo').debug('This will be filtered by Kivy’s logger now')

Solution 2: you need to configure both systems separately.

import logging
from kivy.logger import Logger, LOG_LEVELS

if __name__ == '__main__':
    Logger.setLevel(LOG_LEVELS["info"])
    
    std_logger = logging.getLogger('poopoo')
    std_logger.setLevel(logging.INFO)
    
    for i in range(5):
        Logger.debug('kivy')
        std_logger.debug('pylogger')

Solution 3: If you want unified logging control, you can configure Python's root logger, which will affect most loggers (including third-party libraries):

import logging
from kivy.logger import Logger, LOG_LEVELS

if __name__ == '__main__':
    Logger.setLevel(LOG_LEVELS["info"])
    logging.basicConfig(level=logging.INFO)

    for i in range(5):
        Logger.debug('kivy')
        logging.getLogger('poopoo').debug('pylogger')
Reasons:
  • Blacklisted phrase (2): poop
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Subir Chowdhury

79641733

Date: 2025-05-28 07:47:52
Score: 10 🚩
Natty:
Report link

Can you please unlock decrypiton please just please help me please turn off the VPN I like my I'm a non-employedback please

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me
  • RegEx Blacklisted phrase (2): help me please
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you please
  • Low reputation (1):
Posted by: shane

79641730

Date: 2025-05-28 07:45:52
Score: 2.5
Natty:
Report link

This is the reproducible example.

if (!require("data.table")) {
  install.packages("data.table")
  require("data.table")
}

dat <- data.table(a = 1:3)
dat[, b := a + 1]
message("No print above expected, but will occur if you source this script.")

I am suppressing this print by piping it to invisible as follows:

dat[, b := a + 1] |> invisible()

If someone has a better solution, please let us know.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let us know
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daniel Hoop

79641729

Date: 2025-05-28 07:45:52
Score: 2
Natty:
Report link

The automatic column detection only works for autonomous databases, you can see the documentation. If the schema inference is very important you might want to consider using an autonomous database.

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

79641716

Date: 2025-05-28 07:38:50
Score: 1.5
Natty:
Report link

In my case, i facing this:

Gradle build failed to produce an .aab file. It's likely that this file was generated under app_name/build, but the tool couldn't find it.

but the BUILD SUCCESSFUL in 1m 50s, and i can find the .aab file in

app_name/build/app/outputs/bundle/release/appName-2.0.0-v2-release.aab

What's really happens:

This is happens because Flutter expects a default output filename, but you have customized the AAB file name. I customize archieveBaseName in android/app/build.gradle become like this:

android {
    ....

    defaultConfig {
        archivesBaseName = "${appName}-${flutterVersionName}-v${flutterVersionCode}"
    }
}

Whereas Flutter looks for the default file at:

build/app/outputs/bundle/release/app-release.aab

So even though the build succeeded and the file was generated, Flutter reports:

Gradle build failed to produce an .aab file.

because it can’t find app-release.aab where it expects it.

How i fix it?

I only customize the output name for .apk file. Here is how i customize it in android/app/build.gradle:

android {
    applicationVariants.all { variant ->
        variant.outputs.all { output ->
            def outputFile = output.outputFile
            if (outputFile != null && outputFile.name.endsWith('.apk')) {
                def newName = "${appName}-${flutterVersionName}-v${flutterVersionCode}-${variant.name}.apk"
                output.outputFileName = newName
            }
        }
    }
    
    ...
}

and remove the customization for archieveBaseName in build.gradle .

Reasons:
  • RegEx Blacklisted phrase (1.5): fix it?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Daud Dhiya'

79641715

Date: 2025-05-28 07:37:49
Score: 0.5
Natty:
Report link

Your Approach

@Marce Puente correctly points outin the question comments that retaining an exact percentage of elements is impossible, at least for smaller list sizes.

the idea of “exact percentage” is already wrong, imagine such a list: [ 10, 5, 1 ] and you want to keep it to *50%, what would you put, an item and a half, no, you have to set a tolerance, which will be determined by the number of item's.

For larger input sizes the rounding error decreases.

Another problem, as the busybee pointed out, is that discarding elements with a chance is not guranteed to return a stable amount of elements.

To illustrate that, here are 10 sets of random numbers between 0 and 100 (I noted the number of elements that would be retained given percentageToRetain = 30 in brackets):

0 64 93 11 77 13 82 87 8 68 (4 retains)
77 60 39 97 64 46 33 42 87 79 (0 retains)
26 91 0 32 49 31 15 7 2 7 (5 retains)
95 90 38 10 70 37 32 17 82 98 (2 retains)
11 43 96 58 10 40 30 4 40 54 (3 retains)
2 66 86 87 17 88 92 64 10 79 (4 retains)
3 86 75 51 30 37 2 96 49 89 (2 retains)
9 10 23 84 52 28 32 14 12 33 (5 retains)
53 91 54 66 28 61 67 35 45 70 (1 retains)
3 77 79 24 37 60 6 80 8 39 (4 retains)

My suggestion

  1. calculate the.number of elements you wish to retain: int numberOfElementsToRetain = (int) (source.size() * percentageToRetain / 100.0);
  2. make a copy of the input list to a known mutable type (you can skip this step if the input is guranteed to be mutable & you don't mind ruining it)
  3. shuffle it
  4. copy the first numberOfElementsToRetain elements to a new list & return that.

Thus we get:

public static <E> List<E> retainNumberOfElementsRandomly2(List<E> source, int percentageToRetain){
    int numberOfElementsToRetain = (int) (source.size() * percentageToRetain / 100.0);
    ArrayList<E> defcopy = new ArrayList<>(source);
    
    Random r = new Random();
    
    Collections.shuffle(defcopy, r);

    List<E> result = new ArrayList<>(numberOfElementsToRetain);
    
    for(int i = 0; i < numberOfElementsToRetain; i++){
        result.add(defcopy.get(i));
    }
    
    return result;
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @correctly
  • Low reputation (1):
Posted by: Jannik S.

79641709

Date: 2025-05-28 07:33:48
Score: 2
Natty:
Report link

'*/*' will enable all media types. You can always go for types of your specific implementation . For example 'multipart/form-data'.

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

79641703

Date: 2025-05-28 07:29:46
Score: 4
Natty:
Report link

I had found a workaround, using fileFilter from File Interceptor based on the answer from this question: [https://stackoverflow.com/questions/49096068/upload-file-using-nestjs-and-multer].

The validator from filter works but still I need to mimic the error message from Multer.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: GIA KHOA TRẦN

79641699

Date: 2025-05-28 07:28:46
Score: 3
Natty:
Report link

Fork the dependency, integrate it as a Git submodule, update your main project's Cargo.toml to use the local path, and commit changes in both repositories.

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

79641689

Date: 2025-05-28 07:19:44
Score: 0.5
Natty:
Report link

Chirp signals are very useful signals to cover wide frequency bands nearly instantaneously.

Chirp 101 starts with sin signals (phase aside) sweeping, liearnly or other wise, the frequency, up or down, to cover a given band [f1 f2] within certain cycle T.

HOWEVER operational chirps can and are implemented with other pulses that frequency swept sin .

The initial assumption to assume that the source may be wrong, assuming that a sawtooth is not used for chirps, that assumption is wrong.

Sawtooth pulses are rich in harmonics.

Even many conventional FM car radios use saw pulses instead of sin pulses for various purposes because saw pulses, on hardware alone, are easier to implement than clean stable pure tones.

You want to cover a wide band. f1 and f2 are not anywhere nearby, they are far apart in frequency.

Also useful : Sawtooth pulses only have one sharp step.

Assume sawtooth pulses are used as explained in the source and reword the question.

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

79641688

Date: 2025-05-28 07:18:44
Score: 1
Natty:
Report link
  1. <?php   
         foreach ($get_data->result() as $row) 
         {   
             echo html_escape($row->col_1);
             echo html_escape($row->col_2);
             echo html_escape($row->col_3);
             echo html_escape($row->col_4);
    
             echo "<br>";
         }
    ?>
    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: christianch1303

79641687

Date: 2025-05-28 07:18:44
Score: 3
Natty:
Report link

This was answered by the MudBlazor team stating that it's related to a bug that has already been fixed and planned for release. Using a previous version is the current solution until the next release.

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

79641686

Date: 2025-05-28 07:18:44
Score: 3
Natty:
Report link

In complex projects on Linux for each dynamic lib you shold use unique resource-file-name, FYI

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

79641683

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

npm install --save-dev mochawesome mochawesome-merge mochawesome-report-generator

you should update cypress-parallel scripts

"cy:run:parallel": "cypress-parallel -s cy:run -t 3 -d 'cypress/e2e/ui/' -r 'cypress-mochawesome-reporter' -o 'cypressParallel=true' -p 'reporter-config.json' --strictMode false && npm run merge-reports"

add merge-reports scripts

"merge-reports": "mochawesome-merge cypress/reports/*.json > cypress/reports/merged-report.json && marge cypress/reports/merged-report.json -f merged-report -o cypress/reports"

example reporter-config.json

{ "reportDir": "cypress/reports", "overwrite": false, "html": false, "json": true }

you will take a one report in merged-report.html

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

79641680

Date: 2025-05-28 07:15:42
Score: 2
Natty:
Report link

if you are using reactstrap package then reactstrap internally uses punnycode package thats why you are getting this warning and The solution is switch reactstrap to HeroUi latest package.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user26960677

79641675

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

This string_extractor_intl package extracts hardcoded strings from your Flutter project and generates ARB files (app_en.arb) for internationalization (i18n) and localization (l10n).

No need to manually extract strings for localization if you are already deep into your project.

Generate app_en.arb and use replace strings with AppLocalizations.of(context).something in your project manually. Then translate the en file to other languages. The --replace tag has some issues, which is supposed to replace all the strings with AppLocalizations.of(context).something for you.

https://pub.dev/packages/string_extractor_intl

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

79641671

Date: 2025-05-28 07:06:40
Score: 2
Natty:
Report link

In my case Xcode added the test file to list of compiled sources for the main target. I had to go to app target -> Compile Sources, and delete the test file from there.

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

79641670

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

An addition to what @huw-walters demonstrated above: you don't necessarily need to provide the 'store' with the constructor

CountValue(std::size_t* store):

But with slight changes, you can just use the po::variables_map::at() to get the verbosity value, just add a store_ member variable and you can remove the parameterized constructor:

class CountValue : public po::typed_value<std::size_t>
{
public:
    
    CountValue(/*std::size_t* store*/):
        po::typed_value<std::size_t>(&store_),
        store_(0)
    {
....

    virtual void xparse(boost::any& store, const std::vector<std::string>& /*tokens*/) const
    {
        // Replace the stored value with the access count.
        store_ = ++count_;
        store = boost::any(store_);
    }

private:
    mutable std::size_t count_{ 0 };
    mutable size_t store_;
};

And then you can get the 'verbose' value as:

size_t verbosity = varMap.at("verbose").as<size_t>();
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @huw-walters
  • Low reputation (1):
Posted by: RoyalBluez

79641666

Date: 2025-05-28 07:02:38
Score: 2.5
Natty:
Report link

$('#date1, #date2', #date3').datepicker({ autoclose: true, todayHighlight: true, format: 'dd-M-yyyy' });

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

79641664

Date: 2025-05-28 07:01:38
Score: 2.5
Natty:
Report link

AutoCAD 2025 requires to target .NET 8.0. See https://help.autodesk.com/view/OARX/2025/ENU/?guid=GUID-A6C680F2-DE2E-418A-A182-E4884073338A

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

79641661

Date: 2025-05-28 06:59:38
Score: 0.5
Natty:
Report link

Here is the function that perform this task and a results:

enter image description here

from docx import Document


def merge_table_columns_with_equal_text(table, column_index):
    """
    Merge cells in a specific column of a given table only if the value of the previous row cell
    is the same as the value of the current row cell. Only leaves one value in the merged cell.

    :param table: The table object from python-docx
    :param column_index: The index of the column to merge
    """
    num_rows = len(table.rows)
    start_row = None
    start_row_value = None

    for i in range(1, num_rows):
        current_cell = table.cell(i, column_index)
        previous_cell = table.cell(i - 1, column_index)
        current_value = current_cell.text
        previous_value = previous_cell.text
        if previous_value == current_value:
            if start_row is None:
                start_row = i - 1
                start_row_value = table.cell(start_row, column_index).text
            if i + 1 == num_rows:  # if this is the last row
                table.cell(start_row, column_index).merge(table.cell(i, column_index))
                table.cell(start_row, column_index).text = start_row_value
        elif start_row is not None:
            table.cell(start_row, column_index).merge(table.cell(i - 1, column_index))
            table.cell(start_row, column_index).text = start_row_value
            start_row = None


def create_test_document():
    data = [
        ('a', '1', 'x'),
        ('a', '1', 'y'),
        ('a', '1', 'y'),
        ('b', '2', 'z'),
        ('b', '3', 'z'),
        ('c', '3', 'z'),
        ('c', '3', 'z'),
    ]

    document = Document()
    table = document.add_table(rows=len(data), cols=len(data[0]))
    for row_idx, row_data in enumerate(data):
        for col_idx, value in enumerate(row_data):
            table.cell(row_idx, col_idx).text = value

    return document


if __name__ == '__main__':
    doc = create_test_document()
    table = doc.tables[0]
    doc.save('z_test_1_before_merging.docx')
    for column_index in range(0, table._column_count):
        merge_table_columns_with_equal_text(table, column_index)
    doc.save('z_test_2_after_merging.docx')
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Comrade Che

79641650

Date: 2025-05-28 06:52:36
Score: 2
Natty:
Report link

Perhaps, there seems to be a subtle difference when creating the wallet creation logic directly.

Try creating it using the following package.
https://github.com/fbsobreira/gotron-sdk

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

79641647

Date: 2025-05-28 06:50:35
Score: 0.5
Natty:
Report link

Actually, I couldn't find an official answer. I tried a turnaround because of this.
I used custom CSS to prevent the cursor from appearing in the input field when a user clicks on it.
In order to prevent the user from typing anything, I also stopped the keypress event.

Example:

.readonly-bsDatepicker{
  caret-color: transparent;
  user-select: none;
}
<input
                type="text"
                placeholder="From"
                [bsConfig]="bsdatepickerConfig"
                class="form-control readonly-bsDatepicker"
                #dp="bsDatepicker"
                autocomplete="off"
                readonly
                bsDatepicker
                (keypress)="$event.preventDefault()"
              />
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Paramhans

79641646

Date: 2025-05-28 06:49:34
Score: 2
Natty:
Report link

Do not delete these files! I noticed them today on my hard drive, deleted them, and TourBox Console app stopped working. This app is a driver and control panel for TourBox NEO controller device that I'm using. As these .dll files are generic Microsoft libraries, chances are that some other apps may stop working as well when you delete these files, despite the fact that placing them in the root directory of C: doesn't seem like a good programming practice.

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

79641642

Date: 2025-05-28 06:48:34
Score: 3.5
Natty:
Report link

Make your home intelligent and chic with cutting-edge devices such as: smart lights, modernized thermostats, and voice assistants. Comfort, control over specific functions, and contemporary aesthetics would be on needs-fit properly to anyone's lifestyle.enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Smart Home Automation

79641639

Date: 2025-05-28 06:46:33
Score: 3
Natty:
Report link

Try increasing quality settings, add a sharpening filter after resizing, and make sure to keep the aspect ratio right to get sharper, better-looking images with PHP/GD.

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

79641629

Date: 2025-05-28 06:37:32
Score: 1.5
Natty:
Report link

You can you this package flutter_string_extractor to generate .arb files from your project, then in your project use

AppLocalizations.of(context).string-name
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mumin Ahmod

79641628

Date: 2025-05-28 06:37:32
Score: 0.5
Natty:
Report link

New syntax (1.4 version and above)

from sqlalchemy import delete

with Session(engine) as session:
    statement = delete(User)
    session.execute(statement)
    session.commit()

https://docs.sqlalchemy.org/en/14/core/dml.html?highlight=delete

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

79641626

Date: 2025-05-28 06:34:31
Score: 0.5
Natty:
Report link

the problem as i can see is that you maybe using fixed size measures for giving sizes to different assets, like using px to define dimension, first of all, set the viewport to screen height, and try using rems instead of px it will really help a lot, if these don't seem to fix the issue, try using responsive attributes. I hope it helps

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kunal Dhamiwal

79641611

Date: 2025-05-28 06:27:28
Score: 1
Natty:
Report link

There are 3 approaches to renaming presented here:

  1. manually renaming/editing

  2. use a 3rd party tool

  3. leverage a project template

I've not used either of the 3rd party tools to accomplish renaming so cannot speak to relative pros & cons and in particular their ability to handle multi-project solutions.

I have used both the manual and template approaches and the determining factor in deciding which approach to use is the complexity of the layout in VS

Both of these approaches retain References and project files.

I initially avoided the template approach because it appeared to be unnecessarily complex but it is actually much easier (and safer).

The manual approaches are amply addressed here but the template approach needed a bit of research the results of which are presented below.

[Instigated by @Edoardo ().]

Using VS2022

While in the Solution select Project->Export Template which launches a wizard. You'll need to decide what to call the template -- this will be the title displayed when creating a new project -- and where to save the template. The default save location is %USERPROFILE%\Documents\Visual Studio 2022\Templates\ProjectTemplates. I use the default.

VS handles selecting essential project elements and copying them into a zip file with the same name as the template. Copy the template name into Notepad or whatever you use.

Exit and restart VS.

Select Create a New Project. Initially your new template is not a displayed option.

Paste the template name into the Search bar at the top and VS adds that as an option.

After the projject is created clicking on References shows a warning icon for all NuGet references. Right-click on the poject and select Manage NuGet Packages. When that opens click the Restore button in the warning message at the top. This will install all of the missing packages.

Build the Solution.

The result is a duplicate of the original project with a new name, correct .sln & .csproj file references, clean output bins and correct Namespace, project properties & assembly info.

NOTE: performed with a single project solution. Based on the using statements at the top of .cs files I assume nothing more is needed for a multi-project solution but that is unconfirmed.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @Edoardo
  • Low reputation (0.5):
Posted by: Art Hansen

79641609

Date: 2025-05-28 06:27:28
Score: 3
Natty:
Report link

put it in variable and bind the variable

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

79641597

Date: 2025-05-28 06:17:25
Score: 4
Natty:
Report link

here is the example of instagram extract.

GET https://graph.instagram.com/me/media?fields=id,caption,media_url,timestamp&access_token=ACCESS_TOKEN

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

79641594

Date: 2025-05-28 06:15:25
Score: 2
Natty:
Report link

I have found this lib which solves my problem: https://github.com/iliapnmrv/react-native-urovo

The code im using to capture a scanned barcode:

useEffect(() => {

    let eventListener
    if (Urovo) { // used only for type safety
      const eventEmitter = new NativeEventEmitter(Urovo);
      eventListener = eventEmitter.addListener(
        UROVO_EVENTS.ON_SCAN,
        (scan) => {
          props.onScan(scan.value)

        }
      );
    }

    return () => {
      eventListener?.remove();
    };
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Marco Lembert

79641591

Date: 2025-05-28 06:13:24
Score: 2
Natty:
Report link

In Visual Studio Code version: 1.98.2

  1. Ctrl + Shift + P to open the Command Palette

  2. Type view: reset view locations

  3. Tap Enter or click on View: Reset View Locations

enter image description here

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

79641590

Date: 2025-05-28 06:13:24
Score: 0.5
Natty:
Report link

Try this:
rm -rf ~/Library/Developer/Xcode/DerivedData
rm -rf ~/Library/Caches/org.swift.swiftpm
rm -rf ~/Library/Caches/com.apple.dt.Xcode

Reasons:
  • Whitelisted phrase (-2): Try this:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oleg Zakladnyi

79641585

Date: 2025-05-28 06:09:22
Score: 13.5 🚩
Natty: 6.5
Report link

Did you solve the problem? Because we also faced the same issue and dont know how to solve.

Reasons:
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (3): Did you solve the problem
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • RegEx Blacklisted phrase (2): dont know how to solve
  • RegEx Blacklisted phrase (2): know how to solve
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve the
  • Low reputation (1):
Posted by: Козимжон Тургунов

79641579

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

Do this in 2025 -

open cmd with Admin rights

cd "C:\Program Files (x86)\Microsoft Visual Studio\Installer"

then

C:\Program Files (x86)\Microsoft Visual Studio\Installer> InstallCleanup.exe -f

That does a clean removal of everything about Visual Studio on your PC.

See this link for details and cautions about the -f option = https://learn.microsoft.com/en-us/visualstudio/install/uninstall-visual-studio?view=vs-2022

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): See this link
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Hoven

79641578

Date: 2025-05-28 06:03:20
Score: 1
Natty:
Report link

The simplest fix is to use a type assertion to tell TypeScript, “I know this matches the type”:

const cursor: PaginationCursor<T> = { id: record.id } as PaginationCursor<T>;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: stepanZ

79641576

Date: 2025-05-28 06:01:19
Score: 2.5
Natty:
Report link

yes this is a known issue that has started occurring since v1.68.0. The tracking GitHub issue for the gRPC Python team is here: https://github.com/grpc/grpc/issues/38282

The fix for the issue is in progress, and will be resolved in uppcoming releases. Please refer to the Github issue for any updates.

Reasons:
  • RegEx Blacklisted phrase (0.5): any updates
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sreenithi

79641570

Date: 2025-05-28 05:57:18
Score: 3
Natty:
Report link

* * * * *
* * * * *
* * * *
* * *
* *
*
Convert of the C++ and Unix the Pascal program

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

79641568

Date: 2025-05-28 05:54:17
Score: 4
Natty: 3.5
Report link

doesn't work, I got the same issue....

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

79641567

Date: 2025-05-28 05:53:16
Score: 2.5
Natty:
Report link

The barcode scanner shows a blank screen likely because the video element has no visible size or the camera stream fails to initialize, so ensure the video has a fixed height and add error logging in Quagga.init().

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

79641561

Date: 2025-05-28 05:49:15
Score: 2
Natty:
Report link

Remove

 "groupName" : "Exclude all redhat-xyz versions"

as it groups all your pull requests together. See: https://docs.renovatebot.com/configuration-options/#groupname

Without groupName it should work as expected.

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

79641545

Date: 2025-05-28 05:28:10
Score: 0.5
Natty:
Report link

The issue “Access Denied: RUN_JOB” is one that describes a lack of permission to run BigQuery jobs for the service account. This even occurs when the account has write access to the dataset and read access to the GCS bucket.

For a load job to be executed, the service account must have the following permission: bigquery.jobs.create. This permission is granted within the role/ bigquery.user which is set on a project level. This enables the service account to run jobs like data loads.

Given that you do not have full project write access, there are some alternatives for you.

Request the project role of roles/bigquery.jobUser. This role allows the holder to create and run jobs but does not allow write access.

There already exists dataset write access for the data, but in this case you need project level permission to run jobs.

You can also use an alternate approach and employ a dedicated service account that requires limited enough permissions to just load the data.

The dataset write and GCS read access do not guarantee job execution without additional access.

If you wish to safely automate data workflows, consider Windsor.ai. It offers data as well as permissions management with minimal access configuration. Here are the steps that you can follow:

Select BigQuery as the destination in Windsor.ai and click “Add Destination Task.”

Authorize your Google Cloud account by selecting your GCP-connected email and granting Windsor.ai required access.

In the destination form, enter:

(Optional) Select advanced options:

Click “Test connection.” If successful, a success message appears; otherwise, see an error.

Click “Save” to run the destination task.

Monitor the task in the data destination section — green ‘upload’ with status ‘ok’ means it’s running successfully.

Check the integrated data in BigQuery by refreshing your dataset in the relevant project. I can help you set up Windsor.

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

79641542

Date: 2025-05-28 05:26:09
Score: 2.5
Natty:
Report link

if you have custom code so its better to switch to cli you will get more control over native implementation to code

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

79641540

Date: 2025-05-28 05:25:09
Score: 1.5
Natty:
Report link

This website https://learn.microsoft.com/en-us/visualstudio/vsto/deploying-a-vsto-solution-by-using-windows-installer?view=vs-2022#to-build-the-setup-project is a pretty comprehensive guide to creating msi installers for vsto addins. HOWEVER, if you are using Visual Studio 2022 the guidance is out of date because the default is for solutions to use embedded PIAs. This means that the two launch conditions: 'Search for Office Shared PIA' and 'Verify Office 2010 Shared PIA availability' are not required. If they are included it is likely that the third party machine will not have them and give an error message. Somebody should ask Microsoft to update this guidance. (I only spent 2 frustrating days in working this out)

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

79641536

Date: 2025-05-28 05:19:04
Score: 6 🚩
Natty:
Report link

Pls post the stacktrace. Which exact line number is the exception originating at? Is it that the client des not wish to upgrade 1.6 (we are at JDK 24 now)

Reasons:
  • RegEx Blacklisted phrase (2.5): Pls post
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: VS.

79641528

Date: 2025-05-28 05:00:58
Score: 3
Natty:
Report link

ps -fA | grep python

kill 81211 1361 1361

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

79641526

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

No need to run any tests. The Playwright plug-in adds a tab to the Panel (the one with the Terminal window, CTRL+backtick). From there you can open an external browser with the Locator tool. Enter the URL of any site in that browser. By default the Locator tool is activated. Roll over any element to see the locator. If you want to navigate the site you just deactivate the Locator tool.

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

79641522

Date: 2025-05-28 04:55:57
Score: 2.5
Natty:
Report link

Your tracking script fails in native social media browsers because they often block or strip referrer data and background requests, so consider using server-side redirects or short links with UTM tracking instead.

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

79641521

Date: 2025-05-28 04:55:57
Score: 0.5
Natty:
Report link

https://go.dev/doc/asm

Conside the strategy employed by the gc Golang compiler. The COMPILE step outputs a platform-independent assembly-esque IR. Then the ASSEMBLE step reifies it on a per-platform basis.

I hope I understood and represented that correctly.

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

79641515

Date: 2025-05-28 04:49:55
Score: 1
Natty:
Report link

If you don't want to use the memfd_create()+execl() you are going to parse the ELF header & friends yourself, fill in the correct locations, tables, segments, maps and system headers. Also needed is to do all the pre-cleaning the ELF loader does (related to the old/current process) before turning the execution over.

Basically you will be re-inventing the ELF loader. Unless you really need this (and don't want to create another binary format/loader/linker) I would suggest you use the memfd_create()+execl()

If you are brave enough (or has a specific requirement) here goes some more info. You can also take a look at an ELF packer source, just like you said, but most will likely re-implement an ELF loader alike thing. Good luck.

https://lwn.net/Articles/631631/

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

79641513

Date: 2025-05-28 04:46:54
Score: 1.5
Natty:
Report link

This is happening because your *.gsp paths are being handled by GroovyPagesServlet. To fix it, you need to remove GroovyPagesServlet.:

package stackoverflow

class GroovyPagesServletMock {
}
import stackoverflow.GroovyPagesServletMock

// Place your Spring DSL code here
beans = {
    groovyPagesServlet(GroovyPagesServletMock)
}

I got it working this way. Hope this helps!

enter image description here

Sample https://github.com/mkmikael/stackoverflow79641438

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): Hope this helps
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mikael Lima

79641512

Date: 2025-05-28 04:43:53
Score: 2
Natty:
Report link

If you are using expo just use npx expo install --fix to upgrade all dependencies to match the installed SDK version.

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

79641511

Date: 2025-05-28 04:43:53
Score: 0.5
Natty:
Report link
https://medium.com/@vortj/solving-namespace-errors-in-flutters-android-gradle-configuration-c2baa6262f8b



this worked form me i also added the link of medium article , you can refer the source



subprojects {
    afterEvaluate { project ->
        if (project.hasProperty('android')) {
            project.android {
                if (namespace == null) {
                    namespace = project.group.toString()  // Set namespace as fallback
                }
                project.tasks.whenTaskAdded { task ->
                    if (task.name.contains('processDebugManifest') || task.name.contains('processReleaseManifest')) {
                        task.doFirst {
                            File manifestFile = file("${projectDir}/src/main/AndroidManifest.xml")
                            if (manifestFile.exists()) {
                                String manifestContent = manifestFile.text
                                if (manifestContent.contains('package=')) {
                                    manifestContent = manifestContent.replaceAll(/package="[^"]*"/, "")
                                    manifestFile.write(manifestContent)
                                    println "Removed 'package' attribute from ${manifestFile}"
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: shivam sharma

79641498

Date: 2025-05-28 04:31:47
Score: 14 🚩
Natty:
Report link

I am also facing the same issue. Any solution for this issue even I am also facing the same problem?

Reasons:
  • Blacklisted phrase (1): I am also facing the same issue
  • Blacklisted phrase (1.5): Any solution
  • RegEx Blacklisted phrase (2): even I am
  • RegEx Blacklisted phrase (2): Any solution for this issue even I am also facing the same problem?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Me too answer (0): I am also facing the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30654677

79641493

Date: 2025-05-28 04:21:44
Score: 0.5
Natty:
Report link


    static List<Object> parseList(String input, String key) {
        List<Object> list = new ArrayList<>();
        Deque<Character> stack = new ArrayDeque<>();
        StringBuilder token = new StringBuilder();
        for (int i = 0; i <= input.length(); i++) {
            char c = (i < input.length()) ? input.charAt(i) : ',';
            if (c == '(' || c == '[') stack.push(c);
            else if (c == ')' || c == ']') stack.pop();

            if (c == ',' && stack.isEmpty()) {
                list.add(parseValueFromString(token.toString().trim(), key));
                token.setLength(0);
            } else {
                token.append(c);
            }
        }
        return list;
    }

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

79641491

Date: 2025-05-28 04:14:43
Score: 1.5
Natty:
Report link

Yes, recent versions of Node.js (v15.0.0 and above) include built-in capabilities to compare two strings and show their differences using the native assert module. When you use assert.strictEqual() to compare two strings and they don't match, Node.js throws an AssertionError that includes a diff-style message showing the differences between the two strings. This is especially helpful for debugging or testing, as it clearly highlights what changed. While this method is not intended specifically for generating diffs outside of testing contexts, it can be used creatively to display string differences without relying on third-party libraries. However, for more advanced or custom diff outputs-such as word-by-word or character-by-character comparison-you may still need to write a custom function or use libraries like diff for more control. Still, Node.js does offer a basic native way to view differences between strings via assertion errors.

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

79641485

Date: 2025-05-28 04:01:39
Score: 4.5
Natty: 5
Report link

For only one tag

https://tailwindcss.com/docs/styling-with-utility-classes#using-the-important-modifier


For many components in the page

https://tailwindcss.com/docs/styling-with-utility-classes#when-to-use-inline-styles

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

79641479

Date: 2025-05-28 03:55:38
Score: 1.5
Natty:
Report link

Yes, there is

  new NextResponse(componentString, {
    status: 503,
    headers: { "content-type": "text/html; charset=utf-8" },
  });

You can also use a custom error pages to display as mentioned in the resource below.

https://nextjs.org/docs/14/pages/building-your-application/routing/custom-error

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

79641478

Date: 2025-05-28 03:55:37
Score: 7 🚩
Natty:
Report link

Which revision of Spring/JDK/etc. are being used in the ENV? Have you enabled second level cache in the configuration (your hibernate will by default pick any second level caches while executing any operations within the @Transactional)?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Transactional
  • Single line (0.5):
  • Starts with a question (0.5): Which
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: VS.

79641476

Date: 2025-05-28 03:54:37
Score: 0.5
Natty:
Report link

I have found the solution

Solution 1

# add the two line to the SparkSession.builder
.config("spark.driver.extraClassPath", "/path/to/postgresql-42.7.3.jar") \
.config("spark.executor.extraClassPath", "/path/to/postgresql-42.7.3.jar") \

Solution 2

copy your postgresql-xx.x.x.jar "postgresql-42.7.4.jar" to python site packages pyspark jars path

/usr/local/lib/python3.9/site-packages/pyspark/jars
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ahmed Kamal ELSaman

79641467

Date: 2025-05-28 03:35:33
Score: 1
Natty:
Report link

To identify all active Maven profiles in your project, use: mvn help:active-profiles

This command shows which profiles are active in your current build environment. Are the native profiles there?

Maybe you have the native-maven-plugin?

If so, please delete or comment out its configuration in your pom.xml:

For more details on active profiles, check the [Maven documentation](https://maven.apache.org/guides/introduction/introduction-to-profiles.html).

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

79641461

Date: 2025-05-28 03:28:31
Score: 0.5
Natty:
Report link

Use the gcc attribute to keep constructors alive. This is what i'm using, there might be a better way than even this.

A* a = nullptr;
// gcc constructor to get the
// A instance created unconditionally.
__attribute__((constructor)) void __init_data() {
    a = new A();
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: niteris

79641457

Date: 2025-05-28 03:25:30
Score: 1
Natty:
Report link

The audio is played asynchronously and is probably longer than the 0.5s delay you used, so this results in a silent failure when it is triggered again. Do what Adios Gringo said, use

play_obj.wait_done() 

or increase the 0.5s delay to more.

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

79641455

Date: 2025-05-28 03:20:29
Score: 1.5
Natty:
Report link

trying the same scenario
Started my Streaming application 1:45 am
Window Time :7hrs
Watermark:1hr
Inserted some entries in source table at 1:48 am
write Stream:append Mode
Triiger Interval:10 Minutes

so my window time 12:00 am to 07:00 + watermark of 1hr
eventhough, when inserting an event after the watermark time,i.e 08:55 am,09:30am
I am not getting the older entries getting emitted

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

79641450

Date: 2025-05-28 03:15:27
Score: 1.5
Natty:
Report link
di_IWebService * webService = GetIWebService();

This needs to be created in the constructor and not in the methods as the handle does not get released and cannot be deleted and nulled from a method.

Declaring it globally resolved my issue.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Stefan de Beer