79772795

Date: 2025-09-23 15:28:31
Score: 3
Natty:
Report link

In the newer versions Chroma doesn't accept lists anymore. To bypass this I'm adding the keywords to my document and using where_document $contains to retrieve them. Doesn't work as well but it's better than nothing

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Elena López-Negrete Burón

79772794

Date: 2025-09-23 15:26:31
Score: 1.5
Natty:
Report link

For anyone who might be encountering the same problem as me, the answer is to make sure all references are assigned correctly. Both forward and back. Also, I was initially wondering why a particular foreign key is causing problems while others are not. It turns out this particular foreign key is NOT NULLABLE while the others are so it didn't cause a problem. Initially, I was not setting the back references, I only set the references sufficient to perform cascade persist. Example, in the case above, I linked D to B so that when B is saved, D will also be saved. BUT, I did not link D to C so JPA had no idea that D is dependent on both B and C. Also, I removed the reference from C to D because in my case I didn't really need the relationship to be bidirectional.

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

79772793

Date: 2025-09-23 15:25:30
Score: 0.5
Natty:
Report link

Use DagsHub’s Artifact Storage Only

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

79772788

Date: 2025-09-23 15:22:30
Score: 2.5
Natty:
Report link

The issue was caused by a library not initializing correctly in TestFlight builds, likely due to the archiving process.

Fix:

In Xcode → Build Settings → Deployment → Strip Style, change the value from All Symbols to Non-Global Symbols.

After applying this, the app launched normally on iOS 26 real devices.

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

79772784

Date: 2025-09-23 15:17:28
Score: 3.5
Natty:
Report link

I ended up heavy-handedly solving this by destroying the DOM objects and reloading the converse.js javascript itself from scratch.

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

79772782

Date: 2025-09-23 15:16:27
Score: 6 🚩
Natty: 3
Report link

Did you come up with a solution for this, having a similar problem where a GlobalKTable is the elegant solution but doesn't trigger events as currently constructed.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): having a similar problem
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: clive_

79772780

Date: 2025-09-23 15:14:26
Score: 5
Natty:
Report link

The workaround I've found is to send that segment a journey that populates tasks for its members (instead of a typical journey that, say, sends emails). See here for basic methodology: https://sirajabousaid.substack.com/p/easily-export-marketing-segment-members. However, I've found unworkable/impractical the final step there to export directly from tasks in Activities view. Instead, I make a contacts view with filters like the following:

Tasks (Regarding) Contains data

Subject Equals [NAME OF TASK]

I'm also interested in the converse of this problem, making a real-time segment from a contacts view (assuming that the fields selection in defining real-time segments can't do the job for whatever reason). If anyone has any solutions there, I'd be grateful.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): I'd be grateful
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: overthewall

79772774

Date: 2025-09-23 15:10:25
Score: 3
Natty:
Report link

IntelliJ IDEA 2025.2.2

Rt click on the Main Toolbar then click on "Add Action to Main Toolbar" > "Back / Forward"

enter image description here

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

79772769

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

Objects of the date type are always naive.

https://docs.python.org/3/library/datetime.html#determining-if-an-object-is-aware-or-naive

Therefore, construct a UTC datetime and get its date

import datetime
date = datetime.datetime.now(tz=datetime.timezone.utc).date()
print(date)  # 2025-09-23

My personal opinion, though? Keep the aware datetime instead of just the date. You can always call .date() on it, or create a new aware datetime with the hours, minutes, seconds, and microseconds removed.

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

79772764

Date: 2025-09-23 15:02:22
Score: 3.5
Natty:
Report link

I can confirm this is a bug in `lld-link.exe`, see here: https://github.com/llvm/llvm-project/issues/82050

A fix is available since LLVM 21.

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

79772753

Date: 2025-09-23 14:53:19
Score: 3
Natty:
Report link

So I managed to overcome this problem by adding a build-manifest.json file to the "basedirectory" immediately after the npm run build step... but now I'm getting the following error
Here is the the screenshot of the error

Reasons:
  • RegEx Blacklisted phrase (1): I'm getting the following error
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Katleho Komeke

79772747

Date: 2025-09-23 14:50:19
Score: 3
Natty:
Report link

and for ?

- parent
- sub module A
- sub module B
-- sub module B1
-- sub module B2
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: user1568220

79772745

Date: 2025-09-23 14:49:18
Score: 1.5
Natty:
Report link

I ran into the same issue while expanding a burger menu on iOS. Tried using 100svh/dvh/lvh and even env(safe-area-inset-bottom), but nothing worked.

What finally helped was handling the body styles differently:

This prevents the bottom widget from expanding unexpectedly and makes the element properly use the available viewport.

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nirmal Premil

79772742

Date: 2025-09-23 14:48:18
Score: 0.5
Natty:
Report link

i know its unrelated but if you looking for a nice scale google docs looks like they have a nice scale and they use these:

:root { font-size: 14px; }
h1{font-size:2rem;}
h2{font-size:1.6rem;}
h3{font-size:1.4rem;}
h4{font-size:1.2rem;}
h5{font-size:1.1rem;}
h6{font-size:1.1rem;font-style: italic;}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Technolo Jesus

79772738

Date: 2025-09-23 14:47:18
Score: 1
Natty:
Report link
RegisteredCredential registered = RegisteredCredential.builder()
        .credentialId(result.getKeyId().getId())
        .userHandle(request.getUser().getId())
        .publicKeyCose(result.getPublicKeyCose())
        .signatureCount(result.getSignatureCount())
        .build();

This resolves problem
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Karol Wolny

79772727

Date: 2025-09-23 14:40:16
Score: 0.5
Natty:
Report link

I got this error message when I used the wrong username for the database.

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

79772718

Date: 2025-09-23 14:32:14
Score: 3
Natty:
Report link

l=int(input("enter the value of l"))

b=int(input ("enter the value of b"))

a=l*b

Print("area of rectangle a")

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

79772707

Date: 2025-09-23 14:19:11
Score: 0.5
Natty:
Report link

The issue is that the & character in "Bunnies & Burrows" is being interpreted as the start of an XML entity (like &, <, etc.), but "Burrows" isn't a valid XML entity name.

The Fix: XML Escape the Ampersand

In XML, you need to escape the & character as &:

search_term = "Bunnies & Burrows"xml_safe_term = search_term.replace("&", "&")# Result: "Bunnies & Burrows"

Try this and see if it yields any clues:

<?php

$test = "Bunnies & Burrows";

echo "Original: " . $test . "\n";

echo "Escaped: " . htmlspecialchars($test, ENT_XML1, 'UTF-8') . "\n";echo "Manual: " . str_replace('&', '&', $test) . "\n";

Reasons:
  • Whitelisted phrase (-1): Try this
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Brian Geraghty

79772701

Date: 2025-09-23 14:12:09
Score: 1.5
Natty:
Report link

Why not use the object-oriented way of creating plots with matplotlib?

