79104833

Date: 2024-10-19 11:50:51
Score: 4
Natty:
Report link

I added the and now it works just fine.

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

79104827

Date: 2024-10-19 11:46:49
Score: 1
Natty:
Report link

If you're looking for an easy way to send Firebase Cloud Messaging (FCM) push notifications in Laravel, I’ve developed a package called heyharpreetsingh/fcm that simplifies the process. It allows you to send notifications to mobile (Android, iOS) and web platforms efficiently.

How to Use: Install the package via Composer:

composer require heyharpreetsingh/fcm

Register the service provider in bootstrap/providers.php (Laravel 11) or config/app.php (Laravel 10 and below):

Heyharpreetsingh\FCM\Providers\FCMServiceProvider::class,

Set up Firebase credentials by generating a private key in Firebase Console and adding the path to the JSON file in your .env file:

FCM_GOOGLE_APPLICATION_CREDENTIALS=storage/ServiceAccount.json

Send a notification to individual devices like this:

use Heyharpreetsingh\FCM\Facades\FCMFacade;

FCMFacade::send([
   "message" => [
        "token" => "bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...", // Device token
        "notification" => [
            "body" => "This is an FCM notification message!",
            "title" => "FCM Message"
        ]
    ]
]);

Was this guide helpful to you? Please support my work by leaving a πŸ‘ clap as a token of appreciation.

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Harpeet Singh

79104826

Date: 2024-10-19 11:45:49
Score: 2
Natty:
Report link

Answer by LoicTheAztec works:

WooCommerce settings > Shipping > Shipping Options, for Shipping destination select "Default to customer billing address".

Screenshot of the settings

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: H. Sellik

79104816

Date: 2024-10-19 11:39:45
Score: 8 🚩
Natty: 4.5
Report link

have you found solution to it? @Tom

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found solution to it
  • Low length (2):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Tom
  • Single line (0.5):
  • Low reputation (1):
Posted by: hone shalom

79104800

Date: 2024-10-19 11:31:43
Score: 1
Natty:
Report link

The issue occurs because the code that clears the symptomsInput.value is inside the displayResults function. When the input field is cleared, the form gets submitted again, causing the page to refresh. To prevent this, you should clear the input field immediately after the event.preventDefault().

Here’s the corrected explanation: "The issue arises because the code to clear symptomsInput.value is within the displayResults function. When the input field is cleared, the form is resubmitted, leading to a page refresh. To prevent this, clear the input field right after event.preventDefault()."

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 사λƒ₯κΎΌ

79104791

Date: 2024-10-19 11:24:42
Score: 1
Natty:
Report link

Could someone help me identify what might be causing this issue

pydub github page suggest doing following in order to debug

import logging
l = logging.getLogger("pydub.converter")
l.setLevel(logging.DEBUG)
l.addHandler(logging.StreamHandler())
# here do what you want with AudioSegment

this should reveal what is actually called.

D:\Python\Lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)

This is not error, but warning, generally this mean some anomaly was detected but program is still able to work, whilst error does result in halt.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Could someone help me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: Daweo

79104790

Date: 2024-10-19 11:24:42
Score: 1
Natty:
Report link

for me, problem solved by removing proxy from gradle.properties file in C:\Users\USERNAME\.gradle directory removing these lines:

systemProp.http.proxyHost=hostname
systemProp.http.proxyPort=8080
systemProp.http.proxyUser=de\\username
systemProp.http.proxyPassword=xxx
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ahzare

79104778

Date: 2024-10-19 11:19:41
Score: 0.5
Natty:
Report link

As @derHugo said, it's not possible to directly access curve data (get). But I've found the utility method AnimationUtility.GetCurveBindings(animationClip) which is helpful for the matter if you're in Editor Mode. One usage would be:

public void ScaleAnimationClip(AnimationClip clip, float scale)
{
    var curveData = AnimationUtility.GetCurveBindings(clip);
    foreach (var data in curveData)
    {
        if (data.propertyName.StartsWith("m_LocalPosition"))
        {
            var curve = AnimationUtility.GetEditorCurve(clip, data);
            curve.keys = curve.keys.Select(k => new Keyframe(k.time, k.value * scale, k.inTangent, k.outTangent, k.inWeight, k.outWeight)).ToArray();
            AnimationUtility.SetEditorCurve(clip, data, curve);
            EditorUtility.SetDirty(clip);
        }
    }
    AssetDatabase.SaveAssetIfDirty(clip);
}

For fixing 2D animations after changing sprite pixel per unit property.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @derHugo
  • Low reputation (0.5):
Posted by: Bamdad

79104777

Date: 2024-10-19 11:18:41
Score: 1.5
Natty:
Report link

showModalBottomSheet( isScrollControlled: true, context: context, builder: (context) { return MediaQuery( data: MediaQueryData.fromWindow(WidgetsBinding.instance.window), child: SafeArea( child: Column( children: [ Row( children: [ IconButton( onPressed: () => Navigator.of(context).pop(), icon: const Icon(Icons.close), ), ], ), Expanded( child: ListView.builder( itemBuilder: (context, index) => ListTile( title: Text('Item $index'), ), itemCount: 10, ), ), ], ), ), ); }, );

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

79104776

Date: 2024-10-19 11:18:40
Score: 4.5
Natty:
Report link

check this post as I explain the probelm and how to solve :

https://www.linkedin.com/posts/abdallah-mohamed-%F0%9F%87%B5%F0%9F%87%B8-0b4270183_flutter-bitcodeabrproblem-activity-7253361610935681027-9LaP?utm_source=share&utm_medium=member_desktop

Reasons:
  • Blacklisted phrase (1): how to solve
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abdallah Mohamed

79104773

Date: 2024-10-19 11:17:40
Score: 1
Natty:
Report link

Yet another case when this error arises. If your fragment or activity contains ListView with DB cursor adapter, you should open the cursor in onCreate (or onCreateView) method and close it in onDestroy method. I did this in onStart and in onStop methods and faced with this error when ListView queries the cursor in its onSaveInstanceState method when the ListView is scrolled down from the first line. onSaveInstanceState is called after onStop and this was the cause of the error. So it is probably safe to close the cursor in on Destroy callback only.

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

79104771

Date: 2024-10-19 11:16:40
Score: 2.5
Natty:
Report link

The issue arises because the environment variables like $CURL_H1, $CURL_H2, $CURL_H3, etc., are defined in your GitHub Actions runner environment but are not available inside the remote SSH session.

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

79104767

Date: 2024-10-19 11:14:39
Score: 2.5
Natty:
Report link

The eventual issue was that the next command after sleep is never executed, despite what all the docs say. The wake caused random jumps to various parts of the code and I had to add a service routine.

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

79104761

Date: 2024-10-19 11:10:39
Score: 2
Natty:
Report link

