79541905

Date: 2025-03-28 16:10:55
Score: 3.5
Natty:
Report link

PyQt5 5.15.10 adds native support for macOS ARM.

Released: Oct 14, 2023

https://pypi.org/project/PyQt5/5.15.10/#files

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

79541904

Date: 2025-03-28 16:10:55
Score: 3.5
Natty:
Report link

open db2cmd

rerun your catalog commands

db2 catalog tcpip node <devNodeNameXYZ> remote <db_server_IP_address> server <portNumber> REMOTE_INSTANCE DB2

db2 catalog database <nameofDB> at node <devNodeNameXYZ>

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

79541897

Date: 2025-03-28 16:07:55
Score: 2
Natty:
Report link

I'd suggest running a yarn tsc then yarn --cwd packages/backend build to see if the build works locally first. This should give you more detailed errors.

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

79541892

Date: 2025-03-28 16:05:54
Score: 3
Natty:
Report link

That's an annoying restriction in Postgres, why there are so many ppl doubting the table names

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

79541887

Date: 2025-03-28 16:04:54
Score: 4.5
Natty: 5
Report link

Thank you, it was great solution

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: venkat prasad Juntipally

79541878

Date: 2025-03-28 16:02:53
Score: 1
Natty:
Report link

We had the same issue trying to use an account with MFA disabled (it's a service account used for setting up gateways which require MFA disabled, but that's another story) but where the tenant conditional access policy says MFA is required.

To confirm this is your issue, go to Entra and look for the sign-in logs for the user: this will tell you whether MFA was used/required.

To resolve: add the service account to the exclusions within MS Entra | Conditional Access | Overview | Policies

https://learn.microsoft.com/en-us/entra/id-governance/conditional-access-exclusion

enter image description here

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

79541870

Date: 2025-03-28 15:58:52
Score: 2.5
Natty:
Report link

Try putting a time delay before executing

m_DBConnection.ExecuteNonQuery(strQuery);

It could be that the value did not get written to the tbTestResults.AbortComment column.

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

79541866

Date: 2025-03-28 15:57:52
Score: 1.5
Natty:
Report link

For me work the command:

% sudo chmod 777 /var/run/docker.sock

And then run the commands that AWS indicates on its ECR page.

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

79541864

Date: 2025-03-28 15:57:52
Score: 2.5
Natty:
Report link

For me:
apt install --reinstall libllvm15
solved the problem

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

79541862

Date: 2025-03-28 15:55:51
Score: 1.5
Natty:
Report link

Running into this same problem as I have objects structured with different top levels objects but within each object I have different paths for month/day combinations.

Ex:

s3://Account/02_2025/KEEP

s3://Account/02_2025/DELETE

s3://Account/05_2025/KEEP

s3://Account/05_2025/DELETE

...

s3://Case/02_2025/Keep

Wondering if you had solved your initial issue.

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

79541849

Date: 2025-03-28 15:47:50
Score: 0.5
Natty:
Report link

I finally fixed it and it works now.

In my project file, there is an ItemGroup that contains this:

<PackageReference Include="Microsoft.AspNetCore.Components.QuickGrid.EntityFrameworkAdapter" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="9.0.0" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="9.0.3">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  <Publish>true</Publish>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.0">
  <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
  <PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="9.0.0" />

What is shown here is what works. What DID NOT work was that in this section the package reference for Microsoft.VisualStudio.Web.CodeGeneration.Design said version 9.0.0. But, all the other package references said version 9.0.3.

In the NuGet package manager it showed all my packages as being up to date - including Microsoft.VisualStudio.Web.CodeGeneration.Design with 9.0.0 being the latest available for it.

I manually edited the csproj file and changed all the references that said 9.0.3 to 9.0.0 and then it started working again.

Reasons:
  • Blacklisted phrase (1): DID NOT work
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: StuartV

79541844

Date: 2025-03-28 15:45:49
Score: 1
Natty:
Report link

will I be billed for CPU time while waiting on that external API

Yes.

The CPU is not actively being used, so it would make sense if I was not billed

You are billed for as long as a function is in the middle of invocation, from the time it starts to the time it returns a response. The busy-ness of the CPU is never the issue - what matters is that the CPU is allocated and available to perform work during an invocation. The only time you are not billed for CPU on a given server instance is if there are no active requests for that instance (eventually allowing it to scale down).

Gen 2 functions improve on this by allowing multiple concurrent requests, so that they all share the same total billing time. You will want to read this documentation to better understand how it works. Specifically:

When setting concurrency higher than one request at a time, multiple requests can share the allocated CPU and memory of an instance.

See also:

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Doug Stevenson

79541828

Date: 2025-03-28 15:37:48
Score: 2.5
Natty:
Report link

I managed to get the user's email address using the user.fields argument as follows:

https://api.x.com/2/users/me?user.fields=confirmed_email

This however only returns the email if the user has confirmed it on twitter. See the link below for more fields that you can query for.

https://docs.x.com/x-api/users/user-lookup-me

Reasons:
  • Blacklisted phrase (1): the link below
  • RegEx Blacklisted phrase (1): See the link
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Cyrusville

79541825

Date: 2025-03-28 15:35:47
Score: 4.5
Natty: 6
Report link

Follow the instructions here in the link below:

https://www.jetbrains.com/help/pycharm/2024.3/working-with-the-ide-features-from-command-line.html?Working_with_the_IDE_Features_from_Command_Line

Reasons:
  • Blacklisted phrase (1): the link below
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Debojyoti Chatterjee

79541822

Date: 2025-03-28 15:34:46
Score: 4
Natty:
Report link

You're on the right track. I do a ton of this in my day job as an AWS TAM for an MSP**

RE: Reduce delay in cost awareness**: Teams should know about unexpected costs as soon as possible.

AWS Budgets allows gives you a few options here. You can not only set up spend-based alert thresholds, which could go to your email address, but I would use a distro. There are also some newer AI-oriented anomaly detection functions also.

RE: Identify wasted resources easily: Instead of playing a guessing game, we should pinpoint which resources are consuming costs unnecessarily.

Two options jump out at me here:
#1 The AWS Trusted Advisor report. This is an in-depth spreadsheet sent out to clients with enterprise-grade support levels, meaning partner-led support with a 3rd party accredited support provider, AWS OnRamp, or AWS Enterprise-level support tiers.

This report tells you exactly which servers are grossly oversized and other components that could be optimized, archived, or downscaled to save money.

#2 There's a module for an opensource tool called PowerPipe called "Thrifty", which can assist there also.

