79645002

Date: 2025-05-30 06:42:35
Score: 1
Natty:
Report link

Thanks for your responses. I modified the code to specify powershell7 and got the correct output.

def get_powershell_table(command):
    """Executes a PowerShell command and returns the formatted table output as a string."""
    try:
        result = subprocess.run(
            [r"C:\Program Files\PowerShell\7\pwsh.exe", "-Command", command],
            capture_output=True,
            text=True,
            check=True,
        )
        return result.stdout
    except subprocess.CalledProcessError as e:
        print(f"Error executing PowerShell command: {e}")
        return None
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: zhao bin

79644999

Date: 2025-05-30 06:37:33
Score: 0.5
Natty:
Report link

In API:

from rest_framework.pagination import PageNumberPagination
class ArticlePageViewSet(viewsets.ViewSet):
    def list(self, request):
        page_type = request.query_params.get("type")
        if page_type == "article":
            paginator = PageNumberPagination()
            paginator.page_size = 10
            paginated_qs = paginator.paginate_queryset(articles, request)
            serializer = ArticlePageSerializer(paginated_qs, many=True)
            return paginator.get_paginated_response(serializer.data)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Akhil Thomas

79644989

Date: 2025-05-30 06:26:31
Score: 1
Natty:
Report link

The Linux kernel cannot directly mount a RAM address as rootfs via root=. The kernel expects root= to specify a device (e.g., /dev/ram0, /dev/mapper/, /dev/mmcblk, etc.), not a physical address in RAM.

  1. Can you pass a RAM address as root=? No. root= only supports block devices, not memory addresses. You cannot tell the kernel "the rootfs lives at RAM address 0x1C0000000" via the kernel command line.

  2. How can you connect a rootfs in RAM with /dev/ramX? You need to make the rootfs appear as /dev/ram0 or another block device. Usual approaches:

Copy rootfs into a ramdisk device (e.g., /dev/ram0) during initramfs/init phase.

Use a preload/initramfs script to copy or map the memory into /dev/ram0, then pivot_root or switch_root to it.

Example: In your initramfs shell, manually copy/mount the rootfs:

text dd if=/dev/mem bs=1M skip= count=<size_in_MB> of=/dev/ram0 mount -o ro /dev/ram0 /mnt exec switch_root /mnt /sbin/init : Number of megs to skip to reach your RAM address (0x1C0000000 / 1M).

<size_in_MB>: Size of your rootfs file in MB.

Security note: You need access to /dev/mem (which is often restricted or requires boot param iomem=relaxed).

  1. Why does dd if=/dev/mem ... fail with "Operation not permitted"? /dev/mem is typically restricted for security reasons.

You may need to:

Boot with iomem=relaxed, or

Lower kernel security settings (not recommended for production).

Or, ideally, avoid /dev/mem and use QEMU's support for -initrd or custom devices.

  1. How to ensure your rootfs RAM region isn't overwritten by the kernel? memmap kernel boot option is NOT available on RISC-V (as you noted).

In QEMU, if you -device loader,file=...,addr=0x1C0000000, QEMU places the file in RAM, but the kernel may overwrite it if not reserved.

Alternative: Embed your rootfs as an initramfs or use QEMU's -initrd option (safest).

Workaround: Use a reserved memory region (in DTB), but this is complex on RISC-V and not portable.

Best Practice/Solution Use QEMU's -initrd option if you can (loads to a safe spot, kernel finds it).

If you must load rootfs into RAM at a specific address:

Use an initramfs/init script to copy the data from unknown memory to /dev/ram0.

Ensure early in boot that no kernel code/page uses or overwrites your chosen address (risky).

Strongly recommend converting your rootfs to an initramfs (cpio archive) and passing with -initrd, or use a disk image mounted as a virtual drive.

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

79644976

Date: 2025-05-30 06:15:26
Score: 3.5
Natty:
Report link

Prometheus that does not support OAuth2 based authentication for SMTP email configuration.
I got an answer here in this link https://groups.google.com/g/prometheus-users/c/dB0kAnHNJ8I. Thanks a ton to @ Bryan Boreham's profile photo Bryan Boreham!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): this link
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: raikumardipak

79644975

Date: 2025-05-30 06:14:25
Score: 6.5 🚩
Natty: 5.5
Report link

What about Android ? I had installed the dependencies with npm install @shopify/flash-list but facing the same issue

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: HANSHVEE PATIL

79644974

Date: 2025-05-30 06:14:25
Score: 2.5
Natty:
Report link

If you want to test out if your spf record is ok, there's a new tool out that is subscription based, but allows you to get alerted anytime a change is detected on your domain, it runs checks against your spf, DMARC, DKIM, SSL Certificate ect. site is Guard My Domain https://guardmydomain.com

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

79644969

Date: 2025-05-30 06:08:24
Score: 2.5
Natty:
Report link

{ "PersonID":1, "LastName":"mitha", "FirstName":"madhu", "Address":"123,vaniyambadi", "City":"vaniyambadi" }

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

79644966

Date: 2025-05-30 06:01:22
Score: 0.5
Natty:
Report link

you could do sth like this

LET array = [{title: "a"},{title: "b"}]
let res_a = (FOR item IN array
    INSERT item INTO collection_1
    return NEW)
    
let res_b = (INSERT {title: "c"} INTO collection_2 return NEW)
return {res_a, res_b}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Icarus

79644964

Date: 2025-05-30 05:59:22
Score: 2.5
Natty:
Report link

So it turns out that updating to v20 of Angular charges the Case Sensitive requirement in the angular.json file. My actual config is Web.config, but in angualr.json it is referenced as web.config. In Angular 19 this did not seem to be a problem, but in Ang 20 this is a problem.

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

79644954

Date: 2025-05-30 05:49:19
Score: 6.5 🚩
Natty: 4
Report link

