79477188

Date: 2025-03-01 06:47:17
Score: 2
Natty:
Report link

steps to resolve this

  1. type command => adb pair : [you can find this in wireless usb debugging on android device]

  2. the enter the pairing code

  3. then type => adb connect

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

79477186

Date: 2025-03-01 06:45:17
Score: 4
Natty:
Report link

What Did Permissioned Blockchains Solve?

A permissioned blockchain solves several key challenges found in traditional public blockchains, like security, scalability, and privacy. In a permissioned blockchain, access is restricted to a specific group of participants, rather than being open to anyone. This makes the network more controlled and less vulnerable to malicious actors. Here's how it helps:

Increased Security: Since only approved participants can join and validate transactions, the network is less susceptible to attacks or fraudulent activity compared to public blockchains where anyone can participate.

Improved Scalability: Permissioned blockchains can handle a higher transaction volume more efficiently. With fewer participants and validators, it’s easier to scale the network and process transactions faster.

Privacy: With controlled access, businesses and organizations can keep their data more private and secure. Unlike public blockchains, where all transaction details are visible to everyone, permissioned blockchains allow data to be shared only with authorized participants.

Faster Transactions: Since there are fewer participants validating transactions, the process tends to be quicker and more predictable, making it more suitable for business applications that need fast, reliable transactions.

Regulatory Compliance: Permissioned blockchains allow businesses to meet regulatory requirements more easily, as they can control who has access to sensitive information and ensure that the network adheres to legal standards.

In a nutshell, permissioned blockchains provide the benefits of decentralization, like transparency and immutability, while offering more control over who participates, leading to better security, scalability, and privacy. This makes them perfect for enterprises and industries where trust, confidentiality, and efficiency are critical. Source: IBM Blockchain,Hyperledger,Blockchain Basics. for more information visit Coinfomania...

Reasons:
  • RegEx Blacklisted phrase (1.5): Solve?
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What Did
  • Low reputation (1):
Posted by: Coinfomania

79477183

Date: 2025-03-01 06:42:16
Score: 3
Natty:
Report link

Making generated files IDE-aware is hard. Have you considered write_source_file? This would make the generated files part of your sour

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

79477178

Date: 2025-03-01 06:30:15
Score: 2
Natty:
Report link

facing the same on 2022.3.16f1 version. I just deleted entire Libraries ( Show in Explorer< ___name of that Project <Library - shift Deleted it ) re-opening Unity project solved it.

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

79477177

Date: 2025-03-01 06:30:14
Score: 2.5
Natty:
Report link

What Worked for me was setting both theme and borderaduis

<TextInput  theme={{roundness:20}}/>

enter image description here

and setting

<TextInput  style={{borderRadius:30}}/>

enter image description here

only when setting both of them you get full rouned text input

<TextInput theme={{roundness:20}} style={{borderRadius:30}}/>

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-1): Worked for me
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: amirarshia mirzaei

79477175

Date: 2025-03-01 06:28:14
Score: 7 đźš©
Natty: 6
Report link

I have the same issue! For me, I just did steps 3 and 5 to solve the problem! Thank you!!!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Robihamanto

79477170

Date: 2025-03-01 06:18:12
Score: 2
Natty:
Report link

it looks like you're facing an "auth/invalid-email" error when trying to log in with Firebase in your React Native app.

Based on your description, here are a few possible reasons for this issue:

Double-Check:

Email Format Validation Make sure you're passing the email value correctly in your login function:

await signInWithEmailAndPassword(auth, email.trim(), password);

Sometimes extra spaces or typos in the email can cause this error.

Firebase SDK Setup Ensure you've added:

@react-native-firebase/app
@react-native-firebase/auth

Also, check your google-services.json (Android) or GoogleService-Info.plist (iOS) files are in the correct folder.

Firebase Auth Enabled

Go to your Firebase Console → Authentication → Sign-in method

Check if Email/Password sign-in is enabled.

App Build Restart If you made any configuration changes, restart the app

using:

npx react-native run-android

or

npx react-native run-ios

If you've already tried all these steps and the error still happens, please share your login code snippet + Firebase version, and I can take a deeper look!

Reasons:
  • RegEx Blacklisted phrase (2.5): please share your
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mahima Sanketh

79477163

Date: 2025-03-01 06:04:10
Score: 2.5
Natty:
Report link

Late to the conversation here, but I had to update .env.local, setting the env vars GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET correctly (as I had done already in .env), in order to get over the error 400.

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

79477155

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

For me what fixed the error was adding the Default Web Site back that listens on port 80. Before, I only had HTTPS-enabled sharepoint websites on the machine, and it appears SPPING is trying to connect to port 80.

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

79477150

Date: 2025-03-01 05:48:07
Score: 2.5
Natty:
Report link

Do NOT use any command that can be used in a file name. Start xcopy, copy etc. They will only cause problems.

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

79477147

Date: 2025-03-01 05:45:06
Score: 1.5
Natty:
Report link

Issue resolved while I access the app through http://127.0.0.1:8000/register after run composer run dev. The issue was there when I access like http://localhost/myProjectFolder/public/register

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

79477146

Date: 2025-03-01 05:44:06
Score: 0.5
Natty:
Report link

To open a local Bitcoin database, you’ll generally be working with a Bitcoin full node or a wallet that stores data on your device. Here’s a simple breakdown:

Install Bitcoin Core: First, download and install the Bitcoin Core client from bitcoin.org.

Sync with the Blockchain: After installing, Bitcoin Core will start downloading the entire Bitcoin blockchain. This can take a while, depending on your internet speed.

Access the Database: Once synced, your wallet’s data is stored in the wallet.dat file. This file holds all your transaction history and wallet information.

Using RPC (Optional): If you’re familiar with coding, you can use Bitcoin Core's RPC commands to interact with the database and query data.

Find the Data Files: The blockchain data is typically stored in the Bitcoin data directory (like ~/.bitcoin/ on Linux or C:\Users<username>\AppData\Roaming\Bitcoin\ on Windows).

source : Bitcoin Core Documentation, Bitcoin Core RPC Documentation for more information visit coinfomania

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Coinfomania

79477141

Date: 2025-03-01 05:34:04
Score: 3
Natty:
Report link

I faced the same problem and have tried different method including iframe and GTM (Google Tag Manager) and non of it works. However, I've seen other Google Site create website have successful implement this floating widget (check out https://www.restonent.com/). Hope someone can enlighten us

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

79477140

Date: 2025-03-01 05:33:03
Score: 8.5 đźš©
Natty:
Report link

Having Same issue on successfully run on android but facing same update App successfully recognized by setting but not connecting please reply if you find any solution

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1.5): please reply
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): Having Same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Harsh Mishra

79477139

Date: 2025-03-01 05:32:02
Score: 4
Natty: 4.5
Report link

More recently, custom environment support has been added to WinUI3: https://github.com/microsoft/microsoft-ui-xaml/issues/6150

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

79477138

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