The AWS console under Cost Explorer will also show you your available instance reservation options and/or savings plans.

RE:Find top cost contributors: Generate a report showing the top 5-10 resources that are contributing to high costs.

I would highly encourage you to learn how AWS Cost Allocation tags work. There are defaults which will give you what you're asking for, but there's some much more advanced and granular options with what are called "User Generated" Cost allocation tags.

RE: Questions I Need Help With Should I build a unified multi-cloud system, or is that too ambitious for a beginner?

If you are new to cloud infrastructure, I would definitely not start off with a multi-cloud environment. Even if you weren't a beginner, there needs to be a very compelling reason to chase "best in breed" services across a provider boundary. This is almost always more hassle than it's worth.

Reasons:
  • Blacklisted phrase (0.5): I Need
  • Blacklisted phrase (2.5): I Need Help
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: John Garrett

79541820

Date: 2025-03-28 15:33:46
Score: 0.5
Natty:
Report link

From Ether6, https://docs.ethers.org/v6/api/utils/#formatEther

You can just use it this way.

const { ethers, formatEther } = require("ethers");
or 
ethers.formatEther(value);
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Sarat Chandra

79541813

Date: 2025-03-28 15:30:45
Score: 2.5
Natty:
Report link

You can solve this by simply adding CSS attribute in your intro id

#intro { scroll-margin-top: 20%; //Add this line }

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

79541809

Date: 2025-03-28 15:28:45
Score: 1
Natty:
Report link

create a client side plugin like so: comment.client.js file in ur plugins directory

export default defineNuxtPlugin(() => {
    const comment = document.createComment(
        " Your comment goes here... "
    )

    document.documentElement.prepend(comment)
})

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

79541800

Date: 2025-03-28 15:25:44
Score: 8 🚩
Natty: 4
Report link

I am having the very same issue :(

Reasons:
  • Blacklisted phrase (1): :(
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): I am having the very same issue
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Otto Oliveira

79541797

Date: 2025-03-28 15:22:43
Score: 2
Natty:
Report link

Okey, I got it.

The issue was caused by storing unix timestamp as a 32-bit float. Since a float32 cannot accurately represent large unix timestamps, precision was lost, causing the timestamp to remain constant for long periods before updating in steps.

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

79541788

Date: 2025-03-28 15:15:41
Score: 3.5
Natty:
Report link

Thank you for your correction and your code. Relly intresting
Just a doubt.
I don't want to change ALL the default queries in all the archive page but just in a grid loop through the "id Query". In simple words: in the archive page I will have al the posts that among to the archive category in a long loop. Before that loop I want to have a different and smaller loop with the main post i.e. the posts I want to highlight.

Thank you.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Robert080

79541760

Date: 2025-03-28 14:59:38
Score: 6.5 🚩
Natty: 5
Report link

I have the same problem, I was using SQLite, but is too slow with a lot of records, so I tried to use Dexie on Mobile, however, it only worked on web...

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Santos Chávez

79541755

Date: 2025-03-28 14:57:37
Score: 2.5
Natty:
Report link
from pyannote.audio import Pipeline


pipeline = Pipeline.from_pretrained(
  "pyannote/speaker-diarization-3.1",
  use_auth_token="Your token"
)


# Apply the pipeline to the audio file
diarization = pipeline("/content/drive/MyDrive/audio/EP465-EP467Vayanalokamin2024RecentbooksIreadandlistened.mp3")
Could not download 'pyannote/segmentation-3.0' model.
It might be because the model is private or gated so make
sure to authenticate. Visit https://hf.co/settings/tokens to
create your access token and retry with:

   >>> Model.from_pretrained('pyannote/segmentation-3.0',
   ...                       use_auth_token=YOUR_AUTH_TOKEN)

If this still does not work, it might be because the model is gated:
visit https://hf.co/pyannote/segmentation-3.0 to accept the user conditions.
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-12-67b02ac8da37> in <cell line: 0>()
     10 # )
     11 
---> 12 pipeline = Pipeline.from_pretrained(
     13   "pyannote/speaker-diarization-3.1",
     14   use_auth_token="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"

2 frames
/usr/local/lib/python3.11/dist-packages/pyannote/audio/pipelines/utils/getter.py in get_model(model, use_auth_token)
     87         )
     88 
---> 89     model.eval()
     90     return model
     91 

AttributeError: 'NoneType' object has no attribute 'eval'

Pls help

Reasons:
  • RegEx Blacklisted phrase (3): Pls help
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sanjay Raj V V

79541752

Date: 2025-03-28 14:55:37
Score: 2.5
Natty:
Report link

Try to visit Marketing Platform Home and then go to Administration section.

Administration section

3 years passed but maybe it'll help somehow/someone.

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

79541748

Date: 2025-03-28 14:53:37
Score: 3
Natty:
Report link

The seems to be a bug in version 3.0.5. I had to downgrade the version for it to work. I now using version 2.15.1 or 2.14.15. Try those.

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

79541744

Date: 2025-03-28 14:51:36
Score: 2
Natty:
Report link

So apparently, you need to do

sudo playwright install-deps
sudo playwright install

In sudo mode, i am not sure why it would be translated to a connection reset error though

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

79541740

Date: 2025-03-28 14:50:36
Score: 2
Natty:
Report link

As Craig said creating a .def solves the problem

LIBRARY MyDll
EXPORTS
    testBool1
    testBool2
    testBool3
    testBool4
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user30093107

79541738

Date: 2025-03-28 14:50:36
Score: 2.5
Natty:
Report link

Try disabling opcache by

opcache.enable=0

And if not working then,

codesign -v /opt/homebrew/Cellar/php/8.4.5_1/lib/php/20240924/opcache.so

Run this to verify signature of the opcache extension.

If not working clear safari cache.

If still not working try php 7.4 I hope it will be fine. And these should resolve the problem. Best of luck.

Reasons:
  • Blacklisted phrase (2): still not working
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nabil Bin Billal

79541735

Date: 2025-03-28 14:47:35
Score: 2
Natty:
Report link

In my case, restarting IIS, not just the website, proved to be the solution. Quick and easy.

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

79541730

Date: 2025-03-28 14:46:35
Score: 2
Natty:
Report link

I gave this a second try and this time I managed to adjust it to what I want. But now I would like to know if I can get the range rate, azimuth rate and elevation rate as well.

import spiceypy
import numpy as np
from datetime import datetime, timezone

# ######################################################################## #
# Based on code by Greg Miller ([email protected]) 2019               #
# Released as public domain                                                #
# https://astronomy.stackexchange.com/questions/33095/spice-alt-az-example #
# ######################################################################## #

spiceypy.furnsh('SPICE/Kernels/mk/metakernel.tm')

# Lat, Lon position of observer ------------------------------------------
'''
Here the coords are normal and in mytopo.tf they need to be:
    lon_mytypo = -lon_normal
    lat_mytypo = -(90-lat_normal)
'''
lat = np.radians(47.397490)
lon = np.radians(8.550440)
alt = 0.4995

# convert lat, lon to xyz ------------------------------------------------
obspos = spiceypy.georec(lon, lat, alt, 6378.1366, 1.0/298.25642)

# time of observation in UT ----------------------------------------------
et = spiceypy.datetime2et(datetime.now(timezone.utc))

# Get the xyz coordinates of the spacecraft relative to observer in MYTOPO frame (Correct for one-way light time and stellar aberration)
state_vector, light_time = spiceypy.spkcpo('JUICE', et, 'MYTOPO', 'OBSERVER', 'LT+S', obspos, 'EARTH', 'ITRF93')

# convert to polar coordinates
position = state_vector[0:3] # km
velocity = state_vector[3:6] # km/s

print(np.linalg.norm(velocity))

r, az, el = spiceypy.recazl(position, azccw=False, elplsz=True)

print(r, np.degrees(az), np.degrees(el))
Reasons:
  • Blacklisted phrase (1.5): I would like to know
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Akut Luna

79541728

Date: 2025-03-28 14:46:35
Score: 1
Natty:
Report link

I figured out the problem. The command worked fine when I ran it manually, and I eventually discovered that my automation script omitted the path to the cup file when passing the parameters.

Reasons:
  • Whitelisted phrase (-2): I figured out
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: kmar

79541723

Date: 2025-03-28 14:44:34
Score: 6.5 🚩
Natty: 5
Report link

Is that what are you looking for? https://uikit.plus/snippets/uikit-navigation-wrapping-67e689903549eccccc871a8b

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is that
  • Low reputation (0.5):
Posted by: Gordon Freeman

79541722

Date: 2025-03-28 14:43:33
Score: 1.5
Natty:
Report link

Today, one of my users encountered this error in docekr + Nuxt3. The auth secret configured by the environment variable was roughly: NUXT_AUTH_SECRET: "20250320". I asked him to try to add a letter to the number, and the error message disappeared. It seems that pure numbers cannot be used as the secret of jwt? I recorded it here and hope it will be helpful to everyone~

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 月上老狗

79541719

Date: 2025-03-28 14:42:33
Score: 0.5
Natty:
Report link

In this context GraphQL should be seen as a higher level protocol than HTTP. Standard HTTP mechanisms for evaluating availability still work, but may not provide the full picture, while still being valid. Still a non-2xx response code for HTTP is a valid indicator or error.

What you are asking is similar to trying to evaluate availability of HTTP just by relying on TCP metrics (lower level transport protocol).

There isn't a well established mechanism that is de-facto standardized. What makes it even tricky is that GraphQL can also work over other transports (WebSocket or MQTT).

If you are using a popular off the shelf GraphQL server likely it already has some metrics that it provides.

If you are using a custom implemented the following custom metrics could indicate issues:

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

79541703

Date: 2025-03-28 14:34:30
Score: 6.5 🚩
Natty: 4
Report link

is the spark support removed now https://github.com/alteryx/featuretools/releases/tag/v1.31.0

any plans to add the spark support in later versions ?

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): is the
  • Low reputation (1):
