79074348

Date: 2024-10-10 12:18:38
Score: 1.5
Natty:
Report link

The problem was that the glob was invalid. Not the one I though, but other in the codebase.
Search for other globs in your code base.
Answering for anyone out there that needs this.
Astro.glob() itself isn't broken, which is what I thought previously

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

79074337

Date: 2024-10-10 12:14:37
Score: 0.5
Natty:
Report link

The thread for cleaning abandoned connections is created in the JVM as static, so the GC can't do anything with it, which ultimately blocked unloading classes. In driver version 8.x, you can disable the creation of this thread by adding to the JVM parameter

-Dcom.mysql.cj.disableAbandonedConnectionCleanup=true

In Flink you can add this to config.yaml file like this:

env:
   java:
      opts:
         all: -Dcom.mysql.cj.disableAbandonedConnectionCleanup=true

In older versions of the driver, there is no such option and the only thing you can do is to disable this thread manually at the application startup by executing com.mysql.jdbc.AbandonedConnectionCleanupThread.shutdown();

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

79074306

Date: 2024-10-10 12:06:35
Score: 0.5
Natty:
Report link

Unfortunately (or perhaps by design) both solutions in this thread still generate passwords with symbols even though the numberOfNonAlphanumericCharacters is set to 0. Also the number of symbols generated will very likely be higher than numberOfNonAlphanumericCharacters.

So I adjusted @ReneLombard's answer and made adjustments to make sure that the output is consistent with the input variables.

public class Password
{
    private readonly char[] symbols = "!@#$%^&*()_-+[{]}:>|/?".ToCharArray();

    public string Generate(int length = 64, int maximumNumberOfSymbolsInPassword = 0)
    {
        ArgumentOutOfRangeException.ThrowIfLessThan(length, 1);
        ArgumentOutOfRangeException.ThrowIfGreaterThan(length, 128);
        ArgumentOutOfRangeException.ThrowIfLessThan(maximumNumberOfSymbolsInPassword, 0);
        ArgumentOutOfRangeException.ThrowIfGreaterThan(maximumNumberOfSymbolsInPassword, length);

        using var rng = RandomNumberGenerator.Create();
        var characterBuffer = new char[length];
        var byteBuffer = new byte[length];
        rng.GetBytes(byteBuffer);

        for (var i = 0; i < length; i++)
        {
            var idx = byteBuffer[i] % 62;
            switch (idx)
            {
                case < 10:
                    characterBuffer[i] = (char)('0' + idx);
                    break;
                case < 36:
                    characterBuffer[i] = (char)('A' + idx - 10);
                    break;
                default:
                    characterBuffer[i] = (char)('a' + idx - 36);
                    break;
            }
        }

        // Replace characters in the buffer with symbols, note that this might generate
        // fewer passwords than is specified in maximumNumberOfSymbolsInPassword if
        // the same k index value is chosen more than once
        for (var i = 0; i < maximumNumberOfSymbolsInPassword; i++)
        {
            int k;
            do
            {
                k = GetRandomInt(rng, length);
            }
            while (!char.IsLetterOrDigit(characterBuffer[k]));
            characterBuffer[k] = symbols[GetRandomInt(rng, symbols.Length)];
        }

        return new string(characterBuffer);
    }

    private static int GetRandomInt(RandomNumberGenerator randomGenerator, int maxInput)
    {
        var buffer = new byte[4];
        randomGenerator.GetBytes(buffer);
        return Math.Abs(BitConverter.ToInt32(buffer) % maxInput);
    }
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @ReneLombard's
  • Low reputation (1):
Posted by: sverrirs-landlaeknir

79074302

Date: 2024-10-10 12:04:34
Score: 5.5
Natty:
Report link

i'm facing same issue will try to re-install it xcode-select-install may work for me too

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): i'm facing same issue
  • Low reputation (1):
Posted by: jatin71544

79074296

Date: 2024-10-10 12:03:34
Score: 1.5
Natty:
Report link

I'm the author of GoogleMapsApi - https://www.nuget.org/packages/GoogleMapsApi

This will let you interact with many Google maps apis (Directions, Distance, Elevation, Geocoding, Places, Timezone, Static maps, etc...)

It's open source - feel free to check it out and contribute - https://github.com/maximn/google-maps

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Maxim

79074292

Date: 2024-10-10 12:02:34
Score: 1
Natty:
Report link
import sys
from pathlib import Path

directory = Path(__file__).resolve().parent.parent
sys.path.append(str(directory))

from root_folder.[some.py] import what_you_want
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yilmazdincsoy

79074289

Date: 2024-10-10 12:02:34
Score: 1
Natty:
Report link

Matt is correct, preupdate rules are triggered whenever an entity with a rule is committed using a bundle and the CONDITION evaluates to true. The API's use bundles to do database updates so the preupdate rules fire in a similar fashion to the internal updates.

Note: if your rule depends upon the context in which the update is running, there will be differences between PCF updates and API updates, i.e. the currentUser can be different.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Edgar D.

79074288

Date: 2024-10-10 12:01:33
Score: 4.5
Natty: 7
Report link

Oh,it's interesting way, so it can help me, thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): help me
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Illya

79074273

Date: 2024-10-10 11:57:32
Score: 3
Natty:
Report link

Simply in ngrok forward like this : ngrok http 80

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

79074263

Date: 2024-10-10 11:54:31
Score: 10.5 🚩
Natty: 4
Report link

Did you fix it somehow? I'm facing the exact same issue you described.