Your error seems to be caused by a missing ic_close_bubble resource in your project. Here’s how you can fix it:

  1. Check for the Missing File Open your project folder and go to android/app/src/main/res/drawable/. Look for a file named ic_close_bubble.xml or ic_close_bubble.png. If it’s missing, you need to add it. You can either create a new one or find it in the plugin’s source files.
  2. Clean and Refresh Your Project Run these commands in your terminal:

sh Copy Edit flutter clean flutter pub get flutter run --debug This clears old files and refreshes your dependencies.

  1. Check Plugin Version The issue might be caused by an outdated plugin (dash_bubble). Open pubspec.yaml and check if it’s the latest version:

yaml Copy Edit dependencies: dash_bubble: ^latest_version Then, update everything:

sh Copy Edit flutter pub upgrade 4. Allow Deprecated Code (Temporary Fix) Since your log mentions deprecated APIs, you can allow them for now by running:

sh Copy Edit flutter run --debug --no-sound-null-safety Or edit android/gradle.properties and add:

properties Copy Edit kotlin.options.freeCompilerArgs += ["-Xlint:deprecation"] 5. Fix Kotlin Version Issue Your project is using Kotlin 2.1.10, which might not be compatible with some plugins. Try changing it in android/build.gradle:

gradle Copy Edit ext.kotlin_version = '1.9.22' Then, sync Gradle by running:

sh Copy Edit flutter pub get 6. Get More Details About the Error If you’re still stuck, run the following command to see a detailed error report:

sh Copy Edit flutter run --debug --stacktrace or

sh Copy Edit flutter run --debug --info 7. Reset and Reinstall Dependencies If nothing works, try deleting old Gradle files and reinstalling everything:

sh Copy Edit rm -rf android/.gradle flutter clean flutter pub get If you still have issues, share the full error message from flutter run --debug --stacktrace, and I’ll help you troubleshoot further. 🚀

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

79477131

Date: 2025-03-01 05:17:00
Score: 1.5
Natty:
Report link

Open VS code project and open any file in the project. Then use the shortcut:

This creates a new file. Then save it using shortcut:

It will show you the location of file and the option to name it in the bar as shown in the image below.

enter image description here

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

79477119

Date: 2025-03-01 04:56:56
Score: 4
Natty: 4
Report link

You can use jira rest api to integrate selenium with xray jira

https://qanovation.com/2020/04/03/uft-integration-with-xray-jira/

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Qanovation

79477116

Date: 2025-03-01 04:52:55
Score: 1.5
Natty:
Report link

Only for windows user

start in windows power Shell

1.cd c:/hadoopsetup

2.cd c:/hadoop-3.2.4/sbin/

3 ./start-dfs.cmd (it shows multiple command prompt popup do not close it just Minimise it)

4 ./start-yarn.cmd (it shows multiple command prompt popup do not close it just Minimise it)

5 jps (check for namenode,datanode,NodeManager,ResourceManager,jps present or not)

after that use

hadoop fs -mkdir /xyzfilename (always use /)

hadoop fs -ls /

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

79477115

Date: 2025-03-01 04:51:55
Score: 0.5
Natty:
Report link

… is Unicode/UTF-16 8230 (0x2026), which translates to UTF-8 [ 0xe2, 0x80, 0xa6 ].

Apparently the character is saved as UTF-8 on your server (localhost?), but the file is interpreted by something that isn't UTF-8-aware when it's served back to you. So each byte becomes an 8-bit (ASCII) character.

You could force the file to be ASCII-only by using String.fromCharCode(8230) or Unicode string literal '\u2026', instead of using the character string literal ('…').

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

79477105

Date: 2025-03-01 04:27:51
Score: 4.5
Natty:
Report link

Hi I tried the same command and its fixed but the problem in my scenario is i got two gitlab servers sharing the same db if I fix on one node I get problem with another. Any idea how to fix both app servers. TIA

Reasons:
  • RegEx Blacklisted phrase (2): TIA
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: offerme up

79477102

Date: 2025-03-01 04:21:50
Score: 1
Natty:
Report link

I find a solution for the example in UPD using solveset and as_set:

from sympy import *
var('x', reals=True)
range = (x > 2) | (x < 0)
equation = Eq(x ** 2 - 1, 0)
print(solveset(equation, x, range.as_set()))
# Output: {-1}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Qinshi Wang

79477101

Date: 2025-03-01 04:21:50
Score: 2.5
Natty:
Report link

open cmd as administrator and run this cmd sc delete Apache2.4 if Apache was running as a service, this will fully remove it.

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

79477100

Date: 2025-03-01 04:19:50
Score: 2.5
Natty:
Report link

how to create custom TDL report.I am new to this.somehow i have managed to get data godown wise. but it is not able to return the GUID of the product or godowns with it ,it only able to return stock item name, godown name, quantity, value and rate.

This is my payload

<ENVELOPE>
<HEADER>
    <TALLYREQUEST>Export Data</TALLYREQUEST>
</HEADER>
<BODY>

    <EXPORTDATA>
        <REQUESTDESC>
            <REPORTNAME>Stock Summary</REPORTNAME>
            <STATICVARIABLES>
                <SVCURRENTCOMPANY>{{company}}</SVCURRENTCOMPANY>
                <SVEXPORTFORMAT>$$SysName:XML</SVEXPORTFORMAT>
                <SVFROMDATE>20240401</SVFROMDATE>
                <SVTODATE>20250331</SVTODATE>
                <EXPLODEFLAG>Yes</EXPLODEFLAG>
                <ISITEMWISE>Yes</ISITEMWISE>
                <ISINCLUDEOPENING>Yes</ISINCLUDEOPENING>
            </STATICVARIABLES>

        </REQUESTDESC>
    </EXPORTDATA>
</BODY>

this is my response

<DSPACCNAME>
    <DSPDISPNAME>Electronic TV</DSPDISPNAME>
</DSPACCNAME>
<DSPSTKINFO>
    <DSPSTKCL>
        <DSPCLQTY>185.00 PCS</DSPCLQTY>
        <DSPCLRATE>9797.30</DSPCLRATE>
        <DSPCLAMTA>-1812500.00</DSPCLAMTA>
    </DSPSTKCL>
</DSPSTKINFO>
<SSBATCHNAME>
    <SSGODOWN>Main Location</SSGODOWN>
</SSBATCHNAME>
<DSPSTKINFO>
    <DSPSTKCL>
        <DSPCLQTY>50.00 PCS</DSPCLQTY>
        <DSPCLRATE>9500.00</DSPCLRATE>
        <DSPCLAMTA>-475000.00</DSPCLAMTA>
    </DSPSTKCL>
</DSPSTKINFO>
<SSBATCHNAME>
    <SSGODOWN>Odio cradle1</SSGODOWN>
</SSBATCHNAME>
<DSPSTKINFO>
    <DSPSTKCL>
        <DSPCLQTY>125.00 PCS</DSPCLQTY>
        <DSPCLRATE>9940.00</DSPCLRATE>
        <DSPCLAMTA>-1242500.00</DSPCLAMTA>
    </DSPSTKCL>
</DSPSTKINFO>

How can i get GUID attached with it for sotck item and godowns

Reasons:
  • Blacklisted phrase (0.5): How can i
  • RegEx Blacklisted phrase (1.5): I am new
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): how to
  • Low reputation (1):