for (site, v) in weather_data.items():
    f, ax = plt.subplots()
    for day, value in v["Avg"].items():
        ax.plot(value[0], value[1], label = site)
    
    ax.legend()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Why not use the
  • High reputation (-1):
Posted by: raphael

79772693

Date: 2025-09-23 14:03:07
Score: 3
Natty:
Report link

Hi I also run into this issue and running the script here works for me!

https://github.com/microsoft/vscode/issues/208117#issuecomment-2125704871

Reasons:
  • Whitelisted phrase (-1): works for me
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: dureduck

79772688

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

In case someone gets here... I got this issue and the reason was that I was linking with the release version of the OpenCV library instead of the debug version in my Debug configuration.

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

79772674

Date: 2025-09-23 13:45:02
Score: 2.5
Natty:
Report link

I recently encountered a similar problem. It was related to having two biosphere databases in the project, which apparently created a conflict such that flows of one were not characterised.

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

79772666

Date: 2025-09-23 13:38:00
Score: 3.5
Natty:
Report link

Metric source - Service Bus Queue

Your application or other components can transmit messages on an Azure Service Bus queue to trigger rules.

https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-autoscale-overview?tabs=portal-1

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

79772661

Date: 2025-09-23 13:36:00
Score: 2
Natty:
Report link

I got hit by that as a nice but simple VS Code extension tried to search a huge subfolder (node_modules) for keywords on startup and obviously totally ate up VS Code by this. Disabling "on startup" in the extension's setting made things well.

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

79772660

Date: 2025-09-23 13:34:59
Score: 4
Natty: 4.5
Report link

Now I use solana_program::borsh1::xxx (see https://github.com/baiwfg2/solana-demos/commit/cf9e25b56a4160f64a1e09129d585fe1060f6c64)

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

79772648

Date: 2025-09-23 13:21:56
Score: 1
Natty:
Report link

Aligning custom buttons perfectly with the default caption buttons using only the HeaderTemplate can be quite limiting. The HeaderTemplate is primarily intended for defining the header content, not for integrating with the native window caption controls.

To achieve precise alignment and behavior similar to default caption buttons, it is recommended to customize the style of the floating window itself. Specifically, it can be modified the - FloatWindowStyle by accessing the NativeWindowStyle property of the DockingManager.

In the attached sample, a custom Refresh button was added directly into the header style and bound it to the ContentControl within the NativeFloatWindow template. This approach ensures the custom button aligns seamlessly with the default window controls and behaves consistently. Attached are the sample project and demo video for reference.

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

79772646

Date: 2025-09-23 13:17:54
Score: 2
Natty:
Report link

If you use prettier 2, then use the HTML parser:

const prettierHtml = await import('prettier/parser-html');

It contains the angular parser anyway:
enter image description here

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

79772643

Date: 2025-09-23 13:14:54
Score: 2
Natty:
Report link

To become a great developer, start with a strong foundation. Learn the basics of programming: variables, loops, functions, and object-oriented programming. Study data structures and algorithms like arrays, trees, and sorting—they teach you how to solve problems efficiently. Basic math and logic will sharpen your thinking.

Pick a primary language and master it. Popular choices include JavaScript, Python, Java, or C#. Once comfortable, explore others to broaden your skills. Learn to use Git for version control and get familiar with command-line tools. Practice using IDEs like VS Code or IntelliJ.

Understand databases—both SQL (e.g., MySQL, PostgreSQL) and NoSQL (e.g., MongoDB). Learn the web basics: HTML, CSS, JavaScript, and how the internet works (HTTP, APIs). Choose a framework or library relevant to your path, such as React for front-end or Node.js/Django for back-end.

Focus on problem-solving. Use platforms like LeetCode, HackerRank, or Codewars to practice coding challenges. Learn design patterns and software architecture principles like SOLID to write clean, scalable code. Study testing (unit and integration tests) and debugging techniques.

Build real projects. Start with small tasks like a to-do app or personal website. Progress to full-stack apps, collaborative work, or open-source contributions. Deploy your projects using GitHub Pages, Netlify, or Vercel and keep a public portfolio.

Develop professional skills. Communicate clearly with teammates and non-technical people. Learn Agile or Scrum workflows and tools like Trello or Jira. Be open to code reviews and feedback—they improve your skills and teamwork.

Keep learning. Technology changes fast, so follow blogs, podcasts, or conferences. Study cloud computing (AWS, Azure, GCP), APIs, microservices, and security practices. Over time, consider specializing in areas like AI/ML, mobile development, blockchain, or SaaS.

Build good habits. Code consistently, even in small amounts. Read other developers’ code to learn new techniques. Teach others through blogging or mentoring—explaining ideas deepens your understanding. Join communities like Reddit’s r/programming, Dev.to, or local meetups to connect and learn.

Finally, stay curious and patient. Becoming an excellent developer takes time and practice. Focus on problem-solving, keep improving your projects, and seek feedback. Combine strong technical skills, effective communication, and consistent effort—you’ll stand out as a capable and adaptable developer.

Reasons:
  • Blacklisted phrase (1): how to solve
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ologun henry

79772641

Date: 2025-09-23 13:10:53
Score: 2.5
Natty:
Report link

I just ran into same problem
what if you add a timer to your app that is being refreshed every sec, and if time ever runs out it will mean app was closed.

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

79772615

Date: 2025-09-23 12:54:44
Score: 6.5 🚩
Natty:
Report link

Thanks for the answer but this isn't convinient at all.
Let's say I just want to show a list of cars, and I have a li containing the color like this
Color: {color}

I can't use this color to style the div with tailwind classes (to give a red background for example) so I'll have to create a 2nd variable and imo that's bad ... I would like to use only one variable to do 2 things.

The only solution I found is to use the safelist array in the config file and it's a bad solution so I was looking for a real better solution.

I was under the impression that postcss fixed it but the issue came back so probably didn't came back.

If someone can enlighten me I would appreciate, thanks in advance.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1.5): would appreciate
  • RegEx Blacklisted phrase (3): thanks in advance
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Arn0low

79772600

Date: 2025-09-23 12:40:40
Score: 2.5
Natty:
Report link

You can duplicate the measure you are using on the chart and create a new one to show data from 2020 to 2023 as adotted line. The original measure reflects data from 2020 to 2023 and is solid color. You add both measures and create a dual axis charts. Then under marks you can edit the line before the 2023 data and after. Otherwise you can't make a semi solid, semi dotted (yet).

enter image description here

enter image description here

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

79772593

Date: 2025-09-23 12:34:39
Score: 0.5
Natty:
Report link

0

you can use my captcha Library :

Require this package with composer:

composer require hpd/captcha

Usage:

    <img src="{{captcha_get_src()}}" title="Captcha" alt="Captcha">
    <div> {!!captcha_get_img()!!}</div>