Reasons:
  • RegEx Blacklisted phrase (3): Did you fix it
  • RegEx Blacklisted phrase (1.5): fix it somehow?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the exact same issue
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you fix it some
  • Low reputation (0.5):
Posted by: christophrumpel

79074259

Date: 2024-10-10 11:53:30
Score: 0.5
Natty:
Report link

I worked around this by styling the LinearGradient view with { position: 'absolute' }.

Code snippet:

<LinearGradient
  style={{
    position: 'absolute',
    left: 0,
    bottom: 0,
    right: 0,
    zIndex: 90,
  }}
  colors={['transparent', 'black']}
  start={{x: 0.5, y: 0}}
  end={{x: 0.5, y: 1}}>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ksingh

79074257

Date: 2024-10-10 11:52:30
Score: 2
Natty:
Report link

everybody! Because I had to finish this project very fast, I actually used the new columns I have created, filled with WGS84 data converted from the 3946 ones. All worked fine with WGS84 data. And Thomas, I thought of that too and I have tested the 3946 data. Nothing was out of order. Only after using the proj4js...

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

79074254

Date: 2024-10-10 11:52:30
Score: 0.5
Natty:
Report link

I realised my mistake. Writing the answer here in case other might encounter the same issue.

I didn't set a variable to the equation.

using the same problem as above:

sol=solve(x*sin(20)==5000)

still gives the output:

warning: passing floating-point values to sym is dangerous, see "help sym"
warning: called from
    double_to_sym_heuristic at line 50 column 7
    sym at line 379 column 13
    mtimes at line 54 column 5

sol = (sym)

  7106000
  ───────
   413⋅π

If I write sol it provides with the following output:

>> sol
sol = (sym)

  7106000
  ───────
   413⋅π

However. If I write this

>> double(sol)
ans = 5476.8

Which means that I can now set a variable to it and use it for further equations.

Like this:

>> z = double(sol)
z = 5476.8

Which means that z is now the value I wanted in the first place.

>> z
z = 5476.8
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Michael L

79074251

Date: 2024-10-10 11:52:30
Score: 1.5
Natty:
Report link

It was not actually a table problem. In this code there is a timer that triggers actions every second and a frame that listens to different events. I deleted the timer and there is no more problem. I think that when an event was received at the same precise moment or the timer had to execute its actions it generated a freeze. I will do tests using coroutines, which, if I understand correctly, are used precisely to avoid this kind of situation.

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

79074250

Date: 2024-10-10 11:52:30
Score: 1
Natty:
Report link

Check the location of your code using Facades: Ensure that you're not using Laravel's Facades too early in the lifecycle, such as in global configuration files or during the setup phase. Facades should only be used after the application has been properly initialized.

Wrap Facade usage inside a Service Provider or Controller: If you're calling a Facade in places like app.php or config.php, move the logic into a service provider or controller where Laravel's application instance is guaranteed to be fully loaded.

Bootstrap the application manually (if necessary): If you're trying to use a Facade in a custom script outside of Laravel's core, you need to bootstrap the Laravel application manually.

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

79074249

Date: 2024-10-10 11:51:29
Score: 2
Natty:
Report link

I've found help at the nuxt discord channel. Here is the link for future references: https://discord.com/channels/473401852243869706/1293875986907004968

TLDR: The coupling between the nuxt page and the router is already implicit, so an explicit coupling is no big deal.

The guide is about not linking components to the router. This does not necessarily include pages at nuxt.

You could just bind the route params from page level into the component and leave the component unaware of the route and page if reusability is a thing.

Reasons:
  • Blacklisted phrase (1): Here is the link
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Theiaz

79074235

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

As @hoangdv mentioned, the simple fix for this was to change the mock return data:

global.fetch = jest.fn(() =>
      Promise.resolve({
        json: () => Promise.resolve(mockProgramData[0]),
      }),
    ) as jest.Mock;

Instead, I was returning mockProgramData, and I hadn't realized the logs I wrote from the hook's fetch call was returning an array: enter image description here This was the issue, as the page component wouldn't destructure the Asset element properly, giving the appearance of receiving the undefined data as first returned by the fetch call on initial render.

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

79074232

Date: 2024-10-10 11:48:29
Score: 0.5
Natty:
Report link

If one have mysql workbench installed you can access mysql or mysqldump command from there like:

/Applications/MySQLWorkbench.app/Contents/MacOS/mysql -u <USER> -p<PASS> -h 127.0.0.1 --execute="SELECT 1"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dzmitry Dranitski

79074227

Date: 2024-10-10 11:47:29
Score: 2.5
Natty:
Report link

I discovered that the issue was due to the default language of the device. It was causing an invalid character error during the build process. Changing the system language to English resolved the issue, and the build completed successfully.

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

79074226

Date: 2024-10-10 11:46:28
Score: 1
Natty:
Report link
  1. Stash Your Changes:

git stash push -m 'temporary changes'

  1. Checkout the older commit:

git checkout <older-commit-hash>

  1. Apply your stashed changes:

git stash apply

  1. Clean up the stash:

git stash drop

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

79074225

Date: 2024-10-10 11:46:28
Score: 2.5
Natty:
Report link

In the .wixproj, I had the line:

which I had to change to

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

79074214

Date: 2024-10-10 11:43:27
Score: 2.5
Natty:
Report link

Above answer from @BenGeeBee did not work for me. However I found solution under ngx-extended-pdf-viewer repo in GitHub comment.

My application is running .NET 8, so adding below to program.cs file fixed the issue.

var provider = new FileExtensionContentTypeProvider();
provider.Mappings[".ftl"] = "text/plain"; 

