79381944

Date: 2025-01-23 17:01:48
Score: 3
Natty:
Report link

Can confirm the checked answer by OP. From the "Debug" button in lower left corner of the editor, select the compiler from the list. For me it was originally "Desktop (x86-windows-msys-pe-64bit" when it threw the error. I selected "Desktop Qt 6.8.1 MinGW 64 bit" and the code compiled and ran successfully.

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

79381943

Date: 2025-01-23 17:01:48
Score: 3.5
Natty:
Report link

You can increase rows displayed in Stage View by changing "com.cloudbees.workflow.rest.external.JobExt.maxRunsPerJob" parameter (No need to restart Jenkins):

https://stackoverflow.com/a/73330804/6400548

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: André Giacomini

79381941

Date: 2025-01-23 17:00:48
Score: 1.5
Natty:
Report link

Just need to assign the groups to a variable:

g = ts.groupby(lambda x: x.strftime("%Y-%m-%d")).boxplot(subplots=False, rot=90, ax = axes)
g.plot(ax = axes)
plt.show()

plot

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

79381939

Date: 2025-01-23 16:59:47
Score: 3
Natty:
Report link

Just a guess: try to check the type of listingStatus, maybe it's not an integer and type casting is needed here

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

79381936

Date: 2025-01-23 16:59:47
Score: 2.5
Natty:
Report link

In the early days of AWS S3, the "EU" region was the original designation for the EU (Ireland) region, which is now known as eu-west-1. AWS continued to support "EU" for backward compatibility with older systems and APIs that referenced it.

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

79381926

Date: 2025-01-23 16:56:46
Score: 2
Natty:
Report link

You should be able to achieve this using linked filters in Metabase. Without the full context, I’d recommend double-checking that your data has the necessary relationships (e.g., between 'District,' 'Block,' etc.).

Here’s the documentation, which might help: https://www.metabase.com/learn/metabase-basics/querying-and-dashboards/dashboards/linking-filters.

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

79381918

Date: 2025-01-23 16:51:45
Score: 2.5
Natty:
Report link

I think there's a bug. I've been running an app on slack similar to this for over 6mo and never had this issue until mid day yesterday. I have 3 versions of my app using the same code and one of them is NOT an ai assistant in the slack settings. That one was not impacted by this banner. For my 2 ai assistant apps (again, same features - just a toggle in slack's app settings) the apps are not working at all. Slack is not sending any event data even though i have proper scopes.

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

79381911

Date: 2025-01-23 16:49:45
Score: 1
Natty:
Report link

You should first create the timeRange with your startTime and endTime:

$timeRange = New-Object OSIsoft.AF.Time.AFTimeRange($startTime, $endTime)

and then pass it to RecordedValues:

$piPoint.RecordedValues($timeRange, [OSIsoft.AF.Data.AFBoundaryType]::Inside, $null, $false)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jason Molina

79381904

Date: 2025-01-23 16:48:44
Score: 1
Natty:
Report link

from

 org.springframework.security.authentication.AuthenticationManager

to

org.springframework.security.core.AuthenticationException
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Has no white space (0.5):
Posted by: Vladi

79381898

Date: 2025-01-23 16:47:44
Score: 1
Natty:
Report link

Answer might be too late, but you can add these while creating the Pop-up.

Disable Click Propagation: L.DomEvent.disableClickPropagation(div);

Disable Scroll Propagation: L.DomEvent.disableScrollPropagation(div);

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zeedan Khan -11 B-449-NonMedic

79381895

Date: 2025-01-23 16:46:44
Score: 1.5
Natty:
Report link

As per the current Pytorch 2.5 documentation, you can do it using torch.normal:

torch.normal(mean=torch.arange(1., 11.), std=torch.arange(1, 0, -0.1))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Samik

79381889

Date: 2025-01-23 16:43:42
Score: 1.5
Natty:
Report link

I was getting an exception with the same upgrade: java.lang.NoClassDefFoundError: org/eclipse/compare/internal/TabFolderLayout

I found that class in the previous eclipse version 2024-09 and as a workaround I copied the class to the jar in 2024-12 in which it was missing.

Copy the class org.eclipse.compare.internal.TabFolderLayout.class from plugins/org.eclipse.compare_3.11.100.xxxx.jar to plugins/org.eclipse.compare_3.11.200.xxxx.jar And restart Eclipse

I reported the problem as a bug in: subversive/issues/260

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

79381886

Date: 2025-01-23 16:42:41
Score: 7.5 🚩
Natty:
Report link

For can i do more investigate please answer me this question.

Have you tested the SSD on another computer or motherboard?

Does the issue occur even after a soft reboot, or only after a cold boot?

Have you tried using a different brand/model of SSD with this motherboard?

Reasons:
  • Blacklisted phrase (1): can i do
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (2.5): please answer me
  • RegEx Blacklisted phrase (1): i do more investigate please
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Mamas Vartholomeou

79381883

Date: 2025-01-23 16:40:41
Score: 3
Natty:
Report link

Ranjana Ghimire has it right. I run into this all the time. Any previous statement before the "WITH" needs to be ended with a semi-colon.

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

79381869

Date: 2025-01-23 16:36:39
Score: 1
Natty:
Report link

Thanks for your question. I've reproduced the result you report here: https://github.com/rpoyner-tri/drake/pull/new/stack-overflow-leak-dev

Please check that branch and confirm it matches your experiment.

I'm not finished with my investigation yet, but I ran the test with VERBOSE = True, and the (copious) output shows at least one thing I think is fishy. The MyAdder object is referred to by "bound methods". I'm not yet sure where they came from, but I suspect something in the intricate machinery of Python inheritance from C++ base classes may be creating those.

So, if my hunch is right, the precise problem is "memory leaks involving leaf systems implemented in Python".

I'll continue poking at it, and update shortly.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rpoyner-tri

79381862

Date: 2025-01-23 16:35:39
Score: 3.5
Natty:
Report link

I'm quite skeptical that this could work without issues, but it seems that this can be done: you can see a similar question here
That question is referring to Android, and not Flutter, but the Manifest file is the same.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): see a similar question
Posted by: il_boga

