79391432

Date: 2025-01-27 16:16:02
Score: 2
Natty:
Report link

So not sure what exactly fixed this, but I had to add credentials="include" to the http GET towards the server and also adjusted the cookie values for SameSite and Secure (as this is not allowed SameSite: http.SameSiteNoneMode and Secure: false) and it's finally working. Thank you Brits!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gavra

79391428

Date: 2025-01-27 16:15:01
Score: 2.5
Natty:
Report link

$previous = "javascript:history.go(-1)";

Like this and just use in php tags in html template.

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

79391412

Date: 2025-01-27 16:11:00
Score: 0.5
Natty:
Report link

I do not know why the commenter did not answer, but @Adrian is right. The golang package golang.org/x/image/font/opentype does not support Variable Font files, and, in my opinion as someone who works in this area, it is unlikely to be extended to support them. Google should also supply non-variable "instanced" files, which are the Variable Font instanced to each weight it supports (or whatever the axis is).

Use those instead.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Adrian
  • High reputation (-1):
Posted by: David Jones

79391410

Date: 2025-01-27 16:10:00
Score: 1.5
Natty:
Report link

It is not documented, but after you create your app on the eCW Sandbox, you have to reach out to eCW support so they can "activate" the app on their side. Once they activate the app, you have to add the eCW "FHIR R4 Sandbox EMR" under Customers on your sandbox configuration. Before they "activate" the app on their side, all you'll ever get when you try to "launch" the sandbox app is a 403 error that redirects you to the smart-on-fhir documentation.

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

79391404

Date: 2025-01-27 16:08:59
Score: 1
Natty:
Report link

Get first word:

/\w+/

Example:

const matcher = str.match(/\w+/);
console.log("The first string is: ", matcher?.[0]);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Frank Liu

79391402

Date: 2025-01-27 16:07:59
Score: 1.5
Natty:
Report link

If you got this error while working with React Create App you should go to: public/index.html find

`<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />` 

and remove it.

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

79391399

Date: 2025-01-27 16:06:59
Score: 1
Natty:
Report link

On macOS, install the MySQL client libraries required by mysqlclient using Homebrew:

Install MySQL:

brew install mysql

Then install mysqlclient:

pipenv install mysqlclient

This works because mysql_config, included with Homebrew's MySQL, is required to build mysqlclient.

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

79391394

Date: 2025-01-27 16:03:58
Score: 2
Natty:
Report link

The Card component has a prop called 'contentStyle' which needs to be used to style the inner content. For some reason passing the same styling values to an inner <Card.Content> style prop does not produce the same results. Try moving where you are styling the content.

contentStyle takes type: StyleProp

https://callstack.github.io/react-native-paper/docs/components/Card/#contentstyle

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: gender-isnt-real

79391393

Date: 2025-01-27 16:03:58
Score: 3.5
Natty:
Report link

Ok I got it to work using https://github.com/jgrandja/spring-security-oauth-5-2-migrate

...

but I'm really not happy with the fact that it looks like, all of once, I need reactive libraries to solve normal, non-reactive problems...

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: tuse-ausm-chor

79391386

Date: 2025-01-27 16:02:58
Score: 2.5
Natty:
Report link

I encountered the same issue with Eclipse 4.34, Java 21.0.4, and Apache Directory Studio 2.0.0-M17. After uninstalling Eclipse, I selected the latest available JRE (23.0.1) during my next Eclipse installation, then added the apache directory studio pluing. Now the LDAP connections are successful.

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

79391384

Date: 2025-01-27 16:01:57
Score: 1.5
Natty:
Report link

To avoid conflicts in the future, you can create a virtual environment and install TensorFlow there.

python -m venv tf-env
source tf-env/bin/activate  # On Windows: tf-env\Scripts\activate
pip install tensorflow==2.16.1

If you want to do Tensorflow-based projects using Arduino, you can see here:

https://www.pcbway.com/project/shareproject/New_Era_Farming_with_TensorFlow_on_Lowest_Power_Consumption_7bbe70af.html

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

79391382

Date: 2025-01-27 16:01:57
Score: 1.5
Natty:
Report link