Si tienes este problema actualmente, hay una solución sube una versión de forma manual con los permisos nuevos agregados por que una vez subida la aplicación a google play dificilmente vas a encontrar los permisos en segundo plano, etc.

Entonces cuando subas a google play te recomendara políticas no declaradas, ojo de forma manual ahí podrás observar los permisos faltantes

Reasons:
  • Blacklisted phrase (3): solución
  • RegEx Blacklisted phrase (2): encontrar
  • No code block (0.5):
  • Low reputation (1):
Posted by: Luis Vargas

79644947

Date: 2025-05-30 05:40:17
Score: 3
Natty:
Report link

This for Arabic:

[\x{0600}-\x{06FF}]+

with info from that page:

utf8-chartable.de

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

79644945

Date: 2025-05-30 05:40:17
Score: 5
Natty:
Report link

Did you find a solution? I encountered the same problem on my first Python project via Posit and it was a huge disappointment.

import pandas as pd
import numpy as np
pd.set_option('display.max_columns', None)
pd.set_option('display.width', 500)

kods={"QM":"Ücret"} #<-- error is here
Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (1):
Posted by: Magister

79644940

Date: 2025-05-30 05:38:15
Score: 5
Natty: 7.5
Report link

Hi anybody didn't help since 9 years 11 months. Could you please inform me about the solution ?

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

79644923

Date: 2025-05-30 05:18:11
Score: 1
Natty:
Report link

You could make your life a lot easier by creating the illusion that an agent touched an object by using a timer event rather than a touch_start or touch_end event. I tried to script a method for Corrade agents to interact with games in SL, but soon discovered that a lot of the older games used llDetectedTouchUV, so the only option available for the bot to touch (for most of the bot services and viewers) was whatever option occupied the center of the texture.

My solution was to create games that played themselves using a timer. When a non-bot was seated, the timer was set to 60 seconds to give the player a reasonable amount of time to make decisions and touch whatever needed to be touched on the board to complete their turn (after which, the turn was forfeited and the next player gained control of the board). When a bot was seated, the gaming script determined the next move, and the timer executed it after 10 seconds. If a seat was left unoccupied, the game ignored them and simply moved to the next occupied (bot or human) player playing the game.

SL physics, and interacting with objects using a mouse (instead of your hands) is very different than the way things work in RL. Sometimes giving the illusion of what you want a scripted agent (or a RLV participant) to do is more practical than scripting something to actually do it.

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

79644920

Date: 2025-05-30 05:13:10
Score: 2.5
Natty:
Report link

I just restarted my vscode and it worked.

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

79644905

Date: 2025-05-30 04:43:03
Score: 2.5
Natty:
Report link

No need to overcomplicate things. There are two simple ways. Use the functions below

  1. =LOWER( A1 & "." & B1 & "@test" )
  2. =LOWER( CONCAT( A1, ".", B1, "@test" ) ) if older version =LOWER( CONCATENATE( A1, ".", B1, "@test" ) )

results

enter image description here

enter image description here

Whith these you can do this simply

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

79644903

Date: 2025-05-30 04:38:01
Score: 1.5
Natty:
Report link

CONCAT takes multiple arguments like this.

=CONCAT(A2,".",B2,"@example.com")
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Indivara

79644899

Date: 2025-05-30 04:35:01
Score: 0.5
Natty:
Report link

SO_BINDTODEVICE was made available to non-root users as of kernel v5.7.

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

79644895

Date: 2025-05-30 04:27:59
Score: 2
Natty:
Report link

vite v6.3.5 building for production...

✓ 52 modules transformed.

../../public/build/.vite/manifest.json 0.15 kB │ gzip: 0.12 kB

../../public/build/assets/app-T1DpEqax.js 35.28 kB │ gzip: 14.16 kB

✓ built in 707ms

in laravel 12 why manifest.json in folder .vite/manifest.json and error Vite manifest not found at: public/build/manifest.json

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

79644892

Date: 2025-05-30 04:23:58
Score: 3
Natty:
Report link

Upgrading or Downgrading the version of botocore and boto3 fixed this issue

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

79644883

Date: 2025-05-30 04:12:55
Score: 1.5
Natty:
Report link

In order to utilize permission_callback correctly with JWT Authentication in WordPress, you need to make sure that:

The Jwt token is sent using the Authorization header

The token is validated with that same logic that the JWT Authentication for WP REST API plugin use (or your custom logic if you have any)

The personal_callback function returns true of the user is logged in.

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

79644879

Date: 2025-05-30 04:06:53
Score: 3.5
Natty:
Report link

From asp.net if i call business layer other than login API it wont work, i tried in Rest client and Http client both way cant. So what i did , i create a web API in .NET core, so this will bridge for asp.net application and SAP rest API.

Regards
Aravind

Reasons:
  • Blacklisted phrase (1): Regards
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: aravindb

79644871

Date: 2025-05-30 03:55:51
Score: 0.5
Natty:
Report link

If the website doesn’t offer a public API or RSS feed (like in the case of Sabaragamuwa University), here are a few approaches you can try:

Server-side scraping: Use a tool like axios with cheerio or puppeteer on the backend to fetch and parse the content you want. Then serve that data to your React app through a custom API route.

Embed with iframe (if necessary): This can be a quick solution, but like you said, it's often not responsive or clean. Still, it works for quick demos.

Reach out to the web team: If you’re affiliated with the university, consider asking them to provide an RSS feed or API. Universities often respond positively to student-led tech improvements.

Workaround with a CMS: If this is just a project, you could manually input announcements into something like Firebase or a simple CMS so you have full control over the content shown.

Hope that helps! Let me know if you want help setting up a scraping function or backend route.

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nilu Thanarasa

79644859

Date: 2025-05-30 03:42:48
Score: 3
Natty:
Report link