Try using ask and bid instead of "currentPrice" inside OrderSend function for Buy and Sell , this code will keep sending orders if u did'nt limit the number of orders by giving a if condition with OrdersTotal function. eg : if(OrdersTotal() == 0) { your OrderSend function here. }

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

79104760

Date: 2024-10-19 11:10:39
Score: 2
Natty:
Report link

If you are using routes like so:

loadComponent: () => import('@someproject/some-folder').then(m => m.SomeComponent)

By changing m.somethingelse, saving, viewing temporary other component that works and going back to .SomeComponent (previous one) fixes the issue

Just to share my "ecmp" error on my chunks

:)

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

79104758

Date: 2024-10-19 11:10:39
Score: 1.5
Natty:
Report link

https://github.com/jr200/nats-iam-broker Works .

Any login system can be mapped to oidc and into nats auth called out.

The setup is easy and it’s highly extensible to any auth system. For example I use it with passkeys , but that’s just my bend :)

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

79104752

Date: 2024-10-19 11:06:37
Score: 2.5
Natty:
Report link

At least with Pycharm and Python 3.12 the following approach is supported:

Example:

func(self, *args: *tuple[int, str, int | None]):

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

79104750

Date: 2024-10-19 11:06:37
Score: 0.5
Natty:
Report link

A transaction in a blockchain is basic building blocks of data that are processed within a given network and are very central for Blockchain Development.

Here’s an overview:

Definition of a Transaction A blockchain transaction can be defined as a process of exchanging, buying or selling or transferring an asset, for instance the cryptocurrencies where such process is authenticated through cryptography techniques.

Types of Transactions

Cryptocurrency Transfers: Usage: In the context of the users of the digital currency, it means the passage of a value or amount from one user to another.

Smart Contract Execution: The events that lead to reactions within self-executing contracts required for decentralized applications (dApps).

Asset Tokenization: The most popular of these new forms is using blockchain technology to transfer ownership of real world assets in a digital format which is still an exciting area in blockchain development.

Proforma of a Transaction:

Each transaction includes:

Sender Address: The key belonging to the sender of the message.

Recipient Address: The public key of the receiver is then utilized.

Amount: The amount of the asset that has been transferred if the transfer has been partial.

Timestamp: The date and time of beginning.

Signature: The information or data to be encrypted can be – a. Original signed message b. Electronic timestamp c. A cryptographic signature from the sender’s private key.

Broadcasting and Validation

Operations occur and the action that takes place or exchanges are reported to the network where nodes verify it through the sender balance and digital signature. Proof of Work or Proof of Stake consensus mechanisms prove their reliability.

Inclusion in a Block

Valid transactions are grouped in a block:

Mining/Validation: In Proof of Work miners provide solutions for mathematical computations whereas in Proof of Stake, validators are chosen on the basis of their money staked.

Immutable Record: Blocks when added are connected through use of a cryptographic technique and this forms a transaction string.

Finality That, says that after getting to join a block, the transactions cannot be changed or reversed, and they are public through the blockchain explorers. It is imperative that individuals investing in cryptocoin trans /tion understand the benefits of blockchain:

Security: Fraud is minimized by the cryptographic protector.

Transparency: All the actions are transparent and this promotes belief.

Efficiency: Cutting down on middlemen and expenses are among the factors that must be taken in to consideration when working on creating blockchains.

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

79104736

Date: 2024-10-19 10:59:36
Score: 1
Natty:
Report link

If you want's to setup dynemic PORT then follow this steps:

  1. Build the nuxt app
npm run build
  1. Configure PORT
set NITRO_PORT=3000
  1. Start the app
npm start

Now, check your app is running on the 3000 port

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

79104730

Date: 2024-10-19 10:54:35
Score: 3
Natty:
Report link

Update jib plugin version to latest i.e 3.4.3 (latest) Working for me.

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

79104725

Date: 2024-10-19 10:52:35
Score: 1
Natty:
Report link

If you're looking for an easy way to send Firebase Cloud Messaging (FCM) push notifications in Laravel, I’ve developed a package called heyharpreetsingh/fcm that simplifies the process. It allows you to send notifications to mobile (Android, iOS) and web platforms efficiently.

How to Use: Install the package via Composer:

composer require heyharpreetsingh/fcm

Register the service provider in bootstrap/providers.php (Laravel 11) or config/app.php (Laravel 10 and below):

Heyharpreetsingh\FCM\Providers\FCMServiceProvider::class,

Set up Firebase credentials by generating a private key in Firebase Console and adding the path to the JSON file in your .env file:

FCM_GOOGLE_APPLICATION_CREDENTIALS=storage/ServiceAccount.json

Send a notification to individual devices like this:

use Heyharpreetsingh\FCM\Facades\FCMFacade;

FCMFacade::send([
   "message" => [
        "token" => "bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...", // Device token
        "notification" => [
            "body" => "This is an FCM notification message!",
            "title" => "FCM Message"
        ]
    ]
]);

Was this guide helpful to you? Please support my work by leaving a πŸ‘ clap as a token of appreciation.

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Harpeet Singh

79104717

Date: 2024-10-19 10:47:34
Score: 2
Natty:
Report link

fractals are pretty simple once you wrap your head around them you make a global array then make a loop and put the global array in for loop make a box there rotation scale and length its length times scale time math.cos(rotation); to get end point store it in array in for loop next iteration start with array.lastChild position in then you make two branches the opposite direction and you would calculate those endpoint and iterate the endpoint in array to start-point scale and rotation can be iterated for var i = 0 i < array.length i++ ){ if( i < 10 ){ code }} you have to that or it goes on forever

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

79104713

Date: 2024-10-19 10:44:33
Score: 3.5
Natty:
Report link

Task > Operating system/Architecture > Linux/ARM64 - works for my M1 Mac

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

79104710

Date: 2024-10-19 10:41:33
Score: 2
Natty:
Report link

Configure your apps to use Firebase

flutterfire configure
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NurLife

79104708

Date: 2024-10-19 10:40:32
Score: 0.5
Natty:
Report link

you could sort oracle table with clob column with the following query based on column size :

SELECT column1, column2, clob_column
FROM your_table
ORDER BY DBMS_LOB.GETLENGTH(clob_column) DESC;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: arash yousefi

79104704

Date: 2024-10-19 10:39:32
Score: 2
Natty:
Report link

Spring Security creates an Authentication bean that has information about the current user. If you want to get rid of the dependency on Spring Security, just use the Principal interface that Authentication extends.

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

79104695

Date: 2024-10-19 10:36:29
Score: 6.5 🚩
Natty: 5
Report link

I want to find the product (1-1/p^2)^1/2 for all primes p=1 mod 4 please tell me how to find the product on Pari/GP

