79671272

Date: 2025-06-18 20:47:26
Score: 1
Natty:
Report link

Thanks @alicia-sykes, you put me on the right path.

The final GitHub step became:

      - name: Setup Chrome sandbox for diagram rendering
        run: |
          sudo sysctl -w kernel.unprivileged_userns_clone=1
          sudo apt-get update
          sudo apt-get install -y google-chrome-stable

          CHROME_SANDBOX=$(dirname "$(which google-chrome-stable)")/chrome-sandbox

          # Additional fallback paths because Chrome is not necessarily installed 
          # in the default location, but there are known alternatives.
          if [ ! -f "$CHROME_SANDBOX" ]; then
            echo "Attempting fallback paths for chrome-sandbox..."
            if [ -f "/opt/google/chrome/chrome-sandbox" ]; then
              CHROME_SANDBOX="/opt/google/chrome/chrome-sandbox"
            elif [ -f "/usr/lib/chromium-browser/chrome-sandbox" ]; then
              CHROME_SANDBOX="/usr/lib/chromium-browser/chrome-sandbox"
            else
              echo "Error: chrome-sandbox could not be found in any known locations."
              exit 1
            fi
          fi

          sudo chown root:root "$CHROME_SANDBOX"
          sudo chmod 4755 "$CHROME_SANDBOX"

          echo 'Exporting CHROME_DEVEL_SANDBOX environment variable...'
          echo "CHROME_DEVEL_SANDBOX=$CHROME_SANDBOX" >> $GITHUB_ENV

Once I added this step to the workflow, the generation of the mermaid diagrams in the AsciiDoctor file succeeded.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @alicia-sykes
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Arc-E-Tect

79671271

Date: 2025-06-18 20:46:26
Score: 1
Natty:
Report link

Expo projects can use this approach.

import { useNavigationContainerRef, usePathname } from 'expo-router'
...
useNavigationContainerRef().getCurrentOptions()

Bare React Native projects can use this approach.

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

79671266

Date: 2025-06-18 20:39:24
Score: 1.5
Natty:
Report link

Ok I have had to change you CSS, hope you dont mind, I have adjusted you JS too, you main issue was that #solutions was covering the whole viewport. TheZIndex is also fixed


(() => {
  const problems = document.getElementById('problems');
  const solutions = document.getElementById('solutions');
  const body = document.body;
  const html = document.documentElement;

  const getScrollY = () => window.pageYOffset || html.scrollTop || body.scrollTop || 0;

  let viewportHeight = window.innerHeight;
  let topOfSolutions = problems.offsetTop + problems.offsetHeight;
  let startReveal = topOfSolutions - viewportHeight;
  let endReveal = topOfSolutions;
  let revealRatio = 0;

  const maxRadius = () => Math.hypot(window.innerWidth / 2, window.innerHeight / 2);

  const setRadius = (r) => {
    const clip = `circle(${r}px at 50% 50%)`;
    solutions.style.clipPath = clip;
    solutions.style.webkitClipPath = clip;

    // **Ensure Problem 5 is visible when scrolling up**
    solutions.style.visibility = r > 0 ? 'visible' : 'hidden';
  };

  window.addEventListener('scroll', () => {
    const currentY = getScrollY();

    if (currentY < startReveal) {
      revealRatio = 0;
      setRadius(0);
      solutions.style.visibility = 'hidden'; // **Problem 5 should be visible**
      return;
    }

    if (currentY > endReveal) {
      revealRatio = 1;
      setRadius(maxRadius());
      solutions.style.visibility = 'visible';
      return;
    }

    revealRatio = (currentY - startReveal) / (endReveal - startReveal);
    setRadius(revealRatio * maxRadius());
  }, { passive: true });

  window.addEventListener('resize', () => {
    viewportHeight = window.innerHeight;
    topOfSolutions = problems.offsetTop + problems.offsetHeight;
    startReveal = topOfSolutions - viewportHeight;
    endReveal = topOfSolutions;
    setRadius(revealRatio * maxRadius());
  });
})();
html, body {
  height: 100%;
  margin: 0;
  font-family: sans-serif;
}

