79520762

Date: 2025-03-19 16:13:17
Score: 0.5
Natty:
Report link

My webpack.config.js

const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const webpack = require('webpack');

module.exports = {
  mode: 'development',
  devtool: 'source-map' ,
  context: path.resolve(__dirname, ''),
  entry: './src/camera.js',
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js',
    clean:true,
  },
  devServer: {
    static: path.resolve(__dirname, ''),
    port: 3000,
    open: true,
    hot: true,
    //compress: true,
    historyApiFallback: true
  },
  plugins: 
  [
    new HtmlWebpackPlugin({
      template: './html/camera.html',
    }),
    new CleanWebpackPlugin(),
  ],
};
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Руслан Шигимага

79520759

Date: 2025-03-19 16:12:16
Score: 4
Natty:
Report link

consider reducing the batch size

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

79520757

Date: 2025-03-19 16:11:16
Score: 1
Natty:
Report link
<groupId>com.xebialabs.xldeploy</groupId>
<artifactId>xldeploy-maven-plugin</artifactId>
<version>23.1.0</version>

JDK17 to SOLVE API COMPATABILITY issue. use above version
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: uma mahesh

79520756

Date: 2025-03-19 16:11:16
Score: 1
Natty:
Report link

Yes, this is expected.

Angular applies it to inline scripts as well, as part of its effort to ensure that both inline scripts and styles are handled consistently when enforcing a CSP.

This behavior ensures that Angular works in environments where a CSP is enabled, and it prevents inline scripts and styles from being blocked

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

79520739

Date: 2025-03-19 16:04:14
Score: 4
Natty:
Report link

This issue should be fixed, see here:

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

79520736

Date: 2025-03-19 16:03:14
Score: 4
Natty:
Report link

In the end the issue was that i had more than one @ConfigInitializer within my test class hierarchy. This lead to different contexts.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @ConfigInitializer
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: user984200

79520726

Date: 2025-03-19 16:00:13
Score: 1.5
Natty:
Report link

I had a similar problem on libsoup 3.0 and linuxmint/cjs and this worked for me. It's been 10 years but I'm leaving this here in case someone will have the same problem and find this useful.

message.connect("accept-certificate", function () {
    return true
})
Reasons:
  • Whitelisted phrase (-1): this worked for me
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (1):
Posted by: PBnc

79520722

Date: 2025-03-19 15:58:13
Score: 2
Natty:
Report link

Try:

- Uninstalling and reinstalling Turbo C++
- Ensure you are installing the newest version.

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

79520718

Date: 2025-03-19 15:55:12
Score: 0.5
Natty:
Report link

Translated translation units and instantiation units are combined as follows:

The separate translation units of a program communicate by (for example) calls to functions whose identifiers have

Some or all of these translated translation units and instantiation units may be supplied from a library. Required instantiations may include instantiations which have been explicitly requested. It is implementation-defined whether the source of the translation units containing these definitions of the required templates are located is required to be available. Translation units can be separately translated and then later linked to produce an executable program.

Thus Instantiation units are similar to translated translation units, but contain no references to un-instantiated templates and no template definitions.

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

79520716

Date: 2025-03-19 15:54:12
Score: 4.5
Natty: 4
Report link

Given I'm doing this in C++, is it possible to define the function like this: int find(int &x): to save on memory use?

Reasons:
  • Blacklisted phrase (1): is it possible to
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: dominik findeisen

79520706

Date: 2025-03-19 15:51:10
Score: 3
Natty:
Report link

The site has shut down. While the developer has not given a official statement, it does seem that they are no longer upkeeping the servers, hence it is shut down.

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

79520705

Date: 2025-03-19 15:51:10
Score: 2
Natty:
Report link

the flag has been renamed "Insecure origins treated as secure"

and now has an input box to safelist your self-signed certificate domain names

enter image description here

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

79520702

Date: 2025-03-19 15:50:10
Score: 3
Natty:
Report link

readAsBinaryString() is deprecated but I wasn't able to make it work without it.

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

79520693

Date: 2025-03-19 15:47:10
Score: 3
Natty:
Report link

Your un-caught exception is coming from the finally block where you try to remove the job. This happens regardless of the success in your try block.

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

79520690

Date: 2025-03-19 15:46:09
Score: 1.5
Natty:
Report link

How can we use typmod if the TYPMOD_IN function parses and returns the correct typmod, but the INPUT function always gets -1 from:

Node * coerce_type(ParseState *pstate, Node *node, Oid inputTypeId, Oid targetTypeId, int32 targetTypeMod, CoercionContext ccontext, CoercionForm cformat, int location)
which says:

        /*
         * For most types we pass typmod -1 to the input routine, because
         * existing input routines follow implicit-coercion semantics for
         * length checks, which is not always what we want here.  Any length
         * constraint will be applied later by our caller.  An exception
         * however is the INTERVAL type, for which we *must* pass the typmod
         * or it won't be able to obey the bizarre SQL-spec input rules. (Ugly
         * as sin, but so is this part of the spec...)
         */
        if (baseTypeId == INTERVALOID)
            inputTypeMod = baseTypeMod;
        else
            inputTypeMod = -1;
Reasons:
  • Blacklisted phrase (1): How can we
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): How can we use
  • Low reputation (1):
Posted by: chernia

79520688

Date: 2025-03-19 15:45:09
Score: 2
Natty:
Report link

if you already have enabled AJAX under WooCommerce > Settings > Products "Enable AJAX add to cart buttons on archives," Then I would suspect a plugin conflict or perhaps cache.

Ensure cache both from the website and server, is flushed and test in Incognito mode to see if the reload is gone.

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

79520687

Date: 2025-03-19 15:45:09
Score: 3
Natty:
Report link

Thanks - this helped me as well for a project I am doing. Indeed I also beleave AppScript has a bug with a PositionedImage, if the the PositionedImage is inserted at the very last paragraph, it seems to duplicate the image. Adding this buffer paragraph has resolved the issue for me

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

79520674

Date: 2025-03-19 15:38:07
Score: 1.5
Natty:
Report link

I found a solution. In my case not connected cargo - homebrew So was not found openssl.

export LIBRARY_PATH="$LIBRARY_PATH:$(brew --prefix)/lib" This command is connect cargo - homebrew.

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

79520672

