79428114

Date: 2025-02-10 19:39:10
Score: 3
Natty:
Report link

I just solved problem. In nuxt content v3, queryContent() API is replaced with new queryCollection() https://content.nuxt.com/docs/getting-started/migration

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

79428113

Date: 2025-02-10 19:38:10
Score: 3.5
Natty:
Report link

I created a django-pdf-actions app that provides admin actions for PDF operations.

PYPI: https://pypi.org/project/django-pdf-actions/

GH: https://github.com/ibrahimroshdy/django-pdf-actions

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

79428098

Date: 2025-02-10 19:33:09
Score: 1.5
Natty:
Report link

It is true that Arc::map() does not keep the parent Arc alive. This means that the reference to A might be invalidated. One possible solution would be to store Arc in Base rather than A, which would solve the problem of ownership. If the trait could be altered, then the method would be more efficient by taking &self, as it would eliminate the need for cloning and allow for greater freedom in implementation. If none of these are applicable, then the variants would need to be wrapped in Arc<> within AnyT to keep ownership of the enum.

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

79428092

Date: 2025-02-10 19:29:07
Score: 6 🚩
Natty: 4
Report link

I am having a similar issue. I found a text editing library that has reproduced this issue here https://github.com/wordpress-mobile/AztecEditor-Android/issues/1023

Solutions looks to be https://github.com/wordpress-mobile/AztecEditor-Android/blob/trunk/aztec/src/main/kotlin/org/wordpress/aztec/AztecText.kt#L765-L776

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having a similar issue
  • Low reputation (1):
Posted by: Vincent Thai

79428090

Date: 2025-02-10 19:28:07
Score: 1.5
Natty:
Report link

I believe that it's possible to change the realm by simply executing the following SQL query:

UPDATE access_users set realm = 'internal' WHERE username  = 'anonymous';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jordan

79428079

Date: 2025-02-10 19:21:06
Score: 0.5
Natty:
Report link

Feels un-ergonomic but I ended up going left with a special "error". I extract the response from it and go right if I see it at the end of the pipe.

pipe(
  ...,
  RTE.orElseW((e) => {
    if (e instanceof Bypass) {
      return RTE.right(e.response)
    }
    return RTE.left(e);
  })
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: financial_physician

79428075

Date: 2025-02-10 19:21:06
Score: 0.5
Natty:
Report link

*** Settings ***
Documentation               This is a basic test for Linkedin Login
Library                     Selenium2Library

*** Variables ***
${Browser}          chrome
${SiteUrl}          https://www.linkedin.com/
${username}         xpath=//*[@id="login-email"]
${psw}              xpath=//*[@id="login-password"]
${sigin}            xpath=//*[@id="login-submit"]


*** Test Cases ***
Login Page

    open browser    ${SiteUrl}    ${Browser}

    Input Text      ${username} [email protected]
    sleep           30 sec
    Input Text      ${psw} nopsw

    click button    ${sigin}

    close browser

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

79428072

Date: 2025-02-10 19:20:05
Score: 1
Natty:
Report link

try this post with a solution to find the opt/ folder that contains Anaconda - worked for me - kudos to Igor at MacPaw

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

79428070

Date: 2025-02-10 19:20:05
Score: 3
Natty:
Report link

would this also override the gallery images in Wordpress so that it takes over the asset and function of gallery images on the shop page as well? So the variation images would show as the default product gallery images. Right now I see the additional variation images only on the product page.

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

79428067

Date: 2025-02-10 19:18:05
Score: 0.5
Natty:
Report link

You can use azure ingress annotations for all your setting. Once its done settings will not be overwritten after update. Thats how settings should be added for azure agic. go through below link for annotations- azure annotation

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Akhil kumar k

79428060

Date: 2025-02-10 19:14:04
Score: 1
Natty:
Report link

If you read the docu https://www.php.net/manual/en/class.ziparchive.php you will find the function statIndex() (https://www.php.net/manual/en/ziparchive.statindex.php). Use it instead of function getNameIndex().

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

79428058

Date: 2025-02-10 19:12:03
Score: 2
Natty:
Report link

@samhita please check this. @PUTHINEEDI RAMOJI RAO The issue is that using the inner join there are two joins happening. May be someone who know sql will update with a better explanation later. The issue is happening during second join and we dont specify a column to join on. It combines with all rows for each row. I dont know how to explain this may be these diagrams will make it clear. Behind the scene Update is a join.

so if we use below query it will be fine as we specify the ON clause for the second join. I know it may be confusing but it comes down to sql concepts

UPDATE `dde-demo-d001.sap_crm.documents_bkup_copy` trg
    SET case_guid = ICT.case_guid
    FROM `dde-demo-d001.sap_crm.documents_bkup_copy` DFR
    INNER JOIN `dde-demo-d001.sap_crm.transactions_bkup` ICT
    ON DFR.transaction_header_guid = ICT.transaction_header_guid
    WHERE DFR.case_guid IS NULL
    AND trg.transaction_header_guid=ICT.transaction_header_guid;

using innerjoin there are two joins

using subquery

Reasons:
  • Blacklisted phrase (1): please check this
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @samhita
  • User mentioned (0): @PUTHINEEDI
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jaango Jayaraj

79428057

Date: 2025-02-10 19:10:02
Score: 4
Natty:
Report link

We have the same problem on our website https://itprocare.pl The notFound() function is built into next.js and this phrase can be found in the js code of many pages created in next.js. Even the nextjs.org page itself has the phrase notFound in its code and it has not been removed from the google index. Our website is hosted on our own servers

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (1):
Posted by: Radosław Ogorzałek

79428054

Date: 2025-02-10 19:10:01
Score: 4.5
Natty: 5
Report link

Without doubt this is still a problem for many... Take a look at: https://pagedjs.org/ Regards

Reasons:
  • Blacklisted phrase (1): Regards
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: svenps

79428053

Date: 2025-02-10 19:10:01
Score: 1.5
Natty:
Report link

This appears to have moved to Edge's policies [1]. For Edge, managed by organisations, use the SSLErrorOverrideAllowedForOrigins policy [2] or, more broadly, the SSLErrorOverrideAllowed policy [3]. These can be set centrally or in the registry (see links). Setting the former policy to ["https://localhost"] works.

As of February 2025 / Edge version 133.0, the allow-insecure-localhost flag is no longer available in the temporarily unexpired flags.

[1] edge://policy

[2] https://learn.microsoft.com/en-us/DeployEdge/microsoft-edge-policies#sslerroroverrideallowedfororigins

[3] https://learn.microsoft.com/en-us/DeployEdge/microsoft-edge-policies#sslerroroverrideallowed

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

79428047

Date: 2025-02-10 19:04:59
Score: 5.5
Natty:
Report link

I see two options available here, where the options within tools or right clicking (depending on the version of spyder you are using) allows the user to select wrap lines.

With this enabled it does indeed wrap the display line, but it DOES NOT wrap to a new line number and automatically take care of indents, commas, etc. When it wraps, but does not add a line number, we will call this display wrapping, as shown below.

Showing a display line wrap.

Yet what I was looking for, and what I think the author was looking for was automatic line addition, similar to the image below.

Showing two lines on how one would hope line wrap or break is implemented.

In an older version of spyder, I think there was an option, where the line breaks were enforced (I could be misremembering and thinking of PyCharm). It seems this is only corrected if one chooses to apply code formatting on save, again see below.

Spyder6 Option for Automatic Code Formating on Save

Automatic Line Breaking as an option along side the display wrapping would be very nice. If I missed this option somewhere, please let me know.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1): I missed this option somewhere, please
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Braveheart

