79348706

Date: 2025-01-11 19:09:24
Score: 4
Natty:
Report link

Just have used dynamic allocation and it works well

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

79348705

Date: 2025-01-11 19:07:24
Score: 3
Natty:
Report link

use chr inside of char sys.stdout.write(chr)

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

79348694

Date: 2025-01-11 18:59:22
Score: 3
Natty:
Report link

Thank you very much for the suggestion, I tried it but the only thing that gave me some result is to downgrade the appium version back to 1.19.1
how to do it

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shivam Mole

79348691

Date: 2025-01-11 18:56:22
Score: 1.5
Natty:
Report link

This is still helpful in late 2024 and early 2025 I was overlooking the restart after adding the M2 and M2_HOME variables.

Command Prompt was able was able to find the maven version and path without the two variables but git bash and power shell were having issues in VS Code.

The restart cured this after adding the variables.

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

79348686

Date: 2025-01-11 18:52:21
Score: 0.5
Natty:
Report link

You can always have a pre-defined script that you can always add to your package.json like:

"scripts": {
    //...,
    //...,
    "remove-files": "rm -rf src/index.css && rm -rf src/App.css && ... ",
},

Then run "npm run remove-files"

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

79348674

Date: 2025-01-11 18:44:19
Score: 5.5
Natty: 5
Report link

I just bumped into the same thing, since this is a bit old I wonder if you found a solution?

Reasons:
  • Blacklisted phrase (1): if you found a solution
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mikec

79348671

Date: 2025-01-11 18:42:18
Score: 1
Natty:
Report link

Your application does not need any credentials to push traces into X-ray. you just need to install the x-ray Daemon on EKS/EC2. This daemon will be responsable to ship the traces to the service on AWS.

On EKS:

On your application:

That's all . If you need a detailed implementation, i have created a blog post for it : https://medium.com/@ilyesAj/adding-aws-x-ray-tracing-to-your-apps-running-on-eks-55a806f76179

Reference: https://docs.aws.amazon.com/xray/latest/devguide/xray-sdk-go.html

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ilyesAj

79348656

Date: 2025-01-11 18:31:16
Score: 1.5
Natty:
Report link

For me the sender email or the receive email identities weren't verified

And as I wasn't on production mode and was only using the sandbox , the emails need to be verified

After going to Identities and making sure identities were created for both sender and received I no longer faced the issue .

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

79348652

Date: 2025-01-11 18:30:15
Score: 1.5
Natty:
Report link

data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPAAAABQCAMAAAAQlwhOAAAAP1BMVEUAAAAPLD0oRVYMKTolQlMPLD3A3e4lQlOXtMVOa3xui5w9WmuKp7iNqrttipsWM0ROa3wcOUoeO0y72Om61+iApU1OAAAAAXRSTlMAQObYZgAABNNJREFUeJzsmo2OIiEMgFtN1k1O45p9/3e9uA70HxjEGe+WXnJZHX76taUUHJgyZcqUKe8i570V2FjO532JMf/bSnbmZbIh9H5CDv4dzMrB9///b0Hp4t/h4PwBcLCH3yFeUH3Sn0fO9Aa8apXiaJeGM+0jyzJliiQPj96I00wDh+zRApUeS27OWZpFIT4R39auOwgyXJam+I4ErPpIbTugsxX7DHY8Hnu6eVoAc+dCpTyczMHbrlSbtvM+/x6PzxBfLpesiPQwKmEeJvpm1W95lk4zkTwFfLksxEkLIC/60LL0ytFZmed2u4G0qdPos6btY5oRwEoJDcRyFgBZZ02xeVsGvl6vUevPzzJx1qCbFwlYKSFgXGRkWbY53f7wXv9Ej1s8LGc6HA4t80LaVXFZwyooc0SDrqTVdoW0UTUS33n/hMSVztkHKRYPhzIxmoMeG0sN7PmMpxoR74M8DPDRMARLJhVgHZ1yr7VDOsQggjoHmYPsX5L8EBd4Pz5yw5ACqFBYC8yfSKjIZ2SH9Jc7nkzkXvcA5WN57keYGPwnBa3gBZGUQSbguMqloEaqMB0yf+Ery5YVLK4TxPpOnjG9SMvhmTQMTJwfoOLQK0Rbd3kAOa+D20F5OHR08SG3SfAIhGqez3hbZiShMW+iEySwTiiKaf5QrAP8+vqqABV9XHiqZ4o9DEJ7O4iHzwcGVZGiSATyQuDrLiUnlomLHta8GF5GyPg0liD96XvlYV6QxpGUgGPcFEolqLBjShNZqzYPG+CcbfzkrD1cUqoBGB6L2R+iCRhYnFQ9bGziZCnd0juKxTANvKwScJj8DnQyyhoV8yNbnleZt5K5NQlfoHm9FBLjSlmiqqCo+Z4cw04EdeL7yYeuvJDWgnY0Wq+ik+ufQTYDqb1Cfo3A7zagypueXEH6DkSaJmiUxI82UC295Kylp46+KCU1pE/6ZMtrBGM4HspiYYpx1bL2Fq0D4q3ceuw7xyED7E1vptDD6GwgXecUT1Scg60nHQ+7ubkODCl9FJC9yKfmhGx/PdR1sw5XZgqRm749LYcBsy1P6S2CLO7M40D662HI/DN9/i4MqocO39+G2LrY331bkxsdOvJWwlJIrS4zlgIeuOczvZiAXrVij0uW1yFp2n2ryOhcQRZtJqsH7qvUkwPn9e/nSojM25yl20UU6EDbQQVYa8JcnBRXwE43uYZctDH7sDescnAtDYQGYXp7r9p4cUG/VhjmF/GCcxooAhf9X1aR9+SJwC0lXxDRcvRAMdOwusLjOex1Pk1veF/mYVe34DQEfCNZPag4/JrLJLXE+w3bpVrpLNH/u686MfgFLrQch0dLiXjlSFF3B0jtkBu+ERRyrba5VLsBeA/cLk+WhqK/T6h2YjOrvMjcSIYuH777nE4n/YKIaAnoHpvGi3MuGzg45pM+nFCfIIQWnXZmLyq0qgRm4tHEVHoGy7h/3710ABu7jwyq+MyZ+J+7tFsNTB6AF6WMIPdy1z+RN9Z7eN3ZsE/8oTlt/6zrgRVy78SVKbxkmAN98/eONyD265Zt9iFPmeDn4SlTphjpSaP/slw6dsp/WrYEPm00T1E2BL6fx95ANozot+CdMmXKlClT3lC2vm7eW7b9tegNZAL/9/JC3r8BAAD//+czE9Ba0ayWAAAAAElFTkSuQmCC

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: X-captain

