79467470

Date: 2025-02-25 17:56:49
Score: 1
Natty:
Report link

Hi I had the same issue

enter image description here

to solve the issue you need to go to the file "local.settings.json"

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "UseDevelopmentStorage=true",

to

{
  "IsEncrypted": false,
  "Values": {
    "AzureWebJobsStorage": "",
Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Luca

79467461

Date: 2025-02-25 17:54:49
Score: 1
Natty:
Report link

If you want to use SVG as a React Component, first, you need to convert the SVG file into a React Component, you can use online tools like Svg2jsx

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

79467453

Date: 2025-02-25 17:49:47
Score: 1
Natty:
Report link

Do you use external libraries? Some libraries like Chakraui are not stable with the new versions of Next.js. However, remove turbo from scripts in the package.json:

❌ "dev": "next dev --turbopack"
✅ "dev": "next dev"

Try it and let me know if it fixed

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Ali Hammad

79467444

Date: 2025-02-25 17:47:46
Score: 5
Natty:
Report link

I think you are trying to ask that edit icon always visible in bottom, even when the page is scrolled or getting scrolled, Am I right ??

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

79467431

Date: 2025-02-25 17:41:45
Score: 0.5
Natty:
Report link

agl@agl:~/Apuntes_HLC/Caronte/dockerfiles/sweb/nginx$ sudo docker build -t agl/ubuntubase -f Dockerfile . 2025/02/25 17:31:05 in: []string{} 2025/02/25 17:31:05 Parsed entitlements: [] [+] Building 0.1s (1/1) FINISHED docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.04kB 0.0s => WARN: InvalidDefaultArgInFrom: Default value for ARG ${AUTOR}/ubuntubase results in empty or invalid base image name (line 2) 0.0s

1 warning found (use docker --debug to expand):


1 | ARG AUTOR 2 | >>> FROM ${AUTOR}/ubuntubase 3 | 4 |

ERROR: failed to solve: failed to parse stage name "/ubuntubase": invalid reference format exit status 1

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

79467420

Date: 2025-02-25 17:39:45
Score: 2
Natty:
Report link

A dbt run does not trigger a refresh for dynamic tables; instead, Snowflake manages the refresh based on the target_lag and refresh_mode. To manually trigger a refresh, use:

sql ALTER DYNAMIC TABLE my_dynamic_table REFRESH;

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

79467418

Date: 2025-02-25 17:37:44
Score: 2
Natty:
Report link

I am having similar problem, I have

import { bootstrapApplication } from '@angular/platform-browser';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import { providePrimeNG } from 'primeng/config';
import Aura from '@primeng/themes/aura';
import { AppComponent } from './app/app.component';

bootstrapApplication(AppComponent, {
  providers: [
    provideAnimationsAsync(),
    providePrimeNG({
      theme: { preset: Aura }
    }),
    provideHttpClient(withInterceptorsFromDi())
  ]
});

But it doesn't seem to use the theme.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I am having similar problem
  • Low reputation (0.5):
Posted by: Szynkie

79467414

Date: 2025-02-25 17:36:44
Score: 3
Natty:
Report link

I downgraded my Kotlin version to '1.9.24' and it worked.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: unrealt3n

79467411

Date: 2025-02-25 17:36:44
Score: 2
Natty:
Report link

https://github.com/Khanhlinhdang/AutoTradingKit-Pro

A project for trader from trader. main features: draw tool, popular indicator like Tradingview; connect with many popular exchanges like binance, mexc... via api and secret key to live trade; build custom indicator, and clone famous custom indicator on MT4, MT5 and Tradingview; Build and test strategies.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Phạm Công Chế

79467402

Date: 2025-02-25 17:33:43
Score: 1
Natty:
Report link

Would this work?

REGEX PATTERN (PRCE2 Flavor)(Flags: Global (g))

 (?=.*?(?P<a>A)?.*)(?=.*(?P<b>B).*)?(?=.*(?P<c>C).*)?

Regex demo: https://regex101.com/r/1oYDOF/1

NOTES:


Great question! I did not know you can capture strings with lookahead. Fantastic!!!! This question opened a whole new world for me in regex. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: rich neadle

79467401

Date: 2025-02-25 17:33:43
Score: 0.5
Natty:
Report link

I try also with:

res.setHeader("Content-Disposition", `attachment; filename="${filename}"`);

but I don't found the filename in the result flow...

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

79467392

Date: 2025-02-25 17:29:42
Score: 0.5
Natty:
Report link

This is a VS-code extension issue more than a Stylelint one.

A hackfix is available at https://github.com/stylelint/vscode-stylelint/issues/490#issuecomment-2156218548.

[…] in VS Code, open the command palette and search "Preferences : Open User Settings (JSON)" and add this line in the json settings :

"stylelint.customSyntax": "postcss-scss"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: arkhi

79467386

Date: 2025-02-25 17:26:42
Score: 3.5
Natty:
Report link

FYI There are some tickets open for this at the cpython Github project:

However no recent activity.

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

79467378

Date: 2025-02-25 17:23:41
Score: 0.5
Natty:
Report link

We can use ECS task for two different purposes:

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

79467377

Date: 2025-02-25 17:23:41
Score: 1
Natty:
Report link

I did a deep dive into this, and the issue lies with the Java Docker API Client Dependency. As detailed in this issue, when the client detects a unix:// connection, it automatically changes the host to localhost:2375. This creates problems when the intended Docker host is a Unix socket rather than a TCP connection.

A potential solution? A PR has been submitted to address this, but it hasn’t been merged yet. However, the contributor has a working version available in a forked repo, which might be worth trying.

If anyone has an alternative fix, share please

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Deshy Dan

79467376

Date: 2025-02-25 17:22:41
Score: 1.5
Natty:
Report link

`JSONArray data = root.getJSONArray("data");

    ObjectMapper mapper = new ObjectMapper();

List list = mapper.readValue(data.toString(), new TypeReference<>() { })`

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

79467375

Date: 2025-02-25 17:22:41
Score: 3.5
Natty:
Report link

try adding colourbar afterwards

...
pr_image.plot(ax=ax, add_colorbar=False)
...
cbar = fig.colorbar(pr_image.isel(time=0).plot())
#show or save animation

i has the same issue and answered my own question here

how to animation with xarray dataset and cartopy projection with a colorbar?

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: dodohjk

79467371

Date: 2025-02-25 17:20:40
Score: 3.5
Natty:
Report link

Yes the issue is to setup 2FA using some authenticator app using here

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

79467367

Date: 2025-02-25 17:19:40
Score: 2
Natty:
Report link

Processo relacionado a instâncias do PostgreSQL no Docker no meu caso.

Verificar se existem containers docker em execução

Abrir um terminal e executar:

docker ps -a

Tentar parar containers docker relacionados ao postgresql

docker stop container_id

docker-compose down

Executar o comando top

Verificar se o processo do gunicorn foi finalizado.

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

79467363

Date: 2025-02-25 17:18:40
Score: 2.5
Natty:
Report link

Try the command from cmd. Do remember to run cmd as administrator. Let me know if this works!

netsh advfirewall firewall add rule name="SQL Server" dir=in action=allow protocol=TCP localport=1433

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

79467353

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

No, it must wait for an Action.

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

79467346

Date: 2025-02-25 17:11:38
Score: 5
Natty: 5
Report link

look at this YouTube video for this issue https://youtu.be/UHdoJrukLCM?feature=shared

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: NEo2701

79467339

Date: 2025-02-25 17:09:38
Score: 3.5
Natty:
Report link

What's the "Other Info" associated with the alert?

Are you sure you aren't encountering the CSP issue where you've failed to define a directive that doesn't fallback to Default Source?

Ex: https://github.com/zaproxy/zaproxy/issues/8700

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What's the
Posted by: kingthorin

79467326

Date: 2025-02-25 17:03:36
Score: 1.5
Natty:
Report link

This problem got solved by first checking the gdal version using the command "gdalinfo --version"...once u get the version, edit these lines of code in settings.py file of your project by removing the extension .dll by replacing with ... GDAL_LIBRARY_PATH = r'C:\OSGeo4W\bin\gdal310' GEOS_LIBRARY_PATH = r'C:\OSGeo4W\bin\geos_c.dll'

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

79467311

Date: 2025-02-25 16:55:35
Score: 0.5
Natty:
Report link

place_id_1985@penguin:~$

<html itemscope itemtype="https://schema.org/QAPage" class="html__responsive " lang="en">

<head>

    <title>.net - Regressed Issue: XamlCompilation error Value cannot be null, Parameter name: method - Stack Overflow</title>
    <link rel="shortcut icon" href="https://cdn.sstatic.net/Sites/stackoverflow/Img/favicon.ico?v=ec617d715196">
    <link rel="apple-touch-icon" href="https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a">
    <link rel="image_src" href="https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a"> 
    <link rel="search" type="application/opensearchdescription+xml" title="Stack Overflow" href="/opensearch.xml">
    <link rel="canonical" href="https://stackoverflow.com/questions/42546135/regressed-issue-xamlcompilation-error-value-cannot-be-null-parameter-name-met" />
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0"> 
    <meta property="og:type" content= "website" />
    <meta property="og:url" content="https://stackoverflow.com/questions/42546135/regressed-issue-xamlcompilation-error-value-cannot-be-null-parameter-name-met"/>
    <meta property="og:site_name" content="Stack Overflow" />
    <meta property="og:image" itemprop="image primaryImageOfPage" content="https://cdn.sstatic.net/Sites/stackoverflow/Img/[email protected]?v=73d79a89bded" />
    <meta name="twitter:card" content="summary"/>
</html>er src="https://cdn.sstatic.net/Js/modules/cookie-consent.en.js?v=36bebc18e04f"></script>a-document-lang

-bash: !DOCTYPE:

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

79467309

Date: 2025-02-25 16:54:34
Score: 2.5
Natty:
Report link

When I enqueued many (say 1000) kernels I noticed that enqueue operation took more and more time. Adding clFinish(queue) time after time gave ~15% increase of overall speed.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Taras

79467307

Date: 2025-02-25 16:53:34
Score: 1
Natty:
Report link

And old question and not sure if the information is still relevant or answered elsewhere.

The URIs you will need for this information will be read scopes to:

"https://graph.microsoft.com/v1.0/devices/" and "https://graph.microsoft.com/v1.0/users/"

The information is located in the "physicalIDs" property retrieved from the "Devices" uri, which must be parsed and used to retrieve the user with the "Users" uri

The phsycialIDs is an array containing objects with "[ID]:Value" format as a strings.

The one you need here is the "[USER-GID]" property. This can be split by the ":" delimiter.

The array elements are not in a standardized order, so you will need to find the associated [USER-GID] element manually.

It will most likely be in the format: [USER-GID]:{guid}:{device attributer number}

You can then use the GID GUID retrieved here to resolve the associated identity with the Users URI.

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

79467303

Date: 2025-02-25 16:52:34
Score: 0.5
Natty:
Report link

The issue likely comes from path resolution, encoding differences, or line endings. Try these fixes:

1️⃣ Use absolute path:

<includeAll path="classpath:db/changelog/migration"/>

2️⃣ Force UTF-8 encoding:
Run Spring Boot with:

-Dfile.encoding=UTF-8

3️⃣ Ensure consistent line endings:

dos2unix src/main/resources/db.changelog-master.xml

4️⃣ Check Liquibase version in Spring Boot:

System.out.println(LiquibaseUtil.getBuildVersion());

If mismatched, set Liquibase version in pom.xml.

🔧 Like home renovation 🏡, tiny misalignments (paths, encoding, versions) can break things! Keep settings consistent for a smooth fix. More help? 🚀

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Zafar Khan

79467301

Date: 2025-02-25 16:51:33
Score: 1.5
Natty:
Report link

Try these solutions in order:

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

79467285

Date: 2025-02-25 16:47:32
Score: 5.5
Natty: 5
Report link

constants-mocks.tsx

module.exports = { formInitialValues: { name: '', description: '', technicalName: '', type: '', sourceTypeId: 1, providerTypeId: 0, repositoryId: '', connectionId: '', applicationId: '', branchId: '', components: [], fileName: '', contentType: '', sessionIdFile: '', visibility: 'Private',
}, sourceTypes: { Provider: 0, NotDefined: 1, }, };

In the firs test:

jest.mock('./constants', () => require('~digital-lib-mocks/constants-mock'));

In the following tests I cannot change the mocked value to another value.

What can i do?

Reasons:
  • Blacklisted phrase (1): can i do
  • Blacklisted phrase (1): What can i do
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Fran Michelli

79467276

Date: 2025-02-25 16:45:32
Score: 1.5
Natty:
Report link

Good day. Your issue likely stems from two main problems: 1. The selector is incorrect – CSS does not recognize a page element unless explicitly defined in a @page rule. 2. Margins should be set inside @page – The correct way to apply print margins is using @page. Solution Modify your CSS like this:

@media print {
    @page {
        margin: 1in; /* Sets 1-inch margins for printing */
    }

    body {
        min-width: 1000px;
    }

    .container { 
        display: block; 
    }

    div, p {
        page-break-inside: auto; 
    }
}


•   @page is specifically designed for defining print settings, including margins.
•   The margin inside @page ensures that browsers recognize the 1-inch setting instead of defaulting to the system’s print settings.
•   The page selector in your code does not exist in standard HTML and does not affect print styling.

Now, when printing, check the print preview settings to confirm the margin is set correctly.

Reasons:
  • Blacklisted phrase (1): Good day
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @page
  • User mentioned (0): @page
  • User mentioned (0): @page
  • Low reputation (0.5):
Posted by: learnwithyan

79467272

Date: 2025-02-25 16:43:31
Score: 2.5
Natty:
Report link

All i did was check searching with regex and somehow it started working again...

Regex search added

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Max Alexander Hanna

79467271

Date: 2025-02-25 16:42:31
Score: 3
Natty:
Report link

Developing a Game for Both VR and FPS

Reading the above article will be helpful for you.

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

79467264

Date: 2025-02-25 16:40:31
Score: 1.5
Natty:
Report link

I hence wonder, when threads are waiting for I/O operations, e.g., user input, network I/O, disk I/O, etc, is it guaranteed that they'll yield the CPU resources to others?

Not that I know of, at least, when the thread is doing non-blocking I/O or polling, such as repeatedly checking whether I/O is ready, it may remain active and consume CPU resources.

If the answer is not, is there any way forcing them to do so? I noticed The scheme shall be able to be achieved by C, low-level hacking is acceptable.

If your OS is UNIX, maybe sched_yield is what you are looking for, provided that you are well aware of under what scenarios the thread is supposed to yield.

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: PkDrew

79467260

Date: 2025-02-25 16:39:30
Score: 5
Natty: 5
Report link

Same problem here. Even in 2025.

Reasons:
  • RegEx Blacklisted phrase (1): Same problem
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mendynotfrench

79467252

Date: 2025-02-25 16:35:29
Score: 2.5
Natty:
Report link

That work for me

npm i [email protected] or Yarn add [email protected]

cd android && ./gradlew clean cd ../ npx react-native run-android

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

79467249

Date: 2025-02-25 16:35:29
Score: 2.5
Natty:
Report link

the title of the subject is misleading, here you want to solve a leetcode problem, nothing to do with creating an instance of ListNode

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

79467244

Date: 2025-02-25 16:34:29
Score: 2.5
Natty:
Report link

When I enqueued many (say 1000) kernels I noticed that enqueue operation took more and more time. Adding clFinish(queue) time after time gave ~15% increase of overall speed.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Taras

79467227

Date: 2025-02-25 16:29:28
Score: 1
Natty:
Report link

I've found the issue - it has to do with the encoding of special characters.

My issue was with "Verfügbar, wenn online", the single reference to $odSyncedValues seems to force PowerShell to encode strings properly, while the same thing does not happen when it is referenced only in the condition?

I am still not entirely clear on how this happens, which is why I'll leave the question up for now.

But the "fix" is to do:

    $odSyncedValues = $odSyncedValues | ForEach-Object {
        [System.Text.Encoding]::UTF8.GetString([System.Text.Encoding]::Default.GetBytes($_))
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: dedphish

79467209

Date: 2025-02-25 16:26:27
Score: 3
Natty:
Report link

One possibility: There are some extra steps to take if you have set other JSON body parser parameters like changing the limit. See this comment for details on how to address it: Access raw body of Stripe webhook in Nest.js

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

79467202

Date: 2025-02-25 16:23:26
Score: 1
Natty:
Report link

Hello friend I also had that problem , but since I use it so it works try with the code below. if you do not have instantiated page use only page.update().

snackbar=ft.SnackBar(
    content=ft.Text(
        value="Login Ok",
        bgcolor="white",
    ),
    bgcolor="green",
    action="ok",
    duration=3000
)
self.page.overlay(snackbar)
snackbar.open=True
self.page.update()
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: JP_INC

79467198

Date: 2025-02-25 16:21:26
Score: 1
Natty:
Report link

This worked out for me:

wt -M -p "PowerShell" cmd /k "echo 1st pane"; ^
split-pane -H -p "PowerShell" cmd /k "echo 2nd pane"; ^
move-focus up; ^
split-pane -p "PowerShell" cmd /k "echo 3rd pane"; ^
move-focus down; ^
split-pane -p "PowerShell" cmd /k "echo 4th pane"

It will get you 4-paned square:

4-paned square terminal

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

79467196

Date: 2025-02-25 16:21:26
Score: 1
Natty:
Report link

Also, for those battling this and not finding any issues with show_menu_item, or any plugins or functions.php code overriding menu visibility - be sure to check the Screen Options dropdown at the very top right of your screen.. Even if the show_in_menu is set to TRUE, if you don't have that CPT checked in the Screen Options tab.. you won't see that item on the Menu page.

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

79467193

Date: 2025-02-25 16:21:26
Score: 10
Natty: 8
Report link

im having some troubles engaging with instagram API. Can you help me?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29796499

79467192

Date: 2025-02-25 16:20:25
Score: 2
Natty:
Report link

Use the force source map

I recently ran into a similar need, and realized that I could use sourcemaps for this. This idea is heavily inspired by this seemingly unrelated question.

So, we want a clickable link that

And we know the URL and line number of said file. We also know what error to throw.

To get there, we

  1. Make up a dummy file with a single throw statement at the correct line
  2. Append a source map that actually points at our file
  3. eval the resulting code
  4. Marvel at the result in the browser console

throwError({
  // Relative URLs also work. If your file is right next to the script, just put the filename here
  url: "https://cdn.jsdelivr.net/npm/[email protected]/esm/common.js",
  // Where does the error go?
  lineNumber: 16,
  // What should it say
  error: "I am an error in setMatrixArrayType",
});

// Based on https://stackoverflow.com/questions/65274147/sourceurl-for-css
function throwError({ url, lineNumber, error }) {
  // We need a source map mapping for each line, otherwise Firefox is unhappy.
  // First line is AAAA
  // Conveniently source map mappings are *relative* to the previous one.
  // So adding more lines is trivial
  let mappings = "AAAA" + ";AACA".repeat(lineNumber);
  // And this is what our source map looks like
  const sourceMap = {
    version: 3,
    file: null,
    sources: [url],
    sourcesContent: [null],
    names: [],
    mappings: mappings,
  };

  // So we make up some Javascript code with a proper line number and error throwing
  let generatedCode =
    "\n".repeat(lineNumber - 1) +
    "throw new Error(" +
    JSON.stringify(error + "") +
    ")";
  // And redirect it to WESL
  generatedCode +=
    "\n//# sourceMappingURL=data:application/json;base64," +
    btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));
  generatedCode += "\n//# sourceURL=" + sourceMap.sources[0];

  // Victory!
  eval(generatedCode);
}
<h1>Open the browser console</h1>
And then click on it.
Isn't this cool?

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Stefnotch

79467190

Date: 2025-02-25 16:20:25
Score: 1.5
Natty:
Report link

https://stackoverflow.com/a/28741328/24355600

Here's, IMO, an ingenius way of implementing such cleanup. Start your script (I'm using after foreach-object start) with finding all variables, variabling them and clear everything but in the end.