79381858

Date: 2025-01-23 16:34:38
Score: 0.5
Natty:
Report link

In this article from 2023 explans how to achive exactly that for all types.

Using the override on ConfigureConventions and from the received ModelConfigurationBuilder then you can achieve that:

public class RiderConverter() : ValueConverter<EquineBeast, string> 
(
    v => v.ToString(),
    v => (EquineBeast)Enum.Parse(typeof(EquineBeast), v));
);

protected override void ConfigureConventions(ModelConfigurationBuilder configurationBuilder)
{
    configurationBuilder
        .Properties<Rider>()
        .HaveConversion<RiderConverter>();
}

This is will also allow to specify other properties like Types, max lengths, requireds... etc!

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pautx

79381856

Date: 2025-01-23 16:33:38
Score: 1
Natty:
Report link

But storing sensitive data like password in config files is also not recommended as your files will normally go to a third-party source control system. Best thing to do is to have them stored as secrets in an Azure Vault for instance and your pipeline will then read those values and put them in your config files during deployment.

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

79381846

Date: 2025-01-23 16:29:37
Score: 2.5
Natty:
Report link

Try npm package - https://www.npmjs.com/package/@zero65tech/indian-stock-market

const open = ism.isOpen();
console.log(open); // true or false

const holiday = ism.isHoliday();
console.log(holiday); // true or false
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Prashant

79381844

Date: 2025-01-23 16:28:37
Score: 3.5
Natty:
Report link

Check the custom format options in below url

URL: https://angular.dev/api/common/DatePipe?tab=usage-notes

All Details related to date pipe in angular

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

79381835

Date: 2025-01-23 16:25:35
Score: 5.5
Natty: 4.5
Report link

enter image description here

Assistance about explicit .

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aleksandr Avezbakiyev

79381828

Date: 2025-01-23 16:24:34
Score: 2.5
Natty:
Report link

Tools > Options > Text editor > {language of your choice} > Navigation bar checkbox

This applies to Visual Studio 2019 and 2022.

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

79381823

Date: 2025-01-23 16:22:34
Score: 2.5
Natty:
Report link

yeah, this doesn't solve the problem. In the past, we could embed the entire playlist as a series of videos. This is no longer possible despite Google's own website copy. Someone dropped the ball here.

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

79381813

Date: 2025-01-23 16:18:33
Score: 3.5
Natty:
Report link

I found the following post: Connect External Android Device to Visual Studio 2022. I did not have the USB Device Connectivity item installed for Visual Studio so my device did not show up. Works fine.

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

79381812

Date: 2025-01-23 16:18:33
Score: 3.5
Natty:
Report link

Please report it to JetBrains open issue tracker. It worth to add some screencast or more screenshots of the problem.

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

79381811

Date: 2025-01-23 16:17:33
Score: 1.5
Natty:
Report link

Try to use config file instead of env variables

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

79381803

Date: 2025-01-23 16:16:32
Score: 5
Natty: 5
Report link

once you verify your email was it still showing that email is not verified but then you refresh you page you are logged in ?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 22bece3o454 krutika Thakkar

79381802

Date: 2025-01-23 16:16:31
Score: 1.5
Natty:
Report link

The solution is:

Enter both the Oracle user password and the ASM password in the same Password field/tab, separated by a comma. This needs to be updated either in the Secrets Manager or directly in the Endpoint.

For example: Oracle123,ASM123

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ibrahim Basha Imran

79381796

Date: 2025-01-23 16:13:31
Score: 0.5
Natty:
Report link

Have you configured it properly?

var clientSettings = MongoClientSettings.FromUrl(mongoUrl);
var options = new InstrumentationOptions { CaptureCommandText = true };
clientSettings.ClusterConfigurator = cb => cb.Subscribe(new DiagnosticsActivityEventSubscriber(options));
var mongoClient = new MongoClient(clientSettings);

Source

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: baynezy

79381786

Date: 2025-01-23 16:10:30
Score: 1
Natty:
Report link

First of all I gave an id to:

Then I also stripped off any templating placeholder {{ }} to focus just on the html/css and I arbitrarily filled the table with bogus data.

Now trying to answer to your questions:

How do I align the table to have some space on its left border?

I set a css rule for the #section container to set its padding as padding: 0 1em;

How do I align both the table and the search box so they are equally distanced from the top border?

The content of both those columns already starts at the beginning of their corresponding container. But the results table header was having some padding while the content of the search pane didn't. I changed what appeared in your code as {{ form | crispy }} with an <input type="text"> and its corresponding label styled using bootstrap form classes AND also added a css rule setting padding-top: .75em; over #search. It was enough for them to have the same padding of the table header so they share the same (~) baseline.

What about the Pagination code, is it placed correctly?

It's arbitrary.. for sure it looks correct to have it right below the results. On the other hand I wouldn't agree with having a right page for the search box but that's not up to me.

