79626210

Date: 2025-05-17 05:18:27
Score: 1
Natty:
Report link

In the second schema, the comment field is a required string, where it was a nullable string in the past.

This is a forward compatible change (the old schema can be used to read data written with the newer schema), but not a backward compatible one: the new schema cannot read null values.

To fix, you need to either relax compatibility rules (but that usually causes other problems), or make the field nullable again.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Oscar Westra van Holthe - Kind

79626208

Date: 2025-05-17 05:16:26
Score: 1.5
Natty:
Report link

Ok - managed to work it out :-)

Each item on the screen has an attached stylesheet - so we can set the stylesheet of the item e.g.:

self.SongList.setStyleSheet("QListView::item:selected {background-color: #000088;}")

This sets the currently selected item to blue - see https://doc.qt.io/qt-6/stylesheet-examples.html

The trick is to use the "::item:" element...

In the preferences dialog in my app I can allow the user to select what colour they want:

color = QColorDialog.getColor()
# use color.name()   to get the #nnnnnn value

Many thanks for the suggestions, however, this allows me to give the user the ability to keep the theme, but then select what they want as a highlight colour.

I've got a few more tweaks and testing to do, but I'll put uploading the code to https://github.com/carlbeech/OpenSongViewer in a few days.

Thanks

Carl.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Carl Beech

79626207

Date: 2025-05-17 05:15:26
Score: 3
Natty:
Report link

You can extract text from a PDF file saved as BLOB data in an Oracle DB. Please have a look at:

https://stackoverflow.com/a/79626172/6045431

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Valentin Tabacaru

79626205

Date: 2025-05-17 05:14:26
Score: 1
Natty:
Report link

This issue is occurring due to forgetting some basic checks while installing project dependencies. In my case the main issue was that the TypeScript version did not match the latest version of Angular [19].

Updated following thisngs to run my project.

Update angular/cli from 16 to 19.

Update angular/devkit to 19.

Update Typescript 2 to 5.6.

Before run project check all the version install on your device. if any mistmatch version can caues this issue

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

79626194

Date: 2025-05-17 04:56:22
Score: 3
Natty:
Report link

hey you guys what's the way to do this in expo snack in mobile as you can't have the access to terminal what's the right version of babel runtime

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

79626189

Date: 2025-05-17 04:49:21
Score: 2
Natty:
Report link

So, would the reference system have to be specified exactly so that this minimal difference between the raster's extent and cut doesn't occur?

And the other question, I have this example code on a plot with the Terra package of any raster to which I add the extent:

`library(terra)

# Example raster
r <- rast(system.file("ex/elev.tif", package="terra"))

# Original extent
ext_original <- ext(r)

# Expanded extent (larger on all sides)
ext_expanded <- ext(
xmin(ext_original) - 1,
xmax(ext_original) + 1,
ymin(ext_original) - 1,
ymax(ext_original) + 1
)

# Expanded raster (with NA in the new areas)
r_expanded <- extend(r, ext_expanded)

# Plot 1: original raster
plot(r, main = "Original raster with normal extent")

# Plot 2: expanded raster (larger, with NA on the edges)
plot(r_expanded, main = "Raster with expanded extent")

`
This is the raster plot without the background map. Now to this map I want to add the "background map" from the previous code of the maptiles library but keeping the same format of the raster map with the extension, but it happens that it does not respect the format of the terra plot itself.

`library(terra)
library(maptiles)

# Example raster: global elevation
r <- rast(system.file("ex/elev.tif", package="terra"))

# Original extent and expanded extent
ext_original <- ext(r)
ext_expanded <- ext(
xmin(ext_original) - 1,
xmax(ext_original) + 1,
ymin(ext_original) - 1,
ymax(ext_original) + 1
)

# Download OSM tile with the expanded extent
osm_rast <- get_tiles(ext_expanded, provider = "OpenStreetMap", crop = TRUE, zoom = 8)

# Plot base map
plot(osm_rast, axes=FALSE, legend=FALSE)

# Plot raster on top
plot(r, add=TRUE)

` and this is the map with the "openstreetmap style background map" My question is how can I make the OpenStreetMap style map be added to the background without changing the format of the map plot without a background with the Terra library?, that is, the same map without a background with the extension, but with the background, I don't know if I'm making myself clear.Because as you can see the difference is huge and as you can see in image 2 the latitude limits seem to be "not respected"

Reasons:
  • Blacklisted phrase (0.5): how can I
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: LUCAS SEBASTIAN SALINAS MORALE

79626172

Date: 2025-05-17 04:17:09
Score: 6 🚩
Natty:
Report link

If there is still interest in this subject, here is a hands-on tutorial and sample code showing how to achieve it:

Hands-on reading .docx and .pdf file using PL/SQL

Please share your feedback. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): how to achieve
  • RegEx Blacklisted phrase (2.5): Please share your
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Valentin Tabacaru

79626168

Date: 2025-05-17 04:08:07
Score: 2
Natty:
Report link
vim.o.termguicolors = true

Adding this to init.lua file solved my problems.

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

79626151

Date: 2025-05-17 03:48:03
Score: 1
Natty:
Report link

The "sout" shortcut is an IDE feature, not a Java language feature. It's most commonly associated with IntelliJ IDEA, but similar shortcuts exist in other IDEs like Eclipse or NetBeans. This shortcut doesn't "appear" in a public class because it's not actual Java code - it's just a typing shortcut that your IDE expands into the full System.out.println() statement when you type it. If you're not seeing the shortcut work:

Make sure you're typing it inside a method body, not at the class level Check that code completion/templates are enabled in your IDE Try pressing Tab or Enter after typing "sout" to trigger the expansion

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

79626144

Date: 2025-05-17 03:35:00
Score: 1.5
Natty:
Report link

