79438650

Date: 2025-02-14 07:43:51
Score: 0.5
Natty:
Report link

in the MongoDB documentation of Spring you can find Index Creation, there you can find how do create indexes at runtime (including those defined with @Indexed).

Assuming in your multi tenant implementation your MongoTemplate chooses the correct tenant database (or collection) at runtime then after setting your tentant you can do this to create the defined indexes:

public void createMissingIndexes(MongoTemplate mongoTemplate) {
    MappingContext<? extends MongoPersistentEntity<?>, MongoPersistentProperty> mappingContext = mongoTemplate.getConverter().getMappingContext();
    IndexResolver resolver = new MongoPersistentEntityIndexResolver(mappingContext);

    mappingContext.getPersistentEntities()
            .stream()
            .filter(it -> it.isAnnotationPresent(Document.class))
            .forEach(it -> {

                IndexOperations indexOps = mongoTemplate.indexOps(it.getType());
                resolver.resolveIndexFor(it.getType()).forEach(indexOps::ensureIndex);
            });
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Indexed
  • Low reputation (0.5):
Posted by: LDK

79438644

Date: 2025-02-14 07:40:50
Score: 1
Natty:
Report link

Try this overflow-x: auto; overflow-y: clip; in your .container and add the position: fixed; to your .select-box--box will solve the problem.

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ry Sarakmony

79438642

Date: 2025-02-14 07:39:50
Score: 4
Natty: 5
Report link

New account so I can't comment yet but just wanted to say make sure to check which branch you're initializing. Could be master or origin

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jashawn Codes

79438631

Date: 2025-02-14 07:32:48
Score: 3
Natty:
Report link

In my case, It was @RequestBody import, which was wrongly pointing to import io.swagger.v3.oas.annotations.parameters.RequestBody;

to solve I have used below import import org.springframework.web.bind.annotation.RequestBody;

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @RequestBody
  • Low reputation (1):
Posted by: Shubham M Saini

79438617

Date: 2025-02-14 07:22:46
Score: 2.5
Natty:
Report link

I found the answer myself.

Configuration was totally fine, except a little typo in my Dockerfile. Don't know how I missed that one, because the encryption didn't work at all with that mistake.

Old:

COPY ./keyring/mysqld.my /usr/sbin/mysqld.myvar

New:

COPY ./keyring/mysqld.my /usr/sbin/mysqld.my

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

79438604

Date: 2025-02-14 07:15:41
Score: 7 🚩
Natty:
Report link

enter image description here

222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222[enter code here][2]

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • Has code block (-0.5):
  • No latin characters (3):
  • Filler text (0.5): 222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
  • Low entropy (1):
  • Low reputation (1):
Posted by: Данил Шилякин

79438597

Date: 2025-02-14 07:11:40
Score: 1
Natty:
Report link

I have got it working and there were 2 things which might went wrong.

  1. I might have picked the x86 instead the x64 version of the php and/or Apache server install package. I reinstalled everything from scratch.

  2. in the httpd.conf make sure the command is

LoadModule php_module "C:/php/php8apache2_4.dll" not php8_module

Problem solved for now, but I have another small annoying thing which I post as new topic.

p.s. the settings in the IIS to have things running were a nightmare

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

79438592

Date: 2025-02-14 07:08:39
Score: 2
Natty:
Report link

Here are some of the ways to check for memory usage in 2025:

Options 1:

  1. Go to any site (app) that's part of the App Service Plan
  2. Click on "Diagnose and Solve Problems"
  3. Search for "memory usage" in the search box labeled "Search common problems or tools" (at the top of the view)

Diagnose and Solve Problems Screenshot

Option 2:

  1. Go to any site (app) that's part of the App Service Plan
  2. Click on "Metrics" under "Monitoring" tab in the side bar
  3. Select "Memory working set" in the metric drop-down

Monitoring Metrics Screenshot

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

79438587

Date: 2025-02-14 07:07:39
Score: 1
Natty:
Report link

One similar problem I encountered was that target groups have a setting for health checks, and the load balancer will access the health check route from time to time.

target group aws

If your laravel's SESSION_DRIVER env is set to database, then your db's sessions table would accumulate with those health check sessions.

I'm not sure if the connection will remain for the ELB request, but I still think it might be worth looking into it. Here's a neat implementation to ignore bots' session being stored into the database with the following implementation.

https://stackoverflow.com/a/49310249/10849089

Laravel 11 has a health check route by default as mentioned here.

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

79438580

Date: 2025-02-14 07:02:38
Score: 2
Natty:
Report link

In Android Studio, open the "Run Anything" bar by pressing CTRL + CTRL, then enter gradle CreateFullJarRelease and hit ENTER. Once completed, your artifact will be located in the following folder within your project:

your_module > Build > Intermediates > Full_jar > Release > CreateFullJarRelease > full.jar.

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

79438568

Date: 2025-02-14 06:55:37
Score: 1.5
Natty:
Report link

Sometimes, thread.sleep(SOME_TIME) can be helpful because the page might still reload. It has worked for me since the loading of the page was taking time.

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

79438566

Date: 2025-02-14 06:54:37
Score: 3
Natty:
Report link

This is a known (and unfortunately) unresolved bug in tidyterra https://github.com/dieghernan/tidyterra/issues/115

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

79438565

Date: 2025-02-14 06:53:36
Score: 0.5
Natty:
Report link

Updating the wsl helped me on this one. It happened after updating docker desktop. This should be run on the windows machine not inside the linux distro.

 wsl --update --web-download
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Menzi Motsa

79438563

Date: 2025-02-14 06:53:36
Score: 2.5
Natty:
Report link

I got the same error when deploying an app, adding track_promote_to: 'beta' fixed it

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

79438556

Date: 2025-02-14 06:48:35
Score: 0.5
Natty:
Report link

table {
  counter-reset: row-counter;
  border-collapse: collapse;
  width: 50%;
  margin: 20px auto;
}

th,
td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: left;
}