Posted by: HAASH Technologies

79477093

Date: 2025-03-01 04:06:47
Score: 4
Natty:
Report link

Try to apply node.physicsBody?.applyImpulse(CGVector(dx: 0, dy: 0)) on bodies collision.

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

79477092

Date: 2025-03-01 04:06:47
Score: 4
Natty:
Report link

i had to change the packages and start the android folder from 0

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

79477087

Date: 2025-03-01 03:53:44
Score: 4.5
Natty:
Report link

Great to know that. Thas is very helpful. Thanks

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

79477085

Date: 2025-03-01 03:50:44
Score: 2
Natty:
Report link

Score Pro Loan App Customer" Care Number©️))+91-7894720560@! 789-472-0560-™️CScore Pro Loan App Customer" Care Number©️))+91-7894720560@! 789-472-0560-™️CScore Pro Loan App Customer" Care Number©️))+91-7894720560@! 789-472-0560-™️CScore Pro Loan App Customer" Care Number©️))+91-7894720560@! 789-472-0560-™️CScore Pro Loan App Customer" Care Number©️))+91-7894720560@! 789-472-0560-™️CScore Pro Loan App Customer" Care Number©️))+91-7894720560@! 789-472-0560-™️CScore Pro Loan App Customer" Care Number©️))+91-7894720560@! 789-472-0560-™️CScore Pro Loan App Customer" Care Number©️))+91-7894720560@! 789-472-0560-™️C

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

79477066

Date: 2025-03-01 03:22:39
Score: 0.5
Natty:
Report link

Can you try following:

LOG_GROUP_NAME:
  - Fn::ImportValue:
    !Sub "LambdaLogGroup-${EnvironmentName}${EnvironmentId}"

Link:

Reasons:
  • Whitelisted phrase (-2): Can you try
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (0.5):
Posted by: fa44

79477065

Date: 2025-03-01 03:20:38
Score: 4.5
Natty: 4.5
Report link