I like @sonjz answer (https://stackoverflow.com/a/24190283/4582204) the best, but it is case-SENSITIVE. To make it case-INsensitive, here are two options (edited repost of: https://stackoverflow.com/a/79626135/4582204).

mode modifier (?i) :

([regex]'(?i)a.b').Matches('A1B_A2B') | ft

Or use the class function, rather than instance/object function, and pass an option or flag.

$string = 'A1B_A2B'
$regex = 'a.b'
$flags = 'IgnoreCase'
[regex]::matches($string, $regex, $flags) | ft

or simply:

[regex]::match('A1B_A2B', 'a.b', 'IgnoreCase') | ft

Both approaches return a 2-element array (really a MatchCollection):

Groups Success Name Captures Index Length Value
------ ------- ---- -------- ----- ------ -----
{0}       True 0    {0}          0      3 A1B  
{0}       True 0    {0}          4      3 A2B  
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @sonjz
  • Low reputation (0.5):
Posted by: john v kumpf

79626135

Date: 2025-05-17 03:21:57
Score: 0.5
Natty:
Report link

I think the most convenient answer (besides the mode modifier (?i) above) which is case-insensitive and also will match multiple times on a single line (-Match will not) (https://stackoverflow.com/a/24190283/4582204) is:

$string = 'A1B_A2B'
$regex = 'a.b'
$flags = 'IgnoreCase'
[regex]::matches($string, $regex, $flags) | ft

or simply:

[regex]::match('A1B_A2B', 'a.b', 'IgnoreCase') | ft

Which returns a 2-element array (really a MatchCollection):

Groups Success Name Captures Index Length Value
------ ------- ---- -------- ----- ------ -----
{0}       True 0    {0}          0      3 A1B  
{0}       True 0    {0}          4      3 A2B  
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: john v kumpf

79626124

Date: 2025-05-17 02:44:50
Score: 0.5
Natty:
Report link

Look at the PHP module BCMath BC Math

It uses strings as numbers with any length and have all common mathematical functions to operate with them.

<?php
$a=bcadd('1234567890123456789012345678901234567890','1000000000000000000000000000000000000000');
echo $a;

https://3v4l.org/UJUku

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

79626115

Date: 2025-05-17 02:18:45
Score: 0.5
Natty:
Report link

Use the Preferences: Open Default Keyboard Shortcuts (JSON) command in the command palette.

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

79626112

Date: 2025-05-17 02:14:44
Score: 1.5
Natty:
Report link

Check for env variables, remove them then also remove the env configuration you have in your babel.config.ts after that stop the app and run npx expo start -c. That worked for me

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vic Okeke

79626109

Date: 2025-05-17 02:07:42
Score: 1
Natty:
Report link
public String altPairs(String str) {
  String s = "";
  for(int i = 0; i <= str.length(); i+=2)
{
      if(i%4 == 2){
      s+= str.substring(i-2,i);
      }
      if(i%4 == 0){
        if(i == str.length()-1){
          s+= str.substring(i);
       }
      }
  }
  return s;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jova Paunovic

79626107

Date: 2025-05-17 01:51:39
Score: 4
Natty:
Report link

simple way

extension=mbstring

php.ini

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: M Reza Muktasib

79626104

Date: 2025-05-17 01:43:37
Score: 1
Natty:
Report link

I had to install nodejs :D

sudo apt update
sudo apt install nodejs npm -y

everything works fine now

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

79626094

Date: 2025-05-17 01:14:31
Score: 4.5
Natty:
Report link

If there is ( @plugin "daisyui"; ) written before, then remove it. It should work.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @plugin
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdullah-Al-Emran Emon

79626089

Date: 2025-05-17 01:02:28
Score: 10.5
Natty: 8
Report link

were you able to resolve this?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve this?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vic Okeke

79626087

Date: 2025-05-17 01:00:28
Score: 3
Natty:
Report link

so apparently it's called "Components V2" and guess what, it's not available on discord.py, only discord.js
a call for me to migrate into discord.JS

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

79626083

Date: 2025-05-17 00:52:26
Score: 2.5
Natty:
Report link

Yep, scratched a bit on that one. There must be no overflow elements, ie the scroller-starter must be within the viewport of the mobile, for it to work, i mean remain static aso that it can trigger animations. Also maybe specify "scroller:window" in scrollTrigger parameters to be sure the mobile stick to it.

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

79626076

Date: 2025-05-17 00:28:21
Score: 2.5
Natty:
Report link

Reverting from Twilio.AspNet.Core 8.1.1 to 8.0.2 solved the problem. The issue, as highlighted in https://github.com/twilio-labs/twilio-aspnet/issues/156, is that nullable is now enforced.

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

79626075

Date: 2025-05-17 00:26:20
Score: 2.5
Natty:
Report link

I get that AI checkers aren't always correct but come on 3 em dashes and 100% percent AI score on 2 different AI checkers?

If you're going to write thinly veiled rating boosters so people on Google see more results about your company at least hand type them. (And in any case, this is wildly off-topic)

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

79626070

Date: 2025-05-17 00:09:15
Score: 1.5
Natty:
Report link

I recently faced this issue when trying to display a PNG from my drawable folder. The problem turned out to be the image size or format, which wasn't compatible with the decoder used by Jetpack Compose/Compose Multiplatform.

By compressing the images, the decoder was able to load them properly, and the crash no longer occurred.

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

79626067

Date: 2025-05-17 00:01:13
Score: 2
Natty:
Report link

4.5.14 version you can createMinimal and it will suppress the message

CloseableHttpClient httpClient = HttpClients.createMinimal();
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30560503

79626061

Date: 2025-05-16 23:51:10
Score: 1.5
Natty:
Report link

For DRF, it is better to use the SessionAuthentication

from rest_framework.authentication import SessionAuthentication


class ApproveOrDeclineUserView(APIView):
    authetication_classes = (SessionAuthentication, )

Or use directly for whole endpoints:

# In your DRF settings
REST_FRAMEWORK = {
    'DEFAULT_AUTHENTICATION_CLASSES': [
        'rest_framework.authentication.SessionAuthentication',
    ]
}

And don't forget to remove decorator - @method_decorator

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @method_decorator
  • Low reputation (1):
Posted by: Danylo Ehretskyi

79626046

Date: 2025-05-16 23:34:02
Score: 7.5 🚩
Natty:
Report link

I got a reply from Microsoft support that "functionAppScaleLimit" is not available for python flex consumption plan.

Does anyone else have any suggestion on how it can be debugged? Right now I have disabled sampling so all logs are traced, but even then the function just silently stops sometimes without emitting any error. I have try-except blocks everywhere with timeouts implemented on each request...

Reasons:
  • RegEx Blacklisted phrase (2): any suggestion
  • RegEx Blacklisted phrase (3): Does anyone else
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: JohTok

79626041

Date: 2025-05-16 23:28:00
Score: 1
Natty:
Report link

Import SSL
and export the certificate from the browser

context = ssl.create_default_context(cafile='www.ebay.com.pem')
print("Opening URL... {}".format(context))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Francis Ken

79626040

Date: 2025-05-16 23:25:59
Score: 1.5
Natty:
Report link

This is an alternate option that worked for me.

The original Python Package site: https://pip.pypa.io/en/stable/installation/ specifies multiple options.

One of them is to use the get-pip.py script - https://pip.pypa.io/en/stable/installation/#get-pip-py. Once we download the script, use the following command (python or python3).

python get-pip.py  --break-system-packages --trusted-host pypi.org --trusted-host files.pythonhosted.org

Without the argument "--break-system-package", it was giving another error which was addressed in another stackoverflow - How do I solve "error: externally-managed-environment" every time I use pip 3? . I used it any way accepting the risk as its isolated to pip. So, use it with caution.

Without the argument "--trusted-host", there is an SSL cert issue and that is addressed in the stackoverflow - pip3 Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate

Reasons:
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sunder

79626032

Date: 2025-05-16 23:18:57
Score: 0.5
Natty:
Report link

Thank's to cHao the answer is found.

On the Main Form that you want to branch out from, add this to your buttons event handler (The Word Custom should be replaced with the form you wish to go to.)
Custom^ newForm = gcnew Custom();

this->Hide();

newForm->ShowDialog();

this->Show();

delete newForm;

`

And on the subform you should include this line in another buttons event handler (I am using it in a back button.) This returns you back to the original form.
this->DialogResult = System::Windows::Forms::DialogResult::OK;

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

79626024

Date: 2025-05-16 23:04:54
Score: 0.5
Natty:
Report link

I had problems with wgrib2 accepting negative numbers, so I had to make adjustments as follows:

Dataset: GFS 0.25 Degree Hourly
# bounding box for domain
leftlon: -162.
rightlon: -80.
bottomlat: 24.
toplat: 65.

# what values to use for wgrib2 slicing?
leftlon positive: -162+360=198
rightlon positive: -80+360 = 280
(rightlon+360)-(leftlon+360)=280-198=82
82*4 =328
toplat-bottomlat = 65-24=41
(toplat-bottomlat)*4 = 41*4=164

-lola (leftlon+360):[(rightlon+360)-(leftlon+360)]*4:(degree)
(bottomlat):(toplat-bottomlat)*4:(degree)
-lola (-162+360):[(-80+360)-(-162+360)]*4:0.25 (24):(65-24)*4:0.25
-lola 198:[(280)-(-198)]*4:0.25 (24):(65-24)*4:0.25
-lola 198:82*4:0.25 24:41*4:0.25
-lola 198:328:0.25 24:164:0.25

# -lola out X..Z,A lon-lat grid values X=lon0:nlon:dlon Y=lat0:nlat:dlat Z=file A=[bin|text|spread|grib]
wgrib2 gfs_2025051600f000.grib2 -lola 198:328:0.25 24:164:0.25 output.grb grib

# without degree 0.25, using degree 1.0 - loss of resolution!
#wgrib2 gfs_2025051600f000.grib2 -lola 198:82:1 24:41:1 output.grb grib

I was able to verify the results in xygrib

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

79626022

Date: 2025-05-16 22:57:52
Score: 2.5
Natty:
Report link

note: technically for GZIP this is Z_BEST_COMPRESSION. not hardcoded to 9.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Paul McDaniel

79626017

Date: 2025-05-16 22:55:52
Score: 3
Natty:
Report link

If your AndroidManifest.xml file exists, just go through it; you might have repeated something in it.

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

79626014

Date: 2025-05-16 22:51:51
Score: 2.5
Natty:
Report link

I had the exact issue and did online search and found a solution as shared by @mijen67. Its 2025 and it seems VS code came out with what i refer as a straight forward solution with less typing in their own link as shared below

https://code.visualstudio.com/docs/cpp/config-mingw

it will definitely save you several steps as shared by mijen67 in the first solution

Reasons:
  • No code block (0.5):
  • User mentioned (1): @mijen67
  • Low reputation (1):
Posted by: naffchwan

79626013

Date: 2025-05-16 22:49:51
Score: 3
Natty:
Report link

I don't know if the problem because your dev server or not, but I recommend to use FlyEnv as your local development server. You can download it from here

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

79626005

Date: 2025-05-16 22:37:47
Score: 1.5
Natty:
Report link

all preds must be between 0 and 1 ( 0 < pred < 1 ) for the cost function not to return infinity or nan

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

79626003

Date: 2025-05-16 22:33:47
Score: 0.5
Natty:
Report link

From near the top of the page:

Webhooks currently notify you about changes to pages and databases — such as when a new page is created, a title is updated, or someone changes a database schema. The events themselves do not contain the full content that changed. Instead, the webhook acts as a signal that something changed, and it’s up to your integration to follow up with a call to the Notion API to retrieve the latest content.

The body of the webhook request will not contain any specific details about the page created, it will just list relevant information related to the creation event. Who did it, when it happened, etc. If you want more details like title or custom properties of the page created, you should use the ID provided by the webhook payload to look up that information separately.

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

79625992

Date: 2025-05-16 22:16:42
Score: 1.5
Natty:
Report link

I was able to find a solution by adjusting the logging level of "Microsoft.Identity". This worked while "MSAL.NetCore" and "Microsoft.Identity.Client" did not seem to be keys that resulted in any real adjustment.

        .MinimumLevel.Override("Microsoft.Identity", LogEventLevel.Warning)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: RyanF

79625991

Date: 2025-05-16 22:16:42
Score: 4
Natty:
Report link

Eu também estava enfrentando esse problema. O que funcionou para mim foi não modificar o repositório diretamente pela criação no GitHub, pois qualquer alteração inicial, como adicionar um arquivo LICENSE ou README.md, pode causar o erro "Push Rejected".

Pelo que percebi, o aplicativo SPCK Editor no Android não funciona bem se houver qualquer modificação prévia no repositório remoto.

Solução:

Crie um repositório no GitHub sem nenhum arquivo inicial (sem README, LICENSE ou .gitignore). Depois disso, clone o repositório no SPCK Editor e faça o push normalmente.

Se quiser adicionar um LICENSE ou README.md, baixe esses arquivos de outro repositório e adicione manualmente ao seu projeto no SPCK antes de fazer o push. Assim, evita problemas de sincronização.

Reasons:
  • Blacklisted phrase (1): não
  • Blacklisted phrase (2): Solução
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: bruno Silva

79625984

Date: 2025-05-16 22:08:40
Score: 3
Natty:
Report link

The recursion can be defined with @typedef tag.

/** @type {<T>(v: T)=>T} */
const h = (v) => v;

/** @typedef {{bar: number, foo: recursive}} recursive */

const a = h(
    /** @returns {recursive} */
    () => {
        return {
            bar: 2,
            foo: a()
        };
    }
);

https://www.typescriptlang.org/play/?moduleResolution=99&target=99&jsx=0&module=100&ts=5.4.5&filetype=js#code/PQKhAIAEBcE8AcCm4DeAeAKgPgBQDcAucDASgF4sMBfcEYAKAGMB7AOwGdpwALcM8fCT5ZweANz16oCDASIAJogBmqFACMAhgCcirAK4BbNYi0AacEubMiWxIz1b2ASzyIqNW-ccvkdSSw4uDT4eHHpwCPBpKFtoBw5UTwdnVxo-SIEhClRwjMjY+Jy84vBNHXAAJlNcksjLa3ANHBIavKoJDKp6Egl6JpIAOnqhqwGyiSA

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @typedef
  • Low reputation (1):
Posted by: KaaBEL

79625971

Date: 2025-05-16 21:50:35
Score: 0.5
Natty:
Report link

Yes, it can be using subpath while mounting a volume subdirectory to a container. However,

To create a volume with subfolders, I made a utility function for me to use. I do:

# source the function
source create_volume_with_folders.sh 
# create a new volume with however many folders you want
create_volume_with_folders home_data pgadmin pgdata

After that, pay attention to setting external=True for the volume in docker compose file. See from my create_volume_with_folders.sh Gist.

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

79625968

Date: 2025-05-16 21:48:34
Score: 0.5
Natty:
Report link

I started with the pdf-parser-client-side index.js file and modified it as below. From K J's answer above, I found that each item has a transform array, and that its 5th element increases with each line. I used that to insert any array that could late be used to split the data into the lines I needed.

'use client';

import { pdfjs } from 'react-pdf';
pdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/build/pdf.worker.min.mjs`;

async function extractTextFromPDF(file, variant) {
  try {
    // Create a blob URL for the PDF file
    const blobUrl = URL.createObjectURL(file);
    // Load the PDF file
    const loadingTask = pdfjs.getDocument(blobUrl);
    const pdf = await loadingTask.promise;
    const numPages = pdf.numPages;
    let extractedText = '';
    // Iterate through each page and extract text
    for (let pageNumber = 1; pageNumber <= numPages; pageNumber++) {
      const page = await pdf.getPage(pageNumber);
      const textContent = await page.getTextContent();
      let transform = textContent.items[0].transform[5];
      let pageText = [];

      // insert '*!*' each time transform changes to separate lines
      for (let i = 0; i < textContent.items.length; i++) {
        const item = textContent.items[i];
        if (item.transform[5] !== transform) {
          transform = item.transform[5];
          pageText.push('*!*');
          pageText.push(item.str);
        } else {
          pageText.push(item.str);
        }
      }
      pageText = pageText.join(' ');
      return pageText;
    }
    console.error('Error extracting text from PDF');
    // Clean up the blob URL
    URL.revokeObjectURL(blobUrl);
  } catch (error) {
    console.error('Error extracting text from PDF:', error);
  }
}
export default extractTextFromPDF;

Examples:

textContent.items[2] = {str: 'Friday', dir: 'ltr', width: 21.6, height: 6, transform: Array(6), …}
textContent.items[2].transform = [6, 0, 0, 6, 370.8004000000002, 750.226]
pageText = 'Produced   Friday   09/13/24   14:22   Page   No.   1   YYZ *!*...'
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: wyodoodoyw

79625965

Date: 2025-05-16 21:38:32
Score: 2
Natty:
Report link

I am having this exact problem with my Flask React app. It works perfectly fine when I test it locally and when I run my Docker container locally. But for some reason, when I run the Docker container in my VPS, I get nothing. It has to be something with my NGINX config and my reCAPTCHA settings. It's gotta be! lol

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

79625958

Date: 2025-05-16 21:30:30
Score: 3.5
Natty:
Report link
df.filter(pl.col.a == pl.lit(['1']))
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rossen Roussev

79625947

Date: 2025-05-16 21:23:28
Score: 1
Natty:
Report link

Yes, you would need to add your service accounts to a Google Group. This is the standard way to be able to dynamically manage the permissions for your set of principals in GCP. But since this is not feasible for your case because you don’t have an enterprise organizational account, the best way for you to do this is by using secretmanager.secretAccessor with automation using Terraform or by using labels on the secrets and combining it with scripts. You might also want to consider using Google Cloud Run to automate the role assignment.

For further reference, you can check this related post.

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

79625937

Date: 2025-05-16 21:14:26
Score: 1
Natty:
Report link

Yes, you would need to add your service accounts to a Google Group. This is the standard way to be able to dynamically manage the permissions for your set of principals in GCP. But since this is not feasible for your case because you don’t have an enterprise organizational account, the best way for you to do this is by using secretmanager.secretAccessor with automation using Terraform or by using labels on the secrets and combining it with scripts. You might also want to consider using Google Cloud Run to automate the role assignment.

For further reference, you can check this related post.

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

79625932

Date: 2025-05-16 21:09:24
Score: 0.5
Natty:
Report link

TOTP secret keys must be in Base 32. The only valid characters are letters (A-Z, any case) and digits from 2-7. You can use a regular expression to strip invalid characters: Replace all instances of /[^a-zA-Z2-7]/ with an empty string.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dave

79625931

Date: 2025-05-16 21:08:23
Score: 11.5 🚩
Natty: 5.5
Report link

were you able to solve this OP?

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve this OP?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jawad Mustafa

79625928

Date: 2025-05-16 21:02:21
Score: 1
Natty:
Report link

That error message you encountered is likely because you're using admin credentials in a client app. If you’re trying to access Firestore as a signed-in user, you can try using Firebase client SDK or authenticate the user using Firebase Auth REST API.

Additionally, you can take a look at this related Stack Overflow question. Although the post was made years ago, it could still provide some helpful insights.

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

79625925

Date: 2025-05-16 20:55:20
Score: 5
Natty: 4.5
Report link

@MincePie Summery for this is

| Plan | Can use Clerk JWT for RLS? | Can configure JWT settings? | RLS with Clerk |

| Free | ❌ | ❌ | Not possible |

| Team/Pro | ✅ | ✅ | Fully works |

besause You see here in this image , we need to Configure Supabase to Accept Clerk JWTs , but this option we only seen in pro version

Img:- https://github-production-user-asset-6210df.s3.amazonaws.com/96294677/444697925-8f7c651d-39a3-4d93-aa03-8b3088323218.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20250516%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250516T204922Z&X-Amz-Expires=300&X-Amz-Signature=20946d62fcb26fea170e966acd3cb965e90e0f344fc329989d7425f67174f241&X-Amz-SignedHeaders=host

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @MincePie
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Akash

79625908

Date: 2025-05-16 20:40:15
Score: 3
Natty:
Report link

i tried the libname test pcfiles way, how ever the char after conversion are built with format. and rows with special characters are not convert .

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

79625904

Date: 2025-05-16 20:38:14
Score: 1
Natty:
Report link

@Kaiido I updated your example to work on safari

const worker = new Worker(generateURL(worker_script));
worker.onmessage = e => {
  const img = e.data;
  if(typeof img === 'string') {
    console.error(img);
  }
  else
    renderer.getContext('2d').drawImage(img, 0,0);
};

function generateURL(el) {
  const blob = new Blob([el.textContent]);
  return URL.createObjectURL(blob);
}
<script type="worker-script" id="worker_script">
  if(self.FontFace) {
    const url = 'https://fonts.gstatic.com/s/shadowsintolight/v7/UqyNK9UOIntux_czAvDQx_ZcHqZXBNQzdcD55TecYQ.woff2'
    // first declare our font-face
    // Fetch font to workaround safari bug not able to make cross-origin requests by the FontFace loader in a worker
    fetch(url).then(res => res.arrayBuffer())
    .then(raw => {
    const fontFace = new FontFace(
      'Shadows Into Light',
      raw
    );
    // add it to the list of fonts our worker supports
    self.fonts.add(fontFace);
    // load the font
    fontFace.load()
    .then(()=> {
      // font loaded
      if(!self.OffscreenCanvas) {
        postMessage("Your browser doesn't support OffscreeenCanvas yet");
        return;
      }
      const canvas = new OffscreenCanvas(300, 150);
      const ctx = canvas.getContext('2d');
      if(!ctx) {
        postMessage("Your browser doesn't support the 2d context yet...");
        return;
      }
      ctx.font = '50px "Shadows Into Light"';
      ctx.fillText('Hello world', 10, 50);
      const img = canvas.transferToImageBitmap();
      self.postMessage(img, [img]);
    })
});
  } else {
    postMessage("Your browser doesn't support the FontFace API from WebWorkers yet");
  }
  
</script>
<canvas id="renderer"></canvas>

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Kaiido
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: ShaMan123

79625899

Date: 2025-05-16 20:32:13
Score: 1.5
Natty:
Report link

Just posting this in case anyone were to stumble on the same problem as me: Requesting an authorization flow from a bash shell and figured out that I may not add quotes (in my case single quotes).

My original (failing) command:

open "https://accounts.spotify.com/authorize?response_type=code&client_id=$SPOTIFY_CLIENT_ID&redirect_uri=$SPOTIFY_REDIRECT_URI&state=$TMP_SFY_STATE&scope='playlist-modify-public'"

My new (working) command:

open "https://accounts.spotify.com/authorize?response_type=code&client_id=d3e985209060474e99247de040967b54&redirect_uri=https://no_spotify_uri&state=$TMP_SFY_STATE&scope=playlist-modify-public"

The differences are the single quotes around my scope value.

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

79625897

Date: 2025-05-16 20:31:12
Score: 8.5 🚩
Natty: 5
Report link

youtube ............................................................................................................................................................

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • No latin characters (3):
  • Filler text (0.5): ............................................................................................................................................................
  • Low entropy (1):
  • Low reputation (1):
Posted by: user30559764

79625896

Date: 2025-05-16 20:29:11
Score: 0.5
Natty:
Report link

Opening a procedure from SSMS using right-click -> Script As -> Alter, uses utf-8. But, opening the same procedure from SSMS using right-click -> Modify, uses utf-16 LE BOM.

I was having the same trouble using GitHub Desktop to view the diffs from the utf-16 files because they're considered binary. While it's a couple of extra clicks through the SSMS UI, it enables Git version diffs and uses half the file size.

Loading the stored procs into Git has to be done using the first method. Once they're in there, then use Git to open them no problem.

This is on SSMS 20.

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

79625892

Date: 2025-05-16 20:25:10
Score: 5
Natty: 5
Report link

I still have the Chrome browser hanging open, even after:

driver.Quit();

is there something else (missing)?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Mike

79625891

Date: 2025-05-16 20:25:10
Score: 3.5
Natty:
Report link

Using the latest glassfish 7 or payara 6 servers just changing
@Inject to @EJB in the REST resource endpoint classes fixes the problem.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Inject
  • User mentioned (0): @EJB
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mikee

79625890

Date: 2025-05-16 20:24:09
Score: 1.5
Natty:
Report link

From Visual Studio 2022 Git Changes tool window, I was able to 'View all commits', then select the commit I wanted to edit. Right click on the commit and View Commit Details. After that, I clicked Edit above the message, made the desired changes, and saved them.

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

79625883

Date: 2025-05-16 20:16:07
Score: 4.5
Natty: 4
Report link

Anyone who is still looking there is this project.

https://github.com/CoolCoderSuper/visualbasic-language-server

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

79625877

Date: 2025-05-16 20:11:05
Score: 0.5
Natty:
Report link

I had the same problem - Hiding sheet worked in debug mode but not when running the script. Wickets answer put me onto what did work - putting the flush statement BEFORE the hidesheet atatement.

Script operation order:

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

79625876

Date: 2025-05-16 20:11:05
Score: 1
Natty:
Report link

Your problem could be simpler than most discussions on the thread. The problem you see might look like this:

C:\Users\Dev>git checkout $username@PATH/BRANCH$.git
fatal: not a git repository (or any of the parent directories): .git
C:\Users\Dev>git checkout $username@PATH/BRANCH$.git
error: pathspec '....' did not match any file(s) known to git

Solution? CLONE - not CHECKOUT!!!! :)

C:\Users\Dev>git clone $username@PATH/BRANCH$.git
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Aarthi Rishi

79625875

Date: 2025-05-16 20:10:04
Score: 1.5
Natty:
Report link

This is just an expansion on the great answer from @EdMorton for anyone who wants to wrap it, as a a proof of concept this works:


#!/bin/bash

func() {
        echo "test...stdout - arg 1: $1 - arg 2: $2"
        echo "test...stderr 1" >&2
        echo "test...usrerr" >&4
        echo "test...stderr 2" >&2
        return 1
}

wrap() {
        func_name=$1; shift; func_args=$@

        { em=$($func_name $func_args 4>&2 2>&1 1>&3-); ec=$?; } 3>&1
        
        if [[ ec != 0 ]]; then
                echo "Error code: $ec"
                echo "Captured stderr (not shown):"
                echo "$em"
        else
                echo "There were no errors."
        fi
}

wrap func abc xyz

And the result is:

test...stdout - arg 1: abc - arg 2: xyz
test...usrerr
Error code: 1
Captured stderr (not shown):
test...stderr 1
test...stderr 2
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @EdMorton
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Albert Camu

79625868

Date: 2025-05-16 20:02:02
Score: 1.5
Natty:
Report link

As per @Mr_Pink comment, I just needed to remove the channel receive. The following works:

package main

import (
    "fmt"
    "os"
    "time"

    hook "github.com/robotn/gohook"
)

func main() {
    fmt.Println("Press q to quit.")
    hook.Register(hook.KeyDown, []string{"q"}, func(e hook.Event) {
        os.Exit(3)
    })
    s := hook.Start()
    hook.Process(s)

    // TODO: While listening for key events with gohook above, I also want to continuously print to the console.
    // How do I get this loop to run, while the above event listener is also active?
    for {
        fmt.Print(".")
        time.Sleep(200 * time.Millisecond)
    }
}
Reasons:
  • Blacklisted phrase (1): How do I
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Mr_Pink
  • Self-answer (0.5):
Posted by: Dave Rapin

79625864

Date: 2025-05-16 19:59:01
Score: 2
Natty:
Report link

Indexing everything will slow down inserts to a crawl.

Indexes should be applied to fields with high cardinality, meaning it has several different values.

Many databases support the "explain" command, which will tell you where to index

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

79625863

Date: 2025-05-16 19:59:01
Score: 2
Natty:
Report link

I tried to solve the problem using the command line, in which I change the IP of the computer if the server on which the load balancer fails. That is, server A pings server B for health, and if server B fails, server A runs a command that replaces server A's IP with Server B's IP. Then the system thinks that server A is server B, so it sends a request to it.

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

79625855

Date: 2025-05-16 19:52:59
Score: 5.5
Natty: 5
Report link

I have the exact same problem. Invalidating caches is a temp. solution. I have no idea why it's so slow. Also restarting the dart analysis server also works for a short while.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the exact same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nefario

79625854

Date: 2025-05-16 19:52:59
Score: 3.5
Natty:
Report link

Solved it! I have to trim out the $_GET['q'] because that may causes spaces in the URL. Thanks everybody.

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

79625845

Date: 2025-05-16 19:48:58
Score: 1.5
Natty:
Report link

Use useSeoMeta() for dynamic meta tags (after fetching data), but it may not show up in SSR unless handled carefully.

For static pages like /about, use definePageMeta() to ensure meta tags are in the server-rendered HTML.

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

79625844

Date: 2025-05-16 19:48:58
Score: 1
Natty:
Report link

from moviepy.editor import VideoFileClip, AudioFileClip

# Video og lydfiler

video_path = "/mnt/data/peacock_seal_meme_noaudio.mp4"

audio_path = "/mnt/data/lokonosisois_simple.mp3"

# Last inn video og lyd

video_clip = VideoFileClip(video_path)

audio_clip = AudioFileClip(audio_path).subclip(0, video_clip.duration)

# Legg lyd på video

video_with_audio = video_clip.set_audio(audio_clip)

# Lagre ny video med lyd

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

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

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

79625838

Date: 2025-05-16 19:45:57
Score: 1.5
Natty:
Report link

Interestingly mine connects only if the USB Debugging is also enabled.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Mitulát báti

79625836

Date: 2025-05-16 19:44:57
Score: 1
Natty:
Report link

Other way to do it is using query selector querySelector to select image class and set its src attribute to the new path.

var image1 = document.querySelectorAll("img")[0];
image1.setAttribute("src","/images/image1.png")

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

79625831

Date: 2025-05-16 19:40:55
Score: 1
Natty:
Report link

A weak entity is something that cannot exist without another entity. It depends on a strong entity.

A partial key is a part of the weak entity that helps identify each dependent for the same employee.
But a partial key alone is not enough. It only works when combined with the employee’s ID.

In this case, the Date of Birth (DOB) of the dependent is used as a partial key, because usually, no two dependents of the same employee are born on the same date. And therefore DOB was the best option for selecting the partial key.

So, EmployeeID + Dependent DOB can uniquely identify each dependent.

That’s why DOB is called a partial key — it helps only when combined with EmployeeID.

So,

I. Dependent is a weak entity (bcz it depends on the Employee table)

II. DOB is a partial key (bcz it's not enough by itself, but works as a primary key with E_ID).

III. primary key = (EmployeeID + DOB) becomes the primary key for the Dependent table.


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

79625829

Date: 2025-05-16 19:39:55
Score: 1.5
Natty:
Report link

like this;

deno run -A npm:drizzle-kit

for generate;

deno run -A npm:drizzle-kit generate --name=init
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: İbrahim Ödev

79625821

Date: 2025-05-16 19:32:53
Score: 2.5
Natty:
Report link

Return a JSON object with columns (an array of column names) and rows (an array of arrays - each row is an array of strings/values):

{
  "columns": ["id", "name", "email"],
  "rows": [
    ["1", "Alice", "[email protected]"],
    ["2", "Bob", "[email protected]"]
  ]
}

Maybe like that?

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

79625820

Date: 2025-05-16 19:31:53
Score: 3.5
Natty:
Report link

Thank you so much! Will definitely give this a try. And I'll try adding more crucial information like the error codes and a sample of data

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joshua Butler

79625815

Date: 2025-05-16 19:26:52
Score: 2.5
Natty:
Report link

Subdomain resolutions are a matter for the DNS, not the backend/frontend.

But you can add a *.yourdomain.com and handle the logic server-side

In that case, your question was already answered here Using subdomains in django

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

79625814

Date: 2025-05-16 19:26:52
Score: 2.5
Natty:
Report link

It seems I found my own answer. It seems there was a corrupt user file "C:\Users\UserName\AppData\Local\CompanyName\MyProgram.exe_StrongNam_hvhadjhsa77sde\ProgramVersion\user.config". I deleted this file, and the program loaded successfully on my PC.

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

79625811

Date: 2025-05-16 19:24:51
Score: 1
Natty:
Report link

I tried to use plotly and that was able to give me the result I was looking for -

import plotly.express as px
autompg_multi_index = autompg.query("yr<=80").groupby(['yr', 'origin'])['mpg'].mean().reset_index()
fig = px.bar(autompg_multi_index, x='yr', y='mpg', color='origin', barmode='group', text='mpg')
fig.update_traces(texttemplate='%{text:.2f}', textposition='outside')
fig.show()

Grouped bar chart with labels on top with 2 places after decimal point.

My solution is to abandon hvplot and migrate to plotly.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Abhi

79625801

Date: 2025-05-16 19:19:50
Score: 4
Natty: 4
Report link

Right click status bar and then select "hide progress message" at very bottom.

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

79625787

Date: 2025-05-16 19:08:47
Score: 1.5
Natty:
Report link

https://gist.github.com/lucacasonato/1a30a4fa6ef6c053a93f271675ef93fc

I haven't encountered such a problem, but you can try this.

polyfill.js you can try to download this file and import it from your worker file from your local project path and use it.

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: İbrahim Ödev

79625785

Date: 2025-05-16 19:07:46
Score: 5
Natty: 4.5
Report link

try to use this port, using jsr: https://jsr.io/@hviana/baileys

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

79625779

Date: 2025-05-16 19:03:44
Score: 4.5
Natty:
Report link

This solution here: Update after a Copy Data Activity in Azure Data Factory suggests that you will need to do a dummy select afterward to make the update work.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dana A

79625776

Date: 2025-05-16 19:02:44
Score: 1.5
Natty:
Report link

In Spring Boot 3 (which uses Spring Framework 6), the MultipartResolver interface has been moved to

org.springframework.web.multipart.support.MultipartResolver
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: El Hadji Ndongo

79625772

Date: 2025-05-16 19:00:43
Score: 2
Natty:
Report link

Try to close your vs code and move your folder using file explorer because it works for me

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Llanz Kenneth Luy

79625770

Date: 2025-05-16 18:59:43
Score: 2
Natty:
Report link

In my (silly) case, after 2 days of troubleshooting I found that the value of 'MinimumLevel' for logging was in CAPS, so i was using DEBUG instead of Debug. Once I changed that my app started working.

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

79625766

Date: 2025-05-16 18:56:42
Score: 1.5
Natty:
Report link

As @choroba pointed out, those aren’t entity references, but character references.

In any case, round-tripping XML/HTML/SGML content is difficult (entities, char refs, whitespace), as most parsers are geared toward access, rather than editorial preservation.

Depending on your actual goal, a different parser or parsing mode could help. Look into XML::LibXML::Reader or other tools that provide access to inner/outer XML.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @choroba
  • Low reputation (1):
Posted by: Chris Maden

79625762

Date: 2025-05-16 18:50:41
Score: 2.5
Natty:
Report link

I found the answer.

I didn't know I needed to make the change to the hosts file on my co-workers computers (not just the computer with XAMPP). I also didn't know I needed to install the certificate onto their computers as well (not just the computer with XAMPP). Once I did both of those things. my co-workers were able to access site.local with https instead of the IP address and http.

Reasons:
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user30364900

79625761

Date: 2025-05-16 18:49:40
Score: 1.5
Natty:
Report link
SELECT e.ItemId
      ,Subject
      ,CreatedOn
  FROM ItemBase AS e
      INNER JOIN ItemExtensionBase AS p
      ON e.ItemId = p.ItemId
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: NhaidGhaith

79625753

Date: 2025-05-16 18:40:39
Score: 1.5
Natty:
Report link

I search for this in search engine and found that, some recent articles in different websites, can give you the answer, while they are based on a specific error. So maybe you can ask the same in your favorite search engine and see the recent results about this problem... assuming that the error is the same.

"How to Fix Google Sign-In Error in Flutter with Dart"

Best

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

79625742

Date: 2025-05-16 18:32:37
Score: 1
Natty:
Report link

The most important thing to remember: exceptions must be exceptional!

There are several things missing in the answers above:

  1. Yes, it's harder to ignore exceptions (compared to ignoring error returns). That doesn't stop entirely too many people from writing code that silently "swallows" exceptions, because they were (a) "impossible", (b) inconvenient, or (c) "I'll get to that later". That doesn't mean that error returns are bad, it means that bad coding is bad! (But we knew that!)

  2. The business about "error returns can't return much info" is bogus. Most of what we return are objects. Objects can have all kinds of status information. In fact, they should -- "empty" or "zen" objects with status info is far, far better than returning 'null'.

  3. Exceptions are noisy, and (in my experience of 50 years of coding) produce more code than the equivalent error return checks. Exceptions are also very, very, specific: every little thing that goes wrong gets its own exception. (And -- bad code again -- too many people wrap a whole bunch of different possible exceptions in a single try block... precisely because otherwise the code gets super "noisy".)

    I'd rather (say) do an SQL query, get some results, and then ask "did something fail? What was it?" -- compared to (a) did I get an exception constructing the query, (b) did I get an exception binding the values to the query, (c) get an exception running the query, (d)... I forget. A well-designed object interface with an error return can tell me about any problems in one place -- instead of five.

  4. Exceptions should not be used for control flow! And yet, that kind of code keeps getting written.

  5. Many (admittedly older) library functions throw exceptions at the drop of a hat! One of the worst examples: Java's Integer.parseInt() throws an exception if its argument isn't a parseable number. Ye gods and little fishes! That's just nuts.

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

79625715

Date: 2025-05-16 18:12:32
Score: 1
Natty:
Report link

row_number() already gives you a number.

mygenes %>% 
    group_by(gene) %>% 
    mutate(
        isoform_id = paste(gene, row_number(), sep = "_")
    )
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Æzor Æhai -him-

79625707

Date: 2025-05-16 18:06:30
Score: 2
Natty:
Report link

I think the issue is that the res_id field in the attachment model is not being updated when attachment_ids are added before the record is saved.

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

79625706

Date: 2025-05-16 18:04:29
Score: 4.5
Natty:
Report link

Thank you for your helpful response.

  1. Is it possible to feed back the CO or O output into the LUT of the same slice, and then connect the output of the LUT to the DI input of the same CARRY4? (with local routing)

  2. What is your suggestion for redesigning the TDC to avoid using feedback?

  3. I need to implement two delay lines for a Vernier TDC. I plan to use CARRY4 for both lines. As you know, the delay of the first line must be slightly longer than the second one. What do you suggest to increase the delay in the first line?
    My idea was to use internal XOR gates within the CARRY4 of the first line by creating some feedback to add extra delay. But it doesn’t seem to work, and now I’m not sure what to do.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): Is it possible to
  • Blacklisted phrase (1): What is your
  • Whitelisted phrase (-0.5): Thank you for your help
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alireza Karimian

79625704

Date: 2025-05-16 18:02:28
Score: 2
Natty:
Report link

I wrote a zsh script for this.

It won't speed up the downloading of the logs is self, but as long as you have zsh and gcloud command, it will be very easy to run:

https://gist.github.com/TonyVlcek/1a91e44b8af44afd87f97c78f87bcc34

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

79625686

Date: 2025-05-16 17:52:25
Score: 0.5
Natty:
Report link

Disabling Next Edit Suggestions can be slightly counter-intuitive. The next time a Next Edit Suggestion appears, right-click on the button that appears to the left side of it and click on Settings to go its NES-specific settings. Look for the setting Github Copilot > Next Edit Suggestions > Enabled - this may already be unchecked even if the setting is enabled. Check the field once, then uncheck it, then close and reopen VS Code - you shouldn't see any of these particular suggestions again.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Hashim Aziz

79625680

Date: 2025-05-16 17:46:18
Score: 6 🚩
Natty:
Report link

did u figure this out??

getting similar errors even running --help its stuck until i press CTRL+C

https://pastebin.com/kTg0e1Jq

python -v -m espefuse --help

# C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\__pycache__\contextlib.cpython-313.pyc matches C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\contextlib.py
# code object from 'C:\\Users\\nebbi\\AppData\\Local\\Programs\\Python\\Python313\\Lib\\__pycache__\\contextlib.cpython-313.pyc'
import 'contextlib' # <_frozen_importlib_external.SourceFileLoader object at 0x000001DE58F13290>
import 'msvcrt' # <class '_frozen_importlib.BuiltinImporter'>
import 'subprocess' # <_frozen_importlib_external.SourceFileLoader object at 0x000001DE58E6C650>
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\nebbi\esp\v5.3.2\esp-idf\components\esptool_py\esptool\espefuse.py", line 11, in <module>
    sys.exit(subprocess.run([sys.executable, '-m', 'espefuse'] + sys.argv[1:]).returncode)
             ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 554, in run
    with Popen(*popenargs, **kwargs) as process:
         ~~~~~^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1039, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
    ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                        pass_fds, cwd, env,
                        ^^^^^^^^^^^^^^^^^^^
    ...<5 lines>...
                        gid, gids, uid, umask,
                        ^^^^^^^^^^^^^^^^^^^^^^
                        start_new_session, process_group)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1551, in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                       ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
                             # no special security
                             ^^^^^^^^^^^^^^^^^^^^^
    ...<4 lines>...
                             cwd,
                             ^^^^
                             startupinfo)
                             ^^^^^^^^^^^^