th {
  background-color: #f4f4f4;
}

tbody tr {
  counter-increment: row-counter;
}

tr td:first-child::before {
  content: counter(row-counter);
  margin-right: 10px;
  font-weight: bold;
}
<table>
  <thead>
    <tr>
      <th>No.</th>
      <th>ITEM</th>
      <th>PRICE</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td></td>
      <td>Banana</td>
      <td>$2</td>
    </tr>
    <tr>
      <td></td>
      <td>Orange</td>
      <td>$1</td>
    </tr>
  </tbody>
</table>

yes it is possible

for more details you can refer https://www.w3schools.com/css/css_counters.asp

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: dev.skas

79438546

Date: 2025-02-14 06:42:34
Score: 0.5
Natty:
Report link

In URI templates, you cannot use get-property directly. To use a property value in a URI template, you must format it correctly as {uri.var.propertyName}.

change the following property definition:

<property expression="concat(get-property('TokenEndpoint'), '?client_id=', get-property('client_id'), '&amp;client_secret=', get-property('client_secret'))" 
          name="tokenRequestUrl" 
          scope="default" 
          type="STRING"/>

to:

<property expression="concat(get-property('TokenEndpoint'), '?client_id=', get-property('client_id'), '&amp;client_secret=', get-property('client_secret'))" 
          name="uri.var.tokenRequestUrl" 
          scope="default" 
          type="STRING"/>

Additionally, update the http element:

Change:

<http method="GET" uri-template="{get-property('default', 'tokenRequestUrl')}">

to:

<http method="GET" uri-template="{uri.var.tokenRequestUrl}">

For more information - http://medium.com/@Jenananthan/wso2-esb-construct-dynamic-urls-67fad2f6d34c

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kalindu Gandara

79438543

Date: 2025-02-14 06:38:33
Score: 3
Natty:
Report link

We can use command on Command Prompt

chown -R centos:root path(directory)/project Name

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

79438539

Date: 2025-02-14 06:37:33
Score: 0.5
Natty:
Report link

I am currently working on xAI techniques for TSC and TSF problems. As far as I remember, GradCAM is mostly suitable for CNN-based techniques, as it gives you a heatmap of which spatial features are contributing to the final decision and how much their contributions are. Also, if you consider using 1D CNN-based TSC algorithms, then they will give suboptimal results for longer sequences. So there is a huge trade-off while working on such an intersection of TSC and xAI, especially time and feature attribution (both).

My suggestion: Based on one of my recent works (currently under submission), you can explore GradCAM for smaller chunks (subsequences) of your time series data and then you can apply some basic counterfactual techniques by perturbing the highest contributing features through a guided optimization or adversarial learning.

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

79438531

Date: 2025-02-14 06:30:31
Score: 1.5
Natty:
Report link

Use this:

foreach ($tests as $testClass) {
    Artisan::call('test', ['--filter' => $testClass]);
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniel Piastowski

79438530

Date: 2025-02-14 06:30:31
Score: 2
Natty:
Report link

I resolve this issues by giving permission to that data directory like this

Grant ownership to UID 1000 (default for Elasticsearch container)

sudo chown -R 1000:1000 ./esdata01 ./esdata02 ./esdata03

Ensure read, write, and execute permissions

sudo chmod -R 775 ./esdata01 ./esdata02 ./esdata03

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

79438527

Date: 2025-02-14 06:28:31
Score: 1.5
Natty:
Report link

A solution for this problem for me was downgrading to an older version. I used the oldest I could get from https://docs.docker.com/desktop/release-notes/ I went to Docker Desktop 4.24.2 and login works as expected. I can confirm I had login trouble in versions 4.37.2 and 4.38.0. I work on Windows 11 Enterprise.

I had tried signing in using CLI, config.json and some other proposed solutions. Logging in using CLI succeeds in terminal, but that does NOT log me in into the Docker Desktop App.

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

79438513

Date: 2025-02-14 06:20:29
Score: 1.5
Natty:
Report link

Thank everyone! I fixed it by using sqlite3_bind_text(queryStatement, 1, startDate.cString(using: .utf8), -1, nil) replace sqlite3_bind_text(queryStatement, 1, startDate, -1, nil)

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

79438499

Date: 2025-02-14 06:11:27
Score: 12
Natty: 7
Report link

i am not able to add the comment so i am adding it like this ..i am sorry to disturb you but i am having the same issue have you fount any solution ?

Reasons:
  • Blacklisted phrase (1): i am not able to
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution ?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i am having the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Srushti Kansagara

79438496

Date: 2025-02-14 06:08:27
Score: 2
Natty:
Report link

Your first criteria '2025 Average Rates - Data'!A46, as writen, is not a criteria, just a cell reference. Try writing instead "="&'2025 Average Rates - Data'!A46 to test for the equality.

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

79438490

Date: 2025-02-14 06:04:26
Score: 0.5
Natty:
Report link

There was a strange issue where the code worked in the global environment on my MacBook but not in a virtual environment. Based on this, I concluded that my Python environment and variables were tangled. So, I decided to reset my MacBook and reinstall everything properly, ensuring that I used only a single, correctly configured Python environment.

Following the installation method described in the official mlx-data documentation—cloning the repository via git clone and then binding it with Python—I was able to run everything without any issues.

I hope my experience can help others who might be struggling with similar problems.

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

79438486

Date: 2025-02-14 06:04:26
Score: 1
Natty:
Report link

soup.title or soup.title.string or soup.title.text

do not work. rather use

soup.find('title').text

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

79438481

Date: 2025-02-14 06:01:25
Score: 1
Natty:
Report link

Very simply, you need to ensure you are drawing the text over the stroke you are drawing, in the example below using fillText(). Notice in the draw function there is now text being painted.

const canvas = document.getElementById('drawing-board');
const ctx = canvas.getContext('2d');

const canvasOffsetX = canvas.offsetLeft;
const canvasOffsetY = canvas.offsetTop;
canvas.width = window.innerWidth - canvasOffsetX;
canvas.height = window.innerHeight - canvasOffsetY;

let isPainting = true;
let lineWidth = 100;
let startX;
let startY;
const colour = "black";

ctx.strokeStyle = "black"
ctx.fillStyle= "transparent";
ctx.font = "italic bold 15pt Tahoma";
// ctx.strokeText("StackOverFlow",100,240);
// ctx.strokeStyle = colour;


const draw = (e) => {
    if(!isPainting) {
        return;
    }
    ctx.lineWidth = lineWidth;
    ctx.lineCap = 'round';

    ctx.lineTo(e.clientX - canvasOffsetX, e.clientY);
    ctx.stroke();

    // Drawn after (over) the stroke with white
    ctx.fillStyle = "white"; // <--
    ctx.fillText("StackOverFlow", 20, 50); // <-- todo: hardcoded position

}
canvas.addEventListener('mousedown', (e) => {
    isPainting = false;
    startX = e.clientX;
    startY = e.clientY;
});

canvas.addEventListener('mouseup', e => {
    isPainting = true;
    ctx.stroke();
    ctx.beginPath();
});
canvas.addEventListener('mousemove', draw);
<body>
<section class="container">
    <div class="drawing-board">
        <canvas id="drawing-board"></canvas>
    </div>
</section>
<script src="./index.js"></script>
</body>

Additionally, I have hardcoded the text position to display on StackOverflow (in the top-left corner), you may want to create some logic to move it where needed.

Reasons:
  • Blacklisted phrase (1): StackOverFlow
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: pxljoy

79438475

Date: 2025-02-14 05:57:25
Score: 1
Natty:
Report link

I know I cannot compare int? and int, yet the following code compiles and runs just fine (VS2022, .Net 4.8).

A valuable life lesson that when reality and your knowledge / expectations are mis-aligned, you need to try and alter your knowledge / expectations rather than reality.

You don't know that at all. Since it isn't true. Comparing an int to a nullable int does not return a nullable bool. It never has.

Is that new compiler behavior?

No.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: mjwills

79438466

Date: 2025-02-14 05:50:21
Score: 12.5 🚩
Natty: 5.5
Report link

I am also having same issue. Did anyone get this resolved ?

Reasons:
  • RegEx Blacklisted phrase (3): Did anyone get this resolved
  • RegEx Blacklisted phrase (1.5): resolved ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am also having same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: saroj Dahal

79438462

Date: 2025-02-14 05:44:20
Score: 1.5
Natty:
Report link

You're absolutely correct to be confused at first glance! In general, you can't directly compare int? and int because the result would be a bool?, which is not a legal if statement. Yet your code is working because of the internal treatment of nullable comparison by the C# compiler.

Why Does It Work? When you do:

if (v > 0) the compiler will not just directly compare v and 0. Instead, it rewrites the expression to:

if (v.HasValue && v.Value > 0) So if v is null, then v.HasValue is false, and the whole thing short-circuits to false, which is perfectly fine in an if statement.

What About Other Cases? If you tried to do something like this:

bool result = v > 0; it would not compile, because v > 0 returns a bool?, which can't be assigned directly to bool without an explicit cast.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: ruhollah_jafari

79438452

Date: 2025-02-14 05:38:18
Score: 5
Natty:
Report link

did you called those vector icons in info.plist for ios and added in asset folder in android?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (0.5):
Posted by: Abhishek Kumar Kushwaha

79438441

Date: 2025-02-14 05:31:17
Score: 2.5
Natty:
Report link

ssh -L 8889:localhost:8888 192.168.xx.xx

just replace xx with local server ip. Open browser to localhost:8889 you might need to copy the key from the terminal.

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

79438434

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

Since the necessary steps (business profile, phone number, and verification) need to show up automatically, it appears that your embedded signup flow is lacking.

Potential causes and remedies:

  1. Verify App Setup: Verify that Meta Business Manager has accepted your app as a Tech Provider.
  2. Permissions: Verify that the scopes for WhatsApp Business Management and WhatsApp Business Messaging are appropriately set for your application.
  3. Embedded Signup URL: Verify that you are using the right URL and the necessary parameters.
  4. Changes to the Meta API: Meta might have modified the onboarding procedure. Try contacting Meta support or looking through their most recent documentation.

Try testing with a separate Meta Business Account to verify whether the problem still exists if everything is configured correctly.

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

79438431

Date: 2025-02-14 05:21:14
Score: 4
Natty: 4
Report link

Set the "AcceptButton" property of the form to (none).

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

79438415

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

I figured it out. Add:

--color-*: initial;

above the custom defined colors

https://tailwindcss.com/docs/theme#overriding-the-default-theme

Reasons:
  • Whitelisted phrase (-2): I figured it out
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Justin

79438411

Date: 2025-02-14 05:05:11
Score: 2.5
Natty:
Report link

The problem simply got resolved when I removed this line

UTL_SMTP.HELO(c, 'xxx.awsapps.com');

And added this line before UTL_SMTP.AUTH

UTL_SMTP.EHLO(c, 'xxx.awsapps.com');

It seems the handshaking was not done correctly which was causing to throw 504 The requested authentication mechanism is not supported

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

79438404

Date: 2025-02-14 05:00:10
Score: 1.5
Natty:
Report link

buildTypes { release { signingConfig = signingConfigs.debug

    }
} use this in your app level gradle file and clean and then rebuild
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vasu Dubey

79438401

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

While I am unsure of a specific way to target XCode, this reddit post has a way to disable all bouncing notifications on macOS through the terminal:

defaults write com.apple.dock no-bouncing -bool TRUE;

then restart the dock:

killall Dock;

This appears to be a permanent fix

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

79438392

Date: 2025-02-14 04:49:08
Score: 1.5
Natty:
Report link

Private endpoints are meant for internal use and not public. That is the purpose of bastion you connect first to bastian and then to the private endpoint.

If you want to connect to a private endpoint resource from your PC you need a VPN (p2s or s2s).

Now following the documentation, if you created a virtual machine, and the private endpoint is in the same VNET, there must be also created a private DNS zone, to be able to resolve the DNS.

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

79438391

Date: 2025-02-14 04:49:08
Score: 2
Natty:
Report link

enter image description here

In the ios/Podfile file, change the state shown in Image 1 to the state shown in Image 2. And re-enter the pod install command in the terminal.

enter image description here

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

79438377

Date: 2025-02-14 04:38:06
Score: 4
Natty: 4.5
Report link

Checkout Rest api examples for paypal V2 is found at:

https://demo.paypal.com/gb/demo/code_samples

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

79438374

Date: 2025-02-14 04:34:02
Score: 10.5 🚩
Natty: 4
Report link

Have you found what the issue is? I'm facing the same problem

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • RegEx Blacklisted phrase (2.5): Have you found what the issue is
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Sam

79438370

Date: 2025-02-14 04:31:01
Score: 4.5
Natty:
Report link

It seems to be a bug of React, there is an issue opened here: https://github.com/facebook/react/issues/32362

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

79438366

Date: 2025-02-14 04:25:00
Score: 3
Natty:
Report link

I think for browser and node based project MSW is a good option

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

79438364

Date: 2025-02-14 04:23:59
Score: 3
Natty:
Report link

When you config SonarQube Scanner in Manage Jenkins --> Global Tool Configuration --> SonarQube Scanner, besides select "Install automatically", you also need to add a installer. See

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Yudhistir Sujay

79438359

Date: 2025-02-14 04:18:59
Score: 0.5
Natty:
Report link

In test you try to output foo.bar using printer, which needs an operator<< to output bar. Where printer is defined, there is no output operator for bar, which is defined after' printer. If you forward declare printer and define it after the output operators, everything works.

#include <iostream>
#include <ostream>

namespace ns {
struct Bar {
    int x;
};
struct Foo {
    Bar bar;
};
};  // namespace ns

// Why does this fix things
#if 0
inline std::ostream& operator<<(std::ostream& os, const ns::Bar& bar);
inline std::ostream& operator<<(std::ostream& os, const ns::Foo& foo);
#endif

template <class T>
std::ostream& printer(std::ostream& os, const T& obj);

// I do not own 'ns' but I want to make a generic printer for it
// Wrapping this in 'namespace ns {...}' is the solution, but why?
inline std::ostream& operator<<(std::ostream& os, const ns::Bar& bar) {
    return printer(os, bar);
}

inline std::ostream& operator<<(std::ostream& os, const ns::Foo& foo) {
    return printer(os, foo.bar);
}
template <class T>
std::ostream& printer(std::ostream& os, const T& obj) {
    os << obj;  // error: no match for 'operator<<'
    return os;
}

void test() {
    ns::Foo foo;
    std::cout << foo;
}
Reasons:
  • Blacklisted phrase (0.5): why?
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rud48

79438354

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

So I can't get the service worker to stop being built, but you can tell firebase not to upload it. Add this to your firebase.json in the hosting section:

    "ignore": ["flutter_service_worker.js"]

If you are running in a browser that already installer the service worker for your app, you'll need to remove it otherwise it will stay around.

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

79438347

Date: 2025-02-14 04:11:57
Score: 1
Natty:
Report link

This is because in styling you have left ; after the curly braces. You need to remove it or You need to the replace the existing .blue class with the below code.

.blue {
    background-color: rgb(79, 53, 243);
    color:white;
  }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Prakash Ravichandran

79438341

Date: 2025-02-14 04:07:57
Score: 0.5
Natty:
Report link

This answer uses the most brute-force while loop. The result is in summation.

a=c(1,2,-1,3,1,0)
n=length(a)
i=1
sum=0
summation=0
while(i<=n){
if (a[i]>=0){
sum=sum+a[i]
}
summation[i]=sum
i=i+1
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Asigan

79438337

Date: 2025-02-14 04:03:56
Score: 1
Natty:
Report link
 function minRange(input) {
    document.getElementById('max').setAttribute('min', input.value);
    
};

function maxRange(input) {
    document.getElementById('min').setAttribute('max', input.value);
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aimeia

79438331

Date: 2025-02-14 03:56:54
Score: 2
Natty:
Report link

After several attempts, I finally fixed the problem. The noise was caused by two issues: first, the SwrContext should be reused for each packet; second, the return value from swr_convert (ret) indicates the actual number of samples generated after resampling. Therefore, I had to use ret to accurately determine the correct buffer size and then combine the actual buffer to generate valid PCM.

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

79438326

Date: 2025-02-14 03:51:53
Score: 4.5
Natty:
Report link

This is against the design principle of NPM and should be solved by external tools https://github.com/npm/npm/issues/8112#issuecomment-192489694

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

79438321

Date: 2025-02-14 03:48:52
Score: 2.5
Natty:
Report link

This problem seems to be due to the fact that Spring MVC is unable to parse List<FilterCriterion> directly as a request parameter by default.

Here's my solution.

Wrap the List parameter with another entity class

@GetMapping
public Page<Application> search(Pageable pageable, @Valid FilterCriterionDTO filters) {
    return Page.empty();
}

This is the new entity class

public class FilterCriterionDTO {
    @Valid
    private List<FilterCriterion> filters;
    // getters, setters
}

If this is not what you meant by your question, please let me know.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: LaiFQZzr

79438317

Date: 2025-02-14 03:45:51
Score: 1
Natty:
Report link

I found a solution for this situation, and even for Terminated Developer Account.

List users

  1. Go to Google Play Developer API doc https://developers.google.com/android-publisher/api-ref/rest/v3/users/list .
  2. Open APIs Explorer on the right of page.
  3. Fill the parent field with format developers/<19 numbers> which can be found on the url when you open the Google Play Console.
  4. Make sure the Google OAuth 2.0 is checked.
  5. Click Execute button and finish the OAuth procedure.
  6. Users will list below. enter image description here enter image description here enter image description here

Delete users

  1. Go to Google Play Developer API doc https://developers.google.com/android-publisher/api-ref/rest/v3/users/delete .
  2. Open APIs Explorer on the right of page.
  3. Fill the name filed with format developers/<19 numbers>/users/<your dev account email> which can be found in user list in List users step.
  4. Make sure the Google OAuth 2.0 is checked.
  5. Click Execute button and finish the OAuth procedure.
  6. Returns HTTP 204 means success. enter image description here
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: London Alexander

79438310

Date: 2025-02-14 03:43:51
Score: 0.5
Natty:
Report link

Library iostream should stay in the files. The problem is with extension of code files - it should be .cpp, not .c. You don't need to remove iostream. But then use other command to compile+link, not:

cl perfdata.c -o perfdata -lpdh

but use this one:

cl perfdata.cpp /link pdh.lib

(That's an example)

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

79438305

Date: 2025-02-14 03:41:50
Score: 0.5
Natty:
Report link

As @browsermator answered putting sleep before get works.

package com.tugalsan.tst.html;

import static java.lang.System.out;
import java.nio.file.Path;
import java.time.Duration;
import org.openqa.selenium.Dimension;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.edge.EdgeDriver;
import org.openqa.selenium.edge.EdgeOptions;

public class Main {

    public static void main(String... args) throws InterruptedException {
        var urlPath = Path.of("C:\\git\\tst\\com.tugalsan.tst.html\\a.html");
        var urlStr = urlPath.toUri().toString();
        var until = Duration.ofSeconds(15);
        var scrnSize = new Dimension(640, 480);
        var output = processHTML(urlStr, until, scrnSize);
        out.println(output);
    }

    public static String processHTML(String urlStr, Duration until, Dimension scrnSize) throws InterruptedException {
        WebDriver driver = null;
        try {
            var options = new EdgeOptions();
            driver = new EdgeDriver(options);
            driver.manage().timeouts().implicitlyWait(until);
            driver.manage().timeouts().pageLoadTimeout(until);
            driver.manage().window().setSize(scrnSize);
            driver.get(urlStr);
            Thread.sleep(until);
            return driver.getPageSource();
        } finally {
            if (driver != null) {
                driver.close();
            }
            if (driver != null) {
                driver.quit();
            }
        }
    }
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @browsermator
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tugalsan Karabacak

79438304

Date: 2025-02-14 03:41:50
Score: 1
Natty:
Report link

How can I disable or remove that integration? I can't find where to do it. Nor I can find any documentation about it.

Git integration with Dataverse from Power Platform in the Solutions area is a preview feature currently. You cannot disable or remove the integration.

When you create the connection, it hints the connection cannot be undone:

enter image description here

Also in the doc it mentioned the same:

enter image description here

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Probably link only (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How can I
  • High reputation (-1):
Posted by: wade zhou - MSFT

79438300

Date: 2025-02-14 03:40:50
Score: 1.5
Natty:
Report link

It's already done, the hidden property or etc isn't appear in select2 component. Only have disabled property. So, we combined the selector aria-disabled="true" in css.

<li class="select2-results__option" id="select2-multiple_one-result-nqh8-1" role="option" aria-disabled="true" data-select2-id="select2-multiple_one-result-nqh8-1">BIAYA BURUH</li>

With this css

.select2-results__option[aria-disabled="true"] {
    display: none;
}

Maybe it will help. Thanks.

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

79438274

Date: 2025-02-14 03:22:47
Score: 2.5
Natty:
Report link

just delete ";" at .blue{ background-color: rgb(79, 53, 243); color:white; };

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

79438262

Date: 2025-02-14 03:12:45
Score: 2.5
Natty:
Report link

We are using API from NSFWDetector.com to check every image before showing it to the user. We felt pricing is quite right. If image NSFW probability score returned is more than 0.7, we are discarding the image. Check https://NSFWDetector.com

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

79438258

Date: 2025-02-14 03:11:45
Score: 1
Natty:
Report link

When running inside AWS Lambda, you typically should not provide AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY manually. Lambda automatically assumes an IAM role that provides credentials.

const AWS = require("aws-sdk");

AWS.config.update({
  region: process.env.AWS_REGION,
});

const docClient = new AWS.DynamoDB.DocumentClient();

module.exports.DynamoDB = new AWS.DynamoDB();

module.exports.docClient = docClient;
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Nihara Mayurawasala

79438242

Date: 2025-02-14 02:55:42
Score: 0.5
Natty:
Report link
<p>
  {this.props.canLink ? (
    <Link to={"/"} >
      Test
    </Link>
  ) : (
    <Link to={"#"} style={{ cursor: "default", color: "grey" }}>
      Test
    </Link>
  )}
</p>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Park JongBum

79438241

Date: 2025-02-14 02:55:41
Score: 8.5
Natty: 7.5
Report link

I am also experiencing the same issue. Did you figure this out?

Reasons:
  • RegEx Blacklisted phrase (3): Did you figure this out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Omar Jawaid

79438240

Date: 2025-02-14 02:54:41
Score: 2
Natty:
Report link

I encountered the same problem. I rectified this by,

  1. Selecting the Python kernel in the vs code editor.
  2. Please check the environmental variables, and whether you have given the correct path variable.
  3. Finally pip install transformers torch. Now set to go
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rihana Parveen

79438220

Date: 2025-02-14 02:43:39
Score: 3
Natty:
Report link

Yes password encryption type is an issue. AWS support gave me a similar answer. they said scram-sha-256 is not supported. you can find out about your password encryption type with the SCRAM command either in the query editor or with CLI, see reference [reference] https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/PostgreSQL_Password_Encryption_configuration.html#PostgreSQL_Password_Encryption_configuration.getting-ready

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

79438213

Date: 2025-02-14 02:41:39
Score: 2.5
Natty:
Report link

Thanks to everyone that helped guide me through this especially @ADyson. Using their link I was able to get the following code to transfer my PNG file properly:

#Initiate cURL object
$ch = curl_init();
#Set your URL
curl_setopt($ch, CURLOPT_URL, 'https://storage101.dfw1.clouddrive.com/v1/MossoCloudFS_..../myContainer/myFile.png');
#Indicate, that you plan to upload a file
curl_setopt($ch, CURLOPT_UPLOAD, true);
#Indicate your protocol
curl_setopt($ch, CURLOPT_PROTOCOLS, CURLPROTO_HTTPS);
#Set flags for transfer
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);

$headers = array();
$headers[] = 'Content-Type: image/png';
$headers[] = 'X-Auth-Token: '.$myID;
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

#Set HTTP method to PUT
curl_setopt($ch, CURLOPT_PUT, 1);
#Indicate the file you want to upload
curl_setopt($ch, CURLOPT_INFILE, fopen('myFolder/myFile.png', 'rb'));
#Indicate the size of the file (it does not look like this is mandatory, though)
curl_setopt($ch, CURLOPT_INFILESIZE, filesize('myFolder/myFile.png'));
#Execute
curl_exec($ch);
curl_close($ch);
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): guide me
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @ADyson
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Brent Curry

79438202

Date: 2025-02-14 02:39:38
Score: 1
Natty:
Report link

I was able to "wake up" those hotkeys on the left side of the PC-issue Kinesis Freestyle 2 keyboard using the "Keyboard Shortcuts" feature on the Mac:

  1. Open System Settings > Keyboard.
  2. Select the Keyboard Shortcuts button to open a new dialog box.
  3. Select the App Shortcuts link to open a new dialog box.
  4. Add a new shortcut by selecting the "+" button.
  5. Select an application from the Application dropdown menu, or leave it at the default value "All Applications."
  6. Type the name of the command in the Menu title field. Examples include Delete, Copy, Paste, Undo. Note: you'll want to input multiple examples of the Undo command, as some applications will have separate commands for Undo Paste, Undo Cut, Undo Delete, etc. I had no problems mapping multiple versions of the Undo command to the same hotkey, and using the hotkey in Chrome.
  7. Select the Keyboard shortcut field.
  8. Press the hotkey that you want to map to the command.
  9. The field will show the key combination that the hotkey returns.
  10. Select the Done button.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Devon Apple

79438183

Date: 2025-02-14 02:27:36
Score: 1.5
Natty:
Report link

"showIncludes" is an option of CL.exe, so the commands below works for you. I have tested just now.

SET CL=/showIncludes
MSBuild.exe  myproj.vcxproj
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: onewayout

79438182

Date: 2025-02-14 02:26:35
Score: 4
Natty:
Report link

surl, furl means its not hosted link. It should be api call and in that API need to redirect to frontend server

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dinesh Pammi

79438174

Date: 2025-02-14 02:18:33
Score: 0.5
Natty:
Report link

After 3 days, 2 vms, a laptop I was about to format, there seems to be an issue with the latest edition of Visual Studio Community (17.13.0).

What I had to do was completely uninstall visual studio, then run the uninstall tool. After that, I downloaded visual studio again from the microsoft site, but instead of executing the exe, I opened command prompt, navigated to the exe, and ran VisualStudioSetup.exe --channelUri https://aka.ms/vs/17/release.LTSC.17.8/channel

This allowed me to install Community Version 17.8 which does not have the issue.

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

79438171

Date: 2025-02-14 02:16:33
Score: 3.5
Natty:
Report link

In file tsconfig.json, add line "esModuleInterop": true

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Võ Minh Lợi

79438167

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

I'd create a pool of workers, feed them work through a thread-aware queue, and collect the results using one as well.

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

79438156

Date: 2025-02-14 01:56:27
Score: 8.5 🚩
Natty: 4
Report link

nice!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (2.5):
  • Filler text (0.5): !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  • Low entropy (1):
  • Low reputation (1):
Posted by: wei wei

79438153

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

Don't use containers if you don't need them.

Keep it simple, that's the way you go, if you need to add overhead technologies must be for a reason

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

79438141

Date: 2025-02-14 01:41:24
Score: 2
Natty:
Report link

You should use AlarmManager

This class provides access to the system alarm services. These allow you to schedule your application to be run at some point in the future.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: 卡尔斯路西法

79438138

Date: 2025-02-14 01:37:24
Score: 1
Natty:
Report link

Experiencing the same problem.

I noticed that with pytorch backend the GPU memory is ~10x smaller, so I increased the batch size to be 16x, so the training speed is 16x faster. Now comparable to the TensorFlow backend (however, the GPU utilization is still low, ~3% vs ~30% with TF).

NOTE: increasing the batch size may affect training quality, which is yet to be compared.

I suspect batch size with pytorch has different semantics than the traditional Keras semantics. See here: https://discuss.pytorch.org/t/solved-pytorch-lstm-50x-slower-than-keras-tf-cudnnlstm/10043/8

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

79438131

Date: 2025-02-14 01:31:22
Score: 1.5
Natty:
Report link

Kind of upside down: time series is by definition a dataset where the data points are at equal index (time) intervals; yet linear is what assumes equal intervals... Would love to learn more

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

79438125

Date: 2025-02-14 01:25:18
Score: 8.5 🚩
Natty: 5
Report link

I'm having this problem too. Could you solve it?

Reasons:
  • Blacklisted phrase (2): Could you solve
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Ricardo Rubik Ruiz

79438121

Date: 2025-02-14 01:20:17
Score: 3
Natty:
Report link

I believe this can be achieved by copying the built-in setting “*/@on.” and replacing the argument “on” with “data-click.” However, in my case, the configuration persistence after editing turned out to be broken.

enter image description here

enter image description here

enter image description here

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

79438120

Date: 2025-02-14 01:20:17
Score: 0.5
Natty:
Report link

To help anyone else. I had Text with modifiers attached to it within an overlay modifier. I changed the code a lot just to realize I could go back to the old code and change the order of the modifiers. Moving one first on the list worked.

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

79438119

Date: 2025-02-14 01:19:16
Score: 4
Natty: 4.5
Report link

Though it is too late to answer, but I think what you are looking for is here: https://www.deepdefence.co/api-for-aws-effective-permissions/

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

79438116

Date: 2025-02-14 01:17:15
Score: 4.5
Natty: 4
Report link

I have jdk v17 and v23 both installed and both are in configured in Windows 11 Environment System variable path. Error: (1) when I type "Java -version" at windows cmd I see only v23 installed (2) when I type "Java -version" in my jupyter notebook, I see the message "NameError: name 'java' is not defined

Please help.

Reasons:
  • RegEx Blacklisted phrase (3): Please help
  • No code block (0.5):
  • Low reputation (1):
Posted by: AAserver

79438101

Date: 2025-02-14 01:03:13
Score: 0.5
Natty:
Report link

After reading more code in the repo, I realized that Avro is using template class specialization. All I need to do is define the right encoding / decoding logic for the struct, and it will call it correctly.

template<> struct codec_traits<UserEntry> {
    static void encode(Encoder& e, const UserEntry& user) {
           avro::encode(e, user.user_id);
           avro::encode(e, user.user_name);
           ...
           ...
           ...
    }

    static void decode(Decoder& d, UserEntry& user) {
           avro::decode(d, user.user_id);
            avro::decode(d, user.name);
            ...
            ...
            ...
        }
    }
};

Note: If UserEntry is made of other struct types, they also need to have their encoders defined.

To write the data

avro::DataFileWriter<UserEntry> writer(file_name, schema);
UserEntry user;
...
// populate
...

writer.write(user);
writer.close();

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

79438097

Date: 2025-02-14 01:00:12
Score: 2
Natty:
Report link

So I fiddled around with the code provided by @Leylou and I could not get it to work. I decided to go back to my original code and did a BUNCH of reading!

In my original script this line:

let newEvent = busDriverCalendar.createEvent(tripData[i][28], tripData[i][34], tripData[i][35], { description: tripData[i][29], location: tripData[i][32] });

needed to be changed like this:

let newEvent = busDriverCalendar.createEvent(tripData[i][28], tripData[i][34], tripData[i][35],  {description: tripData[i][29], guests: tripData[i][1], location: tripData[i][32]});

If you read through my original script you will see that three different calendars are used. In the same line for each calendar I changed it to include guests: tripData[i][1],

It works perfectly, adding the person who submitted the form without sending notification or updates.

I want to thank @Leylou for the work you did on the answer you provided. Ultimately it was not useful to me but it might be useful to someone else. That answer did work in my test account, I just could not get it to work in the main account all this google app script work is for.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Leylou
  • User mentioned (0): @Leylou
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: vlkirkpatrick

79438091

Date: 2025-02-14 00:53:11
Score: 2.5
Natty:
Report link

Any updates to this? I'm also hitting the same issues of ProblemDetectedLocally. Players can join/create lobby, and successfully connect to peers. But also get stuck at the same "local problem"

Reasons:
  • RegEx Blacklisted phrase (0.5): Any updates
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Blake Darrow

79438080

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

Your CSS is correct when altering the flex direction based on screen size. If the media query isn't working as expected, the issue might be due to other CSS rules or inherited properties from different page parts interfering with the layout. It is essential to look for any styles that are in conflict, like margins, padding, or display properties on the parent or other elements on the page. Also, ensure that the query is used correctly and accessible within your browser's developer tools. Here's a tip for managing multiple tasks effectively while developing: I use Arbeitszeitrechner to monitor my working hours. This calculator helps me maintain a balanced approach to programming and project management, ensuring my development efforts stay on track while producing the best results.

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

79438076

Date: 2025-02-14 00:45:09
Score: 3.5
Natty:
Report link

Was researching about that recently and apparently you can check it in promise as stated here

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

79438068

Date: 2025-02-14 00:39:08
Score: 4.5
Natty:
Report link

Vagrant seems to be it! Looks like what I wanted: https://github.com/hashicorp/vagrant

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

79438050

Date: 2025-02-14 00:30:06
Score: 1
Natty:
Report link

import {
  toRaw,
  isRef,
  isReactive,
  isProxy,
} from 'vue';

export function deepToRaw<T extends Record<string, any>>(sourceObj: T): T {
  const objectIterator = (input: any): any => {
    if (Array.isArray(input)) {
      return input.map((item) => objectIterator(item));
    } if (isRef(input) || isReactive(input) || isProxy(input)) {
      return objectIterator(toRaw(input));
    } if (input && typeof input === 'object') {
      return Object.keys(input).reduce((acc, key) => {
        acc[key as keyof typeof acc] = objectIterator(input[key]);
        return acc;
      }, {} as T);
    }
    return input;
  };

  return objectIterator(sourceObj);
}

By hulkmaster https://github.com/vuejs/core/issues/5303#issuecomment-1543596383

You can also wrap the sourceObj with unref like this. objectIterator(unref(sourceObj))

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

79438049

Date: 2025-02-14 00:29:06
Score: 3
Natty:
Report link

I have an example in this repository, I hope it helps you. https://github.com/gregorysouzasilva/pdf-filler/blob/main/src/App.tsx

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gregory Souza Silva

79438042

Date: 2025-02-14 00:25:02
Score: 8.5 🚩
Natty: 5
Report link

Have you found a fix? I've also tried everything you've listed, without success.

Reasons:
  • RegEx Blacklisted phrase (1.5): fix?
  • RegEx Blacklisted phrase (2.5): Have you found a fix
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ariane

79438025

Date: 2025-02-14 00:12:59
Score: 3
Natty:
Report link

Silly me... It works actually, I just have two different nav components running on different routes and I watched the wrong view all the time.

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

79438011

Date: 2025-02-13 23:59:54
Score: 7.5 🚩
Natty: 5.5
Report link

Did you ever find the solution? I am running into same issue and hoping you have found the solution. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Did you ever find the solution
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: sajaan458

79438008

Date: 2025-02-13 23:57:53
Score: 1.5
Natty:
Report link

I was able to work with Google Cloud Support in order to get a response on this issue. The resume functionality of the Firestore gRPC Listen call does not support delete capture.

In order to determine if there was a delete, you can include the expected count and then compare the last known value to the new one upon resuming. Additionally, you would need to count the number of new documents and increment your stored expected count as needed. If there is a difference between that and the new value coming from the server upon resume, that means deletes have occurred. If you wanted to know what was removed, you'd need to get all the changes again. This is not particularly helpful if your source regularly has deleted documents, but this is the intended functionality.

The resume functionality does fully support adding new documents, updating existing fields on documents, and removing fields from documents.

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

79438004

Date: 2025-02-13 23:55:53
Score: 2.5
Natty:
Report link

Buen día yo lo logre así pero no puedo combinarlo con Orderby o otro Select adicional.

... // Código BaseSpecification

public Expression<Func<T, T>>? GroupBy { get; private set; }

... // Código SpecificationEvaluator

if (spec.GroupBy != null)
{
  inputQuery = inputQuery.GroupBy(spec.GroupBy).Select(g => 
      g.First()).AsQueryable();
}
Reasons:
  • Blacklisted phrase (2): Código
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Horacio Ramirez

79438003

Date: 2025-02-13 23:55:53
Score: 1
Natty:
Report link

I opened implementation of Encoding.GetEncoding() on VS and I saw a part that matches parameter value with sets. I realized that Encoding had a constant variable for ISO_8859_1 = 28591. But this is an internal const so I couldn't use Encoding.ISO_8859_1 so I just used the value:

Encoding.GetEncoding(28591)

After switching to this, I was able to read and write a file with Turkish characters.

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

79437979

Date: 2025-02-13 23:39:51
Score: 1.5
Natty:
Report link

const routes = [ { text: '', //this will be the link text component: , // Or keep this null path: '/', }, { text: 'Sales Overview New', //this will be the link text component: , // Or keep this null path: '/sales-overview-new', }, { text: 'Sales Overview New', //this will be the link text component: null, // Or keep this null path: '/sales-overview-new', } ]

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

79437950

Date: 2025-02-13 23:19:47
Score: 2
Natty:
Report link

Actually downloading the Microsoft SQL Server 2019 Integration Services Feature Pack for Azure resolved it for me. I'm using Visual Studio 2017 and already had the 2017 Integration Services Feature Pack for Azure installed.

https://www.microsoft.com/en-us/download/details.aspx?id=100430

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

79437945

Date: 2025-02-13 23:16:47
Score: 1.5
Natty:
Report link

In the same function where you draw the rectangle that indicates the face, save the coordinates to a global variable. Then, when saving the frame to the file, limit its area like this: video_frame[y:y+h, x:x+w], see detail:

def detect_bounding_box(vid): global area gray_image = cv2.cvtColor(vid, cv2.COLOR_BGR2GRAY) faces = face_classifier.detectMultiScale(gray_image, 1.1, 5, minSize=(40, 40)) for (x, y, w, h) in faces: cv2.rectangle(vid, (x, y), (x + w, y + h), (0, 255, 0), 4) area = [x, y, w, h] return faces

........

cv2.imwrite(img_name, video_frame[area[1]:area[1]+area[3], area[0]:area[0]+area[2]])

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Filler text (0.5): ........
  • Low reputation (1):
Posted by: Juan Suarez

79437944

Date: 2025-02-13 23:15:41
Score: 8.5 🚩
Natty: 6
Report link

Did you manage to resolve this? I'm experiencing something similar and I think it's an API incompatibility issue. Mind you, I am doing a major jump: 1.14 -> 1.20.

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to resolve this
  • RegEx Blacklisted phrase (1.5): resolve this?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Alain Williams