/* Problems */
#problems {
  scroll-snap-type: y mandatory;
  position: relative;
}

#problems h1 {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 1rem;
  text-align: center;
  z-index: 1;
}

/* Updated class names for each card */
.card1 {
  background: #90caf9;
}

.card2 {
  background: #a5d6a7;
}

.card3 {
  background: #ce93d8;
}

.card4 {
  background: #ffcc80;
}

.card5 {
  background: #ff8a80; /* Adjusted for visibility */
  color: #000; /* Ensuring readable text */
}

/* Common styles for all problem cards */
.card1, .card2, .card3, .card4, .card5 {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}
<section id="problems">
  <h1>Do you know these problems?</h1>
  <article class="card1">Problem 1</article>
  <article class="card2">Problem 2</article>
  <article class="card3">Problem 3</article>
  <article class="card4">Problem 4</article>
  <article class="card5">Problem 5</article>
</section>

<!-- fixed layer revealed by the circle -->
<section id="solutions">
  <h2>Solution</h2>
</section>

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you know the
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JulesUK

79671264

Date: 2025-06-18 20:35:22
Score: 6.5 🚩
Natty: 5.5
Report link

não entendo este povo. em interpretar um texto, eu estou como o mesmo problema e uma vez consegui resolver mas eu não tenho mais a reposta, a questa do colega é simples veja meu caso. eu criei um script no bloco de nota e salvei em html, qnd vc clica nele não se encontra o cod e sim o resultado , vc ira ver um acaixa de texto botõrd dr direcionamento ec, uma vz hospedando no drive ele perde isto e ao baixar eu recebo só um doc com a tela da pagina sem interações, os botões e caixa somem, assim o script parece qu efoi reformulado. a a pergunta é como baixar o arquivo como o original? alguem sabe responder?

Reasons:
  • Blacklisted phrase (1): não
  • RegEx Blacklisted phrase (2): encontra
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Excluido

79671262

Date: 2025-06-18 20:34:22
Score: 3.5
Natty:
Report link

to get random images for your website, use https://picsum.photos/ :)

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

79671258

Date: 2025-06-18 20:33:21
Score: 6.5 🚩
Natty: 5.5
Report link

buenas estoy probando con codigo python, poner una posición y cerrarla, pero si la crea, pero en la lengueta sale posiciones abiertas en 0, y al cerrar esta el por codigo no la encuentra! Ayuda. es posible que alguien me ayude con el codigo me envie un ejemplo de poner ordenes y cerrarla para evaluar el mio? [email protected] mi correo.

Reasons:
  • Blacklisted phrase (2): Ayuda
  • Blacklisted phrase (2): estoy
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Julio Andrés Burboa Schlegel

79671257

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

You can also use

std.mem.splitAny()

Or

std.mem.splitSequence()


const std = @import("std");
pub fn main() !void{
const input = "Hello World";
//this is to split by spaces
var iter = std.mem.splitAny(u8, input, " ");
while  (iter.next()) |word| {
 std.debug.print("{s}\n", .{word});
 }
 }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ph4mished

79671239

Date: 2025-06-18 20:09:14
Score: 4
Natty:
Report link

I have the IntelliJ IDEA 2025.1 (Ultimate Edition), and I see the option on "Tools".

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sudhakar

79671235

Date: 2025-06-18 20:05:13
Score: 2
Natty:
Report link

Like it is mentioned in earlier answers there is no specific -force flag available with "terraform destroy" command perhaps because terraform deals with multiple resource dependences either while creating or destroying. In case if it failed in destroying the resources then you need to address their dependency issue. It is good because you should not end up with messed up uncleaned resources in Cloud.

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