79428046

Date: 2025-02-10 19:04:59
Score: 2.5
Natty:
Report link

Every time you set a state the affected components will have to rerender. Every time you render your component you end up calling checkValue which sets a state and triggers another rendering.

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

79428045

Date: 2025-02-10 19:04:59
Score: 2.5
Natty:
Report link

Soft assertions run only in integration with a test runner. They do not just throw an error, but rather record all failed assertions somewhere in the test runner. As you are using the cucumber, soft assertions is not working. try using the Soft assertion from cucumber.

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

79428041

Date: 2025-02-10 19:02:58
Score: 4.5
Natty:
Report link

@PDHide

Can I ask for a 2024/2025 update to this answer?

I can't thank you enough for this helpful response. It was invaluable to me when upgrading to EtsyV3 in 2023. But since then my credentials were invalidated (2X) by Etsy and when you reset your password it invalidates your tokens, so you must do this process to reauthorize again and it is no longer working. There is now a warning message that says "Callback URL does not match Application Domain" underneath the "https://oauth.pstmn.io/v1/callback" entry in Etsy and when you try to "solve the captcha puzzle" it tells you "You are blocked" unless you enter a matching domain name in the callback URL.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): Can I ask
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @PDHide
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: rwhirn

79428036

Date: 2025-02-10 18:58:57
Score: 1
Natty:
Report link

After a bit of research on .mp3 files, I found out that the ContentProvider itself, after scanning the .mp3 files, tries to read its ID3v2 tags.

If there is no tag or there is no title frame in it, then the file name without the extension is set as the TITLE column in the MediaStore. If the tags are in place, then the corresponding fields in the MediaStore are filled.

For example, the ARTIST field is filled with the value of the TPE1 or TP1 frame (depending on the frame version), which is responsible for the artist's name. If there is one, of course.

Thus, the solution can be direct editing of the tags inside the .mp3 file using some parser. After that, force the content provider to rescan this file using MediaScannerConnection. You can find how to use MediaScannerConnection to scan updated file here: Android How to use MediaScannerConnection scanFile.

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

79428035

Date: 2025-02-10 18:58:57
Score: 3.5
Natty:
Report link

My company got this identical error when the OS had IPV6 set off and the web server config file had useIPV6 set TRUE.

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

79428034

Date: 2025-02-10 18:57:57
Score: 1
Natty:
Report link

I use this, it's from the Dx11 spec for repeat-texture addressing.

