79587481

Date: 2025-04-22 21:43:39
Score: 2
Natty:
Report link

@kikon's answer is correct: This doesn't work with scales.x.bounds: 'data', but it works when I explicitly set scales.x.min and scales.x.max and use scales.x.ticks.includeBounds: false.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @kikon's
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • High reputation (-1):
Posted by: Colin

79587479

Date: 2025-04-22 21:42:38
Score: 1
Natty:
Report link

Since it's a local server, headers can be added as parameters:

runStaticServer("./docs", headers= c(`Access-Control-Allow-Origin`='*'))

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

79587474

Date: 2025-04-22 21:38:38
Score: 0.5
Natty:
Report link

Special alias to your host loopback interface when running an emulator is 10.0.2.2

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

79587473

Date: 2025-04-22 21:38:38
Score: 1.5
Natty:
Report link

Can apply this to specific columns by checking the column index

foreach (TableCell cell in e.Row.Cells)
{
    if (e.Row.Cells.GetCellIndex(cell) == 0 || e.Row.Cells.GetCellIndex(cell) == 1)           //eg: ID (0) and Phone (1)
    {
        cell.Style.Add("mso-number-format", "\\@");
    }
}

-- Should resolve the issue by applying the formatting only to the selected columns
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): Can
  • Low reputation (1):
Posted by: Watson Matunhire

79587470

Date: 2025-04-22 21:37:37
Score: 0.5
Natty:
Report link

As pointed out in the comments, the Canny edge detector does not necessarily produce closed contours. A different approach is to binarize the image, e.g., using a global threshold or one of the methods from ImageBinarization.jl. Potrace from GeoStats.jl can then trace the contours and retrieve polygons. It might be a hassle to get the raw coordinates, but GeoStats.jl can be convenient if you want to perform further operations on the polygons. You can also consider GeometryOpts.jl for further simplification of the geometry.

using Images, TestImages
using GeoStats, CairoMakie

img = testimage("blobs")
img_gray = Gray.(img)
img_mask = img_gray .> 0.5
# img_mask = binarize(img_gray, Otsu())
# closing!(img_mask, r=2)

data = georef((mask=img_mask,))
shape = data |> Potrace(:mask)

blobs = shape.geometry[findfirst(.!shape.mask)]

fig = Figure(size=(800, 400))
image(fig[1, 1], img, axis=(aspect=1, title="Original"))
image(fig[1, 2], img_mask, axis=(aspect=1, title="Mask"))
viz(fig[1, 3], blobs, color=:red, axis=(aspect=1, title="Geometry"))
display(fig)

first_blob = blobs.geoms[1]
area(first_blob)

Three images showing the original image, the thresholded binarized image, and the resulting polygons.Another option is to use the Julia OpenCV bindings, although, I had some issues getting OpenCV to precompile.

using ImageCore, TestImages
using CairoMakie
using Makie.GeometryBasics
import OpenCV as cv

img = testimage("blobs")

img_raw = collect(rawview(channelview(img)))
img_gray = cv.cvtColor(img_raw, cv.COLOR_RGB2GRAY)

_, mask = cv.threshold(img_gray, 127.0, 255.0, cv.THRESH_BINARY_INV)
contours, _ = cv.findContours(mask, cv.RETR_TREE, cv.CHAIN_APPROX_SIMPLE)

f = Figure()
image(f[1, 1], img, axis=(aspect=1, title="Original"))
Axis(f[1, 2], aspect=1, title="Geometry")
for cont in contours
    coords = [Point(p[1], p[2]) for p in eachcol(reshape(cont, 2, :))]
    poly!(coords)
end
f

The original image (left) and traced polygons (right).

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

79587460

Date: 2025-04-22 21:26:34
Score: 5.5
Natty:
Report link

Have you already tried using "display:flex !important;"?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ignacio Moises AP

79587455

Date: 2025-04-22 21:21:33
Score: 2
Natty:
Report link

Thank you, this is brilliant and just what I needed for a hieroglyphs app (Glyph Quiz). I use slightly different IPA phonetics

extension StringProtocol {
    // credit: https://stackoverflow.com/questions/75253242/customized-sort-order-in-swift
    var glyphEncoding: [Int] { map { Dictionary(uniqueKeysWithValues: "ꜣyꞽꜥwbpfmnrhḥḫẖszšḳkgtṯdḏ"
                                                .enumerated()
                                                .map { (key: $0.element, value: $0.offset) } )[$0] ?? -1 } }
    // Usage: phoneticStrings.sorted { $0.glyphEncoding.lexicographicallyPrecedes($1.glyphEncoding) }
}

(needs an IPA font like CharisSIL installed)

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mike F

79587454

Date: 2025-04-22 21:21:33
Score: 0.5
Natty:
Report link

I had the same error when I tried to upgrade my packages. I realized the problem was that some of the packages depend on postcss:^6, while others depend on postcss:^8. After checking my package-lock.json, I located and upgraded the conflicting package. (I had to remove node_modules and package-lock.json, then reinstall everything.) After that, the error was gone.

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

79587452

Date: 2025-04-22 21:21:33
Score: 3
Natty:
Report link

enter image description hereTry Clear Cookies in FortiClient VPN.

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

79587448

Date: 2025-04-22 21:19:32
Score: 2.5
Natty:
Report link

My solution was that the machine where the project was uploaded had no internet connection, so it never reached the external service. check the internet.

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

79587447

Date: 2025-04-22 21:18:32
Score: 2
Natty:
Report link

I have used @loïc-dumas 's answer, but for there to be an empty space after you are at the last element i used

LazyRow(
    contentPadding = PaddingValues(
        end = LocalConfiguration.current.screenWidthDp.dp
    )
) {}

instead of adding empty element. Will work also with TvLazyRow.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @loïc-dumas
  • Low reputation (1):
Posted by: yubedev

79587437

Date: 2025-04-22 21:09:29
Score: 1.5
Natty:
Report link