79671223

Date: 2025-06-18 19:53:09
Score: 3.5
Natty:
Report link

Nevermind. I imported, somehow (vs did), a file from api in admin.

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

79671214

Date: 2025-06-18 19:36:06
Score: 0.5
Natty:
Report link

I ended up using BeautifulSoup instead

    get_partyid = requests.post('%s' % nwsap_host, data=get_partyid)
    gpid = BeautifulSoup(get_partyid.content, 'xml')
    gpstatus = gpid.find('api:PlexViewResponse')
    print("Status:", gpstatus.attrs['Status'])
    PartyID = gpid.find('PartyId').get_text()
    print("PartyID:", PartyID)

Much easier to digest for me as a newbie.
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kelso

79671204

Date: 2025-06-18 19:18:01
Score: 2
Natty:
Report link

There is extenstion which increase the curosr caret height without chaning line height. You can find this in VS Code Extension or Marketplace

"Extra Cursor Caret Height"

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

79671203

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

I also tried to find something like that in VS Code, but I didn't find any extension like this. Finally, I have created an extension for this. You can try this extension

"Extra Cursor Caret Height"

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shibbir Ahmed

79671197

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

My mistake. Try this then, though, this will conceal all the scrollbars on the page:

*::-webkit-scrollbar {
    display: none;
}
Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tachaeus

79671193

Date: 2025-06-18 19:01:57
Score: 1.5
Natty:
Report link

You can just conver the argument which you are passing in the PyPDFLoader into string like

loader = PyPDFLoader(file_path=str(pdf_path))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pragyan Prakhar

79671190

Date: 2025-06-18 19:00:57
Score: 1.5
Natty:
Report link

There is no dedicated icon in draw.io to represent a "Lambda function with its layers". But you can do this to complete your architecture if it floats your boat :-

  1. Stack small rectangles or boxes under or beside the Lambda icon.

  2. Label them Layer 1, Layer 2, etc., or with more meaningful names (e.g., "Shared Utils", "Logging", "DB Client").

  3. and then connect them to the Lambda icon with arrows (or brackets) to indicate that they are part of the Lambda execution environment.

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

79671185

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

hash maps take O(1) to get elements in it (for the most part). This is because elements in the hash map are stored in a more mathematical way by hashing. I recommend reading up on it, it uses cool computer science concepts and when used correctly is a lot efficient.

Here is one reference: https://medium.com/@dineshmatrix2/why-hashmap-lookup-is-constant-time-o-1-7fa6b7a4cae2

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Calamity

79671183

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

As a quick workaround, a blank tailwind.config.ts will make the extension work

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

79671173

Date: 2025-06-18 18:43:53
Score: 1
Natty:
Report link

Run your Vue application:

        npm run serve

This should run your Vue application on http://localhost:8080 then you can hyperlink that in your HTML page like:

<a href="http://localhost:8080">Click here to go to localhost:8080</a>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: oriononmar

79671168

Date: 2025-06-18 18:36:51
Score: 0.5
Natty:
Report link

For me, this was due to a faulty symlink, which I created on macos with a relative url, instead of the absolute (full) url. The latter did work and showed up as a dir in phpstorm.

The link did work in the Finder, so I thought it was ok. But hovering the unknown filetype showed me a popup saying the symlink was bad

Reasons:
  • No code block (0.5):
Posted by: Jos

79671154

Date: 2025-06-18 18:23:48
Score: 1.5
Natty:
Report link

I think it is a problem from duckduckgo api change.

I encountered same problems while using duckduckgosearch tool in nodejs. It seems like they just changed the api format.

The regex from duckduckgo sdk is no longer working

const SEARCH_REGEX = /DDG\.pageLayout\.load\(\s*'d'\s*,\s*(\[[\s\S]+?\])\s*,[\s\S]+?\)\s*;?\s*DDG\.duckbar\.load/