Another problem is that when there are less than 10 books in the table the height of the table shrinks. How can I fix that?

The table's height corresponds to its content. When you say it shrinks it's not clear what's your concern. Maybe it's related to how it looks compared to the search pane? You clearly asked to have the search box at the top of its container so I still don't get what do you actually mean here.

how to place both the columns at the same height from the top border, not just the search box?

This point was already addressed before.

And finally:

to have a better layout I also used table-responsive instead of table-responsive-sm because otherwise the table overflowed its container overlapping the second column when the resolution didn't hit the sm threshold.

body{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#section{
  /*this is for the sake of highlighting the box model of the whole container*/
  border: dashed 5px #ccc;  
  margin: 0;
  padding: 0 1em;
}

#results{  
}

#search{
  padding-top: .75em;
}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/4.5.3/css/bootstrap.min.css" />

<div id="section" class="row">
  
  <div id="results" class="col-8 align-items-stretch">
    <div class="table-responsive">
      <table class="table">
        <thead>
          <tr>
            <td>Title</td>
            <td>Author</td>
            <td>Price</td>
            <td>Read</td>
            <td></td>
          </tr>
        </thead>

        <tbody>          
          <tr>
            <td>title1</td>
            <td>name1 lastname1</td>
            <td>price1</td>
            <td>true</td>
            <td><a href="">View</a></td>
          </tr>          
          <tr>
            <td>title1</td>
            <td>name1 lastname1</td>
            <td>price1</td>
            <td>true</td>
            <td><a href="">View</a></td>
          </tr>          
          <tr>
            <td>title1</td>
            <td>name1 lastname1</td>
            <td>price1</td>
            <td>true</td>
            <td><a href="">View</a></td>
          </tr>          
          <tr>
            <td>title1</td>
            <td>name1 lastname1</td>
            <td>price1</td>
            <td>true</td>
            <td><a href="">View</a></td>
          </tr>
          <tr>
            <td>title1</td>
            <td>name1 lastname1</td>
            <td>price1</td>
            <td>true</td>
            <td><a href="">View</a></td>
          </tr>          
          <tr>
            <td>title1</td>
            <td>name1 lastname1</td>
            <td>price1</td>
            <td>true</td>
            <td><a href="">View</a></td>
          </tr>          
          <tr>
            <td>title1</td>
            <td>name1 lastname1</td>
            <td>price1</td>
            <td>true</td>
            <td><a href="">View</a></td>
          </tr>          
          <tr>
            <td>title1</td>
            <td>name1 lastname1</td>
            <td>price1</td>
            <td>true</td>
            <td><a href="">View</a></td>
          </tr>          
        </tbody>
      </table>

      <div class="pagination justify-content-left">
        <span>          
          <a href="">Previous</a>          
          <span>Page 1 of 1.</span>          
          <a href="">Next</a>          
        </span>
      </div>
      
    </div>
  </div>

  <div id="search" class="col-4">    
    <form method="get">
      <div class="mb-3">
        <label class="form-label">Title</label>
        <input type="text" class="form-control">
      </div>
      <button type="submit" class="btn btn-primary">Search</button>
    </form>
  </div>
</div>

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): How do I
  • RegEx Blacklisted phrase (1.5): How can I fix that?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Diego D

79381779

Date: 2025-01-23 16:08:29
Score: 9
Natty: 10.5
Report link

can you share the software stack you used to run Unetstack un the PI 4 ? I followed this guide with no success:

https://blog.unetstack.net/Project-Sabine-Low-cost-DIY-underwater-modem-using-COTS-components-and-Unet-audio

Thanx

Reasons:
  • Blacklisted phrase (1): Thanx
  • Blacklisted phrase (1): this guide
  • RegEx Blacklisted phrase (2.5): can you share
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): can you share the
  • Low reputation (1):
Posted by: Marco Scardigli

79381772

Date: 2025-01-23 16:07:29
Score: 1
Natty:
Report link

Just had the same problem with the Postman test, and fixed it in Postman too:

  1. Go back to the "Variable names surrounded by {{}}" in the Configure New Token section.

  2. Hover over the variables you've entered, eg {{scopes}} (note: they're likely orange or red at this point).

  3. While hovering, click 'Add to' in the dropdown (that appears appears from hover)

  4. Select "E Environment" (assuming you saved these original details in OAuth 2.0 Environment).

  5. The variables should now have turned blue.

Try 'Get New Access Token' from here again.

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

79381747

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

You could try a linked list for this task.

Lets say you have elements A B C F G to be added your class. Your clas should remember first and most recent element. You can add A in a format it pounts to a and next element. Lets call it node

When you add B you update A node and your main object. Then when you add C you only update B node and main object. Then when you add D you only update C node and main object.

So each time you only update last Last node and your object to remember your last node.

Although it still updates your object your object consists of data for only name of 2 objects and you only update the last node so big amonut of data that is stored inside all of your other nodes (other then first and last) are not even reached in this process let alone being deleted and re-writed. So if you have 1 million elements iside your list you only update node for last element to point your freshly added element.

Then you can pickle all the nodes between keeping them same structure.

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

79381745

Date: 2025-01-23 15:59:26
Score: 3
Natty:
Report link

The class is not recognised by your program. If it's a Maven project, reload the project to download dependencies or add the Selenium jar manually to the classpath.

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

79381739

Date: 2025-01-23 15:58:26
Score: 3
Natty:
Report link

