79587616

Date: 2025-04-22 23:56:13
Score: 0.5
Natty:
Report link

Solution

I didn't consider that we could simply pass the pointers around to construct what I wanted without needing to consume the iterator multiple times.

Create three vectors to store the references.

let mut As = Vec::new();
let mut Bs = Vec::new();
let mut Cs = Vec::new();
states.iter_mut().for_each(|(state)| match state {
   State::A(a) => As.push(a),
   State::B(b) => Bs.push(b),
   State::C(c) => Cs.push(c),
})
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: rhalameddine

79587614

Date: 2025-04-22 23:55:13
Score: 1
Natty:
Report link

I believe networking (mainly client/server limits) is an important factor in this problem. Looks like something wrong with numbers. There shouldn't be that much difference (24 mins to 1 mins) between single/multi thread downloading files, unless there is specific limits on per socket/thread. Most likely you are getting lots of errors and unfinished downloads in second example? In that case, comparison and numbers will be meaningless.

In networking there are boundaries both for client and server like bandwidth, process time per request etc. Lets imagine a simple scenario; there are no limits on server side, you are limited only by your bandwidth, lets say you are limited by 10mb per second and a single file is 1mb; in this case, it wont matter how many threads you are using as bandwidth will be shared among threads. 1 thread will download 10 files in a second or 10 threads will download 10 files in a second, no difference. Multi threading will help if a request/download are limited per request basis. For instance if it takes 1sec to send/get a single response no matter what then you will better off sending 10 request simultaneously than 1.

As for "task.whenall" vs "parallel.foreachasync", I think its been already answered discussed well. I also made a few benchmark tests compared both for api requests and downloading files, both performs similar.

Side note; i recommend cpu bound tasks first for experimenting "Threading and Task Parallel Library" etc. stuff. It would be easier without extra factors.

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

79587594

Date: 2025-04-22 23:23:05
Score: 4
Natty:
Report link

conda install jupyter notebook

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: David Wei

79587593

Date: 2025-04-22 23:22:05
Score: 1.5
Natty:
Report link

I can't respond via comments as I don't have the required points.

You're making this far too complicated.

Create an email address for your own domain specific to this issue. That way you know it will never bounce. It'll also never be read so make the overnight routines clear it out.

How to tell it not to send

The Email send routine says