you can set GOOGLE_ALLOW_MULTIPLE_CREDENTIALS=true and use InPrivate window to login multiple credentials

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

79644848

Date: 2025-05-30 03:28:45
Score: 4
Natty:
Report link

I use sudo git push solve my problem

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

79644844

Date: 2025-05-30 03:25:44
Score: 0.5
Natty:
Report link

Is your custom field xml file missing a few things?

This is an example of a custom field we have on our Accounts object, which is what is pulled from Salesforce directly using the cli:

 sf project retrieve start --metadata CustomObject:Account 
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Username__c</fullName>
    <caseSensitive>false</caseSensitive>
    <encryptionScheme>None</encryptionScheme>
    <externalId>false</externalId>
    <label>Username</label>
    <length>255</length>
    <required>false</required>
    <trackFeedHistory>false</trackFeedHistory>
    <trackHistory>true</trackHistory>
    <type>Text</type>
    <unique>true</unique>
</CustomField>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: hellomarinoitte

79644842

Date: 2025-05-30 03:24:44
Score: 2.5
Natty:
Report link

there's another way to login, not using set the role (username = sys as sysdba, password = (what ever u want). this how to login as DBA, but u must have a SID first using DBCA and NETCA

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

79644839

Date: 2025-05-30 03:13:42
Score: 2.5
Natty:
Report link

For my case the error gave in supporting container. So once I come to the Container section I can see the Solace instance is running. Then can access the Solace web poral using port as show below.

Solace Instance is running and need to click on the correct port to access the portal

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

79644835

Date: 2025-05-30 03:07:40
Score: 2.5
Natty:
Report link

00101101 00101110 00101101 00101101 00100000 00101110 00101101 00101110 00101110 00100000 00101110 00101101 00100000 00101110 00101101 00101101 00100000 00101101 00101101 00101101 00101101 00101101 00101110 00101110 00100000 00101110 00101110 00101110 00101110 00100000 00101101 00101101 00101110 00101101 00101101 00101101 00100000 00101101 00100000 00101111 00100000 00101110 00101101 00101110 00101110 00100000 00101110 00101101 00101101 00101110 00100000 00101101 00100000 00101101 00101101 00101110 00101110 00100000 00101110 00101101 00101101 00101110 00100000 00101101 00101110 00101101 00101101 00100000 00101110 00101101 00101101 00101111

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low entropy (1):
  • Low reputation (1):
Posted by: ภาณุวัย จงร่างกลาง

79644834

Date: 2025-05-30 03:07:40
Score: 0.5
Natty:
Report link

I just realized my issue. In order to compare the passwords, the first argument to checkpw() is a str converted into bytes. The second argument is also a str converted into bytes, but checkpw() must do something behind the scenes to remove the salt when it was generated.

match = bcrypt.checkpw(
    password_to_check.encode('utf-8'),
    user.password_hash.encode("utf-8")
)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Simon1

79644828

Date: 2025-05-30 03:01:39
Score: 0.5
Natty:
Report link

This is another way:

conftest.py
def pytest_collection_modifyitems(config, items):
    for item in items:
        item.name = codecs.decode(item.name, 'unicode_escape')
        item._nodeid = codecs.decode(item._nodeid, 'unicode_escape')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: walker

79644823

Date: 2025-05-30 02:40:35
Score: 2
Natty:
Report link

I'm not sure why people down-voted this. I'm also not understanding the "Why" comments. With respect to everyone's opinion on code formatting, we have our internal policies for how we format code. This question wasn't meant to solicit political responses from developers with differing opinions to how we format our code.

Now, back to the problem at hand...

The issue was with the ms-dotnettools.csharp extension. In our case, version 2.76.27. After a bit more searching around the web, we came across the Github Issue below, which gave us an acceptable fix.

https://github.com/dotnet/vscode-csharp/issues/8316

An unintentional side affect, however, is that auto-indentation stopped working for curly-braced code blocks. So, we need to arrow-up and tab. But, our developers can live with that over the alternative, which was VS Code auto-formatting everything within the current block.

Reasons:
  • RegEx Blacklisted phrase (2): down-vote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user1913559

79644820

Date: 2025-05-30 02:37:34
Score: 2.5
Natty:
Report link

Your issue is with Streaming. When the client loads areas of the workspace out and tries to access parts in them, it fails as it can't find them. Try turning Workspace Streaming off or change the radius.

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

79644815

Date: 2025-05-30 02:29:32
Score: 3.5
Natty:
Report link

https://marketplace.visualstudio.com/items?itemName=hogashi.vscode-copy-github-permalink This extension can help. After installing, select the codes, right click, there will be an entry: Copy Github Permalink. Actually, it works with Gitlab as well.

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

79644813

Date: 2025-05-30 02:27:31
Score: 3
Natty:
Report link

On windows, the fonts are in c:\WIndowsfonts. I have been using times.ttf which is in that directory.

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

79644806

Date: 2025-05-30 02:12:28
Score: 1
Natty:
Report link

Use return() statement. It is best practices. No need to called called global variable.

Script:

def player():
    health = 100
    return print(health)

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

79644772

Date: 2025-05-30 01:02:12
Score: 0.5
Natty:
Report link

Looks like newer versions of excel open without a workbook. You'll have to add the workbook instead of a sheet.

exceldata.Workbooks.Add

You're not working with the correct workbooks since exceldata.Workbooks.Open returns a new workbook object rather than using itself as a the workbook.

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

79644770

Date: 2025-05-30 00:54:10
Score: 1.5
Natty:
Report link

Git 2.49, released in 2025-03-14 added support for this with the “—revision” in the clone command

https://git-scm.com/docs/git-clone#Documentation/git-clone.txt-code--revisionltrevgtcode

git clone —-revision=683c54c999c301c2cd6f715c411407c413b1d84e —-depth=1 https://github.com/gig/git.git
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: arslivinski