from pyrogram.errors import ( ImportError: cannot import name 'UserNamePurchaseAvailable' from 'pyrogram.errors'

The version of brp that works for that?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: OP Shrk TGR

79477059

Date: 2025-03-01 03:10:37
Score: 2
Natty:
Report link

For anyone looking to fund an account in the DMZ of jxchange, after creating the account, you can do so by adding a debit transaction through the jxchange api operation TrnAdd.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Aldo Reyes

79477053

Date: 2025-03-01 03:03:35
Score: 0.5
Natty:
Report link

It's seems to be like Retrofit recognizes colon symbol in relative as schema like https in the url path. So i need directly put full url the API interface by passing it through arguments using @Url annotation:

@POST()
    Call<AuthResponse> signIn(@Url String url, @Body UserBody user, @Header("Content-Type") String contentType);

OR

According to the github issue i should add to the relative path ./ as first symbols. So it'll be looks like this String signIn = "./accounts:signInWithPassword?key="+FirebaseConfig.API_KEY;

Reasons:
  • Blacklisted phrase (0.5): i need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Drained

79477042

Date: 2025-03-01 02:43:32
Score: 1.5
Natty:
Report link

What you're trying to do seems very similar to this game's character: Little Slime Blows Up. The creator of the video talks about the technique used there.

Essentially you distribute circular rigidbodies in a circle and connect them all with spring joints (desired distance based on circle positions).

It's almost the same as a regular softbody, but implementing it yourself will allow you to tweak it until it matches your desired behaviour.

To overcome the intersection problem mentioned, you could add a Polygon2D collider based on the poisitions. Just make sure to disable collisions between it and the outer circles.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What you
  • Low reputation (1):
Posted by: Kosro

79477039

Date: 2025-03-01 02:40:32
Score: 2
Natty:
Report link

Files on most filesystems are allocated in blocks. If you write to the middle of a block only partway, the entire block is allocated because the filesystem only represents data that way.

So, you have 8192 unallocated bytes, and then a block with some initial zeros filled by the OS.

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

79477037

Date: 2025-03-01 02:37:31
Score: 4.5
Natty: 4
Report link

Using @Raunak's answer I made a quick wordpress plugin.

https://github.com/dzero1/simple-image-shortcode

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Raunak's
  • Low reputation (0.5):
Posted by: Dananjaya

79477036

Date: 2025-03-01 02:35:30
Score: 1
Natty:
Report link

If none of the above solutions worked for you (as was the case for me), the issue might be unrelated to Hilt itself.

What finally solved it was updating the Room database version in my @Database annotation:

@Database(
    entities = [UserProfile::class],
    version = 10,  // Increase version as needed
    exportSchema = false
)
abstract class AppDatabase : RoomDatabase() { // Your code here }
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Database
  • Low reputation (0.5):
Posted by: Nik

79477030

Date: 2025-03-01 02:23:28
Score: 2.5
Natty:
Report link

Different between TURN and STUN server TURN : turn work with high level firewalls. STUN : stun don't work with some NAT firewalls.

If our STUN server fails then I use TURN server.

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

79477028

Date: 2025-03-01 02:23:28
Score: 2.5
Natty:
Report link

I'm in this same situation as well. The .frame(.height: solution does not change the spacing. I've had success in changing the spacing in the preview, but the sidebar style seems to space it out no matter what.

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

79477024

Date: 2025-03-01 02:07:26
Score: 1
Natty:
Report link

Personally I find git rev-list --bisect-vars easier to use than git rev-list --bisect:

$ git rev-list --bisect-vars  HEAD~10..HEAD
bisect_rev='07485ccd31935b1f82d321f91c677840bd05247c'
bisect_nr=4
bisect_good=4
bisect_bad=4
bisect_all=10
bisect_steps=2
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kxxt

79477023

Date: 2025-03-01 02:02:25
Score: 1
Natty:
Report link

My solution would be (looking at the logic gates behind it):

function xor(a,b)
    return (a or b) and (not(a and b))
end
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: G. Pendergrass

79477021

Date: 2025-03-01 02:00:24
Score: 1.5
Natty:
Report link

I am also working on a project to build a solana token analyzer to detect potential rug pulls for copy trading bot. I included two indicators except those you mentioned, total liquidity and LP tokens held by deployer wallet. Generally, total liquidity of rug tokens are less than $50k. And also, you can check if the liquidity is locked or unlocked. If the liquidity is unlocked, they can remove liquidity anytime. Hopefully, it can help for your project.

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

79477019

Date: 2025-03-01 01:59:24
Score: 3
Natty:
Report link

you can try this https://github.com/wszgrcy/dynamic-component-define dynamic attach directive when use createComponent

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: can do

79477001

Date: 2025-03-01 01:32:20
Score: 1.5
Natty:
Report link

An old post but replying because the current answer is incorrect -- the "<*>" allele was added in VCFv4.3; it is a symbolic allele meant to "represent reference evidence as likelihoods against an unknown alternate allele" -- basically, it is the ALT allele given when there are no samples that don't match the reference, but the maker of the VCF still wants to include the locus in the file. It is different than the "*" allele (spanning deletion) which represents the absence of that position in the alternate genomes.

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

79476996

Date: 2025-03-01 01:25:18
Score: 1.5
Natty:
Report link

Not a complete answer, but maybe you'll understand the problem better when you better understand "bezier" and "spline" from these two excellent videos: https://youtu.be/aVwxzDHniEw?si=tdAZYKaF9N47B7DG https://youtu.be/jvPPXbo87ds?si=0vEKdNsZ7vFyHVMP

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Randal Schwartz

79476987

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

I got the same error in nx workspace. The pnpm stoped running prebuilds.

corepack use [email protected]  
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ahmet Emrebas

79476986

Date: 2025-03-01 01:10:16
Score: 0.5
Natty:
Report link

As @Barmar said it would probably be best to store that data in an object, not an array. However, if you get the data in such structure from an API you can go about it in a few ways.

Parse the data:

array = JSON.parse(`[
    {
        "name": "First object", 
        "info": [
            {"amount": "2 people"},
            {"description": "this is a description"}
        ]
    },
    {
        "name": "Second object", 
        "info": [
            {"description": "this is a description"},
            {"amount": "1 furniture"}
        ]
    },
    {
        "name": "Third object", 
        "info": [
            {"amount": "3 animals"},
            {"description": "this is a description"}
        ]
    }
]`)

You're probably gonna use it later so might as well map it to flat objects:

flat_array = array.map(x => Object.assign({ name: x.name }, ...x.info)

Then you can sort it by simply doing:

flat_array.sort((a, b) => a.amount.localeCompare(b.amount))

Otherwise, if you just want to sort the data, without modifying it, you can do:

array.sort((a, b) => Object.assign({}, ...a.info).amount.localeCompare(Object.assign({}, ...b.info).amount))

following the Object.assign example. Or as other people suggested in the comments:

array.sort((a, b) => a.info.find(x => "amount" in x).amount.localeCompare(b.info.find(x => "amount" in x).amount))
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Barmar
  • Low reputation (1):
Posted by: user29644178

79476983

Date: 2025-03-01 01:09:15
Score: 1.5
Natty:
Report link
  1. Put your list into temporary table.
  2. then Left join with your foo table and count which not exist.

-- This is your Foo table:

CREATE TEMPORARY TABLE IF NOT EXISTS foo (UNIQUE idx_foo (id), id int);

INSERT INTO foo (id) VALUES (1),(2),(3),(4),(5);

-- This is your Check List

CREATE TEMPORARY TABLE IF NOT EXISTS tmp_ids (UNIQUE idx_tmp (id), id int);

INSERT INTO tmp_ids (id) VALUES (1),(2),(6);

-- This is Result: 1

SELECT COUNT(t.id) FROM tmp_ids t LEFT JOIN foo f ON t.id=f.id WHERE f.id is null;

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

79476981

Date: 2025-03-01 01:07:15
Score: 2
Natty:
Report link

Update 2025 It seems that the error is related to how Sail's Docker resolves the service responsible for delivery in certain scenarios, as changing the .env from APP_URL=http://localhost to APP_URL=http://127.0.0.1 resolves the issue.

I tried countless solutions, including the ones found here, and only this detail worked.

Best regards.

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: zettsu

79476977

Date: 2025-03-01 01:01:14
Score: 2
Natty:
Report link

You can open the "PalWorldSettings.ini" file, search for "Steam" or "AllowConnectPlatform," and simply replace "Steam" with "Xbox." Please make sure you are only editing the word "Steam" to "Xbox," then hit save.

I’ve found a guide in Citadel Servers’ knowledge base that I think will help you solve your problem. You can check their guide here:

https://citadelservers.com/client/knowledgebase/599/How-to-change-your-Palworld-Server-from-Steam-to-an-Xbox-one.html

Many other guides in their knowledge base may be helpful to you in the future.

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

79476975

Date: 2025-03-01 00:59:14
Score: 2.5
Natty:
Report link

We can set "group-by-instances" as true in TestNG.xml file. Tests will execute class-wise based on the priorities set.

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

79476972

Date: 2025-03-01 00:54:13
Score: 0.5
Natty:
Report link

It needs to be said that an incorrect passphrase will give this same exact message.

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

79476953

Date: 2025-03-01 00:34:09
Score: 1.5
Natty:
Report link

I'm using Visual Studio 2022 and I was running into this problem.

My installer's target platform was x64, and every project's build platform was also x64. I explicitly needed these properties to remain unchanged, I didn't want to set it to "Any CPU".

My solution was to go into the custom actions (right click the installer project, go to View > Custom Actions) and make sure that the Run64Bit property was set to True. After doing so, the installer no longer gave me that exception.

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

79476945

Date: 2025-03-01 00:27:08
Score: 1.5
Natty:
Report link

Add your button this way:

<px:PXButton runat="server" ID="btnSanctionsResult" Text="SanctionsResult"> 
    <AutoCallBack Command="SanctionsResult" Target="ds" /></px:PXButton>

You need to use the Command from AutoCallBack, and set the Target to the data souce (ds).

FormEditor

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

79476939

Date: 2025-03-01 00:20:07
Score: 5.5
Natty: 5.5
Report link

I don't see the SetEditable() method on a FeatureLayer or Layer object. It is on a StandaloneTable object, though. Am I missing something for layers?

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

79476924

Date: 2025-03-01 00:07:04
Score: 1
Natty:
Report link

If it doesn't work following the instructions just use a quick workaround for now (tailwind.config.js), why waste time? See troubleshooting at the end of plugin instructions. So for Tailwind v4:

In tailwind.config.js (create one in root of the project):

/** @type {import('tailwindcss').Config} */
export default {
  content: ['./index.html', './src/**/*.{html,js}'],
  theme: {
    extend: {},
  },
  plugins: [],
}

Go to .vscode folder > settings.json and add:

"tailwindCSS.experimental.configFile": "tailwind.config.js"

Go to the Tailwind CSS intellisense plugin > settings > install specific version > 0.10.15

Restart plugin (if it stops working, just ctrl + s and type again)

It's ugly, it's definitely not the solution but it works. Just till they fix it.

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

79476905

Date: 2025-02-28 23:49:00
Score: 10
Natty: 7
Report link

Did you ever solve this? Is there way to just clear all passes?

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Paul Cayley

79476898

Date: 2025-02-28 23:43:58
Score: 12 đźš©
Natty: 6
Report link

hey i have this exact problem. did you find a solution? if yes, can you let me know please. thank you!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • RegEx Blacklisted phrase (2.5): can you let me know
  • RegEx Blacklisted phrase (3): did you find a solution
  • RegEx Blacklisted phrase (2): hey i have
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: nSABB

79476878

Date: 2025-02-28 23:20:54
Score: 0.5
Natty:
Report link

Finally probably achieved one of the biggest challenges so far...

Game main class:

        ShaderProgram.pedantic = false;

        mask = new Texture(Gdx.files.internal("bigSun1024violet.png"));
        viewMask = new Texture(Gdx.files.internal("bigSun256violet.png"));

        maskBuff = new FrameBuffer(Pixmap.Format.RGBA8888, frmSizeX, frmSizeY, false);
        msk = new TextureRegion(maskBuff.getColorBufferTexture());

        frmBuff = new FrameBuffer(Pixmap.Format.RGBA8888, frmSizeX, frmSizeY, false);
        frm = new TextureRegion(frmBuff.getColorBufferTexture());

        coverSprite = new Sprite(new Texture("violetCover.png"));
        float donutX = 0;
        float donutY = 0;
        coverSprite.setPosition(donutX, donutY);
        cam.update();

//        shader = new ShaderProgram(VERT, FRAG);
        shader = new ShaderProgram(Gdx.files.internal("vertex.glsl"), Gdx.files.internal("fragment-video.glsl"));
        if (!shader.isCompiled()) {
            System.err.println(shader.getLog());
            System.exit(0);
        }
        if (!shader.getLog().isEmpty())
            System.out.println(shader.getLog());

        shader.bind();
        shader.setUniformi("u_texture1", 1);
        shader.setUniformi("u_mask", 2);
        defaultShader = spriteBatch.getShader();

        //bind mask to glActiveTexture(GL_TEXTURE2)
        msk.getTexture().bind(2);

        //bind dirt to glActiveTexture(GL_TEXTURE1)
//      tex1.bind(1);
        frm.getTexture().bind(1);

        //now we need to reset glActiveTexture to zero!!!! since sprite batch does not do this for us
        Gdx.gl.glActiveTexture(GL20.GL_TEXTURE0);

Update class:

        arrowGame.lightX--;

        arrowGame.maskBuff.begin();
        Gdx.gl.glClearColor(255, 255, 255, 255);
        Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
        arrowGame.spriteBatch.begin();
        arrowGame.spriteBatch.draw(arrowGame.mask, arrowGame.lightX, 0, 0, 0, arrowGame.frmSizeX, arrowGame.frmSizeY, 1, 1, 0, 0, 0, arrowGame.frmSizeX, arrowGame.frmSizeY, false, true);
        arrowGame.spriteBatch.draw(arrowGame.viewMask, 500, 500, 0, 0, 256, 256, 1, 1, 0, 0, 0, 256, 256, false, true);
        arrowGame.spriteBatch.end();
        arrowGame.maskBuff.end();

Drawing class:

                    sb.setShader(arrowGame.shader);
                    arrowGame.coverSprite.draw(sb);
                    sb.setShader(arrowGame.defaultShader);

Shader masks

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

79476875

Date: 2025-02-28 23:19:54
Score: 0.5
Natty:
Report link

In Bootstrap version 4 add just data-focus='false' to the main modal HTML element .modal.

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

79476870

Date: 2025-02-28 23:16:53
Score: 3
Natty:
Report link

The issue was caused by the Node.js version selected on Vercel. Vercel uses Node.js 18.x by default, but my project was built on Node.js 20.x. To fix this, I seimply changed the Node.js version from 18.x to 20.x (which is currently in beta), saved the changes, and redeployed.

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

79476864

Date: 2025-02-28 23:10:52
Score: 1.5
Natty:
Report link

why so hard?

just index acces, condition, and recursions

def ordena(vector):

if len(vector)==1:
    return vector

if(vector[0]>vector[1]):
    vector[1], vector[0] = vector[0], vector[1]
    
vector = vector[0:1] + ordena(vector[1:])

return ordena(vector[:-1]) + vector[-1:]

v = [3,2,5,1,10,8,4] print (v) print(ordena(v))

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): why
  • Low reputation (1):
Posted by: chorcharg

79476856

Date: 2025-02-28 23:03:51
Score: 2
Natty:
Report link

jcalz's comment worked till it didn't because i figured that .reduce() passes all the arguments to the function in one go, without giving the curried function a chance to process each argument individually, as currying expects. I knew, I had to do it with loop but i was stuck until this answer by Alexander Nenashev came to clutch, with little work from me also, this is the result that WORKS! KUDOS TO BOTH GENTLEMANS for helping me to finish this brainf*ck.

SOLUTION

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

79476850

Date: 2025-02-28 22:59:51
Score: 1
Natty:
Report link

Using the variable VK_DRIVER_FILESinstead solved the issue.

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

79476841

Date: 2025-02-28 22:52:49
Score: 2
Natty:
Report link

This is an old question but I'll answer it anyway. Setting compatibility in Jaspersoft Studio is correct. But you'll have to use iReport to compile the report so that it will be in the correct format.

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

79476839

Date: 2025-02-28 22:51:48
Score: 5
Natty: 5.5
Report link

Wilson Logan <- This code works great. Do you have any idea how to connect two encoders? I tried different functions, but when both are connected, the result is always zero, I just need to disconnect the power supply from one and the other starts reading data. I use arduino nano.

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Shnycell

79476838

Date: 2025-02-28 22:49:48
Score: 4
Natty: 4
Report link

If you use print() instead of console.log() it will bring up a print screen.

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

79476837

Date: 2025-02-28 22:49:48
Score: 1.5
Natty:
Report link

TL;DR: "If they let you, things would be even worse."


WinForms was made not only to wrap the Windows API, but (originally) to be a thin wrapper over Win32, providing a nice C# PME (Properties, Methods & Events) shape for programming but letting Windows do the heavy lifting as much as possible. This means that much of the threading and synchronization rules derive directly from Win32 or are heavily shaped by Win32. Here, the API set we are talking about is the USER APIs in USER32.lib, aka User32.

Some User32 APIs make direct callbacks while others cause messages to be sent or posted. When calling from non-owning threads, the vast majority or User32 APIs will 'work', but you will get callbacks on the calling thread and messages on the window's thread. The choice of calling thread may also imply a different data set (like a different input queues or lists of Windows, etc) being affected by the call. Finally, while the number was reduced from Win16 to Win32, some APIs that generate messages are in fact using those messages as blocking callbacks.

All of this adds up to a maze of twisty little passages (all different :). Getting the synchronization correct for arbitrary mixes of these, while technically possible, is expert-level work and cannot be done with a simple "lock at your component boundary" strategy*. So:

Other commenters mention reentrancy and deadlocks, with some debate from the peanut gallery. Deadlocks absolutely can happen, as can a wide variety of bugs that boil down to incorrect state mutation when being reentered unexpectedly.

Frameworks have the additional challenge that "calling the system when it won't yield" vs "calling the system when it may or will yield" vs "calling my own app back" are not the same. Windows does not provide APIs that help framework authors integrate super tightly as an "in-between" entity (looking like an app to the system but looking like the system to an app). So, framework authors are in an extra tricky bind when it comes to synchronization.

Most frameworks handle this by trying to protect their app developers from the expert-level dragon's lair lurking below. This usually takes the form of failing certain calls when not on the underlying GUI thread of the object being used.


*NOTE: One could imagine that, armed with a new kind of lock primitive, we could get back to using "a simple lock at your component boundary" even in the face of gnarly Win32-like reentrancy. However, it seems only "low-level client gui framework and windowsystem authors" would be interested in that, and they might be a dying breed :)

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): USER32
  • User mentioned (0): User32
  • User mentioned (0): User32
  • User mentioned (0): User32
  • Low reputation (1):