/* Validation */
    Route::post('captcha_check', function() {
         $validator = Validator::make($request->all(), [
                'captcha' => 'required|captcha',
            ]);

            if ($validator->fails()) {
                return redirect()->back()
                    ->withErrors($validator)
                    ->withInput();
            }
   
 });

This package also supports API mode.

👉 Read more at the link below

https://github.com/hamid-hpd/captcha

Reasons:
  • Blacklisted phrase (1): the link below
  • Whitelisted phrase (-1.5): you can use
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hamid

79772591

Date: 2025-09-23 12:32:38
Score: 2.5
Natty:
Report link

In Tableau Desktop try using the top toolbar: Analysis -> Table Layout -> Show Empty Rows / Columns.

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

79772590

Date: 2025-09-23 12:32:38
Score: 1
Natty:
Report link

Your data disappears because you’re running MongoDB with --rm, which deletes the container before it can flush data to disk. Also, show dbs won’t display your notes DB until it has real data written. To fix this, remove --rm from your docker run so the container shuts down cleanly, and always check with use notes; db.notes.find() instead of just show dbs. Also confirm your volume is mounted with docker volume inspect mongodb. This way, your data will persist across restarts.

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

79772586

Date: 2025-09-23 12:27:37
Score: 2
Natty:
Report link

I saw the same behavior and it turned out not to be Cloudflare or our backend at all. The culprit was Norton Safe Web’s QUIC/HTTP3 scanning — when enabled, it caused random stalls before DNS/connection. Disabling just that feature fixed the issue completely. Worth checking if affected users run Norton or similar AV software.

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

79772563

Date: 2025-09-23 12:02:31
Score: 3
Natty:
Report link

You can manually dispose of a provider in Flutter by calling dispose() on the controller or state object within your widget's dispose() method.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pauls Creationids Interior Des

79772562

Date: 2025-09-23 12:00:30
Score: 0.5
Natty:
Report link

you can use my captcha Library :

Require this package with composer:

composer require hpd/captcha

Usage:

    <img src="{{captcha_get_src()}}" title="Captcha" alt="Captcha">
    <div> {!!captcha_get_img()!!}</div>
/* Validation */
    Route::post('captcha_check', function() {
         $validator = Validator::make($request->all(), [
                'captcha' => 'required|captcha',
            ]);

            if ($validator->fails()) {
                return redirect()->back()
                    ->withErrors($validator)
                    ->withInput();
            }
   
 });

👉 Read more at the link below

https://github.com/hamid-hpd/captcha

Reasons:
  • Blacklisted phrase (1): the link below
  • Whitelisted phrase (-1.5): you can use
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hamid

79772556

Date: 2025-09-23 11:58:30
Score: 2
Natty:
Report link

const el = {

container: qs('.mo-container'),

i: qs('.lttr--I'),

l: qs('.lttr--L'),

o: qs('.lttr--O'),

v: qs('.lttr--V'),

e: qs('.lttr--E'),

y: qs('.lttr--Y'),

o2: qs('.lttr--O2'),

u: qs('.lttr--U'),

lineLeft: qs('.line--left'),

lineRight: qs('.line--right'),

colTxt: "#763c8c",

colHeart: "#fa4843",

blup: qs('.blup'),

blop: qs('.blop'),

sound: qs('.sound'),

image: qs('.mo-image')

};

Reasons:
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: MD Alam

79772551

Date: 2025-09-23 11:56:28
Score: 7 🚩
Natty: 6.5
Report link

That API has not been fully deprecated. There are some endpoints (like the one we're talking about here, to retrieve the reviews data) that have not been migrated yet. For those, according to the documentation, the old API v4.9 must be used. Still it does not work.

Leo Rebaz, where you able to solve this?

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: acosci

79772550

Date: 2025-09-23 11:55:28
Score: 2.5
Natty:
Report link

Don’t try to solve this with DRM overlays (that’s fragile and misleading).

Instead : Look at SecureDrop → open-source, vetted, designed for exactly this.

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

79772541

Date: 2025-09-23 11:43:24
Score: 1.5
Natty:
Report link

body { font-family: Tahoma, sans-serif; background: #f0f8ff; margin: 20px; text-align: center; } h1 { font-size: 40px; margin-bottom: 30px; color: #2a4d69; } .students { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; justify-items: center; margin-bottom: 40px; } .student { width: 120px; height: 150px; background: white; border: 2px solid #2a4d69; border-radius: 10px; display: flex; flex-direction: column; justify-content: space-between; align-items: center; padding: 5px; } .photo { width: 100%; height: 100px; background: #d3d3d3; border-radius: 5px; } .name { font-size: 14px; font-weight: bold; color: #333; } .schedule { margin-top: 40px; } table { margin: 0 auto; border-collapse: collapse; width:؟

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: kurosh Salimian

79772528

Date: 2025-09-23 11:35:21
Score: 0.5
Natty:
Report link

According to AWS support, cancelling the CompletableFuture with a timeout doesn't cancel the underline reactive stream. The solution is to rely on an AtomicBoolean to stop delivering the pages to the consumer when desired.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Cristian

79772526

Date: 2025-09-23 11:30:20
Score: 2.5
Natty:
Report link

It looks like the error happens because you’re using a single MySQL connection (mysql.createConnection) instead of a pool. A single connection can drop if the server restarts or if it times out, which is why you get PROTOCOL_CONNECTION_LOST.

A better approach is to use a connection pool. That way MySQL automatically reuses or refreshes connections:

const mysql = require('mysql2');

const pool = mysql.createPool({
  host: 'localhost',
  user: 'root',
  password: '',
  database: 'charity_tracker',
  waitForConnections: true,
  connectionLimit: 10,
  queueLimit: 0
});

module.exports = pool.promise();

Using a pool usually fixes the “connection lost” problem.

If you still get the same issue, check the MySQL error logs. Sometimes tables get corrupted after crashes, and that can also cause random disconnects. You can run:

CHECK TABLE users;
CHECK TABLE donations;
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): get the same issue
  • Low reputation (1):
Posted by: Arun Pratap

79772511

Date: 2025-09-23 11:14:15
Score: 12.5 🚩
Natty:
Report link

Hey we are also facing the same issue. Did you find any solution to tackle this. we are currently using 3.5v2 with agent collaborators and enabled prompt overriding for orchestration. Please let me know if you find any

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2.5): Please let me know
  • RegEx Blacklisted phrase (3): Did you find any solution to
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): also facing the same issue
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: something

79772506

Date: 2025-09-23 11:05:13
Score: 1
Natty:
Report link

Had the same problem. idk if its right but it works on my code

grades = {
    "lance": [1, 2, 3],
    "nate": [1, 2, 3]
}

index = 0
arr = list(grades)
str = arr[index]
grades.pop(str)
print(grades)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lance Nathan B. De Belen

79772492

Date: 2025-09-23 10:52:10
Score: 0.5
Natty:
Report link