Error: creating EC2 Instance: operation error EC2: RunInstances, https response error StatusCode: 400, RequestID: c6005f57-b304-43d2-b931-f98ecfadc1c4, api error MissingInput: No subnets found for the default VPC 'vpc-0218c528d635ae5e8'. Please specify a subnet. │ │ with aws_instance.ec2-server, │ on ec2.tf line 15, in resource "aws_instance" "ec2-server": │ 15: resource "aws_instance" "ec2-server" {

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

79391378

Date: 2025-01-27 15:58:57
Score: 3.5
Natty:
Report link

In NSX-V 6.4 for me only worked

header=host:app1.xyz.com

small letters w/o space

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

79391360

Date: 2025-01-27 15:52:55
Score: 0.5
Natty:
Report link

Regarding this problem, I've tried the Serhii Fomenko approach and it worked. Thanks for the help :)

def copy_instance(self, **kwargs):
    new_resource = copy.deepcopy(self)
    new_resource.pk = None
    for k, v in kwargs.items():
        setattr(new_resource, k, v)
    new_resource._state.adding = True
    new_resource.save()

    return new_resource
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: José Ribeiro

79391357

Date: 2025-01-27 15:52:55
Score: 1.5
Natty:
Report link

You should specify only top corners like this:

RoundedCornerShape(
        topStart = shapeCornerRadius,
        topEnd = shapeCornerRadius
    )
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andriy Fediv

79391352

Date: 2025-01-27 15:50:54
Score: 0.5
Natty:
Report link

For MacOS 15 (Sequoia) that failed to download DB drivers directly in DBeaver due to "broken pipe" error, the solution is just add the line

-Djava.net.preferIPv4Stack=true

in the file:

/Applications/DBeaver.app/Contents/Eclipse/dbeaver.ini

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

79391342

Date: 2025-01-27 15:43:53
Score: 2.5
Natty:
Report link

This did the trick:

@on_document_created(document="collection/{documentId}", memory=512)
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Raul Ponzheimer

79391328

Date: 2025-01-27 15:38:52
Score: 1
Natty:
Report link

Each child component can save its state in a dedicated entry in local storage. Each change of the child component state should be reflected in the corresponding entry, and when the component is mounted, you can initialize its state based on what has been stored in the associated entry in local storage. The Grid component doesn't need to know about this for everything to operate exactly as it did before.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: Mehdi Charife

79391317

Date: 2025-01-27 15:34:51
Score: 1
Natty:
Report link

Using Bicep I was deploying multiple hostname bindings with the array syntax.

Adding @batchSize(1) solved the issue.

@batchSize(1)
resource backendDomainBinding 'Microsoft.Web/sites/hostNameBindings@2022-03-01' = [
  ...
]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JegorK

79391302

Date: 2025-01-27 15:31:50
Score: 3.5
Natty:
Report link

Just do ng s. If you have used code properly

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

79391297

Date: 2025-01-27 15:30:50
Score: 1.5
Natty:
Report link

Use offcial command:

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" php -r "if (hash_file('sha384', 'composer-setup.php') === 'dac665fdc30fdd8ec78b38b9800061b4150413ff2e3b6f88543c636f7cd84f6db9189d43a81e5503cda447da73c7e5b6') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');"

and use it like php composer.phar install

https://getcomposer.org/download/

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

79391293

Date: 2025-01-27 15:28:49
Score: 2
Natty:
Report link

The solution to the assets not being available/found is:

  1. With Rails 5 and later (I believe?), the syntax of the module spec changes: Instead of jquery.ui it becomes jquery-ui. This applies to the stylesheets and javascripts.
  2. Once the above hurdle was crossed, I also needed the ExecJS gem and install nodejs on the host. Since this was a new installation, that had not been done.

Thankyou Alex for the pointers and tips as well.

The application now runs on with Rails 8!

Reasons:
  • Blacklisted phrase (1): Thankyou
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Lifeboy

79391292

Date: 2025-01-27 15:28:49
Score: 4
Natty:
Report link

This snippet demonstrates feedback node. The indicator will decrease to int32_min.

Feedback node

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

79391285

Date: 2025-01-27 15:26:48
Score: 2.5
Natty:
Report link

I suppose that was just warning, in my case its because there is the same image (with different filename. Yes, they recognize that it was same image).

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

79391282

Date: 2025-01-27 15:24:47
Score: 0.5
Natty:
Report link

I had the same issue and saw the suggestion from @ingdc to check Local Network permissions. However, in my case, the permissions were already enabled, so that wasn’t the problem.

What actually fixed it for me: Restarting my PC. I didn’t make any changes to permissions or settings beforehand—just restarting resolved the issue for me. If everything looks fine on your end and the error persists, try a restart!

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • User mentioned (1): @ingdc
Posted by: kforjan

79391280

Date: 2025-01-27 15:23:47
Score: 0.5
Natty:
Report link

Funny, I did all the things mentioned in instructions here through the RabbitMQ Command Prompt:

https://www.svix.com/resources/guides/rabbitmq-windows-install-guide/

And it didn't worked, untill I opened it As Administrator. When I did same thing from RabbitMQ Command Prompt opened with administrative privilegies, it worked.

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

79391276

Date: 2025-01-27 15:22:47
Score: 0.5
Natty:
Report link

VBA (Microsoft build-in scripting language) will help here. With it, you

The code would be:
I've tested it with a default template, and it successfully deleted all empty headings, effectively cleaning up the Table of Contents.

sub RemoveEmptyHeadings()
    Dim para As Paragraph
    
    For Each para In ActiveDocument.Paragraphs
        If para.Style = "Heading 1" And _
        para.Range.Characters.Count <= 1 Then
            para.Range.Delete
        End If
    Next para
End Sub

The only counter intuitive code piece is that an empty paragraph is not empty - it has one newline character (causes <= 1 condition).

The quickest way to use this code in a document

Reuse this code

When you're done with the setup, close the VBA window. The RemoveEmptyHeadings is now accessible as a macro (custom-built little program). One of the ways you can access macros is by pressing alt+f8 and selecting the needed one from the window that appears.

You can also use macros by adding buttons to the Word Quick Access, or assigning keyboard shortcuts. The web describes how to achieve that.

Reasons:
  • Blacklisted phrase (1): how to achieve
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Skopyk

79391269

Date: 2025-01-27 15:19:46
Score: 3.5
Natty:
Report link

In my advanced editor already has the code below:

let
    Source = Excel.Workbook(File.Contents(myfile), null, true),
    #"Eqp-list new_Sheet" = Source{[Item="Eqp-list new",Kind="Sheet"]}[Data],
    #"Promoted Headers" = Table.PromoteHeaders(),
    #"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",),
    #"Removed Top Rows" = Table.Skip(#"Changed Type",1),
    #"Promoted Headers1" = Table.PromoteHeaders(#"Removed Top Rows", [PromoteAllScalars=true]),
    #"Changed Type1" = Table.TransformColumnTypes(#"Promoted Headers1),
    #"Added Index" = Table.AddIndexColumn(#"Changed Type1", "Index", 1, 1, Int64.Type),
    #"Reordered Columns" = Table.ReorderColumns(),
    #"Duplicated Column" = Table.DuplicateColumn(),
    #"Extracted Text After Delimiter" = Table.TransformColumns(),
    #"Reordered Columns1" = Table.ReorderColumns(),
    #"Renamed Columns" = Table.RenameColumns(),
    #"Reordered Columns2" = Table.ReorderColumns(),
    #"Renamed Columns1" = Table.RenameColumns(),
    #"Reordered Columns3" = Table.ReorderColumns(),
    #"Renamed Columns2" = Table.RenameColumns(),
    #"Reordered Columns4" = Table.ReorderColumns(),
    #"Duplicated Column1" = Table.DuplicateColumn(),
    #"Added Custom" = Table.AddColumn(),
    #"Removed Columns" = Table.RemoveColumns(),
    #"Reordered Columns5" = Table.ReorderColumns(),
    #"Replaced Value" = Table.ReplaceValue(),
    #"Added Custom1" = Table.AddColumn(),
    #"Added Custom2" = Table.AddColumn(),
    #"Added Custom3" = Table.AddColumn(),
    #"Added Custom4" = Table.AddColumn(),
    #"Added Custom5" = Table.AddColumn() in
    #"Added Custom5"

...they come from the steps I did before I reached to the step where I have to separate the row. Not sure how can I add the new code into it. Please kindly help.

Blockquote

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Blacklisted phrase (3): kindly help
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: jajangjaras

79391268

Date: 2025-01-27 15:18:46
Score: 3
Natty:
Report link

I got the same issue, turn out I did not make my Constructor as public

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

79391267

Date: 2025-01-27 15:18:46
Score: 3
Natty:
Report link

well..... I just answered my own question.

The .id MUST come after the .onScrollVisibilityChange

but why? its not logical at all. I understand how the nesting of view modifiers works, but why is the .id nullified if its before the other modifier?

Reasons:
  • Blacklisted phrase (0.5): why?
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: MadeByDouglas

79391261

Date: 2025-01-27 15:15:46
Score: 2.5
Natty:
Report link

Stripe has a doc about automated testing. It suggests that you generate the mock API responses manually for various errors and mock the responses returned.

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

79391260

Date: 2025-01-27 15:14:45
Score: 1
Natty:
Report link

For .Net8 debugging in isolated mode, you would to need to:

  1. Follow the instruction posted by @Amor.

  2. Copy local.setting.json file to your console app.

  3. Copy Program.cs file into your console app.

  4. Change your HostBuilder declaration as follow:

    var host = Host.CreateDefaultBuilder() .ConfigureAppConfiguration(app => { app.AddJsonFile("local.settings.json", optional: true, reloadOnChange: true) .AddEnvironmentVariables(); }) .ConfigureServices((context, services) => {//Your code here

    services.AddScoped<FunctionName>();
    

    }) .Build();

  5. To get access to any value in the json file you would need to append Values: to the variable name as follow:

    var clientID = context.Configuration.GetValue("Values:clientId");

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

79391256

Date: 2025-01-27 15:12:45
Score: 0.5
Natty:
Report link

Try choosing "Substring" pattern matching rule, it will check whether the response contains the pattern as there could be non-printable characters such as line breaks or other text in addition to the pattern you're using as the expected response.

enter image description here

Alternatively you can extract the number with i.e. Regular Expression Extractor and use the variable as the expected value:

enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Ivan G

79391246

Date: 2025-01-27 15:07:44
Score: 0.5
Natty:
Report link

For html5 with application/xhtml+xml use both. You can find a very good explanation here Choosing the right attribute

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

79391243

Date: 2025-01-27 15:07:43
Score: 10 🚩
Natty: 5.5
Report link

Was the issue resolved? How? I am seeing the same error in an Access DB, yet I have other Access DB's running my exact same code, and they are not getting the error?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolved?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am seeing the same error
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Was the is
  • Low reputation (1):
Posted by: Andy

79391241

Date: 2025-01-27 15:05:42
Score: 2
Natty:
Report link

After adding this i got full support:

    ipc: host # Could also be set to 'shareable'
ulimits:
  nofile:
    soft: 1024
    hard: 524288
cap_add:
  - NET_ADMIN
  - SYS_ADMIN
  - SYS_NICE
security_opt:
  - seccomp:unconfined
  - apparmor:unconfined

Thanks if anyone already had a look at it!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Luca Haid

79391237

Date: 2025-01-27 15:04:42
Score: 1
Natty:
Report link

For me, setting both of these environmental variables for my Web App solved the issue. Without them, the Azure Pipeline task AzureWebApp@1 was taking 40 minutes and then just failing.

{
  name: 'ENABLE_ORYX_BUILD'
  value: '0'
}
{ name: 'WEBSITE_RUN_FROM_PACKAGE', value: '1' }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: JegorK

79391230

Date: 2025-01-27 15:00:41
Score: 1
Natty:
Report link

In my case I wanted to create main_folder and sub_folder ending with current date, following expression worked for me:

<main_folder>/<sub_folder_@{formatDateTime(utcnow(), 'yyMMdd')}>

just replace main_folder and sub_folder name in above statement and it should do the trick enter image description here

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

79391223

Date: 2025-01-27 14:59:41
Score: 0.5
Natty:
Report link

You can manually call ngAfterViewInit() in your test to ensure that it executes:

  describe('ngAfterViewInit', () => {
    it('trigger ngAfterViewInit', () => {
      // Arrange

      // Act
      component.ngAfterViewInit();

      // Assert
      expect()...;
    });
  });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bullsized

79391222

Date: 2025-01-27 14:59:41
Score: 3.5
Natty:
Report link

I m curious to know why are you not using AWS Batch? I have a similar requirement to implement. Got confused between Spring Batch on Fargate and AWS Batch.

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

79391218

Date: 2025-01-27 14:58:41
Score: 2.5
Natty:
Report link

This blog helped me! I implemented this for unit test btw.

I still don't know why I had to do this though...

guard let entity = NSEntityDescription.entity(forEntityName: "Task", in: context) else {
    XCTFail("❌ Failed to create entity")
    return
}
let task = Task(entity: entity, insertInto: context)  // This is Task type.

https://developer.apple.com/documentation/coredata/nsentitydescription/1425111-entity

Env: Xcode 16.2

Reasons:
  • Blacklisted phrase (1): This blog
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kamimi01

79391212

Date: 2025-01-27 14:57:40
Score: 0.5
Natty:
Report link

Yes, I think it is possible up to some extent. One of the ways would be to compute a histogram of the image's pixel distribution and define a parameter VarianceThreshold. Use the discussion here, to determine how you can calculate variance in your case. Now it should be easily to determine the samples (where the variance is above threshold) and their indices in the image array.

Reasons:
  • Whitelisted phrase (-1): in your case
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Naveed Ahmed

79391206

Date: 2025-01-27 14:55:40
Score: 2
Natty:
Report link

Are you adding/updating the user in a different site collection than the user's are actually logging in to? The user's profile information is stored locally in each site collection and doesn't directly synchronize across site collections. The user profile service can be used to synchronize the properties across site collections (I believe this works for FBA accounts in recent versions of SharePoint, but used to only work for AD accounts in SharePoint 2010).

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Chris Coulson

79391197

Date: 2025-01-27 14:52:39
Score: 0.5
Natty:
Report link

Well, this trick with the UndoManager worked for me on some Views; on others ist didn't. I was getting tired to spend hours in investigating why this was so. So I was looking for a way to save the document’s content explicitly. This is what I came up with.

In my app the document’s content is encoded as a PropertyList. So why not writing this PropertyList by myself? In MyDocument I create my model and keep a reference on it. In my model I store the fileURL of my document’s file on creating or opening a document:

@main
struct MyApp: App {
    var body: some Scene {
        DocumentGroup(newDocument: MyDocument()) { file in
            ContentView(document: file.$document)
                .environmentObject(file.document.model)
                .task {
                    file.document.model.fileURL = file.fileURL
               }
         }
    }
}

So I can access this URL in my model:

func save() {
    if let url = fileURL {                                                  // we know our url
        if url.startAccessingSecurityScopedResource() {                     // access file outside sandbox
            if let outStream = OutputStream(url: url, append: false),       // create the output stream
               let data = try? PropertyListEncoder().encode(self) {         // and encode ourself as a property list
                outStream.open()                                            // open the output stream
                let _ = outStream.write(data)                               // and write the property list
                outStream.close()                                           // close the output stream
            }
            url.stopAccessingSecurityScopedResource()                       // stop secure access
        }
    }
}

The only problem with this is that outStream.write is not that simple as it looks here. It needs some kind of buffer pointer which is not that easy to create in Swift 5. But here is this nice extension which does the job for me:

extension OutputStream {
    // from: https://stackoverflow.com/questions/55829812/writing-data-to-an-outputstream-with-swift-5
    func write(_ data: Data) -> Int {
        return data.withUnsafeBytes({ (rawBufferPointer: UnsafeRawBufferPointer) -> Int in
            let bufferPointer = rawBufferPointer.bindMemory(to: UInt8.self)
            return self.write(bufferPointer.baseAddress!, maxLength: data.count)
        })
    }
}

Now I can save the content of my document wherever I want it without using any dummy undo manager.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: FPP

79391192

Date: 2025-01-27 14:51:39
Score: 2.5
Natty:
Report link

I had the same error, just repair the sql broswer

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: Mudimba Moonde

79391187

Date: 2025-01-27 14:50:39
Score: 0.5
Natty:
Report link

The most obvious solution would be to simply save the PDF and display it in Flutter with e.g. flutter_pdfview. If you prefer to save text, I know three solutions off the top of my head:

Reasons:
  • No code block (0.5):
Posted by: Mäddin

79391178

Date: 2025-01-27 14:47:38
Score: 1
Natty:
Report link

Just add scaleBar = { }.

Like this:

MapboxMap(
     Modifier
         .fillMaxSize(),
     mapViewportState = mapViewportState,
     scaleBar = { }
)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Giuseppe Criscione

79391171

Date: 2025-01-27 14:45:37
Score: 1
Natty:
Report link

You have to use print(). If you want to print hello world, you need this:

print("Hello, world!")

This prints in the console text you want. To print variable values, you need to enter the variable name, but without quotation marks:

variable = "Hello, world!"
print(variable)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anna1000 Demidovich

79391169

Date: 2025-01-27 14:45:37
Score: 4.5
Natty: 4
Report link

I want this too. I think it be great to make it user's decision to expand or collapse by default.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kraus Mario

79391166

Date: 2025-01-27 14:44:36
Score: 4.5
Natty:
Report link

Thanks to @Brennan and @JasonPan I could find that the problem was connecting to the http port on backend from the frontend and having https redirection. Connecting directly to the https port solved it for me.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Brennan
  • User mentioned (0): @JasonPan
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aren Devel

79391148

Date: 2025-01-27 14:35:33
Score: 1.5
Natty:
Report link

I had a similar issue where the first group's tab name wasn't correct. For me, I had to specify the Group's PageName property, and set the 2nd tablix's PageName property to blank. I forgot to blank out the 2nd tablix's PageName, so the first group tab was always set to that property value. Hope this helps.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Allen B

79391143

Date: 2025-01-27 14:34:33
Score: 1
Natty:
Report link

I would recommend to freeze your parameter in the base_model, otherwise they would be modified by the training process. Since your last layer are not train, they probably have a negative impact on the pretrained model.

If you one to finetune them after the training on your custom layers, you can unfreeze the base_model layers and train for one or two epochs with a very low learning rate.

Anyway, it is possible that the base_model does not work well with your data, as it is trained for a completely different task with data of other distribution, namely RBG pictures instead of brain tumor data.

See: https://keras.io/guides/transfer_learning/#transfer-learning-amp-finetuning

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

79391133

Date: 2025-01-27 14:31:32
Score: 2.5
Natty:
Report link

Try to move your code in the onEnabled method.

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

79391131

Date: 2025-01-27 14:31:32
Score: 4
Natty:
Report link

Found it was a problem in an specific cell on datatable

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

79391125

Date: 2025-01-27 14:28:30
Score: 4
Natty:
Report link

According to the documentation https://www.rabbitmq.com/docs/shovel-dynamic#using-http-api

I had to set the tag "policymaker" for the new user in order for it to work.

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

79391124

Date: 2025-01-27 14:28:30
Score: 0.5
Natty:
Report link

There is very probably an exception or some other problem marking the transaction as rollbackOnly. You have to figure what is this problem. Eventually flush the EntityManager manually to get sooner a database exception.

I advise again defining transaction yourself with @Transactional(propagation = Propagation.REQUIRES_NEW) as proposed by @Rakesh Gurung. Spring Batch already manages transaction, also for Tasklet, so better not interfere (or really needing it and knowing the pitfalls). About Spring Batch Tasklet: https://docs.spring.io/spring-batch/reference/step/tasklet.html

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Rakesh
  • Low reputation (0.5):
Posted by: Florian H.

79391122

Date: 2025-01-27 14:28:30
Score: 1
Natty:
Report link

Paste This Code

OneSignal.Debug.setLogLevel(OSLogLevel.verbose);
OneSignal.initialize("b38128ff-0561-499c-ab67-87fb6c3b9911");
OneSignal.Notifications.requestPermission(true);

Before runApp(const MyApp()); here is a Video For better Understanding:OneSignal Notifications in Flutter

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

79391116

Date: 2025-01-27 14:26:30
Score: 1.5
Natty:
Report link

If you recently updated your Android Studio then make sure you also updated tools (especially Device Manager/Android Emulator). To do it go to Android Studio -> Check for Updates and hit Update button in popup if there are any updates

Reasons:
  • RegEx Blacklisted phrase (0.5): any updates
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: the korovay

79391113

Date: 2025-01-27 14:25:30
Score: 2
Natty:
Report link

It's not NodeJS/Java/Python but maybe it can help you

https://github.com/pion/turn

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

79391112

Date: 2025-01-27 14:25:29
Score: 4
Natty: 5
Report link

i suffer. Thanks to all here. debbuggiiing can kill.

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

79391104

Date: 2025-01-27 14:21:27
Score: 0.5
Natty:
Report link

this is the problem : #include "Foo.h" you should set the right path

// test/test_desktop/foo_test.cpp

#include <gtest/gtest.h>
#include "../../src/Foo.h"

TEST(Foo, test_bar) {
  Foo foo;
  ASSERT_EQ(foo.bar(), 0);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: R.F.

79391093

Date: 2025-01-27 14:19:27
Score: 3.5
Natty:
Report link

Good info. Tested and determined it still works as of Jan 2025 on Server 2022.

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

79391090

Date: 2025-01-27 14:19:27
Score: 2
Natty:
Report link

Not available in Document Intelligence. I think it can only detect if the signature is there.

enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (1):
  • No code block (0.5):
Posted by: Talha

79391087

Date: 2025-01-27 14:18:26
Score: 7.5 🚩
Natty: 5.5
Report link

I have forgotten my number so last 2 so help me to find my number by looking at the number I need very urgent 🙏🏻

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): 🙏
  • RegEx Blacklisted phrase (2): urgent
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Suraj pandit

79391086

Date: 2025-01-27 14:18:26
Score: 0.5
Natty:
Report link

Have u tried to use js ?

Maybe you can get both containers (stick-container) and window height. Afterwards by using foreach method you can iterate these containers. and check if one of the container's height less than window height then add aligh-top class to that container and also remove align bottom class from it.

 .align-top {
        align-self: start;
        top: 0;
    }

    .align-bottom {
        align-self: end;
        bottom: 0;
    }

inside foreach method

 if (containerHeight < windowHeight) {
                container.classList.add('align-top');
                container.classList.remove('align-bottom');
            } else {
                container.classList.add('align-bottom');
                container.classList.remove('align-top');
            }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gülü Əhmədova

79391075

Date: 2025-01-27 14:14:25
Score: 2.5
Natty:
Report link

ERROR: Job for apache2.service failed because the control process exited with error code. See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.

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

79391069

Date: 2025-01-27 14:11:23
Score: 2.5
Natty:
Report link

All the above answers helped me to reach a solution.

But in my case, the Peering Connections feature blocked the VPC deletion.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gregório Borges

79391067

Date: 2025-01-27 14:11:23
Score: 1
Natty:
Report link

Thanks to @Daraan, I was able to figure out how to do this by wrapping TypeVarTuple inside a Tuple:

from typing import TypeVar, Callable, Tuple
from typing_extensions import TypeVarTuple

T = TypeVar('T')
Ts = TypeVarTuple('Ts')

def apply(fn: Callable[[*Ts], T], vals: Tuple[*Ts]) -> T:
    return fn(*vals)
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Daraan
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Jan Spurny

79391064

Date: 2025-01-27 14:10:22
Score: 8.5 🚩
Natty:
Report link

Thanks for the answer.

Can you show me the how to script this?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Can you show me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nightmare

79391052

Date: 2025-01-27 14:06:20
Score: 2.5
Natty:
Report link

relation \"users\" does not exist means that there is no users table in your database. Has the table been created in the local database?

Keep in mind that SQL language is case-insensitive when not using quotes. If the table in the database is called Users and GORM is trying to query users, this could be the reason why your code results in an error. Is the table correctly named in the migration file?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Hugo Martinet

79391048

Date: 2025-01-27 14:05:20
Score: 4
Natty: 5
Report link

why YOU GUYS ARE DELETING THE ERRORS starball, greg-449, Mark Rotteveel.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): why YOU
  • Low reputation (1):
