79670951

Date: 2025-06-18 16:00:03
Score: 2
Natty:
Report link

Right now GoogleGenerativeAI LLM provider does not support tool calls and system prompts. Use grok or openai instead or launch gemma in LMStudio

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

79670950

Date: 2025-06-18 16:00:03
Score: 2
Natty:
Report link

When generating a REST client from Swagger/OpenAPI, JsonPatchDocument often isn’t correctly serialized because code generators don’t handle its internal structure properly. It should serialize as a list of patch operations, but instead, it may serialize as an empty object or malformed data

Fix: Use a custom model, e.g. List<PatchOperation> to represent the patch operations manually, ensuring correct serialization on the wire.

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Chidiebere P. Nwangele

79670949

Date: 2025-06-18 15:59:02
Score: 1
Natty:
Report link

<p class="text-muted small datetime-element" style="font-size: 9px !important;">{{datetime_var}}</p>

<script>
    document.querySelectorAll(".datetime-element").forEach(element => {
        let datetime = element.textContent;
        datetime = new Date(datetime).toLocaleString();
        element.textContent = datetime;
    });
</script>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vikas Kumar

79670942

Date: 2025-06-18 15:54:01
Score: 4
Natty:
Report link

I am not sure when this feature was introduced, but there is a better way to handle errors instead of relying on a regex expression.

Here is the link: https://angular.dev/ecosystem/service-workers/communications#handling-an-unrecoverable-state

Reasons:
  • Blacklisted phrase (1): Here is the link
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Fabien

79670938

Date: 2025-06-18 15:53:00
Score: 1.5
Natty:
Report link

Maybe as an addition to Ikarus' answer.
Add this in the .clangd file:

CompileFlags:
  Add: 
    - -ferror-limit=0
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: GiveMeVectors

79670935

Date: 2025-06-18 15:50:00
Score: 0.5
Natty:
Report link

There is no way to disable this iOS internal behavior programmatically; however, a workaround is to change the way you implement Nearby Interaction. You can implement it using iCloud, the Multipeer Connectivity framework, sockets, the Bonjour API, etc. By using Multipeer Connectivity, you can use Nearby Interaction without triggering NameDrop (sharing contact information if two phones are held close together) if you are not close enough.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gabriel Ferraz Fontes

79670929

Date: 2025-06-18 15:45:58
Score: 4
Natty:
Report link

systemctl list-units --type=service --state=running

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aditya Semwal

79670928

Date: 2025-06-18 15:43:58
Score: 1.5
Natty:
Report link

I think this is a bug in 150.0.1 of the googleapis module in npm.

I rolled back to 149.0.0 and no longer have this issue.

I agree with your assessment, that undefined values are being serialized as strings, causing the backend to think it's PKCE.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: rob.todd

79670925

Date: 2025-06-18 15:39:55
Score: 7.5 🚩
Natty:
Report link

I have the exact same problem using flutter in_app_purchase. Could it be that cross platforms don't support iOS 18.5 (yet)?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the exact same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lukadcf

79670920

Date: 2025-06-18 15:35:54
Score: 5
Natty:
Report link

Thank you very much, that works perfectly.

I assume that I could substitute COUNTIF for SUM to populate the table below with number of wins, draws and losses?

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Andy Forward

79670914

Date: 2025-06-18 15:32:53
Score: 1.5
Natty:
Report link

The best you can do, with NextJs already built-in integration, is to use the package document-page-counter, download it from npm , using npm i document-page-counter. Also, check the doc or the github repo, you will find there a demo project for an integration with NextJs.

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

79670907

Date: 2025-06-18 15:29:52
Score: 3
Natty:
Report link

You might want to use AdminGetUser instead. https://docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_AdminGetUser.html passing user "sub". I remember using Admin prefixed methods on the API part.

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

79670900

Date: 2025-06-18 15:26:50
Score: 0.5
Natty:
Report link

Using Cloud SQL with PSC?

I struggled with setting up a connection to Cloud SQL using Quarkus. The documentation at the time references the use of the socket factory and is correct, however, I had configured my Cloud SQL (Postgres) with Private Service Connect (PSC). PSC does not configure an IP address either Private or Public which causes the socket factory to fail.

If using PSC remove the socket factory dependency from the POM and use this config in application.properties.

quarkus.datasource.db-kind=postgresql
quarkus.datasource.username=postgres
quarkus.datasource.password=postgres
quarkus.datasource.jdbc.driver=org.postgresql.Driver
quarkus.datasource.jdbc.url=jdbc:postgresql://xxxxxxxxxxxxxxxxxx.us-central1.sql.goog./{mydbhere}
quarkus.datasource.jdbc.additional-jdbc-properties.cloudSqlInstance=project-id:gcp-region:instance 
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hammerhand

79670891

Date: 2025-06-18 15:16:47
Score: 1.5
Natty:
Report link

For me this was happening because the request was being redirected to the same url but with a trailing slash. I was making a post request but the redirect configuration was passing it as a get which was not defined.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: B.Adler

79670889

Date: 2025-06-18 15:15:47
Score: 2.5
Natty:
Report link

This is not possible for now. A feature request #9558 exists, in which the simpler workaround given is to dump your JSON to a file then load it.

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

79670886

Date: 2025-06-18 15:12:46
Score: 2
Natty:
Report link

Untagged template literals are now supported with Angular 20.

<div [class]="`layout col-${colWidth}`"></div>