How about excluding it using the exclude directive in the main springboot pom.xml file?

<dependencies>
  ...
  <dependency>
    <groupId>your.custom.library.groupId</groupId>
    <artifactId>artifactId</artifactId>
    ...
    <exclusions>
      <exclusion>
        <groupId>unwanted.test.dependency.groupId</groupId>
        <artifactId>artifactId</artifactId>
      </exclusion>
    </exclusions>
  </dependency>
</dependencies>
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: Roman Ivanov

79381736

Date: 2025-01-23 15:57:26
Score: 2
Natty:
Report link

You can refer PyTorch's Get Started Locally Docuemtnation in which you can select specific version's and download as required: https://pytorch.org/get-started/locally/

and if the issue your facing is related to CUDA check out: https://developer.nvidia.com/cuda-downloads

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

79381727

Date: 2025-01-23 15:55:25
Score: 1
Natty:
Report link

Unfortunately exclude_tags doesn't exist in root level. However, instead of this you can configured to skip test which contains the tag in your dart_test.yaml file, like this

tags:
  real_api:
    skip: true
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Allejo

79381723

Date: 2025-01-23 15:54:25
Score: 1
Natty:
Report link

Adding OBJCXX = clang++ -std=c++11 to the ~/.R/Makevars file worked for me. You can pick whichever c++ version you'd like, as long as the required features are supported.

Source: the relevant Github thread is here: stackoverflow.com/questions/69790523/installing-systemfonts-package-from-cran-and-github-fails

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Matt

79381716

Date: 2025-01-23 15:52:24
Score: 1.5
Natty:
Report link

If, for any reason, you need to use the L1 construct I found this documentation to be helpful:

https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ec2.CfnLaunchTemplate.html

The reported example is a bit annoying but I tested it and it works:

declare const cluster: eks.Cluster;

const userData = `MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="==MYBOUNDARY=="

--==MYBOUNDARY==
Content-Type: text/x-shellscript; charset="us-ascii"

#!/bin/bash
echo "Running custom user data script"

--==MYBOUNDARY==--\\
`;
const lt = new ec2.CfnLaunchTemplate(this, 'LaunchTemplate', {
  launchTemplateData: {
    instanceType: 't3.small',
    userData: Fn.base64(userData),
  },
});

cluster.addNodegroupCapacity('extra-ng', {
  launchTemplateSpec: {
    id: lt.ref,
    version: lt.attrLatestVersionNumber,
  },
});
Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cr4zyTun4

79381714

Date: 2025-01-23 15:52:24
Score: 2.5
Natty:
Report link

I believe it is because the ClassPath of MagicDraw does not include jmathlib.jar, so this dependency is not well loaded.

A touch of lib/classpath.jar may help.

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

79381706

Date: 2025-01-23 15:50:23
Score: 2.5
Natty:
Report link

In my case, I also faced same issue, we need to delete the control and add control again solved this problem.

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

79381682

Date: 2025-01-23 15:43:21
Score: 1
Natty:
Report link

I'm assuming you don't care so much about the read-only part rather than that HEAD stays where it is and you may work on your repository even if your working tree is dirty. In that case you may be looking for git worktree.

It'll create a separate working tree for one repository attached to a separate HEAD. It's even more than read-only: As the HEAD is different, you may even commit to it without any conflicts with your default working tree.

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

79381677

Date: 2025-01-23 15:41:20
Score: 5
Natty:
Report link

***[








===============

*




]1***

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • No latin characters (1.5):
  • Filler text (0.5): ===============
  • Low reputation (1):
Posted by: Kamatchi K

79381661

Date: 2025-01-23 15:34:18
Score: 3.5
Natty:
Report link

Solved. Commenting #define WIN32_LEAN_AND_MEAN in "framework.h" helped to remove the errors.

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

79381660

Date: 2025-01-23 15:34:18
Score: 3.5
Natty:
Report link

Sorry I discovered I was pointing to the wrong location! Pointing to the correct location fixed the error! My bad!

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

79381657

Date: 2025-01-23 15:33:18
Score: 2.5
Natty:
Report link

CountryCode fields are 2 or 3 digits codes. Ex: FR or FRA for France, and probably SP for Spain

If you want to use the literal, use the Country field

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

79381654

Date: 2025-01-23 15:33:17
Score: 4.5
Natty:
Report link

@Roland and @Limey, thank you so much for your suggestions and advice! I deleted the last line with assign(), then wrote logit.admit.3grp <- myf(...) for each outcome, and it's working as I intended. @Roland, I see your point about not using lapply/sapply. I just wanted to make the one I have work first to understand R better. I have written some codes using lapply/sapply that work fine (with help from other R users), and now I need to work more on adding tbl_regression to it and use tbl_merge to bind all together. Will see. Thank you everyone!

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Roland
  • User mentioned (0): @Limey
  • User mentioned (0): @Roland
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: brainupgraded

79381650

Date: 2025-01-23 15:32:15
Score: 9 🚩
Natty:
Report link

please did you find a solution, having same error in 2025

Reasons:
  • RegEx Blacklisted phrase (3): did you find a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): having same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: Quinbro

79381648

Date: 2025-01-23 15:32:15
Score: 2
Natty:
Report link

Thanks to @gthanop and @Abra for providing the answer, I'll summarize it here quickly:

You can call Image.getScaledInstance(width, height, hint) to get a resized version of the image. However, if you provide it with Image.SCALE_SMOOTH for the hint argument, the image will be scaled down in a way that it keeps its "smoothness."

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