79348649

Date: 2025-01-11 18:28:15
Score: 1.5
Natty:
Report link

One of the possible reasons: domain name is unavailable, maybe expired.

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

79348647

Date: 2025-01-11 18:28:15
Score: 1
Natty:
Report link

const imageUrl = "http://localhost:4200/assets/images/edit.svg";
.image-url {
  background-image: var(--image-url);
}
<div class="image-url" [ngStyle]="{'--image-url': 'url(' + imageUrl +')'}">

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

79348644

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

For me the sender email or the receive email identities weren't verified

And as I wasn't on production mode and was only using the sandbox , the emails need to be verified

After going to Identities and making sure identities were created for both sender and received I no longer faced the issue .

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

79348638

Date: 2025-01-11 18:24:14
Score: 1
Natty:
Report link

Argument of type 'number' is not assignable to parameter of type 'never'. [plugin angular-compiler]

src/app/hand1/hand1.component.ts:21:18:
  21 │     this.log.push(this.log.length + 1);
     ╵                   ~~~~~~~~~~~~~~~~~~~
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ahmed salah

79348632

Date: 2025-01-11 18:18:13
Score: 3
Natty:
Report link

VonC's answer above worked for me.

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

79348611

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

In case someone still need it:

Add one more if branch at WebpContainerReader:

if (isFourCc(fcc, 'I', 'C', 'C', 'P'))
                return readIccp();
Also implement this func:
private WebpChunk readIccp() throws IOException {
        int chunkSize = readUInt32();
        WebpChunk chunk = new WebpChunk(WebpChunkType.VP8);
        chunk.isLossless = false;
        readPayload(chunkSize);
        chunk.payload = null;
        debug(String.format("iccp: bytes = %d", chunkSize));
        return chunk;
    }

source : https://github.com/b4rtaz/android-webp-encoder/issues/2#issuecomment-929169092

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

79348602

Date: 2025-01-11 18:01:09
Score: 1.5
Natty:
Report link

GetProcessGroupAffinity requires [overaligned aligned memory GroupArray]

Is this (bug?) documented anywhere?

Outside of the fio comment you linked, this StackOverflow question was the only place I found that recorded it. Somehow Microsoft also became aware of it (see below)...

Is this even a bug?

Microsoft's legendary Raymond Chen posted a comment on your question confirming it's a bug. Further it's been fixed in Window 11 sometime between 2023 - 2024:

This bug was fixed in Windows 11 last year, for the record.

Raymond Chen, Nov 9, 2024 at 5:33