Posted by: Shashikant Deore

79541691

Date: 2025-03-28 14:31:29
Score: 2.5
Natty:
Report link

First, like I see others also said already, I don't think you should be keeping the token in the local storage.

I believe localStorage.removeItem should work, perhaps your name/path to the token ('accessToken') is incorrect.

I see it's a pretty old question, but hopefully that could help someone else. =)

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

79541684

Date: 2025-03-28 14:29:29
Score: 0.5
Natty:
Report link

Do the genes have to be strictly consecutive (i.e. adjacent) ? if not:

You can get the duplicated genes, then for each of them get all the rows that match it, then loop over them to add a suffix


import pandas as pd

df_genes_data = {"gene_id": ["g0", "g1", "g1", "g2", "g3", "g4", "g4", "g4"]}
df_genes = pd.DataFrame.from_dict(df_genes_data)
print(df_genes.to_string())

duplicated_genes = df_genes[df_genes["gene_id"].duplicated()]["gene_id"]
for gene in duplicated_genes:
    df_gene = df_genes[df_genes["gene_id"] == gene]
    for i, (idx, row) in enumerate(df_gene.iterrows()):
        df_genes.loc[idx, "gene_id"] = row["gene_id"] + f"_TE{i+1}"

print(df_genes)

out:

  gene_id
0      g0
1  g1_TE1
2  g1_TE2
3      g2
4      g3
5  g4_TE1
6  g4_TE2
7  g4_TE3

if they have to be strictly adjacent then the answer would change

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

79541682

Date: 2025-03-28 14:29:29
Score: 1.5
Natty:
Report link

no library will be good, so craft all encoding by hand or patch some library

Well... for this case, you need a deep knowledge of how ffmpeg works. I found a free book on Google search.

use library that allows such low level manipulation of key frames metadata

There is an example of how to parse MP4 file in Rust: dump-frames.rs

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Thor-x86_128

79541678

Date: 2025-03-28 14:27:28
Score: 1
Natty:
Report link

This is hole counting

Hole 1 = (0,0)(1,0)(2,0)(2,1)(2,2) all connected so one hole

Hole 2 = (1,3)

Hole 3 = (3,4)

In the second example the 3 zeroes is hole and (1,3) last is another hole

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Kris Swat

79541673

Date: 2025-03-28 14:25:27
Score: 4
Natty:
Report link

After 2 days of searching, I didn't find any solution so, I just use react-hook-observer and threshold works as intended, I do not know whether or not it's react thing that threshold doesn't work but I couldn't find any answers online. So for now I am happy to share that everything works much better.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Zura Gabichvadze

79541666

Date: 2025-03-28 14:20:26
Score: 0.5
Natty:
Report link

By using the g++ -S main.cpp to generate main.s, we can see that _ZN4BaseD1Ev is an alias for _ZN4BaseD2Ev. I believe this is a compiler optimization: in the absence of virtual base classes, the complete object destructor can reuse the implementation of the base object destructor, that is, both share the same code.

.size   _ZN4BaseD2Ev, .-_ZN4BaseD2Ev
.weak   _ZN4BaseD1Ev
.set    _ZN4BaseD1Ev,_ZN4BaseD2Ev
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: xxllxx666