Date: 2025-03-19 15:37:07
Score: 1.5
Natty:
Report link

Possible, but a bit harder than you might expect. Let me give an example in a moment.

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

79520671

Date: 2025-03-19 15:37:07
Score: 1
Natty:
Report link

Voximplant iOS SDK is distributed as pre-built frameworks without debug symbols in cocoapods as well as in SPM.

It does not block an iOS app distribution to AppStore/TestFlight. The "Upload Symbols Failed" message is just a warning and the app build should be uploaded successfully.

If you face with any crashes related to Voximplant SDK, feel free to contact Voximplant team.

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

79520664

Date: 2025-03-19 15:34:06
Score: 1.5
Natty:
Report link

Including the {C special character is not working because that is the FNC1 code for the Epson printer. The special character for encoding CODE C is actually {1.

Code128 Special Character Encoding

Also, as Terry Warwick alluded to, the font setting does not affect the printed barcode. I believe what you mean by Font A, Font B, and Font C are actually Subset A, Subset B, and Subset C which you indicate you would like to use by adding the appropriate special character above. When switching subsets within a barcode string, you should also include the Shift character, {S.

Try {APQR123X{S{11122331807110011223344

Can anyone point to documentation that unravels how Epson do font-switching in Code 128?

https://files.support.epson.com/pdf/pos/bulk/tm-i_epos-print_um_en_revk.pdf

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

79520651

Date: 2025-03-19 15:29:06
Score: 1.5
Natty:
Report link

Vertex AI requires: A health endpoint (e.g., /health) that returns a 200 OK status when the model is ready. and A prediction endpoint (e.g., /predict) that handles inference requests.

Add /health (returns 200 OK when ready) and /predict endpoints to your FastAPI app. Update your gcloud ai models upload with --container-health-route=/health --container-predict-route=/predict --container-ports=8080. Redeploy and check Cloud Logging for errors.

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

79520649

Date: 2025-03-19 15:29:06
Score: 3.5
Natty:
Report link

So i get down to the problem.
I installed Fiddler to see what happened.
My first Problem is, i get from Fiddler a different error as i get from .NET Framework.
Fiddler told me, that the Problem is the verfication of the Server certificate from the server i called.
To verify this, I added the following line of code and tested whether it works:

ServicePointManager.ServerCertificateValidationCallback += (o, c, ch, er) => true;

That worked. That means the problem is that we don't trust the authority's root certificate, or rather, the certificate isn't present in the trusted Root store.

When installing the cert into the root, the problem is solved.

Thanks for the answers.

Edit: For somebody who maybe have the same Problem - Do not use this in prod enviroment.
Just for testcase, but delete it afterwards!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same Problem
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: BummzuaBua

79520647

Date: 2025-03-19 15:29:05
Score: 3.5
Natty:
Report link

You can solve this by enabling the Direction API. Currently, the only way to do this is by going to this link (because its in Legacy).

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

79520637

Date: 2025-03-19 15:26:05
Score: 3
Natty:
Report link

For some reason, some of your code might still be using the old Places API. You can activate it by going to this link (this is currently the only way as its in Legacy mode), which should fix your issue.

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

79520634

Date: 2025-03-19 15:24:04
Score: 3
Natty:
Report link

create file vite.config.ts allowedHosts: ["domain"]

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

79520627

Date: 2025-03-19 15:22:03
Score: 1
Natty:
Report link

A pretty simple answer to this question is

final Map json = {
    "key1": {"key": [1,2,3]},
    "key2": {"key": [4,5,7]},
    "key3": {"key": [8,9,10]},
  };
  
final firstEntry = json.entries.toList()[1].value;
print(firstEntry);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: we_mor

79520625

Date: 2025-03-19 15:21:03
Score: 0.5
Natty:
Report link

I wanted to accomplish this same thing, and @Veedrac got pretty close but I did not want quotes around my floats and I also wanted to be able to control the amount of precision. In order to do this I had to use the decimal library as well as the simplejson json dumps implementation (in order to get the use_decimal functionality). Hopefully this will help someone else:

from decimal import Decimal, ROUND_DOWN
import simplejson as sjson

def json_dumps_decimal(data, precision=6):

    def recursive_converter(obj):
        if isinstance(obj, dict):
            return {key: recursive_converter(value) for key, value in obj.items()}
        elif isinstance(obj, list):
            return [recursive_converter(item) for item in obj]
        elif isinstance(obj, float):
            decimal_obj = Decimal(obj)
            return decimal_obj.quantize(Decimal('1e-{0}'.format(precision)), rounding=ROUND_DOWN)
        return obj 

    return sjson.dumps(recursive_converter(data), use_decimal=True)

Calling this is as follows will yield the following output:

data = {"dictresults": {"val1": 1000, "val2": 1000, "val3": 0.0000012}, "listresults": [0.000034, 0.0, 0.00001], 'flatresult': 0.00000123456}
jsonstr = json_dumps_decimal(data)
print(jsonstr)

{"dictresults": {"val1": 1000, "val2": 1000, "val3": 0.000001}, "listresults": [0.000033, 0.000000, 0.000010], "flatresult": 0.000001}

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Veedrac
  • Low reputation (1):
Posted by: Turtle .Turtler

79520616

Date: 2025-03-19 15:19:02
Score: 1
Natty:
Report link

Based on @CouchDeveloper and your own reply, you can create/add those global function overloads possibly to keep the same ergonomics:

func autoreleasepool<Result>(_ perform: @escaping () async throws -> Result) async throws -> Result {
    try await Task {
        try await perform()
    }.value
}

func autoreleasepool<Result>(_ perform: @escaping () async -> Result) async -> Result {
    await Task {
        await perform()
    }.value
}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @CouchDeveloper
  • Low reputation (0.5):
Posted by: paescebu

79520609

Date: 2025-03-19 15:16:02
Score: 1
Natty:
Report link

Fixed : Thanks to everyone for their help. The correct regex was

/(.*?)Player "(.*)" \(DEAD\)\ \(id=(.*) pos=<(.*)>\)\[HP: 0\] hit by Player "(.*)" \(id=(.*)\ pos=<(.*)>\) into (.*)\((.*)\) for(.*)damage (.*) with (.*) from (.*)\s*(.*) | Player "(.*)" \(DEAD\) (id=(.*)) (.*) killed by Player/

I ran the above on a larger log file and the returned data was as below

[0] => 22:09:04 | Player "GigglingCobra52" (DEAD) (id=BE2ABB8084EEC781014AC8E6B5C88A5A90F855BF pos=<1658.8, 15056.8, 451.4>)[HP: 0] hit by Player "Cogito8434" (id=26DE70CAEF00AE579AF8CA21ED3F1648DB316F1E pos=<1659.4, 14990.8, 441.4>) into Head(0) for 36.7336 damage (Bullet_308WinTracer) with M70 Tundra from 66.7822 meters 
22:09:04 | Player "GigglingCobra52" (DEAD) (id=BE2ABB8084EEC781014AC8E6B5C88A5A90F855BF pos=<1658.8, 15056.8, 451.4>) killed by Player "Cogito8434" (id=26DE70CAEF00AE579AF8CA21ED3F1648DB316F1E pos=<1659.4, 14990.8, 441.4>) with M70 Tundra from 66.7822 meters

[1] => 22:12:08 | Player "Cogito8434" (DEAD) (id=26DE70CAEF00AE579AF8CA21ED3F1648DB316F1E pos=<1656.3, 15053.1, 444.8>)[HP: 0] hit by Player "GigglingCobra52" (id=BE2ABB8084EEC781014AC8E6B5C88A5A90F855BF pos=<1654.7, 15052.8, 444.8>) into Torso(12) for 29.0213 damage (Bullet_556x45) with M4-A1 from 1.57712 meters 
22:12:08 | Player "Cogito8434" (DEAD) (id=26DE70CAEF00AE579AF8CA21ED3F1648DB316F1E pos=<1656.3, 15053.1, 444.8>) killed by Player "GigglingCobra52" (id=BE2ABB8084EEC781014AC8E6B5C88A5A90F855BF pos=<1654.7, 15052.8, 444.8>) with M4-A1 from 1.57712 meters

I can now use the returned array data and pull info I need. Thanks again for everyone's help in guiding me how to figure this out

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

79520601

Date: 2025-03-19 15:14:01
Score: 13 🚩
Natty: 5
Report link

I am also having the same issue, the Remote build successed but the function app is not appearing. How did you fix the issue?

Reasons:
  • Blacklisted phrase (1): How did you fix
  • RegEx Blacklisted phrase (3): did you fix the
  • RegEx Blacklisted phrase (1.5): fix the issue?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am also having the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fungai Dangaiso

79520595

Date: 2025-03-19 15:10:59
Score: 9.5 🚩
Natty: 6
Report link

how did you resolve the error mentioned above?

Reasons:
  • RegEx Blacklisted phrase (3): did you resolve the
  • 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): how did you
  • Low reputation (1):
Posted by: user29991276

79520586

Date: 2025-03-19 15:05:57
Score: 7.5 🚩
Natty:
Report link

What could be causing this error in LibreOffice?

Reasons:
  • Blacklisted phrase (1): What could be
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Yeiye

79520573

Date: 2025-03-19 15:02:56
Score: 1
Natty:
Report link

Your approach (directly modifying the entity within a transaction) is more efficient, simpler, and cleaner. On the other hand, your colleague’s approach is redundant in most cases, though useful when enforcing strict separation between data layers or when using immutable DTOs for business logic transformations. Why?

1. Entity Lifecycle & Persistence Context

2. Lazy vs. Eager Fetching

3. When DTOs Make Sense

However, for modifying and persisting entities, DTOs should not be mandatory unless:

4. Performance Expectations

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Why?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Carl Sony

79520567

Date: 2025-03-19 15:01:56
Score: 0.5
Natty:
Report link

As rightly suggested , please provide the minimal reproducible example.

However , to get you started : One of the core issue is, await page.locator().all() returns an array of promises so If you directly iterate over jobs, the locators resolve their properties asynchronously when accessed.

Instead of this:

const jobs = await page.locator('[data-testid="job-item-title"]').all();

I would suggest to use `.evaluateAll()` to directly fetch the job links instead of locators:

const jobs = await page.locator('[data-testid="job-item-title"]').evaluateAll(nodes => nodes.map(n => n.href));
Reasons:
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Vishal Aggarwal

79520566

Date: 2025-03-19 15:01:56
Score: 3
Natty:
Report link

The problem was related with the permissions of the security group that was involved. Once that was fixed I could make this work, even without the trick of the tunnel

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

79520565

Date: 2025-03-19 15:00:55
Score: 6.5 🚩
Natty: 4
Report link

Did you ever get this working Joshua Graham? I am running my application from as a package, therefore the wwwroot is read only and caching does not work:

no such file or directory, mkdir '/home/site/wwwroot/yyyy/standalone/apps/yyyy/.next/cache'

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever get this
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: unknown...

79520561

Date: 2025-03-19 14:58:54
Score: 1
Natty:
Report link

This worked for me.

1.InValidate Caches

2. Uninstalled app in emulatorenter image description here

Reasons:
  • Whitelisted phrase (-1): This worked for me
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
Posted by: Q10Viking

79520558

Date: 2025-03-19 14:58:54
Score: 4
Natty:
Report link

Adjust the typeargument in the for eahc properties panel.

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kevin Foendoe

79520556

Date: 2025-03-19 14:57:54
Score: 1.5
Natty:
Report link

As a result, I use the LayoutUpdated method and in it the command:

if (chromiumWebBrowser.IsBrowserInitialized)
{
    chromiumWebBrowser.GetBrowser().GetHost().Invalidate(PaintElementType.View);
}

This gives the best result and the browser is resized correctly.

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

79520555

Date: 2025-03-19 14:57:54
Score: 2.5
Natty:
Report link

## GITHUB SOLUTION

- git config --global http.postBuffer 1048576000

- git config --global http.lowSpeedLimit 0

- git config --global http.lowSpeedTime 999999

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gleison Silveira de Freitas

79520547

Date: 2025-03-19 14:55:53
Score: 2
Natty:
Report link

MySQL server starts with root privilege, check /etc/passwd for root's shell. If it's /usr/local/bin/bash that doesn't exist in the file system, change it to other shell that exists.

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

79520545

Date: 2025-03-19 14:55:53
Score: 0.5
Natty:
Report link

Personally to me, workflow managers (WFM) have most value for automating repetitive tasks where adjustment of parameters or user intervention is basically never necessary. Good examples are mentioned read mapping, or sorting of files, anything that just runs some tools by default settings. Or situations where things are tedious, for example a number of intermediate files need to be created, collated, ordered in some way so downstream tools can run.

If it comes down to run a couple of one-liners on the command line then the added effort of implementing this in a WFM might be overkill.

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

79520540

Date: 2025-03-19 14:54:53
Score: 3
Natty:
Report link

not any more.. unless you wish to rely on community

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

79520537

Date: 2025-03-19 14:53:52
Score: 2
Natty:
Report link
all_links = await page.locator("locator copied from html").all()
for link in all_links:
    text = await link.inner_text()
    print(text)

Using "selector" not "xPath"

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

79520533

Date: 2025-03-19 14:53:52
Score: 1.5
Natty:
Report link

I got the "socket hang up" error after upgrading to .NET 8 and changing the Docker image. The problem was an incorrect port mapping in my `docker-compose.yml`. I had `ports: 8005:80`, which worked before the upgrade. However, the new .NET 8 images default to port 8080. Changing my `docker-compose.yml` to `ports: 8005:8080` fixed the issue.
**Key takeaway:** Ensure your `docker-compose.yml` port mapping matches the port your app listens on inside the container.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Fernanda Tenório

79520519

Date: 2025-03-19 14:45:51
Score: 0.5
Natty:
Report link

There were 2 things wrong:
1. I needed (foreignKeys.length > 0) && instead of foreignKeys &&
2. I needed Object.values(foreignKeys[0]).map instead of foreignKeys[0].values.map
[Note: using foreignKeys[0].values.map was a suggestion from CoPilot and it looked strange to me at the time it was suggested, but I thought to myself, "well, it's coming from an AI so it must be correct." Lesson learned!!

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Crowdpleasr

79520496

Date: 2025-03-19 14:36:48
Score: 1.5
Natty:
Report link

I know it´s a very old thread but, perhaps, my answer can help other people with the same issue.

In my case, it was hapenning because the solution was not really running. Due to inativity, IIS pool was put inert. In order to correct the things I just had to perform an access through the browser (or some tool as postman) to the application.

After that, just reload the apps and everything should work.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andre Gustavo Basso Macowski

79520495

Date: 2025-03-19 14:36:48
Score: 3
Natty:
Report link

Try opening your workspace so that your app is the root with the <properties_folder>/launchSettings.json one level down from the app.

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

79520492

Date: 2025-03-19 14:35:48
Score: 0.5
Natty:
Report link

You can define your own custom resource and use it from context prometheus.run_gauge.labels(...).set(1)

from dagster import InitResourceContext
from dagster_prometheus import PrometheusResource
from prometheus_client import Gauge
from pydantic import PrivateAttr


class CustomPrometheusResource(PrometheusResource):
    _run_gauge: Gauge = PrivateAttr(default=None)
    def setup_for_execution(self, context: InitResourceContext) -> None:
        super().setup_for_execution(context)
        self._run_counter = Gauge(
            name='dagster_run_gauge',
            documentation='Status of Dagster runs',
            labelnames=['job_name', 'status', 'cluster'],
            registry=self._registry
        )

    @property
    def run_gauge(self):
        return self._run_gauge
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: walle

79520489

Date: 2025-03-19 14:34:48
Score: 2.5
Natty:
Report link

it would be good to atleast have fully working published set of data .Currently some things work in one API but when response data is used for another we get 404.Its very hard to even test a full cycle in development. PRD data option is not good when for example we cant even test booking process

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

79520484

Date: 2025-03-19 14:33:47
Score: 0.5
Natty:
Report link

I was able to do with `dask.array`.

import dask.array as da
import numpy as np

coords = ...
dims = ...
var_name = 'value'
chunks = (1, 13, 36, 128, 128)
encoding = {var_name: {'chunks': chunks}}
store = 'test.zarr'

daskarray = da.empty(
    (6, 13, 36, 699, 1920),
    chunks=chunks,
    dtype='float32',
)
daskarray[:] = np.nan

xr.DataArray(
    daskarray,
    coords=coords,
    dims=dims,
).to_dataset(name=var_name).to_zarr(store, mode='w', encoding=encoding)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: AMA

79520481

Date: 2025-03-19 14:31:47
Score: 2
Natty:
Report link

@tsegismont posted a comment that a answer for Vert.x httpClient/webClient process response chunk by chunk or as stream is still up to date and HttpClient should be used when HTTP streaming must be connected with RecordParser. It means second solution from the question is preferred:

RecordParser parser = RecordParser.newDelimited("\n", h -> log.info("r={}", h.toString()));
client
    .request(HttpMethod.GET, sut.actualPort(), "localhost", "/stream?file=stream1.txt")
    .compose(HttpClientRequest::send)
    .onComplete(
        ar -> {
          if (ar.succeeded()) {
            HttpClientResponse response = ar.result();
            response.handler(parser);
            response.endHandler(e -> ctx.completeNow());
          } else {
            ctx.failNow(ar.cause());
          }
        });

Ideally PR for Vert.x documentation should clarify it.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @tsegismont
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: kodstark

79520473

Date: 2025-03-19 14:28:47
Score: 2.5
Natty:
Report link

Use onEndEditing instead of onBlur if you are dealing with multiple TextInput components.

https://reactnative.dev/docs/textinput#onblur

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

79520472

Date: 2025-03-19 14:28:47
Score: 0.5
Natty:
Report link

Check the preinstalled software on the default microsoft hosted images; let's see what's on the the current windows-latest for example:

you'll notice that both WSL and Docker are installed. But there are at least 2 problems for you:

You could try to setup a step that updates WSL to v2 and then a command to switch to linux based virtualization for docker. But that's gonna cost you pipeline execution time, and given the particularly pricy costs of Azure, i'd suggest another way;

You could try and use the new windows-2025 image for this pipeline, that comes preinstalled with Docker and WSLv2 as default;

Theoretically this new image has been created specifically to resolve your problem, which is in line with Micro$oft moving towards the windows server + containerized linux services model

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

79520468

Date: 2025-03-19 14:26:46
Score: 2
Natty:
Report link

All right, here's a potential workaround, although I don't know if this did it or something else was responsible, so I'd like to keep the question active. For me, what I did was make a new emulator for the latest version of Android and then test it in Meerkat. Then I went back and tried the emulators in Meerkat (that I had previously made in Giraffe) and they seemed to work now. Not sure if coincidence or related, would still probably be interested in any potential feedback on this.

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

79520467

Date: 2025-03-19 14:24:45
Score: 2
Natty:
Report link

I've solved the issue by creating a new folder in my desktop and assigning it as my derived folder in Xcode > Settings > Locations > DerivedData and select custom and set your Path

Tadaa.... !

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

79520466

Date: 2025-03-19 14:24:45
Score: 0.5
Natty:
Report link

I found it! You had to add a condition to tell it that if it finds 2 or more identical objects, you have to delete the relationship and recreate one.

I'm closing the discussion. Have a nice day.

public function updateUser($object){
        $userToChange=$object->users()->first();
        if (empty($userToChange)) {
            $object->users()->save(User::where('id',Auth::user()->getAuthIdentifier())->first());
        }elseif($object->users()->where('user_id', $userToChange->id)->count() >= 1){ //add condition to detect if several identical objects exists
            $object->users()->detach($userToChange->id);
            $object->users()->save(User::where('id',Auth::user()->getAuthIdentifier())->first());
        }else {
            if(Auth::user()->getAuthIdentifier()!=$userToChange->id){
                $object->users()->sync(User::where('id',Auth::user()->getAuthIdentifier())->first());
            }
        }
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Viviane Le Hegaret

79520437

Date: 2025-03-19 14:11:43
Score: 2
Natty:
Report link

This could mainly be due to a path error that your python interpreter may be running on a separate path from where you are downloading the package. If possible i would recommend using anaconda navigator or jupyter notebook as they each offer you the way to create an environment that will have your dependencies

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Seif Alzamer DE

79520435

Date: 2025-03-19 14:10:42
Score: 13.5 🚩
Natty: 5.5
Report link

Ey I am facing the same error now using Saprk Structured streaming to read from kafka and sink in an Iceberg table, Did you fix it?

Reasons:
  • RegEx Blacklisted phrase (3): Did you fix it
  • RegEx Blacklisted phrase (1.5): fix it?
  • RegEx Blacklisted phrase (1): I am facing the same error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same error
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cynthia

79520432

Date: 2025-03-19 14:09:42
Score: 3
Natty:
Report link

This is a lifesaver! Thanks

I spent an entire DAY not getting the event to fire and it was the DTR and RTS issue!

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

79520430

Date: 2025-03-19 14:08:41
Score: 1.5
Natty:
Report link

So I tried to reproduce your problem by making a Snack on expo, and I reached the same results, I'm not able to render the proper fontFamily inside the canvas, which I think is a thing of the webview inside the react-native-canvas package. You cannot render the font family because expo-font does not reach the webview context.

Also looking for the pull requests of the canvas repo, I saw a contributor trying to implement a Font API, but it didn't merge: https://github.com/iddan/react-native-canvas/pull/294.

Just to my conclusion, the plugin of expo-font doesn't have the flexibility to add fonts inside webview contexts, at least doing it this way.

This is the code that I made to reproduce this issue:

import { Text, SafeAreaView, StyleSheet } from 'react-native';
import { useEffect } from 'react';
import { useFonts } from 'expo-font';
import Canvas from 'react-native-canvas';

const WaitFont = (props) => {
  const [loaded, error] = useFonts({
    'eightBit': require('./assets/fonts/eightBit.ttf'),
  });

  useEffect(() => {
    if (loaded || error) {
      console.log('Working?')
    }
  }, [loaded, error]);

  if (!loaded && !error) {
    return null;
  }

  return props.children
}

export default function App() {
  const handleCanvas = (canvas) => {
    if (!canvas) return;

    const ctx = canvas.getContext('2d');
    ctx.font = '500 26px "eightBit"';
    ctx.fillText("Hello from <Canvas />", 8, 28) ;
  };

  return (
    <SafeAreaView style={styles.container}>
      <WaitFont>
        <Text style={styles.paragraph}>
          {`Hello from <Text />`}
        </Text>
        <Canvas style={styles.canvas} ref={handleCanvas} />
      </WaitFont>
    </SafeAreaView>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    flexDirection: 'column',
    justifyContent: 'center',
    backgroundColor: '#ecf0f1',
    padding: 8,
  },
  paragraph: {
    fontSize: 50,
    fontWeight: '500',
    fontFamily: 'eightBit'
  },
  canvas: {
    borderWidth: 1,
    borderColor: 'red',
    width: '100%'
  }
});
Reasons:
  • RegEx Blacklisted phrase (2): Working?
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Simón Villafañe

79520428

Date: 2025-03-19 14:07:41
Score: 0.5
Natty:
Report link

When you use an expression template and you also want a theme, you should use a template theme.

The following configuration should work:

{
   "Name":"Console",
   "Args":{
      "formatter":{
         "type":"Serilog.Templates.ExpressionTemplate, Serilog.Expressions",
         "template":"{@t:HH:mm:ss.fff zzz} | {@l:u3} | {@m}\n{@x}",
         "theme":"Serilog.Templates.Themes.TemplateTheme::Code, Serilog.Expressions"
      }
   }
}
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you use an
  • Low reputation (0.5):
Posted by: Nikolas Kazepis

79520414

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

Thanks again for this answer. I modified your regex a bit in order to work correctly with the libreoffice regex function. I added .* twice, at the beginning and at the end of the regex.

With blah blahTESTblab la14blah-15S reblain cell A1 :

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

79520405

Date: 2025-03-19 14:00:39
Score: 1.5
Natty:
Report link

The below way is working

URL queryURL = getClass().getClassLoader().getResource("db.mongo.query/" + this.name + ".json");
String query = new String(Files.readAllBytes(Paths.get(queryURL.toURI())));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Komala Dunna

79520404

Date: 2025-03-19 14:00:39
Score: 5.5
Natty: 4.5
Report link

@meshack-pi This fixed for me, that was exactly my issue, dependnecy on the HttpClientModule. Thanks for your answer.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @meshack-pi
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Stevan

79520401

Date: 2025-03-19 13:59:39
Score: 1
Natty:
Report link

If anyone else has a similar issue, what I found worked for me is either

  1. Downgrading react-router-dom to any 6.x.x

or

  1. Migrating from Create React App/react-scripts to Vite

There maybe some fiddly workarounds possible with setting global TextEncoders and TextDecoders that I've seen suggested but this didn't work for me.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: rdn

79520400

Date: 2025-03-19 13:59:38
Score: 7 🚩
Natty: 5.5
Report link

I have a similar problem. I haven't completely solved it yet, but I have discovered some interesting findings. Maybe this will help someone. I'm glad you found the cause in editor.autoIndent. But it still doesn't solve the problem for me. So, I'll leave the information here. In my case, the “indentNextLinePattern” is not working.

1 - It is strange that you expect a single “increaseIndentPattern” to work. My experiments and reading the information showed that it doesn't work alone. It needs a pair of “decreaseIndentPattern” to work. Even stranger is that you wrote “Then I discovered that I had ‘editor.autoIndent’ in the settings.json file: “none”, which was the problem.” - So just by enabling “editor.autoIndent”, you got the single “increaseIndentPattern” rule working? Without its “decreaseIndentPattern” pair? That's very strange.

2 - Expressions like “if (3 > 2) {” have no meaning here. The thing is that VS Code automatically adds indents if you press “enter” after an opening bracket. This works even if no separate automatic indentation rule is defined for the language. It works for brackets (, [, {.

3 - That said, in my case, the “increaseIndentPattern+decreaseIndentPattern” and “onEnterRules” options work. But “indentNextLinePattern” does not work. That's the weirdness.

4 - Neural networks help well with regex. The same Chat-GPT, Git-Hub Copilot, Perplexity, Claude. They are also good at explaining the principles and design standards of language packs. With neural nets, I was making fast progress in creating custom language highlighting. Until I got stuck with this weird problem with “indentNextLinePattern”. All in all, I created the bulk of the highlighting in about 3 days. Polishing and working out the details took me another week or so. Without neural networks, I would have been sorting it out for at least a month. And most likely, I would have quickly abandoned it because of the complexity and intricacy of the topic. Many thanks to neural networks. I love them very much.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): I have a similar problem
  • RegEx Blacklisted phrase (2): working?
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Lucius_Will

79520389

Date: 2025-03-19 13:53:37
Score: 1.5
Natty:
Report link

The solution for me was to add a Height in the ContentPage definitions. For example

<ContentPage ...
HeightRequest="{OnIdiom Desktop=740,
                        Phone=*}">
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user3017691

79520388

Date: 2025-03-19 13:53:36
Score: 13.5
Natty: 7.5
Report link

I have the same problem, how did you resolve ?

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

79520383

Date: 2025-03-19 13:50:35
Score: 0.5
Natty:
Report link

This type of error is often linked to a Java / Gradle / AGP version incompatibility.

Can you run the following command from the root of the Flutter project to do a first check:

flutter analyze --suggestions

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

79520379

Date: 2025-03-19 13:49:35
Score: 2.5
Natty:
Report link

According to this answer: https://stackoverflow.com/a/537831/2773515, on your first linked question on your post, I think the best practices that you mentioned is clarified there, so, IMO, no, exceptions didn't manipulating anything based on exception != error "directive". Your validation class will be responsible to check and manipulate entity throwed by your custom exception which is responsible to alert your application that one business rule was violated.

Maybe you should consider not returning data at all on custom exception nor throwing an exception at all, and your validation class returning custom class with manipuated entity and an false state result.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Lari

79520378

Date: 2025-03-19 13:48:35
Score: 0.5
Natty:
Report link

It seems I was able to override it in my local profile with (not specifying the value):

logging.structured.format.console=

I was also looking for "disable" kind of value, but there is nothing like that.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Martin Tlachač

79520372

Date: 2025-03-19 13:47:35
Score: 1
Natty:
Report link

I got claude max ai to help me solve this matter

"I've identified the issue - there's improper PowerShell code in your postgresql.conf file that's preventing PostgreSQL from starting. This happened when you tried to install pgvector.

Follow these steps to fix the problem:

  1. Open a command prompt as Administrator

  2. Run: notepad "C:\Program Files\PostgreSQL\17\data\postgresql.conf"

  3. Find and delete these lines (around line 769)

       param($match)
       $libraries = $match.Groups[1].Value
       if ([string]::IsNullOrWhiteSpace($libraries)) {
           return "shared_preload_libraries = 'vector'"
       } else {
           return "shared_preload_libraries = '$libraries,vector'"
       }
    

    Add this line in place of the deleted code:

       shared_preload_libraries = 'vector'            # (change requires restart)
    
  4. Save the file and close Notepad

  5. Start the PostgreSQL service:

  1. After that, PGAdmin4 should be able to connect to your database

This will fix the syntax errors in your configuration file and properly enable pgvector.

Reasons:
  • Blacklisted phrase (1): help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29991048

79520362

Date: 2025-03-19 13:42:34
Score: 3.5
Natty:
Report link

@Jon Dingman You are a genius!

I am infinitely grateful to you! Your solution saved me hours of work. I searched for a solution myself for a long time, but your contribution was exactly what I needed.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Jon
  • Low reputation (1):
Posted by: iTouch61

79520353

Date: 2025-03-19 13:38:32
Score: 5.5
Natty: 5.5
Report link

I'm hitting the same wall, any progress ?

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

79520348

Date: 2025-03-19 13:35:31
Score: 4
Natty:
Report link

This issue has been resolved.

Thank you for your response.

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

79520345

Date: 2025-03-19 13:34:31
Score: 2
Natty:
Report link

yes the problem is with multiple versions of @types/react. We can just make sure the versions of @types/react are the same while running yarn why @types/react.

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

79520341

Date: 2025-03-19 13:29:30
Score: 1.5
Natty:
Report link

SomeGuy just save my life with OpenSSH on windows. I spend almost a day trying to configure public-key auth with no success.
Then I found your post about the enconding of authorized_keys e apply it to administrators_authorized_keys on C:/ProgramData/ssh/ .
I save it on UTF-8 with vscode end finally I could login without password.
OpenSSH publickey login on windows is very obscure... even with DEBUG on the sshd service dont tell why it is denying the key.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Paulo da Silva Silveira

79520339

Date: 2025-03-19 13:29:30
Score: 3.5
Natty:
Report link

Same here. Let me know if anyone could find a solution.

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

79520312

Date: 2025-03-19 13:19:28
Score: 2.5
Natty:
Report link

Still issue nowadays on some older printers.

In my case Honeywell PC42T Plus. I followed the idea of Levite (thanks) and used FB command followed by GB command (box) with white thick border. In my case

^GB240,50,50,W

and it works fine.

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

79520307

Date: 2025-03-19 13:17:28
Score: 1
Natty:
Report link

In newer versions of doxygen the \include special command has an additional option. With the option {doc} the contents of file.txt is treated as if it were directly in the source file.

// --- SourceFile.c ---
/*! \brief description 
 *  \include{doc} file.txt
 */

// --- file.txt ---
// \details description
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Dgo

79520293

Date: 2025-03-19 13:11:27
Score: 6
Natty: 8
Report link

YOU'RE THE BEST!! This solution saved my day. Thank you very much!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (2): saved my day
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Christian Persona-Non-Grata

79520288

Date: 2025-03-19 13:10:26
Score: 2
Natty:
Report link

Try to parameterize the Dispatcher to be configurable according to the context. If the code uses Dispatchers.Main or Dispatchers.IO, it would be advisable to allow injecting it as a parameter. In this way, a TestDispatcher can be provided in the tests, ensuring that the execution occurs at the right time.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Igor Román

79520276

Date: 2025-03-19 13:05:25
Score: 3
Natty:
Report link

After you typed in 'jupyter notebook' on Anaconda prompt or command line, at the bottom of the command line you will find an url like the one below. Copy paste the url, that will work.

http://localhost:8888/?token=**------------------------------------**

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Filler text (0.5): ------------------------------------
  • Low reputation (1):
Posted by: Jesily Thomas

79520275

Date: 2025-03-19 13:04:25
Score: 1.5
Natty:
Report link

I haven't got the rep to respond to @Mark Brackett's answer, I had to change a .ToInt32() to .TonInt64() which stopped the OverflowException I was getting with the example code.

This line

var pCurrentSessionInfo = new IntPtr(pSessionInfo.ToInt32() + (NativeMethods.SESSION_INFO_502.SIZE_OF * i));

Becomes

var pCurrentSessionInfo = new IntPtr(pSessionInfo.ToInt64() + (NativeMethods.SESSION_INFO_502.SIZE_OF * i));
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Mark
  • Low reputation (1):
Posted by: Whoo

79520274

Date: 2025-03-19 13:04:25
Score: 1
Natty:
Report link

In addition to byLazy's answer. You can also do onCompletetion like this.

val f1 = flowOf(1, 2)
val f2 = flowOf(3, 4)
val f = f1.onCompletion { if(it == null) emitAll(f2) }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Daniel Iroka

79520269

Date: 2025-03-19 13:02:24
Score: 2
Natty:
Report link

The repeated change detection with ngModel is a common characteristic of two-way binding with input elements. To reduce it, focus on Using ngModelChange when possible and also try Debouncing method on the date picker selection events.

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

79520262

Date: 2025-03-19 13:01:24
Score: 3
Natty:
Report link

I know that some compilers use key tool that makes the program have valid licenses and stuff, that may be it

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

79520250

Date: 2025-03-19 12:59:23
Score: 1.5
Natty:
Report link

I got this working using Authentication Code Flow with PKCE by:

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

79520246

Date: 2025-03-19 12:56:22
Score: 1.5
Natty:
Report link

In addition to jammykam's answer, this issue occurs because Sitecore doesn’t automatically remove orphaned renderings when a parent rendering with a nested placeholder is deleted. You need to clean up orphaned renderings in the layout field.

I’ve written a blog post detailing the issue and a solution - check it out here.

Reasons:
  • Blacklisted phrase (0.5): check it out
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Vadim Birkos

79520238

Date: 2025-03-19 12:54:22
Score: 1
Natty:
Report link
 column += increase

This actually only increases the iterator. You Actually want to increase the element from your matrix, which would look something like this :

def change_value(my_matrix: list, increase: int):
    for row in my_matrix:
        for column in row:
            my_matrix(row,column) += increase
    return my_matrix

matrix = [[1,2,3],[4,5,6],[7,8,9]]
change_value(matrix, 3)
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Arkadiusz

79520237

Date: 2025-03-19 12:54:21
Score: 6 🚩
Natty:
Report link

What is your Node version? Have you tried using the latest LTS Node.js release?

Reasons:
  • Blacklisted phrase (1): What is your
  • Whitelisted phrase (-1): Have you tried
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): What is you
  • Low reputation (1):
Posted by: ParsaJR

79520233

Date: 2025-03-19 12:52:21
Score: 4.5
Natty:
Report link

If you have a bunch of email or a PST file and you need to redact multiple email at once with an interactive editor, you can also just use our tools here: https://emailtools.hexamail.com/redact

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

79520232

Date: 2025-03-19 12:52:20
Score: 3
Natty:
Report link

For some users, just updating Android Studio to the newest version seems to fix it.

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

79520228

Date: 2025-03-19 12:50:20
Score: 2
Natty:
Report link

Simply replacing % with %%, as previously mentioned, did not work for me because I encountered a password authentication failed error.

To resolve this, I encoded the URL first and then replaced %.

Here’s my final code:

_pg_password = quote_plus(os.getenv("DB_PASSWORD", "default")).replace("%", "%%")
Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Flávio Farias

79520207

Date: 2025-03-19 12:39:18
Score: 1
Natty:
Report link

I have finally figured out to how to solve what I wanted.
I post this here as it might help someone else in the same situation.
I now install the program with "administrative install mode", but the old software is uninstalled as the logged in user, if that user has previously installed the old software.

[Code]
function PrepareToInstall(var NeedsRestart: Boolean): string;
var
  OldAppGuid, SubKeyName: string;
  OldAppFound: Boolean;
  ResultCode: Integer;
begin
  NeedsRestart := false;
  result := '';
  begin
    OldAppGuid := '{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}';
    SubKeyName := 'SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\' + OldAppGuid;
    OldAppFound := RegKeyExists(HKEY_LOCAL_MACHINE, SubKeyName);
    if not OldAppFound then
    begin
      SubKeyName := 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\' + OldAppGuid;
      OldAppFound := RegKeyExists(HKEY_LOCAL_MACHINE, SubKeyName);
    end;
    if OldAppFound then
    begin
      ExecAsOriginalUser(ExpandConstant('{sys}\msiexec.exe'),  // Filename
        '/X ' + OldAppGuid + ' /qb- REBOOT=ReallySuppress',    // Params
        '',                                                    // WorkingDir
        SW_SHOW,                                               // ShowCmd
        ewWaitUntilTerminated,                                 // Wait
        ResultCode);                                           // ResultCode
    end;  
  end;
end;
Reasons:
  • Blacklisted phrase (1): how to solve
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nalle077

79520205

Date: 2025-03-19 12:39:18
Score: 2
Natty:
Report link

I kept getting this error when calling signtool sign in the post build event of .NET project. Turns out I simply had an older version of signtool.exe and Windows Kits. After updating the Windows SDK (to version 11), it was resolved.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Tamara Vučić

79520195

Date: 2025-03-19 12:35:17
Score: 1
Natty:
Report link

Clone and scan it?

git clone https://github.com/google/flatbuffers -b v23.1.21
grype ./flatbuffers 
✔ Indexed file system                                                                                                                                                                                                flatbuffers
 ✔ Cataloged contents                                                                                                                                            e3c82e6c6bf71c090ee235f26b43aee9b40f120eb4652d8626c7cd714bead4fc
   ├── ✔ Packages                        [222 packages]
   ├── ✔ File digests                    [17 files]
   ├── ✔ File metadata                   [17 locations]
   └── ✔ Executables                     [0 executables]
 ✔ Scanned for vulnerabilities     [13 vulnerability matches]
   ├── by severity: 0 critical, 7 high, 6 medium, 0 low, 0 negligible
   └── by status:   13 fixed, 0 not-fixed, 0 ignored
[0000]  WARN no explicit name and version provided for directory source, deriving artifact ID from the given path (which is not ideal)
NAME                    INSTALLED    FIXED-IN  TYPE       VULNERABILITY        SEVERITY
braces                  3.0.2        3.0.3     npm        GHSA-grv7-fg5c-xmjg  High
cross-spawn             7.0.3        7.0.5     npm        GHSA-3xgq-45jj-v275  High
esbuild                 0.16.4       0.25.0    npm        GHSA-67mh-4wv8-2f99  Medium
google.golang.org/grpc  v1.35.0      1.56.3    go-module  GHSA-m425-mq94-257g  High
google.golang.org/grpc  v1.35.0      1.56.3    go-module  GHSA-qppj-fm5r-hxr3  Medium
google.golang.org/grpc  v1.39.0-dev  1.56.3    go-module  GHSA-m425-mq94-257g  High
google.golang.org/grpc  v1.39.0-dev  1.56.3    go-module  GHSA-qppj-fm5r-hxr3  Medium
micromatch              4.0.5        4.0.8     npm        GHSA-952p-6rrq-rcjv  Medium
semver                  5.6.0        5.7.2     npm        GHSA-c2qf-rxjj-qqgw  High
semver                  7.3.7        7.5.2     npm        GHSA-c2qf-rxjj-qqgw  High
word-wrap               1.2.3        1.2.4     npm        GHSA-j8xg-fqg3-53r7  Medium
wget https://repo1.maven.org/maven2/org/rogach/scallop_2.13/5.1.0/scallop_2.13-5.1.0-sources.jar
grype ./scallop_2.13-5.1.0-sources.jar
 ✔ Indexed file system                                                                                                                                                                           ./scallop_2.13-5.1.0-sources.jar
 ✔ Cataloged contents                                                                                                                                            79a24a3a5c54dd926ea9b41cc1258e58e395f25141c518b1c14afb869cb0bb9d
   ├── ✔ Packages                        [1 packages]
   ├── ✔ File digests                    [1 files]
   ├── ✔ File metadata                   [1 locations]
   └── ✔ Executables                     [0 executables]
 ✔ Scanned for vulnerabilities     [0 vulnerability matches]
   ├── by severity: 0 critical, 0 high, 0 medium, 0 low, 0 negligible
   └── by status:   0 fixed, 0 not-fixed, 0 ignored
No vulnerabilities found
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: popey

79520188

Date: 2025-03-19 12:31:16
Score: 0.5
Natty:
Report link

Thanks to CDP1802 contribution. I've followed and used his code as a template. I have some constrains. It's part of an small accountant system where both income and expenses are displayed on same sheet. Therefore I couldn't test against 1 or first Row, but I said if the header/total ain't shown up within 3 rows, the I will break. My test criteria if it's a header row, all columns has to have content. My test criteria for total row is that it different from a totally empty row. Some of the rows are not completely empty outside of the "Range" of the table, therefore I a little bit stubborn :-)) and use only first column to last column of the table and offset that with a certain amount of rows like this

Private Function CorrectRangeForHeaderRows(rRng As Range) As Range
  'rRng.Select
  Dim tmpRng As Range
  Set tmpRng = rRng.Range(Cells(1, 1), Cells(1, rRng.Columns.Count))
  'tmpRng.Select

  'Loop to a full Header row
  Dim lCor As Long: lCor = 1
  Do While WorksheetFunction.CountA(tmpRng.Offset(-lCor)) < rRng.Columns.Count
    lCor = lCor + 1
    If rRng.Row - lCor <= 1 Then
      Exit Do
    End If
  Loop
  If rRng.Row - lCor > 1 Then
    Set rRng = rRng.Offset(-lCor).Resize(rRng.Rows.Count + lCor)
  End If
  'rRng.Select
  CorrectRangeForHeaderRows = rRng
End Function
Private Function CorrectForTotalRow(rRng As Range) As Range
  'rRng.Select
  Dim tmpRng As Range
  Set tmpRng = rRng.Range(Cells(1, 1), Cells(1, rRng.Columns.Count))
  'tmpRng.Select

  Dim lCor As Long: lCor = rRng.Rows.Count
  Do While WorksheetFunction.CountA(tmpRng.Offset(lCor)) = 0
    lCor = lCor + 1
    If lCor > rRng.Rows.Count + 2 Then
      Exit Do
    End If
  Loop
  If lCor <= rRng.Rows.Count + 2 Then
    Set rRng = rRng.Resize(lCor + 1)
  End If
  'rRng.Select
   CorrectForTotalRow = rRng
End Function
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jo-Helge Rorvik