I am trying to patch this but still not find a way to resolve, but this is the problem.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: YJack0000

79671149

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

As of Nov 2024, Spotify deprecated the preview_url API that proviedd 30 second track previews. I believe previews can still be used with the embed player.

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

79671140

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

You could do this with boost::bimap from the boost library. Eg.

    boost::bimap<int, std::string> map;
    map.insert({1, "one"});
    map.insert({2, "two"});

    std::cout << map.left.at(1) << "\n";  // "one"
    std::cout << map.right.at("two") << "\n";  // 2
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cameron

79671137

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

Can this be fixed?

It is fixed. Just try with a recent version of GCC.

For example, any g++ version from v12 on (maybe even older) has the issue fixed. v12 was released in 2022, so enough time to update your tools. (Though I still see it in v8).

As far as I can tell, only the C++ front is affected, though I cannot point to the respective PR.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (1.5): fixed?
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can this
  • High reputation (-1):
Posted by: emacs drives me nuts

79671130

Date: 2025-06-18 18:03:42
Score: 2
Natty:
Report link
Process.Start("C:\\Windows\\System32\\myscreensaver.scr", "/s");
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
Posted by: Remus Rigo

79671123

Date: 2025-06-18 17:59:41
Score: 2.5
Natty:
Report link

I got your query bro, You are missing to save your changes in file go to your particular .tf file if its yellow then turn that line to green ctrl+s save the file and try you will get your output.

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

79671115

Date: 2025-06-18 17:55:40
Score: 0.5
Natty:
Report link

I cleared my user-secrets for the AppHost project and that seems to have done the trick.

dotnet user-secrets clear

Re-running Aspire after this correctly redeployed missing resources and didn't re-deploy resources that hadn't been deleted.

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

79671105

Date: 2025-06-18 17:49:38
Score: 3
Natty:
Report link

My problem was an update on the data type of one field.

Just needed to update the source component. Re deployed the pack.

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

79671104

Date: 2025-06-18 17:49:38
Score: 1
Natty:
Report link

Perfect Method I Found

All the answers before is telling you to rewrite the commit history, and change the branch name back and forth.

However, there is a much easy solution for this, You WON'T need to rewrite anything in your repo.


Just go to Account Settings of your GitHub account, and block the account you want.

You can unblock the account later.

At the moment you will still see the contributor showing on the list, but the number of contributors will be reduced by one.

After a few hours or a day, you will see that the contributor is no longer showing in the list.


Side-effect: The account you block will be disappeared from all the repo owned by you.

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

79671103

Date: 2025-06-18 17:48:37
Score: 0.5
Natty:
Report link

I think I found the solution. The problem is the: first_party_collection = true.

It sends to Servers some events automatically. Take it off this paramater

Reasons:
  • Whitelisted phrase (-2): I found the solution
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Victor Dias

79671100

Date: 2025-06-18 17:42:36
Score: 4.5
Natty:
Report link

https://github.com/Rapptz/discord.py/pull/10210

A bug report and fix is underway

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

79671084

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

math.js implements the error function.

Simply put <script src=https://cdnjs.cloudflare.com/ajax/libs/mathjs/3.3.0/math.min.js></script> in your html header and use math.erf(x) in your script.
https://mathjs.org/docs/reference/functions/erf.html

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

79671083

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

The C++ std::unordered_set provides the same functionality as the python set.

It is unordered, each element is unique, and it has near constant time complexity.

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

79671058

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

Found this very helpful video from Google about autofill which overlaps this functionality: https://marketingplatformacademy.withgoogle.com/events/boost-conversions-with-autofill-optimizing-checkout-and-signup-flows

In answer to your original question...

Knowing both is used as a hint for mobile browsers, I couldn't find a real doc about the difference between using <input type="tel"> and <input inputmode="tel">. So

  • what's the difference?

  • which is better to use?

  • why duplication if it's the same?

...according to that video at 16:21 :