79541660

Date: 2025-03-28 14:19:26
Score: 0.5
Natty:
Report link

Super late to the party but I've been looking into this more deeply recently and I think there is a bit more to it then what I've seen in the answers and I think anyone else researching this subject might benefit.

1.) Key encryption does offer some theoretical security benefits when we are talking about large amounts of plain text data. It can be used to help mitigate exhaustion by rotating the key used to encrypt the data (DEK) and encrypting the DEK with the key encryption key (KEK) => envelope encryption. The encrypted DEK and data ciphertext are stored together. The idea here is that for very large data sets many DEKs will be used to avoid exhaustion and much fewer KEKs will be involved when designed correctly. This is useful for data at rest encryption (very common) and communication between endpoints with very large and sensitive traffic (more niche). AWS and google cloud services have APIs to support all this.

2.) The performance benefits can be realized even with symmetric encryption schemes. Some key derivation functions (KDF) used to generate symmetric keys can be very memory and processor intensive by design (ie certain Argon2 configurations). One could use keys derived from these type of KDFs as the KEK and use a cryptographic RNG (very fast) for the data key generation. In this case, it isn't really the encryption that is faster or slower but the key derivation. This is roughly how Windows BitLocker works (although I think they use PBKDF, not Argon2). Of course, this only applies to password based encryption but I thought it was worth mentioning.

NOTE: OP said "Then encrypt both the key and the file with public/private key." But only the symmetric key should be encrypting the plaintext (file). The KEK (public/private key) should only be used to encrypt the DEK. Otherwise you would see no performance benefit since you'd be decrypting the plaintext twice using both algorithms.

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

79541643

Date: 2025-03-28 14:09:23
Score: 1
Natty:
Report link

You can use __groovy() function like:

${__groovy(URLDecoder.decode('%02'\, 'ASCII'),)}

and

${__groovy(URLDecoder.decode('%03'\, 'ASCII'),)}

More information: How to Send Control Characters Using the JMeter TCP Sampler?

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Ivan G

79541638

Date: 2025-03-28 14:07:23
Score: 3
Natty:
Report link

Im not sure why the problem occured, but updating the playwright package to the latest version fixed it

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

79541634

Date: 2025-03-28 14:06:22
Score: 1.5
Natty:
Report link

This apps script allows to replace the , to | only if you set the advance option in data validation like below

function onEdit(e) {
  const sh = e.value.replace(/,\s/g,"|");
  if(e.range.getDataValidation())
  {
    var list = String(sh).split('|');
    var uniq = [...new Set(list)];
    e.range.clear();
    e.range.setValue(uniq.join("|"));
  }
}

enter image description here

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

79541629

Date: 2025-03-28 14:04:22
Score: 0.5
Natty:
Report link

from pptx import Presentation

from pptx.util import Inches

# Create a PowerPoint presentation

ppt = Presentation()

# Slide 1: Title Slide

slide_layout = ppt.slide_layouts[0] # Title Slide Layout

slide = ppt.slides.add_slide(slide_layout)

title = slide.shapes.title

subtitle = slide.placeholders[1]

title.text = "Transport of Carbon Dioxide & Hamburger Phenomenon"

subtitle.text = "A Detailed Explanation"

# Slide 2: Introduction to CO2 Transport

slide_layout = ppt.slide_layouts[1] # Title and Content Layout

slide = ppt.slides.add_slide(slide_layout)

title = slide.shapes.title

content = slide.placeholders[1]

title.text = "Introduction to Carbon Dioxide Transport"

content.text = "Carbon dioxide is transported in the blood through three main mechanisms:\n\n"

content.text += "1. Dissolved in plasma (7-10%)\n"

content.text += "2. Bound to hemoglobin as carbaminohemoglobin (20-30%)\n"

content.text += "3. As bicarbonate ions (HCO3-) (60-70%)\n\n"

content.text += "The majority of CO2 is carried as bicarbonate ions in the plasma."

# Slide 3: CO2 Transport in Detail

slide = ppt.slides.add_slide(slide_layout)

title = slide.shapes.title

content = slide.placeholders[1]

title.text = "Detailed CO2 Transport Mechanisms"

content.text = "1. Dissolved in Plasma: A small percentage of CO2 dissolves directly into plasma.\n"

content.text += "2. Carbaminohemoglobin: CO2 binds to hemoglobin at different sites than O2.\n"

content.text += "3. Bicarbonate Formation: CO2 reacts with water in RBCs to form carbonic acid, which dissociates into H+ and HCO3-."

# Slide 4: Hamburger Phenomenon (Chloride Shift)

slide = ppt.slides.add_slide(slide_layout)

title = slide.shapes.title

content = slide.placeholders[1]

title.text = "Hamburger Phenomenon (Chloride Shift)"

content.text = "• Inside RBCs, CO2 combines with H2O to form HCO3- and H+.\n"

content.text += "• HCO3- diffuses into plasma, and Cl- enters the RBC to maintain electrochemical balance.\n"

content.text += "• This process is called the 'Chloride Shift' or 'Hamburger Phenomenon'."

# Slide 5: Reverse Chloride Shift

slide = ppt.slides.add_slide(slide_layout)

title = slide.shapes.title

content = slide.placeholders[1]

title.text = "Reverse Chloride Shift"

content.text = "• In the lungs, HCO3- reenters RBCs, and Cl- moves out.\n"

content.text += "• HCO3- combines with H+ to form H2CO3, which breaks into CO2 and H2O.\n"

content.text += "• CO2 is then exhaled through the lungs."

# Slide 6: Conclusion

slide = ppt.slides.add_slide(slide_layout)

title = slide.shapes.title

content = slide.placeholders[1]

title.text = "Conclusion"

content.text = "• CO2 transport occurs through plasma, hemoglobin, and bicarbonate ions.\n"

content.text += "• The Hamburger phenomenon helps maintain ionic balance during CO2 transport.\n"

content.text += "• The reverse chloride shift facilitates CO2 exhalation in the lungs."

# Save the PowerPoint file

ppt_filename = "/mnt/data/CO2_Transport_Hamburger_Phenomenon.pptx"

ppt.save(ppt_filename)

ppt_filename

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

79541628

Date: 2025-03-28 14:04:22
Score: 0.5
Natty:
Report link
    my $number=12.2342342342;
    my $floatDecimal=2;
    if ($number=~/(\d{1,99})\.(\d{1,99})/){
      my $sTun=substr($2, 0, $floatDecimal);
      $number=$1.".".$sTun;
      print "Number:".$number;
    }
    #Number:12.23
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Babbo Natale