Posted by: Anup Acharya

79391047

Date: 2025-01-27 14:05:19
Score: 1
Natty:
Report link

try Double.parseDouble(rs.getString(index)) for reading and

PGobject pGobject = new PGobject();
        pGobject.setValue(your value in string);
        pGobject.setType("money");

for writing postgresql money datatype. This pgObject you can insert into preparedStatement.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Анна Григоренко

79391042

Date: 2025-01-27 14:03:19
Score: 1
Natty:
Report link

With reanimate v3

  const progress = useSharedValue(0);

  const animatedStyle = useAnimatedStyle(() => ({
    backgroundColor: interpolateColor(progress.value, [0, 1], ["red", "green"]),
  }));

  return <Animated.View style={[{ width: 100, height: 100 }, animatedStyle]} />;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jayan

79391039

Date: 2025-01-27 14:03:19
Score: 0.5
Natty:
Report link

For me the solution was: in windows, search for "credentials", then choose "windows credentials", then remove all ones related to (in my case) "devops". then just started visual studio 2022 that asked me to enter again my devops credentials. After this, I was able again to work with GIT.

Hope it helps :)

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: edestrero

79391038

Date: 2025-01-27 14:03:18
Score: 4
Natty:
Report link

Facing issue. I get error stating "Failed to Unsubscribe, Try again" 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: GnanaPrakash