public static int Modulo(int x, int y)
{
    x= x % y;
    return x >= 0 ? x : x + y;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Benjamin Sims

79428033

Date: 2025-02-10 18:57:57
Score: 2.5
Natty:
Report link

In answer to my own question, I found that I should be using: "Sheet -> Named Ranges and Expressions -> Define" instead to name a cell or cells.

I'm left puzzled, then, why there are two methods in Calc to name a cell or range, but only one exports correctly.

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

79428030

Date: 2025-02-10 18:54:56
Score: 0.5
Natty:
Report link

And finally, I found the bug. I replaced culture with tr_TR and done.

public async Task<string> MediaToolKitSpeechToTextAsync(){

var options = new SpeechToTextOptions
{
    Culture = CultureInfo.GetCultureInfo("tr_TR") 
};

await SpeechToText.Default.StartListenAsync(options, CancellationToken.None);

SpeechToText.Default.RecognitionResultCompleted += (s, args) =>
{
    if (args.RecognitionResult != null && !string.IsNullOrEmpty(args.RecognitionResult.Text))
    {
        transcript = args.RecognitionResult.Text;
    }
    else
    {
        MainThread.BeginInvokeOnMainThread(async () =>
        {
            await DisplayAlert("Hata", "Ses anlaşılamadı.", "Tamam");
        });
    }
};

return transcript;

}

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hakan DOĞAN

79428029

Date: 2025-02-10 18:53:56
Score: 2
Natty:
Report link

make sure you're using the page router because the getServerSideProps only works in the page router due NextJS official documentation: https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props

if you want to use the app router you can check data fetching section here: https://nextjs.org/docs/app/building-your-application/data-fetching

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

79428027

Date: 2025-02-10 18:52:56
Score: 0.5
Natty:
Report link

In Entra Apps we have two types of permissions... 1.> DELEGATED PERMISSIONS and 2> APPLICATION PERMISSIONS

For DELEGATED PERMISSIONS there are few permissions that require consent from admin ....these permissions have their field of "Admin consent required" as true/required...

Permissions that don't have consent from admin marked as true they get assigned automatically once the user goes through Oauth and gives his/her consent.

Hope this helps! Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: VISHWAJEET SINGH

79428020

Date: 2025-02-10 18:48:55
Score: 1
Natty:
Report link

thank you kindly for your help up to this point.

So I got frustrated and just started spamming my code and to my surprise it actually executed successfully. Changing nothing and running it again was another failure however.

I added a Start-Sleep -Seconds 5 between the creation of the group and the provisioning of the role and it works. It appears there is enough latency that the role provisioning really was not finding the group because Entra did not provision it yet.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: BPengu

79428019

Date: 2025-02-10 18:48:55
Score: 1
Natty:
Report link

I had the same problem - What was happening was the ssh keys were in two places causing incompatibility issues.

When I went and cleared out the two places and regenerated the key it all worked fine.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Harry Melamed

79428013

Date: 2025-02-10 18:46:55
Score: 3
Natty:
Report link

The LP formulation seems basically correct except that the total weight of the ingredients should be set to 2 (pounds). So add a constraint X1+X2+X3+X4+X5 =2

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

79428011

Date: 2025-02-10 18:45:54
Score: 3
Natty:
Report link

Apparently I posted in the wrong place, will repost in Wordpress Stackexchange and there is only toxic comments and no real assistance here.

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

79428006

Date: 2025-02-10 18:42:54
Score: 2
Natty:
Report link

Use nbimporter to import .ipynb files directly.

Ensure the notebook path is correct and the notebook contains only executable Python code.

Alternatively, convert the notebook to a .py file and import it as a regular module.

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

79428004

Date: 2025-02-10 18:41:53
Score: 1
Natty:
Report link

So, it's been a year- but I needed to run this again so I revisited it. I ended up with:

SELECT ( CASE WHEN( table Name.Carer2 = '' ) THEN table Name.Carer1 WHEN( table Name.Carer1 = '' ) THEN table Name.Carer2 ELSE CONCAT_WS( ' & ', table Name.Carer1, table Name.Carer2 ) END ) AS Carers, ( CASE WHEN( table Name = '' ) THEN table Name.Carer1_Contact WHEN( table Name.Carer1_Contact = '' ) THEN table Name.Carer2_Contact ELSE CONCAT_WS( ',', table Name.student_info.Carer1_Contact, table Name.Carer2_Contact ) END ) AS Contact, GROUP_CONCAT( table Name.First_Name SEPARATOR ' & ' ) AS Children From Table Name Group Bytable Name.Carer1_Contact, table Name.Carer2_Contact

I'm now doing some more work to this to make it even better and I've come across another stumbling block.

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

79428001

Date: 2025-02-10 18:41:53
Score: 4
Natty:
Report link

I am having the very same issue (i.e. response containing the undefined url) and curious if this got resolved.

Endpoint GET https://developer.api.autodesk.com/bim360/rfis/v2/containers/:containerId/rfis/:rfiId/attachments

response: { "id": "cb3b7702-f65e-4a6e-bdc3-0ff5de43cc80", "name": "2fe417a1-18c7-4a3b-8460-ac7eecdf6cab.txt", "urn": "urn:adsk.wipprod:dm.lineage:yzt3AvZeSm69ww_13kPMgA", "urnType": "oss", "createdBy": "7262JZTKLJS27V8Q", "createdAt": "2025-02-10T16:20:25.000Z", "deletedBy": null, "deletedAt": null, "permittedActions": { "removeAttachment": true }, "url": "https://developer.api.autodesk.com/oss/v2/buckets/yzt3AvZeSm69ww_13kPMgA/objects/undefined" }

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the very same issue
  • Low reputation (1):
Posted by: user29587166

79427992

Date: 2025-02-10 18:36:52
Score: 1
Natty:
Report link

Make sure to call the function you defined within Movie. Something like this:

export default function Movie() {
  const props = getServerSideProps();

  return (
    <>
      <h1>{props.abc || 'not found'}</h1>
    </>
  )
}

And you should see '123'.

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

79427990

Date: 2025-02-10 18:35:51
Score: 2
Natty:
Report link

If I understand you correctly, you are trying to set the options for every modal separately. This can be accomplished by

const stack = createModalStack({Demo1: {backdropOpacity: 0.5}, Demo2: {backdropOpacity: 0.8}});

For more information, refer to the docs: https://colorfy-software.gitbook.io/react-native-modalfy/api/types/modalstackconfig

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

79427986

Date: 2025-02-10 18:32:50
Score: 0.5
Natty:
Report link

To fix this:

Go to WordPress Dashboard → Settings → Permalinks. Select the "Post name" option (/sample-post/). Click Save Changes. If you still get 404 errors, try the following:

Flush Permalinks: Just re-saving the permalinks in Settings can fix the issue. Check .htaccess (if on Apache): If you're using an Apache server, WordPress needs to write to the .htaccess file. Make sure it has the correct rewrite rules. Check Hosting Settings: Some hosts may override permalinks with default settings.

Reasons:
  • Whitelisted phrase (-1): try the following
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mian Usman

79427980

Date: 2025-02-10 18:30:50
Score: 3.5
Natty:
Report link

I created a django-pdf-actions app that provides admin actions for PDF operations.

PYPI: https://pypi.org/project/django-pdf-actions/

GH: https://github.com/ibrahimroshdy/django-pdf-actions

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

79427950

Date: 2025-02-10 18:18:47
Score: 2
Natty:
Report link

I've similar issues in one of my POC.

The problem occurs because of the recursive app opening behavior. This way we can fix it, while returning IntentResult type instead of OpaqueType.

struct NotifyFriendsScreen: AppIntent {
    static var title: LocalizedStringResource = "Connect With Friends"
    static var description = IntentDescription("This will activate tell-them to notify your friends. Then you can proceed to app.")
    
    @Parameter(title: "❗️Choose App❗️", optionsProvider: SupportedApps())
    var selectedApp: String
    
    @MainActor
    func perform() async throws -> IntentResult {
        if UserDefaults.standard.bool(forKey: "openTellThem") {
            showTargetViewController()
            UserDefaults.standard.set(false, forKey: "openTellThem")
            return .result()
        } else {
            return .result()
        }
    }
}

I hope this will fix your issue.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): 've similar issue
  • Low reputation (0.5):
Posted by:  Engineer

79427948

Date: 2025-02-10 18:17:47
Score: 0.5
Natty:
Report link

Figured out that the legend wasn't being extracted because the legend.position was set to "bottom".

To obtain the legend when legend.position = "bottom" use cowplot::get_plot_component(legendplot,"guide-box-bottom") rather than cowplot::get_legend(legendplot)

Change the value guide-box to one of the following values to match the position supplied in theme(legend.position="") if you aren't using the default legend.position:

  1. guide-box-right when legend.position="right",
  2. guide-box-left when legend.position="left",
  3. guide-box-bottom when legend.position="bottom",
  4. guide-box-top when legend.position="top",
  5. guide-box-inside when legend.position="inside"

Screenshot of the produced legend from the code below

library(cowplot); library(patchwork); library(grid); library(tidyverse)

#Data to create legend
legend_data <- data.frame(
  julian = 299:366,
  PM25 = c(3.4,1.3,1.2,1.2,0.4,3.4,1.0,0.8,0.3,13.5,0.9,5.3,4.4,3.4,98.6,0.7,350.6,0.8,0.3,0.9,0.9,4.1,0.7,0.3,0.4,2.1,1.4,5.2,4.2,3.9,1.4,0.8,0.7,0.8,0.3,1.9,0.8,0.7,1.2,1.7,67.9,3.8,6.1,5.9,225.3,0.7,0.3,0.6,2.9,37.5,1.1,33.2,0.9,1.5,1.1,0.8,1.5,0.8,2.2,4.6,1.2,1.0,3.3,0.9,0.9,4.6,1.2,2.8),
  site_name = "community 1"
  )
legend_data$AQI <- case_when(
  legend_data$PM25 <= 9.0 ~ "1",
  legend_data$PM25 >= 9.1 & legend_data$PM25 <= 35.4 ~ "2",
  legend_data$PM25 >= 35.5 & legend_data$PM25 <= 55.4 ~ "3",
  legend_data$PM25 >= 55.5 & legend_data$PM25 <= 125.4 ~ "4",
  legend_data$PM25 >= 125.5 & legend_data$PM25 <= 225.4 ~ "5",
  legend_data$PM25 >= 225.5 ~ "6",
  TRUE ~ NA_character_
)

#Create plot
legendplot <- ggplot(legend_data, aes(x=julian, y=AQI, fill=AQI)) +
  geom_tile() +
  scale_fill_manual(
    values = c("green", "yellow", "orange", "red", "purple", "maroon"),
    labels = c("1" = "Good", "2"="Moderate", "3" = "Unhealthy for\nSensitive Groups", "4" = "Unhealthy", "5" = "Very Unhealthy", "6" = "Hazardous")
  ) +
  theme(legend.position = "bottom")
legendplot

#Extract legend
legend<-cowplot::get_plot_component(legendplot,"guide-box-bottom") 
grid.newpage()
grid.draw(legend)
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kelly Ireland