79541627

Date: 2025-03-28 14:03:21
Score: 2
Natty:
Report link

The above method did work and the key was to use "from osgeo import gdal" instead of "import gdal". The gdal code that I copied from elsewhere had errors. When I corrected the code it worked.

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

79541618

Date: 2025-03-28 13:59:20
Score: 0.5
Natty:
Report link

Turns out ADO pipelines makes a shallow clone of the repo, which means that there's only 1 commit, thus causing `git rev-list --count HEAD` to return 1.

To fix it, force the pipeline to fetch everything:

    - checkout: self
      fetchDepth: 0
      persistCredentials: true
      clean: false
      displayName: Checkout
    - script: |
          git rev-list --count HEAD
      displayName: "git count"
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: MikkelT

79541613

Date: 2025-03-28 13:57:19
Score: 4
Natty:
Report link

You should use the NullUUID type which is described in the uuid package from google.
https://github.com/google/uuid/blob/master/null.go

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

79541604

Date: 2025-03-28 13:51:18
Score: 2.5
Natty:
Report link

Just simply slice the n first characters of the path.stem string like this :
path.stem[n:]

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

79541602

Date: 2025-03-28 13:50:18
Score: 2
Natty:
Report link

Are you using the same versions for GenKit and GenKit-AI/Firebase? They should both be the same. They're currently at version 1.0.5.

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

79541600

Date: 2025-03-28 13:49:17
Score: 2.5
Natty:
Report link

If device is online and you call setVoice(...) on TTS engine this will trigger the download process of voices that are not installed yet

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

79541592

Date: 2025-03-28 13:46:17
Score: 2.5
Natty:
Report link