inputmode used with either tel or email eliminates any validation of the format entered, suggesting that type does. The presenter in the video says that a browser-generated error would display if the entered data does not resemble a valid telephone or email address.

It seems that it would be better to use inputmode when you are using tel or email to pop keyboards for whatever reason but don't actually want a telephone or email address or want to avoid the validation/error message. If you do want that, then use type.

Not the same; not an exact duplicate function.

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

79671052

Date: 2025-06-18 17:00:23
Score: 3.5
Natty:
Report link

Just uninstall ( Prior Visual Studio 2010 ) from Programs and Features.

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

79671040

Date: 2025-06-18 16:52:20
Score: 4
Natty:
Report link

As of Antd 5.21.0, this is supported!

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

79671017

Date: 2025-06-18 16:37:16
Score: 0.5
Natty:
Report link

According to this: https://github.com/spring-projects/spring-boot/issues/45881, the issue may be caused by the new defaults maxPartCount and maxPartHeaderSize which are 10 and 1024(?) (They used to be unlimited). You can update them in the server.xml as connector options.

<Connector port="8080" protocol="HTTP/1.1"
           connectionTimeout="20000"
           redirectPort="8443"
           maxParameterCount="1000"
           maxPartCount="100"
           maxPartHeaderSize="1024"
           />

I tried just changing maxPartCount to 100 and that seems to fix it for me. Still testing however, you will need to figure out what good defaults will be for you.

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

79671007

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

All environment vars in a Vite app must begin their identifier with VITE_

So your var may now look like: VITE_APP_SOCKET_URL="ws://localhost:8765"

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

79670997

Date: 2025-06-18 16:26:12
Score: 3.5
Natty:
Report link

Dlls are used by IIS, actually by w3wp.exe host, if your application is running. So generally you CAN'T update the folder. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alexander Novitskiy

79670990

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

Storing email and password on device is not secure and should be avoided especially for sensitive apps like banking. When working on front-end its best to assume that all stored data may be exposed.

The only secure way I found is storing refresh token(long-lived token) in encrypted format instead of password which will then be passed to the server on successful biometric authentication and return an access token.

You also need to handle the case where the refresh token itself expires in which case the user will need to login with his credentials again. You can also have an API call for verifying the long-lived token every time the app opens with a message in case of false response like "session has expired login again with credentials".

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

79670979

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

Interesting thread! I’ve also noticed similar quality issues when uploading videos through certain APIs—not just on LinkedIn but across other platforms too. Sometimes it helps to preprocess the video with specific encoding settings before pushing it via the API. For anyone working on sustainable tech content or looking to optimize media for eco-conscious digital platforms, I share related insights and resources here: https://thepotagerproject.com. Thanks to everyone contributing to this discussion—super helpful!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bokashi Bin Review

79670974

Date: 2025-06-18 16:11:07
Score: 2.5
Natty:
Report link

It is possible now with files.autoSaveWhenNoErrors

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

79670962

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

The MCP3 does not support ESC/POS command emulation, only StarPRNT.

https://starmicronics.com/product/mc-print3-pos-receipt-printer-retail-kitchen-online-ordering/

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

79670959

Date: 2025-06-18 16:04:04
Score: 4
Natty: 4.5
Report link

Expo has TextDecoder support as of SDK 52 so no polyfill is needed. https://docs.expo.dev/versions/v52.0.0/sdk/encoding/

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

79670958

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

I have tried turning on and off Airplane mode on my Apple Watch. And I've also tried turning off and back on wifi for my MacBook Pro. Sometimes this works but not all the time. And after that, the best thing to try is to quit Xcode and try again.

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

79670952

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

The only secure way I found is storing refresh token(long live token) in encrypted format instead of password which will then be passed to the server on successful biometric authentication and return an access token. Note: You also need to handle the case where the refresh token itself expires in which case the user will need to login with his credentials again.

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

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