79427938

Date: 2025-02-10 18:12:46
Score: 1.5
Natty:
Report link

If you know the api documentation like swagger or postman collection. I guess, that should help. That would help you know what is needed and what is to be expected vice versa. If you still expect it is an integration issue, let the backend operations know and raise an issue . Not sure about your absolute scenario, but i gave a basic problem solving approach.

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

79427936

Date: 2025-02-10 18:11:45
Score: 8.5 🚩
Natty: 6
Report link

I also have a similar problem with a "Aviation" app and a specialist aviation receiver I want to use. The aviation receiver connects by WIFI to my smartphone but that connection doesn't have any internet access. The general aviation app also needs to connect to mobile data when the WIFI connection is established. I need to configure my S22+ smartphone to make this happen. Is this possible? If so, how? Android version 14.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Me too answer (2.5): I also have a similar problem
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tony N

79427935

Date: 2025-02-10 18:11:44
Score: 4.5
Natty:
Report link

check the consumption of specific queries using https://github.com/psqlmaster/pgsyswatch

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

79427932

Date: 2025-02-10 18:09:44
Score: 2
Natty:
Report link

The file reference is incorrect. You can put a full path to try and see if it works. project/icons/person_8342b8.svg

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

79427931

Date: 2025-02-10 18:08:42
Score: 8 🚩
Natty:
Report link

vamos lá! O erro que você está vendo acontece porque você está tentando usar require() para importar um moodulo que é do tipo ESM (EcmaScript Module), que é um tipo mais moderno de módulo no JavaScript. O ESM usa import em vez de require, e parece que o seu código está misturando os dois.

Aqui estão algumas coisas que você pode fazer para resolver isso aí:

trocar require por import Se o seu projeto está usando ESM, você deve usar import em vez de require. Por exemplo, em vez de module.exports, você pode usar export default.

use o import() dinâmico, se você precisa usar require por algum motivo, você pode tentar usar import() dinâmico, que é uma função que permite carregar módulos ESM de forma assíncrona.

Verificar o package.json: veja se o seu package.json tem a linha "type": "module" se você estiver usando ESM. Isso diz ao Node.js para tratar os arquivos como módulos ESM.

Reasons:
  • Blacklisted phrase (3): você
  • Blacklisted phrase (1): está
  • Blacklisted phrase (1): porque
  • Blacklisted phrase (2): código
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: http-pixelon

79427929

Date: 2025-02-10 18:08:42
Score: 1
Natty:
Report link

If you're using GitLab in the browser you can

  1. Open the job.
  2. Right click to Inspect the page.
  3. Go to Network and then the Fetch/XHR tab.
  4. Reload the page and you'll see a [JOB_ID].json there.

You'll find created_at and more data there!

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

79427925

Date: 2025-02-10 18:07:42
Score: 2
Natty:
Report link

You can't use .set() on a collection reference, only on a document reference. You could use .add(), this also automatically generates an ID for the document. Source: StackOverflow

The 504 error you're getting would suggest that your request to Firestore timed out. This could be due to several reasons. If the test document is large it could be too much data, although since you seem to only upload one file I doubt that's the case, but there's some info about it here.

Since you say you've updated the firebase service account roles I assume you've checked the permission, if not, try that. Otherwise it may be a connection issue, make sure your network is stable. You could also try to add some retries.

This issue was also posted on GitHub, although here they do mention MacOS.

If none of this helps I'd find out at which line in your try statement the error is thrown.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jesper

79427921

Date: 2025-02-10 18:05:42
Score: 3.5
Natty:
Report link

Same,according to your expo u need to downgrade lib version

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

79427918

Date: 2025-02-10 18:04:41
Score: 0.5
Natty:
Report link

Here is my attempt at a cryptographically secure password generator. The core functionality is based on this C# version which seems well regarded. The finer details of it you can read in the DESCRIPTION section of the help comment.

<#
.SYNOPSIS
    Creates a cryptographically secure password

.DESCRIPTOIN
    Creates a cryptographically secure password

    The dotnet class [RandomNumberGenerator] is used
    to create cryptographically random values which
    are converted to numbers and used to index each
    character set.

    Minimum requires characters types is implemented
    by generating those values up front, generating
    any remaining characters with the full character set
    then shuffling everything together.

    This cmdlet is compatible with both Powershell Desktop
    and Core. When using Powershell Core, a safer shuffler
    cmdlet is used.