=List.Generate(()=>[x=#date(2024,1,1),i=0], each [i]<12, each [i=[i]+1,x=Date.AddMonths([x],1)], each [x])

this list 12 months. you can loop chaining 12 in expression "[i]<12"

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bia Barbara Masola

79541579

Date: 2025-03-28 13:43:15
Score: 7.5 🚩
Natty: 4.5
Report link

did u get it the answer? let me know if possible

Reasons:
  • RegEx Blacklisted phrase (3): did u get it the answer
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did
  • Low reputation (1):
Posted by: Sakibur Rahman

79541578

Date: 2025-03-28 13:42:14
Score: 1.5
Natty:
Report link

Anyone who come to this thread, this is my solution, its because the file encoding

Use Visual Code, change the YAML file to use encoding UTF-8.enter image description here

Make sure it is UTF-8.

Reasons:
  • Whitelisted phrase (-2): this is my solution
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kris Komba

79541564

Date: 2025-03-28 13:39:14
Score: 1
Natty:
Report link

Another option:

cat /etc/issue

It returns short one line version:

Ubuntu 20.04.6 LTS \n \l
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Peter

79541557

Date: 2025-03-28 13:36:12
Score: 6 🚩
Natty:
Report link

I tried it out on the basis of an online tutorial. In this tutorial, a queue is used in the context object for the elements to be processed.

I don't really like my solution. But switching to a solution with a list did not work.

<?xml version="1.0" encoding="UTF-8"?>
<job id="hugeImport" xmlns="https://jakarta.ee/xml/ns/jakartaee" version="2.0">
    <step id="dummyItems" next="chunkProcessor">
        <batchlet ref="dummyItemsBatchlet">
            <properties>
                <property name="numberOfDummyItems" value="10"/>
            </properties>
        </batchlet>
    </step>

    <step id="chunkProcessor" next="reloadItemsQueue_001">
        <chunk>
            <reader ref="itemReader">
                <properties>
                    <property name="numberOfItems" value="2"/>
                </properties>
            </reader>
            <processor ref="itemMockProcessor"/>
            <writer ref="itemJpaWriter"/>
        </chunk>
        <partition>
            <plan partitions="2"></plan>
        </partition>
    </step>

    <step id="reloadItemsQueue_001" next="chunkProcessortest">
        <batchlet ref="reloadItemQueueBatchlet">
        </batchlet>
    </step>

    <step id="chunkProcessortest">
        <chunk>
            <reader ref="itemReader">
                <properties>
                    <property name="numberOfItems" value="3"/>
                </properties>
            </reader>
            <processor ref="itemMockProcessor"/>
            <writer ref="itemJpaWriter"/>
        </chunk>
        <partition>
            <plan partitions="2"></plan>
        </partition>
    </step>
</job>
public class ImportItem {
    private Long id;
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public ImportItem(long id, String name) {
        this.id = id;
        this.name = name;
    }

    @Override
    public String toString() {
        return "ImportItem{" + "id=" + id + ", name=" + name + '}';
    }
}
import java.util.List;

public class ImportItems {

    private List<ImportItem> items;

    public List<ImportItem> getItems() {
        return items;
    }

    public void setItems(List<ImportItem> items) {
        this.items = items;
    }

}
import jakarta.batch.runtime.context.JobContext;
import jakarta.inject.Inject;
import jakarta.inject.Named;

import java.util.*;
import java.util.concurrent.ConcurrentLinkedQueue;

@Named
public class ImportJobContext {
    @Inject
    private JobContext jobContext;

    private final Queue<ImportItem> itemsToDo = new ConcurrentLinkedQueue<>();
    private final Queue<ImportItem> itemsForNextStep = new ConcurrentLinkedQueue<>();

    public void addItems(List<ImportItem> items) {
        getImportJobContext().itemsToDo.addAll(items);
    }

    public synchronized void reloadQueue(){
        getImportJobContext().itemsToDo.clear();
        getImportJobContext().itemsToDo.addAll(getImportJobContext().itemsForNextStep);
        getImportJobContext().itemsForNextStep.clear();
    }

    public synchronized List<ImportItem> getItems(int count) {
        List<ImportItem> items = new ArrayList<>(count);
        for (int i = 0; i < count; i++) {
            var item = getImportJobContext().itemsToDo.poll();

            if(item == null) {
                continue;
            }

            items.add(item);
            getImportJobContext().itemsForNextStep.add(item);
        }

        return items.isEmpty() ? null : items;
    }

    private ImportJobContext getImportJobContext() {
        if (jobContext.getTransientUserData() == null) {
            jobContext.setTransientUserData(this);
        }
        return (ImportJobContext) jobContext.getTransientUserData();
    }
}
import jakarta.batch.api.AbstractBatchlet;
import jakarta.batch.api.BatchProperty;
import jakarta.batch.runtime.BatchStatus;
import jakarta.inject.Inject;
import jakarta.inject.Named;

import java.util.ArrayList;
import java.util.List;

@Named
public class DummyItemsBatchlet extends AbstractBatchlet {

    @Inject
    private ImportJobContext jobContext;

    @Inject
    @BatchProperty
    private String numberOfDummyItems;

    @Override
    public String process() throws Exception {

        List<ImportItem> list = new ArrayList<>();
        for(int i=0; i<Integer.parseInt(numberOfDummyItems); i++){
            list.add(new ImportItem(i, "dummyItem" + i));
        }
        jobContext.addItems(list);

        return BatchStatus.COMPLETED.name();
    }
}
import jakarta.batch.api.BatchProperty;
import jakarta.batch.api.chunk.AbstractItemReader;
import jakarta.inject.Inject;
import jakarta.inject.Named;

import java.util.List;

@Named
public class ItemReader  extends AbstractItemReader {

    @Inject
    ImportJobContext importJobContext;

    @Inject
    @BatchProperty
    private String numberOfItems;

    @Override
    public List<ImportItem> readItem() throws Exception {

        int numberOfWorkerItems = 2;
        if(numberOfItems != null){
            numberOfWorkerItems = Integer.parseInt(numberOfItems);
        }

        return importJobContext.getItems(numberOfWorkerItems);
    }
}
import jakarta.batch.api.chunk.ItemProcessor;
import jakarta.inject.Named;

@Named
public class ItemMockProcessor implements ItemProcessor {

    @Override
    public Object processItem(Object o) throws Exception {
        System.out.println("--> processing " + o);
        return o;
    }
}
import jakarta.batch.api.chunk.AbstractItemWriter;
import jakarta.inject.Named;

import java.util.List;

@Named
public class ItemJpaWriter  extends AbstractItemWriter {

    @Override
    public void writeItems(List<Object> list) throws Exception {

        for (Object obj : list) {
            List<ImportItem> item = (List<ImportItem>) obj;
            System.out.println("--> Persisting " + item);
        }
    }
}
@Named
public class ReloadItemQueueBatchlet  extends AbstractBatchlet {

    @Inject
    private ImportJobContext jobContext;

    @Override
    public String process() throws Exception {
        System.out.println("ReloadItemQueueBatchlet.process");
        jobContext.reloadQueue();

        return BatchStatus.COMPLETED.name();
    }
}

Can you please give me tips on how I can optimize the code?

Reasons:
  • Blacklisted phrase (1): this tutorial
  • Blacklisted phrase (1): did not work
  • RegEx Blacklisted phrase (2.5): Can you please give me
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Net_Hans

79541551

Date: 2025-03-28 13:34:09
Score: 10.5 🚩
Natty: 6
Report link

im having the same doubt, can you show me what your ajax request looks like ??

thanks in advance.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (2.5): can you show me what your
  • RegEx Blacklisted phrase (3): thanks in advance
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sebastián Suazo

79541549

Date: 2025-03-28 13:34:09
Score: 1.5
Natty:
Report link

You can add this dependency

<dependency>
   <groupId>org.mapstruct</groupId>
   <artifactId>mapstruct-processor</artifactId>
</dependency>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vifieh

79541548

Date: 2025-03-28 13:33:09
Score: 1.5
Natty:
Report link

Had same issues, found this thread, many of the solutions either didn't work, or disabled or broke local debugging.

Eventually found a solution that allowed my app to run in VS2022 IDE, start browser (Chrome) by default, and still allow local debugging. Sharing what worked in my case, for anyone else searching later for a solution that doesn't break local debugging....

This was specifically for a Blazor Web Assembly project ; which was being setup to deploy to a self hosted IIS environment as a Sub-Application (ie, a subsite, or not on the root site)- which required other configuration changes as well to make it run locally again (steps 1 and 2); then some part of those changes created the "debugger" issue... step 3 is what specifically fixed the debugger issue, but I'm listing steps 1 and 2 as well in case they had hidden meaning to the issue at hand....

In file Properties/launchSettings.json, for your launch profile(s):

  1. Add property “commandLineArgs” to include the updated base path for your project, without trailing slash:
    "commandLineArgs": "--pathbase=/WASMTestProj",

  2. Add 2nd property “launchUrl” to include the updated project name, without any slashes:
    "launchUrl": "WASMTestProj

  3. In launchSettings.json , update the inspectUri value to also include your project name
    "inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/WASMTestProj/_framework/debug/ws-proxy?browser={browserInspectUri}"

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

79541547

Date: 2025-03-28 13:33:09
Score: 0.5
Natty:
Report link
FOR /F "tokens=*" %%F IN ('dir /b *.heic') DO (
    rem Converter HEIC para PNG com nomes diferenciados
    ffmpeg -i "%%F" -map 0 "%%~nF_%%d.png"
    
    rem Criar mosaico de imagens em um único arquivo PNG
    ffmpeg -i "%%~nF_%%d.png" -vf "tile=8x6" "%%~nF.jpg"
        
    del %%~nF_*.png
    rem del %%F
)

This DOS script converts all HEIC photos for IPHONE 12 pro in the current directory.
Comment out the last line if you want to exclude the original files.
PS 1: A border is set around because it is acctually in the file, but is not shown in the HEIC version.
PS 2: Guess you may need to adjust the TILE option in case your photo is from another IPHONE version,

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: DFOM_BRz

79541546

Date: 2025-03-28 13:33:09
Score: 3
Natty:
Report link

I think I came across this only because I sent too much to the e-mail address I tested while testing, when I sent it to a different e-mail address, my logo appeared directly.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Öztürk Şirin

79541541

Date: 2025-03-28 13:31:08
Score: 0.5
Natty:
Report link

My bad!

I was trying to create the input and output pointing at another existing SAJ resource .

the error was here:

stream_analytics_job_name = azurerm_stream_analytics_job.saj_json.name

should have been

stream_analytics_job_name = azurerm_stream_analytics_job.saj.name

Though, weird error from the Azure API :-)

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

79541533

Date: 2025-03-28 13:23:04
Score: 6.5 🚩
Natty: 5.5
Report link

do you find out the reason for this error message? I was using Business central and get the same error message. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): get the same error
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: IndianWells

79541528

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

You can add the db check contraint in the type attribute of the column definition.

sequelize

  sequelize.define(
    'products',
    {
      price: {
        type: 'numeric CHECK (price > 0)',
        ...
      },
    },
  )

sequelize-typescript

  @Column({
    type: 'numeric CHECK (price > 0)', // instead of DataType.NUMBER
    ...
  })
  declare price: number