app.UseStaticFiles(new StaticFileOptions
{
    ContentTypeProvider = provider
});
Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • User mentioned (1): @BenGeeBee
  • Low reputation (1):
Posted by: tuomis

79074198

Date: 2024-10-10 11:37:26
Score: 1
Natty:
Report link

coord_cartesian() will plot values even if they are close or outside of your defined limits.

p + geom_pointrange(aes(ymin = lower, ymax = upper)) + coord_cartesian(ylim=c(NA, 5.2))

enter image description here

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

79074184

Date: 2024-10-10 11:35:26
Score: 0.5
Natty:
Report link

It is not for VISA or your bank to generate a code, but this is Google that is sending you a code alongside the name of the issuer of the operation or the name of the operation.

Like GOOGLE*ABC 123456

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

79074181

Date: 2024-10-10 11:34:25
Score: 1.5
Natty:
Report link

you should try adding b.update() in showb(e) to force re-render like this:

def showb(e):
b.border = ft.border.all(1, ft.colors.WHITE)
b.update()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: doohed

79074175

Date: 2024-10-10 11:33:25
Score: 2
Natty:
Report link

I faced the same problem with FastAPI, I was able to resolve it by inverting the values ​​of my pipe: bool | str rather than str | bool

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

79074173

Date: 2024-10-10 11:32:25
Score: 2.5
Natty:
Report link

Intel has replaced EPID with their TrustAuthority service. EPID effectively shutdown EPID's dev endpoint on September 29, 2024, and production EPID is end-of-life on Apr 2, 2025.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: José Braga

79074168

Date: 2024-10-10 11:30:25
Score: 3
Natty:
Report link

For me this given command is not working and still not able to connect with internet. Ran this command several time but no luck.

sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --stop sudo /Applications/VMware\ Fusion.app/Contents/Library/vmnet-cli --start

Reasons:
  • Blacklisted phrase (1): no luck
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ashwani

79074160

Date: 2024-10-10 11:28:24
Score: 0.5
Natty:
Report link

After some research,I found the answer:

... However, starting from ECMAScript 2022 (ES13), 'await' can be used at the top level of modules without being placed in asynchronous functions. This means that you can directly use the 'await' keyword at the top level of the module without wrapping it in any function. This is a module specific feature and is not applicable to traditional script files.

Here is an example demonstrating how to use await at the top level of a module:

// This is ES moudule.
import fetch from 'node-fetch';

const response = await fetch('https://api.example.com/data');
const data = await response.json();

console.log(data);

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

79074157

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

As drew-reese suggested, the button was actually triggering the method nextStep and also submitting the form, since the button didn't have a type="button" property.

It is inside a form, so it's treated like a submit button. Adding type="button" to the DefaultButton component solved the problem.

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

79074153

Date: 2024-10-10 11:26:23
Score: 3
Natty:
Report link

all new to this, what are the coloured text in Amber.. Changing them, what will it affect. Also I noticed the start time are showing for roles. But only end time.

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

79074147

Date: 2024-10-10 11:24:23
Score: 3
Natty:
Report link

where I can find the "manual" explaining all the parameters in var url_ext = '/export?' +'format=pdf' +'&size=a4' //A3/A4/A5/B4/B5/letter/tabloid/legal/statement/executive/folio +'&portrait=true' //true= Potrait / false= Landscape +'&scale=1'

It's works fine for me, but when I tried the same with an hidden shhet it thows an error..

Thank you very much

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): where I can find the
  • Low reputation (1):
Posted by: Mauricio Fernandez

79074142

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

I assume, you successfully created a html-file from the excel-sheet. And I assume, you have a plugin (i.e. email-ext plugin) to add attachments to emails. Then I suggest, you add this html-file as artifact. Then you should be able to append this artifact to the email.

Details:

https://plugins.jenkins.io/email-ext/

Can Jenkins send mail notify with attachment?

https://medium.com/@gustavo.guss/jenkins-send-email-with-attachment-cec1e052583a

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
Posted by: rundekugel

79074141

Date: 2024-10-10 11:23:22
Score: 1
Natty:
Report link

Issue resolved thanks to @jonrsharpe!

I had to add a separate .npmignore file as the .gitignore ended up ignoring the bundled contents in my ./dist, too, when publishing to NPM. Saying explicitly what to and what not to ignore worked. I should looked more explicitly the published npm package instead of just keeping an eye on my local.

Here's the .npmignore I'm using:

# Ignore node_modules (already ignored by default by npm)
node_modules/

# Ignore TypeScript source files if you compile to JavaScript
src/

# Ignore test files
test/
__tests__/
*.spec.ts
*.test.ts

# Ignore build scripts, configs, and environment files
scripts/
build/
.env
*.log
*.sh

# Ignore configuration files (these are generally not needed in the final package)
tsconfig.json
.eslintrc.json
.prettierrc
jest.config.js
.vscode/

# Ignore local environment files or OS-generated files
.DS_Store
Thumbs.db

# Ignore npm and yarn lockfiles (optional, depending on your preference)
package-lock.json
yarn.lock

# Ignore git-related files
.git/
.gitignore
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @jonrsharpe
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rahul

79074140

Date: 2024-10-10 11:21:22
Score: 1.5
Natty:
Report link

In the HTTP header manager check Content-Type value is set correct. In my case i had used application/x-www-form-urlencoded but i check in google console for inspect login page and it is text/html Changed to text/html and it works for me.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Bansari

79074134

Date: 2024-10-10 11:20:22
Score: 1
Natty:
Report link