Start:

$sysvars = get-variable | Select-Object -ExpandProperty name
$sysvars += 'sysvars'

End:

Get-Variable * | Where-Object { $_.name -notin $sysvars } | Remove-Variable
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NobleRogue

79467188

Date: 2025-02-25 16:19:25
Score: 3.5
Natty:
Report link

They add an effortless cool vibe to any outfit, whether casual or dressy. Cuir Jackets

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

79467182

Date: 2025-02-25 16:17:24
Score: 0.5
Natty:
Report link

See this example on github

In brief

*.js

fetch("post.php", {
method: "post",
mode: "cors",
headers: {
  "Content-Type": "application/json"
},
body: {myData: "hello world"}
})

*.php

$data = json_decode(trim(file_get_contents("php://input")));
echo $data["myData"] // prints hello world!
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: SimoneMSR

79467175

Date: 2025-02-25 16:15:24
Score: 0.5
Natty:
Report link

This might appeal to someone it is based on work above:

IIF(charindex(' ', [YouColumn]) = 0, LEFT([YourColumn], LEN([YourColumn])), LEFT([YourColumn], charindex(' ', [YourColumn]) - 1)) AS NewColumnName

Sometime IIF is cleaner than CASE.

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

79467162

Date: 2025-02-25 16:11:22
Score: 2
Natty:
Report link