79391031

Date: 2025-01-27 14:00:17
Score: 0.5
Natty:
Report link

I couldn't upgrade in my case, I had to remove the references, commenting them manually:

/bokeh/util/serialization.py", line 51, in <module>
    from typing_extensions import Literal, TypedDict, TypeGuard
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Felipe Tuyama

79391026

Date: 2025-01-27 13:58:16
Score: 1.5
Natty:
Report link

So the answer is to generalize the logic that checks for temporary folders as such:

if (grepl("Rtmp", getwd()))

instead of:

if (grepl("Temp", getwd())) 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Johannes Schwenzer

79391024

Date: 2025-01-27 13:57:16
Score: 1.5
Natty:
Report link

After providing the project id as app name and email for developer email and contact email I also received the error

An error occurred while saving your app

Repeated attempts resulted in the same error.

A simple page refresh reloaded the details for me and I no longer received the error.

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

79391018

Date: 2025-01-27 13:55:16
Score: 0.5
Natty:
Report link

The gcloud auth configure-docker us-central1-docker.pkg.dev command recomended the official docs did not work with the docker cred-helper.

Instead I went with the docker login method

gcloud auth print-access-token | sudo docker login -u oauth2accesstoken --password-stdin https://us-central1-docker.pkg.dev

Note: add Sudo before your docker commands if you have not set users properly