KeyboardInterrupt
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\nebbi\esp\v5.3.2\esp-idf\components\esptool_py\esptool\espefuse.py", line 11, in <module>
    sys.exit(subprocess.run([sys.executable, '-m', 'espefuse'] + sys.argv[1:]).returncode)
             ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 556, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
                     ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1214, in communicate
    self.wait()
    ~~~~~~~~~^^
  File "C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1277, in wait
    return self._wait(timeout=timeout)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1603, in _wait
    result = _winapi.WaitForSingleObject(self._handle,
                                         timeout_millis)
KeyboardInterrupt
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\nebbi\esp\v5.3.2\esp-idf\components\esptool_py\esptool\espefuse.py", line 11, in <module>
    sys.exit(subprocess.run([sys.executable, '-m', 'espefuse'] + sys.argv[1:]).returncode)
             ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 556, in run
    stdout, stderr = process.communicate(input, timeout=timeout)
                     ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1214, in communicate
    self.wait()
    ~~~~~~~~~^^
  File "C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1277, in wait
    return self._wait(timeout=timeout)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "C:\Users\nebbi\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 1603, in _wait
    result = _winapi.WaitForSingleObject(self._handle,
                                         timeout_millis)
KeyboardInterrupt
Reasons:
  • RegEx Blacklisted phrase (3): did u figure this out
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): getting similar error
  • Contains question mark (0.5):
  • Starts with a question (0.5): did
  • Low reputation (1):
