79149927

Date: 2024-11-02 03:53:21
Score: 2
Natty:
Report link

after several hours of research I found this works perfectly fine

df = (spark.read.option(Constants.SERVER, "server_name.sql.azuresynapse.net").option(Constants.DATABASE, "db_name").synapsesql("select [Job Title] as JobTitle from dbo.TableName) )

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

79149924

Date: 2024-11-02 03:52:21
Score: 2.5
Natty:
Report link

You can use webagentdriver for ios. Documentation is here https://appium.github.io/appium-xcuitest-driver/4.25/wda-custom-server/

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

79149917

Date: 2024-11-02 03:45:19
Score: 0.5
Natty:
Report link

This could be because the app wasn't permanently deleted yet

"When you remove an app from your Firebase project, the app is scheduled to be automatically permanently deleted after 30 days. During that 30 days, you can restore the removed app before it's permanently deleted. After the permanent deletion, though, you cannot restore the app.

Therefore, before removing an app from your Firebase project, make sure that permanent deletion of the app from your project is what you really intend."

"How to immediately and permanently delete an app from a Firebase project

If you need to immediately delete an app from a Firebase project, you can do so anytime before Firebase automatically deletes it (which happens 30 days after it's been removed). If you immediately delete an app, the app will be permanently deleted and cannot be restored.

Note that you have to remove the app from your project first and then perform an additional set of actions to delete it immediately.

Follow the instructions above to Remove an app. After removing the app, go back to the Your apps card, and then click Apps pending deletion. In the row for the app that you want to delete immediately, click DELETE NOW. Confirm the changes that will occur with the permanent deletion of the app. Click Delete app permanently."

Remove, restore, or permanently delete an app

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

79149910

Date: 2024-11-02 03:37:18
Score: 3.5
Natty:
Report link

I did download certs for registry using openctl and now it is working fine.

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

79149908

Date: 2024-11-02 03:35:18
Score: 1.5
Natty:
Report link

There is a difference between functional, where functions are first class objects that can be created at run time at any scope in the code, vs pure functional where functions have no side effects.

Regarding the first case, think of C. You can pass around function pointers but all functions are instantiated at compile time and in the global scope; i.e. they are static objects. In Python, at difference, you can create instances of functions anywhere. To do that, the language needs to support the creation of closures.

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

79149901

Date: 2024-11-02 03:24:16
Score: 1.5
Natty:
Report link

The first formula uses (n-1)/(n-k) as the adjustment factor. This does not correctly account for degree of freedom in the denominator, which should be adjusted for both intercept and predictor. The second formular (n-1)/(n-(n+k)) correctly accounts for the degree of freedom, hence gives a more accurate estimate of R-squared.

The second formular aligns with the calculations performed by statsmodels, and other statistical software. This explains why it aligns with your answer.

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

79149895

Date: 2024-11-02 03:21:15
Score: 3.5
Natty:
Report link

What ended up solving this for me was reverting back to an earlier version of node. I had to go from version 22.11.0 to version 20.6.0

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: William Green

79149889

Date: 2024-11-02 03:17:14
Score: 0.5
Natty:
Report link

Pretty late! But if anyone will ever need it, this answer shines a ray of light on it. When RSA encryption is used, then d2i_PUBKEY is used. More rare types of PKCS1 are used with d2i_PublicKey. For future reference, you could look up their GitHub files and try to notice anything there too.

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

79149878

Date: 2024-11-02 03:07:13
Score: 0.5
Natty:
Report link

"WRITE_EXTERNAL_STORAGE is deprecated (and is not granted) when targeting Android 13+. If you need to write to shared storage, use the MediaStore"

As of Android 13, if you need to query or interact with MediaStore or media files on the shared storage, you should be using instead one or more new storage permissions:

  • android.permission.READ_MEDIA_IMAGES
  • android.permission.READ_MEDIA_VIDEO
  • android.permission.READ_MEDIA_AUDIO

Looks like your device is running Android 13+ and that's why you cant request "WRITE_EXTERNAL_STORAGE"

MANAGE_EXTERNAL_STORAGE supersedes WRITE_EXTERNAL_STORAGE & allows broad access to external storage. You don't need WRITE_EXTERNAL_STORAGE if you already have MANAGE_EXTERNAL_STORAGE permission granted.

To publish apps with MANAGE_EXTERNAL_STORAGE permission, you'll need clear justification for requesting it, otherwise the app will be rejected. Since you're not publishing the app on Google Play, it's fine. But those who think MANAGE_EXTERNAL_STORAGE is the alternative to WRITE_EXTERNAL_STORAGE, they're wrong. If they can't clearly justify the need to request MANAGE_EXTERNAL_STORAGE (which most apps can't), their apps will be rejected. Their choice should be either app specific external storage (Android/data/package-name) access or the ones described in documentation above

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

79149877

Date: 2024-11-02 03:06:10
Score: 9 🚩
Natty: 5
Report link

I have a same problem. Are you solved this issue?

Reasons:
  • RegEx Blacklisted phrase (1.5): solved this issue?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have a same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: dongwoo Kwak

79149873

Date: 2024-11-02 03:03:10
Score: 3.5
Natty:
Report link

'ctype'=>'knoxbruhh11' 'cvalue'=>'xybcxaxx' `password'=>'sunnysideup1'

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Solana marie Sorio

79149870

Date: 2024-11-02 02:59:09
Score: 3
Natty:
Report link

ok, I answer it myself after long time no response. I don't know why, but it works after I delete pnpm-lock.yaml.

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

79149869

Date: 2024-11-02 02:58:08
Score: 2.5
Natty:
Report link

As Apple suggest in their docs, you should call AAAttribution.attributionToken() to generate a token then make API call to their server to retreive attributes

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

79149868

Date: 2024-11-02 02:55:08
Score: 0.5
Natty:
Report link
myslide.Shapes.AddOLEObject Filename:=fpath & v1, link:=msoFalse, Displayasicon:=msoTrue, Iconlabel:=summ, IconIndex:=1, IconFileName:="C:\Windows\Installer\{90160000-000F-0000-1000-0000000FF1CE}\xlicons.exe"

This was the set of code that created the objects, but the problem wasn't this. I had some errors in the file names the code was trying to access, like incorrect extension or missing some other separator in the dates of the file name. The only thing I don't understand is why the icon installer was using 2 different icons when it was using the same icon with this path: "C:\Windows\Installer{90160000-000F-0000-1000-0000000FF1CE}\xlicons.exe". That's the one thing I don't understand.

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

79149867

Date: 2024-11-02 02:54:07
Score: 1
Natty:
Report link

from expo site : The SDK 52 beta period begins today and will last approximately two weeks. The beta is an opportunity for developers to test out the SDK and ensure that the new release does not introduce any regressions for their particular systems and app configurations. We will be continuously releasing fixes and improvements during the beta period, some of these may include breaking changes.

SDK 52 beta includes React Native 0.76.0. The full release notes for SDK 52 won't be available until the stable release, but you can browse the changelogs in the expo/expo repo to learn more about the scope of the release and any breaking changes. We'll merge all changelogs into the root CHANGELOG.md when the beta is complete.

https://expo.dev/changelog/2024/10-24-sdk-52-beta

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lily H.

79149860

Date: 2024-11-02 02:51:07
Score: 0.5
Natty:
Report link

When you created the new data directory, MongoDB didn't automatically migrate the existing data from the old directory. This is because MongoDB stores its data in a specific directory, and it expects the data to be in the correct format.

mongod --repair
mongodump -d your_database_name
mongorestore -d your_database_name /path/to/backup
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Ajibola Bello

79149859

Date: 2024-11-02 02:50:06
Score: 0.5
Natty:
Report link

you can also achive this with Stream :

IntStream.rangeClosed(1, 10)
.forEach(i -> {
    System.out.println(
        Collections.nCopies(i, String.valueOf(i))
            .stream()
            .collect(Collectors.joining(" "))
    );
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mohamed amine ben hassen

79149858

Date: 2024-11-02 02:48:06
Score: 2
Natty:
Report link

Elementor - 3.25.3

You just need to head to Elementor's Settings > Features tab > Section: Stable Features and disable the option named Inline Font Icons

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

79149856

Date: 2024-11-02 02:47:06
Score: 0.5
Natty:
Report link

There are two issues associated with your post:

  1. Corrupted Package Files: The CondaVerificationError suggests some files expected within Pytorch are either missing or corrupted. It is either the package installation process was interrupted or incorrectly downloaded.
  2. **Path Conflict: ** The error ClobberError suggest that there is an issue with the file path used. Such error occurs when two try to install files to the same location. In this case the conflict is between jpeg and lipjpeg-turbo, both of which want to use the bin and include folders or directories.

Please take the following steps to resolve the issues:

  1. Clear conda package cache to remove potentially corrupted files. Use the code (bash) conda clean --all
  2. To ensure that you using the latest version of conda, use the update Conda using this code: (bash) conda update conda . This is likely to fix the compatibility issues.
  3. Attempt the installation again by reinstalling with the original command. This is the code conda install pytorch==2.2.0 torchvision==0.17.0 pytorch-cuda=12.1 -c pytorch -c nvidia
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oladimeji Kazeem

79149854

Date: 2024-11-02 02:46:05
Score: 2.5
Natty:
Report link

Try adding an @ComponentScan(basePackages = {"com.xx.xx"}) scan to the entry xxxApplication class of the module reporting the error. I guess the error is caused by not scanning classes or interfaces in other modules.

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

79149830

Date: 2024-11-02 02:28:02
Score: 0.5
Natty:
Report link

A weak symbol will yield "Missing ELF symbol" in gdb. In my case, I linked a binary A against a shared lib B, in which A references weak symbol g_var which defined in B. The unexpected behavior is: the linker auto removed B from the linking libs.

My solution was to add -Wl,--no-as-needed to link options.

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

79149828

Date: 2024-11-02 02:25:01
Score: 1
Natty:
Report link

I think you just have to grant access to your tables or extensions, this has worked for me. GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO authenticated; GRANT SELECT, INSERT, UPDATE, DELETE ON ALL TABLES IN SCHEMA public TO anon;

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

79149820

Date: 2024-11-02 02:11:59
Score: 1
Natty:
Report link

windows console doesn't support Georgian symbols, you can try run your code in built-in console in your ide (i'm using Jetbrains CLion) using next code.

#include <iostream>
#include <windows.h>

int main() {
    SetConsoleOutputCP(CP_UTF8);
    std::cout << "αƒ¨αƒ”αƒ˜αƒ§αƒ•αƒαƒœαƒ” αƒžαƒ˜αƒ αƒ•αƒ”αƒšαƒ˜ αƒͺαƒ˜αƒ€αƒ αƒ˜ : ";
    return 0;
}

image description here

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

79149819

Date: 2024-11-02 02:09:58
Score: 0.5
Natty:
Report link

The idea is in order, however you could apply this approach:

  1. Group Level 1 - Group by number of rows: This is straight - forward and effective. It helps ensures that the sample includes dataframes of different lengths, which could represent various intervals or scales.
  2. Group Level 2 - Group by days using DBSCAN: DBSCAN clustering for days is a good choice because of its robustness for non-uniform data distribution, including arbitrary shapes.
  3. Group Level 3 - Group by parameter values using DBSCAN: Your choice on this is also good. DBSCAN will capture clusters of similar parameter values. Feature scaling be applied (you may try MinMaxScaler) to ensure that each parameter p1, p2, p3 are treated equally in terms of clustering influence. Note that DBSCAN is sensitive to the scale of the input data.
  4. Group Level 4 - Sampling from GL3 Groups: Use Random Sampling for GL3 group to ascertain broad representation. In order to prevent oversampling from certain clusters, diversity could be a choice. To achieve this, you could stratify with additional metadata (you could possibly use avearage or range of days within each GL3 group).
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oladimeji Kazeem

79149807

Date: 2024-11-02 01:57:56
Score: 3.5
Natty:
Report link

echo "Secret: "${{ secrets.My_Seceret }} | base64

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

79149805

Date: 2024-11-02 01:55:55
Score: 0.5
Natty:
Report link

For Xcode 16

~/Library/Developer/Xcode/UserData/Provisioning Profiles

Remove Update

rm -rf ~/Library/Developer/Xcode/UserData/Provisioning\ Profiles

Ref:https://github.com/xamarin/xamarin-macios/issues/20771

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

79149795

Date: 2024-11-02 01:43:54
Score: 2.5
Natty:
Report link

Velo Credit Loan App Customer Care Helpline Number =(O)}((+7439822246=))β„…+/{+9346281901+} Call meVelo Credit Loan App Customer Care Helpline Number =(O)}((+7439822246=))β„…+/{+9346281901+} Call me

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

79149794

Date: 2024-11-02 01:42:53
Score: 3.5
Natty:
Report link

This is a bug and anyone getting this please open a bug report

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

79149788

Date: 2024-11-02 01:31:52
Score: 0.5
Natty:
Report link

Theres no configuration in airflow.cfg to make this act like Apache Kafka, Until Airflow decide to add a config for log retention policy, I usually try not to make things in Airflow complicated to maintain so I pick this easy route so Systems team or Data Analysts in the team can maintain it with less of a senior developer experience.

Usually you go for deleting logs or obsolete DAG_RUN deletion to save space or make Airflow load dags faster and for that you need to make sure Airflow's integrity is not harmed(learned the hard way), while you make unorthodox changes.

Logs in Airflow can be in 3 places, backend DB, log folder(dag logs, scheduler logs, etc) , remote location(not needed in 99% of times).

Make sure to delete old DAG RUNS first and in Database, mine is Postgres and bellow SQL has a purpose and thats to keep me latest 10 "runs" and delete the rest.

Step 1: Deleting data in Backend database(to make airflow faster in loads)

   WITH RankedDags AS (
        SELECT id,  
               ROW_NUMBER() OVER (PARTITION BY dag_id ORDER BY execution_date DESC) AS rn
        FROM public.dag_run
        WHERE (state = 'success' OR state = 'failed')
    )
    DELETE FROM public.dag_run
    WHERE id IN (
        SELECT id
        FROM RankedDags
        WHERE rn > 10
    );

You can also pick a date and instead of above, use the result of a select query like bellow to only delete the old ones, I usually dont do this as I have dags that run each year or month and I want to know how those looked in their first run:

 SELECT *
FROM public.dag_run f
WHERE (f.state = 'success' OR f.state = 'failed')
  AND DATE(f.execution_date) <= CURRENT_DATE - INTERVAL '15 days';

Step 2: remove the scheduler logs(these are the logs that waste so much space and dont worry, nothing is gonna happen) Just dont delete the folder that has 'latest' shortcut

root@airflow-server:~/airflow/logs/scheduler# ll
drwxr-xr-x 3 root root 4096 Sep 24 20:00 2024-09-25
drwxr-xr-x 3 root root 4096 Sep 25 20:00 2024-09-26
drwxr-xr-x 3 root root 4096 Sep 26 20:00 2024-09-27
drwxr-xr-x 3 root root 4096 Sep 30 10:57 2024-09-30
drwxr-xr-x 7 root root 4096 Oct 31 20:00 2024-11-01
lrwxrwxrwx 1 root root   10 Oct 31 20:00 latest -> 2024-11-01

# rm -rf 2024-09-*

Now you have at least 80% of your logs deleted and must be satisfied, but if you want to go further you can write a bash script to traverse through your /root/airflow/logs/dag_id* to find folders or files within those that have old modified data. even if you past the Step 1 and 2 and you delete the dirs mentioned you only lose the details of logs within each task instance logs.

Also you can take measures like changing all log levels to 'ERROR' inside airflow.cfg to lighten the app.

You can always make above steps into an ETL to run automatically, but as disk is cheap and 30GB disk can easily store more than 10,000 complex dag_runs with heavy spark logs, you really just need to spend 30 minutes every other month to clean the scheduler logs.

Reasons:
  • Blacklisted phrase (1): I want to know
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Aramis NSR

79149787

Date: 2024-11-02 01:31:52
Score: 2
Natty:
Report link

For somebody facing the same issue at this day and age (been 9 years since the question was asked), JScript has a builtin Array.prototype.at() that serves that exact purpose, so, from the OP's code:

For i = 0 To myArray.length - 1
    Response.Write(myArray.at(i))
Next

Without any need for extra-do's. I think this should have worked back when the question was asked as I believe the implementation hasn't changed ECMA edition since then.

For what Microsoft claims, JScript is an implementation of ECMAScript3 (web archive), so hopefully anything in MDN that claims to be ECMAScript3 compatible should work in JScript and even nowadays MDN is a great (and up-to-date!) reference for JScript syntax.

Maybe the very best, maintained, and specific documentation for ECMAScript edition 3, or ECMA-262 is available at https://tc39.es/ecma262/

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (0.5):
Posted by: Avenger

79149784

Date: 2024-11-02 01:30:51
Score: 2
Natty:
Report link

I wrote a small C program that lists all Windows locales, LCID, and associated character encodings (and windows code pages).

The code is available on Github: https://github.com/lovasoa/lcid-to-codepage

The resulting exhaustive mapping between LCID and charset is visible here as a CSV: https://github.com/lovasoa/lcid-to-codepage/blob/main/windows_locales_extended.csv

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: lovasoa

79149773

Date: 2024-11-02 01:15:49
Score: 1.5
Natty:
Report link

Currently, the View() function in R does not have the ability to show id when you scroll to the right But if you really need it, you can duplicate the id column and put it in a later column order

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

79149772

Date: 2024-11-02 01:12:48
Score: 2.5
Natty:
Report link

This helps specially to those Delphi beginners learning the cloud storage and its accessibility. And at the same time providing further direction to actual video reference on how to actually complete the task.

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

79149770

Date: 2024-11-02 01:12:48
Score: 3
Natty:
Report link

It's working for me after I removed my phone number from phone numbers for testing (optional) from sign-in methods and also my plan is Blaze.

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

79149757

Date: 2024-11-02 00:56:46
Score: 4
Natty:
Report link

The Milvus Java SDK has it https://milvus.io/api-reference/java/v2.4.x/v2/Client/MilvusClientV2.md

Either option is a good option.

I created an issue in the langchain4j project, please add to it.

https://github.com/langchain4j/langchain4j/issues/2020

Reasons:
  • RegEx Blacklisted phrase (1): I created an issue in the langchain4j project, please
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Tim Spann

79149756

Date: 2024-11-02 00:55:46
Score: 3.5
Natty:
Report link

https://gitlab.alpinelinux.org/alpine/aports/-/issues/9191

Alpine uses musl, which does not implement required bindings for gprof

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

79149718

Date: 2024-11-02 00:20:40
Score: 1.5
Natty:
Report link

sagemaker.huggingface.HuggingFaceModel can handle S3 path for the model_data argument, as explained in this sample.

As you are using custom image with image_uri, it is likely that the image is not compatible with the SageMaker, and it is not trying to handle entry point script you specified.

To isolate the problem, please try to change your code to use SageMaker's official image. Then investigate why your custom image is not loading the entry point script.

See also:

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): can
  • Low reputation (0.5):
Posted by: Tomonori Shimomura

79149703

Date: 2024-11-02 00:05:38
Score: 2
Natty:
Report link

That message usually suggests that you have a problem with your cache or cookies, so try pressing Ctrl + F5 to load all website files from the source, ignore the cache, or clear the browser cache.

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

79149702

Date: 2024-11-02 00:05:38
Score: 2.5
Natty:
Report link

Did you set a minimum instance? If so, even if you are under the free tier, you need to add a valid billing account.The new version, are basically cloud run functions in GCP, when you upgrade you need to have a valid billing account.

Details: https://firebase.google.com/docs/functions/version-comparison

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Chaotic Pechan

79149690

Date: 2024-11-01 23:57:36
Score: 0.5
Natty:
Report link

I suggest double-checking the permissions for your target project.

roles/cloudsql.editor (or roles/cloudsql.admin): Confirm this role is assigned to your service account in the target project (preprod_id). This role is crucial for creating new Cloud SQL instances.

If you are sure this is done correctly, review whether you have VPC access controls and grant necessary access within the perimeter.

You can review the permissions of a project:

gcloud projects get-iam-policy $preprod_id --flatten="bindings[].members"
--format='table(bindings.role:sort=1, bindings.members)'

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

79149686

Date: 2024-11-01 23:54:36
Score: 2
Natty:
Report link

I decided the best solution to this problem was to refresh the project workspace but this solution didn't get to the bottom of the issue why the tests were not running in Intellij.

The steps I took were:

  1. Checked in my code changes into the project on GITHub.
  2. Deleted the project from my workspace.
  3. Restored the project workspace from the GITHub.
  4. Checked out the project branch I was working on.

This has resolved the problem and Intellij tests now run.

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

79149683

Date: 2024-11-01 23:50:33
Score: 6.5 🚩
Natty: 5.5
Report link

Yep, that works... but what if there are 8000 items?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Ibra

79149681

Date: 2024-11-01 23:49:32
Score: 4.5
Natty: 4
Report link

Ain't no way Darth Vader in that class

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

79149677

Date: 2024-11-01 23:44:29
Score: 7 🚩
Natty: 4.5
Report link

We do not have the mode set as a developer, and the setup is the same as described here: developer.apple.com/library/archive/documentation/General/… but it still does not work for enterprise. Has anyone ever found a solution?

Reasons:
  • RegEx Blacklisted phrase (3): Has anyone ever
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dragon123

79149674

Date: 2024-11-01 23:43:28
Score: 2
Natty:
Report link

Have you tried adding 1 to the binary indicators (so that they're 1/2 respectively)? Not sure if the same applies here, but LCA models that I've run in poLCA have issues with zeros in the dataset.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MRW

79149670

Date: 2024-11-01 23:41:28
Score: 2
Natty:
Report link

Try using route.request

def handle_request(route):
    headers = route.request.headers
    if "match_string" in route.request.url:
        headers['custom_header_1'] = 'value_!23'
    route.continue_(headers=headers)

See also this sample from the official documentation:

https://playwright.dev/python/docs/network#modify-requests

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

79149655

Date: 2024-11-01 23:33:26
Score: 2.5
Natty:
Report link

Apparently the action name changed to bulk_actions-woocommerce_page_wc-orders

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ali noori

79149613

Date: 2024-11-01 23:02:20
Score: 3
Natty:
Report link

As of November 2024, such a tool does NOT exist!

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

79149611

Date: 2024-11-01 23:00:20
Score: 3
Natty:
Report link

You might consider having a look at the FPDF_ImportPages api found in the fpdf_ppo.h public header. I think it might do most of the heavy lifting of what you are trying to do

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

79149594

Date: 2024-11-01 22:48:17
Score: 1.5
Natty:
Report link
<?php if (isMobile) {}

Answer is the line above, - it contains isMobile, which should be either variable or constant, turned out missed $ before isMobile

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

79149591

Date: 2024-11-01 22:44:17
Score: 3
Natty:
Report link

When I tried this solution enter image description here I was unsure if it worked. The result is: Google Ads Still Running - solution adding AW- is correct?

Reasons:
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (0.5):
Posted by: Marcin Milowski

79149581

Date: 2024-11-01 22:40:16
Score: 3.5
Natty:
Report link

I was able to resolve this by using the dial verb to call another twilio number linked to the voice bot and using the record parameter on that Dial verb

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

79149568

Date: 2024-11-01 22:32:14
Score: 0.5
Natty:
Report link

I have an update, I can see the nested datagrid now in the second cell but I can't use colspan for dynamic col and also the height dont change so for now I need just to adjust the height and the width of the cell if the row is added

"use client";
import * as React from "react";
import { DataGrid } from "@mui/x-data-grid";
import Box from "@mui/material/Box";
import SubTaskTable from "./SubTaskTable";

export default function TaskTable({ tasks }) {
  const [expandedTaskId, setExpandedTaskId] = React.useState(null);

  const columns = [
    { field: "title", headerName: "Titre", width: 200 },
    {
      field: "description",
      headerName: "Description",
      width: 300,
      renderCell: (params) => {
        if (params.row.isSubTask) {
          return (
            <Box
              sx={{
                gridColumn: `span ${columns.length}`, 
                bgcolor: "rgba(240, 240, 240, 0.5)",
                padding: 2,
                textAlign: "center",
                fontWeight: "bold",
                minHeight: 250, 
                display: "flex",
                alignItems: "center",
                justifyContent: "center",
              }}
            >
              <SubTaskTable subTasks={params.row.subTasks || []} />
            </Box>
          );
        }
        return params.value;
      },
    },
    { field: "status", headerName: "Statut", width: 120 },
    { field: "priority", headerName: "PrioritΓ©", width: 120 },
    { field: "startDate", headerName: "Date de dΓ©but", width: 150 },
    { field: "dueDate", headerName: "Date de fin", width: 150 },
    { field: "createdAt", headerName: "Créé le", width: 150 },
    { field: "updatedAt", headerName: "Mis Γ  jour le", width: 150 },
    {
      field: "files",
      headerName: "Fichiers",
      width: 200,
      renderCell: (params) => (
        <ul>
          {(params.value || []).map((file, index) => (
            <li key={index}>
              <a href={file.url} target="_blank" rel="noopener noreferrer">
                {file.name}
              </a>
            </li>
          ))}
        </ul>
      ),
    },
  ];

  const handleRowClick = (params) => {
    setExpandedTaskId((prevId) => (prevId === params.row.id ? null : params.row.id));
  };

  const rows = tasks.flatMap((task) => {
    const mainRow = {
      id: task._id,
      title: task.title,
      description: task.description,
      status: task.status,
      priority: task.priority,
      startDate: task.startDate ? new Date(task.startDate).toLocaleDateString() : "N/A",
      dueDate: task.dueDate ? new Date(task.dueDate).toLocaleDateString() : "N/A",
      createdAt: task.createdAt ? new Date(task.createdAt).toLocaleDateString() : "N/A",
      updatedAt: task.updatedAt ? new Date(task.updatedAt).toLocaleDateString() : "N/A",
      files: task.files || [],
    };

    if (task._id === expandedTaskId) {
      return [
        mainRow,
        {
          id: `${task._id}-subTask`,
          isSubTask: true,
          title: "",
          description: "",
          subTasks: task.subTasks || [],
        },
      ];
    }

    return [mainRow];
  });

  return (
    <Box sx={{ width: "100%" }}>
      <DataGrid
        rows={rows}
        columns={columns}
        pageSize={5}
        getRowId={(row) => row.id}
        onRowClick={(params) => {
          if (!params.row.isSubTask) handleRowClick(params);
        }}
        sx={{
          "& .MuiDataGrid-row.isSubTask .MuiDataGrid-cell": {
            display: "none",
          },
          "& .MuiDataGrid-row.isSubTask .MuiDataGrid-cell--withRenderer": {
            display: "block",
            gridColumn: `span ${columns.length}`,
          },
          "& .MuiDataGrid-row.isSubTask": {
            bgcolor: "rgba(240, 240, 240, 0.5)",
          },
        }}
      />
    </Box>
  );
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Khaoula EL MOUANNISS

79149567

Date: 2024-11-01 22:32:14
Score: 1
Natty:
Report link

Under MacOS Sequoya 15 i use xxd to determine keybindings for current keymode with terminal settings etc

for iterm2 in ~/.zshrc i need:

bindkey '^[[1;9C' forward-word
bindkey '^[[1;9D' backward-word

and for alacrtitty and tmux in default i use

bindkey '^[[1;3C' forward-word
bindkey '^[[1;3D' backward-word

Reasons:
  • Blacklisted phrase (0.5): i need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: lain0

79149565

Date: 2024-11-01 22:31:14
Score: 3
Natty:
Report link

hardware problem. I bought a new Macbook.

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

79149550

Date: 2024-11-01 22:23:12
Score: 2.5
Natty:
Report link

Fixed.

There is an advanced migration setting in DMS, and I can update the connection size; otherwise, it will be determined by the run time, which is 8.

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

79149535

Date: 2024-11-01 22:16:11
Score: 2
Natty:
Report link

You're trying to decode an audio/mpeg file and sound it to the speaker which supports audio/raw. This translation is not automatically supported by the emulator. Try playing instead a file which would use the same source and target codecs like raw PCM wav file, and see what happens

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

79149532

Date: 2024-11-01 22:15:11
Score: 1.5
Natty:
Report link

So it was really a very stupid mistake.

Our filestructure:

src/js/event-webcomponents.js

and in the package.js the module attribute was still pointing to the old name of the file: "module": "src/js/events-webcomponents.js",

classic typo...

Unfortunatley the typescript "Module not found: Error" message is not very helpfull in this case. But if you have a similar issue, it is worth to tripple check all your paths.

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): have a similar issue
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Andreas

79149531

Date: 2024-11-01 22:15:11
Score: 3
Natty:
Report link

So the actual issue had nothing to with this method which you all were right. The issue that I was stuck on for almost 4 days was because I didn’t correctly name a variable which was causing this error in my program. I appreciate all of your help and advice.

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

79149527

Date: 2024-11-01 22:13:10
Score: 0.5
Natty:
Report link

This is an improvement on @jpydymond's answer, as it corrects for the problem where the internal value of sub-decimal '.xxxx5' can really be '.xxxx499999...'. That can cause his 'round(123.335,2)' to return 123.33 instead of the desired 123.34. The snippet fixes that and also constrains to the limit of 0...9 decimal places due to 64-bit precision limits.

public static double round (double value, int decimalPlaces) {
    if(decimalPlaces < 0 || decimalPlaces > 9) {
        throw new IllegalArgumentException("The specified decimalPlaces must be between 0 and 9 (inclusive).");
    }
    int scale = (int) Math.pow(10, decimalPlaces);
    double scaledUp = value * scale;
    double dec = scaledUp % 1d;
    double fixedDec = Math.round(dec*10)/10.;
    double newValue = scaledUp+fixedDec;

    return (double) Math.round( newValue )/scale;
}

Sample output:

round(265.335,0)          = 266.0
round(265.335,2)          = 265.34
round(265.3335,3)         = 265.334
round(265.3333335,6)      = 265.333334
round(265.33333335,7)     = 265.3333334
round(265.333333335,8)    = 265.33333334
round(265.3333333335,9)   = 265.333333334
round(1265.3333333335,9)   = 1265.333333334
round(51265.3333333335,9)   = 51265.333333334
round(251265.3333333335,9)   = 251265.333333334
round(100251265.3333333335,9)   = 1.0025126533333333E8
round(0.1,0) = 0.0
round(0.1,5) = 0.1
round(0.1,7) = 0.1
round(0.1,9) = 0.1
round(16.45,1) = 16.5

I hope this is helpful.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @jpydymond's
  • Low reputation (1):
Posted by: Mel Martinez

79149519

Date: 2024-11-01 22:06:08
Score: 3
Natty:
Report link

For me running on android 14 it seems to be between 33f and 35f depends on the phone? not sure why but this is really annoying for me because I need a precise location across all phones.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Fahad Alkamli

79149510

Date: 2024-11-01 22:02:07
Score: 3
Natty:
Report link

Super simple, just let it close the issue then reopen it manually.

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

79149509

Date: 2024-11-01 22:02:06
Score: 4
Natty:
Report link

This is essentially a non answer. Basically saying its a network issue without any information about how to go about diagnosing or resolving. Resolve connectivity between what two points? I mean it's likely a network issue but how would you find the issue.

Reasons:
  • Blacklisted phrase (1): how would you
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user3229387

79149508

Date: 2024-11-01 22:01:06
Score: 3.5
Natty:
Report link

update: it worked after instaling this buildpack

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

79149497

Date: 2024-11-01 21:56:05
Score: 1
Natty:
Report link

Option: Using :focus pseudo-class

Your CSS already defines styles for the .btn-primary:focus state. You can add the outline: none; property to remove the default browser outline:

.btn-primary:focus {
  outline: none !important;  
  box-shadow: none !important;
  background-color: #b80c09;
}

Also check the cache in the browser, is there any conflicting styles in Bootstrap that is why I put !important to override.

The :focus pseudo-class applies styles when an element receives focus and the outline property controls the outline around an element when focused.

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hamza Crnovrsanin

79149496

Date: 2024-11-01 21:54:05
Score: 0.5
Natty:
Report link

This depends on the set-top box you're using. Not all settop-boxes will support device rotation. If you think about it - there is no sense to it, as a user will not typically rotate a settop-box connected to a tv :) This is to the discretion of the Settop-box developer if they want to support it or not. I would try to find and install a number of 3rd party apps which rotates the display and work on regular smartphones, and test them on the same set top box. This will give you a good idea, or if you can - contact the developer of the set top box and ask them.

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

79149490

Date: 2024-11-01 21:52:04
Score: 1
Natty:
Report link

File->Info->Edit Links to Files

Edit Links Button

Then there should be a button that say "Break Link". Confirm when asked "Are you sure?".

Break Link Button

After you've broken the link, if you want to be able to edit the data in the future, you'll need to use "Change Source" relink it to either the original Excel file, or a copy that you saved to preserve the state of the data when you created the chart. Breaking the link does not seem to automatically create a chart-specific local copy of the Excel spreadsheet that was used to make it.

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

79149489

Date: 2024-11-01 21:52:04
Score: 0.5
Natty:
Report link

Use @JsonFormat annotation:

@JsonFormat(shape = JsonFormat.Shape.STRING)
protected InputTypeEnum inputType;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @JsonFormat
  • High reputation (-1):
Posted by: kapandron

79149483

Date: 2024-11-01 21:47:03
Score: 1
Natty:
Report link

This issue can happen when you upgrade php version. DevServer17 does not update correctly. I faced the same problem when upgrading php5 to php7 and then php8.

To fix the problem, perform the following steps.

  1. Delete (or better, move somewhere else) the older php folders located in: C:\Program Files (x86)\EasyPHP-Devserver-17\eds-binaries\php\

  2. Insert the correct php version in the server folder: C:\Program Files (x86)\EasyPHP-Devserver-17\eds-binaries\httpserver\apache2425vc11x86x241027114803\conf (note: apache2425vc11x86x241027114803 is the latest folder I installed, the name may vary depending on the version you are installing) by modifying the files "httpd.conf" and "httpd-php.conf" Insert correct php folder path in the server httpf conf files

  3. Launch the dashboard. Devserver will prompt a warning related to the http server. Click on the tooth gear icon http server warning

  4. Select the newly installed php version select latest php version

Everything should work fine now!

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

79149475

Date: 2024-11-01 21:39:02
Score: 2
Natty:
Report link
if ( { command-list } ) then
    echo "success"
endif
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nicholas Christopoulos

79149464

Date: 2024-11-01 21:32:00
Score: 0.5
Natty:
Report link

Excellent question, to begin let's start at a common ground with CRUD:

In CRUD, we lay our application's methods out like such:

The second method 'Read' is essentially what you want to do against the User table in your database or object store.

In your read function rather than searching for

where user.twitterId == 'mySearch'

Instead do

where user.twitterId LIKE '%mySearch%'

The first would restrict your users to knowing IDs exactly, whereas the second gives leeway yet may be slow; thus begins your optimisation journey via tweaking

  1. The query (query optimisation)
  2. Where you store the results (caching/sharding)
  3. When do you run the query (runtime optimisation)

To answer your question, yes twitter may be querying a list of you and/or your friends followers on app startup or slowly as you use it, which is their solution in runtime optimisation.

Perhaps in your app each post retrieved will come with their top 5 contributiors which are added to relevant Ids to search.

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

79149455

Date: 2024-11-01 21:27:59
Score: 0.5
Natty:
Report link

You could add each trace a loop.

fig = make_subplots(rows=1, cols=2)

for trace in p3().data:
    fig.add_trace(trace,
                  row=1, col=1
                  )

for trace in p2().data:
    fig.add_trace(trace,
                  row=1, col=2
                  )

fig.update_layout(height=600, width=800, title_text="Side By Side Subplots")
fig.show()

fig

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: amance

79149443

Date: 2024-11-01 21:19:57
Score: 2
Natty:
Report link

The problem is likely caused by the vite SSR step. Edit your vite.config.ts with:

... defineConfig({
  plugins: [ ... ],
  ssr: {
    noExternal: [
      "some-lib,
    ],
  },
})

Similar issue here: https://github.com/vitejs/vite/discussions/16190

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

79149437

Date: 2024-11-01 21:16:57
Score: 1
Natty:
Report link

Try with the spark.jars.packages property.

spark = SparkSession.builder.master("local[*]") \
.appName('Db2Connection') \
.config('spark.jars.packages', 'com.springml:spark-salesforce_2.12:1.1.4') \
.getOrCreate()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dominik Lenda

79149436

Date: 2024-11-01 21:16:57
Score: 1.5
Natty:
Report link

const arr1 = [10, 20, 30, 40, 50];

const res = arr1.at(2);
console.log(res);

Javascript Error

Line Number: 180

Uncaught TypeError: List._items.at is not a function -------------- if (List._items.at(-1).type == 3) {

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Filler text (0.5): --------------
  • Low reputation (1):
Posted by: Hossain Mohammad Nayem

79149428

Date: 2024-11-01 21:12:56
Score: 1.5
Natty:
Report link

In short, if you get this stupid error when building Android in Unity, just go to the project settings, find the Android build there and check the Custom Main Gradle Template and Custom Gradle Settings Template. I hope this will help you too. Wasted three days on this.

Reasons:
  • Whitelisted phrase (-1): hope this will help
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: АртСм ΠšΠ°Ρ€Π°ΠΌΠ°Π»Π°ΠΊ

79149426

Date: 2024-11-01 21:10:55
Score: 0.5
Natty:
Report link

Adding dayjs to optimizeDeps on vite.config.ts did the work for me:

export default defineConfig({
  // ...config
  ssr: {
    optimizeDeps: {
      include: ['dayjs'],
    },
  },
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: vicvans20

79149424

Date: 2024-11-01 21:09:54
Score: 0.5
Natty:
Report link

With help from the Jackson community:

When calling the ObjectMapper:

return objectMapper
            .writer()
            .withAttribute(MaskingSerializer.JSON_MASK_ENABLED_ATTRIBUTE, Boolean.TRUE)
            .writeValueAsString(entity);

and in the serializer:

if (serializerProvider.getAttribute(JSON_MASK_ENABLED_ATTRIBUTE) == Boolean.TRUE) {
        jsonGenerator.writeString(RegExUtils.replaceAll(value, ".", "*"));
} else {
        jsonGenerator.writeString(value);
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: JasonBodnar

79149414

Date: 2024-11-01 21:03:53
Score: 3
Natty:
Report link

The official docs say to put a 1 in front of the smtp address, so: 1 smtp.google.com

Set TTL to 1hr (3600 seconds)

enter image description here

https://apps.google.com/supportwidget/articlehome?hl=en&article_url=https%3A%2F%2Fsupport.google.com%2Fa%2Fanswer%2F174125%3Fhl%3Den&assistant_event=welcome&assistant_id=gsuitemxrecords-gixvmm&product_context=174125&product_name=UnuFlow&trigger_context=a

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

79149412

Date: 2024-11-01 21:02:52
Score: 4
Natty: 4
Report link

save them as a .txt file then load as a array

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

79149410

Date: 2024-11-01 21:02:52
Score: 1.5
Natty:
Report link

What you are looking for is sparse checkout. git-scm.com/docs/git-sparse-checkout – eftshift0

git sparse-checkout set <unwanted-folder>

This resolved my issues since it stops tracking unwanted folders on my checked-out branch but kept them on remote product branch.

git sparse-checkout disable

to disable this configuration on my local environment

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

79149408

Date: 2024-11-01 21:01:52
Score: 2
Natty:
Report link

I found a solution in scss file:

  ::ng-deep .cdk-overlay-container {
    z-index: 10001 !important;
  }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: midoxy

79149395

Date: 2024-11-01 20:56:50
Score: 0.5
Natty:
Report link

Here's a version which generates a tmp dir, and atexit runs cleanup

import atexit
import tempfile

temp_dir = tempfile.TemporaryDirectory()
os.environ["PROMETHEUS_MULTIPROC_DIR"] = temp_dir.name
atexit.register(temp_dir.cleanup)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jm-nab

79149394

Date: 2024-11-01 20:56:50
Score: 2.5
Natty:
Report link

IF NOTHING HELPED YOU

Just restart your PC :) then it works

in my case, the Windows didn't let me even to delete `.output` folder. but with restart everything fixed
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: mohammad pourmami

79149393

Date: 2024-11-01 20:56:50
Score: 2
Natty:
Report link

try to substitute testbutton.addEventListener('click', testaudio.play()) with testbutton.addEventListener('click', () => {testaudio.play()})

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

79149385

Date: 2024-11-01 20:52:47
Score: 8 🚩
Natty: 6
Report link

This isn't an answer but I am stuck on this and StackOverflow won't let me comment. As an aside, how can we obtain the accountId and the locationId? I get lost at this step

Reasons:
  • Blacklisted phrase (1): how can we
  • Blacklisted phrase (1): StackOverflow
  • RegEx Blacklisted phrase (1): StackOverflow won't let me comment
  • RegEx Blacklisted phrase (1.5): I am stuck
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: bohrees

79149377

Date: 2024-11-01 20:50:46
Score: 2
Natty:
Report link

//@version=5 study("NVDA Closing Price")

// Getting the closing price nvda_close = close

// Plotting the closing price plot(nvda_close, title="NVDA Close", color=color.blue, linewidth=2) or //@version=5 study("NVDA Closing Price")

// Getting closing price for different timeframe nvda_close = request.security(syminfo.tickerid, "240", close) // For 4-hour closing price

plot(nvda_close, title="NVDA Close", color=color.blue, linewidth=2)

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

79149376

Date: 2024-11-01 20:49:46
Score: 5
Natty:
Report link

Your Output Result Is: abcdefghijklmnopqrstuvwxyz Correct?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: M. R. Tanvir H.

79149373

Date: 2024-11-01 20:47:45
Score: 3.5
Natty:
Report link

Ctrl + But Only in the Keyboard, not in Numpad.

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

79149367

Date: 2024-11-01 20:43:45
Score: 0.5
Natty:
Report link

For sure I would try to find a better way but... Not sure if you can add a variable boolean success to avoid it but you can build it get the value and continue with another builder instance:

Something temp= builder.build();
boolean success= temp.isSuccess();
builder= temp.toBuilder(); 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Martin P.

79149362

Date: 2024-11-01 20:41:44
Score: 0.5
Natty:
Report link

You can even open this math.h file and look at the prototypes.

This is by no means certain. The C language does not require

Can you help me where can I find the declaration of sin function of math.h file.

On Debian Linux, you're almost certainly using the GNU C library. In its math.h, you will find some directives of the form

#include <bits/mathcalls.h>

These each bring in the contents of the designated file, expanded according to different sets of macro definitions. The resulting macro-expanded declarations in my copy of Glibc include (reformatted):

extern double cos(double __x) __attribute__ ((__nothrow__ , __leaf__));
extern double sin(double __x) __attribute__ ((__nothrow__ , __leaf__));
extern double tan(double __x) __attribute__ ((__nothrow__ , __leaf__));
extern double pow(double __x, double __y) __attribute__ ((__nothrow__ , __leaf__));

Do not concern yourself with the __attribute__ stuff. That's a GNU extension that you don't need to know or care about at this point in your journey.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you help me
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: John Bollinger

79149361

Date: 2024-11-01 20:41:44
Score: 1
Natty:
Report link

I modified the DataSource and created Job Repository bean as you suggest, and I was able to advance, that exception disappeared, but I got the exception below.

 .   ____          _            __ _ _

/\ / ' __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ' / ` | \ \ \
\/ __)| |)| | | | | || (
| | ) ) ) ) ' || .__|| ||| |_, | / / / / =========||==============|/=//// :: Spring Boot :: (v3.2.10)