Posted by: FrancisH

79476835

Date: 2025-02-28 22:48:47
Score: 1.5
Natty:
Report link

This caused me a week of trying to find the cause: In my case it happened when I imported toast and TostContainer from react-toastify in a react-router project.

For now I just removed it. So no solution. With this answer I want to give you a hint about this cause.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: programmer Erfan

79476832

Date: 2025-02-28 22:45:47
Score: 1
Natty:
Report link

The issue is Visual Studio 2022’s default Razor editor for ASP.NET Core, which can misrender themes for .cshtml files in the editor but works fine in the diff view (using a different renderer). Here’s the fix:

1. Go to Tools > Options > Text Editor > HTML > Advanced.

2. Set Razor:Use legacy Razor editor for ASP.NET Core to TRUE.

3. Restart Visual Studio.

This switches to the legacy Razor editor, making themes apply consistently to .cshtml files in the editor, matching the diff view’s vibrant look. Ensure the "ASP.NET and web development" workload is installed (Tools > Get Tools and Features).

Hope someone else finds this helpful!


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

79476827

Date: 2025-02-28 22:40:46
Score: 2
Natty:
Report link

Right click in the Frames panel and unset "Hides Frames from Libraries" enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Ortomala Lokni

79476825

Date: 2025-02-28 22:38:46
Score: 1
Natty:
Report link