You can also add them using migrations. See: https://stackoverflow.com/a/51076516/6192751

You can also use js validations to accomplish this on the client side. See: https://github.com/sequelize/sequelize-typescript/issues/576#issuecomment-485383173

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Enogwe Victor

79541527

Date: 2025-03-28 13:21:03
Score: 4
Natty:
Report link

With different version of llvm, different argument required

https://github.com/lich4/llvm-pass-hikari

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

79541519

Date: 2025-03-28 13:17:03
Score: 1.5
Natty:
Report link

Maybe this can help you : https://www.npmjs.com/package/easter-eggs.ts

    new EasterBuilder()
  .setTriggerHandler(new KeyboardInputTrigger()
    .addKeyboardTrigger("KeyL") // Luke Skywalker, obviously
    .addKeyboardTrigger("KeyV") // Vader, the one who really needs to control this situation
    .addKeyboardTrigger("KeyE")) // Everyone knows the force is with you if you press 'E'
  .setActionHandler(new ForceActionHandler(() => alert("The Force is strong with you!")));

You can create easily easter-eggs

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

79541505

Date: 2025-03-28 13:10:01
Score: 3.5
Natty:
Report link

Thanks, but I am not able to replicate the issue anymore.

Not sure it will help, but here is what happen to me:

Had this issue after an Android Studio and an AGPlugin update, and after reading that, I've just tried a computer reboot with a clean build folder, then the error disappeared.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I am not able to
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Robert

79541500

Date: 2025-03-28 13:09:01
Score: 2.5
Natty:
Report link

Found the problem. I was assigning to form.country an object with the property dial_code from an external JSON with all the countries.

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

79541498

Date: 2025-03-28 13:09:01
Score: 2
Natty:
Report link

If you are passing the password to the connection string, pyodbc automatically tries to use SQL Server authentication, because it is only one authentication method which supports password passing to connection string.

But your code is using Active Directory authentication which isn't supports the authentication with password.

You should use passwordless authentication, if your code is running on Windows machine, you could use this guide to setup paswordless auth - Migrate a Python application to use passwordless connections with Azure SQL Database , if it is running on Linux machine you should configure Kerberos first - Authenticating a Linux or macOS Computer with Active Directory

Reasons:
  • Blacklisted phrase (1): this guide
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Qwedon

79541494

Date: 2025-03-28 13:06:00
Score: 1
Natty:
Report link

Had the same problem, I was able to fix it setting a new environment variable for keycloak:

- KEYCLOAK_FRONTEND_URL=http://localhost:8012/auth

But Im not sure if it is the best option (i post a new question here Keycloak - Java App Redirect within Docker)

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

79541492

Date: 2025-03-28 13:04:00
Score: 2
Natty:
Report link

I am running in to the same issue, I have a t4g.small (2 vCPU & 2GB RAM), I have added 1GB or swap and it is still hanging.

I have run the same NPM install on smaller instances, not on AWS, and they run absolutely fine.

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

79541489

Date: 2025-03-28 13:04:00
Score: 2
Natty:
Report link

You're in luck, the standard MFT file watcher job allows you to monitor for 5 files -

  1. Create a File Transfer job in Planning (drag down from the Templates Manager, top left).

  2. Use the file watcher or file watcher with copy option (has a eyeball as part of the icon).

  3. Press the + button to add more watchers (5 max).

  4. Use * for wildcards or single ? to substitute for a single character.

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

79541486

Date: 2025-03-28 13:02:59
Score: 1
Natty:
Report link
#include <iostream>
#include <cstdlib>
using namespace std;