79644768

Date: 2025-05-30 00:52:10
Score: 0.5
Natty:
Report link

Someone else helped me find the answer.

in my firebaseConfig.js I had the call

export const db = getFirestore(app);

i had to change it to

export const db = getFirestore(app, 'mydb');

This fixed the issue

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

79644759

Date: 2025-05-30 00:32:05
Score: 6 🚩
Natty: 4
Report link

@cafce25 what command(s) would that be, for those of us not versed in shell who are installing this as a prerequisite (would have commented but this site doesn't let me comment until i get two reputation)

Reasons:
  • RegEx Blacklisted phrase (1.5): reputation
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @cafce25
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Ash Græy Chardonnay

79644736

Date: 2025-05-29 23:40:54
Score: 0.5
Natty:
Report link

Firebase ID tokens expire after an hour, but are also re generated much sooner than that.

The onIdTokenChanged function is used to handle the new ID token that is generated whenever a user's token has changed for any number of reasons (claims changed, email changed, email verified changed etc.).

You can also revoke the old token by getting the users token with a force refresh: See Docs

I know its not the exact same as testing the expiry, but you can test validity (expired tokens are not valid) by either updating their claims in the emulators auth UI, or forcing a refresh of the token in code.

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

79644730

Date: 2025-05-29 23:29:52
Score: 0.5
Natty:
Report link

For anyone wanting to do this in Javascript, here's a wrapper for JSON.stringify that can do it for any kind of spacing:

const toPrettyJSONString = (value, replacer = null, space = "\t") =>
    JSON.stringify(value, replacer, space).replace(new RegExp("(\n\\s*)(.*?:) ([\\[{])(?=\n)", "g"), "$1$2$1$3");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Benjamin Penney

79644718

Date: 2025-05-29 23:15:49
Score: 2.5
Natty:
Report link

if you put a delay in between pushing strings into your Clipboard it works.
This creates a delay:
iSec=1 'seconds of delay
Application.Wait DateAdd("s", iSec, Now)

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

79644714

Date: 2025-05-29 23:04:47
Score: 1
Natty:
Report link

If you have Workflows, you can use the API Connector to pre-populate based on some sort of external ID.

I'm working on a similar setup now and would love to know what you did with this!

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Merm

79644711

Date: 2025-05-29 23:02:46
Score: 3.5
Natty:
Report link

If you're using a processor with I-Cache and D-Cache, try disabling it for debug. This can cause problems with a debugger.

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

79644709

Date: 2025-05-29 23:00:45
Score: 1.5
Natty:
Report link

If you have this configuration in your build.gradle, remove it:

jar { enabled = false }

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pedro Bacchini

79644708

Date: 2025-05-29 22:57:44
Score: 0.5
Natty:
Report link

sorry ignore previous code, this one should work in python to load tensorboard.

def run_tensorboard(logdir_absolute: str, port: int = 6007):
    import subprocess
    import threading

    def launch_tb():
        command = [
            "tensorboard",
            f"--logdir={logdir_absolute}",
            f"--port={port}"
        ]
        subprocess.Popen(command)

    tb_thread = threading.Thread(target=launch_tb, daemon=True)
    tb_thread.start()
    print(f"[INFO] TensorBoard started on http://localhost:{port}")
run_tensorboard("your runs folder full path", port=6007)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Ersi Zhao

79644701

Date: 2025-05-29 22:45:41
Score: 3
Natty:
Report link

docker run -it --user root test-nginx bash

container: find /usr -type d -exec chmod o+rx "{}" \;

container: exit

docker restart test-nginx

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

79644698

Date: 2025-05-29 22:43:36
Score: 8 🚩
Natty:
Report link

I am having the same Problem with nano but when i use uno it works
i tried changing the baud rate also but no result did someone find any answer

Reasons:
  • RegEx Blacklisted phrase (3): did someone find any answer
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same Problem
  • Low reputation (1):
Posted by: user30672688

79644695

Date: 2025-05-29 22:36:34
Score: 1
Natty:
Report link

to print just the first part of the 3d numpy array as a 2d grid, you can index into the first 2d array using M[0].

M = np.array([[[3,3,3], [3,3,3], [3,3,3]], [[4,4,4], [4,4,4], [4,4,4]]])

#print the first 2d part
for row in M[0]:
    print(' '.join(map(str, row)))

output:

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

79644694

Date: 2025-05-29 22:35:34
Score: 2.5
Natty:
Report link

You can use this library directly:

https://pub.dev/packages/speech_to_text_field

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

79644691

Date: 2025-05-29 22:33:33
Score: 0.5
Natty:
Report link
    var inventory = {
        "Apple":    {"Cost": 0.99, "Stock": 3},
        "Orange":   {"Cost": 1.49, "Stock": 11},
        "Grapes":   {"Cost": 3.99, "Stock": 2},
        }
    
    for item in inventory.keys():
        var data  = inventory[item]
        var stock = data["Stock"]
        var cost  = data["Cost"]
        var name  = item
        if !item.ends_with("s"):
            name += "s"
            
        print("There are %d %s, and they cost %.2f each." % [ stock, name, cost ])
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: TechnoM4ncer

79644686

Date: 2025-05-29 22:20:30
Score: 1
Natty:
Report link

You need to call global inside the function in order to access the global variable.

def player():
  global health
  health = 100   
player()
print(health)

Output

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

79644682

Date: 2025-05-29 22:17:29
Score: 3
Natty:
Report link

Do you mean something like this?

for item in M[0]:
  print(item)

Output:

[3 3 3]
[3 3 3]
[3 3 3]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Adeva1

79644673

Date: 2025-05-29 22:00:26
Score: 2
Natty:
Report link

That is happening because you're using the var keyword for variable declaration, a property created with var is non-configurable, therefore they can't be deleted from the object they are being assigned to, in this case window, if you choose to use const/let such thing does not happen directly, which could represent a better alternative since they are block-scoped.

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

79644668

Date: 2025-05-29 21:53:23
Score: 6 🚩
Natty: 4.5
Report link

@1GDST Thank you! Exactly the same problem, solved with your trick ;)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Thank
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Fede Alto