Hope this helps

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): Hope this helps
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abhishek Ghadge

79391014

Date: 2025-01-27 13:53:15
Score: 3.5
Natty:
Report link

response I got "I'm not able to process Base64 image format or any other binary data.". So I don't think Base64 is the way to go..

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

79391007

Date: 2025-01-27 13:50:13
Score: 11 🚩
Natty: 4
Report link

Espero no haber llegado tarde, la solución definitiva a mi problema fue crear un script precompilatorio que eliminara la ruta. En explorador de solucionar buscar el nombre del proyecto -> propiedades -> compilar -> eventos de compilación. Y escribir: if exist "$(ProjectDir)bin\x64\Debug\app.publish" ( rmdir /s /q "$(ProjectDir)bin\x64\Debug\app.publish" ) -Su directorio podria ser diferente-. ;)

Reasons:
  • Blacklisted phrase (2): Espero
  • Blacklisted phrase (2.5): solucion
  • Blacklisted phrase (3): solución
  • Blacklisted phrase (2): crear
  • No code block (0.5):
  • Low reputation (1):
Posted by: Josè Bravo

79391006

Date: 2025-01-27 13:50:13
Score: 0.5
Natty:
Report link

In my case this error was caused because of using React fragment, code was more a less like:

return (
  <>
    {something.map(() => <p>foo</p>)}
  </>
)