2024-11-01T16:08:47.115-04:00 INFO 20812 --- [ main] c.e.b.BatchProcessingApplication : Starting BatchProcessingApplication using Java 22 with PID 20812 (D:\User\Gilmar\git-repo\spring-batch-mastery\spring-batch-initial\target\classes started by Gilmar in D:\User\Gilmar\git-repo\spring-batch-mastery\spring-batch-initial) 2024-11-01T16:08:47.117-04:00 INFO 20812 --- [ main] c.e.b.BatchProcessingApplication : No active profile set, falling back to 1 default profile: "default" 2024-11-01T16:08:47.804-04:00 WARN 20812 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'batchConfiguration' of type [com.example.batchprocessing.BatchConfiguration$$SpringCGLIB$$0] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [jobRegistryBeanPostProcessor] is declared through a non-static factory method on that class; consider declaring it as static instead. 2024-11-01T16:08:47.828-04:00 WARN 20812 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'jobRegistry' of type [org.springframework.batch.core.configuration.support.MapJobRegistry] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected into a currently created BeanPostProcessor [jobRegistryBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies. 2024-11-01T16:08:47.898-04:00 INFO 20812 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2024-11-01T16:08:48.361-04:00 INFO 20812 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@150ede8b 2024-11-01T16:08:48.364-04:00 INFO 20812 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2024-11-01T16:08:48.387-04:00 INFO 20812 --- [ main] c.e.batchprocessing.BatchConfiguration : jobTemplate running 2024-11-01T16:08:48.402-04:00 INFO 20812 --- [ main] c.e.batchprocessing.BatchConfiguration : FlatFileItemReader 2024-11-01T16:08:48.418-04:00 INFO 20812 --- [ main] c.e.batchprocessing.BatchConfiguration : PersonItemProcessor 2024-11-01T16:08:48.438-04:00 INFO 20812 --- [ main] c.e.batchprocessing.BatchConfiguration : JdbcBatchItemWriter 2024-11-01T16:08:48.461-04:00 INFO 20812 --- [ main] o.s.b.c.r.s.JobRepositoryFactoryBean : No database type set, using meta data indicating: MYSQL 2024-11-01T16:08:48.518-04:00 INFO 20812 --- [ main] c.e.batchprocessing.BatchConfiguration : step1 2024-11-01T16:08:48.577-04:00 INFO 20812 --- [ main] c.e.batchprocessing.BatchConfiguration : importUserJob 2024-11-01T16:08:48.602-04:00 WARN 20812 --- [ main] s.c.a.AnnotationConfigApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobExplorer' defined in class path resource [com/example/batchprocessing/BatchConfiguration.class]: Failed to instantiate [org.springframework.batch.core.explore.JobExplorer]: Factory method 'jobExplorer' threw exception with message: To use the default configuration, a data source bean named 'dataSource' should be defined in the application context but none was found. Override getDataSource() to provide the data source to use for Batch meta-data. 2024-11-01T16:08:48.603-04:00 INFO 20812 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2024-11-01T16:08:48.616-04:00 INFO 20812 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 2024-11-01T16:08:48.625-04:00 INFO 20812 --- [ main] .s.b.a.l.ConditionEvaluationReportLogger :

Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2024-11-01T16:08:48.655-04:00 ERROR 20812 --- [ main] o.s.boot.SpringApplication : Application run failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jobExplorer' defined in class path resource [com/example/batchprocessing/BatchConfiguration.class]: Failed to instantiate [org.springframework.batch.core.explore.JobExplorer]: Factory method 'jobExplorer' threw exception with message: To use the default configuration, a data source bean named 'dataSource' should be defined in the application context but none was found. Override getDataSource() to provide the data source to use for Batch meta-data. at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:648) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:485) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1355) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1185) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:337) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:335) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:971) ~[spring-context-6.1.13.jar:6.1.13] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:625) ~[spring-context-6.1.13.jar:6.1.13] at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754) ~[spring-boot-3.2.10.jar:3.2.10] at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456) ~[spring-boot-3.2.10.jar:3.2.10] at org.springframework.boot.SpringApplication.run(SpringApplication.java:335) ~[spring-boot-3.2.10.jar:3.2.10] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1363) ~[spring-boot-3.2.10.jar:3.2.10] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1352) ~[spring-boot-3.2.10.jar:3.2.10] at com.example.batchprocessing.BatchProcessingApplication.main(BatchProcessingApplication.java:11) ~[classes/:na] Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.batch.core.explore.JobExplorer]: Factory method 'jobExplorer' threw exception with message: To use the default configuration, a data source bean named 'dataSource' should be defined in the application context but none was found. Override getDataSource() to provide the data source to use for Batch meta-data. at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:178) ~[spring-beans-6.1.13.jar:6.1.13] at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:644) ~[spring-beans-6.1.13.jar:6.1.13] ... 18 common frames omitted Caused by: org.springframework.batch.core.configuration.BatchConfigurationException: To use the default configuration, a data source bean named 'dataSource' should be defined in the application context but none was found. Override getDataSource() to provide the data source to use for Batch meta-data. at org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.getDataSource(DefaultBatchConfiguration.java:250) ~[spring-batch-core-5.1.2.jar:5.1.2] at org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobExplorer(DefaultBatchConfiguration.java:172) ~[spring-batch-core-5.1.2.jar:5.1.2] at com.example.batchprocessing.BatchConfiguration$$SpringCGLIB$$0.CGLIB$jobExplorer$21() ~[classes/:na] at com.example.batchprocessing.BatchConfiguration$$SpringCGLIB$$FastClass$$1.invoke() ~[classes/:na] at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258) ~[spring-core-6.1.13.jar:6.1.13] at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:348) ~[spring-context-6.1.13.jar:6.1.13] at com.example.batchprocessing.BatchConfiguration$$SpringCGLIB$$0.jobExplorer() ~[classes/:na] at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) ~[na:na] at java.base/java.lang.reflect.Method.invoke(Method.java:580) ~[na:na] at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:146) ~[spring-beans-6.1.13.jar:6.1.13] ... 19 common frames omitted

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Filler text (0.5): =========
  • Filler text (0): ==============
  • Low reputation (1):
Posted by: Joseph

79149356

Date: 2024-11-01 20:37:44
Score: 2
Natty:
Report link

One funny way is to use json_encode()

json_encode($float, JSON_PRESERVE_ZERO_FRACTION)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mychi Darko

79149354

Date: 2024-11-01 20:37:43
Score: 1
Natty:
Report link

You can also get this error if the role isn't granted USAGE on the file format.

If that's the case

GRANT USAGE ON FILE FORMAT MY_CSV_UNLOAD_FORMAT TO ROLE MY_ROLE_NAME
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: nijave

79149346

Date: 2024-11-01 20:34:43
Score: 1
Natty:
Report link

in my case it wasn't workinkg even if I changed the name! even I tried removing the package name from dependecies! But after a while I tried deleting the folder with the package name in node_modules folder and remove the package name from dependecies then I run npm i and it worked!

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

79149342

Date: 2024-11-01 20:33:42
Score: 3.5
Natty:
Report link

Just add Input layer to your model with the same shape (4,). Then it should work.

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

79149339

Date: 2024-11-01 20:31:42
Score: 1.5
Natty:
Report link

OK, this is one of the craziest things I have ever seen, not documented at all! The problem stems from the fact that both asset packs contain the same suffix!!!! both long and notlong end with "long"!!! This is the whole issue!!!! If I ever wanted to bang my head over a wall now is the time :) hope this will save frustration for someone who encounters this unbelievable issue

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