Reasons:
  • RegEx Blacklisted phrase (2.5): please tell me how
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Muhammad Usama

79104684

Date: 2024-10-19 10:30:28
Score: 1.5
Natty:
Report link

The issue with your MySQL command is that while you correctly added the capabilities in wp_usermeta, you missed adding the wp_user_level key, which is necessary for WordPress to fully recognize the user's role and grant dashboard access. To properly create an administrator user via MySQL, you should first insert the user into wp_users, retrieve the user ID, then insert both the wp_capabilities and wp_user_level meta keys into wp_usermeta, setting wp_capabilities to 'a:1:{s:13:"administrator";b:1;}' and wp_user_level to 10. To fix the duplicate capabilities, you can remove one of the entries from wp_usermeta.

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

79104683

Date: 2024-10-19 10:29:28
Score: 2.5
Natty:
Report link

Let me ask what type of data you have? If it is an array, it is best to check like this.

if (response.status === 200 && response.data && response.data.length > 0) { handleClose(); }

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Windoo

79104671

Date: 2024-10-19 10:22:27
Score: 1
Natty:
Report link

My solution was to enclose it with if check. obj!.fld is better but didn't work.

`if (obj.fld) { somefunc(obj.fld); }`
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: iduniq

79104668

Date: 2024-10-19 10:21:26
Score: 0.5
Natty:
Report link

Sometimes this error can occur if the *.pas file contains strange (invisible) characters. Perhaps you can use a text editor that can display invisible control codes and then remove them. Of course, back up the *.pas file first so that nothing else gets broken.

https://en.delphipraxis.net/topic/11014-ummmm-what/?do=findComment&comment=87699

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ralph Welz

79104644

Date: 2024-10-19 10:11:24
Score: 1.5
Natty:
Report link

how about if you wanted to apply a keep first/last to the above situation eg:

so you kept the 2nd dog:

orig:

    v1     v2   v3

148 8751704.0 G dog 123 9082007.0 G dog 123 9082007.0 G cat

after keep last applied

    v1     v2   v3

123 9082007.0 G dog 123 9082007.0 G cat

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): how
  • Low reputation (1):
Posted by: dazzla

79104643

Date: 2024-10-19 10:10:24
Score: 3
Natty:
Report link

Thank you for yourwelcome response. While going fullscreen goes some way to resolving my problem it is not entirely satisfactory as it leaves no obvious means of navigation. I need to launch another script after this one without closing it. To do so with Fullscreen I have to hit "Win". Then I have to enter "This PC" or click on one of the icons now available on the task bar to gain access to Explorer and take it from there. The absence of the decorations is no problem because the second script has an available Exit button on the menu bar. This makes the process, while not impossible, somewhat convoluted. I had tried your line of code before but I placed it under the text entry "# Maximize the window" where it obviously didn't work!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chaz

79104642

Date: 2024-10-19 10:09:23
Score: 5.5
Natty: 5.5
Report link

Are you willing to share a picture of the heatmap that you created?

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

79104625

Date: 2024-10-19 09:57:20
Score: 1.5
Natty:
Report link

You can use {{trigger.message.ProfileName}} to get the Name. It doesn't show up on the suggested variables but it works anyway.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: inout LLC

79104622

Date: 2024-10-19 09:51:19
Score: 4
Natty:
Report link

Make sure you've closed all ejs tags.In my code I did this only <%=user.call> I was wondering in whole code no mistake found then where it lags. Then after 2hr I got this damn. I have to code <%=user.call%>

Reasons:
  • Blacklisted phrase (2): was wondering
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Muskan Shaikh

79104621

Date: 2024-10-19 09:50:19
Score: 3.5
Natty:
Report link

It's bit tricky, follow steps at Samsung Developer blog and it works https://developer.samsung.com/sdp/blog/en/2024/04/30/connect-galaxy-watch-to-android-studio-over-wi-fi

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

79104606

Date: 2024-10-19 09:42:17
Score: 3.5
Natty:
Report link

I don't know why it's failing to load, but I recommend trying to load it in another Scratch mod called PenguinMod. The link for PenguinMod is PenguinMod.com

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

79104604

Date: 2024-10-19 09:40:17
Score: 1
Natty:
Report link

I ran into this error too. My solution is to install cmdline-tools in android studio, Projects > More Actions > SDK manager, then go to SDK Tools and check Android SDK Command-line Tools.

Next time I start package, problem solved!

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: louie101

79104602

Date: 2024-10-19 09:38:16
Score: 0.5
Natty:
Report link

There's no error here. According to the HATEOAS style, to change birthCountry in your Person object, you need to send a PUT request to /person/1/birthCountry with a reference to the Country object's address:

PUT /person/1/birthCountry
Content-Type: text/uri-list

/country/11

For more information, see the Spring Data REST.

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

79104601

Date: 2024-10-19 09:38:16
Score: 0.5
Natty:
Report link

The exception seems to be generated by the mesonpy package , which is a wrapper around the meson build system. To install fastai from source, you need a working C compiler such as gcc, clang, cl(comes with C/C++ SDK of Visual Studio). Install any of these compilers and have them added to the PATH environment variable.

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

79104598

Date: 2024-10-19 09:35:15
Score: 0.5
Natty:
Report link

I recently updated my Android Studio and Flutter, and I started experiencing the same issue.

flutter run
Launching lib\main.dart on SM F415F in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Could not open cp_settings generic class cache for settings file 'PROJECT\android\settings.gradle' (C:\Users\Claudio\.gradle\caches\7.6.3\scripts\gmzea7a38jwwtj6757fg97wu).
> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 997ms
Running Gradle task 'assembleDebug'...                           1.739ms

β”Œβ”€ Flutter Fix ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
β”‚ [!] Your project's Gradle version is incompatible with the Java version that Flutter is using for Gradle.                                                                                                                                                         β”‚
β”‚                                                                                                                                                                                                                                                                   β”‚
β”‚ If you recently upgraded Android Studio, consult the migration guide at https://flutter.dev/to/to/java-gradle-incompatibility.                                                                                                                                    β”‚
β”‚                                                                                                                                                                                                                                                                   β”‚
β”‚ Otherwise, to fix this issue, first, check the Java version used by Flutter by running `flutter doctor --verbose`.                                                                                                                                                β”‚
β”‚                                                                                                                                                                                                                                                                   β”‚
β”‚ Then, update the Gradle version specified in PROJECT\android\gradle\wrapper\gradle-wrapper.properties to be compatible with that Java version. See the link below for more information on compatible Java/Gradle versions: β”‚
β”‚ https://docs.gradle.org/current/userguide/compatibility.html#java                                                                                                                                                                                                 β”‚
β”‚                                                                                                                                                                                                                                                                   β”‚
β”‚                                                                                                                                                                                                                                                                   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
Error: Gradle task assembleDebug failed with exit code 1