For now I am getting around the issue by executing the following command in the VisualStudio PowerShell:

dotnet publish -f net8.0-android -c Release -p:AndroidKeyStore=true -p:AndroidSigningKeyStore="my.keystore" -p:AndroidSigningKeyAlias=keyalias -p:AndroidSigningKeyPass=mypassword -p:AndroidSigningStorePass=mypassword -p:AndroidPackageFormats=aab -p:ApplicationId=com.myapp.maui

following this description:

https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-cli?view=net-maui-8.0

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Toni Turek

79467159

Date: 2025-02-25 16:10:22
Score: 3
Natty:
Report link

All mixed content resource requests are blocked, including both blockable and upgradable mixed content. This also applies to documents, ensuring the entire page is mixed content-free.

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

79467152

Date: 2025-02-25 16:07:21
Score: 1
Natty:
Report link

The CFS scheduler uses an rbtree as it runqueue, so the leftmost node has the lowest vruntime and will be scheduled next. If you put a new process in that tree, you have to make content fairly with the others. This is done by setting it's vruntime on the creation to the lowest vruntime in the tree. CFS tracks that number in its struct as rq->cfs.min_vruntime

As the documentation states:

CFS also maintains the rq->cfs.min_vruntime value, which is a monotonic increasing value tracking the smallest vruntime among all tasks in the runqueue. The total amount of work done by the system is tracked using min_vruntime; that value is used to place newly activated entities on the left side of the tree as much as possible.

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