.NOTE
    Thanks to
    * CodesInChaos - Core functionality from his CSharp version (https://stackoverflow.com/a/19068116/5339918)
    * Jamesdlin - Minimum char shuffle idea (https://stackoverflow.com/a/74323305/5339918)
    * Shane - Json safe flag idea (https://stackoverflow.com/a/73316960/5339918)

.EXAMPLE
    Basic usage

    New-Password

.EXAMPLE
    Specify password length and exclude Numbers/Symbols from password

    New-Password -Length 64 -NumberCharset @() -SymbolCharset @()

.EXAMPLE
    Require 2 of each character set in final password

    New-Password -MinimumUpper 2 -MinimumLower 2 -MinimumNumber 2 -MinimumSymbol 2
#>
function New-Password {
    [CmdletBinding()]
    param(
        [ValidateRange(1, [uint32]::MaxValue)]
        [uint32] $Length = 32,

        [uint32] $MinimumUpper,
        [uint32] $MinimumLower,
        [uint32] $MinimumNumber,
        [uint32] $MinimumSymbol,

        [char[]] $UpperCharSet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ',
        [char[]] $LowerCharSet = 'abcedefghijklmnopqrstuvwxyz',
        [char[]] $NumberCharSet = '0123456789',
        [char[]] $SymbolCharSet = '!@#$%^&*()[]{},.:`~_-=+',  # Excludes problematic characters like ;'"/\,

        [switch] $JsonSafe
    )

    #============
    # PRE CREATE
    #============

    if ($JsonSafe) {
        $ProblemCharacters = @(';', "'", '"', '/', '\', ',', '`', '&', '+')
        [char[]] $SymbolCharSet = $SymbolCharSet | Where-Object { $_ -notin $ProblemCharacters }
    }

    # Parameter validation
    switch ($True) {
        { $MinimumUpper -and -not $UpperCharSet } { throw 'Cannot require uppercase without a uppercase charset' }
        { $MinimumLower -and -not $UpperCharSet } { throw 'Cannot require lowercase without a lowercase charset' }
        { $MinimumNumber -and -not $UpperCharSet } { throw 'Cannot require numbers without a numbers charset' }
        { $MinimumSymbol -and -not $SymbolCharSet } { throw 'Cannot require symbols without a symbol charset' }
    }

    $TotalMinimum = $MinimumUpper + $MinimumLower + $MinimumNumber + $MinimumSymbol
    if ($TotalMinimum -gt $Length) {
        throw "Total required characters ($TotalMinimum) exceeds password length ($Length)"
    }

    $FullCharacterSet = $UpperCharSet + $LowerCharSet + $NumberCharSet + $SymbolCharSet

    #=========
    # CREATE
    #=========

    $CharArray = [char[]]::new($Length)
    $Bytes = [Byte[]]::new($Length * 8)  # 8 bytes = 1 uint64
    $RNG = [System.Security.Cryptography.RandomNumberGenerator]::Create()
    $RNG.GetBytes($Bytes)  # Populate bytes with random numbers

    for ($i = 0; $i -lt $Length; $i++) {

        # Convert the next 8 bytes to a uint64 value
        [uint64] $Value = [BitConverter]::ToUInt64($Bytes, $i * 8)

        if ($MinimumUpper - $UpperSatisfied) {
            $CharArray[$i] = $UpperCharSet[$Value % [uint64] $UpperCharSet.Length]
            $UpperSatisfied++
            continue
        }

        if ($MinimumLower - $LowerSatisfied) {
            $CharArray[$i] = $LowerCharSet[$Value % [uint64] $LowerCharSet.Length]
            $LowerSatisfied++
            continue
        }

        if ($MinimumNumber - $NumberSatisfied) {
            $CharArray[$i] = $NumberCharSet[$Value % [uint64] $NumberCharSet.Length]
            $NumberSatisfied++
            continue
        }


        if ($MinimumSymbol - $SymbolSatisfied) {
            $CharArray[$i] = $SymbolCharSet[$Value % [uint64] $SymbolCharSet.Length]
            $SymbolSatisfied++
            continue
        }

        $CharArray[$i] = $FullCharacterSet[$Value % [uint64] $FullCharacterSet.Length]
    }
   
    if ($TotalMinimum -gt 0) {
        if ($PSVersionTable.PSEdition -eq 'Core') {
            $CharArray = $CharArray | Get-SecureRandom -Shuffle
        } else {
            # If `-SetSeed` is used, this would always produce the same result
            $CharArray = $CharArray | Get-Random -Count $Length
        }
    }

    return [String]::new($CharArray)
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: RiverHeart

79427915

Date: 2025-02-10 18:02:41
Score: 3
Natty:
Report link

i also installed the Geometry Dash Apk from a wesbsite i have not faced any issue you can also game from this site with complete safe source.

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

79427912

Date: 2025-02-10 18:01:40
Score: 1.5
Natty:
Report link

In table A2 of Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 2; Bound is 0x62 Gv, Ma. G means operand 1 will be interpreted as a general purpose register. M means operand 2 must be a memory operand. Meaning the mod field must not be 0b11. I then assume that other mod field values will be interpreted as the second byte of EVEX prefix; and 0x62 will be interpreted as EVEX prefix header.

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

79427910

Date: 2025-02-10 18:01:40
Score: 1.5
Natty:
Report link

Thanks to krisgeus for macos/brew/poetry. More detailed:

brew install graphviz
CFLAGS="-I$(brew --prefix graphviz)/include/ -L$(brew --prefix graphviz)/lib/" poetry add pygraphviz
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jeff Taylor

79427909

Date: 2025-02-10 18:00:39
Score: 6 🚩
Natty: 5
Report link

Is your react-native-screens version v4 or @react-navigation version v7? If you’re using an older version, have you tried upgrading these two libraries to the latest versions?

Reasons:
  • Whitelisted phrase (-1): have you tried
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @react-navigation
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: NB1111

79427907

Date: 2025-02-10 17:59:38
Score: 1
Natty:
Report link

When writing programs, simply import the package (or components that are needed from it). When developing a library, I start out by creating a proper package including __init__.py, __all__ and a /tests directory. The library code is run from the latter and as soon as something works properly I convert the code to a pytest compatible test fixture. When done, there is no more code, only tests that can be run by typing pytest. I usually ship the tests along with the package so that if something doesn't work on a different platform people can send me test output.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Max Headroom

79427905

Date: 2025-02-10 17:59:38
Score: 2
Natty:
Report link

Console Editing for Notepad++:


plugins/npp exec/ change console font

this path changes the console's font, font style-type, and size.

plugins/npp exec/advanced options

This path changes the color of the fonts in the terminal.

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

79427884

Date: 2025-02-10 17:49:36
Score: 4
Natty:
Report link

use forward slash in path name

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

79427878

Date: 2025-02-10 17:44:34
Score: 3.5
Natty:
Report link

I noticed that there is an option of creating small multiples on Stacked column chart. I added the "Scenario" dimension there after which I could create synchronized sub-plots.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: hbstha123

79427875

Date: 2025-02-10 17:43:34
Score: 1.5
Natty:
Report link

Creating a C++ console program that simulates flipping a coin 256 times, displays the results in binary code, formats the output, includes delays, and generates seed phrases requires a structured approach. Below is a detailed implementation that meets your requirements.

This program will:

  1. Simulate coin flips.
  2. Display results in rows of 11 with specific spacing.
  3. Introduce a delay of 0.05 seconds between each line.
  4. Use the BIP39 dictionary (for simplicity, a small subset is included, but ideally, you'd want the full dictionary for real applications).

I have 2 recent examples on LinkedIn with descriptions, code and screenshots. I can’t post screenshots here, because I’m new to the resource.

enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Viacheslav Chebotarev

79427866

Date: 2025-02-10 17:40:33
Score: 5.5
Natty: 6.5
Report link

https://ui.shadcn.com/docs/tailwind-v4 this help me i use latest build and this work

Reasons:
  • Blacklisted phrase (1): help me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: alesha 229

79427855

Date: 2025-02-10 17:36:32
Score: 0.5
Natty:
Report link

Your "Shaded" image needs to be the "shader" only...

This is what I get with your code, and un-edited images:

orig

If I clip out your "shader" image:

clipped

I get this:

result

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

79427850

Date: 2025-02-10 17:35:31
Score: 4.5
Natty:
Report link

You can check below github issue. https://github.com/facebook/react-native/issues/49115

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

79427842

Date: 2025-02-10 17:32:30
Score: 1
Natty:
Report link

Hashing is one one way function : Hello --> "blah blah blah" and it is irreversible unless you know a hash "blah blah blah" means Hello. Just to ensure data integrity, to ensure that it my message by hashing it, since i already know the message and yeah hash matches.

No point in thinking about reversing it, because it ain't a procces.

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

79427833

Date: 2025-02-10 17:28:28
Score: 9.5 🚩
Natty:
Report link

I have the same problem, have you been able to solve it? I am using Windows 11.

Simply I create a virtualenv with python3.12

Reasons:
  • Blacklisted phrase (1.5): have you been able to
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Valen D

79427831

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

Run your app using:

./gradlew bootRun --args='--spring.profiles.active=dev' --debug-jvm.

Then, in IntelliJ IDEA, create a Remote JVM Debug configuration and run it.

enter image description here

Actually, this is the same process as debugging a Java Spring Boot application, so the current question might be a duplicate of how to debug spring application with gradle

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

79427825

Date: 2025-02-10 17:25:27
Score: 2
Natty:
Report link

Please use the package: https://github.com/thiendangit/react-native-thermal-receipt-printer-image-qr

This is good one for print image.

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

79427817

Date: 2025-02-10 17:21:27
Score: 2.5
Natty:
Report link

just copy paste your h2 database url from springboot properties file to h2 console , it will work

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

79427815

Date: 2025-02-10 17:19:26
Score: 3
Natty:
Report link

This behavior is expected, check out the documentation.

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

79427804

Date: 2025-02-10 17:15:25
Score: 2.5
Natty:
Report link

I have added the same code to my project, and the application has started successfully, as you can see in the picture below. You need to reload the Maven project properly, as shown in the screenshot below.

enter image description here

Below is my pom.xml

enter image description here

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

79427800

Date: 2025-02-10 17:13:25
Score: 2
Natty:
Report link

If I recall correctly TryGetComponent(out T component) also avoids some minor memory allocation while you're in Editor, so it can be considered a micro-optimization during development. Apparently that memory allocation doesn't occur in the built Player, so for builds GetComponent and TryGetComponent should have similar performance.

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

79427791

Date: 2025-02-10 17:09:24
Score: 0.5
Natty:
Report link

I had this same issue. I fixed it by disabling my ad blocker extension for the Google Cloud console.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ToxMox

79427787

Date: 2025-02-10 17:06:23
Score: 3.5
Natty:
Report link

Hi Check this strategy to generate multiple PDF's

https://www.linkedin.com/pulse/how-i-reduced-pdf-generation-time-from-1-hour-20-minutes-manu-vijay-uo5dc/?trackingId=AdxMZZwyKaNaFSsywS4mLQ%3D%3D

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

79427774

Date: 2025-02-10 17:00:22
Score: 1
Natty:
Report link

NestJS has added a waitForCompletion option in version 5.0.1.

https://github.com/nestjs/schedule/pull/1870

@Cron(CronExpression.EVERY_SECOND, {
  waitForCompletion: true,
})
async handleCron() {
  this.logger.debug(`start ${c}`);
  await timeout(3000)
  this.logger.debug(`end ${c}`);
  c += 1;
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Steve

79427770

Date: 2025-02-10 16:59:21
Score: 7.5 🚩
Natty: 5.5
Report link

I am pretty new at programming and autodesk.com, is it possible to create a new bucket directly from my python script? I have written python script for connecting GPT and via GPT want to edit and extract information from dfx files, but I have a problem with the part working with dfx files. Where do I find bucket name? Thank you in advance

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): is it possible to
  • RegEx Blacklisted phrase (3): Thank you in advance
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dalibor

79427769

Date: 2025-02-10 16:57:20
Score: 1
Natty:
Report link

In case anyone else is having trouble with this:

Here's what I learned using Blazor SSR with pages containing @attribute[StreamRendering] and also using BlazorPageScript to run some custom js for user interactivity:

  1. StreamRendering will 'stop working' if there are any uncaught javascript errors. 'Stop working' means the page opens as if @attribute[StreamRendering] is not there.

  2. The 'stop working' may occur even if you write correct js.

  3. Here's the Blazor bug: in the BlazorPageScript onLoad() and onUpdate() events, if the js code contains 'getElementById', it will trigger an 'ID NotFound' error, EVEN IF THE ID EXISTS.

  4. StreamRendering requires onUpdate() to be executed twice before the page is shown, it's on the 2nd onUpdate() that the 'ID not found' error occurs.

  5. The fix is to wrap all your custom JS functions in a try/catch.

  6. When testing this, you may need to navigate to another page, then back to the page you're testing to see StreamRendering fail. Just refreshing the page may not be enough.

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

79427768

Date: 2025-02-10 16:57:20
Score: 1.5
Natty:
Report link

I ended up using this package : react-native-device-info

With the function

import DeviceInfo from 'react-native-device-info';

async function checkGooglePlayServices() {
  const isPlayServicesAvailable = await DeviceInfo.hasGms(); // Returns true if Google Play Services are available
  return isPlayServicesAvailable;
}

It does detect correctly with emulated non google android phone.

https://github.com/react-native-device-info/react-native-device-info?tab=readme-ov-file#hasGms

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

79427766

Date: 2025-02-10 16:57:19
Score: 4
Natty:
Report link

you have to update the matplotlib window every time you make a change to see it

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

79427765

Date: 2025-02-10 16:56:18
Score: 4
Natty: 4.5
Report link

I know Aqua supports Windows containers as per documentation. Another option is Prisma: https://techcommunity.microsoft.com/blog/containers/unlocking-new-possibilities-with-prisma-cloud-and-windows-containers-on-azure-ku/3866485

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

79427754

Date: 2025-02-10 16:54:16
Score: 6.5 🚩
Natty:
Report link

If the answer is not late, I recommend you see the paper Shape Distribution. This paper transfer comparison between shapes to comparison better distribution curves. A little math is enough for this paper. By the way, the protein cavity demo is beautiful. I see it is locally composed of triangular meshes, does every point/vertex in the meshes represent a atom in the protein? If so how did you get the meshs from atoms. I am very interested in this question. Looking forward to your reply!

Reasons:
  • Blacklisted phrase (1.5): Looking forward to your
  • RegEx Blacklisted phrase (3): did you get the
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: 周守信

79427752

Date: 2025-02-10 16:54:15
Score: 2.5
Natty:
Report link

It's been almost 10 years since this answer was given. Has there been any changes since then. Paying for multiple phone numbers to send SMS through really isn't an option for us.

Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andre Kramer

79427744

Date: 2025-02-10 16:51:15
Score: 3.5
Natty:
Report link

Most likely, the reason is that the Windows image is missing fonts necessary for this conversion. You can check how to add fonts to Windows containers here: https://learn.microsoft.com/en-us/virtualization/windowscontainers/deploy-containers/font-packages

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

79427738

Date: 2025-02-10 16:50:14
Score: 2
Natty:
Report link

This Code Will Get An Integer Number From User To Make It Look Like Triangle

Number = int(input("Enter Number : \n")) for n in range(Number): for s in range(Number): print('*', end='') print() Number-=1

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

79427731

Date: 2025-02-10 16:47:14
Score: 0.5
Natty:
Report link

It works. I can move a divider by mouse. I need to know how I can do tabs same width then left column.

window screenshot

import sys

from PySide2 import QtWidgets
from PySide2 import QtCore
from PySide2 import QtGui


class VTabBar(QtWidgets.QTabBar):

    def tabSizeHint(self, index):
        s = QtWidgets.QTabBar.tabSizeHint(self, index)
        s.transpose()
        return s

    def paintEvent(self, event):
        painter = QtWidgets.QStylePainter(self)
        opt = QtWidgets.QStyleOptionTab()

        for i in range(self.count()):
            self.initStyleOption(opt, i)
            painter.drawControl(QtWidgets.QStyle.CE_TabBarTabShape, opt)
            painter.save()

            s = opt.rect.size()
            s.transpose()
            r = QtCore.QRect(QtCore.QPoint(), s)
            r.moveCenter(opt.rect.center())
            opt.rect = r

            c = self.tabRect(i).center()
            painter.translate(c)
            painter.rotate(90)
            painter.translate(-c)
            painter.drawControl(QtWidgets.QStyle.CE_TabBarTabLabel, opt)

            if self.tabsClosable():  # repare close button position
                optRect = self.tabRect(i)
                btn_size = QtCore.QSize(12, 12)
                btn_center = QtCore.QPoint(
                    optRect.x() + optRect.width() - 20,
                    optRect.y() + optRect.height() - (optRect.height() // 2),
                )
                optRect.setSize(btn_size)
                optRect.moveCenter(btn_center)
                self.tabButton(i, QtWidgets.QTabBar.RightSide).setGeometry(optRect)

            painter.restore()


class DividedTabWidget(QtWidgets.QWidget):

    def __init__(self, parent=None):
        super().__init__(parent)
        self.__tabBar = VTabBar()
        self.__tabBar.setShape(QtWidgets.QTabBar.RoundedWest)
        self.__tabBar.setTabsClosable(True)
        self.__tabBar.setSizePolicy(
            QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed
        )
        self.__stack = QtWidgets.QStackedWidget()
        self.__tabBar.currentChanged.connect(self.__stack.setCurrentIndex)
        self.__tabBar.tabCloseRequested.connect(self.removeTab)

    def stackedWidget(self):
        return self.__stack

    def tabBar(self):
        return self.__tabBar

    def insertTab(self, index, widget, label):
        if not widget:
            return -1
        index = self.__stack.insertWidget(index, widget)
        self.__tabBar.insertTab(index, label)
        return index

    def addTab(self, widget, label):
        return self.insertTab(self.__stack.count(), widget, label)

    def removeTab(self, index):
        self.__tabBar.removeTab(index)
        self.__stack.removeWidget(self.__stack.widget(index))


def add_tab():
    text = "New tab"
    w = QtWidgets.QLabel(text)
    tab_widget.addTab(w, text)


if __name__ == "__main__":
    app = QtWidgets.QApplication()
    mainwindow = QtWidgets.QMainWindow()
    splitter = QtWidgets.QSplitter()
    tab_widget = DividedTabWidget()
    tab_widget.addTab(QtWidgets.QLabel("First tab"), "First tab")
    tab_widget.addTab(QtWidgets.QLabel("Second tab"), "Second tab")
    tab_widget.addTab(QtWidgets.QLabel("Third tab"), "Third tab")
    # left panel
    l_widget = QtWidgets.QWidget()
    l_layaout = QtWidgets.QVBoxLayout()
    l_widget.setLayout(l_layaout)
    add_tab_btn = QtWidgets.QPushButton(
        "Add new tab"
    )  # add tab button, it is analog of corner widget
    add_tab_btn.clicked.connect(add_tab)
    l_layaout.addWidget(add_tab_btn)
    l_layaout.addWidget(tab_widget.tabBar())
    splitter.addWidget(l_widget)
    # right panel
    splitter.addWidget(tab_widget.stackedWidget())

    mainwindow.setCentralWidget(splitter)
    mainwindow.show()
    sys.exit(app.exec_())
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alexandr Shapenkov

79427727

Date: 2025-02-10 16:46:13
Score: 3
Natty:
Report link

@Dhara's answer needs to divide the angle by two as @Panos pointed out. Unfortunately, I couldn't post a comment due to my low reputation. Here is the code (also adapted to use matplotlib and numpy). There are two possible centers, the other one can be obtained by providing the negative value of the angle as an argument.

import matplotlib.pyplot as plt
import numpy as np

def find_center(p1, p2, angle):

    angle = angle/2
    # End points of the chord
    x1, y1 = p1 
    x2, y2 = p2 

    # Slope of the line through the chord
    slope = (y1-y2)/(x1-x2)

    # Slope of a line perpendicular to the chord
    new_slope = -1/slope

    # Point on the line perpendicular to the chord
    # Note that this line also passes through the center of the circle
    xm, ym = (x1+x2)/2, (y1+y2)/2

    # Distance between p1 and p2
    d_chord = ((x1-x2)**2 + (y1-y2)**2)**0.5

    # Distance between xm, ym and center of the circle (xc, yc)
    d_perp = d_chord/(2*np.tan(angle))

    # Equation of line perpendicular to the chord: y-ym = new_slope(x-xm)
    # Distance between xm,ym and xc, yc: (yc-ym)^2 + (xc-xm)^2 = d_perp^2
    # Substituting from 1st to 2nd equation for y,
    #   we get: (new_slope^2+1)(xc-xm)^2 = d^2

    # Solve for xc:
    xc = (d_perp)/(new_slope**2+1)**0.5 + xm

    # Solve for yc:
    yc = (new_slope)*(xc-xm) + ym

    return xc, yc


def find_two_centers(p1, p2, angle):

    return find_center(p1, p2, angle), find_center(p1, p2, -angle)


plt.figure()

p1 = [1., 2.]
p2 = [-3, 4.]
angle = np.pi/2
xc, yc = find_center(p1, p2, angle)
# Calculate the radius and draw a circle
r = ((xc-p1[0])**2 + (yc-p1[1])**2)**0.5
cir = plt.Circle((xc,yc), radius=r,  fc='y')
plt.gca().add_patch(cir)

# mark p1 and p2 and the center of the circle
plt.plot(p1[0], p1[1], 'ro')
plt.plot(p2[0], p2[1], 'ro')
plt.plot(xc, yc, 'go')

plt.axis('equal')

xc, yc = find_center(p1, p2, -angle)
# Calculate the radius and draw a circle
r = ((xc-p1[0])**2 + (yc-p1[1])**2)**0.5
cir = plt.Circle((xc,yc), radius=r,  fc='y')
plt.gca().add_patch(cir)

# mark p1 and p2 and the center of the circle
plt.plot(p1[0], p1[1], 'ro')
plt.plot(p2[0], p2[1], 'ro')
plt.plot(xc, yc, 'go')

plt.axis('equal')

plt.show()
Reasons:
  • RegEx Blacklisted phrase (1.5): low reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Dhara's
  • User mentioned (0): @Panos
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Daniel H.

79427714

Date: 2025-02-10 16:41:12
Score: 2
Natty:
Report link

.get() Method returns a value associated with a key that you pass in the .get() method, not the index.

So because you pass in 0 and not 0L it looks for a Integer key of 0 while you listed Long for a key in your HashMaps generics.

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

79427706

Date: 2025-02-10 16:37:11
Score: 4.5
Natty: 4
Report link

We have installed apex in oracle DBCS system. We also installed ORDS in a compute VM.

We have few apex applications which needs to be exposed to internet. We also have few apex applications which should be accessed only in intranet(VPN).

We have created public load balancer and directed the backend to ORDS port. This way few apex applications are accessed in internet.

How to give access to other apex applications which has to be accessed only in private network? Do we need to go for second load balancer, i mean private load balancer?

Any ideas please.

Thanks, Satish

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Any ideas
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: satish

79427701

Date: 2025-02-10 16:34:10
Score: 0.5
Natty:
Report link
relchange <- function(x, first = FALSE) {
  x[!is.na(x)] <- c(1, exp(diff(log(x[!is.na(x)]))))
  return(x)
}

relchange(dt$sale)
 [1]        NA        NA        NA        NA 1.0000000 0.6930112 1.3048314
 [8] 1.4211981 5.3062771 1.0084781 1.1261770 1.1349657
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adrian

79427699

Date: 2025-02-10 16:34:10
Score: 1
Natty:
Report link

Use Date_TRUNC('granularity', column).

To group events into a summarised time:

SELECT DATE_TRUNC('hour', timestamp) as hour, name, count(event) * 100 / count(*)
group by timestamp, name, event
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mohRamadan

79427698

Date: 2025-02-10 16:33:10
Score: 0.5
Natty:
Report link

I'm the maintainer of the ggbiplot pkg, so I dug in and modified the code for ggbiplot() to do what I want here. I added a geom.ind argument that allows geom.ind = c("point", "text"). For testing purposes, this is still on a new geoms branch in the package.

#remotes::install_github("friendly/ggbiplot", ref = "geoms")
# adjust variable names to fold at '_'
vn <- rownames(peng.pca$rotation)
vn <- gsub("_", "\n", vn)
rownames(peng.pca$rotation) <- vn

ggbiplot(peng.pca, 
         choices = 3:4,
         groups = peng$species, 
         ellipse = TRUE, ellipse.alpha = 0.1,
         circle = TRUE,
         var.factor = 4.5,
         geom.ind = c("point", "text"),
         point.size = 2,
         labels = lab, labels.size = 6,
         varname.size = 5,
         clip = "off") +
  theme_minimal(base_size = 14) +
#  theme_penguins("dark") +
  theme(legend.direction = 'horizontal', legend.position = 'top') 

This gives:

enter image description here

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: user101089

79427688

Date: 2025-02-10 16:27:08
Score: 5.5
Natty:
Report link

I am facing the very same situation since 3 days ago.

Not able to file a bug, not able to create set up the community profile to post it to the community ...

did it get solved for you?

Reasons:
  • RegEx Blacklisted phrase (1.5): solved for you?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Marlos Cruzeiro Soares Filho

79427680

Date: 2025-02-10 16:24:07
Score: 0.5
Natty:
Report link

@AllanCamerons answer already answers my question in a very elegant way. However, there's one problem that kept bugging me: The function signals both a message and an error. After studying the source code of rlang::signal_abort(), I found that a mix of signalCondition() and cat() mostly mirrors the behavior of rlang::abort():

abort <- function(msg, call = sys.call(1)) {
  cnd <- errorCondition(msg, call = call)
  signalCondition(cnd)
  msg <- sprintf("Error in %s:\n- %s", deparse(call), msg)
  cat(msg, "\n", file = stderr())
  old_options <- options(show.error.messages = FALSE)
  on.exit(options(old_options))
  stop("")
}

What (I think) this does:

Why this is useful:

> tryCatch(abort("something went wrong"), message = \(e) "message caught!")
# Error in tryCatch(abort("something went wrong"), message = function(e) "message caught!"):
# - something went wrong
> tryCatch(abort("something went wrong"), error = \(e) "error caught!")
# [1] "error caught!"
> try(abort("something went wrong"))
# Error : something went wrong
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @AllanCamerons
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: jslth

79427679

Date: 2025-02-10 16:24:07
Score: 2.5
Natty:
Report link

Just start a new terminal within . It should work. Make sure you note current directory (pwd), and what step you are at (of your exercise/project), before closing existing terminal.

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

79427661

Date: 2025-02-10 16:15:05
Score: 1.5
Natty:
Report link

This is a late reply. NestJS has found a better way around this problem. It uses the graphql-scalars package which can handle converting numbers to timestamps by default without having to write a custom scalar.

Ref: https://the-guild.dev/graphql/scalars/docs/scalars/date

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

79427659

Date: 2025-02-10 16:14:05
Score: 1
Natty:
Report link

Turned out to be a bug in EF Core 9. A fix will be released in EF Core 9.0.2.

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

79427658

Date: 2025-02-10 16:14:05
Score: 1
Natty:
Report link

2025: A cool new way to colour the "placeholder" option using the modern :has() pseudo class.

<select>
    <option class="placeholder">Please select something</option>
    <option>Select me</option>
</select>
select:has(option.placeholder) {
    color: red;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jeff Chi 杰夫迟

79427653

Date: 2025-02-10 16:12:04
Score: 2
Natty:
Report link

After hours of search and trials I came to the conclusion that there is some problems with Payara and standalone-clients.

You should use gf-client.jar FROM THE INSTALLATION's DIRECTORY in your project. DON'T copy the file! and that's it!

If you only use that it will work with Glassfish 7.0.21 (that was what I used). Exactly the same code doesn't work with Payara 6.2024.5 (that was what I used).

For Payara the problem has noting to do with libraries etc., it is just a bug.

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

79427648

Date: 2025-02-10 16:11:04
Score: 3
Natty:
Report link

Beware, the setup is not run in UI mode.

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

79427647

Date: 2025-02-10 16:11:04
Score: 1.5
Natty:
Report link

For me, worked (md version):

ion-list.sc-ion-select-popover-md ion-radio.sc-ion-select-popover-md::part(label) {
white-space: pre-line;}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pietro Fio

79427637

Date: 2025-02-10 16:05:02
Score: 0.5
Natty:
Report link

I got this issue on our migration to spring boot 3.4.2 too.

I tried spring-cloud-starter-circuitbreaker-resilience4j, with no chance.

I discovered that a dependency was missing:

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-aop</artifactId>
    <version>${spring-boot.version}</version>
</dependency>

I got the hint from https://stackoverflow.com/a/61930362.

spring-boot-starter-aop was dropped in spring-cloud-openfeign-core:4.1.2.

Here is the commit who removed this dependency: https://github.com/spring-cloud/spring-cloud-openfeign/commit/6084609de0705f24ba418704769e545a0d820d70

I don't know why it was removed and what is needed from there, but adding it back makes my circuitbreaker work again.

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

79427632

Date: 2025-02-10 16:04:02
Score: 0.5
Natty:
Report link

I have solved it using creating custom package in flutter however this package is no longer maintained but you can try similar approach

https://pub.dev/packages/opencv_awesome

Reasons:
  • Whitelisted phrase (-2): I have solved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Azad Prajapat

79427625

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

I am sure it can be done automatically. Need to add flag expired bool if a time of the record is expired. And create a trigger I, U, D which will delete expired

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

79427616

Date: 2025-02-10 15:54:59
Score: 4
Natty:
Report link

It sounds like a mime type issue. In the HTTP protocol the ".ico" extension won't cue the browser what kind of file it is. My suspicion is that if you use developer tools you'll see the mime type on the response is wrong. In the old days to make an ico I would actually make a bmp and rename it to ico, which worked fine on Windows, but probably also won't work on a webserver correctly. The browser must respect the file type that the server tells it the file is, regardless of extension.

Make sure your file is an actual valid ico. Then see this article for more information: Correct MIME Type for favicon.ico?

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jeffty