Use a proper project file. Add:

for Languages use ("Ada", "C");

gprbuild knows how to compile C files. That is all.

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

79587431

Date: 2025-04-22 21:05:28
Score: 1
Natty:
Report link

I noticed this interesting behavior while experimenting with Chrome in headless mode on my Linux distribution. When trying to launch Chrome headlessly, I discovered some unexpected insights:

  1. First, I couldn't find Chrome under its typical package name in my distribution. Eventually, I discovered it was running as "x-www-browser", which seemed unusual.

  2. When executing x-www-browser --headless, I received a TensorFlow Lite notice along with several warning messages about Vulkan and WebGL attempting to load in the browser (which failed since I was running Chrome in a virtual machine).

What really puzzles me is why a web browser seemingly needs machine learning libraries like TensorFlow Lite and graphics technologies like WebGL and Vulkan just to run properly in headless mode. These are sophisticated technologies typically associated with AI processing and 3D graphics rendering - not what you'd expect as core dependencies for basic browser functionality, especially in a headless environment without UI.

I'm curious: Is this TensorFlow Lite integration standard in mainstream Chrome browsers? What exactly is Chrome trying to accomplish with these libraries when running headlessly? Are these components actually necessary for Chrome's core functionality, or are they attempting to load for some other purpose?

Also, if anyone could explain why Chrome might be aliased as "x-www-browser" in some Linux distributions, that would be helpful for my understanding.

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

79587430

Date: 2025-04-22 21:04:28
Score: 2
Natty:
Report link

It's going to be really complicated to do what you want with the way you'd like because of how HTML is processed.

You cannot have a leaf of your markup continued on another branch. What I mean by that is that any opened tag in an element is required to be closed in this element like so:

<li>
  <mark> my text to be highlighted </mark>
</li>

It is still not impossible to do but you will need to use at least some CSS and HTML tags and depending on your use-case, some JavaScript.

Here is the answer to another question which should help you solve your question: https://stackoverflow.com/a/75464658/13025136

Reasons:
  • Blacklisted phrase (1): another question
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Centaurus

79587428

Date: 2025-04-22 21:01:27
Score: 1.5
Natty:
Report link

So, it seems this is a bug or issue with the Android TV Banner generation tool in Android Studio/Intellij IDEA.

Assets should be generate for mipmap-hdpi, mipmap-mdpi, mipmap-xhdpi, mipmap-xxhdpi, and mipmap-xxxhdpi, but it only generates for foreground and xhdpi. This will cause your app denied from the Google Play Store.

I used https://github.com/jellyfin/jellyfin-androidtv for an example of how this should be configured and then had to find some different image generation tools to do this manually. What a pain.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Zane Schepke

79587425

Date: 2025-04-22 20:59:26
Score: 2
Natty:
Report link

db.[collection].find({ _id: {$gte: ObjectId(Math.floor(Date.now() / 1000) - 14 * 24 * 60 * 60)}})

postgresql

ALTER SYSTEM SET track_commit_timestamp = on;

select * from [table]

WHERE pg_xact_commit_timestamp(xmin) >= NOW() - INTERVAL '2 weeks';

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

79587399

Date: 2025-04-22 20:35:20
Score: 2
Natty:
Report link

I have same issue. tried all the steps in the error code, but nothing helps. i can confirm that using names, from preious (successfull) runs lead to correct images (so assumption cache most likely true) but after changing the names, same rendering error occurs. Here is my error text (only the last few lines): ValueError: Failed to reach https://mermaid.ink/ API while trying to render your graph after 1 retries. To resolve this issue:

  1. Check your internet connection and try again
  2. Try with higher retry settings: draw_mermaid_png(..., max_retries=5, retry_delay=2.0)
  3. Use the Pyppeteer rendering method which will render your graph locally in a browser: draw_mermaid_png(..., draw_method=MermaidDrawMethod.PYPPETEER)

I am running the command "jupyter notebook" and using the jupyter notebooks from the langchain academy (the langgraph course), so it should work.

I also searched internet, but it seems that this error is pretty new.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I have same issue
  • Low reputation (0.5):
Posted by: NeuroNaut

79587393

Date: 2025-04-22 20:29:18
Score: 1.5
Natty:
Report link

Use the FORMAT function with %'.2f for thousands separators (works with NUMERIC types):

SELECT FORMAT("%'.2f", 1000000.00) 
-- output 1,000,000.00
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrés Cervantes

79587391

Date: 2025-04-22 20:28:18
Score: 1.5
Natty:
Report link

Response time is time taken to serve the request. Duration is time difference between earliest segment start time and last segment close time.

So, the duration may be higher than response time in a good case too. For eg; if you receive the request and you process it after you send handoff to the request.

In a bad case, you are not closing the segment and it is getting closed when the lambda is turned off.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sathwik Reddy Madhula

79587388

Date: 2025-04-22 20:26:17
Score: 1.5
Natty:
Report link

The approach by Charlieface is an interesting one. However, it does not address the fact that the number of time intervals (3 in that case) are hardcoded.

Using a stored procedure with a parameter, such as @nTimeInterval = 3 (and a default value of 1) could work.. This code could be modified as such:

select
  tabnm,
  rundt,
  rec_cnt 
from audit_tbl
where rundt IN (
    EXEC Procedure @nTimeInterval = 3; 
)
  and tabname = 'emp'
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @nTimeInterval
  • Low reputation (1):
Posted by: user27821072

79587377

Date: 2025-04-22 20:17:14
Score: 5.5
Natty:
Report link

I still don't know how to solve this directly from the Dockerfile.

However, I tried using a docker-compose and it worked quite well. I still get the warning from the filter(), but the login/ endpoint does not freeze (in fact it returns all valid tokens).

Reasons:
  • Blacklisted phrase (1): how to solve
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (2): don't know how to solve
  • RegEx Blacklisted phrase (2): know how to solve
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Javier Martín Pizarro