I’ve encountered the same problem. Our extension needs to remove the CSP header on YouTube. The solution was to add resourceTypes: ['main_frame'] to the condition, otherwise the rule didn’t match.

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

79476819

Date: 2025-02-28 22:35:45
Score: 3.5
Natty:
Report link

Probably you are using @remix-run package with remix-i18next v7.x.x which works only with react-router v7, which is @remix-run's successor. More details can be found in the issue: https://github.com/sergiodxa/remix-i18next/issues/228

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @remix-run
  • User mentioned (0): @remix-run's
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: jckmlczk

79476815

Date: 2025-02-28 22:32:44
Score: 3
Natty:
Report link

This is more efficient : -?(?:\d+(?:.\d*)?|.\d+)

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

79476806

Date: 2025-02-28 22:27:43
Score: 1.5
Natty:
Report link

have you tried running the script as root? you will need root privileges to use the serial ports in linux.

after the test with the command 'sudo python3 yourfilename.py', you can add your username to the dialout group.

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: chris ewing

79476805

Date: 2025-02-28 22:26:43
Score: 1.5
Natty:
Report link

You authorize git to be used with VSC on settings and probably connect your account to it.

After that, there's a version control tab on VSC.

Version Control Tab Icon

When you go to the 3 dots at the right of the branch row (blue line in this image) you will have access to all options.

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

79476802

Date: 2025-02-28 22:23:42
Score: 2.5
Natty:
Report link

Go in your google anayltics and make sure everything is set to admin: enter image description here

Also make sure your app is on the app store/play store and it's running a live ad unit. After a couple hours you should then see the drop down option to link to firebase: enter image description here

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

79476790

Date: 2025-02-28 22:10:39
Score: 2.5
Natty:
Report link

Guess the above is outdated. Now running mvn dependency-check:check creates a db file(210MB) here: ~/.m2/repository/org/owasp/dependency-check-data/11.0/odc.mv.db

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

79476787

Date: 2025-02-28 22:09:39
Score: 1.5
Natty:
Report link

You can't do it simply by inserting new code so I'll assume you're able to edit existing code.

If it is integraded by adding HTML code, just move that code to the place you want it to be.

If the widget is created via JavaScript - you need to edit that JavaScript.

There's no other way.

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

79476786

Date: 2025-02-28 22:09:39
Score: 1.5
Natty:
Report link

Thanks @Anabar for sharing this solution. Eight years later, it is still the most comprehensive explanation I found on this matter. Just wanted to append my upgraded version for Python 3.13 and PyQt6; hope it helps.

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

import re
import sys
from PyQt6 import QtWidgets,QtCore,QtGui


class AnimatedLabel(QtWidgets.QLabel):

    def __init__(self,*args,**kwargs):
        super().__init__(*args,**kwargs)

        color1 = QtGui.QColor(255,  0,  0)
        color2 = QtGui.QColor(255,144,  0)
        color3 = QtGui.QColor(255,255,  0)
        color4 = QtGui.QColor(224,192,192)

        color5 = QtGui.QColor(192,224,192)
        color6 = QtGui.QColor(192,192,192)
        color7 = QtGui.QColor(212,208,200)

        self.co_get = 0
        self.co_set = 0
        byar = QtCore.QByteArray()
        byar.append(b"zcolor")

        self.color_anim = QtCore.QPropertyAnimation(self,byar)
        self.color_anim.setStartValue(color4)
        self.color_anim.setKeyValueAt(0.15,color1)
        self.color_anim.setKeyValueAt(0.30,color2)
        self.color_anim.setKeyValueAt(0.50,color3)
        self.color_anim.setKeyValueAt(0.75,color2)
        self.color_anim.setEndValue(color4)
        self.color_anim.setDuration(2000)
        self.color_anim.setLoopCount(1)

        self.color_anim_ok = QtCore.QPropertyAnimation(self,byar)
        self.color_anim_ok.setStartValue(color5)
        self.color_anim_ok.setKeyValueAt(0.50,color6)
        self.color_anim_ok.setEndValue(color7)
        self.color_anim_ok.setDuration(1000)
        self.color_anim_ok.setLoopCount(-1)

        self.custom_anim = QtCore.QPropertyAnimation(self,byar)

    def parseStyleSheet(self):
        ss = self.styleSheet()
        sts = [s.strip() for s in ss.split(";") if len(s.strip())]
        return sts

    def getBackColor(self):
        self.co_get += 1
        return self.palette().color(self.pal_ele)

    def setBackColor(self,color):

        self.co_set += 1

        sss = self.parseStyleSheet()

        bg_new = "background-color: rgba({:d},{:d},{:d},{:d});".\
                format(color.red(),color.green(),color.blue(),color.alpha())

        for k,sty in enumerate(sss):
            if re.search(r"\Abackground-color:",sty):
                sss[k] = bg_new
                break
        else:
            sss.append(bg_new)

        # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        # pal = self.palette()
        # pal.setColor(self.pal_ele,color)
        # self.setPalette(pal)
        # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        self.setStyleSheet("; ".join(sss))


    pal_ele = QtGui.QPalette.ColorRole.Window
    zcolor = QtCore.pyqtProperty(QtGui.QColor,getBackColor,setBackColor)