The strange error in the Azure portal went away by itself, so I guess it was an error in the service itself.

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

79074124

Date: 2024-10-10 11:17:20
Score: 2.5
Natty:
Report link

Those are private pub registry. You need a secret token for auth and access packages to the project. You should ask the project maintainers for the secret token.

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

79074123

Date: 2024-10-10 11:17:20
Score: 2
Natty:
Report link

In my case the issue was while creating the instance (You can also modify it in the security groups later). My instance was not allowing http/https traffic due to the inbound rules in the security groups. So while creating the instance check the boxes to allow https traffic to the server. If you already have an instance created edit inbound rules to allow traffic for https on port 443. Previously I added custom tcp to allow all IP4's but it did not work.

Hope this helps. Thanks!Security rules that worked

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gigatron333

79074120

Date: 2024-10-10 11:17:20
Score: 11
Natty: 7
Report link

@IcedDante this is exactly what I am looking for as well. I need to understand when our SSE connection through which we push live auction updates at caravanmarkt24.de to the browser is "leaking". Of course I have reconnection, failover and what not implemented. But I have to know for sure that the connection is up and running for all users on production all the time. Did you find a working solution for monitoring SSE?

Reasons:
  • Blacklisted phrase (2): I am looking for
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (3): Did you find a
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @IcedDante
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: peter siemen

79074118

Date: 2024-10-10 11:16:20
Score: 3
Natty:
Report link

Today, I installed Version 2409 (Microsoft® Excel® for Microsoft 365 MSO, Version 2409 Build 16.0.18025.20030, 64-bit). With this update, memory is now being released properly.

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

79074112

Date: 2024-10-10 11:15:20
Score: 1
Natty:
Report link

You can set the options

{
  ...,
  staleTime: Infinity
  cacheTime: Infinity,
  ...
}

This options will prevent useQuery from refetching.

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

79074103

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

Checkout the link below. The author demonstrates testing a ServiceBusTriggerFunction. I created something similar to test a CronTriggerFunction.

[https://www.wagemakers.net/posts/testing-service-bus-trigger-azure-functions]

Reasons:
  • Blacklisted phrase (1): the link below
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Malt

79074102

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

It happened to me while Using VS 2022 on Unity 2022.3.25f1 on Windows 10.

While I can't answer the "why?" entirely, after trying everything mentioned above (Restarting Unity and VS, Regenerating Project Files), as well as disabling/re-enabling the debugger, and removing/re-installing the Visual Studio Editor package (using the Package Manager), I found a workaround, that doesn't involve rebooting the PC:

Instead of clicking on the "Attach to Unity" button, I clicked on the menu: Debug/Attach Unity Debugger, and it worked!

The Debug/Attach Unity Debugger was mentioned above as a workaround for a missing "Attach to Unity" button but was an inspiration to try it as a solution.

So, I suspect the answer to "why?" has to do with a VS bug in the button functionality, since the actual functionality is OK.

Reasons:
  • Blacklisted phrase (0.5): why?
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Pako88

79074084

Date: 2024-10-10 11:07:17
Score: 0.5
Natty:
Report link

Solution is:

Remove Secrets from the .env File

This issue includes a critical vulnerability where an AWS secret access key was exposed in the .env file. This poses a security risk as sensitive credentials can be leaked. The key to mitigating the issue was commented out/Removed, and the recommendation is to manage secrets via environment variables or an AWS IAM role

Reasons:
  • Whitelisted phrase (-1): Solution is
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Shehan Jayalath

79074064

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

You could host the F# compiler service for F# scripting: https://fsharp.github.io/fsharp-compiler-docs/fcs/interactive.html Or if you want a scripting editor too on Windows you can add F# scripting via https://github.com/goswinr/Fesh (my project)

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

79074063

Date: 2024-10-10 11:02:16
Score: 1
Natty:
Report link

What do you mean by the function itself being tail-recursive?

Yes, tail recursion is being applied to those calls. It is not to the nested calls. This avoids creating many stack frames. But as you walk right, you will still get a deep stack.

So the function is benefitting from the optimization. But only on half of your recursive calls. What do you want to call that?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What do you mean
  • High reputation (-2):
Posted by: btilly

79074059

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

Вот написал regex

\b(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?) # IP-адрес
:(?!0+)(?!6553[6-9])(?!655[4-9]\d)(?!65[6-9]\d\d)(?!6[6-9]\d\d\d)(?![7-9]\d\d\d\d)(\d{1,5})  # Порт
\b
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • No latin characters (1):
  • Low reputation (1):
Posted by: Daloshka

79074048

Date: 2024-10-10 10:59:15
Score: 1.5
Natty:
Report link

Regrettably, specifying TestCaseFilter via runsettings is not supported in R# yet. There's an open report about this: RSRP-498774 TestCaseFilter in .runsettings ignored, please upvote the issue.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ivan Skorikov

79074047

Date: 2024-10-10 10:58:15
Score: 2
Natty:
Report link

I have been scouring the internet for ways to make a ggplot graph on R include the text 0.30 rather than 0.3. After about 2 hours (and not managing to get anything to work), I tried something very simple and it did what I wanted it to... I simply put '' around the 0.30 as such:

 annotate("text", x = 50, y = 44, 
       label="italic(R^2)=='0.30'", parse=TRUE, size = 6, colour="#56B4E9") 

Worked a treat! Hope this is helpful for others :)

Reasons:
  • Blacklisted phrase (1): Worked a treat
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: JamieS

79074044

Date: 2024-10-10 10:57:15
Score: 0.5
Natty:
Report link