79467145

Date: 2025-02-25 16:03:21
Score: 3
Natty:
Report link

Everything worked, even without dynamic loading of pqxx, apparently the real problem was with cracked w10, installed the usual one, everything works perfectly. Sorry for wasting your time. Thanks for your help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-0.5): Thanks for your help
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Takuya Yagami

79467126

Date: 2025-02-25 15:54:19
Score: 0.5
Natty:
Report link

If you set DEEPFACE_HOME environment variable to the target folder, then deepface will use that folder for weights. If you don't have that env var, then it will use your home folder by default. Corresponding logic can be found here.

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

79467124

Date: 2025-02-25 15:54:19
Score: 1.5
Natty:
Report link

You can start the process from within IDA, first load the binary ( exe ) into IDA ( File -> Open, or select on the IDA's start menu ), then select a debugger, "Local Windows Debugger" will work fine. After which you can click the green Play Icon.

Selecting a Debugger

Starting the debugger

After which, IDA automatically breaks at the first function call. You can set the breakpoints even before starting the debugger.

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

79467123

Date: 2025-02-25 15:54:19
Score: 3.5
Natty:
Report link

Just change the background color like you would do in any other cell.

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

79467121

Date: 2025-02-25 15:54:19
Score: 1.5
Natty:
Report link

If you have form and write post = form.save(), saving form returns model instance. So you can simply use post.id after saving.

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

79467107

Date: 2025-02-25 15:49:17
Score: 1.5
Natty:
Report link

a positive Kendall's tau indicates that the trend is increasing (conversely a negative kendall's tau indicates a decreasing trend). Also, the S value, if positive indicates an increasing trend. Finally, to characterize the magnitude of a trend, you could use Sen's slope (for example: 45 mg/L/year) The sign of the slope would indicate an increasing or decreasing trend.

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