79644654

Date: 2025-05-29 21:34:19
Score: 1.5
Natty:
Report link

To turn line numbers on for a single session in Jupyter Notebook, you can turn them on through View > Show Line Numbers (about halfway down the list, just under Show Log Console). The entry in the view menu will also tell you what the shortcut is, generally Shift+L.

To have the line numbers on by default (I genuinely don't understand why they aren't), you will need to change your settings, and the easiest way for to accomplish that for me was to edit the configuration files directly.

To do this, start by going to the Jupyter config directory.

Navigate to your jupyter config directory, which you can find by typing the following at the command line:

jupyter --config-dir

as per [George Fisher] (https://stackoverflow.com/a/42866228/30672248))

Then, you will need navigate to lab > user-settings > @jupyterlab > notebook-extension. You can do this in your file explorer or by going directly to <config directory>/lab/user-setting/@jupyterlab

There should be a file in there, mine is called tracker.jupyterlab-settings.jupyterlab-settings

Lastly, we need to actually change the configuration. This is based off of MRule's answer (though they seemed to be able to do it from within Jupyter Lab, which I could not get to work).

Open that file with your text editor or code editor of choice, and find "codeCellConfig". Within that entry, you're looking for a line for lineNumbers. If it already exists, make sure it is set to true. If it doesn't, just add it to the bottom of the list! When you're finished, it should look something like this:

{
  ...
  <some other configurations>,
  
  "codeCellConfig": {
    "autoClosingBrackets":true,
    "lineWrap":false,
    "lineNumber":true
  },

  ...
  <some other configurations>
  ...

Be careful to include commas in the correct spaces, each line within "codeCellConfig" is going to need a comma after it, except for the very last one.

If you are changing the configuration file while Jupyter Notebook is running, it probably won't take effect until you restart it again, so consider saving your work and restarting Jupyter Notebook.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @jupyterlab
  • Low reputation (1):
Posted by: Joshua Meetsma

79644644

Date: 2025-05-29 21:21:16
Score: 2.5
Natty:
Report link

11111111111

7777777777777777777777777<html></html>

111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111

Reasons:
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Filler text (0.5): 11111111111
  • Filler text (0): 7777777777777777777777777
  • Filler text (0): 111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
  • Low entropy (1):
  • Low reputation (1):
Posted by: Nathan Vu

79644643

Date: 2025-05-29 21:21:16
Score: 1.5
Natty:
Report link

This may not work in this case, but I wanted to know when a carousel slide was swiped with react-slick but not changed by a button. There's few events that are given so I went with beforeChange (onSwipe is in the typing but not working).

I was able to effectively do the same thing as the drag events with onTouchStart, onTouchEnd, onMouseDown, and onMouseUp and put isDragging in state.

Reasons:
  • Blacklisted phrase (1): but not working
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tuberculoco

79644640

Date: 2025-05-29 21:20:15
Score: 0.5
Natty:
Report link

This method, recommended by @Remy Lebeau, also works well, and is arguably simpler than my first answer, though both work. I'll leave my original solution in place though, as it has the (arguable) advantage that the familiar call to wmain() remains in place, in traditional form. My first solution also has a slight advantage in not requiring shellapi, though in many of my applications I end up using it anyway...

//  build: g++ -Wall -O2 -DUNICODE -D_UNICODE wmain.cpp -o wmain.exe -lshlwapi
#include <windows.h>
#include <stdio.h>
#include <shellapi.h>

int main(void) 
{
    LPWSTR *szArglist;
    int nArgs;

    // Get the command line string
    LPWSTR commandLine = GetCommandLineW();

    // Convert the command line string to an array of arguments
    szArglist = CommandLineToArgvW(commandLine, &nArgs);

    if (szArglist == NULL) {
        wprintf(L"CommandLineToArgvW failed\n");
        return 1;
    } else {
        for (int i = 0; i < nArgs; i++) {
            wprintf(L"%d: %s\n", i, szArglist[i]);
        }
    }

    // Free the memory allocated by CommandLineToArgvW
    LocalFree(szArglist);

    return 0;
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Remy
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Gorlash

79644639

Date: 2025-05-29 21:17:15
Score: 3.5
Natty:
Report link

I completely changed the way it worked and created another directory to work on this. you can find the new repo here: https://github.com/DarkSorrow/llamarn

The module works for android too on it. The main problem was that on android some dynamic library tried to be loaded but they were silently failing and therefore preventing the library to be registered. From what i read there is a problem with react 0.76 with it. The best way if you have the same error is to look at the correct initalisation of your library. Maybe write a log in your init and see if it stills there

Reasons:
  • Whitelisted phrase (-1): it worked
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same error
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Darksorrow

79644633

Date: 2025-05-29 21:13:14
Score: 2.5
Natty:
Report link

import pygame

import random

# Inicializar Pygame

pygame.init()

# Dimensiones de la pantalla

ancho, alto = 6

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

79644624

Date: 2025-05-29 21:03:11
Score: 4
Natty:
Report link

enabling sniStrict solves my problem...

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

79644617

Date: 2025-05-29 20:59:09
Score: 2
Natty:
Report link

Para alterar o breakpoint de lg para md, altere a classe para md:table. Para impedir a pilha, remova block e aplique table sempre.

Se for trabahar com o CSS, pode alterar o padrão usando o Tailwind's @apply:

.custom-changelist-table {
@apply table md:table;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @apply
  • Low reputation (1):
Posted by: Ricardo Tavares

79644605

Date: 2025-05-29 20:47:06
Score: 1
Natty:
Report link
  1. Your chatbot javascript didn't load. Try install it in your HTML or index.js
  2. Your mime type for the CSS file needs to be implicitly support on the server. Try body-parser if you are using a Node.js server. But it depends on your server. You need to support appication/json.

Body-Parser: https://www.npmjs.com/package/body-parser

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

79644598

Date: 2025-05-29 20:41:04
Score: 5.5
Natty:
Report link

Are you sure you used npm i in the terminal?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Milán Makula

79644589

Date: 2025-05-29 20:36:02
Score: 2
Natty:
Report link

You can do this easily from the console for an environment you have already created:

  1. Go to your EB environment => Configuration

  2. Then under Configure updates, monitoring, and logging, set this:

  3. Config updates settings

  4. Apply the changes.

  5. Then go back to Configuration => Instance traffic and scaling.

  6. Now you can update the Environment type to "Single instance":

  7. Capacity settings

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

79644576

Date: 2025-05-29 20:21:57
Score: 2
Natty:
Report link

I'm using the Mantine UI library in my project and I found some mock setup items in their docs that solved the issue for me. Similar to the accepted answer, but with a few other items too

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
Posted by: vancy-pants

79644572

Date: 2025-05-29 20:18:56
Score: 0.5
Natty:
Report link
serial.write(b'\x03')

This may not work (or not work all the time) as it depends on the default encoding. If this is NOT utf-8 then pyserial will complain with the message :

TypeError('unicode strings are not supported, please encode to bytes: {!r}'.format(seq))

To avoid this you have to encode your string as utf-8, so to send an escape sequence (e.g. ESC [ z ) you can do:

ESC_CHAR = chr(27)
text=f"{ESC_CHAR}[z".encode("utf-8"
serial.write(text)

You can of course compress this to one line or a variable for convenience.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: series80

79644560

Date: 2025-05-29 20:08:53
Score: 1
Natty:
Report link

node_modules is created based on the dependencies listed in `package.json`. Since you have deleted it the only option here is to visit every file in your project and install the dependencies.

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

79644552

Date: 2025-05-29 20:00:51
Score: 5.5
Natty:
Report link

Para centralizar elementos em um BoxLayout (seja no eixo X para um layout vertical, ou no eixo Y para um layout horizontal) usando o centro do elemento, você pode configurar o alinhamento dos componentes usando o método setAlignmentX (para centralização horizontal em um layout vertical) ou setAlignmentY (para centralização vertical em um layout horizontal). O valor Component.CENTER_ALIGNMENT (0.5f) garante que o componente fique alinhado ao seu centro.

Aqui está um exemplo de código para centralizar elementos em um BoxLayout vertical:

import javax.swing.*;
import java.awt.*;

public class CenteredBoxLayoutExample {
    public static void main(String[] args) {
        JFrame frame = new JFrame("Centered BoxLayout Example");
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setSize(300, 200);

        // Cria um painel com BoxLayout vertical
        JPanel panel = new JPanel();
        panel.setLayout(new BoxLayout(panel, BoxLayout.Y_AXIS));

        // Adiciona alguns botões como exemplo
        JButton button1 = new JButton("Botão 1");
        JButton button2 = new JButton("Botão 2");
        JButton button3 = new JButton("Botão 3");

        // Define o alinhamento horizontal no centro para cada botão
        button1.setAlignmentX(Component.CENTER_ALIGNMENT);
        button2.setAlignmentX(Component.CENTER_ALIGNMENT);
        button3.setAlignmentX(Component.CENTER_ALIGNMENT);

        // Opcional: Define a largura máxima para evitar que os botões se expandam
        button1.setMaximumSize(new Dimension(100, 30));
        button2.setMaximumSize(new Dimension(100, 30));
        button3.setMaximumSize(new Dimension(100, 30));

        // Adiciona os botões ao painel
        panel.add(Box.createVerticalGlue()); // Espaço flexível no topo
        panel.add(button1);
        panel.add(Box.createVerticalStrut(10)); // Espaço fixo entre botões
        panel.add(button2);
        panel.add(Box.createVerticalStrut(10));
        panel.add(button3);
        panel.add(Box.createVerticalGlue()); // Espaço flexível no fundo

        frame.add(panel);
        frame.setVisible(true);
    }
}
Explicação:

Alinhamento : O método setAlignmentX(Component.CENTER_ALIGNMENT) centraliza os componentes horizontalmente em um BoxLayout vertical. Para um BoxLayout horizontal, use setAlignmentY(Component.CENTER_ALIGNMENT) para centralizar verticalmente.
Controle de tamanho : Definir setMaximumSize evita que os componentes se expandam para preencher todo o espaço disponível, mantendo o alinhamento central visível.
Espaçamento : Box.createVerticalGlue() adiciona espaço flexível para distribuir os componentes de maneira uniforme, enquanto Box.createVerticalStrut(n) adiciona um espaço fixo entre os componentes.
Flexibilidade : O uso de Glue e Strut ajuda a manter os componentes centralizados mesmo quando a janela é redimensionada.
Reasons:
  • Blacklisted phrase (3): você
  • Blacklisted phrase (1): está
  • Blacklisted phrase (2): código
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Selvo Brancalhão

79644531

Date: 2025-05-29 19:48:47
Score: 1.5
Natty:
Report link

With uv, syncing is "exact" by default, which means it will remove any packages that are not present in the lockfile.

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

79644522

Date: 2025-05-29 19:39:45
Score: 1
Natty:
Report link

It's impossible at the moment.

As an alternative options you can

  1. Execute a second query for just the children objects

  2. Calculate the total number of child objects on the client side. E.g. using JsonPath

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

79644513

Date: 2025-05-29 19:28:41
Score: 1
Natty:
Report link

You need to set the contexts in the SlashCommandBuilder with setContexts.
To allow command on every channel you can try:

new SlashCommandBuilder().setContexts(InteractionContextType.PrivateChannel, InteractionContextType.BotDM, InteractionContextType.Guild)

Make sure to import InteractionContextType.

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

79644512

Date: 2025-05-29 19:28:41
Score: 1.5
Natty:
Report link

Thanks @kikon for the answer (upvoted it). The final resolution as he mentioned was the ticks still having space to e drawn even though we were not drawing them.

scales.y.grid.drawticks = false was the final option that did it for us.

Thanks!

scales: {
    x: {
      stacked: true,
      min: 0,
      max: total.value,
      beginAtZero: true,
      grid: { display: false, drawBorder: false },
      ticks: { display: false },
      border: { display: false },
      barPercentage: 1.0,
      categoryPercentage: 1.0,
    },
    y: {
      stacked: true,
      beginAtZero: true,
      grid: { display: false, drawBorder: false, drawTicks: false },
      ticks: { display: false },
      border: { display: false },
      barPercentage: 1.0,
      categoryPercentage: 1.0,
    },
  },
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): upvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @kikon
  • Self-answer (0.5):
Posted by: djneely

79644503

Date: 2025-05-29 19:18:38
Score: 1.5
Natty:
Report link

Is the line finished with "resp=0x00"? Maybe you tried to upload the sketch to Arduino Nano and selected "nanoatmega328new" as the processor, but your board uses the old "nanoatmega328P" processor.

Please try to change the processor, and it should upload without error.

If you use Arduino IDE you can just select a processor enter image description here

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is the
Posted by: yaroslawww

79644495

Date: 2025-05-29 19:12:36
Score: 3
Natty:
Report link

Just ran into this one after installing the latest/greatest for today; SSMS 21.1.3 & VS22 17.14.3. Same deal- Import Data not actively showing up (ie greyed out) within SSMS.

And as @feganmeister mentioned, one can still use the utility. Just set up a shortcut. There are two versions; 32/64 bit. I brought mine up from C:\Program Files\Microsoft SQL Server\160\DTS\Binn\DTSWizard.exe.

I did, in fact, try uninstalling VS22 SSDT and reinstalling...same result; no active Import Data option under Tasks. I just reinstalled SSMS. Same result- no active import data option.

I realise this is an older (6 years ago) issue, however, it might be still going on via the new installers. Cheers!

Reasons:
  • Blacklisted phrase (1): Cheers
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @feganmeister
  • Low reputation (1):
Posted by: user30611842

79644492

Date: 2025-05-29 19:11:35
Score: 6.5 🚩
Natty: 5
Report link

Same issue for me , GNO CGDA file ok, gcov result ok, BUT no code highlighted

is there someone help us to solve that issue?

seems there is not dependent of eclipse version...

Reasons:
  • RegEx Blacklisted phrase (1.5): solve that issue?
  • RegEx Blacklisted phrase (1): help us
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: user30671588

79644489

Date: 2025-05-29 19:08:34
Score: 2
Natty:
Report link

Thanks Damola,

It does appear that KEY is a compatibility word in SQLite3, and MySQL indeed has it as an alias for INDEX and as a compatibility with "other" DBs.

I checked Microsoft sql and I couldn't find a bare KEY in their documentation, albeit, I didn't do an exhaustive search of their documentation or look at other DBs. So, it is a no-op, and I'll just use the CREATE INDEX statement to create an index. (If this "key is a no-op" had been documented, I wouldn't have had to post my query here)

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

79644487

Date: 2025-05-29 19:05:33
Score: 5.5
Natty: 7
Report link

This article describes time measurement for executed code: https://docs.zephyrproject.org/latest/kernel/timing_functions/index.html

Reasons:
  • Blacklisted phrase (1): This article
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alexander Kozhinov

79644486

Date: 2025-05-29 19:05:33
Score: 0.5
Natty:
Report link

This is a thread's issue. onEnd callback runs on UI thread and setEditing must run on JS thread, so crash is happening because you try to call JS function from UI thread. To prevent this code from crashing JS code should be scheduled to be evaluated in the corresponding thread. So just change that line with state change to runOnJS(setEditing)(true)

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

79644483

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

in the table the user record is added, but it is not applied, that is, with the root it works without problems, with the others no, I did everything but nothing worked, in general I thought it was very simple but it turned out that no one knows the real answer)

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Маша Букина

79644475

Date: 2025-05-29 18:53:29
Score: 1.5
Natty:
Report link

First, you have to enable the Enrollment Attributes in Advanced settings. Then the priority level will be set in the Enrollment Rules section. The steps are listed below.

  1. Navigate to the Admin Menu and select Enrollment Rules.

  2. Click the plus (+) button to create a new rule or choose an existing rule to edit.

  3. In the rule settings, assign resources

  4. Within the same rule configuration, locate the Enrollment Attributes section.

  5. Here, you'll find the option to set the Priority level.

  6. Select the desired priority (e.g., Mandatory, Required, Recommended, or Optional).

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

79644470

Date: 2025-05-29 18:49:28
Score: 3
Natty:
Report link

For me the solution was make only one call, i was calling the same fragment twice.

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

79644468

Date: 2025-05-29 18:48:28
Score: 3
Natty:
Report link

Apache Phoenix does not natively support the MultiRowRangeFilter from HBase. This functionality can be achieved by executing multiple scans for each range separately in the application and then merging the results.

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

79644467

Date: 2025-05-29 18:48:28
Score: 1
Natty:
Report link

I have tried various “answers” to this solution, but have been dissatisfied. So, I’m submitting my code for folks to kick around. I’ve found the only way for me to achieve this smoothly is by being an absolutist!

Here is an example formatted by the CSS, below

div.quote {
   margin-top     : 0.5em; 
   padding-top    : 0.5em;
   border-top     : var(--border);
   border-bottom  : var(--border);
   padding-bottom : 0.5em;
   margin-bottom  : 1em;
   line-height    : 1.3em;
   position       : relative;
}

div.quoteText {
   margin-bottom:2em;
}


div.quoteText:before {
   content     : "“";
   font-size   : 5em; 
   color       : forestgreen;
   position    : relative; 
   top         : 0.5em;
   line-height : 0.5em;
}

div.quote div.byLine {
   float    : right; 
   position : relative; 
   top      : -0.5em; 
}

div.quoteText:after {
   content     : "”";
   font-size   : 5em; 
   color       : forestgreen;
   line-height : 0.5em;
   position    : absolute; 
   bottom      : 0px; 
   bottom      : 0.3em;
   line-height : 0em;
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: dreamitcodeit

79644462

Date: 2025-05-29 18:45:27
Score: 1
Natty:
Report link

I ended up here after a Google search. But I didn't find my answer here.

Instead, in my publish profile I needed to choose the x64 configuration. And when I did it worked.

enter image description here

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Jesse Sierks

79644458

Date: 2025-05-29 18:43:26
Score: 1
Natty:
Report link

You can use item delegate for this.

Please look at QStyledItemDelegate in the Qt documentation.

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

79644448

Date: 2025-05-29 18:37:25
Score: 2.5
Natty:
Report link

I was receiving the same error on Windows 11 w/ VS Code.

This solution worked for me!

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Bill

79644444

Date: 2025-05-29 18:34:24
Score: 2.5
Natty:
Report link

I know that this thread is 2 years old but it was modified a month ago so I am posting. Just go with basedpyright. it is open source and works just as good as pylance in most situations. Just installation on arch is bit sketchy so I had to use AI for help.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mięsny Jeż

79644441

Date: 2025-05-29 18:30:23
Score: 4
Natty:
Report link

New one

./gradlew signinReport

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Rakesh Biswal

79644436

Date: 2025-05-29 18:26:22
Score: 0.5
Natty:
Report link

You can use React Link:

import { Link } from 'react-router-dom'; <"Link to="https://example.com/faq.html"> FAQ <"/Link">

*Remove double quotes (") inside tags. I added the, because without it the Link tag is not showing in my answer for unknown reason.

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

79644424

Date: 2025-05-29 18:16:19
Score: 2.5
Natty:
Report link

oops, silly mistake! <body> has a default nonzero margin, apparently… setting this to 0 fixed the problem!

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: алекси к

79644423

Date: 2025-05-29 18:15:19
Score: 2.5
Natty:
Report link
Adios Gringo, following your help, I managed to put it like this:
    ax.text(xs[i * nr_status] + 100, ys[i * nr_status] - 50, z=35, zdir=(0, 1, 1), ha='right', va='top', s=f"{dp}", color=xy_ticklabel_color, weight="bold", fontsize=7)

screenshot of a 3d bar chart showing text and bars

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: André Amorim

79644421

Date: 2025-05-29 18:13:19
Score: 1.5
Natty:
Report link

Addidng this did the trick for me:
#include <SFML/Window/Event.hpp>

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

79644418

Date: 2025-05-29 18:12:18
Score: 1
Natty:
Report link

In this situation 50-60ms is normal latency. However if you want to increase performance you may use JWT auth instead of Basic Auth.
Why basic auth increase latency?
Basic auth may introduce latency increase because credentials are sent to server in Base64 encoded string, server has to decode and validate credentials. Using JWT will reduce the performance overhead as server will not have query database again and again significantly reducing the latency. However you may use a workaround if you don't want to use JWT, on startup load all users in some static Map, you may use username as key and User Model as value, this will also help in reducing latency.

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

79644417

Date: 2025-05-29 18:12:18
Score: 1
Natty:
Report link

I just found this page today when I tried to solve same problem for MSVC 2022 in Win 10, so this is solution for 2025 year:

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

79644405

Date: 2025-05-29 18:08:16
Score: 3
Natty:
Report link

found it. For Advanced Timers I should Set MOE bit in BDTR Register. Here is the solution Link

Answer

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

79644404

Date: 2025-05-29 18:06:15
Score: 0.5
Natty:
Report link

I try this code on tests: 6 passed and 3 failed (test_sym_expr_eq_3, test_sym_expr_eq_6 and test_sym_expr_eq_7). I don't see how to manage theses cases. Have you any idea?

def syms(e):
    if isinstance(e,sympy.Symbol):
        return [e]
    rv=[]
    if isinstance(e,sympy.Number):
        return [e]
    for i in e.args:
        rv.extend(syms(i))
    return rv

def reps(a, b, symbols): # return mapping if coherent else None
    if len(a) == len(b):
        rv = {}
        for i,j in zip(a,b):
            if i in symbols or j in symbols:
                continue
            if isinstance(i,sympy.Number) and isinstance(j,sympy.Number): # numbers must be equal
                if i != j: return
                continue
            if rv.get(i,j)!=j: # symbols must be always the same
                return
            rv[i]=j
        return rv

def sym_expr_eq(a, b, symbols = []):
    a = sympy.sympify(a)
    b = sympy.sympify(b)

    d = reps(syms(a), syms(b), symbols)

    if (d):
        return a.xreplace(d) == b
    else:
        return a == b
Reasons:
  • Blacklisted phrase (1): any idea?
  • Whitelisted phrase (-2): try this code
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: P'tit Ju

79644374

Date: 2025-05-29 17:45:10
Score: 1
Natty:
Report link

Found the problem.

The original code is fine.

The problem is that I had to define the same key combination (Alt+Q in my case) on Extensions page under "Keyboard shortcuts".

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