79149335

Date: 2024-11-01 20:31:42
Score: 2
Natty:
Report link
Date.new(2024, 10, 20).to_time(:utc).at_middle_of_day
  # => 2024-10-20 12:00:00 UTC

Docs: Date#to_time, Time#at_middle_of_day

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

79149330

Date: 2024-11-01 20:29:41
Score: 1.5
Natty:
Report link

To resolve the issue with multiple videos freezing on the same page, ensure that each video element has a unique ID. Additionally, adding the muted attribute to each video will allow them to autoplay without being blocked by the browser. Here’s an example of how you can set it up:

Your browser does not support HTML video. Your browser does not support HTML video.
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ahmed Kettaf

79149326

Date: 2024-11-01 20:27:41
Score: 2
Natty:
Report link

I encountered the same issue on Windows 11. Like you, I selected the Pixel 8 Pro in the emulator and then opened the emulator in VS Code, but it always appeared outside of my screen.

Later, I opened another emulator called "Medium Phone," and I could see the lower half of the emulator. Then I went into the display settings and changed the screen resolution, and the emulator successfully returned to within my screen (though the same method did not work for the Pixel 8 Pro emulator).

In the Medium Phone emulator, I clicked the settings (three dots) in the lower right corner, checked "Emulator always on top," and then returned to the Pixel 8 Pro emulator. Now it consistently appears on the screen.

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