79381639

Date: 2025-01-23 15:28:14
Score: 2
Natty:
Report link

You can use YourKit Java profiler to identify the memory leaks.

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

79381626

Date: 2025-01-23 15:25:13
Score: 1.5
Natty:
Report link

Just change the image/jpeg to image/jpg

something like this:

accept: {
  'image/png': ['.png'],
  'image/jpg': ['.jpeg'],

}

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

79381621

Date: 2025-01-23 15:23:13
Score: 1
Natty:
Report link

I discovered the issue. Even though the error was happening on this line, it was caused higher up in the code in a section not in the example:

...
QBatch.Open;
QGetLastBatchNumber.Open;
...

These were two TUniQueries that both accessed the same table called BATCH with different sql statements. So the error was actually that I was trying to make two connections to the same table in a transaction. I do not know why this wasn't an issue before Delphi 12.2 and I do not know exactly why the error triggered on QBatch.Post as opposed to when I opened both tables, but if you have a similar error, you can look to see if you have two different TUniQueries open that connect to the same table within a single transaction.

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

79381618

Date: 2025-01-23 15:23:13
Score: 3
Natty:
Report link

Not really an answer to my own question, but the NuxtLoadingIndicator shows up on localhost if I set opacity:1 on the component. Perplexed...

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

79381617

Date: 2025-01-23 15:22:12
Score: 1
Natty:
Report link

The issue might be that you haven't included pyodbc in your requirements.txt file. Try adding pyodbc to the file, right after azure-functions, and that should resolve the problem.

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

79381614

Date: 2025-01-23 15:22:12
Score: 2.5
Natty:
Report link

Ran to this issue in Postgres and it is a result of incompatible mixing of packages make sure packages are aligned.

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

79381613

Date: 2025-01-23 15:21:12
Score: 3.5
Natty:
Report link

Since you have the date column, it's possible to configure incremental refresh. You have to archive 3 months data and refresh from next month.

Follow this guide

https://learn.microsoft.com/en-us/power-bi/connect-data/incremental-refresh-configure#create-parameters

Reasons:
  • Blacklisted phrase (1): this guide
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
Posted by: AmilaMGunawardana

79381610

Date: 2025-01-23 15:20:12
Score: 1.5
Natty:
Report link

For God's sake don't change the system time! If you're in a professional environment you'll get fired! There's more things than your little piece of work depending on that. MySQL needs a Event manager along the lines of SQL Server's Task Manager. You can run a job from the UI. The job history and scheduler is far better. It can email when the task errors and have multiple steps that invoke more than just a stored proc.

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

79381603

Date: 2025-01-23 15:18:10
Score: 8 🚩
Natty: 6
Report link

Dears, Any news about if Pandas DataFrame.query Code Injection Vulnerability will be fixed?

Reasons:
  • RegEx Blacklisted phrase (1.5): fixed?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: RadekRadosław

79381589

Date: 2025-01-23 15:13:09
Score: 0.5
Natty:
Report link

Based on your purposes.

Short answer: The provider itself is a wrapper around InheritedWidget to make it easier to use and more reusable. ONE of its possibilities is to expand the basic capabilities of the ChangeNotifier, allow to use it in more flexible and maintainable way.


Detailed answer:

Using ChangeNotifier + ListenableBuilder is quite limited.

ChangeNotifier is an implementation of Observer pattern in Flutter's foundation, so its goal to notify other obects about its changes, if they listen to it.

In case you want to use your ChangeNotifier's instance in few places to share same state, you have to put (provide) THAT instance inside EVERY place, where you use ListenableBuilder. Potential places for error and unexpected behavior.

That's the moment where provider enters the game. Instead of trying to place this ChangeNotifier instance deeply into a tree of widgets in different places, you provide an instance of a ChangeNotifier to its descendants (down the widget tree) using ChangeNotifierProvider. From now you can access your ChangeNotifier instance everywhere under ChangeNotifierProvider using Consumer class instead of ListenableBuilder.

An example of using provider you can also find in Flutter official docs.

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

79381588

Date: 2025-01-23 15:13:09
Score: 1
Natty:
Report link

Verifying that you have fully tested code is ALWAYS, IMHO, better than following privacy fetishes.

There are often good ways to restrict privacy AND have fully-tested code. (Michael Feathers has written extensively about this.) But when they appear to be in conflict, choose the tests. Privacy rules are an artifact of ancient ways of thinking about programming languages: there's nothing sacred or inherent about them. We build modules in layers, like an onion; privacy rules simply haven't caught up to good design principles.

Some languages have built-in support for visibility to unit-tests, e.g. "friend of" declarations and the like. Where that is not possible, we can still warn other developers that a function really wanted to be private, with attributions or naming conventions.

(FWIW, I was the unit-test evangelist/mentor for a 1M LOC project, and with my guidance/wrist-slapping/carrot-giving :-) we went from 40% coverage to 74% before I retired.)

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

79381581

Date: 2025-01-23 15:09:08
Score: 1.5
Natty:
Report link

This erorr is coming because NDK is not able to find the specific file inside this path /Users/username/Library/Android/sdk/ndk/25.1.8937393. follow the path and delete folder ones with name as 25.1.8937393. and again run same command as npx react-native run-android. It would work fine.

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

79381577

Date: 2025-01-23 15:08:07
Score: 1
Natty:
Report link

1.Confirm Python Version and Platform ->python --version

2.Update pip, setuptools, and wheel ->pip install --upgrade pip setuptools wheel

