79293526

Date: 2024-12-19 08:23:59
Score: 6.5 🚩
Natty:
Report link

Can you provide your Login.xaml and your MauiProgram.cs? Maybe you are not registering your Service in the right way.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide your
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: jannisrow

79293521

Date: 2024-12-19 08:21:58
Score: 1
Natty:
Report link

For using load balancer in front fo gcs, bucket should be public, so you should choose a bucket name that not related to your domain name (I mean it is preferable to make bucket name complicated to determine it by another users) and don't include sensitive information in your public buckets.

And there is another alternative for this:

Example:

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abdellatif Derbel

79293519

Date: 2024-12-19 08:21:58
Score: 0.5
Natty:
Report link

This reddit post fixed this issue for me.

I had tried predi's answer and yes, it did brick my internet. However, when my internet was down, I searched up and down for a solution to fix my internet back up and came across a Reddit post that fixed my internet problems AND my wsl connection issues. Hope this helps!

edit: im using windows 11 home edition, so i had no access to hyper-v :\

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Afrian Luthfan

79293509

Date: 2024-12-19 08:16:57
Score: 3
Natty:
Report link

The password should not be sent in the JSON body. Usually, username and password get base64-encoded and send in the 'Authorization' request header.
In principle, there is nothing wrong with Basic Authentication and form inputs.
You may want to follow this tutorial: https://jasonwatmore.com/post/2022/12/27/angular-14-basic-authentication-tutorial-with-example

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: KleeblattAlex

79293505

Date: 2024-12-19 08:14:57
Score: 2.5
Natty:
Report link

Next.js handles metadata and content rendering in a way that preserves SEO Using React's cache won't affect the loading priority The metadata will still be generated server-side

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

79293503

Date: 2024-12-19 08:14:57
Score: 1
Natty:
Report link

I mainly worked on powsershell prompt. In my case, I solve the problem using this command.

Invoke-WebRequest -Uri https://release.solana.com/v1.16.14/solana-install-init-x86_64-pc-windows-msvc.exe -OutFile C:\solana-install-tmp\solana-install-init.exe
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: superdev-1018

79293496

Date: 2024-12-19 08:11:56
Score: 2
Natty:
Report link

Thanks for your question. After our test, the latest template bot works fine in multiple orgs. Maybe you can check it in following steps.

  1. Please make sure you use the latest version.
  2. Since the bot works fine in your organization, it seems the problem occurs in the different org. You can watch the Azure bot traffic in the Azure bot->Monitoring->Metrics, and select the Request Traffic to watch his traffic arrives or not. enter image description here

In addition, you can raise bug in https://github.com/OfficeDev/teams-toolkit/issues.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Thomas

79293493

Date: 2024-12-19 08:09:56
Score: 3
Natty:
Report link

Thank to you all ( ) , using of LocalDate solve all my problems, but also want to add that I use @Nullable to my LocalDate variables on @PostMapping in @RequestParam. Before, I don’t want to use LocalDate, because someone, who writes code before me already use Java.sql.Date everywhere, in all repositories, in all entities, in all services, in all controllers. But I gathered my strength and rewrote everything under localDate. Also, for me, I needed to convert LocalDate values to String on @GetMapping, don’t know, if it’s ok or not, but it’s works fine.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Nullable
  • User mentioned (0): @PostMapping
  • User mentioned (0): @RequestParam
  • User mentioned (0): @GetMapping
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sergei

79293487

Date: 2024-12-19 08:06:55
Score: 1
Natty:
Report link

You can simply groupby the 3 levels and add dropna at the end:

print(t["c1"].groupby(level=[0,1,2]).first().dropna())

1  1  1    1.0
   2  9    2.0
2  1  7    4.0
4  2  2    6.0
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rehaqds

79293482

Date: 2024-12-19 08:04:54
Score: 1.5
Natty:
Report link

Check whether the Transaction.Current object is null -- see Accessing the Current Transaction and Transaction.Current Property.

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

79293481