Apparently, even though I had JAVA_HOME configured in the environment variables, Android Studio was running its own Java, installed on another path.

$ java --version
java 17.0.12 2024-07-16 LTS
Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286)
Java HotSpot(TM) 64-Bit Server VM (build 17.0.12+8-LTS-286, mixed mode, sharing)

$ flutter doctor --verbose
[√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [versΓ†o 10.0.19045.5011], locale pt-BR)
    β€’ Flutter version 3.24.3 on channel stable at C:\Workspace\flutter
    β€’ Upstream repository https://github.com/flutter/flutter.git
    β€’ Framework revision 2663184aa7 (5 weeks ago), 2024-09-11 16:27:48 -0500
    β€’ Engine revision 36335019a8
    β€’ Dart version 3.5.3
    β€’ DevTools version 2.37.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    β€’ Android SDK at C:\Workspace\android\android-sdk
    β€’ Platform android-35, build-tools 35.0.0
    β€’ ANDROID_HOME = C:\Workspace\android\android-sdk
    β€’ Java binary at: C:\Users\Claudio\AppData\Local\Programs\Android Studio\jbr\bin\java
    β€’ Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)
    β€’ All Android licenses accepted.

[√] Chrome - develop for the web
    β€’ Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2024.2)
    β€’ Android Studio at C:\Users\Claudio\AppData\Local\Programs\Android Studio
    β€’ Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    β€’ Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    β€’ Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[√] Connected device (4 available)
    β€’ SM F415F (mobile) β€’ RQ8R503THDB β€’ android-arm64  β€’ Android 12 (API 31)
    ‒ Windows (desktop) ‒ windows     ‒ windows-x64    ‒ Microsoft Windows [versÆo 10.0.19045.5011]
    β€’ Chrome (web)      β€’ chrome      β€’ web-javascript β€’ Google Chrome 130.0.6723.59
    β€’ Edge (web)        β€’ edge        β€’ web-javascript β€’ Microsoft Edge 130.0.2849.46

[√] Network resources
    β€’ All expected network resources are available.

! Doctor found issues in 1 category.

JAVA_HOME is set to "C:\Program Files\Java\jdk-17," and Flutter doctor displays "β€’ Java binary at: C:\Users\Claudio\AppData\Local\Programs\Android Studio\jbr\bin\java."

The solution was to manually configure the JDK for Flutter:

$ flutter config --jdk-dir="C:\Program Files\Java\jdk-17"
Setting "jdk-dir" value to "C:\Program Files\Java\jdk-17".

Only then did the problem stop.

$ flutter doctor --verbose
[√] Flutter (Channel stable, 3.24.3, on Microsoft Windows [versΓ†o 10.0.19045.5011], locale pt-BR)
    β€’ Flutter version 3.24.3 on channel stable at C:\Workspace\flutter
    β€’ Upstream repository https://github.com/flutter/flutter.git
    β€’ Framework revision 2663184aa7 (5 weeks ago), 2024-09-11 16:27:48 -0500
    β€’ Engine revision 36335019a8
    β€’ Dart version 3.5.3
    β€’ DevTools version 2.37.3

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)
    β€’ Android SDK at C:\Workspace\android\android-sdk
    β€’ Platform android-35, build-tools 35.0.0
    β€’ ANDROID_HOME = C:\Workspace\android\android-sdk
    β€’ Java binary at: C:\Program Files\Java\jdk-17\bin\java
    β€’ Java version Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286)
    β€’ All Android licenses accepted.

[√] Chrome - develop for the web
    β€’ Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[X] Visual Studio - develop Windows apps
    X Visual Studio not installed; this is necessary to develop Windows apps.
      Download at https://visualstudio.microsoft.com/downloads/.
      Please install the "Desktop development with C++" workload, including all of its default components

[√] Android Studio (version 2024.2)
    β€’ Android Studio at C:\Users\Claudio\AppData\Local\Programs\Android Studio
    β€’ Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    β€’ Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    β€’ Java version OpenJDK Runtime Environment (build 21.0.3+-12282718-b509.11)

[√] Connected device (4 available)
    β€’ SM F415F (mobile) β€’ RQ8R503THDB β€’ android-arm64  β€’ Android 12 (API 31)
    ‒ Windows (desktop) ‒ windows     ‒ windows-x64    ‒ Microsoft Windows [versÆo 10.0.19045.5011]
    β€’ Chrome (web)      β€’ chrome      β€’ web-javascript β€’ Google Chrome 130.0.6723.59
    β€’ Edge (web)        β€’ edge        β€’ web-javascript β€’ Microsoft Edge 130.0.2849.46

[√] Network resources
    β€’ All expected network resources are available.

! Doctor found issues in 1 category.

Reasons:
  • Blacklisted phrase (1): the link below
  • RegEx Blacklisted phrase (1): See the link
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: calraiden

79104597

Date: 2024-10-19 09:32:15
Score: 1
Natty:
Report link

You can pass the id when toggle the menu

 <Button @click="toggleListOptions($event, item._id,)" icon="pi pi-ellipsis-v" size="small" />

Then got the id