I have found the way pip is getting installed with python3.13-pip

If we install python3-pip , we can directly call pip install command but with python3.13-pip we have to call pip3.13 install, it is not linking directly with either pip or pip3.

This is strange behaviour as python 3.9 reached eol , the way of new package installation should have changed. Anyway posting my findings here.

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

79772489

Date: 2025-09-23 10:51:09
Score: 2
Natty:
Report link

I had this error when I imported by mistake a server module in some client code. Check your recently added imports.

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

79772487

Date: 2025-09-23 10:51:09
Score: 1
Natty:
Report link

pg_stat_activity doesn't give you the real connections, it gives you the backends. Parallel executions would have multiple entries so your select should be like:
select count(*) from pg_stat_activity where leader_pid is not null;

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

79772486

Date: 2025-09-23 10:50:09
Score: 1.5
Natty:
Report link

It seems like it's safe, because it uses ClickCliRunner for tests, it proxies result_value from click, and click itself supports standalone_mode param. Discussion about the param in typer.

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

79772474

Date: 2025-09-23 10:35:05
Score: 0.5
Natty:
Report link

I found the issue, i setup fonts and created a `react-native.config.js` file, after backtracking my changes and removing this file, it fixed the issue. Further debugging the issue; there was an additional empty object in this file that was causing this issue:

Previous Version:

module.exports = {
    project: {
        ios: {},
        android: {},
    },
    assets: ['./app/assets/fonts/'],
};

Updated Version:

module.exports = {
    assets: ['./app/assets/fonts/'],
};

This fixed the issue.

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

79772463

Date: 2025-09-23 10:24:03
Score: 1.5
Natty:
Report link

This happens because of how Python handles list multiplication. Here's a full example:

---

### Example:

```python

# Works as expected

matrixM = [[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0]]

matrixM[1][1] = 2

print(matrixM)

# Output: [[0, 0, 0, 0], [0, 2, 0,]()]()

Correct Way:

Use a list comprehension to create independent sublists:

matrixA = [[0]*4 for _ in range(4)]

matrixA[1][1] = 2

print(matrixA)

# Output: [[0, 0, 0, 0], [0, 2, 0, 0], [0, 0, 0, 0], [0, 0, 0, 0]]

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

79772457

Date: 2025-09-23 10:19:01
Score: 2
Natty:
Report link

Import/export is supported (see https://github.com/p2-inc/keycloak-orgs/issues/147). That said, import/export from admin console does not include users nor organizations. You can export organizations with the CLI (see https://www.keycloak.org/server/importExport#_exporting_a_specific_realm) to see the expected format. You can then import again your realm with the CLI too but also with the /admin/realms Rest endpoint what is simpler than configuring everything with finer grain Rest endpoints.

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

79772456

Date: 2025-09-23 10:18:01
Score: 2.5
Natty:
Report link

same issue, , cans someone help, with error :

(index):1 GET http://localhost:4201/ 404 (Not Found)

Refused to connect to 'http://localhost:4201/.well-known/appspecific/com.chrome.devtools.json' because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'connect-src' was not explicitly set, so 'default-src' is used as a fallback.

Reasons:
  • RegEx Blacklisted phrase (1): same issue
  • No code block (0.5):
  • Low reputation (1):
Posted by: othmane fallah el idrissi

79772454

Date: 2025-09-23 10:12:59
Score: 2.5
Natty:
Report link

Indeed, this formatting is applied in the SOURCE tab, not in the PREVIEW tab.

For example, set h1 to red (#FF0000) and restart eclipse. The effect will be visible in the markdown source, with no difference in the rendered view.

Looks like the rendering cannot be changed.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jean-Baptiste B

79772443

Date: 2025-09-23 09:53:55
Score: 3.5
Natty:
Report link

after you run npm run build , where you generate the dist folder ? public or ressources ? make sure you point to the correct css files after building

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

79772423

Date: 2025-09-23 09:31:49
Score: 0.5
Natty:
Report link

I had the similar problem, only it was on a remote machine where the tests were executed via a azure pipeline:

- task: Maven@3       
    inputs:         
    mavenPomFile: 'pom.xml'         
    goals: 'clean verify'         
    options: '--quiet -Dfile.encoding=UTF-8 -f pom.xml -Dcucumber.options="--plugin pretty src/test/java/acceptancetests/testCases"'

It accured only after adding the --plugin/pretty part. After removing it from the command, I worked fine again. I still don't know why this plugin doesn't create the cucumber.json file.

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

79772418

Date: 2025-09-23 09:23:47
Score: 0.5
Natty:
Report link

In Lucene, scores can differ between partitions even if the document fields match exactly. The reason is that Lucene’s scoring depends not only on term frequency (TF) and inverse document frequency (IDF) within each partition but also on how big and diverse the index is.

For example:

If you want consistent scores across partitions, you’d need to:

  1. Use a MultiSearcher / IndexReader that merges statistics across indexes.

  2. Or normalize the scores manually after retrieval if you’re always querying partitions separately.

The important part is: scores are relative within a single index, not absolute across different ones. As long as the top matches are identical, the small score difference doesn’t usually matter.

By the way, I recently wrote about how Lucene scoring concepts feel similar to how different worlds are weighted in Anime Witcher — worth checking if you like technical + fantasy blends.

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

79772417

Date: 2025-09-23 09:22:47
Score: 3
Natty:
Report link

The neumorphic flutter plugin flutter_neumorphic is discontinued, instead you can use gusto_neumorphic or flutter_neumorphic_plus

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alessio Cristofaro

79772411

Date: 2025-09-23 09:10:44
Score: 0.5
Natty:
Report link

The issue is with bar: dict as it seems to be a too generic type.

What worked for bar are:

from typing import Literal

bar: dict[Literal["bar"], str] = {"bar": "bar"}


# or

class BarDict(TypedDict):
    bar: str

bar: BarDict = {"bar": "bar"}

This means, that it's some sort of an "all in" situation if this way of typing wants to be used.

Cool new things are coming in this area, for example have a look at extra items https://peps.python.org/pep-0728/#the-extra-items-class-parameter

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

79772408

Date: 2025-09-23 09:07:43
Score: 0.5
Natty:
Report link

it's late but. Yes. You can use i18nGuard — an i18n‑aware linter for JS/TS that flags hard‑coded strings and also checks missing/unused keys across i18next, React‑Intl (FormatJS), and Lingui. I wrote a short post with setup and examples here: Stop shipping hard‑coded strings: Meet i18nGuard — an i18n linter for JS/TS (i18next, React‑Intl, Lingui) (https://dev.to/rmi_b83569184f2a7c0522ad/stop-shipping-hard-coded-strings-meet-i18nguard-an-i18n-linter-for-jsts-i18next-react-intl-4m8a).

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

79772404

Date: 2025-09-23 09:04:42
Score: 0.5
Natty:
Report link

I prefer to use many-to-one to prevent recursive and relational fetching issue. You don't need to manage fetch type... It's less effort and less error... and less Frustate...

@Entity
@Data
public class Content {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long contentId;
    private String contentName;
    @Column(columnDefinition = "TEXT")
    private String synopsis;
    @ManyToOne
    @JoinColumn(name = "content_type_id")
    private ContentType contentType;
    @ManyToOne
    @JoinColumn(name = "country_code")
    private Country countryCode;
    private String portraitUrl;
    private String landscapeUrl;
    private Boolean featured;
    @Enumerated(EnumType.STRING)
    private ContentApprovalStatus approvalStatus;
    @CreationTimestamp
    private LocalDateTime createTime;
    @UpdateTimestamp
    private LocalDateTime updateTime;
@Entity
@Data
public class ContentGenre {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long contentId;
    @ManyToOne
    @JoinColumn(name = "content_id")
    private Content content;
    @ManyToOne
    @JoinColumn(name = "genre_id")
    private Genre genre;

}
@Entity
@Data
public class ContentLanguage {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long contentId;
    @ManyToOne
    @JoinColumn(name = "content_id")
    private Content content;
    @ManyToOne
    @JoinColumn(name = "language_id")
    private Language language;

}

So, you just need ContentCrews to manage content and crews. If you want to get content by crew or get crew by content, jut use ContentCrew table and delete fetchType.LAZY.

public class ContentCrew {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Long id;
    @JoinColumn(name = "content_id")
    private Content content;
    @JoinColumn(name = "crew_id")
    private Crew crew;
    private String role;
}

This is the easiest manage entity for you...

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @OneToMany
  • User mentioned (0): @OneToOne
  • User mentioned (0): @ManyToMany
  • User mentioned (0): @OneToMany
  • User mentioned (0): @OneToMany
  • Low reputation (1):
Posted by: LunaLissa

79772398

Date: 2025-09-23 08:57:40
Score: 1
Natty:
Report link

the warning errors that you are observing in the logs are related to the JFConnect microservice in the Artifactory. The JFConnect is trying to communicate with the https://jes.jfrog.io/api/v1/register, and it is returning connection refused. Since you are using a proxy, you may specify the proxy configuration as below :

For Helm -

jfconnect:
   # Configure only if you use an Artifactory version before 7.77.
   extraEnvironmentVariables:
   - name: http_proxy
     value: http://<proxy URL>/
   - name: https_proxy
     value: http://<proxy URL>/
   - name: no_proxy
     value: localhost,127.0.0.1

other installation types - add the following configuration in system.yaml file -

jfconnect:
    # Configure only if you use an Artifactory version before 7.77.
    env:
        http_proxy: "http://<proxy URL>"
        https_proxy: "http://<proxy URL>"
        no_proxy: “localhost, 127.0.0.1”

check this article for more information ! https://jfrog.com/help/r/jfrog-installation-setup-documentation/jfconnect-microservice

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

79772391

Date: 2025-09-23 08:52:39
Score: 2
Natty:
Report link

Found what was wrong :
in the primary request for obtaining a token, header returned was in lower-case : x-subject-token but for deleting it, it must be 'word capitalized' : X-Subject-Token

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Denis.A

79772390

Date: 2025-09-23 08:51:38
Score: 4
Natty: 4
Report link

Try running wp media regenerate or using plugin that does the same.

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

79772387

Date: 2025-09-23 08:50:38
Score: 1
Natty:
Report link

How about google ceres, I use it to replace my scipy "l_bfgs_b", it is fine.

But my prolem is pretty simple, not sure about complicated problems.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): How
  • High reputation (-1):
Posted by: andrewchan2022

79772380

Date: 2025-09-23 08:43:35
Score: 5
Natty:
Report link

@Frank thanks you are right. when I rewrite body of udf whole example looks like:

import org.apache.spark.sql.functions.{udf, struct}

val reduceItems = (items: Row) => {
  // getting array of struct from struct
  val a = items.getAs[Seq[Row]]("second")
  // summing struct item in array
  a.map(_.getAs[Int]("navs")).reduce(_ + _)
}
val reduceItemsUdf = udf(reduceItems)

// passing struct of array of struct
h.select(reduceItemsUdf(struct("*")).as("r")).show()

and it works in spark 4, but I still do not know where was problem, why parameter can't be Seq?

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Frank
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Jiri Humpolicek

79772375

Date: 2025-09-23 08:35:33
Score: 2.5
Natty:
Report link

In my case, Android Studio (Narwhal 3 Feature Drop | 2025.1.3) showed no warnings.

However, an older revision of the API Level 36 emulator did.

After updating to revision 7, the 16 kB alignment warning disappeared.

enter image description here

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

79772370

Date: 2025-09-23 08:29:32
Score: 0.5
Natty:
Report link

I finally found the way using chilkat2, thanks to some now deleted comment that pointed me to this example code.

Apparently, chilkat can use whatever .dll you choose to manage card readers and make operations with them, such as listing certificates and even using them. Also has its own pdf signing module. Really powerful.

Anyways, this is the code I ended up using:

# Standard libraries        
import sys

# Third-party
import tkinter as tk
import customtkinter as ctk
import chilkat2

'''
PDF Digital signature process
'''
# Dialog asking for PIN
root = tk.Tk()
root.withdraw()
dialog = ctk.CTkInputDialog(title="pin", text="Introduce el PIN de tu tarjeta:")
pin = dialog.get_input()
root.destroy()

# Initialize chilkat2 pkcs11 from Nexus Personal's dll
pkcs11 = chilkat2.Pkcs11()
pkcs11.SharedLibPath = r"C:\Program Files (x86)\Personal\bin64\personal64.dll"
success = pkcs11.Initialize()
if not success:
    print(pkcs11.LastErrorText)
    sys.exit()

userType = 1  # Normal User

slotId = 0 # This is arbitrary and pin-pointed by me
readWrite = True
success = pkcs11.OpenSession(slotId, readWrite)
if not success:
    print(pkcs11.LastErrorText)
    sys.exit()

# Login
success = pkcs11.Login(userType, pin)
if not success:
    print(pkcs11.LastErrorText)
    pkcs11.CloseSession()
    sys.exit()

# Get the certificate (on the smart card) that has a private key.
cert = chilkat2.Cert()
success = pkcs11.FindCert("privateKey","",cert)
if (success == True):
    print("Cert with private key: " + cert.SubjectCN)
else:
    print("No certificates having a private key were found.")
    success = pkcs11.CloseSession()
    sys.exit()

pdf = chilkat2.Pdf()

# Load the PDF to be signed.
success = pdf.LoadFile(r"template.pdf")
if (success == False):
    print(pdf.LastErrorText)
    success = pkcs11.CloseSession()
    sys.exit()

json = chilkat2.JsonObject()

json.UpdateInt("page",1)
json.UpdateString("appearance.y","bottom")
json.UpdateString("appearance.x","right")
json.UpdateString("appearance.fontScale","10.0")
json.UpdateString("signingAlgorithm","pss")
json.UpdateString("hashAlgorithm","sha256")

i = 0
json.I = i
json.UpdateString("appearance.text[i]",f"Firmado digitalmente por: {cert.SubjectCN}")
i = i + 1
json.I = i
json.UpdateString("appearance.text[i]","current_dt")

# The certificate is internally linked to the Pkcs11 object, which is currently in an authenticated session.
success = pdf.SetSigningCert(cert)

success = pdf.SignPdf(json,r"template_signed.pdf")
if (success == False):
    print(pdf.LastErrorText)
    success = pkcs11.CloseSession()
    sys.exit()

# Revert to an unauthenticated session by calling Logout.
success = pkcs11.Logout()
if (success == False):
    print(pkcs11.LastErrorText)
    success = pkcs11.CloseSession()
    sys.exit()

# When finished, close the session.
success = pkcs11.CloseSession()
if (success == False):
    print(pkcs11.LastErrorText)
    sys.exit()

print("Success signing.")
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Javiooli

79772369

Date: 2025-09-23 08:27:31
Score: 0.5
Natty:
Report link

The same Eric Evance says that DDD is not reasonable for a simple systems such as user, when creating ubiquitous language just spends time for obvious model.

Evance thinks, also, that in the case of technically complex project DDD is not effective, because lot of technical personnel should understand and learn the ubiquitous language and get domain model. Personally I completely disagree with this, because domain - infrastructure separation solves the problem, when only teams, which specialize in domain logic development must work with the ubiquitous language. Infrastructure developers ( as Kafka events, request routing,database interactions do not have to be perfect in the DDD.

Development of the ubiquitous language takes a time, as well as corresponding learning curve. For the same time a MVP can be build.

However, ubiquitous language helps reduce time for domain description and visualization in a clear and concise form, much better readable than long term demagogy .

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

79772363

Date: 2025-09-23 08:20:29
Score: 4
Natty:
Report link

I did add extra info why this d string is actually usefull. Please un-hide my post. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Deve Loper

79772353

Date: 2025-09-23 08:10:26
Score: 0.5
Natty:
Report link

No — you don’t need php5-mysql.

Since you’re on PHP 7, just install the matching package:

sudo apt-get install php7.0-mysql
sudo systemctl restart php7.0-fpm nginx

That will fix the error.

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

79772352

Date: 2025-09-23 08:09:26
Score: 3.5
Natty:
Report link

Got it.

owb = oxl.Workbooks.OpenXML(file,, 2)

did the trick.

https://learn.microsoft.com/en-us/office/vba/api/excel.xlxmlloadoption

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Petr Šmejkal

79772350

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

You can use this to mark complete:

This can be done for the course or topic completion.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ashok kumawat

79772349

Date: 2025-09-23 08:05:25
Score: 1.5
Natty:
Report link

I added the following line of code to solve my problem

implementation 'com.google.android.material:material:1.7.0'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user2427740

79772347

Date: 2025-09-23 08:05:25
Score: 1
Natty:
Report link

All that was required was the itext.pdfcalligraph package along with a valid license. Once loaded as shown below, Arabic text started displaying correctly. I’m surprised it isn’t mentioned anywhere that having the license is absolutely necessary in addition to the itext.pdfcalligraph package.

LicenseKey.LoadLicenseFile(licenseFile);

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

79772346

Date: 2025-09-23 08:04:25
Score: 2
Natty:
Report link

I created an NPM package google-maps-vector-engine to handle PBF/vector tiles on Google Maps, offering near-native performance and multiple functionalities. I recommend giving it a try.

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

79772343

Date: 2025-09-23 08:03:24
Score: 4
Natty:
Report link

4000000000009995 it is u can test for Insufficient funds decline

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Filler text (0.5): 00000000000
  • Low reputation (1):
Posted by: arjun sharma

79772342

Date: 2025-09-23 08:00:23
Score: 2.5
Natty:
Report link

PUSH only works with addresses, not register names; so use temp EQU 00h instead of temp EQU R0.

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

79772330

Date: 2025-09-23 07:47:20
Score: 5
Natty:
Report link

Here is the documentation of the StackOverflow API:

Here you will find the newest API version and all the available endpoints.

You may fetch any user data with a similar request like this: https://api.stackexchange.com/2.3/users/{user-id}?site=stackoverflow

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ricardo Alexis Huerta Salazar

79772319

Date: 2025-09-23 07:34:17
Score: 3.5
Natty:
Report link

Btw, I need some \0 in the middle too.

As a c string ends with cero, I propose...

a d string ending with delete (\x7f).

:-)

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

79772314

Date: 2025-09-23 07:30:16
Score: 2
Natty:
Report link

Everything you set up looks correct — the only issue is that after adding the new Image Symbol Set, you need to rename the image set to "custom.viewfinder". Once it's done, you’ll be able to use your custom symbol as expected.

Attaching Assests

enter image description here

Sample code

enter image description here

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

79772311

Date: 2025-09-23 07:28:15
Score: 1
Natty:
Report link

It seems to be a bug. Please vote for IDEA-186221.

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

79772308

Date: 2025-09-23 07:25:15
Score: 1.5
Natty:
Report link

If you're just experimenting, you can simply use lifecycle rules to periodically clean up (for example, retaining files for 90 days).

For a production environment, we recommend:

Write a script to identify "active" S3 objects.

Only clean up historical ZIP files and templates that are no longer referenced.

Alternatively, use a custom S3 bucket and overwrite the same file name each time you build to avoid overruns.

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

79772307

Date: 2025-09-23 07:24:13
Score: 6.5 🚩
Natty:
Report link

@djv

XML opened in Excel from my code:

enter image description here

XML opened in Excel as XML table:

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @djv
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Petr Šmejkal

79772306

Date: 2025-09-23 07:20:12
Score: 5
Natty:
Report link

Thanks Achim for your quick and detailed reply — and apologies for including an image of the code. I tried to use the “four backticks” trick (I even attempted something similar at some point) but couldn’t get it to work.

Both of your proposed solutions work fine; the second one, based on "mytemplate.md", is clearly preferable.

There’s only one remaining issue: if I include a graph in the R code, the following is added to the latex file.

\pandocbounded{\includegraphics[keepaspectratio]{media/supplements1/exercise1/ex1-unnamed-chunk-3-1.png}}

However, pdflatex compilation fails because it cannot find the PNG file (I wasn’t able to locate where it gets saved — maybe a temporary folder?). Do you have any idea how to fix this?

By the way, my ultimate goal is to produce a PDF file with all the exercises so I can quickly scan them when preparing exams. With the code I wrote and your suggestions, I’ve almost reached that goal.

Thanks a lot for the wonderful package!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): how to fix this?
  • RegEx Blacklisted phrase (2.5): Do you have any
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Luca Scrucca

79772302

Date: 2025-09-23 07:12:10
Score: 1.5
Natty:
Report link

Had the same issue and inside AppShell.xaml in the <Shell> section you can add or change Title="Your Title" to change the title thats being displayed when the app runs as the other solutions didnt update that part for me

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

79772298

Date: 2025-09-23 07:07:08
Score: 3
Natty:
Report link
flutter build apk
./gradlew assembleRelease

强制插件代码生成: flutter build apk命令会强制Flutter工具链生成所有必要的插件代码和依赖

完整的构建流程: Flutter的构建流程会确保所有插件的native部分被正确编译和链接

依赖关系解决: 先执行Flutter构建可以解决混合开发中的依赖顺序问题

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • No latin characters (1.5):
  • Low reputation (1):
Posted by: user10858133

79772290

Date: 2025-09-23 07:00:06
Score: 2
Natty:
Report link
  1. Add the relaxed constexpr flag:
    CUDA suggests using the --expt-relaxed-constexpr flag. You can add this in your CMakeLists.txt before you build OpenCV. For example:

    set(CUDA_NVCC_FLAGS "${CUDA_NVCC_FLAGS} --expt-relaxed-constexpr")
    
    

    After that, re-run CMake so it regenerates the Visual Studio solution.

  2. Check CUDA/cuDNN versions:
    You’re on CUDA 12.9 and cuDNN 8.9.7, but it’s worth checking NVIDIA’s compatibility matrix for your GPU. Sometimes, even if versions look compatible, there can still be hiccups. If nothing works, try rolling back to a slightly older CUDA release (say, 12.3) along with a matching cuDNN version—this often solves hidden issues.

  3. Consider OpenCV version:
    OpenCV 4.12.0 is a bit dated. Newer releases (like 4.9.x or even OpenCV 5) tend to have better CUDA support, especially for the latest GPUs. Upgrading both OpenCV and opencv_contrib might prevent these conflicts altogether.

  4. Verify CUDA installation:
    Make sure your CUDA Toolkit is fully installed and your environment variables are set properly (CUDA_PATH, CUDA_PATH_Vxx_x, Path on Windows, etc.). Leftovers from old CUDA installs can sometimes trip up the build.

  5. Do a clean rebuild:
    Whenever you change build flags or environment settings:

    • Delete your existing build folder.

    • Re-run CMake from scratch.

    • Open Visual Studio, clean the solution, and then rebuild.

  6. Try lowering optimization:
    In Visual Studio’s project settings, reduce the compiler optimization level (under C/C++ → Optimization). Sometimes aggressive optimizations cause CUDA code to fail in odd ways.

  7. Keep an eye on Blackwell issues:
    Since you’re working with the new RTX 50-series (Blackwell), there could be some growing-pains with CUDA or OpenCV that aren’t widely documented yet. Checking the NVIDIA developer forums or the OpenCV GitHub issues page might reveal others facing the same problem.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same problem
  • Low reputation (1):
Posted by: Akshay Gokarn

79772285

Date: 2025-09-23 06:48:04
Score: 2
Natty:
Report link

Yes , Golang code can be run using your typescript code. You can write your Golang code then use Cobra to enable it to act on custom CLI commands. then you just need to execute those commands within your typescript code.

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

79772279

Date: 2025-09-23 06:36:01
Score: 3
Natty:
Report link

HUGE thanks to poster ''96'' concerning the

arm64-v8a.apk

question. Super-- I was looking all over for info on this. But this fellow's info really

sets me straight. Most grateful for the info

best wishes to the poster.

fred

missouri, usa

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: f. nelson

79772267

Date: 2025-09-23 06:21:56
Score: 0.5
Natty:
Report link

xss-safe regex with with folders and query support
^ipfs:\/\/(Qm[1-9A-HJ-NP-Za-km-z]{44,}|b[A-Za-z2-7]{58,}|B[A-Z2-7]{58,}|z[1-9A-HJ-NP-Za-km-z]{48,}|F[0-9A-F]{50,})([/?#][-a-zA-Z0-9@:%_+.~#?&//=]*)*$

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

79772262

Date: 2025-09-23 06:08:53
Score: 2.5
Natty:
Report link

When running the Table Extraction Wizard you can define whether you want the visible value from the indicated cell or the underlying URL associated with it.

Try chosing Extract URL to get the desired outcome.

See image here

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: SorenB

79772256

Date: 2025-09-23 05:52:49
Score: 1
Natty:
Report link

You need a php-handler on the server to receive posts. I would access it through PHP with $_POST['data'] array.

        $.ajax({
            url: "upload.php",
            type: "POST",
            data: formData
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Martin Dittrich

79772251

Date: 2025-09-23 05:47:47
Score: 1.5
Natty:
Report link
Common causes:
1. Duplicate asset declarations
   example: 
   assets\images\background.png
   assets\images\background.png

2. Case mismatch on Windows
   example: 
   assets\images\background.png
   assets\images\Background.png
   
3. Stable build cache
   Even if your assets are correct, a leftover copy in build/ or .dart_tool/ can trigger this error.
   
How to Fix?
1. Verify your pubspec.yaml only includes
    flutter:
        assets:
            - assets\images\background.png
            
2. Delete build/ and .dart_tool/ manually before running again.

3. Run below command
   flutter clean
   flutter pub get
   flutter run
   
4. App builds successfully!!!! no more PathExistsException. Hurrey 🎉
Reasons:
  • RegEx Blacklisted phrase (1.5): How to Fix?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Asit Ghegadmal

79772246

Date: 2025-09-23 05:43:46
Score: 1
Natty:
Report link

To fix this: Change max-width to width The issue is that you are using max-width instead of width in your CSS.

The max-width property only sets a limit on how wide the image can be, but it doesn't force it to a specific size. Because you've set a fixed height of 165px, the browser is scaling the image's width to maintain its original aspect ratio, making it wider than 117px.

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

79772244

Date: 2025-09-23 05:41:46
Score: 0.5
Natty:
Report link

useNavigation() is a React hook. Hooks only work inside React components that are rendered inside a navigator. But App.tsx is not a screen, it’s your root component, so there’s no navigation context there. That’s why React Navigation throws.
I think you should use navigationRef for this case. (standard practice)
Here is code attached:
create RootNavigation.ts :

import { createNavigationContainerRef } from '@react-navigation/native';

export const navigationRef = createNavigationContainerRef();

export function navigate(name: string, params?: object) {
  if (navigationRef.isReady()) {
    navigationRef.navigate(name as never, params as never);
  }
}

Attach ref to your NavigationContainer :

import { NavigationContainer } from '@react-navigation/native';
import { navigationRef } from './RootNavigation';

export default function App() {
  return (
    <NavigationContainer ref={navigationRef}>
      {/* your Stack.Navigator / Tab.Navigator goes here */}
    </NavigationContainer>
  );
}

Use navigate in Centrifugo callback:

import { Centrifuge } from 'centrifuge';
import Toast from 'react-native-toast-message';
import { navigate } from './RootNavigation';

useEffect(() => {
  const centrifuge = new Centrifuge("wss://centrifugo.xxxxx.xxxxxx/connection/websocket", {
    token: "xxxxxxxxxxxxxxxxxxxx"
  });

  centrifuge.on('connected', ctx => {
    console.log(`centrifuge connected over ${ctx.transport}`);
  }).connect();

  const sub = centrifuge.newSubscription("xxxxx", {
    token: 'xxxxxxxxxxxxxxxxxxxx'
  });

  sub.on('publication', ctx => {
    Toast.show({
      type: "success",
      text1: ctx.data['message']
    });
    navigate('DetailHistory', {
      id: ctx.data['transaction_id']
    });
  }).subscribe();

  return () => {
    centrifuge.disconnect();
    console.log('Centrifuge client disconnected on cleanup.');
  };
}, []);

Hope this fixes your problem.
THANK YOU !

Reasons:
  • Blacklisted phrase (0.5): THANK YOU
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): is a
  • Low reputation (1):
Posted by: Shivraj Shelar

79772235

Date: 2025-09-23 05:30:42
Score: 0.5
Natty:
Report link

09-2025

let me start by saying that

IT SHOULD NOT BE THIS DIFFICULT TO SETUP A BUILD ENVIRONMENT FOR ARM64 ON AN ARM64 MACHINE!!!!

sorry... had to get that off my chest. :-)

I just purchased the new Lenovo Chromebook Plus with a MediaTek Kompanio ARM 64 cpul and 16 GB of RAM. Why did I buy this? because every attempt to build an Android app on my 8BG Intel-base Chromebook crashed half way through the build process due to lack of memory resources.... sigh

so, it made perfect sense to get an ARM64 based cpu to do my ARM64 base application development... right? wrong!!!

be, for some reason, there is no officially supported ARM64 version of Android Studio... Why? Why? Why?

ok, seriously... done with my rant.... I have it working and I've documented it all..... it only took 4 days, but here it is... (these instructions assume not previous installations have been attempted. I rebuilt from scratch multiple times to get the cleanest set of instructions that I could)

I've tested this installation/configuration on bookworm and trixie

  1. get the latest static community build of the platform-tools and build-tools
wget -O ~/temp/android-sdk-tools-linux-35.0.2-aarch64.zip \
    https://github.com/lzhiyong/android-sdk-tools/releases/download/35.0.2/android-sdk-tools-static-aarch64.zip
  1. download and install android studio 2025.1.3.7
wget -q -O - \
    https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2025.1.3.7/android-studio-2025.1.3.7-linux.tar.gz \
    | tar -C ~/.local/share -xzvf - \
    --exclude 'android-studio/jbr/*' \
    --exclude 'android-studio/lib/jna/*' \
    --exclude 'android-studio/lib/native/*' \
    --exclude 'android-studio/lib/pty4j/*' 
  1. install the ARM64 binaries from IntelliJ Idea that come as x86_64
wget -q -O - \
    https://download.jetbrains.com/idea/ideaIC-2025.2.2-aarch64.tar.gz \
    | tar -C ~/.local/share/android-studio \
      -xzvf - \
      --wildcards '*/bin/fsnotifier' \
                  '*/bin/restarter' \
                  '*/lib/jna' \
                  '*/lib/native' \
                  '*/lib/pty4j' \
      --strip-components=1
  1. Install the correct jbr java runtime for the aarch64 architecture
wget -q -O - \
    https://cache-redirector.jetbrains.com/intellij-jbr/jbrsdk_ft-21.0.8-linux-aarch64-b1138.52.tar.gz \
    | tar -C ~/.local/share/android-studio/jbr \
      -xzvf - \
      --strip-components=1
  1. alter the configuration files so that they know to use aarch64 instead of x86_64
mv ~/.local/share/android-studio/bin/studio ~/.local/share/android-studio/bin/studio.do_not_use
sed -i 's/amd64/\$OS_ARCH/' ~/.local/share/android-studio/bin/*.sh
sed -i 's/amd64/aarch64/' ~/.local/share/android-studio/product-info.json
  1. reboot the linux shell and the laptop

    • sudo reboot
    • restart the laptop
  2. launch android studio ~/.local/share/android-studio/bin/studio.sh

  1. back in the terminal, overwrite the platform-tools binaries

rm -rf ~/Android/Sdk/platform-tools/lib64 && unzip ~/temp/android-sdk-tools-linux-35.0.2-aarch64.zip -x build-tools/* -d ~/Android/Sdk/

  1. overwrite the build tools, I'm using v35.0.0, but yours may be different
unzip ~/temp/android-sdk-tools-linux-35.0.2-aarch64.zip -x platform-tools/* -d ~/Android/Sdk/build-tools/36.1.0
mv ~/Android/Sdk/build-tools/36.1.0/build-tools/* ~/Android/Sdk/build-tools/36.1.0
rmdir ~/Android/Sdk/build-tools/36.1.0/build-tools
  1. verify the correct binaries are both show "ARM aarch64"
file ~/Android/Sdk/build-tools/36.1.0/aapt2
  1. in your project, add the following to the gradle.properties file #!!! use full path. it does not appear that parsing of this file accepts shortcuts like $HOME or ~

android.aapt2FromMavenOverride=/home/rhkean/Android/Sdk/build-tools/36.1.0/aapt2

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

79772230

Date: 2025-09-23 05:20:39
Score: 2.5
Natty:
Report link

Ok, from cppreference

if pos < size(), or if pos == size() -> Returns a reference to CharT(), if the object referred by the returned reference is modified to any value other than CharT(), the behavior is undefined.

So, overall this code produces undefined behaviour, which just seems to be correct

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

79772225

Date: 2025-09-23 05:04:36
Score: 0.5
Natty:
Report link

The SimpleAggregateFunction stores the intermediate state of an aggregate function(eg: max, sum, count), but not its full state as the AggregateFunction (eg: avg, unique). AggregateFunction stores the entire values required to calculate the result.

Use SimpleAggregateFunction if f(R1 UNION ALL R2) = f(f(R1) UNION ALL f(R2)).

eg: sum(A1,A2,A3,B1,B2) = sum(sum(A1,A2,A3) , sum(B1,B2))

Use AggregateFunction otherwise

eg: avg(A1,A2,A3,B1,B2) != avg(avg(A1,A2,A3) , avg(B1,B2))

Note that SimpleAggregateFunction is faster, hence prefer the same over AggregateFunction if the requirement doesn't require full states for the result calculation.

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

79772217

Date: 2025-09-23 04:42:31
Score: 2
Natty:
Report link

In my case, i used the shortcut Ctrl + ; and it worked to comment out an entire block of code that I selected.

Reasons:
  • Blacklisted phrase (1): to comment
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: allansergio1