79587374

Date: 2025-04-22 20:14:13
Score: 2.5
Natty:
Report link

under application registration does the delegated permissions are admin consented? Make sure to have at least the delegated permission AppRoleAssignment.ReadWrite.All (requires admin consent)

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: shiva

79587365

Date: 2025-04-22 20:06:11
Score: 2.5
Natty:
Report link

It looks to be added with xUnit v3:

https://xunit.net/docs/getting-started/v3/whats-new

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

79587360

Date: 2025-04-22 20:00:09
Score: 4
Natty: 5.5
Report link

Amazing, it totally worked! Tks!

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eduardo Hernandez Villa

79587349

Date: 2025-04-22 19:55:08
Score: 1.5
Natty:
Report link

To regain access to an Amazon EKS cluster created with the AWS root account when locked out from a regular IAM user, it is important to utilize EKS access entries to grant permissions without needing initial Kubernetes API access. Since the root account, which possesses system:masters permissions, cannot be accessed via the AWS CLI and no other IAM entities are mapped in the aws-auth ConfigMap, you can create an access entry for your IAM user using the AWS CLI. By executing the command aws eks create-access-entry with the IAM user’s ARN and assigning it to the system:masters group, you enable the user to authenticate with the cluster. After updating the kubeconfig with aws eks update-kubeconfig, the IAM user will be able to use kubectl to manage the cluster, including updating the aws-auth ConfigMap to add additional users or roles, which will help ensure future access and prevent any potential lockouts.

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

79587343

Date: 2025-04-22 19:53:07
Score: 3
Natty:
Report link

For posterity; my speculative diagnosis that Camel or Spring are failing to garbage collect on the Autowired ConsumerTemplate seems incorrect. I was able to reproduce the bug in a test environment (or seemingly so), and applying my "fix" by invoking .close() didn't fix the performance.

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

79587342

Date: 2025-04-22 19:53:07
Score: 0.5
Natty:
Report link

# Fix encoding issue by replacing problematic characters (like long dash) with simple hyphen

intro = intro.replace("–", "-")

week1 = week1.replace("–", "-")

tips = tips.replace("–", "-")

# Recreate PDF with fixed text

pdf = FPDF()

pdf.add_page()

pdf.set_auto_page_break(auto=True, margin=15)

pdf.set_font("Arial", 'B', 16)

pdf.cell(0, 10, "Barnaamijka Tababarka Khaaska ah ee Biyo-baxa Degdega ah", ln=True, align='C')

pdf.ln(10)

pdf.set_font("Arial", '', 12)

pdf.multi_cell(0, 10, intro)

pdf.ln(5)

pdf.set_font("Arial", 'B', 14)

pdf.cell(0, 10, "Jadwalka Tababarka - Todobaadka 1aad", ln=True)

pdf.set_font("Arial", '', 12)

pdf.multi_cell(0, 10, week1)

pdf.ln(5)

pdf.set_font("Arial", 'B', 14)

pdf.cell(0, 10, "Tilmaamaha Kegels", ln=True)

pdf.set_font("Arial", '', 12)

pdf.multi_cell(0, 10, kegels)

pdf.ln(5)

pdf.set_font("Arial", 'B', 14)

pdf.cell(0, 10, "Talooyin Guud", ln=True)

pdf.set_font("Arial", '', 12)

pdf.multi_cell(0, 10, tips)

# Save the fixed PDF

pdf_path = "/mnt/data/Tababar_Biyo_Baxa_Degdega.pdf"

pdf.output(pdf_path)

pdf_path

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

79587341

Date: 2025-04-22 19:52:06
Score: 1.5
Natty:
Report link

It looks like Looker does not currently have the functionality to format the "Totals" row. However, some users had the same needs and already submitted their feedback. You could follow this link to add your thumbs up and comments and join to all those customers that are looking to add the same Looker functionality that you are asking for.

See also:

Reasons:
  • Blacklisted phrase (1): this link
  • No code block (0.5):
Posted by: Rogelio Monter

79587337

Date: 2025-04-22 19:50:06
Score: 0.5
Natty:
Report link

Restarting the Copilot did not work for me. Only disabling it.

Version 1.303.0
Last Updated 2025-04-22, 21:45:09

I tried to update the extension but the pre-release version is not supported via the stable version of VSCode.

I tried a few older versions like

Version 1.297.0
Last Updated 2025-04-22, 21:34:04

But if I found a fix, it was only temporary.

If anyone can provide a working version number, that would be perfect. :)

Reasons:
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): I found a fix
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: pilniczek

79587322

Date: 2025-04-22 19:39:03
Score: 1
Natty:
Report link

Use in service provider

