79631051

Date: 2025-05-20 19:29:13
Score: 4
Natty:
Report link

Turns out it was Facebook crawling my site. I filtered that ISP out, and it's all good now. I also changed all the relative links to absolute just to be safe. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ddub74012

79631042

Date: 2025-05-20 19:24:11
Score: 1
Natty:
Report link
useEffect(() => {
  const resumeWorkflows = async () => {
    const steps = JSON.parse(await AsyncStorage.getItem('workflowSteps')) || [];
    for (const step of steps) {
      if (step.status === 'pendingnot' && step.step === 'quoteGenerated') {
        try {
          await sendEmailQuote(step.requestId);
          // update status to complete
        } catch (e) {
          // retry logic or leave as pending
        }
      }
    }
  };

  resumeWorkflows();
}, []);
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Navneet Panchayan

79631029

Date: 2025-05-20 19:18:09
Score: 0.5
Natty:
Report link

Runtime warning in sklearn KMeans

I note that when you imported from the module, you were utilizing the StandardScaler class.

Place this after pd.DataFrame

Snippet:

standard_scaler = StandardScaler()
df_scaled = scaler.fit_transform(standard_s)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79631027

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

I think you need to make the following changes:

Change

sei.lpVerb = L"runas";

to:

sei.lpVerb = NULL;
std::wstring wDistribution = L"Debian"; // Make sure case matches exactly, you can run wsl --list --verbose to find out 

Make sure your application is compiled for x64, not x86.

Change:

WaitForSingleObject(sei.hProcess, 2000);

To:

WaitForSingleObject(sei.hProcess, 10000); 

I ran your program with the above changes on my machine (which has WSL Ubuntu) and it appeared to work. Take a look at a relevant stackoverflow question.

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

79631020

Date: 2025-05-20 19:09:06
Score: 1.5
Natty:
Report link

Step #1: In Notebook Add init script for ffmpeg

dbutils.fs.put(
  "dbfs:/Volumes/xxxxxxx/default/init/install_ffmpeg.sh",
  """#!/bin/bash
apt-get update -y
apt-get install -y ffmpeg
""",
  overwrite=True
)

Step #2 Add init script to allowed list

Follow this article: https://learn.microsoft.com/en-us/azure/databricks/data-governance/unity-catalog/manage-privileges/privileges#manage-allowlist

enter image description here

Step #3 Add the init script in the cluster advanced setting

After creating this script, go to your cluster settings in Databricks UI (Clusters > Edit > Advanced Options > Init Scripts) and add the script path (dbfs:/Volumes/xxxxxxx/default/init/install_ffmpeg.sh). Restart the cluster to apply it. Once the cluster starts with this init script, FFmpeg will be installed and available on each node

Step 4: Start/Restart the cluster

Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Riley Cohen

79631015

Date: 2025-05-20 19:05:04
Score: 4
Natty: 4.5
Report link

perhaps the content of this post can help solve the problem.

https://www.baeldung.com/spring-boot-configure-multiple-datasources

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Marcos Roberto Moreira Vicente

79631012

Date: 2025-05-20 19:01:03
Score: 1.5
Natty:
Report link

Some mobile browsers don't correctly handle underscores in DNS records. This issue seems to related.

Try setting your domain up again using advanced setup (choose "Migrate a domain" in the custom domain setup flow). The setup process will have two steps instead of just one, but it should help you avoid this bug.

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

79631007

Date: 2025-05-20 18:53:01
Score: 2
Natty:
Report link

I had a similar problem; I noticed that when calling ax.get_xticks the ticks are just 0.5, 1.5, 2.5 etc. Calling ax.get_xticklabels gives the corresponding dates so one could then map between these. Using the x coords from the ticks places the vlines in the right location but you may need to play with the zorder to get the desired look.

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

79631006

Date: 2025-05-20 18:53:01
Score: 2.5
Natty:
Report link

Connor McDonald recently did a video on how/why to convert long to CLOB. Its worth watching and having your DBA implement.

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

79631001

Date: 2025-05-20 18:49:59
Score: 4.5
Natty:
Report link

Check the settings / Password and authenication https://github.com/settings/two_factor_authentication/setup/intro

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Костя Исупов

79630999

Date: 2025-05-20 18:45:58
Score: 1
Natty:
Report link

Even @Richard Onslow Roper answer wasn't quite the right answer, it directed me on the right path.

I didn't know what he meant by NATIVE INTELLIJ TERMINAL, if I click on the terminal button on the left bar of my IDE always zsh opened by default. So I gave bash in Intellij a try and bash couldn't recognize the adb command. Turns out I only added the directory of my sdk tools, like adb, to my zshrc. Also echo $PATH did return the same string, bash couldn't recognize adb, but zsh, so I just linked the adb to my /usr/bin with the following command:

ln -s <pathToPlatformTools>/adb /usr/bin/adb

Now it works lmao.

Reasons:
  • Blacklisted phrase (0.5): lmao
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: KastenKlicker

79630995

Date: 2025-05-20 18:43:57
Score: 0.5
Natty:
Report link

I finally got this working, NOT using the single sign-on suggestion previously mentioned.

a) The application needs to be Single Tenant to properly use CIAM with external providers such as google. This was the final fix. Because I was multi-tenant most of my implementation, I could never get a v2 access token for google auth until this is changed. Once it's changed, the rest "works".

b) When Logging in, use the scopes of:

"openid", "profile", "offline_access"

This will return a v1.0 token, but this is fine.
c) After logging in, request an Access Token using a scope of:

api://<yourappid>/api.Read

or whatever custom API scope you have created. THIS will request a v2.0 JWT access token through CIAM with all the appropriate scopes and claims on it.
d) In the app registration -> token configuration -> email claim for Access Token, and magic. Works as expected.

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

79630994

Date: 2025-05-20 18:43:57
Score: 0.5
Natty:
Report link

You can modify this behavior in your settings.json file by altering the git.postCommitCommand setting.

The setting calls an action after a commit:

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

79630992

Date: 2025-05-20 18:42:57
Score: 1.5
Natty:
Report link

As of plotnine 0.14.5 , I use save():

from plotnine import ggplot, aes, geom_point
from plotnine.data import mtcars

p = (ggplot(mtcars, aes('disp', 'mpg'))
    + geom_point()
)
p.save("scatter.jpg")