79467103

Date: 2025-02-25 15:46:17
Score: 3.5
Natty:
Report link

The answer (thanks Igor) was to change VTS_VARIANT to VTS_PVARIANT in the dispatch map. I got confused because the comment for VTS_VARIANT in afxdisp.h says "'const VARIANT&' or 'VARIANT*'".

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

79467101

Date: 2025-02-25 15:43:16
Score: 0.5
Natty:
Report link

I have found a working solution (for my needs) using the pico sdk multicore library.

As I understand it, using just the default pico SDK, you cannot use any multithreading, such as <thread> or <pthread.h>. However, the pico SDK comes with a useful library called pico/multicore.h. It allows you to use the second core.

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

79467100

Date: 2025-02-25 15:43:16
Score: 2.5
Natty:
Report link

just in case you too were facing this issue on an HPC/ssh system, you need to separately install the Python extension for the ssh on VS code :)

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

79467092

Date: 2025-02-25 15:40:15
Score: 0.5
Natty:
Report link

Modern PHPDoc can be used like following:

More in here

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @psalm-
Posted by: Md. A. Apu

79467081

Date: 2025-02-25 15:36:13
Score: 8.5 🚩
Natty: 6
Report link

Not an answer, but did you ever solve this? I have just migrated and am seeing similar behaviour, only one message a minute being read from the queue, although I am using the ServiceBusProcessorClient to listen for incoming messages.