# this class is only for test
class SomeDia2(QtWidgets.QDialog):

    def __init__(self,*args,**kwargs):
        super().__init__(*args,**kwargs)

        self.co_press = 0

        self.setModal(True)
        self.setWindowTitle("Animation Example")

        self.edit_pad =  QtWidgets.QLineEdit("-1")
        self.edit_rad =  QtWidgets.QLineEdit("-1")
        self._mapHeight = QtWidgets.QLineEdit("0")

        self.layout = QtWidgets.QFormLayout()
        self.lab_pad = QtWidgets.QLabel("Padding (px):")
        self.lab_rad = QtWidgets.QLabel("Radius (px):" )
        self.layout.addRow(self.lab_pad,self.edit_pad)
        self.layout.addRow(self.lab_rad,self.edit_rad)


        self.anila = AnimatedLabel()
        self.anila.setText("Label for animation:")
        self.layout.addRow(self.anila,self._mapHeight)

        self.ok = QtWidgets.QPushButton()
        self.ok.setText("OK -- change animation")
        self.ok.clicked.connect(self._okPress)

        self.layout.addRow(self.ok)
        self.layout.setLabelAlignment(QtCore.Qt.AlignmentFlag.AlignRight)

        self.setLayout(self.layout)
        self.set_initial_data()

    def set_initial_data(self):
        pad_vali = QtGui.QIntValidator(0,20)
        rad_vali = QtGui.QIntValidator(0,10)

        self.edit_pad.setValidator(pad_vali)
        self.edit_rad.setValidator(rad_vali)

        pad,rad = 4,4
        self.edit_pad.setText(str(pad))
        self.edit_rad.setText(str(rad))

        self.set_ss(pad,rad)

        # slots
        self.edit_pad.textChanged.connect(self.change_padrad)
        self.edit_rad.textChanged.connect(self.change_padrad)

    def set_ss(self,pad,rad):
        self.anila.setStyleSheet("padding: 0 {:d}px; border-radius: {:d}px;".\
                format(pad,rad))
        for lab in [self.lab_rad,self.lab_pad]:
            lab.setStyleSheet("padding: 0 {:d}px;".format(pad))

    def change_padrad(self):
        try:
            pad = int(self.edit_pad.text())
            rad = int(self.edit_rad.text())
            self.set_ss(pad,rad)
        except Exception as ex:
            print(type(ex).__name__)

    def _okPress(self,flag):
        self.co_press += 1
        typ = self.co_press % 3
        if 0 == typ:
            print("Animation NO")
            self.anila.color_anim.stop()
            self.anila.color_anim_ok.stop()
        elif 1 == typ:
            print("Animation type 1")
            self.anila.color_anim_ok.stop()
            self.anila.color_anim.start()
        elif 2 == typ:
            print("Animation type 2")
            self.anila.color_anim.stop()
            self.anila.color_anim_ok.start()


if __name__ == "__main__":

    application = QtWidgets.QApplication(sys.argv)
    dialog = SomeDia2()
    dialog.show()
    result = application.exec()
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): hope it helps
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • User mentioned (1): @Anabar
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: ramkinobit

79476771

Date: 2025-02-28 22:01:38
Score: 0.5
Natty:
Report link
str1 = str(input())
str2 = str(input())

list1 = []
list2 = []

count = 0

for letter in str1:
    list1.append(letter)
for letter in str2:
    list2.append(letter)    
    

while len(list1) > 0 and len(list2) > 0:

    if list1[0] == list2[0]:
        list1.pop(0)
        list2.pop(0)
        count +=1
    else:
        list1.pop(0)
        list2.pop(0)
if count == 1:
    print(f'{count} character matches')
else:
    print(f'{count} characters match')
    
    

while len(list1) > 0 and len(list2) > 0:

    if list1[0] == list2[0]:
        list1.pop(0)
        list2.pop(0)
        count +=1
    else:
        list1.pop(0)
        list2.pop(0)
if count == 1:
    print(f'{count} character matches')
else:
    print(f'{count} characters match')
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: oliver

79476761

Date: 2025-02-28 21:55:37
Score: 1
Natty:
Report link

What solved that problem for me are associated types
Consider the following implementation:

// [ all protocols etc from before incl. ]

protocol OtherFunctionality {
    associatedtype Thing: BaseProtocol
    var thing: Thing { get }
}

final class OtherRealImplmentation<Thing: SomeExtraProtocol>: OtherFunctionality {
    var thing: Thing
    
    init(thing: Thing) {
        self.thing = thing
    }
}

The interesting part here is that the typeclass value of Thing isn't decided until the protocol is adopted (that is in OtherRealImplementation) and is still subject to inheritance which can be used for some cool DRY code wow Here is a link to the relevant swift docs which explain that concept really well

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): What solve
  • Low reputation (1):
Posted by: Fingolfin

79476758

Date: 2025-02-28 21:54:36
Score: 3.5
Natty:
Report link

sizeof("") -> 1

sizeof("\0") -> 2

Reasons:
  • Low length (2):
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (0.5):
Posted by: Kai

79476747

Date: 2025-02-28 21:46:35
Score: 1
Natty:
Report link

jest.useFakeTimers() with jest.advanceTimersByTime() seems to be the only solution. (Or jasmine.clock().install() with jasmine.clock().tick()).

The test setup has to include jest.useFakeTimers() before the first fixture.detectChanges() call (because this is the moment that the async pipe subscribes to the timer - the underlying setInterval has to already be mocked at that point):

beforeEach(async () => {
  await TestBed.configureTestingModule({
    imports: [AppComponent],
  }).compileComponents();

  jest.useFakeTimers();

  fixture = TestBed.createComponent(AppComponent);
  component = fixture.componentInstance;
  fixture.detectChanges();
});

The test then looks like this:

it('should show "Timer fired"', () => {
  jest.advanceTimersByTime(3000);
  fixture.detectChanges();
  expect(fixture.nativeElement.textContent).toContain('Timer fired');
  expect(fixture.nativeElement.textContent).not.toContain('Waiting');
});

My experiences with fakeAsync and the async pipe match those Barry McNamara describes in https://stackoverflow.com/a/59164109/4715712