enter image description here

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

79630987

Date: 2025-05-20 18:38:56
Score: 1.5
Natty:
Report link

I faced the same issue, I'm using github-checks plugin,
If you want to disable this behavior,
Go to your you pipeline (works with multi-branch) -> Check Skip GitHub Branch Source notifications ( Under Status Checks Properties)

PS: I know this is a very late solution for your problem, but I have faced the same issue, no resource was helpful to me and this question popped up when I looked for an answer.

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

79630982

Date: 2025-05-20 18:34:55
Score: 1
Natty:
Report link

Your id used Integer, because of that your Usr.id is defined as an Integer, and because you are trying to compare it to a string.

Snippet:

Usr.id == int("1")

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

79630978

Date: 2025-05-20 18:28:53
Score: 2
Natty:
Report link

Password grant requires client_id and client_secret. Try below parameters.

curl --location \
  --request POST \
  'https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'client_id={clientId}' \
  --data-urlencode 'client_secret={clientSecret}' \
  --data-urlencode 'username={username}' \
  --data-urlencode 'password={password}' \
  --data-urlencode 'scope=User.Read profile openid email' \
  --data-urlencode 'grant_type=password'

You may want to use any default scope like email incase it still doesn't work.

Reasons:
  • RegEx Blacklisted phrase (2): it still doesn't work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jay Dudhatra

79630975

Date: 2025-05-20 18:27:52
Score: 4
Natty:
Report link

Thanks Beach Vue. This gives me the same error, unfortunately:

enter image description here

Here is my body:

enter image description here

And here are the scripts:

enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jeremiah

79630968

Date: 2025-05-20 18:23:51
Score: 0.5
Natty:
Report link

You can include comments in multi-line commands using command substitution like this:

echo \
  `# comment` \
  -n hello

or using the : no-op command:

echo \
  $( : # comment ) \
  -n hello
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Seb T

79630966

Date: 2025-05-20 18:19:50
Score: 2
Natty:
Report link

These terminal commands may help you.

flutter config --enable-web
flutter run -d chrome
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Onur Bulut

79630963

Date: 2025-05-20 18:15:49
Score: 0.5
Natty:
Report link

I know this question is old, but one I would like to answer because still relevant today. And I am going to try answer using real world experience rather than text-book theory though I will say that on @Robert Harverys answer referencing Martin Fowler that CQRS fits extremely well with Event Sourcing. I would agree on that and go as far and say that they go hand-in-hand. EventSourcing - CQRS

Short Answer:
All of the successful CQRS implementations I have seen have been on event-based architectures. More specifically using the event sourcing pattern. If used without an event-based design such as Event Sourcing you risk extra complexity in your services. https://medium.com/@mbue/some-thoughts-on-using-cqrs-without-event-sourcing-938b878166a2

How I have seen and have implemented CQRS successfully:
In all projects using the event sourcing pattern. Typically each DDD microservice Aggregate Root would implement CQRS.

The Commands
Having 1 Command Endpoint. (i.e. POST https://customer-service/command). The command endpoint would accept a JSON command say "UpdateCustomer". An aggregate root (Mediator pattern) would validate the command schema and publish the event CustomerUpdated to the event store/hub. Any service interested in customer data will be subscribed, even the same service (customer-service) would listen and form projections in memory, or shared state db (redis, cosmos, sql).

The Read
The service will have normal read endpoints (GET https://customer-service/customers/xxxxxx) and the data would come from the projections of the aggregate of that service.

If planning on using event sourcing here is a great product built for event sourcing from the ground up - Kurrent: https://www.kurrent.io/

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ReidK

79630959

Date: 2025-05-20 18:14:49
Score: 2.5
Natty:
Report link

Which version of the provider are you using? The documentation reference you provided is for data sources rather than resources, so this would be a better reference: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/elasticache_global_replication_group#engine-1.

resource "aws_elasticache_replication_group" "primary" {
  replication_group_id = "example-primary"
  description          = "primary replication group"

  engine         = "valkey"
  engine_version = "7.0" # or whichever version you need
  node_type      = "cache.m5.large"

  num_cache_clusters = 1
}
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (1):
Posted by: RoseSecurity

79630956

Date: 2025-05-20 18:13:48
Score: 4.5
Natty: 5
Report link

I would recommend using a docker environement. See this https://github.com/varunvilva-kickdrum/hadoop-hive-spark-jupyter-docker

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

79630955

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

Another one:

=TEXTJOIN(", ",1,IFERROR(BYCOL(1*TEXTSPLIT(A1,", "),LAMBDA(a,SUM(FILTER($B$1:$B$5,1*(a=$B$1:$B$5))))),""))

enter image description here

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

79630948

Date: 2025-05-20 18:04:45
Score: 5.5
Natty:
Report link

Here's a video showing you how to do it from the gui or from your terminal: https://www.youtube.com/watch?v=idmmL7thKXw

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Devin Schumacher

79630947

Date: 2025-05-20 18:04:45
Score: 2
Natty:
Report link

you can simply use

 "type": "Input.Rating"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Snigdha Singh

79630945

Date: 2025-05-20 18:02:45
Score: 3.5
Natty:
Report link

Thank you to Matthew Watson, it was button not buton

The intellesense of Visual Studio didn't correct me, neither give me a build error, I admit my stupid mistake I was tired.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Dr1001

79630944

Date: 2025-05-20 18:00:44
Score: 2.5
Natty:
Report link

That ORA-00942 error could indicate 2 things, (1) the table doesn't really exist (which shouldn't be a problem due to the hibernate config) or (2) the user used to perform this operation doesn't have privileges over that table, which may be more probable. Check this other post.

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

79630938

Date: 2025-05-20 17:59:43
Score: 3
Natty:
Report link

I encountered the same error message from Excel. In my case, the Excel was choking because the column names were not unique. I added some code to ensure every column name was unique and the error message went away.

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

79630935

Date: 2025-05-20 17:58:43
Score: 1
Natty:
Report link

Interesting topic with all the code snippets.

In Hex view all I do is look for the 4 bytes that come after 00 11 08 and that will always be your dimensions.

Let's take a basic image say 82 x 82 pixels. The 4 bytes following 00 11 08 will be 00 52 00 52.

In UTF-8 this will appear visually as NUL DC1 BS NUL R NUL R

The NUL before the R indicates that the image falls below the 256 pixel range.

The R indicates the 82nd character in the ASCII table, hence 82x82.

Let's say the 4 dimension bytes were SOH R SOH R , then the image would be 338x338

Why: Becuase 338 minus 256 = 82

Hope this simple explanation helps understand it a bit better.

Example of 82x82: https://vanta.host/uploads/1747762013988-477888795.jpg

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

79630933

Date: 2025-05-20 17:53:42
Score: 0.5
Natty:
Report link

Yes, it is provable in Rocq :

From Stdlib Require Export Eqdep.

Lemma example3 (n n' : nat) :
  @existT Set (fun x => x) nat n = @existT Set (fun x => x) nat n' -> n = n'.
Proof.
apply inj_pair2.
Qed.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dave

79630932

Date: 2025-05-20 17:53:41
Score: 15 🚩
Natty: 5.5
Report link

Hey I have the same issue ; have you found a fix ?

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (1.5): fix ?
  • RegEx Blacklisted phrase (2.5): have you found a fix
  • RegEx Blacklisted phrase (2): Hey I have
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lord Lothar 99

79630928

Date: 2025-05-20 17:45:38
Score: 0.5
Natty:
Report link

As of 2025-05-20, Set-AzContext worked for me for setting a subscription.

Set-AzContext -Subscription "xxxx-xxxx-xxxx-xxxx"
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rat'sLife

79630927

Date: 2025-05-20 17:44:38
Score: 3.5
Natty:
Report link

Have you set the Primary text for this field? (In Properties, Display, Fields, Primary text)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: mina yar

79630926

Date: 2025-05-20 17:43:37
Score: 3
Natty:
Report link

Since you've already checked your database user and your IP address, please double check that your actual MongoDB cluster is up, running, and accessible.

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

79630925

Date: 2025-05-20 17:43:37
Score: 4
Natty:
Report link

If a POST request works in Postman but fails in a browser, one usual suspect is misconfigured CORS. Postman doesn't send OPTIONS preflight requests, but browsers do. Does the server sends a correct Access-Control-Allow-Origin header?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Anton Pastukhov

79630918

Date: 2025-05-20 17:39:35
Score: 1
Natty:
Report link

I found what was different.

Originally, I had my folder structure like this:

The linker was specifically looking for what was inside the includes folder. Since you can add multiple lines in the additional directories setting, I thought this was the way I was supposed to do it. Not to mention, this very similar to how it was done in the video. Since what was inside the include folder was just the header files, it makes sense why I was getting #include <glfw3.h>.

After adding more libraries, I ended up reordering my structure to look like this instead:

The video itself ordered it's folder structure like this:

This confused me, and I'm not sure why the video decided to do it this way. The new way I organized my directory makes it sure that all I have to do is plop my files inside and not mess with the properties anymore, besides adding libraries to the linker > input setting.

After organizing my folders in the new way, my program uses #include <GLFW/glfw3.h> instead of #include <glfw3.h>.

Reasons:
  • Blacklisted phrase (1): I have to do
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kris

79630903

Date: 2025-05-20 17:30:32
Score: 1.5
Natty:
Report link

You should add this dependency:

<dependency>
  <groupId>com.google.cloud</groupId>
  <artifactId>spring-cloud-gcp-starter-storage</artifactId>
</dependency>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kerim Bensalem

79630881

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

I try to resolve this error with the help of above solutions but i am not able to solve. Here is the my solution:- Import react-redux like this: const { useSelector } = require("react-redux");

Not like this: import { useSelector } from "react-redux";

Reasons:
  • Blacklisted phrase (1): i am not able to
  • Whitelisted phrase (-2): solution:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Anurag Kaushik

79630871

Date: 2025-05-20 17:08:24
Score: 5
Natty:
Report link

If you've already fixed the code but still see the same error, try restarting your React development server. Sometimes the app doesn't reload correctly, especially if the file wasn't saved properly or there's a caching issue.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): see the same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: haja mydeen

79630867

Date: 2025-05-20 17:05:23
Score: 5.5
Natty:
Report link

if you pass the first line as a subquery to from what happend?

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

79630853

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

It's easy to set this setting in the GUI but I need to set it automatically.

You can do all the things using REST which are possible though GUI. Keycloak documentation does not provide all the endpoints. You can refer to the REST calls made by GUI by analyzing network calls from debugger.

How to use REST APIs?
Use temporary Keycloak admin credentials (which you must have created while installing keycloak) to generate access token.

MASTER_TOKEN=$(curl --silent --location --request POST "http://localhost:8080/realms/master/protocol/openid-connect/token" \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'client_id=admin-cli' \
--data-urlencode 'grant_type=password' \
--data-urlencode 'username=admin' \
--data-urlencode 'password=admin' | jq -r '.access_token')

Using this token, you can perform all the operations that you are performing from GUI.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jay Dudhatra

79630838

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

I believe there seems to be an issue regarding the understanding of how EXCEPT works in sql. The EXCEPT operator returns rows from the first query that do not exist in the second query, not a subtraction of numerical values. (
If you are learning to use EXCEPT you can refer to the following :https://www.geeksforgeeks.org/sql-except-clause/

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

79630836

Date: 2025-05-20 16:43:16
Score: 1
Natty:
Report link
  es01:
    image: docker.elastic.co/elasticsearch/elasticsearch:9.0.1
    container_name: es01
    environment:
      - node.name=es01
      - cluster.name=es-docker-cluster
      - bootstrap.memory_lock=true
      - http.cors.allow-origin="*"
      - "ES_JAVA_OPTS=-Xms512m -Xmx512m"
    ulimits:
      memlock:
        soft: -1
        hard: -1
    volumes:
      - data01:/usr/share/elasticsearch/data
    ports:
      - 9200:9200
    networks:
      - elastic

This works with elastic 9.0.1

https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-cors.html

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rúben Lício Reis

79630835

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

The number of iterations can be passed as a parameter:

f = lambda x, lim: f((2*x)%99, lim-1) if lim > 1 else x

Using:

print(f(1, lim=10))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Konstantin Makarov

79630826

Date: 2025-05-20 16:35:13
Score: 3
Natty:
Report link

Your api key is probably invalid, or geo-restricted. Generate new keys so as to gain access to your account

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

79630817

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

When the type itself isn't suspicious, I've found this is almost always due to a mismatched dependency between 2 packages in your repository. In this case "other/package" has a different version of the "zod" dependency, and some detail of the internals of the typing is causing things to explode.

(This has happened to me enough now that I wanted to highlight the version mismatch as opposed to the normal recursive type issues).

Aligning the package versions usually fixes the issue, either manually or by using a tool like ncu. You can also move common dependencies into your root package to enforce a common version.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): When the
  • Low reputation (0.5):
Posted by: rjpower

79630810

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

How to Set CHROME_EXECUTABLE in VS Code for Dart/Flutter Development

Problem

The Dart/Flutter extension in VS Code couldn’t detect Chrome, even after setting CHROME_EXECUTABLE in the system environment variables or shell config (e.g., .bashrc or .zshrc).

Solution

To ensure the Dart extension recognizes Chrome, add CHROME_EXECUTABLE directly to VS Code’s Dart-specific environment settings:

  1. Open VS Code Settings (Ctrl + , or Cmd + ,).

  2. Search for "dart.env".

  3. Click "Edit in settings.json".

  4. Add the following configuration:

    {
      "dart.env": {
        "CHROME_EXECUTABLE": "/opt/google/chrome/chrome" 
      }
    }
    

    Replace /opt/google/chrome/chrome with your Chrome path if different (e.g., /usr/bin/google-chrome on some Linux systems).

  5. Restart VS Code for changes to take effect.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Badri

79630797

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

I am assuming the following process:

Here are some things that could have gone wrong and how you can asses them:

  1. Incompatible Unity version. Make sure that your PC installed Unity version matches your laptop Unity's version. More specifically, the version your project was created with. It should be easy to check in UnityHub.
  2. Not installed dependencies. If you had some packages installed in your laptop's Unity, you may have to check if you have them installed in your PC's Unity.
  3. You may try to do Assets > Reload all assets.

As for the VS installation problems, I have nothing to add. Good luck with that.

If your Unity project was not that far advanced, you may try to create a new Unity project in your PC and manually migrate your Assets, such as your scripts, your sprites, animations, etc. You may be able to recover most of it, but may have to redo some parts of prefabs or scenes for reference fixing.

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

79630795

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

In the meantime clang-format 20 does provide the new config entry BreakBinaryOperations .

The config

BasedOnStyle: Google

BreakBinaryOperations: OnePerLine
ColumnLimit: 100

produces this formatting:

#if ((CONDITION_A_SWITCH == ENABLED) || \
     (CONDITION_A_SWITCH == ENABLED) || \
     (CONDITION_A_SWITCH == ENABLED))
[...]
#endif
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: tl-photography.at

79630791

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

You can try this way

{{ " href=\"%s%s\"" | format('/test-route', '#anchor') }}

format will act like sprintf letting your code a bit better

reference: https://twig.symfony.com/doc/3.x/filters/format.html

Reasons:
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Wanderson Silva

79630780

Date: 2025-05-20 15:58:00
Score: 2.5
Natty:
Report link

original: "merchantCapabilities": ["3DS", "debit", "credit"]"

updated: "merchantCapabilities": ["supports3DS", "debit", "credit"]"

simple syntax error!! all working now as intended

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

79630777

Date: 2025-05-20 15:55:59
Score: 0.5
Natty:
Report link

Add ORDER BY idx DESC

UPDATE my_table
SET idx = idx + 1
WHERE user_name = 'Bob'
ORDER BY idx DESC;

See example

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Ergest Basha

79630771

Date: 2025-05-20 15:53:59
Score: 7
Natty: 7
Report link

I listed categories in the design and I wanted the application to open that page whichever of these categories it selects. I made the design with SwiftUI, but I couldn't redirect it to the application.Have you found a solution to this?

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a solution to this
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: vkc

79630768

Date: 2025-05-20 15:51:58
Score: 1
Natty:
Report link

Why do it the hard way when you can do it the easy way? Open Blogger -> Layout tab -> edit Pages gadget -> start typing: title or URL and Blogger will suggest you pages that are already published. You can also add links manually, both internal and external.

Then you can go to the theme editor and you will see that it works in a bit different than in your code. There should be link0, link1, etc.

{"link0":{"href":"https://bio.weblove.pl/","position":0,"title":"Blogger Help"},"link1":{"href":"","position":1,"title":""},"link2":{"href":"","position":2,"title":""}}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why do it the
  • Low reputation (1):
Posted by: WebLove.PL

79630766

Date: 2025-05-20 15:50:57
Score: 0.5
Natty:
Report link

Yes it can be used to check if a file is tampered with python. But for those of you who want to tamper with your word dox files you can use a web page (that i wont name for reasons) to make the file un available to open with a error on word dox. If you want to use an other device to corrupt it then you make the file use a the web site to open the file save it as a corrupted pdf of what ever you want download to a usb stick and plug the usb into the other device and upload it you can also use an usb with subconscious sick depends on what device you want to transfer to

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: User unknown

79630764

Date: 2025-05-20 15:47:52
Score: 6 🚩
Natty:
Report link

My problem is similar to this. Have you been able to test, has there been a change in times?

my task:

azure synapse Processing time

Reasons:
  • Blacklisted phrase (1.5): Have you been able to
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Gizem

79630763

Date: 2025-05-20 15:46:51
Score: 4
Natty:
Report link

you would need async await or promise

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

79630756

Date: 2025-05-20 15:42:50
Score: 1.5
Natty:
Report link

You have a 10px padding set on .navbar and also an empty <img/> tag below the menu. These are causing the layout 'gaps'.

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

79630751

Date: 2025-05-20 15:36:48
Score: 3.5
Natty:
Report link

delay is of type unsigned int, How will it understand the following constraint?

 delays.sum() inside {[ 1ms/1ns : 5ms/1ns ]};
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jyoti Gulati

79630743

Date: 2025-05-20 15:28:46
Score: 1.5
Natty:
Report link

com.kgisl.nsure.messaging.ser vice.SmsService.sendSms(Sms Service.java:84)

com.kgisl.nsure.messaging.ser vice.SmsService.invokeSmsAPi (SmsService.java:182)

org.springframework.web.clien t.HttpClientErrorException.cre ate(HttpClientErrorException.j ava:105)

X

org.springframework.web.clien t.HttpClientErrorException$Un

authorized: 401:"

{"statusCode": 401,"statusMess

age":"Invalid

username/password"}"

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: specialists.fbmw.muhammadasim

79630738

Date: 2025-05-20 15:27:45
Score: 1
Natty:
Report link

I know this is old, but the error position is stated right in the message ...

This comma does not belong (right after "totals") ...

    (COUNT(user_id)) as totals, 
FROM 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Scotty G

79630736

Date: 2025-05-20 15:26:45
Score: 1
Natty:
Report link

Try changing the default terminal in VS Code. For example, switch from PowerShell to Command Prompt or WSL. You can modify the default terminal settings by opening the command palette (Ctrl+Shift+P) and selecting "Terminal: Select Default Profile," then choosing a different terminal
or Modify Terminal Permissions:

un VS Code as an administrator to grant the terminal higher permissions. Right-click on the VS Code shortcut and select "Run as administrator," then attempt to install dependencies again to see if the progress bar displays properly.

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

79630735

Date: 2025-05-20 15:26:45
Score: 0.5
Natty:
Report link

Once the files are in your repository, Git will track them. So delete those files (or move them out of the repo) make a commit and then they should not appear anymore.

Example:

rm -rf .idea
git add .idea
git commit -m "Delete .idea folder"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ya-cha

79630733

Date: 2025-05-20 15:25:44
Score: 2
Natty:
Report link

What you can do is to edit the optional claims in the Enterprise Application (Service Principal) which is connected to the App Registration. In the Enterprise Application you can configure optional claims that should be passed to ID and access tokens.

  1. Go to the Enterprise Application you want to edit
  2. Select Single sign-on
  3. Edit Attributes & Claims

Attributes & Claims edit

  1. Click on Add new claim

Add new claim

  1. Add your specific claim and Save

User claim

Afterwards you should see the optional claim in the Enterprise Application and should get your user.extensionattribute15 as your configured claim in the ID and access token.

new claim

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What you can
  • Low reputation (0.5):
Posted by: AW94

79630722

Date: 2025-05-20 15:16:42
Score: 0.5
Natty:
Report link
  1. Add the class whatsapp-link to the button element.
  2. Set the button's URL to #
  3. Add the below javascript code to your website
document.addEventListener("DOMContentLoaded", function() {
  const buttons = document.querySelectorAll('.whatsapp-link');
  buttons.forEach(function(button) {
    button.addEventListener('click', function(e) {
      e.preventDefault(); // Prevent default behavior
      const msg = encodeURIComponent("Hello, thanks for contacting us! -- URL: " + window.location.href);
      const waUrl = 'https://wa.me/6281381534824?text=' + msg;
      window.open(waUrl, '_blank'); // Open WhatsApp chat in new tab
    });
  });
}); <
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tossin

79630718

Date: 2025-05-20 15:15:41
Score: 1
Natty:
Report link

According to the OP in the comments, running docker build --platform linux/amd64 -t apim/mainapi fixes the issue.

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

79630717

Date: 2025-05-20 15:14:41
Score: 2
Natty:
Report link

content: "\f28b" for the round pause button works - so it looks like you are embedding the "classic regular" version, which does not contain the pause button you want in the free version

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

79630711

Date: 2025-05-20 15:13:40
Score: 1.5
Natty:
Report link

It has been resolved by uninstalling snap

$sudo apt remove snapd

Re-install

$sudo apt install snapd
$sudo snap install 'packpage' --classic
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Erasmo Camacho

79630707

Date: 2025-05-20 15:11:40
Score: 2.5
Natty:
Report link

If you have installed the unity and C# package, you should check the solution explorer to see if the .csproj files are loaded correctly. If it shows them as unloaded or incompatible (in the case that you hadn't installed the package before) then you should right click and reload them

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

79630705

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

For me the issue was that the enum values had to be given in capital letters, such as EMPLOYEE1. I discovered it looking at what the GraphQL schema was expecting.

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

79630703

Date: 2025-05-20 15:10:39
Score: 0.5
Natty:
Report link

I can't see the screen recording but make sure you don't load too many markers, circles or polygons onto the map as it can decrease the performance and loading speed. Also try it on different devices and iIOS/Android versions. Hope that helps. ✌️

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: OverdoseB12

79630701

Date: 2025-05-20 15:10:38
Score: 6 🚩
Natty:
Report link

Thanks to @Andrew, it seems like this is a bug that hopefully will be fixed soon.

sourceware.org/bugzilla/show_bug.cgi?id=32982

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Andrew
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: John Demetros

79630695

Date: 2025-05-20 15:07:37
Score: 0.5
Natty:
Report link

What I need is an inverse of the search function, which is select column_name from table_name where column_name = ? where ? is the term the user is searching for (a string like "%This%").

It needs to get the row number in the sqlite server from the column_name's content. I think it is possible since in this database all rows are completely unique so there's no chance of conflict.

If not, I would like to see an alternative way for indexing the pages in a way that makes it possible to achieve what I'm trying to do

You're looking for search function to select table_name.

I'm not sure whether what I wrote in my script is what you want.

Snippet:

import sqlite3
import tkinter as tk
from tkinter import Listbox, messagebox

def get_row_index(search_term):
    conn = sqlite3.connect('your_database.db')    cursor = conn.cursor()
    
    cursor.execute("SELECT rowid FROM table_name WHERE column_name LIKE ?", (search_term,))
    result = cursor.fetchone()
    
    conn.close()
    
    if result:
        return result[0]   
    else:
        return None  

def display_selected_item(event):
    selected_index = listbox.curselection()
    if selected_index:
        search_term = listbox.get(selected_index)
        row_index = get_row_index(f"%{search_term}%")
        
        if row_index is not None:
            fetch_data(row_index)
        else:
            messagebox.showinfo("Info", "No matching entry found.")

def fetch_data(row_index):
    conn = sqlite3.connect('your_database.db')
    cursor = conn.cursor()
    
    cursor.execute("SELECT * FROM table_name WHERE rowid = ?", (row_index,))
    row_data = cursor.fetchone()
    
    conn.close()
    
    if row_data:
        print(row_data) 

# Tkinter GUI setup
root = tk.Tk()
listbox = Listbox(root)
listbox.pack()

# Example items in the ListBox (replace with your search results)
listbox.insert(tk.END, "Item 1")
listbox.insert(tk.END, "Item 2")
listbox.insert(tk.END, "Item 3")

listbox.bind('<<ListboxSelect>>', display_selected_item)

root.mainloop()

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: Adios Gringo

79630683

Date: 2025-05-20 14:57:35
Score: 1
Natty:
Report link

Spring has disabled matching path extensions since Spring 5.3. However prior versions can use path extensions for content negotiation.

See mapping suffix in the Spring docs.

Starting in 5.3, by default Spring MVC no longer performs .* suffix pattern matching where a controller mapped to /person is also implicitly mapped to /person.*. As a consequence path extensions are no longer used to interpret the requested content type for the response — for example, /person.pdf, /person.xml, and so on.

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

79630681

Date: 2025-05-20 14:56:34
Score: 0.5
Natty:
Report link

you're passing a string to Sentry.captureException, not an actual Error object:

useEffect(() => {
  if (error) {
    Sentry.captureException(new Error('TEST: ' + error));
  }
}, [error]);

Above code ensures that Sentry captures a real exception object.

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

79630680

Date: 2025-05-20 14:56:34
Score: 0.5
Natty:
Report link

It's also possible to include some custom css without using an external file, with an HTML include.

---
format:
  html:
    include-in-header:
      - text: "<style>
          .output {
            color: green;
            background-color: black;
          }
          </style>"
---
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rturquier

79630679

Date: 2025-05-20 14:55:33
Score: 1.5
Natty:
Report link

I had accidently clicked upgrade and mixed Platform Toolset between a static dependency (v143 in my case) and the main executable (v142 in my case)

Aligning them back to v142 fixed it. I might have been able to upgrade to v143 too

enter image description here

Right click on projects -> Configuration to bring up this menu

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

79630676

Date: 2025-05-20 14:52:32
Score: 3.5
Natty:
Report link

Yes its allowed and only storing this (not full PAN) it puts you out of PCI-DSS scope.

https://security.stackexchange.com/questions/168601/does-transmitting-first-6-and-last-4-digits-of-the-card-number-and-expire-date-r?newreg=2880a7713c37401bb1434c6133e106aa

https://www.pcisecuritystandards.org/faq/articles/Frequently_Asked_Question/Are-truncated-Primary-Account-Numbers-PAN-required-to-be-protected-in-accordance-with-PCI-DSS/

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

79630673

Date: 2025-05-20 14:48:31
Score: 1
Natty:
Report link

I resolved this finally by using the NODE_EXTRA_CA_CERTS system environment variable and making the variable value the path to my certificate chain PEM file. I restarted the agent machine after the change and tested this to confirm.

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

79630666

Date: 2025-05-20 14:40:29
Score: 3
Natty:
Report link

if you return null in Service Bus Output, no message is created: https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus-output?tabs=python-v2%2Cisolated-process%2Cnodejs-v4%2Cextensionv5&pivots=programming-language-csharp.

So implementation might vary from output to output.

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

79630664

Date: 2025-05-20 14:40:29
Score: 1
Natty:
Report link

Your id used Integer, because of that your Usr.id is defined as an Integer, and because you are trying to compare it to a string.

Snippet:

Usr.id == int("test") #<--- Use int

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

79630662

Date: 2025-05-20 14:39:29
Score: 1
Natty:
Report link

For Ubuntu 24 I created a virtual environment, installed twine in it, and ran that twine instead of the system package one.

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

79630653

Date: 2025-05-20 14:34:27
Score: 2
Natty:
Report link

What are you trying to achieve?

If the goal is to load/view data locally for development you could use InteractiveRunner which allows materializing data as a pandas dataframe https://cloud.google.com/dataflow/docs/guides/interactive-pipeline-development

beam.combiners.ToList collects all elements in a PCollection into a single list element in the output PCollection [1]. If the goal is to process a PCollection as a single list element this is suitable.

If your goal is to load the output of the dataset as a list in your local program after pipeline execution it requires writing to some kind of storage and then reading in your local program.

[1] https://beam.apache.org/documentation/transforms/python/aggregation/tolist/

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What are you
  • Low reputation (1):
Posted by: Claudius van der Merwe

79630644

Date: 2025-05-20 14:30:26
Score: 2.5
Natty:
Report link

This happened for me recently and the VSCode C# Extension (Pre-Release Version) was the culprit. Reverting to the released version resolved the issue.

https://github.com/microsoft/vscode-dotnettools/issues/2024

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

79630640

Date: 2025-05-20 14:28:25
Score: 1
Natty:
Report link

Check that the "Start action" of the project isn't set to:
"Don't open a page. Wait for a request from an external application".

enter image description here

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

79630634

Date: 2025-05-20 14:23:24
Score: 1.5
Natty:
Report link

In at least one document where I’ve experienced the same issue, the font size issue was caused by a <table> having too wide preformatted content. Adding <wbr> at enabled the renderer to break the content appropriately, so that the table would fit within the A4 page.

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

79630623

Date: 2025-05-20 14:16:22
Score: 3.5
Natty:
Report link

i want to prepare pdf to be signed , i add signature apearance set fielName calcul hash then close when i gat sign hash i want to sign the previous informations i did he return already signed

Reasons:
  • RegEx Blacklisted phrase (1): i want
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: hadhri ramez

79630616

Date: 2025-05-20 14:13:21
Score: 0.5
Natty:
Report link

The format doesn't seem variable to me. I assumed you forgot to include the period.

Snippet:

'''.format(' OR '.join(["LOWER(appname) LIKE '%{}%'".format(app) for app in app_selection_code]), period) #<-- Add period.

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

79630612

Date: 2025-05-20 14:10:20
Score: 2.5
Natty:
Report link

Hi,

I found out that the issue is with the JSON input format. The actual input looks like this:


        "values": [
            {
                "recordId": "1",
                "data": {
                    "file_data": {
                        "data": "<base64-encoded-pdf>"
                    }
                }
            }
        ]
    }

However, I had assumed it followed the format shown in the documentation for #Microsoft.Skills.Util.DocumentExtractionSkill:
https://learn.microsoft.com/en-us/azure/search/cognitive-search-skill-document-extraction

Also, I found a similar question here:
How do I read the original pdf file in set indexer datasource in a custom WebApiSkill after enabling "Allow Skillset to read file data"

Reasons:
  • Blacklisted phrase (1): How do I
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matteo Doni

79630610

Date: 2025-05-20 14:09:19
Score: 6.5 🚩
Natty: 6
Report link

https://music.youtube.com/watch?v=ZrSDGB2dX-o&si=x5LMU4lDCAVDCJp7 Alan, the link for your answer

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: LaPorte

79630604

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

Page title structure for SEO and accessibility means creating clear, concise, and keyword-rich titles that:

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

79630592

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

It prints correctly in violet on the terminal, but does not print in color on the widget

Why does the widget not print color? By incorporating.tag_config(...)

Twidg.insert(...) is thus added before mainloop().

Snippet:

# Configure a tag for colored text
Twidg.tag_config('\033[35mviolet', foreground='purple')

# Redirection of output
sys.stdout.write = redir

# Printing colored text in ScrolledText widget
Twidg.insert(INSERT, "violet\n", '\033[35mviolet')  # Insert colored text
fen.mainloop()

Screenshot:

enter image description here

As above, you will see color on widget.

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79630587

Date: 2025-05-20 13:57:15
Score: 2.5
Natty:
Report link

In case of Microsoft DevOps (with Microsoft Identity) the Username is cached in Internet Explorer (on Windows Server 2022)

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

79630582

Date: 2025-05-20 13:53:13
Score: 4
Natty:
Report link

I faced the exact issue yesterday and followed this video to make it work. However there is a catch, [email protected] is no longer available via brew.
https://www.youtube.com/watch?v=6FFjYy_f2Ls&t=572s

Then I found someone has it hosted and could install it with the following comand. As someone pointed in a reddit post. https://www.reddit.com/r/macgaming/comments/1gbs6vw/gptk_cannot_be_installed_because_of_openssl_11/

brew tap rbenv/tap
brew install rbenv/tap/[email protected]

Then did the recomended by Troubleshooting connection problems in the Microsoft ODBC Driver guide. https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/known-issues-in-this-version-of-the-driver?view=sql-server-ver16#:~:text=Some%20macOS%20users%20encounter%20the%20following%20error%20with%20driver%20version%2017.8%20or%20older%3A%0A(This%20error%20has%20been%20resolved%20in%20driver%20version%2017.9%2B)

rm -rf $(brew --prefix)/opt/openssl
version=$(ls $(brew --prefix)/Cellar/[email protected] | grep "1.1")
ln -s $(brew --prefix)/Cellar/[email protected]/$version $(brew --prefix)/opt/openssl

dont forguet to also add

  'TrustServerCertificate=yes;'

Hope it can help somebody facing the same issue.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Whitelisted phrase (-1): Hope it can help
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (0.5):
Posted by: Daniel

79630573

Date: 2025-05-20 13:51:12
Score: 3
Natty:
Report link

The answer is in the libft4222 manual (LibFT4222 v1.7 User guide)

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Sir Jo Black

79630561

Date: 2025-05-20 13:43:10
Score: 1.5
Natty:
Report link

Add

let bankAcctDetails;

in test.describe block and add

bankAcctDetails= new BankAcctDetails();

in test.beforeAll block

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

79630559

Date: 2025-05-20 13:42:10
Score: 1.5
Natty:
Report link

Yes, you can set up your own notification service but it’s more complicated than using third party services, you can send push notifications directly on iOS using Apple Push Notification and MQTT for Android.

You can also check this answer on how to setup MQTT

Flutter MQTT client

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

79630547

Date: 2025-05-20 13:35:08
Score: 0.5
Natty:
Report link

Here's my try on the matter.

Important things to note

Well, pure C++ is better, but it's not a requirement. Portability would require explanation, and include at least any-reasonable-UNIX'ish OS and Windows. Preferably also Haiku, QNX, VXWorks... – einpoklum

I haven't used any external libraries, and everything under there should be C++11 compliant.

I've opted to use some cstring functions, as well as fopen/fclose for file interactions, but feel free to substitute them with whatever suits you. I've mainly chosen them because it returns a FILE* on all systems (didn't want to make a huge mess with Windows HANDLEs)

The Windows part relies on Windows API calls. There's no way to avoid this, you need it to determine the conventional temporary folder.

The non-Windows part is for all POSIX-compliant systems, with Haiku, QNX and VXWorks should be, along with most if not all Linux-based systems and MacOS. I couldn't test on all those systems, but if you can find any incompatibility, please notify me.

How this works

Using preprocessor directives, we detect the OS family we're targetting. This allows us to define different code for Windows and POSIX-complicant systems.

Both sides define:

A global std::map<FILE*, std::string> named tempFileMap is defined to keep track of the opened temporary files, so they can be disposed of in case the program terminates.

It is therefore important for you to call closeTempFile(FILE*) if you want to get rid of a temporary file yourself, and NOT fclose(FILE*). closeTempFile(FILE*) will call fclose(FILE*) internally, but will also delete the file and remove it from the list. Calling fclose(FILE*) yourself will result in the file being closed twice!

Windows side

POSIX-compilant OSs side

Code

#include <string>

// std::filesystem::temp_directory_path is from C++17 (https://en.cppreference.com/w/cpp/filesystem/temp_directory_path), we need to call APIs ourselves to comply with C++11

void closureRoutine();

#include <map>
#include <vector>

std::map<FILE*, std::string> tempFileMap = {};

#if defined(_WIN32) || defined(WIN32)

#include <Windows.h>
#include <signal.h>

#if !defined(MAX_PATH)
#error MAX_PATH is not defined
#endif

#define PATH_MAX (MAX_PATH + 1)

void getTempDir(char* pathBuff) { // https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-gettemppath2a
    GetTempPath2A(PATH_MAX, pathBuff); // Has a trailing backslash by default
}

void openTempFileFromFolder(const char* folderPath, char* outFilePath, FILE** outFileStream) {
    GUID guid;
    while (true) {
        if (CoCreateGuid(&guid) != S_OK)
            break;

        sprintf_s(outFilePath, PATH_MAX, "%s%08X%04X%04X%02X%02X%02X%02X%02X%02X%02X%02X", folderPath, guid.Data1, guid.Data2, guid.Data3, guid.Data4[0], guid.Data4[1], guid.Data4[2], guid.Data4[3], guid.Data4[4], guid.Data4[5], guid.Data4[6], guid.Data4[7]);

        // If the file doesn't exist yet, create it and return. Microsoft says a GUID cannot be generated twice, but for the same of mimicking the behaviour of POSIX's mkstemp, and for absolute rigorousness, let's check anyway.
        DWORD tmpFileAttrib = GetFileAttributesA(outFilePath); // https://stackoverflow.com/a/6218957/9399492
        if (tmpFileAttrib == INVALID_FILE_ATTRIBUTES) {
            fopen_s(outFileStream, outFilePath, "w+");
            tempFileMap.insert({ *outFileStream, outFilePath });
            return;
        }
    }

    *outFileStream = nullptr;
}

void closeTempFile(FILE* file) {
    std::string filename = tempFileMap[file];
    tempFileMap.erase(file);

    fclose(file);
    DeleteFileA(filename.c_str());
}

void __closureRoutine(int sig) {
    closureRoutine();
}

void hookFunctionToClose() {
    signal(SIGABRT, __closureRoutine);
    atexit(closureRoutine); // Naturally triggered by CTRL+C on Windows
}

#elif defined (__unix__) || (defined (__APPLE__) && defined (__MACH__)) // Should work for any POSIX-compliant system, including MacOS (https://stackoverflow.com/a/11351171/9399492)

#include <cstring>
#include <cstdlib>
#include <limits.h>
#include <signal.h>
#include <stdio.h>

#if !defined(PATH_MAX)
#error PATH_MAX is not defined
#endif

void getTempDir(char* pathBuff) { // https://stackoverflow.com/a/14626770/9399492
    char* tmp = getenv("TMPDIR");
    if (!tmp) {
        tmp = getenv("TMP");
        if (!tmp) {
            tmp = getenv("TEMP");
            if (!tmp) {
                tmp = getenv("TEMPDIR");
            }
        }
    }

    sprintf(pathBuff, "%s/", tmp ? tmp : "/tmp"); // Add the trailing slash
}

void openTempFileFromFolder(const char* folderPath, char* outFilePath, FILE** outFileStream) {
    sprintf(outFilePath, "%sXXXXXX", folderPath);
    int fd = mkstemp(outFilePath); // Creates a file with umask 600. It is guaranteed to be unused, since it should keep trying to create a file with a new name until it can (https://en.wikipedia.org/wiki/Mkstemp#Mechanism)
    *outFileStream = (fd < 0) ? nullptr : fdopen(fd, "w+"); // Gets a FILE stream for our newly created file
    if (fd >= 0) {
        *outFileStream = fdopen(fd, "w+"); // Gets a FILE stream for our newly created file
        tempFileMap.insert({ *outFileStream, outFilePath });
    }
    else
        *outFileStream = nullptr;
}

void closeTempFile(FILE* file) {
    std::string filename = tempFileMap[file];
    tempFileMap.erase(file);

    unlink(filename.c_str()); // "unlink" will get the file to be deleted as soon as it's closed: https://stackoverflow.com/a/47033463/9399492
    fclose(file);
}

void __closureRoutine(int sig) {
    exit((sig == SIGINT) ? 130 : 134); // triggers the atexit callback
}

void hookFunctionToClose() {
    signal(SIGABRT, __closureRoutine);
    signal(SIGINT, __closureRoutine);
    atexit(closureRoutine);
}

#else

#error Unsupported system

#endif

// This function is gonna get triggered when the program exists. We use it to clean up our temporary files.
// Do note that it won't be called in the case of forced exits, like by sending SIGTERM on POSIX-compliant systems, or forcefully ending the task in the Task Manager on Windows.
// In such cases, the temporary folder will have to be cleared manually.
// See https://serverfault.com/q/377348 for Unix/Linux and https://superuser.com/a/296827 for Windows
void closureRoutine() {
    // Storing all FILE pointers into a vector beforehand to avoid a "cannot dereference value-initialized map/set iterator" error
    std::vector<FILE*> pairs;
    for (auto it = tempFileMap.begin(); it != tempFileMap.end(); ++it) {
        pairs.push_back(it->first);
    }

    for (FILE*& file : pairs) {
        std::string filename = tempFileMap[file];
        closeTempFile(file);
        printf("Automatically closed & cleaned up %s\n", filename.c_str());
    }
}

int main() {
    // Hook our closure routine to events related to program termination; this will let us clean after ourselves.
    hookFunctionToClose();

    // Get the current temporary directory.
    // On POSIX-based systems, it will often be /tmp.
    // On Windows, it's usually gonna be C:\Users\%USERNAME%\AppData\Local\Temp, or C:\Temp, depending of your priviledges.
    char tempFolderBuff[PATH_MAX] {};
    getTempDir(tempFolderBuff);

    printf("Found temporary folder: %s\n", tempFolderBuff);

    // tempFolderBuff now contains the temporary directory path WITH a trailing directory separator char. This means we only need to append our temporary filename to it.
    char tempFileBuff[PATH_MAX]{};
    FILE* file;
    openTempFileFromFolder(tempFolderBuff, tempFileBuff, &file); // Keeps tempFolderBuff intact and writes the temp filename to tempFileBuff instead, so we can open multiple temporary files easily

    printf("Opened temporary file: %s\n", tempFileBuff);

    if (!file) {
        // Handle the case where we couldn't create a new temporary file
        /* ... */
        exit(1);
    }

    /* Do whatever you want with your file */

    closeTempFile(file);
    printf("Manually closed & cleaned up %s\n", tempFileBuff);

    openTempFileFromFolder(tempFolderBuff, tempFileBuff, &file); // Open another one to test automatic cleanup

    printf("Opened temporary file: %s\n", tempFileBuff);

    if (!file) {
        // Handle the case where we couldn't create a new temporary file
        /* ... */
        exit(1);
    }

    /* Do whatever you want with your file */

    abort(); // Even though we aren't manually closing & cleaning up the file, it should be done automatically.

    return 0;
}
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: RedStoneMatt

79630544

Date: 2025-05-20 13:34:08
Score: 0.5
Natty:
Report link

npm run upgrade

This seemed to fix all my deprecation warnings but gave a few new issues I'll need to work through.

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