Posted by: lsdlsd88

79625673

Date: 2025-05-16 17:42:16
Score: 2.5
Natty:
Report link

Changing the version to 0.3.7 in plugins.sbt worked for me.

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

79625670

Date: 2025-05-16 17:40:15
Score: 1
Natty:
Report link

This sounds like you are wanting to actually fetch the menu html from another location (even if on you local machine)

To achieve this you'll have to use the javascript fetch protocol. I would try something like this:

 <script>
  // Function to load the menu
  function loadMenu() {
    fetch("<path-on-your-machine-to-the-file>")
      .then((response) => response.text())
      .then((html) => {
        document.getElementById("nav-placeholder").innerHTML = html;
      })
      .catch((error) => {
        console.error("Error loading menu:", error);
      });
  }

  // Load the menu when the page finishes loading
  window.onload = loadMenu;
</script>

This will unblock your ability to fetch the html ... but it introduces another issue. If you are loading this page, as I suspect, in a modern (chrome based) browser it will likely block this request as it does not follow the CORS policy and looks like you are attempting to load resources from another origin.

To fix this you'll likely want to setup a simple web server running locally to serve your files. But to answer this I feel is beyond the scope of the original question.

Here are some tutorials node: - https://expressjs.com/en/starter/hello-world.html python: https://ryanblunden.com/create-a-http-server-with-one-command-thanks-to-python-29fcfdcd240e

Note: I have NOT tested these myself so please proceed with caution. The tutorials look helpful and not too dangerous.

Good luck and happy hacking.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (1): I have NOT tested these myself so please
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jesse Vanderwerf

79625667

Date: 2025-05-16 17:37:14
Score: 2.5
Natty:
Report link

Solve the Problem using Follow this steps:

1. Add on build.gradle.kts(Module:app) in dependencey level:

enter image description here

2. maven(url = java.net.URI("https://jitpack.io")) Add this line on settings.gradle then sync now...

enter image description here

3. Pass your pdfPath on this function:

enter image description here

Today 16-05-2025 -- currently working on this date

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

79625666

Date: 2025-05-16 17:36:14
Score: 0.5
Natty:
Report link

It's supported. But you're using the wrong selector.It will be powerbi-create-report.

Refer to this MSFT documentation Create an embedded report

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