I updated my original StackBlitz with more tests. They also include a test that unfortunately disproves Naren Muralis original answer (which I at first was convinced is correct even though my gut instinct told me it doesn't work).

Stackblitz Demo: https://stackblitz.com/edit/angular-rxjs-timer-asyncpipe-unit-test?file=src%2Fmain.ts,src%2Ftest.spec.ts

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: reins.ch

79476736

Date: 2025-02-28 21:39:33
Score: 0.5
Natty:
Report link

It just needed shell=True at the end. The final working code:

result = subprocess.run(["ffprobe", "-hide_banner", "-v", "quiet", "-show_entries",
                                 "format=duration", "-of", 
                                 "default=noprint_wrappers=1:nokey=1", filename], stdout=subprocess.PIPE, stderr=None, shell=True)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: fnord12

79476722

Date: 2025-02-28 21:29:31
Score: 1
Natty:
Report link

I've seen similar behavior when running Wine with a non‑root user inside Alpine‑based images. A few things helped resolve or work around the issue:

Preinitialize the Wine prefix as root

Run winecfg during the build (as root) so the prefix is properly set up. Then change ownership of the Wine prefix folder for your non‑root user. For example:

RUN winecfg && chown -R app:app /home/app/.demo

Switch from Alpine to a glibc‑based image Wine tends to behave more reliably on glibc‑based distributions. Consider using python:3.12‑slim (Debian‑based) instead of the Alpine image.

Check SELinux and permissions on RHEL9, on some systems SELinux can interfere with non‑root operations. Look for any SELinux denials in the logs and adjust policies as needed.

Try these steps as a starting point. In our experience, switching to a Debian‑based image or pre‑initializing the Wine prefix as root (and then fixing permissions) resolved the host freezing issue without running the container as root.

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

79476721

Date: 2025-02-28 21:28:30
Score: 4
Natty: 4.5
Report link

There are a few open-sourced tools that can receive ASTM data:

Perl - https://github.com/mobarrio/DataLogger

Python - https://github.com/kxepal/python-astm

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

79476710

Date: 2025-02-28 21:19:29
Score: 0.5
Natty:
Report link

I just ran into this myself and code quality checks were yelling at me. I needed forwardRef in a mock but, as you ran into, await vi.importActual('react') was unknown;

solution

import React from 'react';
vi.mock('my-module', async () => {
    const { forwardRef } = await vi.importActual<typeof React>('react');
    ...
});

So, if you have a type definition for that module, you can just use that, but it wont infer.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bastiat

79476709

Date: 2025-02-28 21:19:29
Score: 1
Natty:
Report link

You can not add an audio visualizer only by using HTML.

To do this you will need the Web Audio API in JS.

There are three main steps to add an audio visualizer to your webpage:

  1. you need to create an audio element to play the sound

  2. By using the API you analyze the audio frequencies

  3. Use JS to update the graphics area in real time and display the visualization

Alternatively you can create a css-based visual effect that looks like a visualizer, but it will not actually react to the audio. This is a more simplefied way.

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

79476706

Date: 2025-02-28 21:17:28
Score: 7
Natty: 7.5
Report link

How do you refers to OAuth2 objects in appscripts?

Reasons:
  • Blacklisted phrase (1): How do you
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How do you
  • Low reputation (1):
Posted by: Juan Pascuet

79476702

Date: 2025-02-28 21:14:28
Score: 1.5
Natty:
Report link

The reason you might be getting the error "Value must be one of {0, 2, 4, 6, 13, 14, 15, 16}" is the fact you haven't enabled your server as a Community Server. Make sure you've properly set up your server to enable Announcement Channels as well as other features.

Let me know if you need further assistance.

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

79476695

Date: 2025-02-28 21:10:27
Score: 1.5
Natty:
Report link
#if !defined(_STDINT_H_) && !defined(_STDINT)

include <stdint.h>

#endif

add this to top of the file

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

79476690

Date: 2025-02-28 21:08:26
Score: 3
Natty:
Report link

i changed the mirror to main server and it worked.

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

79476687

Date: 2025-02-28 21:08:26
Score: 1.5
Natty:
Report link

FWIW, I have tested the code using chrome.proxy.settings in a more recent version of NWjs (0.90.0) and it seems to work as expected.

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

79476676

Date: 2025-02-28 21:01:24
Score: 1.5
Natty:
Report link

I did some testing (results below) to evaluate behavior of dynamic partitionOverwriteMode, as inspired by this blog, and confirmed that documentation is referring to Hive-style partitions only (as created by partitionBy) when selectively overwriting partitions. It does not selectively overwrite individual parquet files.

from pyspark.sql import Row
from pyspark.sql.functions import col

data = [
    Row(order_id=1, order_amount=100, year=2025, month=1, day=2),
    Row(order_id=2, order_amount=150, year=2025, month=1, day=5),
    Row(order_id=3, order_amount=200, year=2025, month=1, day=6),
    Row(order_id=4, order_amount=250, year=2025, month=2, day=6),
    Row(order_id=5, order_amount=300, year=2025, month=2, day=23),
    Row(order_id=6, order_amount=350, year=2024, month=12, day=11)
]

df_write_1 = spark.createDataFrame(data)
display(df_write_1)

Initial DataFrame written

df_write_1.write.mode("overwrite") \
    .partitionBy("year", "month") \
    .option("partitionOverwriteMode", "dynamic") \
    .option("maxRecordsPerFile", 1) \
    .parquet(s3_path)

data = [
    Row(order_id=1, order_amount=100, year=2025, month=1, day=2),
    Row(order_id=2, order_amount=150, year=2025, month=1, day=5),
    Row(order_id=3, order_amount=200, year=2025, month=1, day=6),
    Row(order_id=5, order_amount=300, year=2025, month=2, day=23),
    Row(order_id=7, order_amount=250, year=2025, month=2, day=23),
    Row(order_id=8, order_amount=500, year=2025, month=2, day=6),
    Row(order_id=9, order_amount=250, year=2025, month=3, day=23),
]

df_write_2 = spark.createDataFrame(data)
display(df_write_2)

New incremental DataFrame written.

df_write_2.write.mode("overwrite") \
    .partitionBy("year", "month") \
    .option("partitionOverwriteMode", "dynamic") \
    .option("maxRecordsPerFile", 1) \
    .parquet(s3_path)

df_read = spark.read.parquet(s3_path)
display(df_read.orderBy("order_id"))

DataFrame that is read after incremental dynamic overwrite performed.

Reasons:
  • Blacklisted phrase (1): this blog
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Matthew Thomas

79476673

Date: 2025-02-28 21:01:24
Score: 0.5
Natty:
Report link

My "fix" was to update the system gem to the newer version (Gemfile had a newer version).

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

79476671

Date: 2025-02-28 20:59:24
Score: 2.5
Natty:
Report link

As to why the output doesn't show characters 32-47, the character (achar) being output is initialized to '0', not to 0x00.

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

79476667

Date: 2025-02-28 20:55:23
Score: 2
Natty:
Report link

I've tried to set it up using gen1 plugin but it starts to run into a mix of gen1 and gen2 configs and some incompatibilities. So it looks like it is still not supported at the moment.

You may configure SNS and FCM though: https://docs.aws.amazon.com/sns/latest/dg/sns-mobile-application-as-subscriber.html

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

79476653

Date: 2025-02-28 20:48:21
Score: 9 đźš©
Natty: 4
Report link

I am getting the same error when adding a reference image to use it either as a style guide for creating another image or trying to edit image to look similar in style.

Lets say I am prompting something like "Create an image of a business manager leading team of experts. On the background from the windows the cityscape shows as on image [1]."

And this image [1] is something I have added as a reference image to get the same look and feel for the set of images.

Need any more info?

Thanks!

Sam

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I am getting the same error
  • Contains signature (1):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same error
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sam

79476647

Date: 2025-02-28 20:45:21
Score: 1.5
Natty:
Report link

<div class="size-32 border-4 border-red-500 p-2 flex flex-col">
  <span>Other content</span>
  <div class="overflow-hidden flex-1">
    <img src="https://img.freepik.com/photos-premium/image-verticale-foret-verte-dense-pittoresque-jour-ete-ensoleille-taiga-dans-montagnes-arriere-plan-abstrait-foret_180532-2670.jpg" class="object-contain w-full h-full" />
  </div>
</div>

enter image description here

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

79476646

Date: 2025-02-28 20:45:20
Score: 4.5
Natty:
Report link

The problem was I needed to check if it was in view of the ScrollViewer not the canvas.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ermanator