function toggleListOptions(event: Event, id: string) {
    console.log("πŸš€ ~ toggleListOptions ~ id:", id)
    menuListOptions.value.toggle(event)
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ryan

79104595

Date: 2024-10-19 09:30:15
Score: 1.5
Natty:
Report link

Faced same issue but after making directory as a source root Package option came. It worked for me.Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Prathibha H.V

79104592

Date: 2024-10-19 09:30:14
Score: 4
Natty:
Report link

For myself, adding it to the dependencies section of the Gradle script worked:

enter image description here

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

79104590

Date: 2024-10-19 09:27:13
Score: 4.5
Natty:
Report link
  1. first make these changes in 'libs.versions.toml' enter image description here

  2. then in build.gradle.kts, make following changes enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nagesh Ajab

79104587

Date: 2024-10-19 09:26:13
Score: 3.5
Natty:
Report link

Engage with Boston Market's customer feedback platform to share your experience. Your input helps shape future visits and ensures continued quality in both service and food. Take part in the survey to let us know how we’re doingenter link description hereenter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: bizz

79104586

Date: 2024-10-19 09:26:13
Score: 0.5
Natty:
Report link

let teams = [
  { name: "Team1", wins: "2", losses: "4" },
  { name: "Team2", wins: "3", losses: "3" },
  { name: "Team3", wins: "3", losses: "4" },
  { name: "Team4", wins: "4", losses: "1" },
];

console.log(teams.sort((a,b) => b.wins.localeCompare(a.wins)))

// localeCompare works only for Strings

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

79104579

Date: 2024-10-19 09:23:12
Score: 1.5
Natty:
Report link

linker error because it couldnot red some missing symbols, This could be due to several reasons:

1- Missing frame works or files: go to build phases to make sure it linked with frameworks and libraries make sure yoy framwork listed on linked files in your target build settings.

2- make sure if you have objc-c files or biriding files in corrct briging header

3- Check your Other Linker Flags in build sttings may files in correct like obj-c files.

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

79104575

Date: 2024-10-19 09:22:12
Score: 3
Natty:
Report link

I did the backend all over again with a proxy endpoint so now it is working. The library was trying to hit a URL that should have been handled by netlify but it was not. So now the lib is gone and everything works.

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

79104572

Date: 2024-10-19 09:19:11
Score: 2
Natty:
Report link

To be precise, the complete path is actually Windows > Preferences > General > Editors > Text Editors - but yess, worked for me yeuyyy I have my own-controlled-replace back !

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

79104546

Date: 2024-10-19 09:02:07
Score: 2
Natty:
Report link

I found this page while looking for a Vim built-in way to paste without moving the cursor.

What I have been doing up until now is these three steps -- which don't require me to remember any new shortcuts:

  1. Paste
  2. Undo
  3. Redo

This leaves your cursor wherever it was before pasting, but is rather annoying needing to hit u Ctrl+R, and it changes the status line to talking about the changes made.

After reading through this page and a couple others, I have updated my ~/.vimrc to include the following:

" Use Shift+P to paste text and leave cursor at the starting position
map P Pg;

This rewrites the Shift+P binding to leave the cursor on the starting position, while keeping p as a shortcut to paste after the cursor while leaving the cursor to the end of the pasted text.

This doesn't require any new learning of commands, and seems to "just work".

Issue with this method: Trying this method out, the only side-effect I've noticed is that using . to repeat the Shift+P command doesn't use the remapping, so it still moves the cursor to the end of the paste. It's not a big issue, if I want to go down a line pasting items into the same column in each line, I can just turn on Caps Lock and press p without Shift for each line, then turn off Caps Lock again.

Any proper way to work around this issue?

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Raven

79104545

Date: 2024-10-19 09:02:05
Score: 8.5 🚩
Natty:
Report link

my probleme is when i want to upload my project hon github iam surprise with this $ git push -u origin master remote: Support for password authentication was removed on August 13, 2021. remote: Please see https://docs.github.com/get-started/getting-started-with-git/about-remote-repositories#cloning-with-https-urls for information on currently recommended modes of authentication. fatal: Authentication failed for 'https://github.com/fido192/myproject2.git/'

......can you help me please....

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can you help me
  • RegEx Blacklisted phrase (1): i want
  • RegEx Blacklisted phrase (2): help me please
  • No code block (0.5):
  • Low reputation (1):
Posted by: INFOSCIENCE fido

79104542

Date: 2024-10-19 09:00:04
Score: 0.5
Natty:
Report link
load->library('S3Uploader'); $this->load->model('User_model'); $this->sqsClient = new Aws\Sqs\SqsClient([ 'version' => 'latest', 'region' => 'your-region', 'credentials' => [ 'key' => 'your-key', 'secret' => 'your-secret', ], ]); $this->queueUrl = 'https://sqs.your-region.amazonaws.com/your-account-id/your-queue-name'; } public function process_queue() { while (true) { $result = $this->sqsClient->receiveMessage([ 'QueueUrl' => $this->queueUrl, 'MaxNumberOfMessages' => 10, // Adjust as needed 'WaitTimeSeconds' => 20, // Long polling ]); if (!isset($result['Messages'])) { continue; } foreach ($result['Messages'] as $message) { $body = json_decode($message['Body'], true); $userId = $body['user_id']; $localFilePath = $body['local_path']; $s3Key = $body['s3_key']; $uploadSuccess = $this->s3uploader->uploadFile($localFilePath, $s3Key); if ($uploadSuccess) { $s3Path = 's3://your-bucket/' . $s3Key; $this->User_model->update_user_log_path($userId, $s3Path); // Delete the message from the queue $this->sqsClient->deleteMessage([ 'QueueUrl' => $this->queueUrl, 'ReceiptHandle' => $message['ReceiptHandle'], ]); // Delete local file if needed unlink($localFilePath); } else { // Handle failure and optionally retry } } } } }
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user27882047

79104510

Date: 2024-10-19 08:42:58
Score: 2.5
Natty:
Report link

i think in C++ classes member variables are visible throughout the entire class regardless of their declaration order, unlike local variables in functions which must be declared before use.

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

79104504

Date: 2024-10-19 08:39:58
Score: 3.5
Natty:
Report link

root@6b341eb7db4a:/usr/local/tomcat# nano bash: nano: command not found

nothing is working for me.

I got tomcat installed with portainer, cant find the path in a GUI filebrowser and in the console the nano dont work. need help please!

Reasons:
  • RegEx Blacklisted phrase (1.5): help please
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ing. Antonio Gervasio Luelmo

79104500

Date: 2024-10-19 08:36:57
Score: 0.5
Natty:
Report link

Thanks to @Andy Baxter in the comments. Here is an effective workaround.

> perf3 <- perf2 %>% 
+   select(first.half, second.half, t.reg.date2) %>% 
+   mutate(t.reg.date3=parse_date_time(paste0(first.half, second.half), "%Y-%m-%d", exact = TRUE)) 
Warning message:
There was 1 warning in `mutate()`.
β„Ή In argument: `t.reg.date3 = parse_date_time(...)`.
Caused by warning:
!  43047 failed to parse. 
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @Andy
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Tom

79104498

Date: 2024-10-19 08:35:57
Score: 3
Natty:
Report link

Good afternoon. I deleted the folder of my project and used tsc --init the error is gone, I am using windows 11. That is, in an empty folder, for some reason, it worked..

Reasons:
  • Blacklisted phrase (1): Good afternoon
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Π’Ρ–Ρ‚Π°Π»Ρ–ΠΉ Дяків

79104497

Date: 2024-10-19 08:35:57
Score: 1.5
Natty:
Report link

Second my opinion mp4 format does not support mp4a.40.2 codecs, instead it works with opus audio codec. For me this follow row works fine (I tested it on chrome 126): 'video/mp4;codecs="avc1,opus"'

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

79104486

Date: 2024-10-19 08:27:55
Score: 0.5
Natty:
Report link

you can set these attributes to your cardview :

app:cardCornerRadius="16dp"
android:cardElevation="0dp"
android:background="@android:color/transparent"

easily set the cardCornerRadius a little more or exactly same as your corner radius value.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohammad Hossein Ahmadi

79104482

Date: 2024-10-19 08:24:52
Score: 9.5 🚩
Natty: 5.5
Report link

Did you find a solution ince your post?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution in
  • Low reputation (1):
Posted by: Yosr Naija

79104480

Date: 2024-10-19 08:22:52
Score: 3
Natty:
Report link

If you want to apply transfinite technique you need to set both edges and surfaces as transfinite. So, possibly you also need to divide you surface object into quad-like patches.

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

79104477

Date: 2024-10-19 08:20:51
Score: 2
Natty:
Report link

Well I created a micro SaaS something similar in python django. You can check it out if it is something that you are looking for? It take cares of frontend and do the EDA analysis.

https://edaanalysis.com/
Reasons:
  • Blacklisted phrase (0.5): check it out
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Uman Sheikh

79104473

Date: 2024-10-19 08:19:51
Score: 1.5
Natty:
Report link

Update for Oct, 2024

Following Gabriel's neat answer, I wanted to automate this process as well. However, that solution wasn't working for me. After two days of trial & error, I realized that that solution had been silently failing (i.e. no errors logged) in my case because the suggested from and destinationDirectory paths were different in my (Flutter) project. So if you are facing similar problems, the following is an expanded solution that adds some checks & logs, allowing you to easier isolate and address any issues specific to your setup now or in the future.

My project setup

Note: mine is a Flutter project but the below solution should be similar in other projects.

A) Update your android/app/build.gradle file

Note: to learn about "tasks" in Gradle, check out the official docs. Also, in the below solution, as suggested by one of the comments in one of the other answers, I am also checking for (and removing) some hidden files that are generated by macOS, in case you are on a Mac. That step seems redundant when the zip is generated programmatically as it is in this solution, but I left it in as a precaution.

Add import java.nio.file.Paths to the top of the android/app/build.gradle file. Then add everything else after the flutter {...} block here:

import java.nio.file.Paths

plugins {
    ...
}

android {
    ...
}

flutter {
    source = "../.."
}

// STEP 1: Create and register the `zipNativeDebugSymbols` task to zip debug symbol files for manual upload to the Google Play store.
def zipNativeDebugSymbols = tasks.register('zipNativeDebugSymbols', Zip) {

    // Optional: this sets some info about the task (to verify, run `./gradlew app:tasks` in the /android folder to see this task listed)
    group = 'Build'
    description = 'Zips debug symbols for upload to Google Play store.'

    // Set the input source directory (this is where the native libs should be after the `bundleRelease` process has finished)
    def libDir = file('../../build/app/intermediates/merged_native_libs/release/out/lib')
    from libDir

    // Include all subfiles and directories
    include '**/*'

    // Set the name for the output ZIP file
    archiveFileName = 'native-debug-symbols.zip'

    // Set the destination directory for the output ZIP file
    def destDir = file('../../build/app/outputs/bundle/release')
    destinationDirectory = destDir

    doFirst {
        // Ensure the paths are correct for the required directories and that they indeed were created / exist (the preceding task `bundleRelease` creates these directories)
        checkDirectoryExists(libDir, 'Library directory')
        checkDirectoryExists(destDir, 'Destination directory')
    }

    doLast {
        println 'βœ…  zipNativeDebugSymbols: created native-debug-symbols.zip file'
        // Optional: if running on macOS, clean up unwanted files like '__MACOSX' and '.DS_Store' in the now created zip file
        // The '__MACOSX' and '.DS_Store' files seem to be added only when manually creating ZIPs on macOS, not programmatically like here. Nevertheless, no harm in leaving this in as a precaution.
        if (System.properties['os.name'].toLowerCase().contains('mac')) {
            println '   running on Mac...'

            // Combine destination path and zip file name
            def zipPath = Paths.get(destinationDirectory.get().asFile.path, archiveFileName.get()).toString()

            // Ensure the zip file exists
            if (new File(zipPath).exists()) {
                println "   removing any '__MACOSX' and '.DS_Store' files from the zip..."
                checkAndRemoveUnwantedFiles(zipPath, '__MACOSX*')
                checkAndRemoveUnwantedFiles(zipPath, '*.DS_Store')
            } else {
                println '❌  zip file does not exist: $zipPath'
            }
        }
        println 'βœ…  zipNativeDebugSymbols: finished creating & cleaning native-debug-symbols.zip'
    }

    // Optional: force the task to run even if considered up-to-date
    outputs.upToDateWhen { false }

    println 'βœ…  zipNativeDebugSymbols: task registered and configured'
}

// STEP 2: Configure the `zipNativeDebugSymbols` task to run after `bundleRelease`
tasks.whenTaskAdded { task ->
    if (task.name == 'bundleRelease') {
        // `finalizedBy` ensures `zipNativeDebugSymbols` runs after `bundleRelease` is complete
        task.finalizedBy zipNativeDebugSymbols
    }
}

//// ----------- HELPER METHODS -------------- ////

// Helper method to check if a directory exists
def checkDirectoryExists(File dir, String description) {
    if (dir.exists()) {
        println 'βœ…  zipNativeDebugSymbols: found ${description} ${dir}'
    } else {
        println '❌  ${description} does not exist: ${dir}'
    }
}

// Helper method to check for unwanted files and remove them
def checkAndRemoveUnwantedFiles(String zipPath, String pattern) {
    def output = new ByteArrayOutputStream()

    exec {
        commandLine 'sh', '-c', "zipinfo $zipPath | grep '$pattern'"
        standardOutput = output
        errorOutput = new ByteArrayOutputStream()
        ignoreExitValue = true
    }

    if (output.toString().trim()) {
        println "βœ…  zipNativeDebugSymbols: found '$pattern' in the zip. Removing it..."
        exec {
            commandLine 'sh', '-c', "zip -d $zipPath '$pattern' || true"
        }
    }
}

B) Generate files and upload to Google Play store

1. Generate the files for upload:

2. Upload to Google Play store:

Voila! That is it. Hope this saves you days of scratching your head like I did.


Helpful debugging info

In case you want to play around a little to understand Gradle and the above tasks better, here are some useful CLI commands. Note that they have to be run from your android/ directory. Also, for a Flutter project the base command here is ./gradlew but I'm guessing it is e.g. just gradlew for other projects.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing similar problem
  • Low reputation (0.5):
Posted by: Camron

79104471

Date: 2024-10-19 08:17:50
Score: 0.5
Natty:
Report link

A logical database model is like a blueprint for how data is structured and related within a database system, without worrying about how it's physically stored. It defines the organization of data, how different pieces connect, and the rules that ensure everything works together smoothly. This model helps represent real-world entities and their relationships in a logical and efficient way.

For example, imagine Netflix managing vast amounts of data. For user profiles, they might use a document-oriented database like MongoDB. Here, each user's informationβ€”such as personal details, watch history, and preferencesβ€”is stored in a single document. This design allows for quick retrieval and updates, providing users with a seamless and personalized experience.

On the other hand, a social network like Facebook deals with complex relationships between users. They might use a graph database like Neo4j. In this model, data is organized as nodes and edges: nodes represent users, posts, and comments, while edges represent friendships and interactions. This setup enables the platform to efficiently query relationships, like suggesting friends or showing connections between users.

For applications needing rapid access to straightforward dataβ€”such as caching session informationβ€”companies might use key-value stores like Redis. Consider Amazon: their logical design uses keys to represent session IDs and values to store shopping cart contents. This allows for quick retrieval and updates, enhancing the user's shopping experience with fast and responsive interactions.

In big data scenarios like logging and analytics at Twitter, a column-family store like Cassandra might be used. This logical model organizes data into rows and columns within column families, optimized for handling large volumes of real-time data efficiently, especially with heavy write operations.

Logical database design tackles several important challenges:

  1. Data Organization: Ensures data accurately reflects real-world entities and their relationships, making it intuitive and meaningful.
  2. Data Integrity: Maintains consistency and accuracy across the database by defining constraints and relationships.
  3. Performance Optimization: Aligns the data structure with how applications access data, improving performance and scalability.

Even though NoSQL databases differ from traditional relational databases, performing logical database design is still important and widely accepted. The main goal remains the same: to structure data in a way that effectively supports the application's needs.

Different types of NoSQL databases focus on different elements in their logical models:

  1. Document-Oriented Databases: Use documents (like JSON or XML) and collections. The logical design focuses on how data is organized within documents and how documents relate to each other.
  2. Graph Databases: Utilize nodes and edges to represent entities and their relationships. The logical model emphasizes the connections between data points.
  3. Key-Value Stores: Consist of keys paired with values. Logical design involves structuring keys for efficient data retrieval.
  4. Column-Family Stores: Organize data into rows and dynamic columns grouped into families. The logical model is tailored to optimize for specific query patterns and scalability needs.

In all these cases, logical database design is essential for building a data architecture that is coherent, efficient, and scalable, aligning perfectly with the specific requirements of modern applications.

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

79104469

Date: 2024-10-19 08:15:50
Score: 1
Natty:
Report link

Instead of:

if (headerKey && headerKey in rowData) {
    rowData[headerKey as keyof TableDataGeneralTemp] = value;
}

Try:

(rowData as any)[headerKey] = value;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Basheer Jarrah

79104467

Date: 2024-10-19 08:15:50
Score: 0.5
Natty:
Report link

The problem has been solved. Basically, you have to send each request through index.cfm. So, if you pass an url like localhost:8888/index.cfm/hello/wow you will not encounter an error and the requested url can be fetched using CGI.REQUEST_URL (e.g. /hello/wow).

Moreover, if you want to remove index.cfm marker you have to enable URL rewrite. Then the url (localhost:8888/hello/wow) will work without throwing any error.

For URL rewrite refer to these,

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

79104462

Date: 2024-10-19 08:12:49
Score: 2
Natty:
Report link

CHANGE TERMINAL COMPILER MESSAGE WINDOW FONT COLOR on an Raspberry PI I know this is an old question but the Ans Above did not work for me, so here is the answer I found In the GEANY menu bar click TOOLS -> Configurations Files -> geany.css in the geany.css file find: geany-compiler-message color: #0000ff

Highlight #0000ff use the TOOLS -> Color Chooser (color wheel) to find a color you like and click on APPLY (it will paste over and replace in hex a color code to replace current one) then FILE->Save and Restart

this will change the hard to read Blue text to any color you wish, caps or small for the HEX dosen't make a difference just make sure line terminates in a semi-colon; the color chose was white #ffffff;

IScreenshot of geany.css file and change of color in Compiler Terminal

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nathanael Westbrook Nat

79104460

Date: 2024-10-19 08:11:49
Score: 3
Natty:
Report link

For me fixed by stop running Android Studio as administrator.

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

79104459

Date: 2024-10-19 08:10:49
Score: 2
Natty:
Report link

If you have released the app in Play Store through Google Developer Console. Then you have to set Google Developer Console sh1 key to Firebase project.

You can find Google Console sh1 key inside, Google developer console -> your app -> Setup -> App Signing

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

79104455

Date: 2024-10-19 08:06:48
Score: 4
Natty: 4
Report link

I am curious as to what happens if a scoped service is being used and I get disconnected and a reconnection is done on SignalR. Will the scoped service return a different value, for example if I am returning the currently logged in user? Will HttpContextAccessor be available on reconnection of the circuit?

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

79104453

Date: 2024-10-19 08:06:47
Score: 4.5
Natty:
Report link

Thanks @geoand... I updated the version and the problem disappeared.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @geoand
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: ave4496

79104451

Date: 2024-10-19 08:05:47
Score: 0.5
Natty:
Report link

You may simply use the "Task Scheduler".

In the "General" tab choose to run the task whether user is logged on or not.

In the "Triggers" tab add a new trigger that begin the task "At startup".

In the "Actions" tab add a new action that "Start a program, and in the "Program/script" field add the complete path to the Python.exe file and the arguments filed write "-m manage.py runserver" and in the "Start in" field write the path "path\of\managepyfile".

In the "Settings" tab uncheck "Stop the task if it runs longer than" option.

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

79104446

Date: 2024-10-19 08:03:47
Score: 3
Natty:
Report link

It may also have to do with this:

enter image description here

So, if you don't want the windows reopen at startup, you need to uncheck the box.

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

79104438

Date: 2024-10-19 07:56:45
Score: 0.5
Natty:
Report link

Like said in other answers you can get a result from the dataValues key, however I found it's more easy to just add raw: true key and then you will get data result instead of the model instance:

const users = User.findAll({
    raw: true,
    //Other parameters
});

Inspired by that answer Get only dataValues from Sequelize ORM

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

79104414

Date: 2024-10-19 07:41:42
Score: 2
Natty:
Report link

Did you have an index with collation for your query? If not the query will pick the simple collation that means brand('Test') gives results but brand('test') gives an empty list. The index should be

db.collection.createIndex({ title: 1 }, { collation: { locale: 'en', strength: 2 } })
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you have an in
  • Low reputation (1):
Posted by: T.M.Q

79104411

Date: 2024-10-19 07:39:41
Score: 8.5
Natty: 9
Report link

Can you tell me how you decided to read the bot's messages by another bot?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you tell me how 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): Can you
  • Low reputation (1):
Posted by: Anton Yolshin

79104398

Date: 2024-10-19 07:28:39
Score: 3
Natty:
Report link

Your method is attempting to return an int. Int variables are considered counting numbers and cannot have a decimal. Since Pi is a floating point value and requires a larger decimal for higher percision, ideally you'd want to either use a round, ceil, or floor math function, or return your method as a float.

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

79104392

Date: 2024-10-19 07:22:38
Score: 1
Natty:
Report link

Make sure to specify the username between the time and the command when using system-wide crontab file. In my case (dockerized debian) it was silently erroring because of that.

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

79104381

Date: 2024-10-19 07:15:36
Score: 1
Natty:
Report link

In deed I also use flex-box more often then grid layout, but there are some scenarios where using grid layout is more preferred then flex layout.

For example, if you're designing a dashboard with multiple widgetsβ€”such as charts, graphs, and listsβ€”CSS Grid is ideal because it provides precise control over both rows and columns, allowing certain widgets to span multiple rows or columns while others fit into smaller spaces. Unlike Flexbox, which is one-dimensional and controls only rows or columns at a time, Grid handles two-dimensional layouts, making it perfect for complex designs where elements need to align both vertically and horizontally. This makes Grid better suited for magazine-style layouts, product grids, or any scenario where consistent spacing, element spanning, and equal control over rows and columns are essential.

I hope someone might give more suitable answer to your query.

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

79104378

Date: 2024-10-19 07:10:34
Score: 4
Natty:
Report link

In windows I installed Microsoft Visual C++ Redistributable: https://aka.ms/vs/17/release/vc_redist.x64.exe and it works.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jakub OlΔ™dzki

79104369

Date: 2024-10-19 07:07:34
Score: 3
Natty:
Report link

add config.ts file on your content folder. src/content/config.ts

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

79104368

Date: 2024-10-19 07:07:34
Score: 2
Natty:
Report link

Define variable array start not as of type int but with defined interval. For example

array [1..n_tasks] of var 0..1000: start;

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

79104361

Date: 2024-10-19 07:01:32
Score: 8
Natty: 7
Report link

I actually have the same question. I need to get a list of all expenses that a company incurs. I'm wondering which endpoints should I look at? Purchases and Bills?

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): have the same question
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Valeriu

79104360

Date: 2024-10-19 06:57:31
Score: 1.5
Natty:
Report link

ReportParameter[] reportParams = new ReportParameter[] { new ReportParameter("ProductImage", "data:image/png;base64," + productImageBase64) // Prefixing the base64 string with the data URL };

            ReportViewer1.LocalReport.SetParameters(reportParams);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user27880870

79104351

Date: 2024-10-19 06:49:30
Score: 1
Natty:
Report link

Try it on a higher android version.

I was running my expo app on pixel 6 (avd) and webview was not working. Then I tried it on my physical device (android 13) and it worked :)

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shub

79104343

Date: 2024-10-19 06:44:29
Score: 1
Natty:
Report link
[
    {
        "AllowedHeaders": [
            "*"
        ],
        "AllowedMethods": [
            "GET",
            "PUT",
            "DELETE",
            "HEAD"
        ],
        "AllowedOrigins": [
            "*"
        ],
        "ExposeHeaders": [],
        "MaxAgeSeconds": 3000
    }
]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jayanta Karmakar

79104336

Date: 2024-10-19 06:38:28
Score: 2
Natty:
Report link

I found that this is because of the conflicts when importing rdkit and CDPL in the one file like reply from authors. They are trying to fix this problem in the next release.

I will close this post because there are no other ways to fix except splitting code into two files like the original source.

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

79104332

Date: 2024-10-19 06:35:28
Score: 3.5
Natty:
Report link

Use my lib https://pypi.org/project/keccaky/

Secure and easy-to-use keccak

βœ… ready for production!!!

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

79104325

Date: 2024-10-19 06:28:26
Score: 2.5
Natty:
Report link

TesseractError: (1, 'Error opening data file C:\Program Files\Tesseract-OCR/eng.traineddata Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory. Failed loading language 'eng' Tesseract couldn't load any languages! Could not initialize tesseract.')

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

79104322

Date: 2024-10-19 06:26:26
Score: 1
Natty:
Report link

Any of them above didn't work for me. The steps which worked for me are as follows:

Step 1- I uninstalled and re-installed but this time I made a check.

Step 2- This time I unchecked the Stack Builder and installed it.

Sharing the screenshot.

Visit this link for the steps I followed

[enter image description here]

It worked magically and I didn't face the above error.

Reasons:
  • Blacklisted phrase (1): this link
  • Whitelisted phrase (-1): It worked
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Preety Sethi

79104319

Date: 2024-10-19 06:23:25
Score: 1.5
Natty:
Report link
  1. It would be good if you shared the logs but first verify that the the path "/user/register" is correct as defined in the controller.
  2. You may also specify the the postmethod ".requestMatchers(HttpMethod.POST, "/user/register").permitAll()".
  3. You may also try do allow anonymous access explicitly using "http.anonymous();
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lawrence Kinuthia

79104318

Date: 2024-10-19 06:23:25
Score: 1
Natty:
Report link

I agreed with @jnpdx...

One approach would be to make a "URL-forwarding app", that is the only receiver of the URL, and then sends it to the correct binary...

(occurred to me because I was reading xcode-select docs today)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jnpdx
Posted by: benc

79104312

Date: 2024-10-19 06:16:24
Score: 2
Natty:
Report link
  1. Increase the timeout via env setting "DEBUGPY_PROCESS_SPAWN_TIMEOUT":"1200" , if this does not help then try steps 2 and 3
  2. Make sure that python and pylance extensions are latest
  3. In the vscode settings, make "Language Server" as "Pylance"
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sirish

79104306

Date: 2024-10-19 06:06:22
Score: 4
Natty: 5
Report link

EXEC sp_updatestats; works like magic for me haha! Thanks

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

79104292

Date: 2024-10-19 05:56:20
Score: 2
Natty:
Report link

As I know it is about the PKCE code .when you get this error especially in API Resource . Every Api and client that use Identity server 4 for generate token or validate token must Use pkce . in API swagger you must addpkce in configuration.

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

79104288

Date: 2024-10-19 05:54:20
Score: 1
Natty:
Report link

Skipping issuer check altogether should be considered a security issue, as then one has no guarantee if the token was issued by the right party. It would affect other clients which would have less strict token validation and introduce possibility to pass token issued by any party for the problematic client.

If there is absolutely no possibility to get it right, I'd rather suggest a solution in which you can handle white-listed exceptions.

Most of the back-end authentication libraries have possibility to hook into the token validation process and introduce custom validation logic. Your logic could be "if is token for client X, check if issuer field matches white-listed exception/override for X". Store your white-list as back-end configuration and you're good to go.

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

79104283

Date: 2024-10-19 05:52:19
Score: 1
Natty:
Report link

Few things to check:

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

79104260

Date: 2024-10-19 05:33:15
Score: 2.5
Natty:
Report link

"plugins": [ "expo-router", [ "expo-font", { "fonts": "./assets/fonts/Eight One.ttf" } ] ],

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

79104257

Date: 2024-10-19 05:30:15
Score: 1.5
Natty:
Report link

i use this bit of code.

var url = await driver.executeScript("return window.location.href").then(function (url) {return url;});

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