Reasons:
  • Blacklisted phrase (1): Not an answer
  • RegEx Blacklisted phrase (3): did you ever solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sarah Saunders

79467075

Date: 2025-02-25 15:34:12
Score: 2
Natty:
Report link

Thanks to the Microsoft fabric community, I found the proper way to do:

To make "Selling Object" a single category (instead of multiple columns), we need to unpivot the data.

First open your Power Query: Select the table containing selling obj 1, selling obj 2, and selling obj 3.

Then Highlight the columns selling obj 1, selling obj 2, and selling obj 3.

Next rename Columns

Then just create your pie chart!

https://community.fabric.microsoft.com/t5/Desktop/breakdown-measure-on-pie-chart-for-Power-BI-data-managing-issue/td-p/4422136#M1375217

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Cervelle

79467061

Date: 2025-02-25 15:30:11
Score: 3
Natty:
Report link

When I try to reproduce your issue, the error you speak about doesn't occur.

If you want to check, here is the reproduction project test. Your issue might come from another part of your implementation. Could you reproduce your issue in a Stackblitz to let the community check it?

react-admin's stackblitz: https://stackblitz.com/github/marmelab/react-admin/tree/master/examples/simple

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Erwan Bourlon

79467055

Date: 2025-02-25 15:26:10
Score: 3
Natty:
Report link

I have been researching a similar solution. I came across this Notebook, maybe it will be helpful to you.

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

79467054

Date: 2025-02-25 15:26:10
Score: 2
Natty:
Report link

My problem was that the website could not connect to the database over mobile net, when I used the stardard wifi it worked...

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

79467053