s. https://blog.angular.dev/announcing-angular-v20-b5c9c06cf301#c59e

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

79670880

Date: 2025-06-18 15:09:45
Score: 4
Natty:
Report link

You can find the solution here: https://github.com/fastlane/fastlane/issues/22051#issuecomment-2978738326

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Gutemberg Ribeiro

79670872

Date: 2025-06-18 15:04:43
Score: 2
Natty:
Report link

I have the following errors

yarn dev

yarn run v1.22.22

warning ..\..\..\..\..\package.json:

No license field

$ concurrently 'vite' "nodemon ../server.js"

[1] [nodemon] 3.1.10

[1] [nodemon] to restart at any time, enter `rs`

[1] [nodemon] watching path(s): *.*

[1] [nodemon] watching extensions: js,mjs,cjs,json

[1] [nodemon] starting `node ../server.js`

[0] failed to load config from C:\Users\User\Desktop\COMP229-SUMMER2025-SEC001\WEEK9-N22\mern_skeleton - Copy\client\vite.config.js

[0] error when starting dev server:

[0] Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@vitejs/plugin-react' imported from C:\Users\User\Desktop\COMP229-SUMMER2025-SEC001\WEEK9-N22\mern_skeleton - Copy\node_modules\.vite-temp\vite.config.js.timestamp-1750258506692-2fbccf41606d8.mjs

[0] at Object.getPackageJSONURL (node:internal/modules/package_json_reader:268:9)

[0] at packageResolve (node:internal/modules/esm/resolve:768:81)

[0] at moduleResolve (node:internal/modules/esm/resolve:854:18)

[0] at defaultResolve (node:internal/modules/esm/resolve:984:11)

[0] at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:780:12)

[0] at #cachedDefaultResolve (node:internal/modules/esm/loader:704:25)[0] at ModuleLoader.resolve (node:internal/modules/esm/loader:687:38)

[0] at ModuleLoader.getModuleJobForImport (node:internal/modules/esm/loader:305:38)

[0] at ModuleJob._link (node:internal/modules/esm/module_job:137:49)

[0] vite exited with code 1

[1] Server started on port 3000.

[1] Connected to the database!

Reasons:
  • RegEx Blacklisted phrase (1): I have the following error
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Blessing

79670871

Date: 2025-06-18 15:04:43
Score: 3.5
Natty:
Report link

I found that one of my library jar files had the project\Properties\Source set to JDK 8.

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

79670862

Date: 2025-06-18 14:58:41
Score: 0.5
Natty:
Report link

Remove

spring-boot-starter-data-jpa

and add

<dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-tomcat</artifactId>
            <scope>provided</scope>
</dependency>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: LetsCode

79670857

Date: 2025-06-18 14:56:40
Score: 3
Natty:
Report link

As of March 2025, Firebase Callable Functions support streaming.

https://www.youtube.com/watch?v=IwRibrwKwhw&t=90s

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Michael.Lumley

79670854

Date: 2025-06-18 14:56:40
Score: 1.5
Natty:
Report link

When you remove the executable for an app there is nothing left to run.

The remote session however should still be running (unless you are updating those components as well) and the users should be able to reconnect once the components updated are available again.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): When you
Posted by: Dennis

79670852

Date: 2025-06-18 14:55:39
Score: 1.5
Natty:
Report link

There's also this: https://clinfhir.com/ which renders resources in Bundles, etc.

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

79670849

Date: 2025-06-18 14:54:39
Score: 1
Natty:
Report link

And 4.030e+002for gcc 3.4.5 too.

Now I'm using gcc 15.1.0 and all my tests are broken... I'm looking for a solution to wrap printf() function to display with 'old' 3 digits format...

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

79670827

Date: 2025-06-18 14:41:35
Score: 2.5
Natty:
Report link

I removed the extends and it worked for me. Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chinonso

79670821

Date: 2025-06-18 14:39:35
Score: 1
Natty:
Report link

There are definitely Temporal users running at a scale that exceeds any of the individual constraints you describe. However, it seems to me that if you're talking about all of them together, you'd eventually reach a capacity problem with any system because you're starting new Workflow Executions about 2.5 million times faster than the 30 days you say it would take for them to finish.