int main(int argc, char*argv[]) {

    int size = atoi(*(argv + 1));
    if (argc < 2 || argc != size + 2) {
        cout << "에러";
        return 0;
    }

    int* arr = new int[size];

    for (int i = 0; i < size; ++i) {
        *(arr + i) = atoi(*(argv + i + 2));
    }
    for (int i = size - 1; i >= 0; --i) {
        cout << *(arr + i) << " ";
    }
    cout << "/n";

    delete[] arr;
    return 0;
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: MINA HAN

79541483

Date: 2025-03-28 13:01:59
Score: 5.5
Natty:
Report link

By searching the MicroC PRO IDE forums, it seems to you to enable the ADC option under the Library Manager. Does this solve your problem?

Reasons:
  • RegEx Blacklisted phrase (1.5): solve your problem?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
Posted by: pm101

79541481

Date: 2025-03-28 13:01:59
Score: 4.5
Natty: 4
Report link

Try this plugin https://moodle.org/plugins/quizaccess_quizproctoring which has more advanced feature including live proctoring.

Reasons:
  • Blacklisted phrase (1): this plugin
  • Whitelisted phrase (-1): Try this
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mahendra Soni

79541473

Date: 2025-03-28 12:56:57
Score: 3
Natty:
Report link

I know this is an old question, but just in case it is still useful for someone. I wanted to know the IP address of the connected device (a Raspberry Pi Zero 2W) and I had to resort to write a python script on this client that sends me a WhatsApp message with its IP address as soon as it connects to the Android 14 hotspot. Later on I discovered that nmcli in a terminal application on my phone (ConnetBot) gives me the information I need.

Regards.

Reasons:
  • Blacklisted phrase (1): Regards
  • Blacklisted phrase (0.5): I need
  • No code block (0.5):
  • Low reputation (1):
Posted by: Antonio Garcia

79541469

Date: 2025-03-28 12:55:57
Score: 2
Natty:
Report link

Try to use package: instead of packageForLinux:

https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/azure-web-app-v1?view=azure-pipelines

package: '$(System.DefaultWorkingDirectory)/**/*.zip' # string. Required. Package or folder. Default: $(System.DefaultWorkingDirectory)/**/*.zip.
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: EricL

79541467

Date: 2025-03-28 12:53:57
Score: 2
Natty:
Report link

This is a issue with the deprecated Flutter V1 libraries on Android.

Updating to the latest version of the `awesome_notifications` plugin(v 0.10.1) show do fix this as the issue has been fixed by the plugin authors.

awesome_notifications plugin versions 0.10.1

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

79541466

Date: 2025-03-28 12:53:57
Score: 1
Natty:
Report link

The cells were hardcoded in the below code, and therefore they were only called once. I added this code into the tableView cell for row at function and it resolved the issue as it updated the variable every time the app loaded in:

var WeatherForecastCells: [WeatherCell] = [
        
        
        WeatherCell(image: "", date: date1ForTableView.string(forKey: "Date1")!, low: "18°", high: "31°"),
      ...
   ]
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Train Lover

79541460

Date: 2025-03-28 12:50:56
Score: 2.5
Natty:
Report link

I'm not very well-versed in FastAPI, but in Django this problem is solved by adding "docker" (or an alias) to ALLOWED_HOSTS. It seems that in FastAPI you can try to achieve this with Starlette’s TrustedHostMiddleware.

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

79541452

Date: 2025-03-28 12:44:54
Score: 1.5
Natty:
Report link
conda activate FaceFusionFree 激活失败的话

查看conda列表:
conda info --envs
# conda environments:
#
                               C:\miniconda3
base                        D:\FaceFusionFree\Miniconda3
facefusion               D:\FaceFusionFree\Miniconda3\envs\facefusion

conda activate C:\miniconda3
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30092863

79541450

Date: 2025-03-28 12:44:54
Score: 4
Natty:
Report link

Ever found a solution to this? I'm facing the same going from Xcode 15.3 to Xcode 16.2.

https://developer.apple.com/forums/thread/776427

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Yonic Surny

79541445

Date: 2025-03-28 12:41:53
Score: 0.5
Natty:
Report link

The .exe files manipulate data files which have a FILE FORMAT which is the key to viewing it. If you know the program name and the file extensions .123 letter ending often times you can get into the files by making a quickie.com to reformat them to a format that is commonly used on modern computers. You don't have to hack the .EXE to get the .DFB files data type thing. Add info about your program and the files here and maybe you can find the help needed. Have you tried loading them into an editor. Some editors load many different types of files.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bitdog

79541444

Date: 2025-03-28 12:41:53
Score: 1.5
Natty:
Report link

Unity 6 started doing this to me out the blue. Rebooting my Windows PC fixed it.

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

79541436

Date: 2025-03-28 12:38:53
Score: 2.5
Natty:
Report link

I managed to resolve the issue. I added an "external" onChange handler to my select box properties. The handler comes from the parent table and it rewrites the columns model on the update event. The sandbox project now works as expected

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

79541434

Date: 2025-03-28 12:36:52
Score: 2.5
Natty:
Report link

str uses Unicode encoding while bytes uses ASCII encoding

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

79541431

Date: 2025-03-28 12:34:52
Score: 2.5
Natty:
Report link

In response to this post being over 10 years old: I dont care how old this post was, it downgraded the "impossible" to "highly improbable" and was the solution to a 3 month long issue. ( A 1 in a million chance of success is astronomically greater than an absolute zero chance of success.) I had an ALFA adapter AWSU036AC with the RTL88xx chipset, that was no longer working after a kernel update. No matter what I tried it simply would not work. Months went by. Wound up using a git checkout command to switch branches and got it working again. Awesome!!! Right?...WRONG!!! While the fix that was applied got the dead adapter working again, from that point forward, I could no longer use apt to update my Kali machine . It just spit out a missing key number and said it couldnt verify a signature. Thought I was going to have to do a fresh install. That would have Suckithed Muchly but, then I found this post, got the gist of the process, and was up and running again. In the end, I bought a different adapter with a better quality chipset. But this post saved invaluable data from the depths of a fresh install. !0 year old post? I dont care if it was created when Darpa first got the internet up and running. It still held its informative value. Thanks for keeping it available!!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 666c0y0t3

79541427

Date: 2025-03-28 12:32:51
Score: 5
Natty:
Report link

Check work of stackoverflow answers

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: gMihMih29

79541426

Date: 2025-03-28 12:32:51
Score: 1
Natty:
Report link

Replies to reviews are not supported by the Places API.

Please consider filing a feature request.

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

79541421

Date: 2025-03-28 12:30:50
Score: 2
Natty:
Report link

After updating code like below, it's started working fine.

  registry {
    server               = var.acr_registry_name
    identity             = "system"
  }

If proper documentation were provided from hashicorp would been better.
enter image description here

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

79541417

Date: 2025-03-28 12:30:50
Score: 1
Natty:
Report link

To connect to db in container from another container, here create_engine(f"postgresql://{self.user}:{self.password}@{self.host}:{self.port}")

the self.host should be your db docker container name as in docker compose. Should work like charm with postgres or other db.

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

79541401

Date: 2025-03-28 12:24:49
Score: 4.5
Natty:
Report link

Having the same issue and tried #Sannnekk answer and too my surprise the ng19 site runs fine with the Brave shield up...not down. Runs on Chrome and Edge too.

Disable shields on Brave and bam...

enter image description here

go figure.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the same issue
Posted by: Darren Street

79541396

Date: 2025-03-28 12:20:48
Score: 1.5
Natty:
Report link

I found the solution by going to Tools -> Import and export settings -> reset all settings -> then I reset both general and visual C++

Reasons:
  • Whitelisted phrase (-2): I found the solution
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Styder

79541394

Date: 2025-03-28 12:17:47
Score: 5
Natty: 5.5
Report link

Hi u can use this https://instagram-postid-extractor-production.up.railway.app/ I developed it recently

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

79541386

Date: 2025-03-28 12:13:46
Score: 3
Natty:
Report link

I'm interested in knowing this too. I can't get the QR token to work though. I've setup fully managed devices.

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

79541381

Date: 2025-03-28 12:10:45
Score: 1
Natty:
Report link
def registerPage(request):
    if request.method == 'POST':
        form=UserCreationForm(request.POST)
        if form.is_valid():
            form.save()
    else:
        form = UserCreationForm()
    context = {'form':form}
    return render(request, 'newapp/register.html', context)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Md Roni Ahamed

79541376

Date: 2025-03-28 12:08:45
Score: 4
Natty: 4.5
Report link

Did you try to change the billing settings from request-based to instance-based?

Reasons:
  • Whitelisted phrase (-2): Did you try
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Giuseppe Colello

79541374

Date: 2025-03-28 12:07:44
Score: 0.5
Natty:
Report link
public class  CMYKtoRGB {

    public static void main (String[]args) {

        double cyan = Double.parseDouble(args[0]);
        double magenta = Double.parseDouble(args[1]);
        double yellow = Double.parseDouble(args[2]);
        double black = Double.parseDouble(args[3]);
        double white = (1-black);

        int red = (int) Math.round ((255 * white * ( 1-cyan )));
        int green = (int) Math.round (( 255 * white * ( 1-magenta )));
        int blue = (int) Math.round  (( 255 * white * ( 1-yellow )));

        System.out.println( "red = "+ red );
        System.out.println( "green = "+  green );
        System.out.println( "blue = "+ blue );
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Hacker_18