Date: 2025-02-25 15:26:10
Score: 1
Natty:
Report link
    public boolean palindromeCheck(String word) {
    if (word.length() <= 1) return true; //Base Case
    if (word.charAt(0) != word.charAt(word.length()-1)) return false; // Base Case
    else return palindromeCheck(word.substring(1, word.length()-1)); //Recursive Case
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Simon

79467051

Date: 2025-02-25 15:25:10
Score: 1
Natty:
Report link

Your frame count depends on the sample rate. Your latency is probably 0.012s or 0.011s which explains the frame count of 470/471. I figured this is not always a power of 2, especially if the sample rate is 48000 (as is the default case in newer devices since the iPhone 6s).

However, I highly recommend to set the latency to a value that you always get a frame count that is a power of 2. Otherwise some (badly written) plug-ins won't work correctly.

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

79467043

Date: 2025-02-25 15:24:09
Score: 3
Natty:
Report link

Looks like this is now possible in AG Grid 32 using

tooltipShowMode="whenTruncated"

https://ag-grid.com/archive/32.0.0/javascript-data-grid/grid-options/#reference-tooltips-tooltipShowMode

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

79467040

Date: 2025-02-25 15:23:08
Score: 6 🚩
Natty:
Report link

I use this logic in the Databricks LTS version 15.4. There I saw which is the version of hadoop: https://docs.databricks.com/aws/en/release-notes/runtime/15.4lts org.apache.hadoop --> hadoop-client-runtime --> 3.3.6

Do you expect that it should work with it?

Best regards Ruben

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ruben Hartenstein

79467037

Date: 2025-02-25 15:22:08
Score: 2
Natty:
Report link

if your images are not showing on UI just follow these steps Run this command to check your Metro version => npx metro --version

Also, verify the installed Metro packages using this command: npm list metro If Metro is missing or outdated or you see multiple version, reinstall it using this command npm install metro@latest metro-config@latest metro-core@latest --save-dev

this might want permission , enable permission and run this command npx react-native start --reset-cache Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hamza Sarwar

79467036

Date: 2025-02-25 15:22:08
Score: 2.5
Natty:
Report link

I was able to make it work by creating a custom help form class that inherits from Form and overriding the OnLoad method to make it invisible.

Then, passing it to the base ApplicationContext constructor to populate MainForm. Unsure why this works though.

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

79467034

Date: 2025-02-25 15:22:08
Score: 1
Natty:
Report link

The %teamcity.build.branch% property may not always exist (see https://www.jetbrains.com/help/teamcity/predefined-build-parameters.html#Build+Branch+Parameters), therefore it appears to deem build agents incompatible as it would not be present.

Consider alternative property such as teamcity.build.vcs.branch.<VCS_root_ID>. This (in my case using git e.g. ) is present and therefore agents can run.

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

79467022

Date: 2025-02-25 15:17:07
Score: 3
Natty:
Report link

Had the same issue today on my ubuntu (Amazon workspace on a windows dell):

Now pressing selected key + TAB auto-completing works correctly.

enter image description here

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

79467007

Date: 2025-02-25 15:11:05
Score: 3.5
Natty:
Report link

Solved, please use Bazelisk to install Bazel. See the updates in the question to get the command lines.

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

79466996

Date: 2025-02-25 15:08:04
Score: 1.5
Natty:
Report link

This happened to me.

What I noticed is that there were processes running that simply wouldn't let me execute DROP TABLE or ALTER TABLE on the PK or FK.

First I did:

SELECT * FROM pg_stat_activity

I didn't filter by just the active ones because the ones that were blocking were in "idle" status

And then I killed those processes:

SELECT pg_cancel_backend(<pid of the process>)

I killed all the processes that were running for that database. I made sure that this wouldn't affect my application.

Link : How to stop/kill a query in postgresql?

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

79466993

Date: 2025-02-25 15:08:04
Score: 1.5
Natty:
Report link

Adding to the previous, @Jhonatan answer you can just do

fmt.Printf("data \u001B[1;32m %s \n", "Hello man")

You can get list of colours from here https://gist.github.com/vratiu/9780109

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

79466986

Date: 2025-02-25 15:06:04
Score: 1.5
Natty:
Report link

Silly but, for my case, accidentally unshelved outdated go.mod file and didn't notice that module name is not how it supposed to be.

Then i started to see this error. Anyway, It is fixed as i reverted the go.mod file.

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

79466964

Date: 2025-02-25 14:59:02
Score: 3.5
Natty:
Report link

https://disallowed.‏agent.استعادة.جميع.البرامج.الاساسيه.الاقتراضية.مجانا.مدى.الحياة.بدون.مقابل

ألختأ 403 أو دأناسأللالفيود_فيسورأجونت وختأ جالالجلو. مأ ألأمر؟ أجرى Google مؤخرًا تغييرًا يتطلب منك تثبيت مستعرض متوافق لكي تتمكن من إكمال إضافة حسابك. يُرجى الانتقال إلى متجر Google Play وتنزيل Chrome (يجب أن يكون Chrome)، ثم تعيين Chrome كمستعرض افتراضي ومحاولة إضافة الحساب مرة أخرى. سيتيح لك ذلك المتابعة بدون مشكلة.

Reasons:
  • No code block (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: حميد احمد

79466959

Date: 2025-02-25 14:57:01
Score: 1.5
Natty:
Report link
dialog:open::backdrop {
  background-color: rgb(0 0 0 / 25%);
  backdrop-filter: blur(4px);
}

that's works with me

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

79466938

Date: 2025-02-25 14:49:00
Score: 1
Natty:
Report link

https://www.diawi.com/

Development & In-house Apps Wireless Installation Diawi is a tool for developers to deploy Development and In-house applications directly to the devices.

  1. Upload the iOS or Android application.
  2. Send the link to your testers, clients, friends or even use it yourself.
  3. Open the link in the browser on the device and click on install.

It works for iOS and Android.

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

79466932

Date: 2025-02-25 14:48:00
Score: 1
Natty:
Report link
    [Column(DataType = DataType.Decimal, Precision = 38, Scale = 15)]

These annotations on object's properties helped to resolve the issue on MS SQL 2019

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

79466929

Date: 2025-02-25 14:45:59
Score: 2.5
Natty:
Report link

MUI (Material UI) is not compatible with React Native. It's intended only for the web. You'll have to find a different solution for the UI.

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

79466904

Date: 2025-02-25 14:37:57
Score: 4
Natty:
Report link

Never mind, this was just a spring configuratin problem. The same as in this question: Testcontainers loss of connection after some tests running

I was missing the @DirtiesContesxt annotation

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @DirtiesContesxt
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Raining Man

79466895

Date: 2025-02-25 14:34:56
Score: 1.5
Natty:
Report link

I think you mean laravel orm? here's the laravel way of doing this query:

$model_name = ModelName::findOrFail($id);
$model_name->update(['key1'=>'val1','key2'=>'val2']);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: issam abbas

79466892

Date: 2025-02-25 14:34:56
Score: 3.5
Natty:
Report link

Unfortunately, not(if the channel is private). All this "confirming" process takes place on Telegram servers and is not possible without personal admin's approval or privileged bot, who has rights to manage this link. Telegram is secure in this way.

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

79466885

Date: 2025-02-25 14:32:56
Score: 4.5
Natty:
Report link

Add the meta tag for it.

<link rel="icon" href="/favicon.ico"/>

Further reference: Favicon Standard - 2024 - svg, ico, png and dimensions?

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: viruchith

79466877

Date: 2025-02-25 14:29:55
Score: 3
Natty:
Report link

I was able to use the marked js library with little effort. See this commit.

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

79466875

Date: 2025-02-25 14:29:55
Score: 1.5
Natty:
Report link
w=[]
for h in range(int(input())):
    w.append(input())
j=[h for h in w if not h is ""]
print(w)
print(j)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nation

79466874

Date: 2025-02-25 14:29:55
Score: 2
Natty:
Report link

FYI, Had a problem with Android Builds Uninstalling the New Input system, then change to old worked for me.

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

79466871

Date: 2025-02-25 14:28:55
Score: 0.5
Natty:
Report link
    # Define the downloadUI function
downloadUI <- function(id, download_text = "Download") {
    div(id = id,
        downloadButton(id, label = download_text, icon = icon("download")),
        bsTooltip(id, "Click to download the report as a ZIP file",trigger = "hover")
    )
}

Just needed to swap the bsButton with downloadButton

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

79466861

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

The problem was at the header content. So, instead of

headers={"Content-Type":"application/json", "Authorization": f"Bearer {access_token}"

I moved the headers from the httpx "client" declaration to outside and replaced it by this:

headers={"Accept":"*/*", "Token": f"Bearer {access_token}"

i only figured this out when I was looking at the token endpoint curl request being genarated at the token app swagger. That was the reason behind the 401 response and utimately the json error

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

79466860

Date: 2025-02-25 14:23:53
Score: 1.5
Natty:
Report link

Thanks for the suggestions murali, I found the issue in customer.first_name argument.

    <mat-form-field appearance="fill" class="customer-dropdown">
    <mat-label>Select Customer</mat-label>
    <mat-select (selectionChange)="onCustomerChange($event.value)">
      <mat-option *ngFor="let customer of customers$ | async as customers" [value]="customer.id">
        {{ customer.first_name }}
      </mat-option>
    </mat-select>
  </mat-form-field>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Deepak

79466855

Date: 2025-02-25 14:22:53
Score: 2.5
Natty:
Report link

There are several ways, depending on the required precision and the sleep time, especially for short wait under 1 milliseconds. A complete study is on https://www.javacodegeeks.com/2015/11/lets-pause-for-a-microsecond.html

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

79466846

Date: 2025-02-25 14:18:52
Score: 2.5
Natty:
Report link

{% include "form_snippet.html" with form=form %}

I would rather user include, if you trying to use same form snippets.

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

79466836

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

I had similar issue today while doing playwright training course...my tests were running twice! It took me sometime before to realise I had 2 'chromium' settings under projects (probably bad copy-paste😅) double-check your 'playwright.config.ts' file to make sure you haven't line duplicated by error as below

projects: [
{
  name: 'chromium',
  use: { ...devices['Desktop Chrome'] },
},

{
  name: 'chromium',
  use: { ...devices['Desktop Chrome'] }, 
},

{
  name: 'webkit',
  use: { ...devices['Desktop Safari'] },
},
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Dalila

79466827

Date: 2025-02-25 14:12:50
Score: 2.5
Natty:
Report link

the tr at the end of the long aws cli line contained an unmatched '. The trick is, groovy seems to ignore the commenting out of lines in shell blocks, or requires a different comment character.

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

79466825

Date: 2025-02-25 14:10:50
Score: 3
Natty:
Report link

Use !!loading not {loading}

disabled={email.length==0||password.length<7 || !!loading}

TouchableOpacity's props.disabled MUST be a strict boolean, but you have:

disabled={email.length==0||password.length<7 ||{loading}}

{loading} is already inside brackets, disabled={...}. The outer brackets are all you need.

So that reads as an object literal instead just the loading variable (ie {loading} = {loading:loading} ). Just remove the inner brackets to have loading read as a variable. If your loading variable is ever optional( boolean|undefined) or an empty string, cast it to boolean just in case: (!!loading).

If you get similar errors, check your other props.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): get similar error
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tyler

79466823

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

I totally get where you're coming from! When it comes to LLMs and math, one of the big challenges is how they process numbers as tokens. A number like "1,234,567" might be broken down into smaller parts ("1", ",", "234", etc.), which makes it harder for the model to treat it as a single value. Plus, since LLMs are designed to predict the next token rather than perform precise calculations, they’re not really optimized for mathematical accuracy.

If you need 100% accuracy, I’d really recommend handling the math manually instead of relying on the agent. I know it’s an extra step, but it’ll save you from any potential errors down the line. Let me know if I can help brainstorm a better approach!

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