Paginator::queryStringResolver(function () {
    $query = $this->app['request']->query();
    array_walk_recursive($query, function (&$value) {
        if ($value === null) {
            $value = '';
        }
    });
    return $query;
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Алексей Лялюшко

79587316

Date: 2025-04-22 19:37:02
Score: 2.5
Natty:
Report link

Use sbatch --test-only <your batch script>

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

79587310

Date: 2025-04-22 19:34:00
Score: 1
Natty:
Report link

If by chance you have the commented bit after the phone number, remove it otherwise its all considered by the API to be the number i.e. the entire string.

# Your WhatsApp number with country code (e.g., +31612345678)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Joe-Ol

79587305

Date: 2025-04-22 19:28:59
Score: 0.5
Natty:
Report link

It is not a direct solution to this problem, but for those who received a similar error, after the Angular 14 upgrade, we had this error due to the use of @angular/material/legacy-dialog and @angular/material/dialog together. After ensuring that only one of them was used, it worked properly.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Enes Bahadır YILDIRIM

79587295

Date: 2025-04-22 19:23:58
Score: 3.5
Natty:
Report link

That does not work, I have tried several other ones and found the same thing.

555-55555555 or 5555555-5555 both show as valid.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Filler text (0.5): 55555555
  • Low reputation (1):
Posted by: Beauford

79587291

Date: 2025-04-22 19:20:57
Score: 1.5
Natty:
Report link

The issue in your JS-PHP application stems from PHP’s session locking, which delays concurrent requests due to session_start(). To resolve this, add session_start() at the beginning of your script and use session_write_close() after updating $_SESSION['globalVar'] in the triggerLoop. This will release the session lock, allowing listen requests to access the updated session data promptly. Reopen the session with session_start() before the next iteration to ensure ongoing updates. This method allows listen requests to read session variables in real-time, preserving your application's functionality.

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

79587290

Date: 2025-04-22 19:20:57
Score: 1
Natty:
Report link
BLACK = '\\033\[30m'    RED = '\\033\[31m'    GREEN = '\\033\[32m'    YELLOW = '\\033\[33m'    BLUE = '\\033\[34m'    MAGENTA = '\\033\[35m'    CYAN = '\\033\[36m'    WHITE = '\\033\[37m'    BRIGHT_BLACK = '\\033\[90m'    BRIGHT_RED = '\\033\[91m'    BRIGHT_GREEN = '\\033\[92m'    BRIGHT_YELLOW = '\\033\[93m'    BRIGHT_BLUE = '\\033\[94m'    BRIGHT_MAGENTA = '\\033\[95m'    BRIGHT_CYAN = '\\033\[96m'    BRIGHT_WHITE = '\\033\[97m'
Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Blood Good

79587287

Date: 2025-04-22 19:18:56
Score: 0.5
Natty:
Report link

The best thing is always to test things - and this one is pretty simple with the VS Code extensions.

I created a bucket, uploaded a file, translated it and then displayed the model in two instances of VS Code:

same model displayed in two instances of VS Code

Once I deleted the bucket the derivatives (e.g. SVF2) were still available for the file that was originally in it (just like it is pointed out here):

SVF is available for deleted model

But the file itself is not accessible anymore:

delete file is not available

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Adam Nagy

79587265

Date: 2025-04-22 19:04:52
Score: 0.5
Natty:
Report link

Beside removing --reload and adding

if sys.platform.lower().startswith("win"):
    asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())

If you have something like --workers 4 you should remove it too and think of some other way for multi-worker 😬

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

79587257

Date: 2025-04-22 18:59:50
Score: 1.5
Natty:
Report link

In python-docx there's no direct access to images in the document structure. To extract text, tables, or images in the original order, you have to manually parse the XML tree (doc.element.body.iter()), checking for tags like w:p for paragraphs, w:tbl for tables, and w:drawing or w:pict for images.

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

79587255

Date: 2025-04-22 18:58:50
Score: 3.5
Natty:
Report link

I changed my location from east-2 to east-1 and everything started working.

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

79587254

Date: 2025-04-22 18:57:50
Score: 2
Natty:
Report link

The problem was solved by adding <ng-content /> to the template of a component that was using <ng-template>. This is currently an open issue in Angular - github.com/angular/angular/issues/50543

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

79587250

Date: 2025-04-22 18:54:49
Score: 1
Natty:
Report link

The problem appeared out of nowhere. And nowhere is where it went...

A few hours after I had found that "workaround" and wrote the original question, Service 1 started to work again with the original configuration for JwtBearerOptions.MetadataAddress

Oh well.

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

79587239

Date: 2025-04-22 18:46:46
Score: 4
Natty:
Report link

run this command sudo apt install 2to3

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

79587238

Date: 2025-04-22 18:46:46
Score: 2
Natty:
Report link

Thanks to @LuisMiguelMejíaSuárez response solution was found. I created but not run IO. Working code sample below:

def task: IO[Int] = {
  println("task 1")
  IO.pure(1)
}

def task2(i: Int): IO[Int] = {
  println(s"task 2: $i")
  IO.pure(i + 1)
}

def task3(i: Int): IO[Int] = {
  println(s"task 3: $i")
  IO.pure(i + 1)
}

def execute: Unit = {

  val mainIO = for {
    task1 <- task
    task2 <- task2(task1)
    _ <- task3(task2)
  } yield ()

  mainIO.handleError(ex => logger.error(ex.getMessage))
    .unsafeRunSync()
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @LuisMiguelMejíaSuárez
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alexander Chernetcov

79587235

Date: 2025-04-22 18:43:45
Score: 8.5
Natty: 7.5
Report link

Is there any update on this matter?

Reasons:
  • Blacklisted phrase (1): update on this
  • Blacklisted phrase (1): Is there any
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: Hakan Çevik

79587233

Date: 2025-04-22 18:41:43
Score: 7 🚩
Natty: 4.5
Report link

I am trying to establish the linked service connection for DB2 from ADF but getting error like target machine actively refused. I used db2 connector type , SELF hosted IR, server name, user name and password but test connection is failling while for other on prem I am able to establish the connection. Could you please help me if you find any such issue and how you fixed it and what kind of details your are adding

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (3): Could you please help me
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Amit

79587228

Date: 2025-04-22 18:37:42
Score: 0.5
Natty:
Report link
function roundSmart(value, decimals = 3) {
  return parseFloat(value.toFixed(decimals));
}

Use toFixed and you can give it a number of decimals you want to round to. It will cap at that many. If there are fewer then it wont matter.

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

79587226

Date: 2025-04-22 18:36:42
Score: 1
Natty:
Report link

Using a similar configuration (ESP32-WROOM-32, PlatformIO, SD.h, SPI.h), I had the same issue initialising a Micro SD SPI Storage Board when it was powered by 3.3V. However, the SD SPI board initialised correctly when using 5V.

This was despite the claim that the SD board operated at 3.3V and 5V.

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

79587220

Date: 2025-04-22 18:32:41
Score: 3.5
Natty:
Report link

So To use Environment.Exit() you would put the number to indicate what exit code you want 0 would mean your code was valid any other exit code means there was an error

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

79587196

Date: 2025-04-22 18:22:38
Score: 2.5
Natty:
Report link

I think the best option is to use the HDF5 format (via pandas.HDFStore). It lets you store large DataFrames and load only the columns or rows you need, without reading the whole file into memory. But if you need even more flexibility or scalability, then it’s probably time to switch to a proper database.

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

79587188

Date: 2025-04-22 18:19:37
Score: 3.5
Natty:
Report link

Thank you to all that responded. I did try doing all the filtering outside of polars but it turned out to be really un wieldy, which is why I was trying to do it in Polars. When I thought about it some more I realised that some of the filtering was not required. But in the end I came up with a solution, as follows:

self.configs_df = self.configs_df.filter(
       ((pl.col('Ticker') == ticker) | (pl.lit(ticker) == pl.lit('')))
       & ((pl.col('Iteration') == iteration) | (pl.lit(iteration) == pl.lit(-1)))
)

I think the original problem was that I was trying to do something like this:

(ticker != '' & ...

which is what other people suggested. I think the trick was to use

pl.lit(ticker) == pl.lit('')

instead. So, I managed to resolve my problem, and I hope this helps anyone else that may have a similar problem. Thanks all that contributed.

Regards, Stuart

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Regards
  • Whitelisted phrase (-1): hope this helps
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have a similar problem
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: StuartM

79587181

Date: 2025-04-22 18:15:36
Score: 0.5
Natty:
Report link

You could do something like this:

library(ggplot2)
library(prismatic)
library(stringr)

blues <- grep("blue$", colors(), value = TRUE)

df <- data.frame(
  name = blues,
  str_len = str_length(blues)
)

ggplot(df, aes(x = str_len, y = name, label = str_len, fill = name)) +
  geom_col() +
  geom_text(
    mapping = aes(
      color = after_scale(best_contrast(fill, c("black", "white")))
    ),
    hjust = 1,
    nudge_x = -.25
  ) +
  scale_fill_identity()

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Michiel Duvekot

79587179

Date: 2025-04-22 18:15:36
Score: 0.5
Natty:
Report link

Some optimizations on the suggestion by @Eastsun are:

from typing import Iterator

def permutations(items: str) -> Iterator[list[str]]:
    yield from _permutations_rec(list(items), 0)

def _permutations_rec(items: list[str], index: int) -> Iterator[list[str]]:
    if index == len(items):
        yield items
    else:
        for i in range(index, len(items)):
            items[index], items[i] = items[i], items[index]  # swap
            yield from _permutations_rec(items, index + 1)
            items[index], items[i] = items[i], items[index]  # backtrack

# print permutations
for x in permutations('abc'):
    print(''.join(x))
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Eastsun
  • Low reputation (0.5):
Posted by: bterwijn

79587168

Date: 2025-04-22 18:09:34
Score: 5
Natty: 4.5
Report link

I made this image a few years back if you're still looking for this: https://github.com/pschroeder89/selenium-node-with-audio-looping

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

79587157

Date: 2025-04-22 18:02:31
Score: 2
Natty:
Report link

I saw this in a different topic. Changing process.env.SECRET to ` ${process.env.SECRET} ` might work

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kerem Can Baş

79587154

Date: 2025-04-22 18:01:31
Score: 2
Natty:
Report link

There was a nuts-finder library but seems abandoned

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

79587141

Date: 2025-04-22 17:50:27
Score: 1.5
Natty:
Report link

I use html-like labels with a picture. For example, a picture of size 24x24 is placed on the edge with the following label:

label=<<TABLE BORDER="0" CELLBORDER="0" CELLSPACING="0" FIXEDSIZE="True" WIDTH="12" HEIGHT="12"><TR><TD><IMG SRC="img.png" /></TD></TR></TABLE>>

When generating, warnings are displayed about insufficient space for the label, but everything is drawn correctly. Additionally, you can add a text label via 'xlabel'.

crop from my real project

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

79587140

Date: 2025-04-22 17:50:27
Score: 1
Natty:
Report link

The PayPal button doesn’t render in Playwright’s headless mode because PayPal’s bot detection identifies the headless browser as a potential threat, blocking the widget. This happens due to differences like the “HeadlessChrome” user agent or other automation signals, unlike headed mode where it works fine.

Workarounds:

Start with playwright-stealth, then try the user agent or new headless mode. Use Xvfb as a fallback for CI. Verify with screenshots, as PayPal’s detection may still interfere.

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

79587124

Date: 2025-04-22 17:35:24
Score: 0.5
Natty:
Report link

This is because java.lang.Compiler has been removed from JDK 21 and onwards.

I was previously marked as Deprecated: https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Compiler.html

You may try compiling your project using JDK 17 or previous version to prevent getting this exception.

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

79587123

Date: 2025-04-22 17:34:23
Score: 1
Natty:
Report link

from moviepy.editor import VideoFileClip, ColorClip, CompositeVideoClip

# Load the original video

clip = VideoFileClip("/mnt/data/istockphoto-1395741858-640_adpp_is.mp4")

# Get video dimensions

w, h = clip.size

# Define a black rectangle to cover the watermark (e.g., bottom right corner)

# Approximate watermark size and position

wm_width, wm_height = 120, 30 # size of watermark area

wm_x, wm_y = w - wm_width - 10, h - wm_height - 10 # position from bottom right with padding

# Create a black rectangle to overlay

cover = ColorClip(size=(wm_width, wm_height), color=(0, 0, 0), duration=clip.duration)

cover = cover.set_position((wm_x, wm_y))

# Combine the video with the overlay

final = CompositeVideoClip([clip, cover])

# Export the result

output_path = "/mnt/data/watermark_covered.mp4"

final.write_videofile(output_path, codec="libx264", audio_codec="aac")

output_path

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

79587115

Date: 2025-04-22 17:28:21
Score: 2
Natty:
Report link

NetSuite and Shopify Integration is a game-changer for eCommerce businesses. It helps automate order management, inventory syncing, customer data updates, and financial reporting between both platforms—saving time and reducing manual errors. Whether you're scaling your store or streamlining operations, integrating NetSuite with Shopify keeps everything connected and running smoothly.

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

79587108

Date: 2025-04-22 17:24:20
Score: 1.5
Natty:
Report link

It looks like <cxf:cxfEndpoint> and the .xsd file that provides it is no longer provided by the appropriate dependency, camel-cxf-soap. However, it does provide the equivalent Java class, so the best solution I am taking is to rewrite the XML configurations in Java DSL.

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

79587107

Date: 2025-04-22 17:24:20
Score: 0.5
Natty:
Report link

Ah, yes. Setting the arrowDxOffset to an appropriate value will resolve the issue:

showPopover(
  context: context,
  width: 120.0,
  height: 50.0,
  arrowHeight: 15.0,
  arrowWidth: 30.0,
  arrowDxOffset: -110.0, // Add this line.
  direction: PopoverDirection.top,
  bodyBuilder: (_) {
    return Center(child: const Text('Popover'));
  },
);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: goofy4224

79587106

Date: 2025-04-22 17:23:20
Score: 2.5
Natty:
Report link

I solved this with git worktree, thanks Botje!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-2): I solved
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mau

79587104

Date: 2025-04-22 17:22:20
Score: 1
Natty:
Report link
  1. No, your Android native application will not be affected. The changes described in the email apply only to Web apps, Android has a separate SDK for user sign-in. No changes necessary.

  2. A cached version of your sign-in library that itself depends upon and uses the older, deprecated JS library, or an installed build still in use by older devices which have not updated recently perhaps? Internal test tools that have not been updated, developers testing on their own machines, or sign-in using WebView may also be areas to consider. If possible, instrumenting the places which load api.js/client.js to count the frequency of use may give you hints on whether this is a few internal folks testing or working with older packages, or more seriously a widely deployed production app.

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

79587076

Date: 2025-04-22 17:07:16
Score: 2.5
Natty:
Report link

It's working
Right click on your project and Go to Build path > Configure build path > Java build path > add library. and add Junit 5 library. It will resolve the issue

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

79587075

Date: 2025-04-22 17:06:15
Score: 1
Natty:
Report link

You may also use value argument in tbl_summary like below. First convert the NA in outcome to an explicit level "unknown". Then modify your table to show the counts of "Yes" in your outcome variable.

df |> 
  mutate(outcome = if_else(is.na(outcome), "unknown", outcome)) |> 
  tbl_summary(
    by = group,
    percent = "column",
    value = list(outcome ~ "Yes")
  )

enter image description here

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

79587070

Date: 2025-04-22 17:02:14
Score: 1.5
Natty:
Report link

Create a dictionary with key int and value of string and store it via some ScriptableObject that is accessible to your scripts. Key should be biome ID and value should be BiomeText.

See: https://learn.microsoft.com/en-us/dotnet/api/system.collections.generic.dictionary-2?view=net-9.0

Then access the dictionary instead.


int currBiome = i
...
skyPreviousBiomeType.Text = biomes[currBiome-1];
skyBiomeType.text = biomes[currBiome];
skyNextBiomeType.text = biomes[skyBiomeType+1];

Obviously, this is not a bulletproof solution.
You would preferably need to check if the key is in the dictionary and if not, apply some other custom logic of your choice to select the Biome.
Example problem could occur when your currBiome is 1; what would be the previous Biome then? Do you stay at 1 or does it underflow into 8?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Karol Haliński

79587069

Date: 2025-04-22 17:01:14
Score: 1.5
Natty:
Report link

Do you have the readme file included in the project.wms file?

 <Fragment>
   <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
      <Component Id="README.txt">
        <File Source="README.txt" Id="README.txt" />
      </Component>
   </ComponentGroup>
 <Fragment>

I also used WixShellExecTarget to open the file, that means the user will have it open in whatever text editor they have as default.

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you have the
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: GrandMasterFlush

79587061

Date: 2025-04-22 16:55:12
Score: 3
Natty:
Report link

Add a system property on your 'java' line (-Dmy.host=<hostname or IP>) that starts the application and use the ${my.host} syntax in the annotation. I don't think you can modify the annotation in the constructor or any method. MIGHT be able to do some magic with reflection in an @PreConstruct method (if one exists).

Reasons:
  • No code block (0.5):
  • User mentioned (1): @PreConstruct
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dino Druding - NOAA Affiliate

79587055

Date: 2025-04-22 16:53:11
Score: 3
Natty:
Report link

The widget can be embedded in Elementor, but it fails if the JavaScript is loaded before Elementor finishes rendering the HTML widget.

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

79587054

Date: 2025-04-22 16:52:11
Score: 0.5
Natty:
Report link

You could also set the document title in /wasmJsMain/resources/index.html using the <title> tag.

I know this response doesn't answer your question specifically, but this method will probably improve indexing & SEO. So give it a consideration.

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

79587051

Date: 2025-04-22 16:50:10
Score: 3.5
Natty:
Report link

you shall look on WebGL fragment shaders - that CAN do fast calculations of YUV

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

79587047

Date: 2025-04-22 16:48:10
Score: 1.5
Natty:
Report link

I recommend just updating numpy and sklearn.

pip install --upgrade numpy scikit-learn

Most likely, sklearn is currently compiled with numpy, which is different from the one used.

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

79587036

Date: 2025-04-22 16:43:08
Score: 3
Natty:
Report link

Use elastic search, strip down the comntent of these html files in opeasearch db and run queries on them as per user input

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

79587034

Date: 2025-04-22 16:42:08
Score: 2
Natty:
Report link

Abubaqar Nagori Gave a right answer but let me simplify it as some people (even me) dont understand it at first glance

Here, in the attachment,

Source Folder = D:\Path

Destination = C:\SLFNXT

but due to shreelipi limitation, the destination should be in folder other than C Drive & also same drive as the Source.

So, it will be

Source = D:\Path

Destination = D:\SLFNXT

thanks.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sankalp Devkar

79587024

Date: 2025-04-22 16:37:07
Score: 2
Natty:
Report link

Solution Found: home page route needed to be changed to:

res.sendFile('splitHomepage.html', {'root': './splitSiteFiles'});

start at the root 'folder the server file is located', which is represented as the '.' in the next parameter block. from there, specify the paths in form: /innerfoldername/innerfolder name, and etcetera as required.

Seems simple but still want to keep this up for students and people new to nodeJS like I am.

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

79587019

Date: 2025-04-22 16:33:06
Score: 1
Natty:
Report link
  1. install the aforementioned nuget package

  2. Create the builder:

    type Program = class end
    
    [<EntryPoint>]
    let main _ =
        let config =
            ConfigurationBuilder()
                .AddUserSecrets<Program>() 
                .Build()
    
        // config["secrets:your-secret"] 
        0
    

Why do you need a Program class? Shoud we not write idiomatic F#?

F# CLI apps typically just use modules and keep it clean and functional. But AddUserSecrets() expects a class or a type.

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

79587005

Date: 2025-04-22 16:24:03
Score: 0.5
Natty:
Report link

According to the documentation:

You cannot use nested variables with if.

So because $COMPARE_BRANCH is supposed to resolve to $CI_COMMIT_BRANCH that's where my problem is. There's an open issue to address this.

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

79587000

Date: 2025-04-22 16:22:03
Score: 1.5
Natty:
Report link
    compileOptions {
        isCoreLibraryDesugaringEnabled = true
        sourceCompatibility = JavaVersion.VERSION_11
        targetCompatibility = JavaVersion.VERSION_11
    }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Hammad Khan

79586997

Date: 2025-04-22 16:18:02
Score: 0.5
Natty:
Report link

If you're only expecting a single record back, can use an approach like the following. Will get you the available rate that equals the desired rate or the next highest.

SELECT TOP(1) *
FROM AvailableRatesTable
WHERE 1=1
    AND State = @State
    AND Rate >= [Desired Rate]

ORDER BY
    Rate
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: cod3-jr

79586994

Date: 2025-04-22 16:16:01
Score: 0.5
Natty:
Report link

I had the same problem persistent for a couple days and getting direct support from Meta developers was another tug of war.

However, I got past the problem by first setting up and configuring the web hook.

Afterwards, was able to add an instagram account and generate access token.

PS: Make sure you have a verified Meta business suite portfolio attached to your Developer App as well.

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

79586990

Date: 2025-04-22 16:14:00
Score: 0.5
Natty:
Report link

to get id value of select2:

$("#PosBankAccount").val();

to get text value of select2:

$("#PosBankAccount").find(':selected').text();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Zolfaghari

79586984

Date: 2025-04-22 16:11:59
Score: 2.5
Natty:
Report link

I managed to stop this bug from happening by explicitly specifying the Tracking Origin Mode in the XR Origin component. We had it as "Not Specified" all this time. At runtime it would spam with the tracking origin mode always being "Floor" so unfortunately KBaker's fix does not work in our case (thank you anyway for your help). Explicitly specifying "Floor" fixed this issue.

enter image description here

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

79586979

Date: 2025-04-22 16:09:57
Score: 0.5
Natty:
Report link

If you want the "fillstyle pattern" to be transparent, just use 'fillstyle transparent pattern N'. Therefore, you should rewrite the “#Q5C_a” part of your script as follows.

#Q5C_a: pattern overlay (full radius, transparent with black lines)

set object 7 circle at 0,0 size 1 arc [angle_c:angle_f] fillstyle transparent pattern 6

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: binzo

79586976

Date: 2025-04-22 16:08:57
Score: 0.5
Natty:
Report link

If you look at the document you shared, it looks like that functionality is in a 'Public preview'. This means that you need to request access under 'Interested in getting early access to invoice payment plans?'. If you have already done that/ gained access, and if you're still seeing this error, you should write in to their support with the request id that failed, https://support.stripe.com/questions/finding-the-id-for-an-api-request. If not, that seems to be the issue as the error is says that you have passed an unknown parameter, amounts_due.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
Posted by: pgs

79586966

Date: 2025-04-22 16:07:56
Score: 1
Natty:
Report link

While I am not sure about how you would go about handling this issue with Vercel, given that the orchestrator takes care of the limits on data connections, I would recommend keeping the max_connections to as low as 5 and also use Amazon's Aurora DB or something similar to Supabase. There's more literature by Vercel available at https://vercel.com/guides/connection-pooling-with-serverless-functions. Their recent 'fluid compute' feature has a longer serving instance that might reduce your connections whereas something like Supabase that creates a layer of managed APIs to interact with instead of using a driver or plugin is useful in such instances.

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

79586961

Date: 2025-04-22 16:06:56
Score: 3
Natty:
Report link

In version 1.2.0-beta02 SwipeToDismissState, rememberSwipeToDismiss and SwipeToDismissValue has been renamed (https://developer.android.com/jetpack/androidx/releases/compose-material3). Now you need to use rememberSwipeToDismissBoxState.

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

79586917

Date: 2025-04-22 15:57:53
Score: 1.5
Natty:
Report link

The add-in will work on an email in your inbex you don't have an email.

  1. Add-in "Show Taskpane" will display when you select an email.

  2. Add-in "Show Taskpane" will display when you open a new email.

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

79586906

Date: 2025-04-22 15:56:52
Score: 4.5
Natty:
Report link

Don't open the endpoint directly in the browser; use Apollo Sandbox instead: https://flyby-locations-sub.herokuapp.com/

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

79586894

Date: 2025-04-22 15:54:51
Score: 0.5
Natty:
Report link

When you embed PowerShell commands in Batch Files, you should take great care in properly escaping the double quotes. By enclosing the whole PowerShell command in double quotes, you have to convert the double quotes character " to \"

Here's the correctedExample.bat script:

@echo off

set cwd=%~dp0
set argv=_%*
set argv=%argv:"=\"%
set argv=%argv:~1%
powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%cwd%Example.ps1' %argv%"
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: Fabrice SANGA

79586883

Date: 2025-04-22 15:51:50
Score: 3
Natty:
Report link

For anyone managing IIS and looking for command-line options to restart it, this guide offers clear, step-by-step instructions:

🔗 How to Restart IIS using Command Line

Covers basic iisreset usage along with tips on stopping and starting IIS services individually. Handy for sysadmins and ASP.NET developers alike.

Reasons:
  • Blacklisted phrase (1): this guide
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: pratik

79586859

Date: 2025-04-22 15:43:48
Score: 4.5
Natty: 5
Report link

just rebuild in expo-go and download new version app, check my solution error unimplemented component RNSVGSvgview with react native + svg

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

79586857

Date: 2025-04-22 15:43:48
Score: 0.5
Natty:
Report link

I know that this is a very old question, but I was searching for some bash syntax and this came up. The problem is awkard, but calls for an elegant solution.

The fact that the starting and ending ranges are different from the rest poses a particular problem. I wanted to create a for loop that is systematic, flexible in terms of what the step and stop points, while using a repetitive pattern for the looping. It looks complicated, but really has three parts: the for loop, the stopping if statement, and the echo line.

The for loop initiates all the variables, the breaking evaluation uses variable stop and step values, and the incrementing statement encapsulates the logic of the stepping.

I think this is the most elegant of the solutions presented here and it gives precisely the desired output.

for ((i=1,s=1,step=19,e=step,stop=773; e<stop+step; i++, s=e+1, e=s+step)); do if (($e > $stop)); then e=$stop; fi; echo $i. \$start = $s and \$end = $e; done
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nate

79586851

Date: 2025-04-22 15:40:47
Score: 0.5
Natty:
Report link

Just leaving this here in case it helps anyone.

I did try all or most of the answers and none worked.

I kept thinking what has changed since the last time I ran the app successfully.

Then it hit me! I updated my Mac. (but my iPhone wasn't, and had an update).

Once i updated my iPhone it worked fine. (Also, this might be specific to Xcode 16 or OS 15.4, which had some permissions update that wasn't there before.)

PS: I do not update my iPhone because I keep having connectivity issues with regards to Android Studio and wireless debugging. It's a blessing and a curse.

Reasons:
  • Blacklisted phrase (1): regards
  • Whitelisted phrase (-1): it worked
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Clevino Alrin

79586850

Date: 2025-04-22 15:40:47
Score: 0.5
Natty:
Report link

Thanks to Kenly´s feedback i could solve it.

This ensures your JS only runs on your intended view and doesn't affect global performance or other modules.

📁 Recommended module structure:

your_module/
├── static/
│   └── src/
│       └── js/
│           ├── custom_renderer.js
│           └── custom_view.js
├── views/
│   └── custom_form_view.xml
├── __manifest__.py

🧠 1. custom_renderer.js

odoo.define('your_module.CustomRenderer', function(require) {
    'use strict';

    const FormRenderer = require('web.FormRenderer');

    const CustomRenderer = FormRenderer.extend({
        _renderView: function() {
            this._super.apply(this, arguments);
            try {
                console.log('🔧 CustomRenderer active only on this view');

                // Your custom logic here
                const input = this.el.querySelector('input[name="your_field_name"]');
                if (input) {
                    input.focus();
                }

            } catch (err) {
                console.warn('⚠️ Error in CustomRenderer:', err);
            }
        }
    });

    return CustomRenderer;
});

🧩 2. custom_view.js

odoo.define('your_module.CustomFormView', function(require) {
    'use strict';

    const FormView = require('web.FormView');
    const viewRegistry = require('web.view_registry');
    const CustomRenderer = require('your_module.CustomRenderer');

    const CustomFormView = FormView.extend({
        config: _.extend({}, FormView.prototype.config, {
            Renderer: CustomRenderer,
        }),
    });

    viewRegistry.add('custom_form_view', CustomFormView);

    return CustomFormView;
});

🧾 3. manifest.py

'assets': {
    'web.assets_backend': [
        'your_module/static/src/js/custom_renderer.js',
        'your_module/static/src/js/custom_view.js',
    ],
},

🧱 4. In your view XML (custom_form_view.xml):

<odoo>
  <record id="your_model_form_view" model="ir.ui.view">
    <field name="name">your.model.form</field>
    <field name="model">your.model</field>
    <field name="arch" type="xml">
      <form string="My Special View" js_class="custom_form_view">
        <sheet>
          <group>
            <field name="your_field_name"/>
          </group>
        </sheet>
      </form>
    </field>
  </record>
</odoo>

🔁 Important: js_class="custom_form_view" must match the name used in viewRegistry.add().

✅ Benefits: Modular and clean code.

No interference with other views like Settings or Purchases.

Scalable pattern for adding custom JS to specific form views.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Roberto López

79586845

Date: 2025-04-22 15:34:46
Score: 3.5
Natty:
Report link

for conversion with no CPU processing on Canvas you shell look on WebGL fragment shaders.

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

79586827

Date: 2025-04-22 15:27:44
Score: 4
Natty:
Report link

Started work OK on new computer. Thanks all for help.

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

79586822

Date: 2025-04-22 15:25:43
Score: 3
Natty:
Report link

OK, I asked the wrong question - the linked articles are a starting point for solutions to the areo docking problem

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

79586819

Date: 2025-04-22 15:24:43
Score: 1
Natty:
Report link

I'm the publisher of Vira Theme. Please check the recent version you can find on the VS Code Marketplace which should include the fix. You can also learn how to customize the extension here.

Additional links:

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