fixed it by replacing <> and </> respectively with <div> and </div>

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

79390991

Date: 2025-01-27 13:46:12
Score: 2
Natty:
Report link

If the child repository is not a submodule and is just a directory with its own .git folder, it’s treated as a separate Git repository. If it is not already a submodule, add it .

git submodule add path/to/child-repo git submodule update --init --recursive

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

79390968

Date: 2025-01-27 13:38:10
Score: 2
Natty:
Report link

I solved this by installing the java 17 SDK using homebrew and adding it to my path!

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: vivann

79390965

Date: 2025-01-27 13:37:10
Score: 3.5
Natty:
Report link

Please check my app Link: https://play.google.com/apps/testing/com.techvibes.smartmoove.flutter_projects

username: any 10 digit mobile number password: any 3 to 8 character

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

79390961

Date: 2025-01-27 13:36:09
Score: 3
Natty:
Report link

Have you tried it on incognito

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Atharva Haldule

79390956

Date: 2025-01-27 13:35:09
Score: 2
Natty:
Report link

we have a pull request on github for making things in the Constrained_triangulation_plus_2 deterministic. github.com/CGAL/cgal/pull/8273

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

79390955

Date: 2025-01-27 13:33:09
Score: 0.5
Natty:
Report link

in my case, in macOS and for flutter:

in zshrc or bash, save this:

export JAVA_HOME=<yourJdkPath>

in terminal, set this:

flutter config --jdk-dir="${JAVA_HOME}"

without flutter config command, and only setting java home, I even could not run counter app, as expected. Applying both solved my problem.

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

79390944

Date: 2025-01-27 13:30:07
Score: 1
Natty:
Report link

Since the index/iterator is hidden in the foreach construct, you can draw your CFG loops similarly to how a tool like staticfg would do (for Python), with a label indicating the array you are iterating on. You don't need to expose an internal index. Your CFG would look like:

CFG

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

79390935

Date: 2025-01-27 13:24:05
Score: 7
Natty: 7.5
Report link

Can this be done using recursive cte?

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can this
  • Low reputation (1):
Posted by: Samip

79390927

Date: 2025-01-27 13:21:04
Score: 3
Natty:
Report link

enter image description here

Install iTerm and then uninstall it with "Uninstaller" app. Open in Terminal will work fine now

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

79390924

Date: 2025-01-27 13:20:04
Score: 2
Natty:
Report link

My solution to this was to "Lock" the fields (CustomerId and ProjectName) This prevented accidental changes to these fields. I created a "New Record" button that: GoToRecord New, CustomerID.locked = 0 and ProjectName.Locked = 0, then locked these two fields after update of each. Works for me.

Reasons:
  • Whitelisted phrase (-1): Works for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Skip

79390913

Date: 2025-01-27 13:16:03
Score: 0.5
Natty:
Report link