Date: 2024-12-19 08:03:54
Score: 1.5
Natty:
Report link
  1. Go for 'cd your/project/path'
  2. npm install expo-modules-core
  3. npx expo prebuild --clean
  4. cd ios
  5. pod deintegrate
  6. pod cache clean --all
  7. rm -rf ~/Library/Developer/Xcode/DerivedData/*
  8. pod install
  9. Open the xcode project by navigating its ios folder, and tapping '.xcworkspace' file, NOT '.xcodeproj' file
  10. Select Any IOS Device (arm64)
  11. Try to build or archive via product tab
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alperen CINAR

79293480

Date: 2024-12-19 08:03:54
Score: 6
Natty: 7
Report link

can someone please explain these below lines

serverClientId: isIOS ? null : googleClientId, clientId: isIOS ? googleClientIdIOS : null);

Reasons:
  • RegEx Blacklisted phrase (2.5): can someone please explain
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): can someone please
  • Low reputation (1):
Posted by: Saad Raja

79293473

Date: 2024-12-19 08:00:53
Score: 2.5
Natty:
Report link

the first step is to locate your project folder

then run these commands one by one

npm uninstall react react-dom

then

npm install react@18 react-dom@18

then

npm install --no-audit --save @testing-library/jest-dom@^5.14.1 @testing-library/react@^13.0.0 @testing-library/user-event@^13.2.1 web-vitals@^2.1.0

then

npm start

here what we are doing is uninstalling react19 and installing react18.

or you can go with this YouTube link: https://youtu.be/mUlfo5ptm1o?si=hYHTwc7hApEXzPX5

Reasons:
  • Blacklisted phrase (1): youtu.be
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sai Teja Yelubolu

79293469

Date: 2024-12-19 07:59:53
Score: 2.5
Natty:
Report link

The data is not removed, but the space is marked as available for new data. When new data needs the space, the system overwrites the data that was previously there with new data. This makes it so some old data can still be recovered. I could be missing part of it, but I think that's how it works.

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

79293468

Date: 2024-12-19 07:58:52
Score: 0.5
Natty:
Report link

For brew-missinged dependences, maybe we can do this

ln -sfv  ~/.pyenv/versions/3.12.8 $(brew --cellar [email protected])
ln -sfv  ~/.pyenv/versions/3.13.1 $(brew --cellar [email protected])
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: TOMARTISAN

79293464

Date: 2024-12-19 07:56:52
Score: 1.5
Natty:
Report link

Try to call the base method in your override.

protected override void OnModelCreating(ModelBuilder builder)
{          
    base.OnModelCreating(builder);
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Molesox

79293457

Date: 2024-12-19 07:53:51
Score: 0.5
Natty:
Report link
    http.SetCookie(context.Writer, &http.Cookie{
    Name:     "token",
    Value:    url.QueryEscape(newToken),
    MaxAge:   maxAge,
    Path:     "/",
    Domain:   "",
    SameSite: http.SameSiteNoneMode,
    Secure:   true,
    HttpOnly: true,
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Joseph Owigo

79293456

Date: 2024-12-19 07:52:50
Score: 6.5 🚩
Natty: 4.5
Report link

Did you find a solution? I had the same problem.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (1):
Posted by: user28136549

79293454

Date: 2024-12-19 07:52:50
Score: 1
Natty:
Report link

var ctx = com['mojang']['minecraftpe']['MainActivity']['current MainActivity']'get'; var Button = android['widget']['Button']; var LinearLayout = android['widget']['LinearLayout']; var RelativeLayout = android['widget']['RelativeLayout']; var PopupWindow = android['widget']['PopupWindow']; var ScrollView = android['widget']['ScrollView']; var TextView = android['widget']['TextView']; var CheckBox = android['widget']['CheckBox']; var Switch = android['widget']['Switch']; var Toast = android['widget']['Toast']; var Runnable = java['lang']['Runnable']; var View = android['view']['View']; var ColorDrawable = android['graphics']['drawable']['ColorDrawable']; var Color = android['graphics']['Color']; var Gravity = android['view']['Gravity']; var Intent = android['content']['Intent']; var Uri = android['net']['Uri']; ModPE'langEdit'; var bg = new android['graphics']['drawable'].GradientDrawable(); bg'setColor'; bg['setStroke'](4, android['graphics']['Color']['rgb'](255, 0, 255)); bg'setCornerRadius'; var ibg = new android['graphics']['drawable'].GradientDrawable(); ibg'setColor'; ibg['setStroke'](5, android['graphics']['Color'].RED); var mbg = new android['graphics']['drawable'].GradientDrawable(); mbg'setColor'; mbg['setStroke'](4, android['graphics']['Color']['rgb'](255, 64, 0)); mbg'setCornerRadius'; var fbg = new android['graphics']['drawable'].GradientDrawable(); fbg'setColor'; fbg['setStroke'](5, android['graphics']['Color'].RED); fbg'setCornerRadius'; var xbg = new android['graphics']['drawable'].GradientDrawable(); xbg'setColor'; xbg['setStroke'](4, android['graphics']['Color']['rgb'](255, 0, 255)); xbg'setCornerRadius'; var nbg = new android['graphics']['drawable'].GradientDrawable(); nbg'setColor'; nbg'setAlpha'; var nnbg = new android['graphics']['drawable'].GradientDrawable(); nnbg'setColor'; nnbg['setStroke'](4, android['graphics']['Color']['rgb'](0, 128, 128)); var iibg = new android['graphics']['drawable'].GradientDrawable(); iibg'setColor'; iibg'setAlpha'; iibg['setStroke'](2, android['graphics']['Color'].RED); var abg = new android['graphics']['drawable'].GradientDrawable(); abg'setAlpha'; abg'setColor'; abg['setStroke'](4, android['graphics']['Color']['rgb'](255, 128, 0)); var gmbg = new android['graphics']['drawable'].GradientDrawable(); gmbg'setColor'; gmbg['setStroke'](2, android['graphics']['Color']['rgb'](255, 0, 255)); gmbg'setCornerRadius'; var jbg = new android['graphics']['drawable'].GradientDrawable(); jbg'setColor'; jbg'setCornerRadius'; var destructbg = new android['graphics']['drawable'].GradientDrawable(); destructbg'setColor'; destructbg['setStroke'](4, android['graphics']['Color']['rgb'](255, 0, 255)); var theme = nnbg; var theme1 = mbg; var module = nbg; var Utils = { Block: { isLiquid: function(_0x2bf6x22) { if (_0x2bf6x22 >= 8 && _0x2bf6x22 <= 11) { return true }; return false }, fastBreak: function() { for (i = 0; i < 256; i++) { Block['setDestroyTime'](i, 0) } }, isLadder: function(_0x2bf6x22) { if (_0x2bf6x22 == 65) { return true }; return false } }, Velocity: { calculateSpeed: function() { return Math['sqrt'](Math['pow'](Entity'getVelX', 2) + Math['pow'](Entity'getVelZ', 2)) } }, Text: { replaceAll: function(_0x2bf6x23, _0x2bf6x24, _0x2bf6x25) { var _0x2bf6x26 = _0x2bf6x25; return _0x2bf6x26['replace'](new RegExp(_0x2bf6x23, 'g'), _0x2bf6x24) } }, Player: { isInWater: function() { if (Utils['Block']['isLiquid'](getTile(Entity'getX', Entity'getY' - 1.65, Entity'getZ'))) { return true } else { return false } }, isOnLadder: function() { if (Utils['Block']['isLadder'](getTile(getPlayerX(), getPlayerY() + 0.001, getPlayerZ()))) { return true } else { return false } }, isOnGround: function() { var _0x2bf6x27 = Entity'getY'; while (_0x2bf6x27 > 1) { _0x2bf6x27 -= 1 }; if ((Math['round.

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

79293448

Date: 2024-12-19 07:48:49
Score: 2.5
Natty:
Report link

SELECT YEAR(S.OrderDate) AS Year, SUM(S.OrderTotal) AS Total_Sales FROM SalesOrder S GROUP BY year(S.OrderDate) Order By Year ASC

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

79293440

Date: 2024-12-19 07:46:48
Score: 1.5
Natty:
Report link

Sorry for any confusion that I've created. Thanks @Rukmini for leading me in the right direction. My goal was to use the data, the public key and the signature that I will receive from a external system as three base64 strings, to verify them in both C# and in OpenSSL. In this scenario, the external system is Azure Key Vault; I have an EC Key stored there, and I am using the Azure Key Vault REST APIs for sign and verify operations.

My issue was that the signature was in raw format, and OpenSSL always failed the verification.

So the first thing I do is run this C# script

using System.Formats.Asn1;
using System.Security.Cryptography;

// Inputs
// Public key and Signature from another system.
string publicKey_FromOtherSystem = "MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEcLNwTTk9eixQnaMPBmETJpdip0FBHcRrO1Rm2j6geNmWcl1v1pnoipc7ah09sWayJrlssqGTMX2CHiaU6X5kXQ==";
string signature_FromOtherSystem = "fKsprDKyHNqIP3lCtJBBp+Kt+oEOPgYUpPDtA4/O0J+1A1xAku9PsVe/wMI3DgjUR0LMLkWeY950hLJ/L0dVwQ==";
string input = "SGVsbG8gV29ybGQ="; 

byte[] input_base64_bytes = Convert.FromBase64String(input);
byte[] digest = SHA256.Create().ComputeHash(input_base64_bytes);
string input_hex = BitConverter.ToString(digest).Replace("-", "");
Console.WriteLine("Digest: " + input_hex); // Check this value with the one you get in openssl

byte[] publicKeyBytes = Convert.FromBase64String(publicKey_FromOtherSystem);
byte[] signatureBytes = Convert.FromBase64String(signature_FromOtherSystem);

// convert the raw signature from the other system to be ASN1.DER Formatted
byte[] rfc3279DerSignature = ConvertIeeeP1363ToRfc3279Der(signatureBytes);
string rfc3279DerSignature_base64 = Convert.ToBase64String(rfc3279DerSignature); // This signature must be validated also with openssl
Console.WriteLine("Signature in RFC3279 DER format: " + rfc3279DerSignature_base64);

using (ECDsa ecdsa = ECDsa.Create())
{
    ecdsa.ImportSubjectPublicKeyInfo(publicKeyBytes, out _);
    bool isValid = false;
    isValid = ecdsa.VerifyHash(digest, signatureBytes, DSASignatureFormat.Rfc3279DerSequence);
    Console.WriteLine($"IEEE Signature verification returned: {isValid}"); // This should FAIL (using the Raw Signature)
    isValid = ecdsa.VerifyHash(digest, rfc3279DerSignature, DSASignatureFormat.Rfc3279DerSequence);
    Console.WriteLine($"RFC Signature verification returned: {isValid}"); // This should be valid // This will be true even without the Leading Zeros, but it will fail in OpenSSL
}

static byte[] ConvertIeeeP1363ToRfc3279Der(byte[] ieeeSignature)
{
    if (ieeeSignature.Length % 2 != 0)
    {
        throw new ArgumentException("Invalid IEEE P1363 signature length");
    }

    int halfLength = ieeeSignature.Length / 2;
    byte[] r = new byte[halfLength];
    byte[] s = new byte[halfLength];

    Array.Copy(ieeeSignature, 0, r, 0, halfLength);
    Array.Copy(ieeeSignature, halfLength, s, 0, halfLength);

    var writer = new AsnWriter(AsnEncodingRules.DER);
    writer.PushSequence();
    writer.WriteInteger(AddLeadingZeroIfNeeded(r));
    writer.WriteInteger(AddLeadingZeroIfNeeded(s));
    writer.PopSequence();

    return writer.Encode();
}

static byte[] AddLeadingZeroIfNeeded(byte[] value)
{
    if (value[0] >= 0x80)
    {
        byte[] extendedValue = new byte[value.Length + 1];
        Array.Copy(value, 0, extendedValue, 1, value.Length);
        return extendedValue;
    }
    return value;
}

Now, using both signatures, the one that I got from the external system and the one converted by the C# script above, I've tried to validate the signature using OpenSSL

$ data="SGVsbG8gV29ybGQ="
$ pubkey="MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEcLNwTTk9eixQnaMPBmETJpdip0FBHcRrO1Rm2j6geNmWcl1v1pnoipc7ah09sWayJrlssqGTMX
2CHiaU6X5kXQ=="
$ sigRaw="fKsprDKyHNqIP3lCtJBBp+Kt+oEOPgYUpPDtA4/O0J+1A1xAku9PsVe/wMI3DgjUR0LMLkWeY950hLJ/L0dVwQ=="
$ sigRfc="MEUCIHyrKawyshzaiD95QrSQQafirfqBDj4GFKTw7QOPztCfAiEAtQNcQJLvT7FXv8DCNw4I1EdCzC5FnmPedISyfy9HVcE="

$ echo $data | base64 -d > data.bin
$ echo $pubkey | base64 -d > pubKey.pem
$ echo $sigRfc | base64 -d > sigrfc.bin
$ echo $sigRaw | base64 -d > sigraw.bin

$ openssl dgst -sha256 data.bin
SHA2-256(data.bin)= a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e

$ openssl dgst -sha256 -verify pubkey.pem -signature sigraw.bin data.bin
Error verifying data

$ openssl dgst -sha256 -verify pubkey.pem -signature sigrfc.bin data.bin
Verified OK

Conclusion: My issue was when I tried to convert the raw signature to RFC3279. I was missing the leading zeros and after adding those leading zeros, the signature was validated also in OpenSSL

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Rukmini
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Brãnicã

79293434

Date: 2024-12-19 07:44:47
Score: 2
Natty:
Report link

If you couldn't run docker desktop with WSL even after trying all the above steps, then you can simply do that with the help of choosing Hyper-V instead of WSL. You can choose that from the popup that you get while installing docker desktop. docker-installation step

Uncheck the "Use WSL 2 instead of Hyper-V" option.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Koushik Reddy Anumula

79293432

Date: 2024-12-19 07:44:46
Score: 7.5 🚩
Natty:
Report link

I am also facing the same issue

Reasons:
  • Blacklisted phrase (1): I am also facing the same issue
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: bdaqqah

79293421

Date: 2024-12-19 07:36:45
Score: 1.5
Natty:
Report link

Your R system environment may have mixed up the packages Hmisc and psych, which both contains the describe function, but only the former contains weights as an argument. Try running the code again, but this time with Hmisc::describe().

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

79293418

Date: 2024-12-19 07:35:44
Score: 4
Natty:
Report link

This tool can monitor many indicators of processes. Please take a look

https://github.com/tianshiyeben/wgcloud

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

79293415

Date: 2024-12-19 07:35:44
Score: 2
Natty:
Report link

min_timestamp expects a UNIX timestamp in milliseconds (e.g., 1730558155000). Ensure you are providing a valid timestamp in this format.

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

79293414

Date: 2024-12-19 07:35:44
Score: 2.5
Natty:
Report link

I think that it is an issue with the Windows symbol. You can maybe try to replace the Windows symbol with e70f, which can be found in https://www.nerdfonts.com/cheat-sheet. It works for my VSCode.

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

79293408

Date: 2024-12-19 07:33:44
Score: 1
Natty:
Report link

I was able to access the parameter with the following code.

protected override void InitializeParameters(IEnumerable<Parameter> parameters)
        {
            var collectmanCodeParameter = parameters.FirstOrDefault(p => p.Name == "CollectmanCode");
            if (collectmanCodeParameter != null) _collectmanCode = collectmanCodeParameter.Value.ToString();
            base.InitializeParameters(parameters);
        }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: AdylshaY

79293407

Date: 2024-12-19 07:32:43
Score: 2
Natty:
Report link

Delete csproj.user

In my case, I copied the Xamarin/MAUI solution from Windows to Mac and I realized that by deleting these files from the PCL (shared) and iOS project, the app can be installed.

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

79293403

Date: 2024-12-19 07:29:43
Score: 1.5
Natty:
Report link

2024 version based on fabric 6.4.3 and @VitaliiBratok answer:

polygon.on('modified', (o) => {
      const newCoords = polygon.get('points')
        .map(
          (p: Point) =>
            new Point(p.x - polygon.pathOffset.x, p.y - polygon.pathOffset.y),
        )
        .map((p: Point) => util.transformPoint(p, polygon.calcTransformMatrix()));

         polygon.set({'points': newCoords });
        // (...)
});
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @VitaliiBratok
  • Low reputation (1):
Posted by: TheSinOfGreed

79293397

Date: 2024-12-19 07:27:42
Score: 0.5
Natty:
Report link

I'm not familiar with gitLab, there might be an easy solution on the ui.

However you can definitely use git revert <hash-of-unwanted-commit> from the command line

I would create a new branch, use git revert in the new branch, check weather it did what you wanted, and merge

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tamás Bárász

79293395

Date: 2024-12-19 07:27:42
Score: 1.5
Natty:
Report link

Yes, this is a known ACC limitation on issues. ACC only supports pushpin position for TwoDVectorPushpin (3D models) in directly linkedDocuments only unlike BIM360 that supports both TwoDVectorPushpin (3D models) and TwoDRasterPushpin (2D sheets and views).

There is a roadmap to improve the ACC issues to match each feature in BIM360 over a time but for now this coordinates position is not supported for TwoDRasterPushpin models

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

79293393

Date: 2024-12-19 07:26:41
Score: 1
Natty:
Report link

I found a workaround since this seems to be a bug on macCatalyst.

It seems to be a requirement to add individual scales for an asset to appear on macCatalyst at all. It still fails to use the rights asset, but at least will revert to the default asset as long as all scales have been provided. If a single scale is used, there will be no image available on macCatalyst.

I therefore added the macCatalyst image as the default asset and then added an additional iPhone and iPad asset. This will correctly detect the right asset to use in iOS, but macCatalyst will always revert to the then correct default asset.

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

79293390

Date: 2024-12-19 07:26:41
Score: 1.5
Natty:
Report link

I came across the same issue after updating to MAMP Pro 7, and i found it has default host named localhost created which is having root directory pointing to Sites/localhost, so when we try to place another site under localhost directory it throws the same error.

The workaround is to edit the root directory of default localhost to something like Sites/localhost/SOME-DIR and then save the changes after that we can add another hosts as 6 version.

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

79293382

Date: 2024-12-19 07:22:41
Score: 1
Natty:
Report link

use data and remove notification from server payload and dont forget to pass sound param in data

Blockquote

  'data' => [
                'title' => $title,
                'body' => $body,
                'sound' => 'sound.mp3',
                'custom_key'=> 'value'
            ]

Blockquote

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

79293380

Date: 2024-12-19 07:22:41
Score: 3
Natty:
Report link

It looks like two anwers will work great:

From DuesserBaest:

 `.. 

https://regex101.com/r/Kn9yL8/1

From The fourth bird

 `[A-Za-z]{2}\b

https://regex101.com/r/tDOWk3/1

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

79293369

Date: 2024-12-19 07:18:40
Score: 2.5
Natty:
Report link

the first step is to locate your project folder

then run these commands one by one

npm uninstall react react-dom

npm install react@18 react-dom@18

npm install --no-audit --save @testing-library/jest-dom@^5.14.1 @testing-library/react@^13.0.0 @testing-library/user-event@^13.2.1 web-vitals@^2.1.0

here what we are doing is uninstalling react19 and installing react18.

or you can go with this youtube link: https://youtu.be/mUlfo5ptm1o?si=hYHTwc7hApEXzPX5

Reasons:
  • Blacklisted phrase (1): youtu.be
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sai Teja Yelubolu

79293367

Date: 2024-12-19 07:17:40
Score: 1
Natty:
Report link

Click on this "Lua" button in the bottom right corner and choose "MTA Lua", when you want to use LuaHelper features, switch back.

RB Corner

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

79293366

Date: 2024-12-19 07:17:40
Score: 2.5
Natty:
Report link

I also struggled with this docker buildx. I used --driver-opt with proxies, but still it did not solve.

Passing proxies to --build-arg also did not help me. (In one VM it solved the issue but in other VM it did not help)

What helped me is when I passed "/run/buildkit/buildkitd.sock" to no_proxy

something like this export no_proxy="127.0.0.1,localhost,/run/buildkit/buildkitd.sock"

/run/buildkit/buildkitd.sock is critical for buildx.

Reasons:
  • Blacklisted phrase (1): help me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chaitra H S

79293336

Date: 2024-12-19 07:01:36
Score: 1.5
Natty:
Report link

It can also be done through SceneBuilder 22.0.0 by adding a Style "-fx-show-delay" to the tooltip node and setting it to say "100ms". This works for me.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sandeep S D

79293325

Date: 2024-12-19 06:54:34
Score: 5.5
Natty:
Report link

Docker IIS Container: Ensure the container is running and accessible locally at http://192.168.10.1:250.

Public IP & Domain: The domain (testvault.info) is pointed to your server's public IP (31.56.#.#).

IIS with ARR Installed: ARR (Application Request Routing) must be installed on the IIS instance running on the host server.

For the configuration of ARR you can help you with this documentation : https://learn.microsoft.com/fr-fr/iis/extensions/planning-for-arr/using-the-application-request-routing-module

Reasons:
  • Blacklisted phrase (1): this document
  • RegEx Blacklisted phrase (3): you can help
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79293315

Date: 2024-12-19 06:45:32
Score: 2.5
Natty:
Report link

Go into your schema and make the change:

NormalizedName String @unique @db.VarChar(64) NormalizedName String? @unique @db.VarChar(64)

Then create a draft migration:

$ npx prisma migrate dev --name migration-name --create-only

Then edit the migration in SQL (this allow null values ie optional)

ALTER TABLE myTable ALTER COLUMN myColumn {DataType} NULL;

OR Postgres

ALTER TABLE myTable ALTER COLUMN myColumn DROP NOT NULL;

etc.

Then apply the modified SQL:

$ npx prisma migrate dev

I hope this works for you :)

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @unique
  • User mentioned (0): @unique
  • Low reputation (1):
Posted by: mohd sulthan

79293311

Date: 2024-12-19 06:44:32
Score: 4
Natty:
Report link

This is now available in SSMS 21 (Preview), for all tabs, not just the pinned ones.

enter image description here

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

79293307

Date: 2024-12-19 06:41:31
Score: 1
Natty:
Report link

For those new to Delta table, it has a parquet file as base since inception. The base file will not change, but there will be delta logs written on top of the parquet. In other words, if you have a constant update on the delta log, it will build up and eventually takes considerable time to process the table.

delta_table.alias('t1').merge(source_df.alias('t2'),"t1.pk1 = t2.pk1 AND t1.pk2 = t2.pk2") .whenMatchedDelete().execute()

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

79293306

Date: 2024-12-19 06:40:30
Score: 6.5 🚩
Natty: 6
Report link

Excuse me, have you solved the problem? I found that the stcrreg function in Stata can be used to solve the problem, but I couldn't find the solution in R

Reasons:
  • Blacklisted phrase (1.5): have you solved the problem
  • RegEx Blacklisted phrase (1.5): solved the problem?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mild Hu

79293305

Date: 2024-12-19 06:38:29
Score: 0.5
Natty:
Report link

Agree with the answer from @Ayantunji.

Still adding some more context by this post.

As we know, a JavaScript object is an associated array as well.

It may mean the following:

const plainObject = {
  firstItem: 'Good Morning',
  secondItem: 'to All',
  thirdItem: 'of you',
};

The above JavaScript object is also equivalent to the following associated array.

const associativeArray = [];
associativeArray['firstItem'] = 'Good Morning';
associativeArray['secondItem'] = 'to All';
associativeArray['thirdItem'] = 'of you';

However, the above array is not an ordinary JavaScript array, but it is an associated array. An ordinary array will only have numeric indexes. However, an associated array will only have string indexes as in this case.

Since a JavaScript object is an associated array as well, the following all references are valid.

console.log(plainObject['firstItem']);  // Good Morning
console.log(plainObject.firstItem);  // Good Morning
console.log(associativeArray['firstItem']);  // Good Morning
console.log(associativeArray.firstItem);  // Good Morning

And now answering to the question :

While accessing an object, its property must be hard coded in the source code as we have done above. However while accessing an object as an associated array, we have options :- it can be still hard coded as well as referenced by variables.

The following code shows the JavaScript object accessed as an associated array by referencing a variable.

const propsName = 'firstItem';
console.log(plainObject[propsName]);  // Good Morning
console.log(associativeArray[propsName]);  // Good Morning

Please also note that variable reference is not possible while accessing an object. The following two statements will result the value undefined.

console.log(plainObject.propsName);  // undefined
console.log(associativeArray.propsName);  // undefined

A special note:

The way you have tried the same is shown below. At present it does not meet the syntax of a template literal, therefore it is resulting an syntax error.

const href = info.${name}.href;

The syntax error may be rectified as below. However in that case, it will just result the string 'info.accruedinterest.href'. It will still not access the object and get its value.

const name = 'accruedinterest';
const href = `info.${name}.href`; // info.accruedinterest.href
Reasons:
  • Blacklisted phrase (1): Good Morning
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Ayantunji
Posted by: WeDoTheBest4You

79293297

Date: 2024-12-19 06:35:28
Score: 2.5
Natty:
Report link

I had the same issue and had to revert back to Nova 4

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vipula S

79293287

Date: 2024-12-19 06:32:28
Score: 1
Natty:
Report link

Please check below colab code for file exists or not. Check changing file path

import os
file_path = "/Sample.txt"
# Check if the file exists at the path
if os.path.exists(file_path):
    print(f"File found: {file_path}")
else:
    print(f"File not found: {file_path}")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mayur

79293274

Date: 2024-12-19 06:28:27
Score: 1.5
Natty:
Report link

You want to Import OST files into Outlook for Microsoft 365. New users can try out the free method to import their OST files into Outlook. The manual method is converting your One OST files into PST file format. But users know about the technical knowledge. Users can convert the OST files by manual process and follow the step-by-step. Users can make mistakes and lose all their data and not recover it. The manual method is a very long and time-consuming process. I suggest the third-party application try out. Many applications are available on Google.

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

79293268

Date: 2024-12-19 06:26:26
Score: 1.5
Natty:
Report link

remove , and also quotes{'' or "") it should look like this

LINKEDIN_CLIENT_ID=Your LinkedIn Client ID

LINKEDIN_CLIENT_SECRET=Your LinkedIn Client Secret

LINKEDIN_CALLBACK_URL=http://localhost:5001/auth/linkedin/callback

it is an example for linkedin. so you don't need , at the end and "" or '' . that is the solution.

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

79293259

Date: 2024-12-19 06:17:25
Score: 2.5
Natty:
Report link

You must stop the video recording when switching the camera, then reinitialize the camera with the desired lens and start recording again.

The camera package does not yet support hot-switching cameras mid-recording without stopping and restarting.

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

79293253

Date: 2024-12-19 06:12:24
Score: 0.5
Natty:
Report link

I know, the use won't be doing all the things which Tanstack query package brings to table, still posting this question still to understand the future plans on both sides.

I feel, this is similar to useReducer hook which is useful but Redux is used for full set of capabilities and DX.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Nitin Kumar

79293250

Date: 2024-12-19 06:09:23
Score: 2.5
Natty:
Report link

Type annotation for an instance variable must be done at the class level. Such annotations, if not explicitly marked using ClassVar, are understood to relate to instance variables that will be defined in init. Refer also to the relevant section of PEP 526 and the documentation of ClassVar.

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

79293249

Date: 2024-12-19 06:08:23
Score: 1.5
Natty:
Report link

pom.xml is used for a maven project. It is not a required precondition for a java project. You can add the required 3rd party library the referenced libraries of Eclipse.

You can try the solution in How to add a reference in Eclipse. add the required apache poi library to your project before run it.

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

79293243

Date: 2024-12-19 06:06:22
Score: 1.5
Natty:
Report link

Field names such as Username, Password, or Email cannot be changed through Cognito's native options but you can use AWS Amplify.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hadrien Valet

79293239

Date: 2024-12-19 06:05:22
Score: 2.5
Natty:
Report link

Deleting the (.idea) folder, which is hidden within the project, has worked for me.

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

79293224

Date: 2024-12-19 05:59:21
Score: 2.5
Natty:
Report link

Adding this plugin in pom.xml file might help

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.12.1</version>
</plugin>
Reasons:
  • Blacklisted phrase (1): this plugin
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Atul Gupta

79293217

Date: 2024-12-19 05:56:20
Score: 1
Natty:
Report link

If you want to adjust vertical gap in Flow, you can wrap your Button by Item:

Item {
    height: yourButton.height + gapYouWantToSet
    width: yourButton.width

    Button {
        id: yourButton
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: john_d

79293215

Date: 2024-12-19 05:55:19
Score: 0.5
Natty:
Report link

You will need to create a mock of your service that returns null for a given id:

final MyService myService = mock(MyService.class);
when(myService.getPersonById("123").thenReturn(null);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: sweintritt

79293211

Date: 2024-12-19 05:53:19
Score: 3
Natty:
Report link

upgrade transformers to 4.7, this error fixed

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

79293207

Date: 2024-12-19 05:51:17
Score: 8.5 🚩
Natty:
Report link

I tried to edit the file and cleared the cache, but not working. I don't have build folder in the server right now. Only have a folder named next which contains a sub folder static which includes css and media folder. Should you please suggest a method to convert the files in the server into work files?

Reasons:
  • Blacklisted phrase (1): but not working
  • RegEx Blacklisted phrase (2.5): please suggest
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28837667

79293205

Date: 2024-12-19 05:50:17
Score: 0.5
Natty:
Report link

I found the solution select array_to_string(array_agg(concat(CASE WHEN a.rn = 1 THEN 'NEW' ELSE a.name END,a.name2)),'') from ( select row_number() over() rn,name,name2 from emp) a

Result is :- NEWAnanthaRadhaMeenakshiKolahalanGopal

Reasons:
  • Whitelisted phrase (-2): I found the solution
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gopal.anant

79293182

Date: 2024-12-19 05:34:13
Score: 1
Natty:
Report link

Just in case for anyone who might have missed this.

If you have set up everything correctly and the task is still not running and if you are on a laptop follow the steps to check

Select Task -> Properties -> Conditions Make sure under "Power" that the check marks are relevant , by default tasks will not start if you are not connected to AC power. You uncheck it to run it against battery power.power settings

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Deepak Thirumurugan

79293173

Date: 2024-12-19 05:26:12
Score: 3
Natty:
Report link

i found the solution with this plugin idn slot

Reasons:
  • Blacklisted phrase (1): this plugin
  • Whitelisted phrase (-2): i found the solution
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zeref Heretic

79293169

Date: 2024-12-19 05:24:11
Score: 3
Natty:
Report link

Mistake 👇👇

My Free Fire account has been suspended because of my small mistake. I would like to request you to please review my account once and unsuspend it. I am ashamed of my mistake and I promise you that I will never make such a mistake in future.2501833772

Reasons:
  • RegEx Blacklisted phrase (1): I would like to request you to please
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sanju Sanju bariya Baraiy

79293160

Date: 2024-12-19 05:13:10
Score: 0.5
Natty:
Report link

By changing the dsn from localhost/service_name to actual dsn string present in tnsnames.ora file, it worked.

dsn = "(description= (retry_count=20)(retry_delay=3)(address=(protocol=tcps)(port=1522)(host=localhost))(connect_data=(service_name=service_name))(security=(ssl_server_dn_match=no)))"
Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bhavin

79293158

Date: 2024-12-19 05:11:09
Score: 2.5
Natty:
Report link

I had the same issue. I just disable the Prettier extension and it works.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Evelyn Rosell

79293150

Date: 2024-12-19 05:03:08
Score: 1
Natty:
Report link

You have here an example of docker-compose file for an instance odoo on docker. You can have multi version of odoo

` version: '3.8' services: web14: image: odoo:14.0 depends_on: - mydb ports: - "8069:8069" environment: - HOST=mydb - USER=odoo - PASSWORD=myodoo web15: image: odoo:15.0 depends_on: - mydb ports: - "8070:8069" environment: - HOST=mydb - USER=odoo - PASSWORD=myodoo web16: image: odoo:16.0 depends_on: - mydb ports: - "8071:8069" environment: - HOST=mydb - USER=odoo - PASSWORD=myodoo

mydb: image: postgres:13 restart: always ports: - "8073:5432" environment: - POSTGRES_DB=postgres - POSTGRES_PASSWORD=myodoo - POSTGRES_USER=odoo

pgadmin: image: dpage/pgadmin4:6.20 restart: always ports: - "8072:80" environment: PGADMIN_DEFAULT_EMAIL: "[email protected]" PGADMIN_DEFAULT_PASSWORD: "odoo" `

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

79293148

Date: 2024-12-19 05:03:08
Score: 2.5
Natty:
Report link

It was a cookie issue. The domain of the website I was using had changed between writing the code and adding this new functionality. The cookies were stored with the new domain, but the code was loaded a page with the old domain. It routed to the page, but then failed to load via on click because the website domain did not match the domain stored in the cookies.

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

79293146

Date: 2024-12-19 05:02:08
Score: 2
Natty:
Report link

The solution was to drop Orders table and recreate it using the update Order model definition, I have made sure to make and run migration files to prevent this from happening, but it seems I missed a step somewhere, or the migration files simply glitched. the Orders table simply needed to be recreated!

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

79293143

Date: 2024-12-19 04:59:07
Score: 4.5
Natty: 5
Report link

I want to study how android works when sms sends. More precisely - I want to know how android recognizes phone number in sms body, like in the next photos:

For example, somebody sent

Reasons:
  • Blacklisted phrase (1): I want to know
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sushil

79293132

Date: 2024-12-19 04:52:04
Score: 1
Natty:
Report link

I just learned they've built the API for this, but looks like CloudFormation does not support it yet.

https://docs.aws.amazon.com/directoryservicedata/latest/DirectoryServiceDataAPIReference/Welcome.html

Consider using the AwsCustomResource CDK construct to invoke the Amazon API from your CDK application. https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.custom_resources.AwsCustomResource.html

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

79293131

Date: 2024-12-19 04:52:04
Score: 2.5
Natty:
Report link

This usually occurs for me in both React and in NextJs as well and according to my observation this routing change usually takes longer in dev environment try building the react app and running the build it shouldn't take much time compared to before

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

79293121

Date: 2024-12-19 04:40:02
Score: 3
Natty:
Report link

Saya mau melepaskan kaitan akun moonton saya.karna akun moonton dan password saya telah lupa kata sandi.mohon segera lepas kan kaitan akun moonton saya

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

79293112

Date: 2024-12-19 04:32:00
Score: 9 🚩
Natty:
Report link

enter image description here Picture of error gpm please if anyone can help

Reasons:
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (3): anyone can help
  • RegEx Blacklisted phrase (0.5): anyone can help
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jacob Douglas

79293111

Date: 2024-12-19 04:31:59
Score: 3
Natty:
Report link

Normally, you could see the container of the portainer image uploaded just with docker ps -a command. Perhaps, you can restart the application.

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

79293107

Date: 2024-12-19 04:28:59
Score: 1
Natty:
Report link

If you have tried the brew dependencies listed in other solutions and it still doesn't work you are likely on an old version of node... upgrading fixed everything for me.

$ nvm install --lts

$ nvm use --lts

$ npm i canvas

Cheers

Reasons:
  • Blacklisted phrase (1): Cheers
  • RegEx Blacklisted phrase (2): it still doesn't work
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: Albert Renshaw

79293106

Date: 2024-12-19 04:27:58
Score: 0.5
Natty:
Report link

Piling on especially to @DanielRichnak answer because I need the formatting, you can write an in-line, pipeline-aware code block (essentially an anonymous function) that can read and process arguments from the pipeline.

PS> 17 | & {param([Parameter(ValueFromPipeline=$true)]$arg)PROCESS{if ($arg -gt 17) {echo "$arg -gt 17"} else {echo "$arg -not -gt 17"}}}
17 -not -gt 17
PS> 

also:

PS> 18 | & {param([Parameter(ValueFromPipeline=$true)]$arg)PROCESS{if ($arg -gt 17) {echo "$arg -gt 17"} else {echo "$arg -not -gt 17"}}}
18 -gt 17
PS> 

The & {} creates the anonymous function and the [Parameter(ValueFromPipeline=$true)] and PROCESS{} make it pipeline-aware.

It's not at all terse, and it feels a bit like fighting against the language, but whatever.

Here's that code formatted for easy reading:

PS> 17 | & {
    param(
        [Parameter(ValueFromPipeline=$true)]
        $arg
    )

    PROCESS {
        if ($arg -gt 17) {
            echo "$arg -gt 17"
        }
        else {
            echo "$arg -not -gt 17"
        }
    }
}
17 -not -gt 17
PS> 

(you can still paste that into the console and ISE (without the "PS> " prompt :) (I tested on w10 + PS 5.1))

And the condition doesn't need to be on the pipeline parameter:

PS> $x=$true
PS> 17 | & {
    param(
        [Parameter(ValueFromPipeline=$true)]
        $arg
    )

    PROCESS {
        if ($x) {
            echo "true and arg=$arg"
        }
        else {
            echo "false and arg=$arg"
        }
    }
}
true and arg=17
PS> 

and

PS> $x=$false
PS> 17 | & {
    param(
        [Parameter(ValueFromPipeline=$true)]
        $arg
    )

    PROCESS {
        if ($x) {
            echo "true and arg=$arg"
        }
        else {
            echo "false and arg=$arg"
        }
    }
}
false and arg=17
PS> 

And of course this anonymous function can continue to pass parameters down the pipeline:

PS> $do_increment = $true
PS> 17 | & {
    param(
        [Parameter(ValueFromPipeline=$true)]
        $arg
    )

    PROCESS {
        if ($do_increment) {
            $arg + 1
        }
        else {
            $arg
        }
    }
} | ForEach-Object {echo "it is $_"}
it is 18
PS> 

companion example:

PS> $do_increment = $false
PS> 17 | & {
    param(
        [Parameter(ValueFromPipeline=$true)]
        $arg
    )

    PROCESS {
        if ($do_increment) {
            $arg++  # ++ changes $arg but doesnt return anything
            $arg
        }
        else {
            $arg
        }
    }
} | ForEach-Object {echo "it is $_"}
it is 17
PS> 

Of course your function does not need to be anonymous. You can give it a name and define it before use.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @DanielRichnak
  • Low reputation (0.5):
Posted by: john v kumpf

79293105

Date: 2024-12-19 04:26:58
Score: 1
Natty:
Report link

You need to load the extension this way:

viewer.loadExtension('Autodesk.Measure')

https://github.com/wallabyway/forge-markup-measure-extensions/blob/master/Measure/Measure.js#L989

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

79293100

Date: 2024-12-19 04:24:58
Score: 1
Natty:
Report link

After extensive research, the best approach I found to use #region and #endregion to structure and organize the code in cshtml files for better readability. based on Rachel's! Here's an example:

 @{#region CommentName}
  <div>
   @* A lot of code here *@
 </div>
 @{#endregion}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abd Elaziz El7or

79293099

Date: 2024-12-19 04:23:58
Score: 2.5
Natty:
Report link

There are many algorithms to do random sampling of integer partitions.

See this answer for a quick start: https://stackoverflow.com/a/19829615/2329304 .

See also Improvements to exact Boltzmann sampling using probabilistic divide-and-conquer and the recursive method, DeSalvo 2017

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Stephen DeSalvo

79293097

Date: 2024-12-19 04:21:57
Score: 2.5
Natty:
Report link

in case anybody is still facing this issue, it could be that you are trying to run this on "http" and not "https", if you are using jetbrains rider, be sure to use the https one at the top right next to the run button

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

79293095

Date: 2024-12-19 04:20:56
Score: 7.5 🚩
Natty: 4
Report link

As commented by @Jonask, "setting Bypass for network in Chrome Dev Tools>Application>Service Workers" fixed the problem. Can anyone provide what is exactly happening in the background with this setting? Because I am not sure if this has to be set for all the users who is going to use the application? Or if this issue exist only with localhost?

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Can anyone provide what
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Jonask
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Srikanth

79293090

Date: 2024-12-19 04:15:55
Score: 2
Natty:
Report link

Android Studio: The version released in Spring 2023 is 2023.1.1.

Gradle: The version released in Spring 2023 is 8.1.1.

Java: The version released in Spring 2023 is Java 17. some apk ok

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

79293089

Date: 2024-12-19 04:13:54
Score: 1.5
Natty:
Report link

Even it seems like a server side error, it can be solved erasing the excess of repeated cookies in user browser. In my case it happened because it created a pair of cookies for each port used, and I was using several ports for several apps. Anyways as stated in the other answers it will also be solved increasing nginx limits.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Moisés Briseño Estrello

79293085

Date: 2024-12-19 04:11:54
Score: 3
Natty:
Report link

Found this easy to use service that even has a knowledge graph. Works with any model, framework, SDK. https://www.unremarkable.ai/llama-chat-history-with-zeps-ai-memory-knowledge-graph/

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

79293078

Date: 2024-12-19 04:04:52
Score: 4
Natty:
Report link

Only red number desert m1887 m1014 ump

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

79293075

Date: 2024-12-19 04:01:51
Score: 3
Natty:
Report link

If that commit change already in target branch, then Git just skip it.So X1 change, maybe before already in Branch A, so this time, Git no need X1

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

79293068

Date: 2024-12-19 03:51:49
Score: 1.5
Natty:
Report link

Open the NGINX configuration file on you server at this path :

"sudo vi /etc/nginx/nginx.conf"

if you have configured virtual host it's at this path :

"sudo vi /etc/nginx/sites-enabled/example.conf"

For limit the access to the URL, you have to write this :

location /configuration.json { ... deny IP ADDRESS; ... }

Tell me, if this answer work correctly !

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

79293054

Date: 2024-12-19 03:43:48
Score: 2.5
Natty:
Report link

Manage to do it, you need to create a custom script at your electron main.js

First it'll download your latest .exe

Then after downloaded already on user local PC, you need to silent install it.

After installation success, quit and restart your app. latest version will change if upgradedCode is match

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

79293049

Date: 2024-12-19 03:41:47
Score: 2.5
Natty:
Report link

Wasted two or more days on it, tried everything, but found that the issue was only because I was running the app in the simulator. On a real device, it is working perfectly fine.

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

79293048

Date: 2024-12-19 03:40:47
Score: 1.5
Natty:
Report link

The problem is solved according to @OldBoy input to move the increment.

full code

mask_i = 0
a = 0

f = open("masking_log.txt", "w")

for im in large_image_stack_512:
    image_success_flag = 0
    mask_i= 0
    
    while(image_success_flag < 1):
        jpeg_im = Image.open(os.path.join(ROOT_DIR,im))
        print(os.path.join(ROOT_DIR,im))
        # Semantic segmentation
        segmentation = semantic_segmentation_nvidia(jpeg_im)
        print("the length of current segmentation labels are: ", len(segmentation))
        while(mask_i < len(segmentation)):
           image_mask = segmentation[mask_i]["label"]
           print(image_mask)
           if(image_mask == "water"):
               print("correct mask")
               water_mask = segmentation[mask_i]["mask"]
               imar = np.asarray(water_mask)
               plt.imsave('D:/semester_12/Data_Irredeano/'+'img_'+str(a)+'.jpg', imar, cmap="gray") 
               print("here")
               f.write("image " + str(a) + "\nsuccess-label at " + str(mask_i) + "\nwith dir: " + str(im)  + "\n with mask labeled as: " + str(water_mask_label) + '\n\n')
               print("mask-succesfully saved")
               mask_i = 0 
               break
           elif(image_mask != "water"):
               mask_i+=1
               print("number of mask: ", mask_i)
               if(mask_i == len(segmentation)):
                    print("this image has no correct mask, check later")
                    f.write("image " + str(a) + "\n unsuccess-labelling (has no 'water' label) final \n mask_i value: " + str(mask_i) + "\nwith dir: " + str(im)  + "\n check later " + '\n\n')
               image_success_flag=+1  
        a+=1


f.close()

Basically instead of selecting mask by checking the segmentation[mask_i]["label] I check if the 'cursor' or mask_i if it's smaller than the length of the List (len(segmentation)). The += also contribute to the problem since it's adding first then change the number, as implied here and here, because of that my 'cursor variable' can move beyond the array size before checking the segmentation[mask_i]["label]. But I don't think I have other choice other than that to increment since =+ is just redefining itself.

Other than that I also add another while condition to make sure the code runs while the mask_i is below the size of the List, so the program become "if it's still below the list size, check whether mask is "water" or not "water".

Although the program is finished and can mask most of the images, I still have to log several different images since not all of them had "water" as the label, but something close like "Sea" that we humans can intuitively say they are basically the same but computer that can only compare strings not.

Thank you again for everyone who's willing to help, I'm accepting if there's better way to do it

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @OldBoy
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: RedSean

79293034

Date: 2024-12-19 03:23:44
Score: 1.5
Natty:
Report link

You can use Page indicators now. See Page indicators | Wear

You can also check this question about how to custom the rotation of Page indicators: Android : Jetpack Compose: Create custom PageIndicatorsStyle for HorizontalPageIndicators

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

79293030

Date: 2024-12-19 03:20:43
Score: 1
Natty:
Report link

Resolved by using Control + Click instead of Right Click, as there was no solution that I was looking for.

 private void j1ActionPerformed(java.awt.event.ActionEvent evt) {                                   
            // TODO add your handling code here:
            buttonAction(evt, 1);
    
            if (evt.getModifiers() == 18){
                System.out.println("Control click pressed!")
            }
    }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rithvik Kandula

79293028

Date: 2024-12-19 03:20:43
Score: 1.5
Natty:
Report link

we should be able to setup SAML integration with OpenSearch VPC now:

SAML doesn't require direct communication between your identity provider and your service provider. Therefore, even if your OpenSearch domain is hosted within a private VPC, you can still use SAML as long as your browser can communicate with both your OpenSearch cluster and your identity provider.

Source: Trust me bro

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

79293026

Date: 2024-12-19 03:17:42
Score: 5.5
Natty:
Report link

Do you have try to implement your lists in a div ?

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

79293018

Date: 2024-12-19 03:08:41
Score: 1
Natty:
Report link

Update curl and Dependencies

Ensure your curl is up-to-date, as an outdated version can sometimes cause issues. Update curl using your system’s package manager:

For Ubuntu/Debian: sudo apt update && sudo apt install curl -y

For Fedora:sudo dnf update && sudo dnf install curl -y

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

79293009

Date: 2024-12-19 03:04:39
Score: 6.5 🚩
Natty: 5.5
Report link

This link is blocked. Is there a new resource to point to?

Reasons:
  • Blacklisted phrase (1): This link
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrew V hehim

79293008

Date: 2024-12-19 03:03:39
Score: 2.5
Natty:
Report link

Yah mera mobile number 03208556357 email ID ka number 35201-9292125-3 main daroge wala Bilal Kyon Nahin aur berojgar hun mujhe Kisi job Ki Talash Hai Aur Mera mam balatkar Kiya Kafi kharab hai maine ghar ka Banaya aur Bil pay karni hai Kaun Mere Pass khane ke liye Kuchh Bhi Nahin Hai Meri help job ke liye bhi aur mere bacchon ke liye khane Peene ke liye yah Mera easypaisa account number 03208556357 brae Meherbani Meri help ki Jaaye.

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

79292997

Date: 2024-12-19 02:49:37
Score: 2
Natty:
Report link

This is for me one year later. I ran into this problem when trying to customize logstash-input-redis plugin, I added require 'redis-cluster-client', done the code, bundle execute rspec, gem build and logstash-plugin install ... successfully but logstash failed to start. 3 days of hair pulling later after, I enabled debug log with --log.level debug and found out that it could not load 'redis-cluster-client' and the evil thing here is this crash-causing issue is logged in debug level.

I had also tried to follow Logstash's document with external dependencies but it doesn't seem to do anything better.

Finally I get it to work by changing JRUBY_HOME env var from the binaries I have downloaded to JRUBY_HOME=$LOGSTASH_HOME/vendor/jruby, then I clean up the gem, remove then reinstall the plugin and it finally works.

if this may helped you, please give me a star https://github.com/tai-tran-tan/logstash-input-redis_cluster Good luck my friends!

Reasons:
  • RegEx Blacklisted phrase (2.5): please give me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tran Tai