3.Check Compatibility for psycopg-binary

4.Use different Version ->pip install psycopg-binary==3.2.1

5.Install it ->pip install psycopg

6.before running that ensure that you have to install the below ->sudo apt-get install -y build-essential libpq-dev

7.install xcode command ->xcode-select --install

8.Use universal alternative ->pip install psycopg2-binary

9.Verify instalation ->import psycopg print(psycopg.version)

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

79381576

Date: 2025-01-23 15:07:07
Score: 2
Natty:
Report link

Type

prompt _________________________$_$p$_$t~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~$________[$l{$c$s$s

Adjust the tils and scores to you cmd window. I play this game to much.

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

79381567

Date: 2025-01-23 15:05:07
Score: 0.5
Natty:
Report link

I solved the issue by analysing dependencies of reverb and queue. First thing is make sure queue is working, it includes making sure you have jobs table set up by laravel as well. Then in env file you need BROADCAST_CONNECTION=reverb and QUEUE_CONNECTION=database. Reverb, relies on queue as well. Then make sure to use default variables for REVERB_SERVER_HOST=0.0.0.0 REVERB_SERVER_PORT=8080 If you change this values to different, same error message may appear.

Reasons:
  • Whitelisted phrase (-2): I solved
  • RegEx Blacklisted phrase (1): same error
  • No code block (0.5):
  • Low reputation (1):
Posted by: Niyozbek Obidov

79381563

Date: 2025-01-23 15:04:06
Score: 6
Natty: 7.5
Report link

Is this still possible in 2025? If yes, how can I extract app icons from my jailbroken Ipad?

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is this
  • Low reputation (1):
Posted by: Talonflame

79381560

Date: 2025-01-23 15:03:05
Score: 3
Natty:
Report link

using power query you can do it if you are ok with power query, ill help you

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

79381558

Date: 2025-01-23 15:03:05
Score: 0.5
Natty:
Report link

If you are using Lombok, try removing @Data annotation from that class.

In your case from EmployeeDTO. And put @Getter and @Setter annotations after you remove @Data.

Should look like this:

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor(force = true)
public class EmployeeDTO {

  @Singular
  private final List<PhoneDTO> phones;

}
Reasons:
  • Whitelisted phrase (-1): In your case
  • Has code block (-0.5):
  • User mentioned (1): @Data
  • User mentioned (0): @Getter
  • User mentioned (0): @Setter
  • User mentioned (0): @Data
  • Low reputation (1):
Posted by: Filip

79381554

Date: 2025-01-23 15:02:05
Score: 0.5
Natty:
Report link

There is an open issue for that: https://github.com/spring-projects/spring-batch/issues/3892.

If you manage to fix the issue, then contributions are welcome!

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

79381546

Date: 2025-01-23 15:00:04
Score: 4
Natty:
Report link

I am using this plugin. You may also have a view on this list to get an overview of useful plugins.

Reasons:
  • Blacklisted phrase (1): this plugin
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: b0lle

79381537

Date: 2025-01-23 14:57:03
Score: 1.5
Natty:
Report link

I was getting BSOD when running a Flutter app in the Android Emulator via Android Studio. Disabling Hyper-V and uninstalling the deprecated Intel HAXM did not help.

Eventually I realized that I had BlueStacks installed on my PC, too. After I uninstalled it, the Android Emulator did not work at all.

I ended up completely uninstalling and reinstalling the Android SDK (without HAXM). This fixed the issue for me.

Now I can only speculate if it was the uninstall of BlueStacks or the reinstall of the Android SDK that actually solved the problem. The fact that the Android Emulator did not work after uninstalling BlueStacks at least indicates that BlueStacks interferes with the Android SDK.

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

79381533

Date: 2025-01-23 14:55:01
Score: 15
Natty: 8
Report link

Did you solve the problem? Can you help me?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Did you solve the problem
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve the
  • Low reputation (1):
Posted by: user29334428

79381523

Date: 2025-01-23 14:53:00
Score: 1
Natty:
Report link

I had the same problem, and to get rid of that you need to make a new commit with a message like this git commit -m 'ready' and it will be gone ! So simple though, no one talks about that.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29334372

79381511

Date: 2025-01-23 14:47:59
Score: 1
Natty:
Report link

We can apply this by adding the value of the Index with the collection Of Index Method.

simple code in here .

  <th scope="row">@(Model.IndexOf(item)+1)</th>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MG KYAING

79381500

Date: 2025-01-23 14:44:58
Score: 1.5
Natty:
Report link

git diff develop...abandoned-candidate - that should produce empty output for branch with no changes compare to develop one.

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

79381489

Date: 2025-01-23 14:41:57
Score: 0.5
Natty:
Report link

rigidbody.velocity is a vector - its direction defines direction of movement and its length defines speed of movement. Using these properties, you can:

  1. Save up the velocity length (float cachedLength = rigidbody.velocity.magnitude;).
  2. Apply the force you want to modify the direction
  3. Change velocity length to maintain the speed: rigidbody.velocity = rigidbody.velocity.normalized * cachedLength;

This way, you accept change in direction, but not in legth of the vector.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: Pindwin

79381486

Date: 2025-01-23 14:41:57
Score: 3
Natty:
Report link

If you look at the docs, it has a customization section: https://ionicframework.com/docs/api/select#customization

and to change the icon of the dropdown: https://ionicframework.com/docs/api/select#custom-toggle-icons

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

79381485

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

My assumption is, if you are dealing with video, you will need to replace the FFMPEG dll that ships with NW.js. Google pays to license commercial video/audio codecs for Chrome. However, they don't do that for Chromium. So it only has the open source audio/video codecs. NW.js is based on Chromium.

NW.js has a page about this:

It includes instructions on how to do a custom build of FFMPEG to be compatible with your version of NW.js. It also links to prebuilt binaries maintained by the community:

Though these are not available for all version of NW.js, so you'd need to pick a version that matches, and also make sure your global Node version matches the version in NW.js.

Also, you'd still need to deal with licensing these codecs for your software if you are concerned with the legal usage of them.

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

79381476

Date: 2025-01-23 14:37:56
Score: 2
Natty:
Report link

只需要把es6转成es5就可以了, { test: /.js$/, loader: 'babel-loader', include: [ path.join(__dirname, '../src'), path.join(__dirname, '../node_modules/vue-ele-upload-file'), path.join(__dirname, '../utils'), path.join(__dirname, '../node_modules/pretty-bytes'), path.join(__dirname, '../node_modules/vue-ele-form'), path.join(__dirname, '../node_modules/element-ui'), path.join(__dirname, '../node_modules/@hufe921/canvas-editor') ], options: { presets: ['env'], plugins: ['transform-runtime'] } },

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

79381474

Date: 2025-01-23 14:35:55
Score: 0.5
Natty:
Report link

Maybe one way to get only first file in directory:

listAll(listRef).then((res) => {
    if (res.items[0] != null) {
        getDownloadURL(res.items[0]).then((url) => {
            zStorageApi[i] = url;
        });
    }
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hrvoje

79381470

Date: 2025-01-23 14:34:55
Score: 2
Natty:
Report link

You have to add display: grid to your parent container. justify-self only works in combination.

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

79381467

Date: 2025-01-23 14:33:55
Score: 3
Natty:
Report link

Well one thing which might seem obvious to some people is: did you install Monogame game engine on your laptop or PC first. One cannot work without the other.

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

79381466

Date: 2025-01-23 14:33:55
Score: 2
Natty:
Report link
Do you want this?

If yes, then it can be done by using pseudo-elements without adding extra div and p tags. This is to give an idea of using pseudo-elements. You can modify width and spacing accordingly https://jsfiddle.net/e71d96b0/

Dots and separators for menu item

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

79381457

Date: 2025-01-23 14:28:54
Score: 1.5
Natty:
Report link

Probably you have newer iOS version where the option has been moved.

You need to unlock the Developer settings and then go to Settings > Developer and scroll all the way down. There you can sign in to sandbox account for testing payments (while keeping your main account for the real stuff).

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

79381440

Date: 2025-01-23 14:22:52
Score: 1.5
Natty:
Report link

Use the react-native-video package:

import Video from "react-native-video";

<Video source = {{ "uri": exercise.video }} style = {{ "width": "100%", "height": 300 }} resizeMode = "contain" controls = {true} />

Set the Video Source to the location of the video

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

79381437

Date: 2025-01-23 14:21:51
Score: 2
Natty:
Report link

Tried to find workaround and couldn't find any. The only way I discover is to use the same touch-behavior for clicks and rely on "CurrentInteractionStatus", which will be "Completed" after longtap trigger.

<Grid.Behaviors>
        <toolkit:TouchBehavior LongPressCompleted="LongPress_Handler" TouchGestureCompleted="Tap_Handler" LongPressDuration="750"/>
</Grid.Behaviors>

.

private void LongPress_Handler(object sender, CommunityToolkit.Maui.Core.LongPressCompletedEventArgs e)
{
    Console.WriteLine("Long Tap!");
}

private void Tap_Handler(object sender, CommunityToolkit.Maui.Core.TouchGestureCompletedEventArgs e)
{
    var stackItem = (View)sender;
    var touch = (CommunityToolkit.Maui.Behaviors.TouchBehavior)stackItem.Behaviors[0];
    if (touch.CurrentInteractionStatus == CommunityToolkit.Maui.Core.TouchInteractionStatus.Started)
    {
        Console.WriteLine("Normal tap!");
    }
}

If you find more reliable ways, please share.

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Serg Tomcat

79381435

Date: 2025-01-23 14:20:50
Score: 8 🚩
Natty:
Report link

Could you please clarify whether a single-threaded run refers to operation on one core of a multi-core processor or operation on all cores of a single processor?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you please clarify
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Сергей Васильев

79381434

Date: 2025-01-23 14:20:50
Score: 0.5
Natty:
Report link

Just installed lower gcc-arm-none-eabi version, and problem gone.

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

79381429

Date: 2025-01-23 14:19:50
Score: 1.5
Natty:
Report link
$date = str_replace("/", "-", date("m/d/Y")); 
$arr = [
    'email' => $modified_by,
    'source' => $src,
    'date' => $date 
];

use this str_replace to slash to dash

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

79381428

Date: 2025-01-23 14:19:50
Score: 1.5
Natty:
Report link

I would start with exploring the Delta Lake Docker image for experimenting with Delta Lake since this image comes pre-configured with all the essential components required to read and write data using Delta Lake. It includes tools and frameworks such as Python, Rust, PySpark, Apache Spark, Jupyter, and more.

https://github.com/delta-io/delta-docker

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

79381427

Date: 2025-01-23 14:18:49
Score: 0.5
Natty:
Report link

After the helpful advice of the above, here is what I was able to come up with:

import numpy as np
import matplotlib.pyplot as plt
from PIL import Image

img = Image.open('level.jpg') #open the image that you want to zoom into
img_save = img
w, h = img.size

distance = 2 # in this case this image will be zoomed in by 10
distance2 = 1

zm=distance/distance2 #should be bigger than 1 to make it work

wn = w // zm # this is the *new size* of the image after being zoomed in
hn = h // zm

widthStart  = (w - wn) // 2
heightStart = (h - hn) // 2
widthEnd    = widthStart + wn
heightEnd   = heightStart + hn

img = img.crop((widthStart, heightStart, widthEnd, heightEnd))
img = img.resize((w, h), Image.LANCZOS)

plt.imshow(np.array(img))
plt.show()
plt.imshow(np.array(img_save))
plt.show()
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: CakeMaster

79381409

Date: 2025-01-23 14:13:48
Score: 1
Natty:
Report link
const updatePaths = (items: Item[], parentPath = "", childKey = "sublimit"): Item[] => {
  return items.map((item, index) => {
    const currentPath = `${parentPath}/${index}`;

    return {
      ...item,
      path: currentPath,
      ...(item[childKey] ? { [childKey]: updatePaths(item[childKey] || [], currentPath, childKey) } : {}),
    };
  });
};
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: balaji

79381401

Date: 2025-01-23 14:09:47
Score: 1
Natty:
Report link

Thank you Glenner003

it works

PdfCanvas gxf;
ImageData ImageDataGlobal =ImageDataFactory.Create( byte[] MyImage)
AffineTransform affineTransform = AffineTransform.GetTranslateInstance(Pos.X,Pos.Y);
 affineTransform.Concatenate(AffineTransform.GetScaleInstance(Size.X,Size.Y));
 affineTransform.Concatenate(AffineTransform.GetRotateInstance(RandomRadiant));
 float[] matrix = new float[6];
 affineTransform.GetMatrix(matrix);
 gfx.AddImageWithTransformationMatrix(ImageDataGlobal, matrix[0], matrix[1], matrix[2], matrix[3], matrix[4], matrix[5]);
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Valentín Elizondo Nevares

79381398

Date: 2025-01-23 14:09:47
Score: 2.5
Natty:
Report link

A Cloud Run container may shut down unexpectedly if it exceeds its resource limits (CPU, memory) or timeouts. To manage background processes, ensure that tasks are efficient, use appropriate concurrency settings, and consider increasing resource allocations or using asynchronous task queues like Celery.

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

79381397

Date: 2025-01-23 14:08:46
Score: 4
Natty: 5
Report link

A dated letter requesting verification for a government or public agency, written on official agency letterhead. Need this documents

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amendra Karmi

79381395

Date: 2025-01-23 14:08:46
Score: 3
Natty:
Report link

I am currently dealing with the same issue at the moment, I believe it must be an issue with Microsoft

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

79381380

Date: 2025-01-23 14:04:44
Score: 4.5
Natty:
Report link

I found this article very helpful for the same issue

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Svetlana Zimina

79381371

Date: 2025-01-23 14:01:43
Score: 5
Natty:
Report link

any luck, i have been dealing with the exact same isue

Reasons:
  • Blacklisted phrase (1.5): any luck
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: OBC Beats

79381363

Date: 2025-01-23 14:00:42
Score: 0.5
Natty:
Report link

CORS (Cross-Origin Resource Sharing) is a security feature implemented by web browsers to restrict web pages from making requests to a different domain than the one that served the web page. In the context of Electron, which combines web technologies with Node.js, the handling of CORS can differ from traditional web applications.

1. CORS Enforcement in the Electron Renderer Process

In Electron, CORS is enforced in the renderer process similarly to how it is in a regular web browser. However, there are some nuances:

Development vs. Production: When you run your application in development mode (e.g., using Vite), it behaves like a typical web application, and CORS policies are strictly enforced. This is why you see pre-flight requests when your app is running on localhost:5173

Packaged App: When you package your app, it often runs from the file:// protocol. In this case, CORS restrictions can be less strict. The file:// protocol is treated differently by browsers, and many CORS checks may not apply. This is why you might not see pre-flight requests in your packaged app.

2. CORS and the file:// Protocol

When your Electron app is running from the file:// protocol, CORS is generally not enforced in the same way as it is for HTTP/HTTPS requests. This means that:

Requests made from a file:// origin may not trigger CORS checks, which can lead to different behavior compared to when running in a web server context (like localhost:5173).

If your application is making requests to a remote server, those requests may not be subject to the same CORS restrictions as they would be in a browser context.

3. Impact of nodeIntegration

The nodeIntegration flag allows you to use Node.js APIs directly in the renderer process. When nodeIntegration is enabled:

You can make requests using Node.js modules (like http, https, or axios) that do not enforce CORS, as they are not subject to the same restrictions as browser-based requests.

If you are using fetch or XMLHttpRequest in the renderer process with nodeIntegration enabled, CORS will still apply to those requests, but you may have more flexibility in how you handle requests using Node.js APIs.

Hopefully this helps..

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

79381356

Date: 2025-01-23 13:58:41
Score: 2
Natty:
Report link

I had the same issue. Solved by moving the entire project to "C:/". That was a problem because the length of the path. Good luck!

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

79381352

Date: 2025-01-23 13:58:41
Score: 1
Natty:
Report link

The tools should be available in the Scripts folder of your Python installation. Also be aware that PySide6 has been split into several Python packages, you may have to check the version you are using. Link to PySide PyPI

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