Using the MAP function is definitely a good way to go. I have a simplified version which gives the same results and the array expands as you add new records to your date table (you refer to as Sheet2).

To create the date table, Format data into table with Ctrl+T (includes headers).

Next, create your first array for people (which will expand as you add to your date table to include new records). If you name your table or have any other tables in the worksheet, be sure to rename your table. It is 'Table1' in the formula below.

=TOCOL(CHOOSECOLS(Table1[#Headers],SEQUENCE(,SUM(COUNTA(Table1[#Headers])-1),2,1)))

The extra detail in the above formula ensures that only the 2nd header onwards is showing, i.e. does not show the date only people.

Finally, this array returns your desired values by person. The cell reference must be the first Person1 from the first array.

=MAP(A11#,LAMBDA(x,TEXTJOIN(",",TRUE,FILTER(Table1,Table1[#Headers]=x))))

If using excel 365, you can take advantage of the cell+# which will select the entire range based on the first cell.

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

79390910

Date: 2025-01-27 13:15:02
Score: 4.5
Natty: 5.5
Report link

I'm getting Internal Server Error for the URL: http://192.168.1.6/Django_Login_Module/

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

79390908

Date: 2025-01-27 13:14:01
Score: 1.5
Natty:
Report link

I managed to solve it using the following libraries versions in my package.json:

"react-native-gesture-handler": "2.21.2",
"react-native-webview": "13.12.5",

Without the ^, in order to install those specific library versions.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Lucas Acuña

79390902

Date: 2025-01-27 13:11:01
Score: 1.5
Natty:
Report link

I'm still confused about the question, do you want one box with a full color border and another box with gray?

@property --bg-angle {
  inherits: false;
  initial-value: 0deg;
  syntax: "<angle>";
}
@keyframes spin {
  to {
    --bg-angle: 360deg;
  }
}
.scale-up {
  text-align: center;
}
.scale-up-grey {
  text-align: center;
}
.scale-up .animated-border {
  transition: ease-in-out 0.2s;
  animation: spin 3s infinite linear paused;
  background: linear-gradient(
        to bottom,
        oklch(0.1 0.2 240 / 0.95),
        oklch(0.1 0.2 240 / 0.95)
      )
      padding-box,
    conic-gradient(
        from var(--bg-angle) in oklch longer hue,
        oklch(0.85 0.37 0) 0 0
      )
      border-box;
  border: 2px solid transparent;
  border-radius: 6px;
}
.scale-up-grey .animated-border {
  transition: ease-in-out 0.2s;
  animation: spin 3s infinite linear paused;
  background: linear-gradient(90deg, rgba(2,0,36,1) 0%, rgba(0,0,0,0.8281687675070029) 35%, rgba(108,108,108,1) 100%);
  border: 2px solid transparent;
  border-radius: 6px;
}
.scale-up .animated-border:hover {
  transform: scale(1.05);
  animation-play-state: running;
}
.scale-up-grey .animated-border:hover {
  transform: scale(1.05);
  animation-play-state: running;
}
.breaker {
  font-size: 0;
  height: 20px;
  line-height: 0;
}
<div class="scale-up-grey">
  <a href="#" target="_blank">
    <img src="https://placehold.co/1200x100/blue/white" class="animated-border mono" alt="Brother mono printers" style="width: 80%;">
  </a>
</div>

<div class="breaker">
</div>

<div class="scale-up">
  <a href="#" target="_blank"><img src="https://placehold.co/1200x100/blue/white" class="animated-border" alt="Brother Colour printers" style="width: 80%;">
  </a>
</div>

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Donquixote Doflamingo

79390896

Date: 2025-01-27 13:10:00
Score: 2
Natty:
Report link

See relevant documentation here. It is mentioned that Artifactory is not impacted by this vulnerability.

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

79390889

Date: 2025-01-27 13:08:00
Score: 1
Natty:
Report link
  1. feeder3 works because Python's structural typing checks method return type covariance (accepting Dog as Animal), but incorrectly ignores parameter contravariance (should reject Dog input for Animal parameter). This is a type checker limitation (PyCharm/mypy may differ).

  2. walker2 fails due to insufficient contravariance support in some type checkers. AnimalWalker (handles supertype Animal) should satisfy Walker[Dog] (needs subtype input) via contravariance, but PyCharm doesn't recognize

  3. Behaviors are partially incorrect - true variance rules (per PEP 544) would reject feeder3 and accept walker2. PyCharm's checker has limitations in enforcing variance for protocols, unlike stricter tools like mypy.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Нарынбаев Нурсултан

79390883

Date: 2025-01-27 13:06:00
Score: 0.5
Natty:
Report link

Simply configure your i18next to specify the separator

i18next.init({ 
    keySeparator: '.',
    pluralSeparator: '.',
    compatibilityJSON: 'v4'
});

Then you can just use t('reports', {count: 1}) with the following structure

"reports": {
   "one": "report",
   "other": "reports", 
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chawki Messaoudi

79390878

Date: 2025-01-27 13:03:59
Score: 3.5
Natty:
Report link

The answer is wrong. It is 3n+4. You have to consider the iteration of the loop as well.

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