You should also add /api/v1/forum/threads (without any slashes) to the security exceptions in the SecurityConfig and the JwtFilter, currently that configurations set as public only the paths that has a suffix.

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

79074040

Date: 2024-10-10 10:57:14
Score: 11 🚩
Natty:
Report link

I have the same problem and netstat –anlp | grep 9000 return nothing. How did you manage to connect with jconsole? What did you do to get out information on netstat?

I would be grateful for an answer.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did you manage to
  • RegEx Blacklisted phrase (2): I would be grateful
  • Low length (0.5):
  • 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: Andrew

79074038

Date: 2024-10-10 10:54:13
Score: 3
Natty:
Report link

An active directory user is specified to start one of my services. The service launches correctly but when the task associated with the service is launched, it is impossible for the service to have access to a network shared folder on another server in the same domain even though the user has the necessary rights to access it.

Is there a way to allow this service to access the shared folder on the network? Without authorizing the entire server (NAME$ for exemple)?

Thank you for your help

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): Is there a way
  • Whitelisted phrase (-0.5): Thank you for your help
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mathéo Arzu

79074037

Date: 2024-10-10 10:54:13
Score: 2
Natty:
Report link

I found decision. I had open my project folder. What is need to do is to open folder of your android app, where is your build.gradle located.(File->Open and choose destination yo your project "/android". "Ok") And also delete "build" folder. after it everything started working, "Sync project with gradle" appears and "Gradle" tab

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

79074036

Date: 2024-10-10 10:53:13
Score: 0.5
Natty:
Report link

Check for updates for Google Play Services and Google Repository and install any updates available.

Inside app/build.gradle

implementation 'com.google.android.gms:play-services-base:18.1.0'
implementation 'com.google.firebase:firebase-database:20.1.0'

Clear Cache and Rebuild Project by Flutter clean and flutter run

Also check google-services.json File

Reasons:
  • RegEx Blacklisted phrase (0.5): any updates
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ajit Sharma

79074035

Date: 2024-10-10 10:53:13
Score: 1
Natty:
Report link

You could either: a) use the “background-image” CSS property to set one image as the background. b) make your outer div “position: relative” and then set both your images to “position: absolute; top: 50%; left: 50; transform: translate(-50%, -50%)

The above is just base CSS rules, but you should be able to find the corresponding Tailwind classes through a quick web search.

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

79074029

Date: 2024-10-10 10:52:13
Score: 2.5
Natty:
Report link

$(window).scrollTop() + Math.ceil($(window).height()) >= $(document).height()

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Mayur Ajiwale

79074028

Date: 2024-10-10 10:51:13
Score: 2.5
Natty:
Report link

When you use ReduceLROnPlateau with mode='min', the learning rate will be reduced when the monitored quantity does not decrease. Since you monitor accuracy, which you want to increase, you should use mode='max'.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you use
  • Low reputation (1):
Posted by: Slavensky

79074027

Date: 2024-10-10 10:51:12
Score: 5.5
Natty: 5.5
Report link

How can I change the floating label font size of an MDCOutlinedTextField in Swift for an iOS project?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How can I
  • Low reputation (1):
Posted by: Mayur

79074016

Date: 2024-10-10 10:49:11
Score: 1.5
Natty:
Report link

Same problem here, we were somehow mixing old and new next version during the pipepline, due to a caching error... After we cleared the cache it worked.

Hint is looking at the middleware-manifest.json, you will see the env prop is empty...

Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Kim Zeevaarders

79074007

Date: 2024-10-10 10:47:11
Score: 3.5
Natty:
Report link

I've created this gist with a simple example on how to use V4 signature.

https://gist.github.com/agutoli/28b1d134bddeb42600032861c1b7feb6

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

79074002

Date: 2024-10-10 10:45:10
Score: 5.5
Natty: 4
Report link

Sir, I have tried this code on my Razor pages . It works fine when page is Index.cshtml but it does not work in any other page . Moreover I want to use it in my CRUD output page . So please guide the solution for the same and oblige . Thanking you . Waiting for your response .

Reasons:
  • RegEx Blacklisted phrase (2.5): please guide the solution
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ram Kumar Singla

79073997

Date: 2024-10-10 10:44:09
Score: 1
Natty:
Report link

you can use Separate Firehose Delivery Streams for Each DynamoDB Table or Create Lambda function for Dynamic Partitioning Based on Table Name.

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

79073996

Date: 2024-10-10 10:43:09
Score: 3
Natty:
Report link

First thing I try when getting issues with JNI is to check that the DLL has all it's depends available.

Take a look at https://download.cnet.com/dependency-walker-64-bit/3000-2086_4-75785868.html or https://www.dependencywalker.com/ and check that the DLLs good.

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

79073994

Date: 2024-10-10 10:43:09
Score: 2
Natty:
Report link

git push throwing error: error: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403 send-pack: unexpected disconnect while reading sideband packet Writing objects: 100% (47/47), 1.03 MiB | 5.68 MiB/s, done.

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

79073984

Date: 2024-10-10 10:41:08
Score: 3
Natty:
Report link

Use model.reset_classifier(0), to remove the existing head.

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

79073973

Date: 2024-10-10 10:37:07
Score: 1.5
Natty:
Report link

I found workaround command to create a library,

npx create-react-native-library@latest qrscanlib --reactNativeVersion 0.74.2
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Rajendra

79073970

Date: 2024-10-10 10:37:07
Score: 0.5
Natty:
Report link

Similar to the solutions of @choroba and @ASarkar but modified to handle any special characters by shell-quoting expansion:

#!/bin/bash

function Dictionary_Builder() {
    declare -A dict=(['title']="Title of the song"
                 ['artist and "friends"']="Artist's song"
                 ['album']="Album of the song"
                )

    echo '('
    for key in  "${!dict[@]}" ; do
        echo "[${key@Q}]=${dict[$key]@Q}"
    done
    echo ')'
}

declare -A Output_Dictionary="$(Dictionary_Builder)"

for key in  "${!Output_Dictionary[@]}" ; do
    echo "${key}: '"${Output_Dictionary[$key]}"'"
done
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @choroba
  • User mentioned (0): @ASarkar
  • Low reputation (0.5):
Posted by: Stanislav German-Evtushenko

79073960

Date: 2024-10-10 10:35:06
Score: 1.5
Natty:
Report link

The problem on my side was this css rule in the direct html wrapper

break-after: page;

after removing it the error was gone

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

79073955

Date: 2024-10-10 10:34:06
Score: 1
Natty:
Report link

Using the Gateway ConnectionMode solved this issue for me. Now my proxy configuration is successfully used, simply by setting: "DirectConnection": false

Injecting the WebProxy was not needed anymore but it´s possible by an own implementation of AddCosmosDB and using a HttpClient or WebProxy as options as described in the other answer.

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

79073952

Date: 2024-10-10 10:33:06
Score: 3.5
Natty:
Report link

Logged in just to say thanks :) was having exact the same issue

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Agustin Osatinsky

79073951

Date: 2024-10-10 10:33:06
Score: 12
Natty: 7.5
Report link

Have you managed to find any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (3): Have you managed
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Spaceman20

79073948

Date: 2024-10-10 10:32:05
Score: 4
Natty:
Report link

this appears to be a linux (ubuntu 22.04) issue; works on macos 14.7; haven't found a solution for it though;

Reasons:
  • RegEx Blacklisted phrase (1): haven't found a solution
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: lain

79073945

Date: 2024-10-10 10:31:05
Score: 4.5
Natty:
Report link

The problem was resolved

Root cause: DB session was not committed after update query. Hence all other threads (accessing same row of the table) started to wait for locks which consumed all threads.

It was resolved already back then. I just logged in Stack overflow after a while. Hence Posted the answer as it might help someone.

Thanks for whoever commented to help me

Cheers!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Cheers
  • Blacklisted phrase (1): help me
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Naveen Kumar

79073940

Date: 2024-10-10 10:29:04
Score: 0.5
Natty:
Report link

I had same problem, it was solved by adding async to endpoint function.

@app.get("/bad_profile")
def endpoint_bad_profiler():
    # some code
    return {"key":"val"}

@app.get("/good_profile")
async def endpoint_good_profiler():
    # some code
    return {"key":"val"}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Motixa

79073938

Date: 2024-10-10 10:28:03
Score: 0.5
Natty:
Report link

I know I'm late to the party but I'm posting this answer as a courtesy to whoever gets this error.