In other words, if you're spawning new Workflow Executions at the rate of 5,000 per second and they have a lifetime of 30 days, then after 2 seconds you'd have 10,000, after 3 seconds you'd have 15,000, and so on. At the end of the first day, you'd have 432,000,000 and that would keep increasing until the first one finally completed 30 days later (by which point you'd have 12,959,999,999 Workflow Executions running).

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

79670810

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

i2ctransfer expect binary or hex input in a specific format.

You're substituting strings that look like "0x30" and "0x12" but these are passed as plain strings, and likely malformed because:

If the format or spacing is off, i2ctransfer ignores or fails to parse it.

Here’s how to do it properly:

string regPartA = "0x30"; // or dynamically parsed
string regPartB = "0x12";

string commandArgs = $"-f -y -v 16 w2@0x18 {regPartA} {regPartB} r2";

response = SystemHelper.CommandExec("i2ctransfer", commandArgs);
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: RCDevs Security

79670807

Date: 2025-06-18 14:32:32
Score: 5.5
Natty: 5
Report link

Excelente, en mi caso me funciono sin problemas el CTRL + SHIFT + R, llevaba días con ese error y esto me lo soluciono.

Reasons:
  • Blacklisted phrase (2.5): solucion
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: JenCas77

79670800

Date: 2025-06-18 14:27:31
Score: 1
Natty:
Report link

Just one more point to checklist if cookies.getAll() returns empty list...

When using "manifest_version":3, check if

"host_permissions": [ ... ]

cover domains/urls which one wants to get cookies for.

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

79670793

Date: 2025-06-18 14:20:29
Score: 2.5
Natty:
Report link

Here is an example - https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/HttpProxyExample.java

I think you can just add below to get the default null proxy.

final ProxyConfiguration proxyConfig =
        ProxyConfiguration.builder().build();
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rakesh Kumar Parappa

79670792

Date: 2025-06-18 14:20:29
Score: 0.5
Natty:
Report link

If you want a flat list, you must do the flattening in Python — ideally using a list comprehension.

cursor.execute("SELECT cat_name FROM categories")
categories = [row[0] for row in cursor.fetchall()]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Manraj Singh Dhillon

79670786

Date: 2025-06-18 14:19:29
Score: 4
Natty:
Report link

Thanks for your quick response! I changed the code according your suggestion but unfortunately I still receive an error message.

Error message:

Error 400: {"code":700002,"msg":"Signature for this request is not valid."}.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I still receive an error
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: danny

79670782

Date: 2025-06-18 14:17:28
Score: 1
Natty:
Report link

@startuml

' Define interfaces

interface ITriangle {

+DisplayArea()

}

interface IRectangle {

+DisplayArea()

}

' Define class

class TestShape {

-triangleBase : double

-triangleHeight : double

-rectangleLength : double

-rectangleWidth : double

+TestShape(tBase: double, tHeight: double, rLength: double, rWidth: double)

+DisplayAllAreas()

{abstract} +ITriangle.DisplayArea()

{abstract} +IRectangle.DisplayArea()

}

' Define class Program with Main method

class Program {

+Main(args: string\[\]) : void

}

' Relationships

TestShape ..|> ITriangle

TestShape ..|> IRectangle

@enduml

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @startuml
  • User mentioned (0): @enduml
  • Low reputation (1):
Posted by: Ayub Shahid

79670777

Date: 2025-06-18 14:14:27
Score: 1.5
Natty:
Report link

You can change the working directory to where your main python file exists:

import os
os.chdir(/root/path/wkdir/)

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

79670768

Date: 2025-06-18 14:07:25
Score: 2.5
Natty:
Report link

Omg I want to sue Google for negligence. This is still a thing in 2025, where a project that uses zero from Firebase can be accessed from the firebase console, then switched from Blaze to Spark, taking down server infra and causing massive network issues.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Tom Anderson

79670766

Date: 2025-06-18 14:05:24
Score: 4
Natty: 4.5
Report link

Here is an example of a Sheet I developed recently.

https://docs.google.com/spreadsheets/d/1anUOowAAxuNd9KrN0sAAwWzS4XIApFi6pZRb3B8JYBk/edit?pli=1&gid=0#gid=0

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

79670764

Date: 2025-06-18 14:05:24
Score: 2.5
Natty:
Report link

A limitation to using exclude is that, let's say there are 2 tables table_A a and table_B b that are joined. It is not possible to use an alias in the exclude part. This becomes an issue when you have a column with the same name in both tables.

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

79670763

Date: 2025-06-18 14:03:23
Score: 3.5
Natty:
Report link
random.seed(42)
print([random.choices([0, 1], weights=[0.2, 0.8], k=1)[0] for i in range(0, 10)])
print(random.choices([0, 1], weights=[0.2, 0.8], k=10))

Excuse me, is there a better explanation for the role here [0]? Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: xiolng Sn

79670762

Date: 2025-06-18 14:03:23
Score: 2
Natty:
Report link

This solves the issue of not being able to pickle the function by changing its name

https://github.com/dgerosa/processify/blob/master/processify/processify.py

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Daniel Pinyol

79670760

Date: 2025-06-18 14:01:23
Score: 2.5
Natty:
Report link

Eclipse IDE / Project Explore / Right clip to project-name / Show in Local terminal / Git bash

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

79670759

Date: 2025-06-18 14:00:22
Score: 2.5
Natty:
Report link

It was an issue with the new architecture. By disabling in pod files builds are running fine.

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

79670754

Date: 2025-06-18 13:56:21
Score: 2.5
Natty:
Report link

I was working on a small tool to:

Drugs => Download pdfs locally => Chunk the doc and send it over Pinecone => delete pdfs and iterate same for the next drug in the list

Here is the link for my git, I have a jupyter notebook which describes the most but there might be part missing such as storing in metadata. see if you find it useful: https://github.com/btarun13/Search_Vector_DB_RAG/blob/main/cleaned_notebook.ipynb

Reasons:
  • Blacklisted phrase (1): Here is the link
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tarun Naithani

79670731

Date: 2025-06-18 13:43:17
Score: 0.5
Natty:
Report link

Is this normal? What is causing it?

Calling via python -m pytest adds the current directory to sys.path.

See: https://docs.pytest.org/en/stable/how-to/usage.html#other-ways-of-calling-pytest

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is this
  • High reputation (-2):
Posted by: Corey Goldberg

79670727

Date: 2025-06-18 13:40:16
Score: 2.5
Natty:
Report link

You're trying to dispatch loading, sleep for a short time, then dispatch change-dateslot. But the browser does not receive these events separately — it gets all of them at once, after the PHP method is finished executing. This means the loader doesn't show before the slots are cleared.

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

79670724

Date: 2025-06-18 13:39:16
Score: 3
Natty:
Report link

Estou com o mesmo problema e ainda não consegui resolver, no meu caso a versões instaladas são:

o365 2.1.4

office365 0.3.15

Office365-REST-Python-Client 2.6.2

Reasons:
  • Blacklisted phrase (1): não
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jeovane Luz

79670716

Date: 2025-06-18 13:33:14
Score: 1.5
Natty:
Report link

having rsync hangs mid way through a large transfer transferring from synology nas to truenas scale. No errors or indications as to why. Trying the -Wolefile parameter since this is a migration not a backup.

Bummer to see this bug has been around for 11 years!

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

79670713

Date: 2025-06-18 13:32:14
Score: 1
Natty:
Report link

As of now, BigQuery Storage Python API doesn't fully support asynchronous operations, you can try to use Python threading to handle multiple streams concurrently to make your program process data from different streams at the same time.

This is interesting to be available natively. On Google side, there is a feature request that you can file but there is no timeline on when it can be done.

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

79670708

Date: 2025-06-18 13:28:12
Score: 0.5
Natty:
Report link

So as I have found a working solution, I will answer my own question. Here an abstract code how this can work:

bool drawing_test::on_draw(const Cairo::RefPtr<Cairo::Context>& cr)
{   
  auto surface = Cairo::ImageSurface::create_from_png_stream(sigc::mem_fun(drawBuffer, &DrawBuffer::read));
  cr->set_source(surface, 0, 0);
  cr->paint(); 

  switch (cmd)
  {
    case 0: /* initialize background */
      cr->set_source_rgba(1, 1, 1, 1);  // white
      cr->paint();
      break;
    case 1: /* draw a line */
      DrawLine(cr, params);
      break;
    case 2: /* draw text */
      DrawText(cr, params);
      break;
    default:
      break;
  }

  Cairo::RefPtr<Cairo::Surface> cs=cr->get_target();
  cs->write_to_png_stream(sigc::mem_fun(drawBuffer, &DrawBuffer::write));
}

drawBuffer is a self created class which implements a read and write function and a buffer for a png stream. With this construction its possible to save and restore the contents of a Gtk:DrawingArea.

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

79670705

Date: 2025-06-18 13:26:12
Score: 0.5
Natty:
Report link

In order to disable a rule you need to add it to your commitlint config with the level 0 (means ignore):

module.exports = {
  extends: ['@commitlint/config-conventional'],
  rules: {
    'subject-case': [0]
  }
};

using "never" as a second parameter of the rule array doesn't disable the rule, but inverts it

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

79670702

Date: 2025-06-18 13:25:11
Score: 3.5
Natty:
Report link

Have you considered using active choices plugin? It allows to create choices using groovy scripts. It also works quite well with scriptler.

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

79670697

Date: 2025-06-18 13:22:10
Score: 2.5
Natty:
Report link

Spring Cloud 2022.0.1 (aka "Kilburn" release train) is not compatible with Spring Boot 3.0.4.It depends on Spring Boot 3.0.3 or lower, and more critically, brings in older Spring Security classes/configs that can break context initialization.

In my case i downgraded to <version>3.0.3</version

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

79670696

Date: 2025-06-18 13:22:10
Score: 1
Natty:
Report link

Unfortunately, there's no direct way to control or adjust the size of the VMFSL partition during the installation of VMware ESXi (version X.X and later), nor is it recommended to modify it afterward with tools like parted or fdisk. The 119 GB allocation is a default behavior designed to ensure sufficient space for logs and runtime data.

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

79670694

Date: 2025-06-18 13:17:09
Score: 1
Natty:
Report link

I found this to be useful for getting the count of products. The count_all_items function on the YITH_WCWL_Wishlists class.

So something along the lines of:

$user_wishlist = yith_wcwl_wishlists();
$wishlist_count = $user_wishlist->count_all_items();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ben Rich

79670674

Date: 2025-06-18 13:01:04
Score: 1.5
Natty:
Report link

I found out that cassandra batches IN clause queries in 10s, so although the database supports up to 100 elements in IN clauses, the response will paginate if there are more than 10.

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

79670672

Date: 2025-06-18 12:59:03
Score: 0.5
Natty:
Report link

The get_stylesheet_directory_uri() function builds the URI using the value stored in the database for the site URL, not just what's in wp-config.php.

Here are steps:

1. Update URLs in the database

You likely need to update any hardcoded URLs in the database (common after a migration). Use a tool like WP-CLI or a plugin like Better Search Replace to update old URLs:wp search-replace 'http://oldsite.com' 'https://somewebsite.com' --skip-columns=guid

2. Clear Caches

=>Clear WordPress cache if you're using a caching plugin (e.g. W3 Total Cache, WP Super Cache).

=>Clear browser cache.

=>Clear object cache if using Redis or Memcached.

3. Flush Rewrite Rules

=>Go to Settings > Permalinks and click Save Changes.

4. Check for Hardcoded Values

Inspect your theme’s functions.php or any custom plugin code to ensure the old URL isn’t hardcoded

=>define('THEME_URI', 'http://oldsite.com/wp-content/themes/your-theme');

Once the database references are correctly updated, get_stylesheet_directory_uri() should automatically reflect the new domain.

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

79670667

Date: 2025-06-18 12:55:01
Score: 1
Natty:
Report link
You said:
You will need to process 10 GP of data using spark how many executor you would needed and how much memory you should needed for each executor to get the maximum parallelism also how many cores should be there
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SivaRamaKrishnaReddy Devagudi

79670658

Date: 2025-06-18 12:50:00
Score: 3.5
Natty:
Report link
file/d/VIDEO_ID/view?usp=sharing
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tai Nguyentan

79670656

Date: 2025-06-18 12:47:59
Score: 0.5
Natty:
Report link

The way to fix this problem is to use Appdata folder for all changing files, as it's done in most of programmes. So I implemented the next code:

APPDATADIR = path.join(getenv('APPDATA'), "Company", "App")
if not(path.exists(APPDATADIR)):
    makedirs(APPDATADIR)
CONFIG_FILE = path.join(APPDATADIR, "config.ini")
SAVE_FILE = path.join(APPDATADIR, "save")
FIRST_START_DIR = path.join(APPDATADIR, "firststart")
IS_FIRST_START = not(path.exists(FIRST_START_DIR))

Now it saves everything in the Appdata, and the file for evaluating the first start also was moved.

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

79670647

Date: 2025-06-18 12:44:58
Score: 1
Natty:
Report link

On my end, the server was defaulting to IPv6, so I temporarily disabled it.

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1

This solved the issue of getting stuck at: Downloading VS code server

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

79670645

Date: 2025-06-18 12:43:58
Score: 3
Natty:
Report link

google-play-scraper does not support commonjs (require) using ES modules (import statements) instead of commonJs

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

79670635

Date: 2025-06-18 12:33:55
Score: 1.5
Natty:
Report link

Finally got it working... hurray

First of, thank you for the answer and comments.

The line that did the trick is:

sslConfiguration.setCaCertificates(QSslCertificate::fromPath("./crt/ca_bundle.crt"));

* Whilst commenting out

sslConfiguration.setLocalCertificateChain(QSslCertificate::fromPath("./crt/certificate.crt", QSsl::Pem));

Yaay.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: 1138

79670625

Date: 2025-06-18 12:22:51
Score: 2.5
Natty:
Report link
#!/bin/bash
# 2>nul 1>&2 & @echo off & CLS & goto :batch
echo "This ran in Linux."
read -esp "Press Enter to continue...:"
exit
:batch
echo This ran in Windows.
pause
exit /b

This will be the basis of a batch-bash hybrid, if you set its file properties to be executable in Linux, and name it with the .bat extension, you will be able to run it in both OSes.

To execute in Windows Command Prompt, type it's filename (with or without its extension), like this:

C:\user>filename.bat

Or like this:

C:\user>filename

To execute in Linux, you must specify the directory (or a period for the current working directory) then a forward slash, then the FULL file name, like this:

user@computer:~$ ./filename.bat

Because Linux recognises it as executable, and you specified #!/bin/bash as the topmost line, Linux will run it with bash by default.

Please downvote if it does not work on your computer.

Reasons:
  • RegEx Blacklisted phrase (2): downvote
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Unoheaken

79670611

Date: 2025-06-18 12:14:49
Score: 1
Natty:
Report link

As long as there is something in the div, the opacity method will work because

opacity: 0 does not change the element's reactive properties while
visibility: hidden directly removes interactivity, and

display: none is completely removed from the layout.

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

79670597

Date: 2025-06-18 12:08:47
Score: 1.5
Natty:
Report link

Whitout use a QListView, you might customize QComboBox with style sheet:

QComboBox::separator { margin: 2px; background: red; }

Work only with values: "background", "margin", "margin-left", "margin-top", "margin-right", "margin-bottom".

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

79670595

Date: 2025-06-18 12:07:46
Score: 4
Natty:
Report link

Although, the plan shows hash partitioning of A twice for creating both the joined dataframes AB and AC, it does not mean under the hood the tasks are not reusing already hashed partitions of A . Spark skips the stages if it finds the steps redundant even if its part of the plan. Can you check your DAG to see if the stages are skipped like shown below?
enter image description here

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
Posted by: Vindhya G

79670593

Date: 2025-06-18 12:04:44
Score: 11 🚩
Natty: 6.5
Report link

Did you ever find an answer to this? I also have the same problem.

Reasons:
  • Blacklisted phrase (1): answer to this?
  • RegEx Blacklisted phrase (3): Did you ever find an answer to this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I also have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Ruben deV

79670588

Date: 2025-06-18 12:03:44
Score: 0.5
Natty:
Report link

As @remy-lebeau rightly pointed out, the code sample I originally found wasn't the best example to follow.
The following code works nice in my case and allows me to set up an in-app subscription for the add-on:

procedure TfSubsriptions.btnSubscribe(Sender: TObject);
var
  Status: StorePurchaseStatus;
begin
  try
    WindowsStore1.RefreshInfo;
  except
    // 
  end;

  for var i := 0 to WindowsStore1.AppProducts.Count - 1 do
    begin
      if WindowsStore1.AppProducts[i].StoreId.ToString = 'XXXXXXXXXXXX' then 
        begin
          try
            Status := WindowsStore1.PurchaseProduct(WindowsStore1.AppProducts[i]);
            case Status of
              StorePurchaseStatus.Succeeded:
                begin
                  SUBSCRIPTION := True;
          UpdateUI;
                  Break;
                end;
              StorePurchaseStatus.AlreadyPurchased:
                //
              StorePurchaseStatus.NotPurchased:
                //
              StorePurchaseStatus.NetworkError:
                //
              StorePurchaseStatus.ServerError:
                //
            else
              //
            end;
          except
            On e : Exception do
              begin
                //
                Break;
              end;
          end;
        end;
    end;
end;
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @remy-lebeau
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Taras

79670570

Date: 2025-06-18 11:51:41
Score: 1.5
Natty:
Report link
const queryClient = new QueryClient();


createRoot(document.getElementById("root")).render(
  <QueryClientProvider client={queryClient}>
    <App />
  </QueryClientProvider>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bibek Sah

79670567

Date: 2025-06-18 11:46:40
Score: 1.5
Natty:
Report link

Resolved by setting config.fs file on device.mk
TARGET_FS_CONFIG_GEN += path/to/my_config.fs

And setting my_config.fs

[system/bin/foo_service]
mode: 0555
user: AID_VENDOR_FOO
group: AID_SYSTEM
caps: SYS_ADMIN | SYS_NICE

Reference https://source.android.com/docs/core/permissions/filesystem

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

79670560

Date: 2025-06-18 11:42:38
Score: 0.5
Natty:
Report link

I added the line into .bashrc and it works for me.

export NODE_OPTIONS='--disable-wasm-trap-handler'
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Boorn

79670559

Date: 2025-06-18 11:42:38
Score: 3
Natty:
Report link

OK. Thank you. By redoing it all again to make some screenshots, I actually found what I was missing. "CONFIG_NF_CONNTRACK" is disabled by default on arm. Enabling it made NF_NAT available. My main mistake was, that I thought all possible options are always in the .config file just commented out if not active. This is obviously not the case. Thank you all.

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

79670557

Date: 2025-06-18 11:41:38
Score: 1.5
Natty:
Report link

Also all paths should be from current file:

Wrong
import { Document } from "src/models";
Good
import { Document } from "../../models";
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Тимофей Ковалев

79670553

Date: 2025-06-18 11:39:37
Score: 1
Natty:
Report link

You can simply discard the right hand rotational constraint and project the arm onto the right-hand side of the target previous to each FABRIK iteration.

The solution in the previous reply is not a fix to this (I think it even shows in the example video).

The algorithm doesn't really malfunction or "get stuck", as the original questioner correctly noted, since it tries to right-hand rotate to the target when right-hand rotation is not allowed. Applying left-hand rotation to reach a right-hand target is not doable with FABRIK, except for the above work-around.

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

79670536

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

Add this line of code after importing pytz, to avoid the error:

pytz.all_timezones_set.add('Asia/Kolkata')

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

79670521

Date: 2025-06-18 11:18:31
Score: 0.5
Natty:
Report link

Creating a SharePoint list from a large Excel table (with thousands of rows and many columns) requires a method that ensures data integrity, avoids import limits, and allows for column type mapping. Here's a reliable, scalable approach using Power Automate (recommended) or alternatives like Access and PowerShell if you're dealing with very large datasets.


✅ Recommended Method: Power Automate (Flow)

Why?


📌 Step-by-Step via Power Automate

✅ Prerequisites:


🔄 Flow Outline:

  1. Trigger:

    • Use the manual trigger or schedule trigger (Recurrence) for automation.
  2. List rows from Excel:

    • Action: List rows present in a table

    • Connect to your Excel file in OneDrive or SharePoint

    • This reads the table rows; supports up to 256 columns

  3. Apply to Each row:

    • Use the Apply to each loop

    • For each row, use the Create item or Update item in SharePoint

  4. Create item in SharePoint:

    • Map each Excel column to the SharePoint list field

    • Supports all common data types (text, number, choice, date)


⚠ Tips for Large Files:


🚫 What to Avoid


🛠 Alternative Methods (for >10K rows)

1. Microsoft Access (One-time Imports)

2. PowerShell (For Admins)

powershellCopyEditImport-Module SharePointPnPPowerShellOnline
$excel = Import-Excel -Path "C:\Data\LargeFile.xlsx"
foreach ($row in $excel) {
    Add-PnPListItem -List "TargetList" -Values @{
        Title = $row.Title
        Status = $row.Status
        ...
    }
}

🏁 Final Best Practices


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

79670513

Date: 2025-06-18 11:14:30
Score: 1.5
Natty:
Report link

var startStatus = "less";

function toggleText() {
  var text = "Here is the text that I want to play around with";

  if (text.length > 12) {
    if (startStatus == "less") {
      document.getElementById("textArea").innerHTML = `${text.substring(0, 12)}...`;
      document.getElementById("more|less").innerText = "More";
      startStatus = "more";
    } else if (startStatus == "more") {
      document.getElementById("textArea").innerHTML = text;
      document.getElementById("more|less").innerText = "Less";
      startStatus = "less";
    }
  } else {
    document.getElementById("textArea").innerHTML = text;
  }
}

toggleText();
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Document</title>
</head>

<body>
  <div>
    <p id="textArea">
      <!-- This is where i want text displayed-->
    </p>
    <span><a
          id="more|less"
          onclick="toggleText();"
          href="javascript:void(0);"
        ></a
      ></span>
  </div>
</body>

</html>

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (1): i want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: YOGALAKSHMI S

79670511

Date: 2025-06-18 11:12:29
Score: 1.5
Natty:
Report link

I think that your question is a monitoring question.

Triggering a build means sending a POST request to the server so you would like to intercept the requests to the server and log them (locally on an another server) to be reviewed later.

Does your jenkins receive the requests directly or does it use apache? If it uses apache(or other) then the solution would be to set the logging there - to log the requests and the cookies that come with them.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Gleb Nebolyubov

79670510

Date: 2025-06-18 11:11:29
Score: 1
Natty:
Report link

I had this same issue, but I discovered after several hours that it only seems to happen in the Android emulator. I tried out the same app on a real device, and the website rendered responsively as expected.

For some reason, when I query the device size in the webview, it thinks the device is wider than the emulator itself is, so I'm not sure if the problem is the website, the emulator, flutter or the webview 🤷

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: jeffrey.d.m

79670503

Date: 2025-06-18 11:04:27
Score: 2
Natty:
Report link

If the model hasn't been trained enough, it might just learn to repeat a single token. During inference, if the decoder input isn't updated correctly at each time step, it might keep predicting the same token. Without attention, it can be harder for the model to learn long dependencies, especially in vanilla encoder-decoder setups

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

79670499

Date: 2025-06-18 11:01:26
Score: 0.5
Natty:
Report link

Based on @Donald Byrd's answer, I have created a more optimized version. There's no need to recreate the entire structure—just ignore default or empty values.

public class CompactJsonExtantFormatter : CompactJsonFormatter
{
    /// <inheritdoc />
    public CompactJsonExtantFormatter(JsonValueFormatter? valueFormatter = null) :
        base(valueFormatter ?? new JsonExtantValueFormatter(typeTagName: "$type"))
    { }
}
/// <inheritdoc />
public class JsonExtantValueFormatter : JsonValueFormatter
{
    private readonly string? _typeTagName;

    /// <inheritdoc />
    public JsonExtantValueFormatter(string typeTagName) :
        base(typeTagName)
    {
        _typeTagName = typeTagName;
    }
    
    /// <inheritdoc />
    protected override bool VisitStructureValue(TextWriter state, StructureValue structure)
    {
        state.Write('{');
        char? delim = null;
        foreach (var prop in structure.Properties)
        {
            if (IsDefaultValue(prop.Value))
                continue;
            if (delim != null)
                state.Write(delim.Value);
            delim = ',';
            WriteQuotedJsonString(prop.Name, state);
            state.Write(':');
            Visit(state, prop.Value);
        }
        if (_typeTagName != null && structure.TypeTag != null)
        {
            if (delim != null)
                state.Write(delim.Value);
            WriteQuotedJsonString(_typeTagName, state);
            state.Write(':');
            WriteQuotedJsonString(structure.TypeTag, state);
        }
        state.Write('}');
        return false;
    }

    private static bool IsDefaultValue(LogEventPropertyValue value)
    {
        return value switch
        {
            ScalarValue { Value: null } => true,
            ScalarValue { Value: string s } when string.IsNullOrEmpty(s) => true,
            ScalarValue { Value: 0 } => true,
            ScalarValue { Value: 0L } => true,
            ScalarValue { Value: 0.0 } => true,
            ScalarValue { Value: 0.0f } => true,
            ScalarValue { Value: 0m } => true,
            ScalarValue { Value: false } => true,
            SequenceValue seq => seq.Elements.Count == 0,
            DictionaryValue seq => seq.Elements.Count == 0,
            StructureValue structVal => structVal.Properties.Count == 0,
            _ => false
        };
    }
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Donald
  • Low reputation (1):
Posted by: Maciej Ignatowski

79670493

Date: 2025-06-18 10:58:25
Score: 1.5
Natty:
Report link

You'll need to add the column names manually, but this will populate the df.

data = cursor.fetchall()

df = pd.DataFrame.from_records(data)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: T MacN

79670484

Date: 2025-06-18 10:49:23
Score: 3
Natty:
Report link

The ideal time is during peak anxiety or about 30 minutes before a known trigger. Consistency and timing should align with your treatment plan.

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

79670478

Date: 2025-06-18 10:47:22
Score: 1
Natty:
Report link

Kudos to Christophe who brought up MISRA C++ rule "An array passed as a function argument shall not decay to a pointer", which led me to find that clang-tidy and Microsoft have already implemented this check.

> clang-tidy f.cpp -checks=-*,cppcoreguidelines-pro-bounds-array-to-pointer-decay -- -std=c++20
65 warnings and 1 error generated.
B:\f.cpp:25:13: warning: do not implicitly decay an array into a pointer; consider using gsl::array_view or an explicit cast instead [cppcoreguidelines-pro-bounds-array-to-pointer-decay]
   25 |         PrintArray(arr);
      |                    ^
Suppressed 64 warnings (64 in non-user code).
Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well.
Found compiler error(s).

and Visual Studio

Visual Studio

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

79670474

Date: 2025-06-18 10:46:22
Score: 1
Natty:
Report link

If your objective is to simply run your own job, there's a "Run next" option when you click on the job in the results tab:

Run next button

Couldn't find a way to cancel a job, unfortunately. From experience with the company behind Azure, I assume it's not implemented.

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

79670472

Date: 2025-06-18 10:43:21
Score: 2.5
Natty:
Report link
const myPromise = fetchData();

toast.promise(myPromise, {
  loading: 'Loading',
  success: 'Got the data',
  error: 'Error when fetching',
});

https://react-hot-toast.com/docs/toast

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

79670469

Date: 2025-06-18 10:42:20
Score: 0.5
Natty:
Report link

After a bit of research, the Moodle plugin Achim mentioned in his answer (that enables one to import questions as new versions) will work to fix issues with questions in live assignments (although, it will still be a bit time consuming if one has lots of instances of the problematic question).

Since the Moodle plugin for now only allows one to import one question as a new version of a single question, if one has n instances of a question, one would need to generate the XML and import as a new version for each of the n instances one-by-one. The random seed would need to be set to ensure the same random values are used in the old and updated versions of each instance.

One thing to note, if you just go and import the XML with each single instance as a new version, you will be met with the error "Exception - Your file did not contain exactly one question!" (even if your XML only contains one question). To get around this, just remove the highlighted lines from the XML where the category is specified. And then it will work from there.

enter image description here

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

79670466

Date: 2025-06-18 10:40:20
Score: 1.5
Natty:
Report link

You can navigate to the file using F4 by default. I often use this to open the file quickly. Maybe you can get used to that instead of double clicking?

Also I would advise you to use the merge editor, it can often automatically resolve conflicts and, while obviously making your workflow dependant on intellij, it usually is (for me anyway) faster to resolve the conflict that way.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Malaber

79670454

Date: 2025-06-18 10:33:18
Score: 2.5
Natty:
Report link

We are probably getting a Format Exception because the API response isn't returning valid JSON often this happens when the request fails and returns an HTML error page instead (like a 404 or 403). It's a good idea to check the response before trying to decode it.

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

79670447

Date: 2025-06-18 10:31:17
Score: 0.5
Natty:
Report link

First I got "Error: Server responded with status code 403" when i tried to print the statusCode.

Adding headers like 'User-Agent' and 'Accept' helps the server accept your request and respond with the data you expect.( i told chatgpt to give me headers )

var response = await http.get(
                Uri.parse("https://jsonplaceholder.typicode.com/posts"),
                headers: {
                  'User-Agent': 'Mozilla/5.0',
                  'Accept': 'application/json',
                },
              );
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: JIHED

79670446

Date: 2025-06-18 10:30:16
Score: 1.5
Natty:
Report link

I created a package for this, called rect-observer.

Internally, it creates an intersection observer with margins calculated to include only the target rect. it also uses two resize observers to deal with cases where the object or margins become invalid.

I preferred this solution to position observer presented in other answer since it works with less intersection observers and works even when the target is not in the scroll visible area.

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

79670445

Date: 2025-06-18 10:29:15
Score: 8 🚩
Natty: 6
Report link

Maybe you can help me. Is this code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> still valid? If not would you be able to send me a correct code? I want to create a new website on CS5 Dreamweaver (2020) and want to make sure I put a correct head code on the new ebsite.

Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): you can help me
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Norbert Schulze

79670433

Date: 2025-06-18 10:23:14
Score: 2.5
Natty:
Report link
  1. Open Your Antivirus Software

  2. Navigate to Protection Menu

  3. Temporarily turn off the Web Shield, HTTPS scanning, or Secure connection scanning.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vaishnavi K Shylaji

79670430

Date: 2025-06-18 10:21:13
Score: 2.5
Natty:
Report link

either you have to find the event from db and set it to your match entity or create a new event and set it to your entity.

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

79670423

Date: 2025-06-18 10:19:12
Score: 3.5
Natty:
Report link

What's your project APP_URL?

Try to replace it for example:
My project name is:
example

Then APP_URL:
example.test

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What's you
  • Low reputation (1):
Posted by: Kishan

79670418

Date: 2025-06-18 10:15:11
Score: 1
Natty:
Report link

The Fused Library plugin bundled with Android Gradle Plugin assists with packaging multiple Android Library modules into a single publishable Android Library. This lets you to modularise your library's source code and resources within your build as you see fit, while avoiding exposure of your project's structure once distributed.

https://developer.android.com/build/publish-library/fused-library

Now you can try out the Fused Library plugin instead.

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

79670416

Date: 2025-06-18 10:14:11
Score: 0.5
Natty:
Report link

I met same error. However, in my case, it was simply because Hugging Face service had issues. After it recovered, the error is gone.

You can check latest Hugging Face status at https://status.huggingface.co/

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • High reputation (-2):
Posted by: Hongbo Miao

79670411

Date: 2025-06-18 10:10:10
Score: 0.5
Natty:
Report link

Remove the stretchy='true' on the sigma.

This screenshot from Antenna House Formatter V7.4 GUI shows the same equation with one stretchy='true' removed:

Same equation with "stretchy='true'" removed from second sigma.

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

79670400

Date: 2025-06-18 10:06:09
Score: 1
Natty:
Report link

1 & 2 -

Clear, in and load variables are condition variables in your gen_bits module. But, you define this variables as a bit, 2-stated memory variable in your testbench.

So, any if/else/case block which checks these values in positive edge of the clock on your testbench, will get the left side value of these variables at the positive edge clock as expected.

Because you are reading a memory block end of the day, not checking an output of a combinational circuit.

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

79670398

Date: 2025-06-18 10:04:08
Score: 2
Natty:
Report link

Please find few of the Tuning we have done to reduce the Latency in GET/put. We dont say we have made it to work like < 1 ms,but brought atleast to 50 ms to 100ms. I have mentioned thought might be useful to some one who are/were facing similar issues

Key Points

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing similar issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Karthik_Rajendiran

79670387

Date: 2025-06-18 09:51:04
Score: 12
Natty: 7.5
Report link

I am facing the same problem, did you end up finding a solution to this?

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • RegEx Blacklisted phrase (3): did you end up finding a solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tushar Sharma