''' if Email = [email protected] then do not send email.

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

79587585

Date: 2025-04-22 23:09:02
Score: 4
Natty: 4.5
Report link

Check out this post. I should address your issue. https://markjames.dev/blog/dynamically-importing-images-astro

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

79587575

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

I hit the same issue with upgrade to PyCharm 2024.3.5 when using WSL2. I tried the solutions above and had no luck. Looking at the processes running in the VM, PyCharm has sudo'd itself as root, and so my fix was:

sudo git config --global --add safe.directory /path/to/my code

This makes sense because root does not own the files.

Reasons:
  • Blacklisted phrase (1): no luck
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dan

79587574

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

To check which columns have missing (null) values and how many in a Pandas DataFrame, you can use:

# Check for missing values

missing_values = df.isnull().sum()

# Filter to only show columns with missing values

missing_columns = missing_values[missing_values > 0]

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

79587569

Date: 2025-04-22 22:49:57
Score: 12 🚩
Natty: 5.5
Report link

did you ever manage to solve it? I am currently having the same issue so if you could share that would be much appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (3): did you ever manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Yafet Melake

79587563

Date: 2025-04-22 22:46:56
Score: 2.5
Natty:
Report link

If the requirement is "a reputable source", define reputable.

Your answer is to be found here

However, as to whether you would find Jens Neuse reputable.. well, that's up to you.

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

79587559

Date: 2025-04-22 22:44:55
Score: 0.5
Natty:
Report link

You can do something like

import pandas as pd
df = Excel("Data!A:AD", headers=True)
filtered_df = df[df['project'] == 'bench']
filtered_df
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: poisoned_monkey

79587555

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

Replace

day < 31or month == 11

with

day < 31 or month == 11

Python interprets 31or as a wrong number, that’s the root cause

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

79587549

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

I was having difficulty where none of the approaches seemed to work.

It didn't seem that jest was picking up my changes to jest.config.ts.

I ran npm test -- --clearCache then jest applied my changes to transformIgnorePatterns successfully!

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

79587547

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

It turns out that the version 24.1.0 is very buggy and should not be used. Many patches came afterwards. I tried my models with version 24.1.6 and they worked again as they should.

Notice that there is a warning in the official site:

WARNING:

The recent versions of LTspice for Windows (version 24.1.*) are a significant change from previous versions. Any major program revision such as that can be subject to all sorts of problems, and this is no exception. Analog Devices has worked hard to fix new bugs. Also, some of LTspice's behavior fundamentally changed, which may cause a few older simulations to work differently, or not at all.

https://groups.io/g/LTspice

I hope I saved some precious lifetime to someone out there. ♥

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

79587544

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

Replace:

builder.Services.AddControllers()

with

var assembly = typeof(WeatherForecastController).Assembly;
builder.Services.AddControllers()
       .PartManager.ApplicationParts.Add(new AssemblyPart(assembly));

See also: "How to use a controller in another assembly in ASP.NET Core MVC 2.0 ?"

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

79587543

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

I just wrestled with this for over an hour. Kept getting errors like the above, or "OCID is associated with Subnet that is in use"

For me it was stuck on the Network Load Balancer and vTAP — once I manually deleted these two items the VCN deletion worked fine.

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

79587534

Date: 2025-04-22 22:22:50
Score: 4.5
Natty:
Report link

Then bookmark tags won't send events?

<bookmark mark='some_mark'/>

I've tried setting this options:

speech_config.request_word_level_timestamps()      speech_config.set_property(speechsdk.PropertyId.SpeechServiceResponse_RequestSentenceBoundary, "true")
speech_config.set_property(speechsdk.PropertyId.SpeechServiceResponse_RequestWordBoundary, "true")

synthesizer = speechsdk.SpeechSynthesizer(speech_config=self.speech_config, audio_config=audio_config)
synthesizer.synthesis_word_boundary.connect(word_boundary_handler)
synthesizer.bookmark_reached.connect(word_boundary_handler)

result = synthesizer.speak_ssml_async(text).get()

But my word_boundary_handler is still not being called, the text is formatted correctly but only has bookmark tags not wordBoundary. Is that the issue? Can you provide some sample text with word boundaries and your config?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide some
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Emilio Manzano Marcos

79587525

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

l785f6718-c9f2-422d-868a-909bbda36301

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ibrahieem Almashreqi

79587523

Date: 2025-04-22 22:12:47
Score: 3.5
Natty:
Report link

Looking for the relevance of this question.

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

79587521

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

I don't have an answer, but I wold like to know if you could find a solution, I'm in a very similar situation.

Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jocabed Ríos

79587516

Date: 2025-04-22 22:05:46
Score: 0.5
Natty:
Report link

I recently ran into the exact same issue.

The problem in my setup was that I had a too optimistic TTL header when sending the the push payload to the service (i.e. TTL: 60). With an increased amount of TTL: 3600 I do get the service worker to receive the push message and show the notification - without unlocking the device, and having it locked for more than 5 minutes - after around 10-15 minutes of being sent.

Did you configure a TTL for the push payload?

I suppose it's not only the push service (i.e FCM / Mozilla Push) that can disregard the message after the TTL has expired (usually, these are faster than 10 minutes when the phone is actually reachable), but also the browser itself.

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

79587510

Date: 2025-04-22 21:59:43
Score: 8.5 🚩
Natty: 6.5
Report link

Note that I can't get the Internet Message Headers when the email is sent from the inbox I subscribed to. When an email arrives in my inbox from an external email address, I can see them there.

Has anyone been able to resolve this?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve this?
  • RegEx Blacklisted phrase (3): Has anyone been
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Juan Jose

79587504

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

Use “df.describe()” or “df.info(verbose=True)”

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

79587493

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

Python and pip are probably installed correctly but haven't been added to your PATH environment variable yet. That means when you type in "pip ..." into your terminal, it doesn't know what a pip is or where to find it. To fix that press the windows key and type in "Edit the system environment variables" and open it. Near the bottom click "Environment Variables...". Now in the "System variables" section, select "Path", then click "Edit...". Finally click "New" on the right and type in the path to your Python installation (Default should be "C:\Program Files\Python313\"). Also add the scripts path (Default: "C:\Program Files\Python313\Scripts"). Click "OK" on all of the windows. Restart your terminal if you had it open and pip should now be working.

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

79587492

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

I used

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

instead of dummy element.

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

79587491

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

I finally found the issues. Firstly, I had to add all the dependent packages in the requirements.txt in the docs directory. In my case I had the following

mpi4py
colossus
numpy
scipy
sphinx
sphinx_rtd_theme
numpydoc
sphinx-autoapi

Next, under the python section and install subsection, add

- method: pip
  path: .

If it weren't for mpi4py, everything would work fine. However, since mpi4py needs additional libraries installed, we need to add

apt_packages:
  - libopenmpi-dev

under the build section of .readthedocs.yaml file.

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

79587484

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

sometimes u have typescript error in your project first check your project and fix all type scripts then try agin if you are use eslint and you have ts.config use this command your terminal

npx tsc --traceResolution

this command show you all typescript worng . then try to fixed if you dont have any type issue , delete node_modules and package-lock.json then clear npm catch , npm install , then agin try

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

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