First, when a method inside of a class is called from an RDD map function, spark will attempt to serialize the class encapsulating the method being called. This results is an error because the class contains a reference to the sparkContext (which isn't a serializable object).

The following Stack Overflow questions give an overview of the generic issue and a few solutions. One of which is to create a companion object to the class that holds the private methods being called from the map function.

Overview of the issue: Apache Spark map function org.apache.spark.SparkException: Task not serializable

A possible solution: How to qualify methods as static in Scala?

Reasons:
  • Whitelisted phrase (-2): solution:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Nizar

79073936

Date: 2024-10-10 10:27:03
Score: 2
Natty:
Report link

You need to unprotect the sheet first before the "ws.Cells.Locked = True" statement. Then at the end of the code protect the ws again.

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

79073931

Date: 2024-10-10 10:26:03
Score: 0.5
Natty:
Report link

Just pass selectedDay to methods. For removeAbsence it is easier to pass index instead of item itself.

addAbsence(day: DayOfWeek, absence: ITimesheetAbsence): void {
  day.absences.push(absence);
}

removeAbsence(day: DayOfWeek, absenceIndex: number): void {
  day.absences.splice(absenceIndex, 1);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tortila

79073930

Date: 2024-10-10 10:26:03
Score: 3.5
Natty:
Report link

How about job wich is listener and i have to set delay when i dispached event

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Sargis Shirikchyan

79073924

Date: 2024-10-10 10:24:02
Score: 1
Natty:
Report link

From [email protected] upgrade to [email protected]:

brew install [email protected]

Re-create venv:

python3.12 -m venv venv
source venv/bin/activate

Re-install packages:

pip install -r requirements.txt

Then execute code work normal for me, no warning no error :).

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

79073921

Date: 2024-10-10 10:23:02
Score: 1
Natty:
Report link

Our solution is to create a temporary table and insert all the PKs that we need to delete to it.

Then we can use an inner join from our main table to that temporary table to delete. It is hitting index nicely for us.

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

79073920

Date: 2024-10-10 10:23:01
Score: 6.5 🚩
Natty: 4
Report link

@Ronak Shishangia Can you provide the full code with labels as I have to achieve the same thing.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Ronak
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Mohit Pandey

79073919

Date: 2024-10-10 10:23:01
Score: 1
Natty:
Report link

I found this:

type MergeSubtypes<T, U = T> = T extends U
  ? Exclude<U, T> extends infer Rest
    ? T extends Rest
      ? never
      : T
    : never
  : never;

And it does seem to work, but maybe someone can still explain the core reason.

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

79073913

Date: 2024-10-10 10:21:01
Score: 1.5
Natty:
Report link

my issue is navbar app and body app runs same time sometime body app data merged into navbar app which is causing navbar disappeared and only body content showing after changing <app-root></app-root> to <nav-app-root></nav-app-root> in navbar app index.html its working.thanks for the help

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: HARISH ERUPOTHU

79073909

Date: 2024-10-10 10:21:01
Score: 3.5
Natty:
Report link

I'm Really Sorry, i just need to add upload.single() middleware in my endpoint. thanks @WeDoTheBest4You

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @WeDoTheBest4You
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Papazy

79073897

Date: 2024-10-10 10:18:00
Score: 1
Natty:
Report link

Azure OpenAI may not fully support structured output with response_format="json_schema" as it does in OpenAI's API. Receiving empty responses likely indicates a limitation or bug in Azure's implementation.

Suggestions: Validate Your Schema: Ensure your JSON schema is valid. Simplify Tests: Try using simpler schemas to see if they produce output. Check Documentation: Review Azure OpenAI documentation for any notes on response_format. Contact Support: If issues persist, reach out to Azure support for clarification on this feature. Overall, it seems structured output might have limitations in Azure OpenAI.

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

79073893

Date: 2024-10-10 10:15:59
Score: 0.5
Natty:
Report link

I had this error message when I updated then downgraded my angular webapp, the compiler option in tsconfig.json were changed and caused a similar error message. Specifically, these lines :

"compilerOptions": {
   ...
  "target": "es2017",
  "module": "es2020"
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Manolo de la Vega

79073891

Date: 2024-10-10 10:15:59
Score: 1
Natty:
Report link

I don't think calling session_start after output is an issue here, it would only be an issue if a session wasn't already setup and in your cookies. And as long as your not destroying the session anywhere, you should be able to do what you are trying to do.

You are better off using the database for data instead of the session, I've worked projects where the session gets very easily corrupted due to constantly adding/editing the session - it is just not really cut out for heavy exercises.

It is so easy for 2 scripts to clash if they are both accessing a session and trying to write to it at the same time, a database is literally perfect for storing, fetching and constantly modifying data. So use what is built for the task and forget trying to use sessions.

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

79073890

Date: 2024-10-10 10:15:59
Score: 1.5
Natty:
Report link

Solved by following this guide: https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-develop-custom-api

Step 3 did the trick, creating a page with a part:

page 50100 "API Car Brand"
{
    PageType = API;

    APIVersion = 'v1.0';
    APIPublisher = 'bctech';
    APIGroup = 'demo';

    EntityCaption = 'Car Brand';
    EntitySetCaption = 'Car Brands';
    EntityName = 'carBrand';
    EntitySetName = 'carBrands';

    ODataKeyFields = SystemId;
    SourceTable = "Car Brand";

    Extensible = false;
    DelayedInsert = true;

    layout
    {
        area(content)
        {
            repeater(Group)
            {
                field(id; Rec.SystemId)
                {
                    Caption = 'Id';
                    Editable = false;
                }

                field(name; Rec.Name)
                {
                    Caption = 'Name';
                }
                field(description; Rec.Description)
                {
                    Caption = 'Description';
                }
                field(country; Rec.Country)
                {
                    Caption = 'Country';
                }
            }

            part(carModels; "API Car Model")
            {
                Caption = 'Car Models';
                EntityName = 'carModel';
                EntitySetName = 'carModels';
                SubPageLink = "Brand Id" = Field(SystemId);
            }
        }
    }
}

And it's part:

page 50101 "API Car Model"
{
    PageType = API;

    APIVersion = 'v1.0';
    APIPublisher = 'bctech';
    APIGroup = 'demo';

    EntityCaption = 'Car Model';
    EntitySetCaption = 'Car Models';
    EntityName = 'carModel';
    EntitySetName = 'carModels';

    ODataKeyFields = SystemId;
    SourceTable = "Car Model";

    Extensible = false;
    DelayedInsert = true;

    layout
    {
        area(content)
        {
            repeater(Group)
            {
                field(id; Rec.SystemId)
                {
                    Caption = 'Id';
                    Editable = false;
                }
                field(name; Rec.Name)
                {
                    Caption = 'Name';
                }
                field(description; Rec.Description)
                {
                    Caption = 'Description';
                }
                field(brandId; Rec."Brand Id")
                {
                    Caption = 'Brand Id';
                }
                field(power; Rec.Power)
                {
                    Caption = 'Power';
                }
                field(fuelType; Rec."Fuel Type")
                {
                    Caption = 'Fuel Type';
                }
            }
        }
    }
}

Then go to Postman or your tool of preference and test this:

POST https://api.businesscentral.dynamics.com/v2.0/<environmentName>/api/bctech/demo/v1.0/companies(<company id>))/carBrands
{
    "name": "CARBRAND2",
    "description": "Car Brand 2",
    "country": "Germany",
    "carModels": [{
                    "name": "MODELA",
                    "description": "Model A",
                    "power": 0,
                    "fuelType": "Electric"
                },
                {
                    "name": "MODELB",
                    "description": "Model B",
                    "power": 0,
                    "fuelType": "Electric"
                }]
}
Reasons:
  • Blacklisted phrase (1): this guide
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: kuhi

79073888

Date: 2024-10-10 10:15:59
Score: 1.5
Natty:
Report link

Pyinstaller run in a folder in C:\Users\%USERNAME%\AppData\Local\Temp, so is possible you have to specify the save's full path

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

79073887

Date: 2024-10-10 10:15:59
Score: 2
Natty:
Report link

try to use dropDownMenu instead you can find the documentation https://api.flutter.dev/flutter/material/DropdownMenu-class.html i've always had a hard time with positioning the dropDownButton menu but in the dropDownMenu it's positioned in the right manner

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

79073860

Date: 2024-10-10 10:10:58
Score: 0.5
Natty:
Report link

I try not to use subscribe either, but it's not a fishy thing. You load product on click, so I don't think you can avoid it here. Actually you don't need to unsubscribe, if getProduct in productService is completed after the first emission.

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

79073859

Date: 2024-10-10 10:10:58
Score: 4
Natty:
Report link

Is this workflow feasible using Google’s free-tier services?

Yes, it is possible.

Are there any limitations or restrictions (e.g., quotas, API limits) that I should be aware of when implementing this?

Yes: Quotas and limitations.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is this
  • Low reputation (0.5):
Posted by: user27425627

79073856

Date: 2024-10-10 10:09:58
Score: 1.5
Natty:
Report link

I've never encountered such scenario but try using sshpass -p <password> ssh <username>@<ip-address> at the beginning and see if it helps.

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

79073852

Date: 2024-10-10 10:09:58
Score: 2
Natty:
Report link

Today I faced this error after C# extension auto updated to version 2.50.25. I switched back to version 2.45.25 and problem solved.

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

79073848

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

Looks like both of answers are outdated.

Now (python 3.12 + aiohttp 3.10.9) it may be simply done with middleware:

from aiohttp import web, web_exceptions
from typing import Callable

# here is our middleware that will handle all errors including 404
# and rewrite responses
@web.middleware
async def custom_error_handling_middleware(request: web.Request, handler: Callable):
    try:
        resp: web.Response = await handler(request)
    # here we are catching aiohttp related exception
    except web_exceptions.HTTPException as e:
        # since HTTPException childs are response-ready it may be return as response later
        resp = e
        # if status code of our exception is 404
        # we will sutomize it as we want (update body and headers in my case)
        if resp.status_code == web_exceptions.HTTPNotFound.status_code:
            resp.text = '<html><body><code>How did you find me? ≧☉_☉≦</code></body></html>'
            resp.content_type = 'text/html'
            resp.charset = 'utf-8'
    # here we are generating custom page for a specific non aiohttp related exception
    # (didn't asked in the question but added as bonus)
    except ZeroDivisionError:
        resp = web_exceptions.HTTPInternalServerError(
            text='<html><body><code>Mamma mia! (╯`Д´)╯︵ ┻━┻</code></body></html>',
            content_type = 'text/html',
        )
    # here we are generating custom page for any unexpected exception
    # (didn't asked in the question but added as bonus)
    except Exception as e:
        resp = web_exceptions.HTTPInternalServerError(
            text='<html><body><code>Completely unexpected error ¯\\(°_o)/¯</code></body></html>',
            content_type='text/html',
        )
    return resp

# correct view
async def hello(_: web.Request):
    return web.Response(
        text = '<html><body><code>Hello world ( っ˶´ ˘ `)っ</code></body></html>',
        content_type='text/html',
        charset='utf-8',
    )

# view that will respond an expected error
async def divizion_error(_: web.Request):
    1/0
    return web.Response(text='response will never happen')

# view that will respond an unexpected error
async def unexpected_error(_: web.Request):
    return web.Response(text=unbound_variable_for_example)

# standard functions to make and run a demo app
async def create_app():
    app = web.Application(middlewares=[custom_error_handling_middleware])
    app.add_routes([
        web.get("/div", divizion_error, name='divizion_error_view'),
        web.get("/unex", unexpected_error, name='unexpected_500_view'),
        web.get("/", hello, name='only_existant_view'),
    ])
    return app

if __name__ == '__main__':
    app = create_app()
    web.run_app(app, port=8888)

After adding the custom_error_handling_middleware, How did you find me will be shown as standard 404 page

Reasons:
  • RegEx Blacklisted phrase (3): did you find
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: rzlvmp

79073842

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

I'm already fix this issue by

on /android/app/build.gradle please make sure about this setting

 proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro", 'dexguard-release.pro'

and on rule file add -keepresourcefiles lib/**

at first, I can not use keepresourcefiles because my proguardFiles getDefaultProguardFile wrong (I was adding dexguard-protected.pro because I thought I have to add it too)

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

79073833

Date: 2024-10-10 10:05:56
Score: 1
Natty:
Report link

I faced the same issue earlier and here is what I done.

  1. Check the owner of the directory and use chown if needed (I think at least user in "docker" group able to access it)
  2. add privileged option
  3. Specify the root user (or any other user you running the docker) by --user 0:0
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: C.Andrew

79073828

Date: 2024-10-10 10:05:56
Score: 13
Natty: 7.5
Report link

I have the same problem, did you solve it?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): did you solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: hooman zali

79073821

Date: 2024-10-10 10:03:55
Score: 0.5
Natty:
Report link

For PySpark users below is an example from official documentation:

df = spark.createDataFrame([("Alice", 2), ("Bob", 5)], ("name", "age"))
df.select(struct('age', 'name').alias("struct")).collect()

df.select(struct([df.age, df.name]).alias("struct")).collect()

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

79073819

Date: 2024-10-10 10:03:55
Score: 1.5
Natty:
Report link

No need to provide ProxyAuthenticationStrategy in httpClient 5.x . Simply providing the credentials through CredentialsProvider will automatically handle proxy authentication without specifying a separate strategy.

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