(Thank you @sopel for posting this and thank you @raymond-chen for taking the time to acknowledge the issue and explain it's been fixed)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @sopel
  • User mentioned (0): @raymond-chen
  • High reputation (-1):
Posted by: Anon

79348596

Date: 2025-01-11 17:59:08
Score: 4
Natty:
Report link
Check this - it solves my problem.

https://x.com/emcro/status/1677437755197132801?mx=2

Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29156883

79348584

Date: 2025-01-11 17:48:05
Score: 0.5
Natty:
Report link

For integer powers of a number, the following function is faster (because it applies repeated squarings of number according to the binary representation of the exponent) and more accurate (because it performs fewer multiplications with less accumulated round-off error). It also handles negative powers without issue. The only missing aspect is that it returns 1 for 0.0^0, as opposed to NaN or undef.

double ipow (double x, int iy) {
  double z;
  if (iy < 0) {
    iy = -iy;
    x = 1.0 / x;
  } 
  if (iy & 1) 
    z = x;
  else
    z = 1.0;
  iy = iy >> 1;
  while (iy > 0) {
    x *= x;
    if (iy & 1)
      z *= x;
    iy = iy >> 1;
  return (z);
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Brian

79348580

Date: 2025-01-11 17:44:03
Score: 6 🚩
Natty: 4.5
Report link

I purchased google captchas analysis 5 days ago . Currently I am unable to login to my account. I registered with the email [email protected] I made a payment thereof through hotmart. If possible please help me

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): please help me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Lucy Mohlala

79348573

Date: 2025-01-11 17:39:02
Score: 1.5
Natty:
Report link

Here, the most colourful QColor starts at 255 instead of 0. Therefore, the code is

// constructor
FensterHaupt::FensterHaupt (int sz, QApplication *vorfahr) : scheibenzahl (sz) {
    uiFensterHaupt.setupUi (this);
    for (int h = 0; h <= 359; h += 60) {
    farbpalette.append (QColor::fromHsv (h, 255, 255) );
    }
    farbpalette.append (QColor (QColor::fromHsv (30, 255, 255) ) );
    spielfeldFullen ();
}

solution

.

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

79348572

Date: 2025-01-11 17:39:02
Score: 2.5
Natty:
Report link

As of May 14, 2024 it looks like they ultimately went with application/vnd.msgpack.

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

79348569

Date: 2025-01-11 17:38:01
Score: 2
Natty:
Report link

Straight forward answer, choose anyone:

  1. Go to premium plane.
  2. Install another package https://www.npmjs.com/package/mui-datatables
  3. Use drawer, when you click to any particular row, open drawer.

Note: You have no any option to direct use this premium without going to any premium plane right now. Feel free to ask me.

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

79348560

Date: 2025-01-11 17:32:00
Score: 5.5
Natty:
Report link

I am facing the same issue and have realized that the issue occurs when we place the view inside the navigation stack or navigation.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vishal Bhargava

79348558

Date: 2025-01-11 17:30:59
Score: 1.5
Natty:
Report link

table {
  width: 100%;
}

td {
  text-align: center;
}

td > h4 {
  display: inline
}
<table>
  <td>
    <h4>Hello</h4><sup>World</sup>
  </td>
</table>

Bable blue dew

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

79348554

Date: 2025-01-11 17:28:59
Score: 1
Natty:
Report link

You can check this link, it was useful for me:

https://huggingface.co/blog/personal-copilot

I guess you basically can create a JSONL file from your codes. Each line is a content of a file. And then fine-tune this file using libraries like hf-autotrain. And chose the textbook format.

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: mlibre

79348552

Date: 2025-01-11 17:27:58
Score: 1
Natty:
Report link

for linux system: create symbolic binary file link to the usr/bin/local dir. then it can access by terminal.

for arch i use bash sudo ln -s /opt/sublime_text/sublime_text /usr/local/bin/subl and it works

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

79348550

Date: 2025-01-11 17:26:58
Score: 1
Natty:
Report link

You can set global landscape orientation starting from a specific page, which will make all subsequent pages default to landscape orientation. If you want a particular page to be in portrait orientation, you can create a section and set the section properties to portrait orientation.

Code for setting the entire document to landscape orientation globally:

XWPFDocument document = new XWPFDocument(); CTBody body = document.getDocument().getBody(); CTSectPr sectPr = body.addNewSectPr(); CTPageSz pageSize = sectPr.addNewPgSz(); pageSize.setOrient(STPageOrientation.LANDSCAPE); pageSize.setW(BigInteger.valueOf(16838)); // 设置页面宽度 pageSize.setH(BigInteger.valueOf(11906)); // 设置页面高度

Setting a specific page to landscape orientation through paragraph settings can result in an additional blank page.

XWPFDocument document = new XWPFDocument(); XWPFParagraph paragraph = document.createParagraph(); CTPPr pPr = paragraph.getCTP().addNewPPr(); CTSectPr sectPr = pPr.addNewSectPr(); CTPageSz pageSize = sectPr.addNewPgSz(); pageSize.setOrient(STPageOrientation.LANDSCAPE); pageSize.setW(BigInteger.valueOf(16838)); // 设置页面宽度 pageSize.setH(BigInteger.valueOf(11906)); // 设置页面高度

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

79348538

Date: 2025-01-11 17:18:56
Score: 0.5
Natty:
Report link

Since for some reason get_redis_connection does not use the arguments I gave it, I saw that in its implementation it also looks for an environment variable REDIS_OM_URL and if it finds it, it is used to create the connection. I then updated my .env.dev file with:

REDIS_OM_URL=redis://redis:6379

And I changed the connection setting to:

redis_client = get_redis_connection()

And now it works like a charm.

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

79348526

Date: 2025-01-11 17:13:55
Score: 3
Natty:
Report link

Installing gvim for windows https://www.vim.org/download.php and having it in Path will also solve the problem.

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

79348523

Date: 2025-01-11 17:11:55
Score: 3
Natty:
Report link

to have a "hr" line transparent, it's sufficient to have set border:none; like in this example:

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

79348521

Date: 2025-01-11 17:08:54
Score: 2
Natty:
Report link

http://java-sl.com/custom_tag_html_kit.html is no longer available.

That previous link only provided a workaround, but in fact you can easily and properly extend support for Swing HTML tags. You can also get HTML5 support if you want, but it would be a lot of work and the performance would be far from that of a real web browser.

Javax Swing HTML parser is a DTD driven parser. The default DTD is called html32.dtd, meaning it supports most of HTML 32 recommendations.

If you want to support more Tags, you have to extend or rewrite this DTD. For example, below, MathML support was added to Swing HTML :

enter image description here

A bug report was submitted to make this easier : Add Reference or Informations About DTDBuilder in Documentation

Beware :

This responce was extracted from Which HTML tags are supported in Swing components ?.

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

79348519

Date: 2025-01-11 17:05:53
Score: 0.5
Natty:
Report link

You can change the Dockerfile as below:

FROM mcr.microsoft.com/azure-cli:2.9.1

RUN echo 'http://dl-cdn.alpinelinux.org/alpine/edge/main' > /etc/apk/repositories
RUN apk update --allow-untrusted
RUN apk upgrade --allow-untrusted
RUN apk add postgresql17-client --allow-untrusted

it should works.

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

79348514

Date: 2025-01-11 17:00:52
Score: 2
Natty:
Report link

I am in the same boat. When I open workbench by opening a file it's unconnected. When I select "connect to database" it connects to my "local server" I don't know what that is, just did the default server upon installation. Once done I get a blank tab where I can run and has my schemas. But when I open any files it puts it into an "unconnected tab" where I can't. I have been just copying and pasting into the local server tab

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

79348513

Date: 2025-01-11 17:00:52
Score: 0.5
Natty:
Report link
  1. Make sure you have access to GitHub Copilot.

  2. Install the GitHub Copilot plugin for JetBrains

  3. After GitHub Copilot is installed, click Restart IDE.

  4. After your JetBrains IDE has restarted, click the Tools menu. Click GitHub Copilot, then click Login to GitHub

  5. In the "Sign in to GitHub" dialog box, to copy the device code and open the device activation window, click Copy and Open

  6. A device activation window will open in your browser. Paste the device code, then click Continue.

  7. GitHub will request the necessary permissions for GitHub Copilot. To approve these permissions, click Authorize GitHub Copilot Plugin.

  8. After the permissions have been approved, your JetBrains IDE will show a confirmation. To begin using GitHub Copilot, click OK.

More Info : https://docs.github.com/en/copilot/managing-copilot/configure-personal-settings/installing-the-github-copilot-extension-in-your-environment

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

79348506

Date: 2025-01-11 16:56:51
Score: 1
Natty:
Report link

The only solution I found is to add this html block above head block inside your web/index.html file:

<style>
html, body {
  overscroll-behavior-x: none;
}
</style>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Roman Klym

79348492

Date: 2025-01-11 16:49:49
Score: 3.5
Natty:
Report link

above error raised due to multiple T-log backups at the same (veritas NetBackup tool as well as log backup thru ls backup job)

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

79348479

Date: 2025-01-11 16:39:47
Score: 3
Natty:
Report link

use this package local_hero_transform https://pub.dev/packages/local_hero_transform

This package title "local hero transform is a Flutter package that simplifies seamless transitions between items in grid and list views using local hero animations, enhancing your app's visual appeal"

example https://raw.githubusercontent.com/najeebaslan/social_media_file_for_project/refs/heads/main/videos/local_hero_transform_package/base_local_hero.gif

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: نجيب عسلان

79348468

Date: 2025-01-11 16:33:46
Score: 1.5
Natty:
Report link
npm run build
cd dist (অথবা যদি build folder তৈরী হয় সেক্ষেত্রেঃ cd build)
cd index.html 200.html
surge
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Md Hafizur Rahman

79348464

Date: 2025-01-11 16:31:46
Score: 2
Natty:
Report link

I'm developer of ShareTube chrome extension.

The only way is inject you're popup in document by background worker, look at different products, they do everything the same way and don't use chrome popup API.

Good luck!

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

79348463

Date: 2025-01-11 16:31:46
Score: 2
Natty:
Report link

In XCode 16:

  1. Go to Project Navigator
  2. Navigate to [Your project] -> [project source] -> Info
  3. Delete any URL Types you want
  4. Restart XCode to make changes take effect the project info tab

navigation to URL types in Info.plist file

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

79348461

Date: 2025-01-11 16:30:45
Score: 5
Natty: 4.5
Report link

https://www.youtube.com/watch?v=8QBJMxyXIqc&t=356s

helped me hugely, well explained id skip into the video tho

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

79348459

Date: 2025-01-11 16:29:44
Score: 1.5
Natty:
Report link

I'm from Libya and i was trying with Libyan and Tunisian number and I faced the same issue, I managed to solve it by going to a site https://smstome.com/ and I selected the first number from the US and it worked fine afterward

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

79348456

Date: 2025-01-11 16:26:44
Score: 3
Natty:
Report link

W¢×÷„ƒˆ ð ,8›Í$̺–ä®­+þÐ×9 éxŽà‚ sà…XÓ³ âöpò7N¹ëÀrOÉÀ‘ cø™ª-{÷jé矒ЊÑ6‹XËEëAi½½›¿: …r/-Îe[ÜÆÚÊýàÔ2aFN>¬>‹Îvl7“¿Áú¦jgÎÓ€ª&ä¥Çpv™,3Ð@h6¥¯¶%ñökÛnr¼G¨V¶ý†ÅÆ2P*&…1I-ö;R•C. ,¦üs•ÄÓ‡-{žÄ†ÉÀÚ"Z„,ü¿r°%ªSÈ ìK˜B›½zïÔ}ݲ†f—³á³¶»c¬pÌ­aÇË $_Q³Ç V9?ôÁNž^¯,i©L&l3Á/ã'¥ø£Q4YíH3Ç †o¥Íc‰¡¦jÑÝF’¯xËC%ÃØ•Q²mÆÎâ7òçˆe àƒr¾2Äg>: ý,±?HçÿíZ^Dþâ0“Œ ™%¯+ÎÜLŒàd u·G HØ€r¾Î·„ßÞW²=¬gqbv-cÂ&Òš½rëTÁ„€{§+9É[Íô°ù)¦{!j8ùãRgÔ$}º>¬r°sÕ1á§Ôh“Õ©$¥6ÂsV´Ô— ê¿Ý/툊9Üì^œ[”Þ1— ®t ÔlÊ´ñ3ÙŒö Í{®uÛ?2¬XÙ¼°Y!l7±ô9·CCΰQJˆ4O(Z´f…yÈŽòÓ!yÚNÔ‹óåGãU·‡mõ_Ó™Þá7%m- úì4õ¸÷ÅuI˜œªÑJ¬”¸¼Ÿ|ú²ï)Z|dzMõsÐaÙ, D §6®P¡Œ'Øýâ뵺Mû+(Þ/‰‘ÈNGágˆÚKËv­R¤”䨔Ѳ݄ÅÔ?¯Ñ"˜SNà°«âPù®ÔbF ‘áö‚ÿ‡»€ø'™Ðu<­ø€Z[ ò-s”x’ɵ›žõw¿/ú¬¥~aˆ<TŸªòbõÑÀïõrý^pë7½ÔO˜¼1ƒ-Še(ú)lXǢŲæçê3$”=RA,Yœ’Þ”ªÎèësœ)ˆ„‹!Þ‡Ðõð8_úËKÂßà}J0© _¥j“lÂ% nÑ{x] šPZ3ŽòÛ >#•ÁÓ×›è ›Ë]Šì—¤·aœK6ÌŒÂÂ%ža·# dŽÌx-ìÑ 2ôéÜà6}ØnašÈŠÄC]ûàᤠ€¹áAì•7€„äò_²¾ušßôc BeÇ›Qò<[ár‰A³ÛcQ¾¿ B3©ÈLoH¶’¨ßpÀuqumß´,%hŠ#ƒ$!wÃö ~×a†…ßYò_à¬ÔÏç§B|²‡nM0ü«6c€LsåĦnž#%œDáú]Š–0qŸâ[ÒÇ1]¬"ÙH2Þ;bpÛíý‰Ó· “´/ æäºý8(ÈίŠ1v™´«›-~hÑ6´Ÿ‘´Y¥E=“§hñ6'þÎ

Reasons:
  • Blacklisted phrase (1): ¿
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Raju Tiwari

79348450

Date: 2025-01-11 16:19:42
Score: 2
Natty:
Report link

Both of my winning entries so far were formatted using a background image in the terminal window. Black background and dark red pattern. I don't like unnecessary multimedia, so my text editor is Nano.

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

79348442

Date: 2025-01-11 16:13:41
Score: 1.5
Natty:
Report link

Short answer: No.

Functions itself don't create nonlinear systems. Nonlinear system are algebraic loops in the overall equation system. It is how about you use this functions in the equation part of the model.

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

79348440

Date: 2025-01-11 16:13:41
Score: 3
Natty:
Report link

Try tô return a base64 response in JSON. Instead you use Excel::download you use Excel::RAW and return a JSON object. And in the vue app you convert and download the base64

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: João Vitor Henrique

79348437

Date: 2025-01-11 16:12:41
Score: 0.5
Natty:
Report link
  1. CSS selectors are the way to check if an element is pinned or if it is a retweet. Check the site for more reliable selectors. Try inspect cases where your selector doesn't work and try new selectors.

  2. Generally speaking you can't. If your target is to catch a new tweet a few seconds after it was posted, it is mission impossible. Just use the API.

  3. Use proxies, rotate user agents (less important), try undetected_chromedriver. Automate retries - catch the moment when twitter shows you 'Something went wrong' and restart browser, ideally using new proxy and user agent. This all will make it possible to catch the new tweet in a few minutes. But if you send requests to twitter every few seconds 24/7 they will block you at some point.

  4. BeautifulSoup doesn't make requests, it only helps you parse the response. Requests themselves are usually made with a default requests library. Scrapy is an alternative, but it is not much better at preventing bot detection.

  5. Rotate proxies, obviously do not scrape from a cloud provider IP. Sites are much more likely to block requests from Linux OS. And do not try to send too many requests from the same IP.

P.S. Are you going to keep you computer all the time online to catch the new tweets? Or you plan to run the code from some server? The second option is problematic.

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

79348435

Date: 2025-01-11 16:11:41
Score: 2
Natty:
Report link

I had the same error message and in my case, it was because I put somme JPA annotations at field level AND at method level. All annotations have to be at the same level.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: thogau

79348434

Date: 2025-01-11 16:10:41
Score: 0.5
Natty:
Report link

This is long-since answered, but I thought I'd add one more note in case anyone comes across this question in a search, as I did. Python's error reporting has evolved since this was asked in 2016, and will now fail with the more helpful:

ValueError: 'm' in __slots__ conflicts with class variable
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mats Wichmann

79348433

Date: 2025-01-11 16:10:41
Score: 1.5
Natty:
Report link

Connect with both USBs to your PC
I had the same issue and I was not able to debug.
Connecting both USB, solved

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mehmet Aslan

79348432

Date: 2025-01-11 16:09:40
Score: 2.5
Natty:
Report link

I also face this error after for a while debugging my code i get the solutions that it was the problem of my .env file.

first install the package of npm i dotenv after that import it in the main file of your backend:

import * as dotenv from 'dotenv'; dotenv.config();

and run again your project it will run successfully

Reasons:
  • RegEx Blacklisted phrase (1): I also face this error
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mudassir Ali

79348427

Date: 2025-01-11 16:04:40
Score: 1.5
Natty:
Report link
*:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

this is the aspect in Bootstrap 5

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

79348425

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

When deciding between Windows Azure (Microsoft Azure) and Amazon EC2 (AWS) for developing ASP.NET MVC applications with an MSSQL database, the choice depends on various factors, including pricing, performance, ease of integration, and the ecosystem each platform provides. Here's a detailed breakdown:


1. Azure: Built for the Microsoft Ecosystem

Advantages:

  1. Native .NET Support:

    • Azure is tightly integrated with Microsoft's tools and frameworks, making it the natural choice for ASP.NET MVC applications.
    • Built-in support for MSSQL with Azure SQL Database, a managed service optimized for Microsoft workloads.
  2. Ease of Integration:

    • Seamless integration with Visual Studio, Azure DevOps, and other Microsoft services.
    • Tools like Azure App Services simplify deployment for web applications, with features like CI/CD, scaling, and monitoring built-in.
  3. Platform as a Service (PaaS) Options:

    • Use Azure App Service for hosting your ASP.NET MVC apps without managing the underlying infrastructure.
    • You don’t need to worry about patching the OS, scaling the VMs, or configuring load balancers.
  4. Global Availability:

    • Extensive global network of data centers ensures low-latency connections and compliance with regional data laws.
  5. Integration with Azure Ecosystem:

    • Azure offers complementary services like Active Directory, Blob Storage, and Service Bus for building enterprise applications.

Disadvantages:

  1. Pricing Complexity:

    • Managed services (like Azure App Services and SQL Database) may have higher upfront costs compared to EC2 instances where you manage the infrastructure.
  2. Windows Dependency:

    • Designed primarily for Windows workloads, which may not suit organizations looking for cross-platform flexibility.

2. Amazon EC2: Infrastructure Flexibility

Advantages:

  1. Greater Control (IaaS):

    • With EC2, you have full control over virtual machines, enabling custom configurations for ASP.NET MVC applications.
    • You can choose to run Windows Server and manage your application environment entirely.
  2. Cost Optimization:

    • EC2’s pricing models (On-Demand, Reserved Instances, Spot Instances) allow cost savings with proper planning.
    • You can set up SQL Server on EC2, often at a lower cost compared to Azure's fully managed options.
  3. Cross-Platform Flexibility:

    • EC2 is platform-agnostic and supports Windows Server as well as other operating systems, making it a good fit for hybrid workloads.
  4. Rich Ecosystem:

    • AWS provides a vast array of complementary services, such as S3 (object storage), RDS (managed databases), and Lambda (serverless functions), which can integrate well with ASP.NET applications.

Disadvantages:

  1. Complexity of Setup:

    • Deploying ASP.NET MVC applications on EC2 requires configuring IIS, managing patches, updates, and scaling infrastructure manually.
  2. Limited Native Support for .NET:

    • Although AWS offers services for Windows workloads, it lacks the same level of deep integration with .NET tools compared to Azure.

3. Key Comparisons

Feature Azure Amazon EC2
Ease of Deployment Excellent for .NET (Azure App Service). Requires manual setup for IIS, scaling, etc.
Pricing Managed services can be more expensive. Flexible pricing with potential cost savings.
Performance Optimized for Microsoft workloads. Customizable but requires tuning.
Integration Seamless with Visual Studio, MSSQL, and DevOps. Broader ecosystem, less specific to .NET.
Scalability Built-in autoscaling for PaaS. Manual configuration needed.
Database Options Azure SQL Database (managed). SQL Server on RDS or EC2.

Recommendation:


Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Alok Raja

79348419

Date: 2025-01-11 16:01:38
Score: 4.5
Natty: 5
Report link

Appblock niiiiiiiiiiiiiiiiiiice

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Filler text (0.5): iiiiiiiiiiiiiiiiiii
  • Low reputation (1):
Posted by: ysbrysbr1925

79348412

Date: 2025-01-11 15:55:37
Score: 0.5
Natty:
Report link

In MVI, when state changes, by default all UI elements observing that state will be recomposed. However, there are several ways to optimize this:

  1. Use derivedStateOf for each list:

    data class ViewState( val students: List, val teachers: List )

    val studentsState = derivedStateOf { state.students } val teachersState = derivedStateOf { state.teachers }

    LazyColumn { items(studentsState.value) { student -> // This will only recompose when students list changes } }

  2. Split your state class and use multiple StateFlow:

class ViewModel { private val _studentsState = MutableStateFlow<List>(emptyList()) val studentsState = _studentsState.asStateFlow()

private val _teachersState = MutableStateFlow<List<Teacher>>(emptyList())
val teachersState = _teachersState.asStateFlow() }

// In your UI LazyColumn { items(viewModel.studentsState.collectAsState().value) { student -> // Only recomposes when students change } }

  1. Use remember with key:

@Composable fun MyScreen(state: ViewState) { val students by remember(state.students) { mutableStateOf(state.students) } val teachers by remember(state.teachers) { mutableStateOf(state.teachers) }

LazyColumn {
    items(students) { student ->
        // Only recomposes when students change
    }
} }

The best approach depends on your specific needs:

Use approach #1 if you want to keep single state but need derived values Use approach #2 if the lists are updated independently and you want clear separation Use approach #3 if you want a simpler solution and don't need the overhead of StateFlow

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Composable
  • Low reputation (1):
Posted by: Abhinay Gowda

79348404

Date: 2025-01-11 15:50:36
Score: 1.5
Natty:
Report link

I had the same issue, but I noticed Docker was not running, so you just have to run the Docker

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ahmed Allawi

79348400

Date: 2025-01-11 15:47:35
Score: 0.5
Natty:
Report link

Distinct count includes "blank", so you'll have to write your own measure field, try something like

=CALCULATE(DISTINCTCOUNT(Table1[teacher]), NOT(ISBLANK(Table1[teacher])))

Then select that field instead of Distinct Count of teacher.

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

79348398

Date: 2025-01-11 15:43:34
Score: 3
Natty:
Report link

Renaming the server using sp_serveroption with the undocumented @optname = N'name' is a nice trick, but make sure that you document the original name of the server so you can recreate it. good practice is to use a table to save this value(s)

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @optname
  • Low reputation (1):
Posted by: Hayan Mamoun

79348391

Date: 2025-01-11 15:39:33
Score: 2.5
Natty:
Report link

As Lewis mentioned above yfinance has rate limits to prevent abuse. What you are trying to achieve can be done without using the API. I have spent quite an amount of time working on alternatives. Please feel free to check out the python code on my github. It offers something similar to what you're looking for and also has a UI for easy use. https://github.com/GerC97/Yahoo-Finance-Data-Python-UI

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: GerC97

79348384

Date: 2025-01-11 15:34:32
Score: 2.5
Natty:
Report link

it seems that getOrCreateAssociatedTokenAccount can't create a new token address for some reason. Try manually transferring a small amount of tokens to a wallet whose address is not located. In this way, the address will be initialised on the network and will be available.

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

79348378

Date: 2025-01-11 15:29:31
Score: 2.5
Natty:
Report link

Observe the trucks position and check if it has hit the corner and when it did you reset it

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

79348377

Date: 2025-01-11 15:29:31
Score: 1
Natty:
Report link

For uploading bytes directly you can do the following:

from io import BytesIO

drive_file = drive.CreateFile(folder_metadata)
drive_file.content = BytesIO(data_bytes)
drive_file.Upload()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anirudh Kanaparthy

79348375

Date: 2025-01-11 15:28:31
Score: 1.5
Natty:
Report link

First of all nice code and loved the idea.
Here are the possible corrections and improvements I would suggest you try 1.> You are using a common ID in the paragraph tag which violated the unique id rule. Either change it to a class or use a unique on for each element like name-${id}. 2.> I assume you have defined the onchange(), price_calc() and removeitem() method elsewhare in your program. Otherwise please do so. 3.> Make sure that your HTML has an element with the ID cart and a child ul to hold the cart items. Additionally, ensure there is a #totalPrice element to display the total price. This should make your project work fine. As always, Happy Coding. P.S: Please upvote my answer if it woks ヾ(≧▽≦*)o

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kailash H

79348368

Date: 2025-01-11 15:23:27
Score: 7 🚩
Natty:
Report link

You should check out route handlers - https://nextjs.org/docs/app/building-your-application/routing/route-handlers

I have the same issue now, if nothing helps I am going to go with route.ts file.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Łukasz Gil

79348332

Date: 2025-01-11 15:02:23
Score: 1.5
Natty:
Report link

This was my fault 🤦, I had somewhere in my code Calendar.prototype.getDateFormat = () => 'yy-mm-dd';

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

79348330

Date: 2025-01-11 15:02:23
Score: 1
Natty:
Report link

Kindly make your question clearer. Possibly share some code.

But from what I understand from your question, Recomposition is not a bad thing, but to reduce it there are some things you have to understand.

  1. Pass only the data that is needed to your composable.
  2. Understand that List is mutable and it will cause recompositions, so use Lazy versions of containers to efficiently handle changes.

These are what I know from top of my head from what I understand from your question. But read Official Documentation and this Article

Reasons:
  • Blacklisted phrase (1): this Article
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: KingOfTheNorth

79348327

Date: 2025-01-11 15:00:22
Score: 3
Natty:
Report link

Всем привет. Может кому то поможет, я сам недавно столкнулся на новом проекте с проблемой. Решил ее сделав следующее:
Build, Execution, Deployment -> Compiler -> Anotation Processors -> (я изменил выбор с Obtain Processors from project classpath (было выбрано автоматически IDE) на -> Processor Path(с путем к моей папке, где лежит lombok.jar), типа /root/.m2/repository/org/projectlombok/lombok/unknown/lombok-unknown.jar

Reasons:
  • Has code block (-0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: Иван Дёгтев

79348324

Date: 2025-01-11 14:58:22
Score: 1
Natty:
Report link

Reducing the file size of JPEG images below 50 KB is crucial for optimizing web performance, especially for platforms like WTM. Oversized images can slow down page loading speeds and affect user experience. Fortunately, achieving this is simple using Free JPEG Compress.

This tool provides a seamless way to compress images without compromising quality. Begin by uploading your JPEG file on the website. The system automatically compresses the image, ensuring it meets the required size threshold of 50 KB or less. Advanced algorithms retain visual clarity, making it perfect for web use.

For best results, use the platform’s customization features, such as quality adjustment and resolution settings. These options allow you to fine-tune the image while staying under the size limit. Compress your JPEG files effortlessly and enhance your website’s performance today!

Optimize smartly with Free JPEG Compress.

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

79348323

Date: 2025-01-11 14:58:22
Score: 1.5
Natty:
Report link

There are multiple clients out there that fetches youtube transcript, I recommand:

However, Youtube banned all cloud providers IPs, so if you are looking for a production ready tool, I recommand using an API. The cheapest option I found yet is on RapidAPI:

https://rapidapi.com/invideoiq-invideoiq-default/api/video-transcript-scraper

You get 50 free transcripts, and 500 000 for just 9$, it retieves transcript in less than a second and it retrieves transcript from all major plateforms (Youtube, X, TikTok, Facebook, etc.)

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: M. Hatem

79348316

Date: 2025-01-11 14:56:21
Score: 0.5
Natty:
Report link

GlobalLog Directive is now available in Apache HTTP Server 2.4.19 and later. Example usage:

Create file /etc/apache2/conf-enabled/globallog.conf:

GlobalLog /home/WWW/logs/globallog.log vhost_combined

and activate it:

a2enconf globallog
apachectl graceful

Don't forget to add log rotation rules.

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

79348311

Date: 2025-01-11 14:53:20
Score: 1
Natty:
Report link

Make the following changes in you angular.json file

"assets": [
          {
            "glob": "**/*",
            "input": "public",
            "output": "/"
          },
          {
            "glob": "**/*",
            "input": "src/assets",
            "output": "/assets"
          }
        ],
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: yogesh gole

79348301

Date: 2025-01-11 14:47:19
Score: 1.5
Natty:
Report link

For a completed project, SpringBoot + Lombok + MapStruct in 2025-01. (see version in pom)

enter image description here

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>
    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>3.4.1</version>
        <relativePath/> <!-- lookup parent from repository -->
    </parent>
    <groupId>com.redfrog</groupId>
    <artifactId>demo-mapstruct</artifactId>
    <version>0.0.1-SNAPSHOT</version>
    <name>demo-mapstruct</name>
    <description>demo-mapstruct</description>
    <url/>
    <licenses>
        <license/>
    </licenses>
    <developers>
        <developer/>
    </developers>
    <scm>
        <connection/>
        <developerConnection/>
        <tag/>
        <url/>
    </scm>
    <properties>
        <java.version>21</java.version>
        <!--        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>-->
        <!--        <maven.compiler.source>1.8</maven.compiler.source>-->
        <!--        <maven.compiler.target>1.8</maven.compiler.target>-->
        <org.mapstruct.version>1.6.3</org.mapstruct.version>
        <!--        <org.projectlombok.version>1.18.36</org.projectlombok.version>-->
        <lombok-mapstruct-binding.version>0.2.0</lombok-mapstruct-binding.version>
    </properties>
    <dependencies>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-devtools</artifactId>
            <scope>runtime</scope>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
            <scope>provided</scope>
            <optional>true</optional>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.mapstruct</groupId>
            <artifactId>mapstruct</artifactId>
            <version>${org.mapstruct.version}</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <configuration>
                    <annotationProcessorPaths>
                        <path>
                            <groupId>org.mapstruct</groupId>
                            <artifactId>mapstruct-processor</artifactId>
                            <version>${org.mapstruct.version}</version>
                        </path>
                        <path>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok</artifactId>
                        </path>
                        <path>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok-mapstruct-binding</artifactId>
                            <version>${lombok-mapstruct-binding.version}</version>
                        </path>
                    </annotationProcessorPaths>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
                <configuration>
                    <excludes>
                        <exclude>
                            <groupId>org.projectlombok</groupId>
                            <artifactId>lombok</artifactId>
                        </exclude>
                    </excludes>
                </configuration>
            </plugin>
        </plugins>
    </build>

</project>
Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Nor.Z

79348299

Date: 2025-01-11 14:47:19
Score: 0.5
Natty:
Report link

Just a quick follow-up and thank you to all that tried to help . . .

Not today, but soon I will upgrade my local Postgres from v14.4 to the latest v17.2. Maybe that will correct it.

Today, I did upgrade ExpressJS on my server from 4.18.1 to 4.21.2.

In the client code, I'm performing this on-the-fly conversion:

const newSession: SessionType = {
  ...sessionContainer.state,
    user: {
      ...userData,
      maxBytes: Number(userData.maxBytes),
      byteCount: Number(userData.byteCount)
    }
  };

  sessionContainer.setState(newSession);
};

And indeed, the two values in question are correctly being converted from strings to numbers.

Once again, thank you all for your great help!

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

79348297

Date: 2025-01-11 14:46:18
Score: 2.5
Natty:
Report link

In little words ACID is theory and transactions just implementation of them in real world , that's how I think.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Habibov Ulug'bek

79348296

Date: 2025-01-11 14:45:18
Score: 0.5
Natty:
Report link

I know this is an old question, but since python 3.6 which supports f-strings you can achive the desired result as follows:

a = 1000
print(f'{a:_}')

It also works without using a variable:

print(f'{1000:_}')

In both cases the output is 1_000. Not very elegant, but it works.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: N. Maks

79348289

Date: 2025-01-11 14:40:17
Score: 0.5
Natty:
Report link

Just a clarification on Gareth Rees answer that I found to be very helpful. I downloaded the Full Range XML and found that the publisher ranges were not formatted the same as in his example. That made it a little difficult to determine how to find which group to use, so I found that if you take the next 7 digits after the prefix (all publisher group ranges are formatted as 7 digits numbers), they fall into one of the publisher groups and then you can get the length. It worked for several books on my shelf. Hopefully this will help others that were wondering specifically how to find the range.

Reasons:
  • Whitelisted phrase (-1): It worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: David Martin

79348287

Date: 2025-01-11 14:40:17
Score: 3
Natty:
Report link

Answer found here: https://github.com/jekyll/jekyll/issues/9741 - it appears to be a bug in the latest version of Ruby. Workable version on 3.3.6

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

79348286

Date: 2025-01-11 14:36:17
Score: 3
Natty:
Report link

just use the connection, adress = accept() instead of the conn,address = accept() , because it makes deference in python3 also the conn.send(b'"hey"); use connection.send(b'"hey")

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

79348284

Date: 2025-01-11 14:35:16
Score: 3
Natty:
Report link

in Next.js development mode the page do render twice due to sreactStrictMode being true by default in next.config.ts. You can try disabling it for debugging.

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

79348277

Date: 2025-01-11 14:31:15
Score: 3.5
Natty:
Report link

Hello everyone I have a question i am facing this issue can Anyone tell how to resolve this.Recently i buy new latop i take clone of my project from github but then i am installing npm install or run npm run dev it give this error remember my project is on next js typescript

     npm install
npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies 
at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ npm install
+ ~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
PS E:\shared folder\sellermargins-site-main> npm run dev
npm : File C:\Program Files\nodejs\npm.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies 
at https:/go.microsoft.com/fwlink/?LinkID=135170.
At line:1 char:1
+ npm run dev
+ ~~~
    + CategoryInfo          : SecurityError: (:) [], PSSecurityException
    + FullyQualifiedErrorId : UnauthorizedAccess
Reasons:
  • Blacklisted phrase (1.5): I have a question
  • RegEx Blacklisted phrase (2.5): can Anyone tell how
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: FAIZAN AHMED TANOLI

79348276

Date: 2025-01-11 14:27:15
Score: 2
Natty:
Report link

In my case problem solved with your help Mark Hall. Thank you!!! My my environment was: Visual Studio 17.9.0, x64; EasyModbus v5.6 and ModRSsim2. Followed tutorial from YouTube "Create the Modbus Master GUI in 10 Minutes using EasyModbus Library" Adding this line of code solved the problem modbusClient.Parity = System.IO.Ports.Parity.None;

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bojan Blagojevic

79348264

Date: 2025-01-11 14:17:12
Score: 1.5
Natty:
Report link

You need to retry the process and it will will work eventually. They have a bug.

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

79348251

Date: 2025-01-11 14:10:11
Score: 1
Natty:
Report link

If you're still looking for an answer, or someone just stumbled across this question - this is because a bot needs to be an admin in a group chat to have access to all the messages. Otherwise it only sees the commands (messages, starting with /) and replies to its own messages in the group.

Hope this helps!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yerkwell

79348246

Date: 2025-01-11 14:08:10
Score: 0.5
Natty:
Report link

As @kmdreko mentioned, it worked by converting to euler and back, only keeping the y axis.

let (_, y, _) = camera_transform.rotation.to_euler(EulerRot::XYZ);
vel = Quat::from_euler(EulerRot::XYZ, 0., y, 0.) * vel * 10.;

Doing it without the euler conversion mostly alleviates the problem, but a slight slowing still happens.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Has code block (-0.5):
  • User mentioned (1): @kmdreko
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: DSR

79348244

Date: 2025-01-11 14:05:10
Score: 2
Natty:
Report link

use below code: // Serve static files from the "public" folder app.use(express.static("../public"));

// basically you have to use './' for same directory path '../' for previous directory path.

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

79348243

Date: 2025-01-11 14:05:10
Score: 1.5
Natty:
Report link

Okay, sorry, I didn't properly look at the documentation for strftime. The answer is:

strftime("2024-12-30", "%G-%V")
[1] "2025-01"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ben

79348242

Date: 2025-01-11 14:04:09
Score: 3
Natty:
Report link

install: pip install python-jose

and import: from jose import JWTError, jwt

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

79348241

Date: 2025-01-11 14:04:09
Score: 1.5
Natty:
Report link

I recommend using Expo's Crypto: https://docs.expo.dev/versions/latest/sdk/crypto

My use case was something like this:

global.Buffer = require('buffer').Buffer;

import { entropyToMnemonic } from 'bip39';
import * as Crypto from 'expo-crypto';

export function generateMnemonicList(): string[] {
    const entropy = Buffer.from(Crypto.getRandomBytes(32));
    return entropyToMnemonic(entropy).split(' ');
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Augusto Vicente

79348228

Date: 2025-01-11 13:58:08
Score: 1
Natty:
Report link

None of the previous answers were right for my situation.

For me, this error was caused by file name case sensitivity on Windows.

This situation most likely pertains to some GitBook users, syncing to Windows.

Steps to fix

If you're using Windows (or if your file system is case-insensitive):

  1. Check your github repo on the github website and look for the file that has "changes". You are looking for two files with the same name, but typed in different cases (UPPERCASE/lowercase).

Screenshot of duplicated files on GitHub website but not on Windows

  1. If one of the files is unwanted, just delete it from the GitHub website. If you need both then you're gonna have to deal with it however you wish -- rename one file, or copy the contents all into one, whatever.

  2. Delete the repo folder from your computer and then clone it from the web again.

  3. Hopefully, success 👍

Background

I synced my new GitBook site to GitHub after making a few edits to the page structure and creating a new first page.

Then I cloned the repo to my computer -- Windows.

Immediately after cloning, the GitHub desktop app showed me a diff of the readme file's changes. There was no possible way that it could have already had changes.

I deleted the repo folder from my github folder and cloned it again. Several times: same result every time.

I looked at the repo in the web interface and found two readme files:

But in the synced folder on Windows, it showed only one file, readme.md.

I checked which file I wanted and deleted the other one.

Then deleted the repo folder off my computer and cloned the repo again (because fetching origin again didn't fix the local issue).

(I don't understand how this error can even come to exist. Surely the developers at GitBook know that Windows's file system is case-insensitive?)

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

79348225

Date: 2025-01-11 13:57:07
Score: 10
Natty: 7.5
Report link

I encountered the same issue. Did you manage to solve it?

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Wh1t3Zzz

79348224

Date: 2025-01-11 13:56:06
Score: 8.5
Natty: 7
Report link

still got the same problem, any help would be appreciated

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): any help
  • RegEx Blacklisted phrase (3): any help would be appreciated
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hkimo

79348223

Date: 2025-01-11 13:56:06
Score: 5.5
Natty:
Report link

Your piece of code works just fine for me. Can you provide more information like your OS, the Taipy version, the Python version, a pip freeze output, etc.?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Jean-Robin Medori

79348221

Date: 2025-01-11 13:54:05
Score: 1.5
Natty:
Report link

I recommend using Expo's Crypto: https://docs.expo.dev/versions/latest/sdk/crypto

My use case was something like this:

global.Buffer = require('buffer').Buffer;

import { entropyToMnemonic } from 'bip39';
import * as Crypto from 'expo-crypto';

export function generateMnemonicList(): string[] {
    const entropy = Buffer.from(Crypto.getRandomBytes(32));
    return entropyToMnemonic(entropy).split(' ');
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Augusto Vicente

79348218

Date: 2025-01-11 13:54:05
Score: 2
Natty:
Report link

Published WinUI 3 applications need to be signed with a certificate that's trusted on the local machine. Right click project in solution explorer > Publish and Package > Create App Packages. Make sure to create a certificate and trust it on that machine otherwise the app will not run.

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

79348209

Date: 2025-01-11 13:48:04
Score: 3.5
Natty:
Report link

I used 5 V to supply CS5532 chip the SCLK input of CS5532 doesnot "see" the 3.3 V clock pulses from STM32F103

It took my 1 month to understand the problem even ChatGPT didnot help me

I supplied 3.3 V to CS5532 supply and the problem is solved

I must have read the datasheet of CS5532 better

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

79348203

Date: 2025-01-11 13:45:03
Score: 1
Natty:
Report link

This is impossible.

Think about what happens if Custom is used as raw type?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: talex

79348200

Date: 2025-01-11 13:44:03
Score: 2
Natty:
Report link
  1. First, create a DestinationRule to configure load balancing

Next, execute the below cmd

$ oc get configmap istio -n istio-system -o yaml
$ oc exec -it <pod-name> -c istio-proxy -- ls /etc/certs

$ oc logs -c istio-proxy

https://istio.io/latest/docs/tasks/traffic-management/ingress/secure-ingress/

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dr Vivek Yoganand PhD-Red Hat

79348192

Date: 2025-01-11 13:41:02
Score: 0.5
Natty:
Report link

Theres two packages you can use the official video_player now supports custom headers starting from version 2.6.0 Refrence

and also theres another great package that has even more features including the custom headers better_player

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

79348186

Date: 2025-01-11 13:39:02
Score: 1.5
Natty:
Report link
isSorted :: (Ord a) => [a] -> Bool
isSorted [] = True
isSorted [_] = True
isSorted (x:y:xs) = x <= y && isSorted (y:xs)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: luc yovozin

79348171

Date: 2025-01-11 13:28:59
Score: 5
Natty:
Report link

Finally I got the answer.

I hav to change the url to https://www.sandbox.paypal.com/cgi-bin/webscr

Thanks to all

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: volar.2016