79371758

Date: 2025-01-20 15:17:08
Score: 2
Natty:
Report link

For anyone having the issue of not seeing pages in the parent page dropdown here in 2025. The dropdown on the new editor limits the list to 100 pages. So if you have more, you will not see the new pages. The way around the limit of 100 pages without adding a plugin is to go to the Pages overview page like you're going to edit a page. Click Quick Edit on the page you want to set a parent page to. And there is the old classic dropdown there that will list all your pages.

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

79371745

Date: 2025-01-20 15:14:07
Score: 2.5
Natty:
Report link

I also had this error in the console. I had given the path of my css file like this, "app.css", even though everything was ok, it was linked and the files were next to each other, but after I gave the path in the basic way, it was ok. became "./app.css"

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

79371740

Date: 2025-01-20 15:13:07
Score: 1
Natty:
Report link

You are using a one way mapping here:

@ManyToOne
@JoinColumn(name="user_id")
private Users user;

But you are missing the mapping from user to Blog: the Users.java should have:(a user has many blogs)

@OneToMany(mappedby="user_id")
private List<Blog> blogs;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Salah Eddine Khouadri

79371739

Date: 2025-01-20 15:12:06
Score: 4.5
Natty: 6.5
Report link

Dave Doknjas - thank you. I had windows.protocol working and wanted to switch to Alias but nothing worked! Your answer was precise and accurate.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): but nothing work
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: atlanta_dave

79371738

Date: 2025-01-20 15:12:06
Score: 2
Natty:
Report link

To resolve the issue in python-docx==1.1.2,

Simply follow these steps:

  1. Locate the default_sanitized.docx File: C:\Users<YourUsername>\anaconda3\Lib\site-packages\docx\templates

  2. Copy and Rename the File: • Make a copy of default_sanitized.docx. • Rename the copied file to default.docx.

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

79371733

Date: 2025-01-20 15:10:05
Score: 1.5
Natty:
Report link

undetected-chromedriver worked; added the following to the header and to call ChromeOptions and the driver.

import undetected_chromedriver as uc
options = uc.ChromeOptions()
driver = uc.Chrome(options=options)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: es07889

79371725

Date: 2025-01-20 15:08:05
Score: 0.5
Natty:
Report link

I was facing the same issue in fedora 40

sudo dnf install libxcrypt-compat

this command worked for me.

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

79371720

Date: 2025-01-20 15:07:05
Score: 2.5
Natty:
Report link

'Enter: Sub InputBox = InputBox("Your Text", "Your Text") If (InputBox = "Your Text") Then MsgBox "Hello World!" End If 'If I explained something wrong, tell me!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ярослав Акимов

79371714

Date: 2025-01-20 15:04:04
Score: 1
Natty:
Report link
FROM dataorder
ORDER BY 
    CASE 
        WHEN status = 'complete' THEN 2
        ELSE 1
    END,
    CASE 
        WHEN status = 'pending' THEN eta
        WHEN status = 'complete' THEN eta
        ELSE eta
    END;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vara Prasad

79371712

Date: 2025-01-20 15:03:04
Score: 2
Natty:
Report link

I am wondering the same thing actually. I was referring to this repository for guidance. Link: https://github.com/android/nowinandroid

I have implemented a MockDao for now, but it feels like I might not be testing it well. I'll post if I find something useful. But for now, maybe this repository can help

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

79371706

Date: 2025-01-20 15:02:03
Score: 1.5
Natty:
Report link

Make sure to explicitly show the export in the following manner (in bar.py):

from path import foo

__all__ = ["foo"]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: htrehrthtr

79371683

Date: 2025-01-20 14:54:01
Score: 0.5
Natty:
Report link

Solution was simply to extend the CryptoGraphy client...

class ExtendedCryptographyClient:  
def __init__(self, key_id, credential):  
    self.cryptography_client = CryptographyClient(key_id, credential)  
    self.key_id = key_id  

def wrap_key(self, key: bytes) -> bytes:  
    # Implement wrapping logic using cryptography_client  
    wrap_result = self.cryptography_client.wrap_key(KeyWrapAlgorithm.rsa_oaep, key)  
    return wrap_result.encrypted_key  

def unwrap_key(self, key: bytes, algorithm: str) -> bytes:  
    # Implement unwrapping logic using cryptography_client  
    unwrap_result = self.cryptography_client.unwrap_key(algorithm, key)  
    return unwrap_result.key  

def get_kid(self) -> str:  
    # Return the key ID  
    return self.key_id  

def get_key_wrap_algorithm(self) -> str:  
    # Return the key wrap algorithm used  
    return KeyWrapAlgorithm.rsa_oaep
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Robiche

79371679

Date: 2025-01-20 14:51:00
Score: 0.5
Natty:
Report link

I am trying to update my Node.js from version 16.x to 18.x, but I am encountering the following issue

Our serverless offline start --host 0.0.0.0 command is running perfectly, but when we try to hit the API with Postman, it shows a 502 Bad Gateway error. Here is the error displayed in our Cloud9 terminal:

GET /getVessels (λ: getVessels)

Warning: Warning: found unsupported runtime 'nodejs18.x' for function 'getVessels'
× Unsupported runtime
× Error: Unsupported runtime
      at #loadRunner (file:///home/ec2-user/CS-Dev/node_modules/serverless-offline/src/lambda/handler-runner/HandlerRunner.js:107:11)
      at HandlerRunner.run (file:///home/ec2-user/CS-Dev/node_modules/serverless-offline/src/lambda/handler-runner/HandlerRunner.js:123:44)
      at LambdaFunction.runHandler (file:///home/ec2-user/CS-Dev/node_modules/serverless-offline/src/lambda/LambdaFunction.js:313:27)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async file:///home/ec2-user/CS-Dev/node_modules/serverless-offline/src/events/http/HttpServer.js:566:18
      at async exports.Manager.execute (/home/ec2-user/CS-Dev/node_modules/@hapi/hapi/lib/toolkit.js:60:28)
      at async internals.handler (/home/ec2-user/CS-Dev/node_modules/@hapi/hapi/lib/handler.js:46:20)
      at async exports.execute (/home/ec2-user/CS-Dev/node_modules/@hapi/hapi/lib/handler.js:31:20)
      at async Request._lifecycle (/home/ec2-user/CS-Dev/node_modules/@hapi/hapi/lib/request.js:371:32)
      at async Request._execute (/home/ec2-user/CS-Dev/node_modules/@hapi/hapi/lib/request.js:281:9)

our package.json

{ 
"name": "cs-db",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "start": "sls offline start",
    "test": "jest"
  },
  "author": "test",
  "license": "ISC",
  "dependencies": {
    "@aws-sdk/client-cognito-identity-provider": "^3.731.1",
    "@aws-sdk/client-dynamodb": "^3.731.1",
    "@aws-sdk/client-lambda": "^3.731.1",
    "@aws-sdk/client-s3": "^3.731.1",
    "@aws-sdk/client-secrets-manager": "^3.731.1",
    "@aws-sdk/cloudfront-signer": "^3.723.0",
    "@aws-sdk/lib-dynamodb": "^3.731.1",
    "amazon-cognito-identity-js": "^6.3.3",
    "aws-lambda": "^1.0.7",
    "axios": "^1.2.2",
    "crypto": "^1.0.1",
    "encoding": "^0.1.13",
    "generate-unique-id": "^2.0.3",
    "iconv-lite": "^0.6.3",
    "install": "^0.13.0",
    "joi": "^17.9.2",
    "jschardet": "^3.0.0",
    "jsonwebtoken": "^9.0.1",
    "jwk-to-pem": "^2.0.5",
    "mongodb": "^5.9.2",
    "mysql2": "^3.10.1",
    "npm": "^10.4.0",
    "papaparse": "^5.4.1",
    "pdf-lib": "^1.17.1",
    "serverless-plugin-typescript": "^2.1.5",
    "uuid": "^8.3.2",
    "wildcard": "^2.0.1",
    "xlsx": "^0.18.5"
  },
  "devDependencies": {
    "@types/jest": "^29.5.1",
    "jest": "^29.5.0",
    "serverless-offline": "^9.3.1",
    "ts-jest": "^29.1.0",
    "typescript": "^4.7.4"
  },
  "jest": {
    "preset": "ts-jest"
  }
}

and our serverless.yml

service: Feature-dev
# frameworkVersion: '3'

provider:
  name: aws
  runtime: nodejs18.x
  versionFunctions: false
  stage: v3
  region: eu-east-1
  vpc:
    securityGroupIds:
      - sg-12121
    subnetIds:
      - subnet-123211
  environment:
#    IS_OFFLINE: ${opt:offline, 'true'}
  iamRoleStatements:
    - Effect: Allow
      Action:
        - secretsmanager:GetSecretValue
        - s3:test
        - s3:test
        - s3:test
        - ec2:*
        - docdb:*
        - cognito-idp:test
        - dynamodb:GetItem
        - states:StartExecution
      Resource: "*"
package:
  patterns:
    - src/**               # include only files from ./src/**/*
    - node_modules/**      # include files from ./node_modules/**/*
    - '!node_modules/aws-sdk/**'  # exclude AWS SDK as it is included in the Lambda runtime
  getVessels:
    handler: src/getVessels.getVessels
    events: 
      - http:
          path: /getVessels
          method: get
          cors: true
Reasons:
  • Blacklisted phrase (1): I am trying to
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Chandan Kumar

79371676

Date: 2025-01-20 14:50:00
Score: 1
Natty:
Report link

Yes, it is possible i'm adding this response as the spring-security-jwt mentionned in the accepted request is now deprecated :

Depend on the authentication method, generally we use Username/Password :

First : we need to expand the UsernamePasswordAuthenticationFilter, which is subtype of AbstractAuthenticationProcessingFilter, see the docs

Here we must override AbstractAuthenticationProcessingFilter.successfulAuthentication() method, you need this library for jwt algorithm & processing and add the jwt in the header of response

Second : we need to override the OncePerRequestFilter and process the token and authenticate the user with help of doFilterInternal method

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

79371674

Date: 2025-01-20 14:49:00
Score: 1
Natty:
Report link

I got that error after upgrading docker on my Ubuntu machine and string the project. The simple rebuild fixed the issue:

@docker compose up -d --build && docker-compose start
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alexey Khachatryan

79371663

Date: 2025-01-20 14:43:59
Score: 3
Natty:
Report link

use this npm install [email protected] --save-dev will work

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nabil Bele

79371661

Date: 2025-01-20 14:43:59
Score: 3.5
Natty:
Report link

At least in my case the issue was that I needed to install avr-libc as suggested by @"emacs drives me nuts" in the comments.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jonathan

79371660

Date: 2025-01-20 14:42:58
Score: 3.5
Natty:
Report link

Silly mistake. I was using postman and posting the request as form data instead of json.

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

79371646

Date: 2025-01-20 14:37:57
Score: 5.5
Natty: 4.5
Report link

Also, even if this is many years tooooo late... (!)

the id="description" should be unique in the form otherwise how is it referenced?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: easybreather

79371639

Date: 2025-01-20 14:32:55
Score: 2
Natty:
Report link

This answer on GitHub issue https://github.com/valor-software/ng2-charts/issues/1122#issuecomment-510385779 solved this problem for me

In addition to all previous setting you have to add this CSS

canvas {
  height: 100% !important;
  width: 100% !important;
}
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ivan Zinchenko

79371636

Date: 2025-01-20 14:31:55
Score: 5
Natty: 6
Report link

Thanks, the "//" did the trick!

Scope: https://service.flow.microsoft.com//.default

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Oliver Kroener

79371628

Date: 2025-01-20 14:28:54
Score: 1.5
Natty:
Report link

You could do it like this:

update table_name
set column =  STUFF(column,3, 0, '12-')
where column LIKE 'A-[0-9][0-9][0-9][0-9][0-9]';
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Robert van Ierland

79371627

Date: 2025-01-20 14:28:53
Score: 11.5 🚩
Natty: 5
Report link

I’m stuck with this issue. My SAMLResponse doesn’t contain any user information. How did you set up the user info in your SAMLResponse, and how did you fix the UPNClaimMissing error?

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): how did you fix
  • RegEx Blacklisted phrase (1.5): m stuck
  • RegEx Blacklisted phrase (3): did you fix the
  • RegEx Blacklisted phrase (1.5): fix the UPNClaimMissing error?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Nurtai Turlubekov

79371622

Date: 2025-01-20 14:27:52
Score: 3
Natty:
Report link

I have resolved the issue, Plan definition files which referenced this were missing the URL entry, added this and ran again and have been able to execute the apply against the Plan Defs

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

79371621

Date: 2025-01-20 14:27:52
Score: 1
Natty:
Report link

All you need is to update your php.ini file. Try to read the error message and check documentations.

Add the sodium extension to your php.ini file.

Open your php.ini and add this to the extension section :

extension=sodium
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Psalmist

79371616

Date: 2025-01-20 14:24:51
Score: 5
Natty:
Report link

IS there a way to compare and merge two lines in salesforce

Reasons:
  • Blacklisted phrase (1): IS there a way
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): IS there a
  • Low reputation (1):
Posted by: Kishore

79371611

Date: 2025-01-20 14:22:50
Score: 0.5
Natty:
Report link

The first value is a timestamp in seconds, the second one in milliseconds, which is the resolution that Javascript uses for timestamps.

More information: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/valueOf

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

79371607

Date: 2025-01-20 14:22:50
Score: 2
Natty:
Report link

If you want to search by single labels, you need to set a free text filter for this column. Here you may find more information about the filters types.

Also helpful information is available here.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Giedrius Skužinskas

79371603

Date: 2025-01-20 14:21:50
Score: 2.5
Natty:
Report link

This happened to me in Visual Studio 2022. After copying the Resource files from another project.

My two Files .

Basically it was no adding it to the incorrert file. In my case I want them to be in "Texts", but it was adding them to "Resources". After choosing the right destination everything was fine again.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: R M

79371597

Date: 2025-01-20 14:20:50
Score: 2
Natty:
Report link

It is simple to Sort the records by One Column in ASC and Another Column in DSC You can just use: SQL Query Syntax: SELECT Col1,Col2,... FROM TABLE ORDER BY ASC Col1, DESC Col2; for further assistance refer this W3 Schools Website Link:See Example 2 Well it is for MYSQL But most of them should work.

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

79371595

Date: 2025-01-20 14:17:49
Score: 0.5
Natty:
Report link

Try the following:

const event = new Event('input', { bubbles: true });
const input = document.getElementById('input');
input.value = 'new_value';
document.dispatchEvent(event);
Reasons:
  • Whitelisted phrase (-1): Try the following
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: VGneushev

79371589

Date: 2025-01-20 14:16:49
Score: 0.5
Natty:
Report link

After all searches and efforts, I later discovered that the problem was from the spelling in the settings.py file.

STATICFILEDIRS = [os.path.join(BASE_DIR, 'static/')] //Wrong

which is meant to be

STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')] //Right

Thank you to anybody that tried to help resolve this. I hope this will save someone else the trouble and time I spent to discover this

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Josh

79371586

Date: 2025-01-20 14:15:49
Score: 2
Natty:
Report link

This issue commonly exists when there is no more disk space available. In this scenario, try to free your disk space.

If you have disk space but are still facing this issue, then download Microsoft Vc_redit.x64; it will resolve the issue. You can download it from Microsoft official website.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Abdullah khan kakar

79371575

Date: 2025-01-20 14:10:47
Score: 10
Natty: 7.5
Report link

were you able to find a solution?

Reasons:
  • RegEx Blacklisted phrase (1): were you able to find a solution
  • RegEx Blacklisted phrase (3): were you able
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chayma Assaad

79371559

Date: 2025-01-20 14:05:44
Score: 9 🚩
Natty: 4.5
Report link

did you fix the issue? I am facing the same now

Reasons:
  • RegEx Blacklisted phrase (3): did you fix the
  • RegEx Blacklisted phrase (1.5): fix the issue?
  • 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 you fix the is
  • Low reputation (1):
Posted by: Nisha Balan

79371558

Date: 2025-01-20 14:04:43
Score: 1
Natty:
Report link

Try changing the export in useUpdateUser to the following: export function useUpdateUser() {

This is the proper way to import functions/components according to the official React documentation.

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

79371554

Date: 2025-01-20 14:02:42
Score: 6.5 🚩
Natty: 4.5
Report link

can you please help me this is my code : const androidpublisher = google.androidpublisher({ version: "v3", auth: auth, });

try {
  const response = await androidpublisher.purchases.products.get({
    packageName: packageName.trim(),
    productId: productId.trim(),
    token: purchaseToken.trim(),
  });

and I am getting this error : code: 400, message: 'Invalid Value', status: 400,

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I am getting this error
  • RegEx Blacklisted phrase (3): can you please help me
  • RegEx Blacklisted phrase (1): I am getting this error
  • Has code block (-0.5):
  • Starts with a question (0.5): can you please help me
  • Low reputation (0.5):
Posted by: Abdul haseeb

79371552

Date: 2025-01-20 14:02:42
Score: 2
Natty:
Report link

Actually dont delete add a column called delflag and active , If u want see the data that need to be listed out set active = 1 and delflag = 0 This may help u to keep the data as deleted stated if delflag = 1 and when ever u want to modify the data and keep in table u may update the row as active = 1 And Also use primary key and Identity(0,1) in UserId column of table creation it may varies according too sql flavours

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

79371545

Date: 2025-01-20 13:59:41
Score: 2.5
Natty:
Report link

Write a python script that accepts number from user and print sum of digit of the number.

e,g if user entered number-453 output : 4+5+3= 12

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

79371519

Date: 2025-01-20 13:51:38
Score: 7.5 🚩
Natty: 5.5
Report link

I am also facing the same issue

Reasons:
  • Blacklisted phrase (1): I am also facing the same issue
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): I am also facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Manohar Nalluri

79371501

Date: 2025-01-20 13:42:36
Score: 2
Natty:
Report link

As this is showing a 404 error, it would suggest that the problem lies with your credentials on the snowflake end.

I would recommend double-checking all your credentials and trying again.

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

79371493

Date: 2025-01-20 13:38:31
Score: 7 🚩
Natty: 6
Report link

Can you help me about this topic.

When I deploy laravel project on docker passport client token is unauthorized.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you help me
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): Can you help me
  • Low reputation (1):
Posted by: javalos06

79371492

Date: 2025-01-20 13:38:29
Score: 6.5 🚩
Natty:
Report link

I have the same issue. After updating Vite to version "vite": "5.4.12", this error occurs. On version 5.4.11, everything works fine.

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sidhmor

79371490

Date: 2025-01-20 13:38:29
Score: 1.5
Natty:
Report link

Codemap may be what you need. It is an extremely simple and intuitive tool to visualize the architecture of PHP classes and functions. I use it to get familiar with old and messy codebases, or share the visualization with other teammates for discussion and onboarding purposes. Give it a try!

https://codemap.app

Disclaimer: I built Codemap, any feedback or suggestions welcomed :)

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

79371489

Date: 2025-01-20 13:38:29
Score: 1.5
Natty:
Report link

In a scaffold, we have a property of resizeToAvoidBottomInset. You need to set its value to true. Hope it will resolve the issue.

return Scaffold(resizeToAvoidBottomInset: true);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abdullah khan kakar

79371484

Date: 2025-01-20 13:37:29
Score: 1
Natty:
Report link
at renderNodeDestructive (C:\Users\Emma\Documents\test\tryingwork\node_modu

les\react-dom\cjs\react-dom-server.edge.production.js:4689:7) Export encountered an error on /_error: /500, exiting the build. ⨯ Static worker exited with code: 1 and signal: null

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

79371479

Date: 2025-01-20 13:33:28
Score: 3.5
Natty:
Report link

The issue was caused by a bug in the GEOS version used in Shapely, as pointed out by RuthC. Installing conda with the latest versions of all packages solved the problem!

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

79371456

Date: 2025-01-20 13:26:26
Score: 5.5
Natty: 5.5
Report link

i also having this problem anyone find the solution?

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

79371455

Date: 2025-01-20 13:26:26
Score: 1.5
Natty:
Report link

Due to the architectural design in Cloud Deploy, a single pipeline is designed to deploy only one type of target. While you can have multiple targets within one pipeline, but they must all be the same type (like GKE, all Cloud Run, etc.).

Currently, Cloud Deploy does not support different target types within a single pipeline because each type has unique configuration and requirements, such as different deployment processes, tooling and API. Combining multiple target types in one pipeline would make it more complex to understand, maintain, and debug, leading to more complicated setups. The recommended approach in Cloud Deploy is to create separate pipelines for each target environment. For further reference you can check this documentation.

You can also make a feature request to Google Cloud for this functionality and you can explain the challenges you’re encountering with the current approach would be helpful.

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

79371437

Date: 2025-01-20 13:21:25
Score: 3.5
Natty:
Report link

I was able to fix this problem by removing the Hardened Runtime Capability for MacOS. This oddly fixed the problem and allowed my app to get location updates again. Huge Thanks to @Paulw11

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Paulw11
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: azekkani

79371425

Date: 2025-01-20 13:15:23
Score: 0.5
Natty:
Report link

I got the same error.

I could solve it by installing libmpv-dev.

Then I made a symbolic link from the installation folder to my project folder.

ln -s  origin destiny

But the screen is black.

Hope it helps

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: jaim23

79371420

Date: 2025-01-20 13:13:23
Score: 3.5
Natty:
Report link

In my case, the issue was resolved by uninstalling and reinstalling the ESLint extension.

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

79371417

Date: 2025-01-20 13:13:23
Score: 1
Natty:
Report link

Had the same issue. I ended setting up the ScheduledJob so that it would run a .bat file that itself runs the .ps1 script to send email.

Here is an example of a .bat used :

@Echo Off
powershell.exe -file C:\path\to\email_job.ps1

You'd just have to point to the .bat in your ScheduledJob

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

79371412

Date: 2025-01-20 13:12:23
Score: 1
Natty:
Report link

you should just remove this line it's a TSX:

const [facing, setFacing] = useState < CameraType > ('back');

and replace it with Js line:

const [facing, setFacing] = useState("back");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Extreme DNA

79371399

Date: 2025-01-20 13:06:21
Score: 0.5
Natty:
Report link

Since I haven't seen it anywhere else here, I'll just add that my preferred method here would be as below. The + operator casts to a Number so it'll handle the trailing zeroes for you.

const foo = 123;
const bar = 123.45;
console.log(+foo.toFixed(1)); // 123
console.log(+bar.toFixed(1)); // 123.5

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

79371392

Date: 2025-01-20 13:02:20
Score: 0.5
Natty:
Report link

Something like this will work in sql - you haven't told us what the tables are called

select order, status, eta
from myTable
order by status desc, eta asc
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: CHill60

79371391

Date: 2025-01-20 13:02:20
Score: 0.5
Natty:
Report link

Unfortunately, the problem is the way that Planmaker saves the file. I found a very simple solution:

Open your file in Google Sheets then save it again, will work instantly.

Reasons:
  • Whitelisted phrase (-2): solution:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Thiago G. Santana

79371387

Date: 2025-01-20 12:59:19
Score: 2.5
Natty:
Report link

I have the following :

TYPE T_STR_table_TYPE IS TABLE OF VARCHAR2(4000) INDEX BY VARCHAR2(4000);

k_columns T_STR_table_TYPE := T_STR_table_TYPE();

However, on Oracle line 2 (where is set k_columns) 19.0.0.0.0 works properly without any compilation errors unlike 12.2.0.1.0 Oracle version where PLS-00222 error obtained

Initialisation substituted on

k_columns T_STR_table_TYPE; 

What is the cause? Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Roman Ieromenko

79371386

Date: 2025-01-20 12:59:19
Score: 1.5
Natty:
Report link

With:

  Dim wsh As Object
  Set wsh = CreateObject("WScript.Shell")
  Call wsh.Run(commandLine)

it works fine. The problem seems to be with the shell-command specificly.

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

79371385

Date: 2025-01-20 12:58:19
Score: 0.5
Natty:
Report link

I had the exact same issue was able to solve it by adding tsConfigPath. This is mentioned in the usage of the plugin.

If you start with official Vite template, you should specify the tsconfigPath:

{
  plugins: [dts({ tsconfigPath: './tsconfig.app.json' })]
}

Reference: https://github.com/qmhc/vite-plugin-dts

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

79371382

Date: 2025-01-20 12:57:19
Score: 1
Natty:
Report link

function nextTick(callback) {
    Promise.resolve().then(callback);
}

// Usage
nextTick(() => {
    console.log('This runs after the current tick.');
});
console.log('This runs first.');

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

79371377

Date: 2025-01-20 12:56:19
Score: 2.5
Natty:
Report link

Right-click on the PHP version and choose "delete". No need to uninstall Herd entirely.

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

79371373

Date: 2025-01-20 12:55:18
Score: 2
Natty:
Report link

For me this works:

chmod 777 storage/framework/cache/data/

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dr.IT79

79371370

Date: 2025-01-20 12:53:18
Score: 0.5
Natty:
Report link

Change java version of project via gradle.properties

org.gradle.java.home=/Applications/Android Studio.app/Contents/jbr/Contents/Home

or globally in bashrc file

export JAVA_HOME="/Users/mac/Library/Java/JavaVirtualMachines/jbr/Contents/Home"

change as per your system path

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Next Day Software Solution Pvt

79371369

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

I have a questions about this.

My thinking is that in large systems transaction on db can cause performance issue. And one of solution is coming to my mind is.

User unitOfWork to apply all changes as we need. Use Optimistic concurrency locks on aggregates

Is it a good idea ? I am thinking that in that way we will keep data consistency and resolve performance issue of transactions

Reasons:
  • Blacklisted phrase (1.5): I have a question
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hubert Przybylski

79371356

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

Ran into this while looking for my own answer. Figure out a solution that works (even if it isn't pretty):

before { ActionCable.server.instance_variable_set(:@pubsub, @old_pubsub_adapter) }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrius Chamentauskas

79371354

Date: 2025-01-20 12:47:15
Score: 2.5
Natty:
Report link

I had this problem when querying a view using SSMS. I restarted my SSMS and could then connect without any issues.

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

79371347

Date: 2025-01-20 12:43:14
Score: 0.5
Natty:
Report link

You can now access Private (Internal) Application Load Balancers via CloudFront with the newly introduced VPC Origins.

In the CloudFront console:

Your ALB (and hence the Beanstalk) will now be accessible via your CF Distribution.

Reasons:
  • No code block (0.5):
Posted by: nu_popli

79371342

Date: 2025-01-20 12:42:14
Score: 0.5
Natty:
Report link

Add this in .clang-format (see here, starting clang 13) :

EmptyLineAfterAccessModifier: Always

It will do for private, protected and public.

Just for info there is also EmptyLineBeforeAccessModifier

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

79371339

Date: 2025-01-20 12:40:12
Score: 7 🚩
Natty: 5
Report link

Do you find the solution?? I want to use the prebuilt viewer, I can render the PDF from base64 but I can't get the buttons to work (next, prev pages)

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • RegEx Blacklisted phrase (2.5): Do you find the
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sergio Garcia Heras

79371334

Date: 2025-01-20 12:37:10
Score: 4.5
Natty:
Report link

enter image description herethank you for your comments I tested by loading the files locally, it's better but the map tiles are not displayed, I just have a gray background

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Laura Lyon

79371331

Date: 2025-01-20 12:35:10
Score: 2.5
Natty:
Report link

I use gitlab as a remote repository. Created a private maven repository in gitlab. https://docs.gitlab.com/ee/user/packages/maven_repository

When the dockerfile is running, dependencies are loaded from it.

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

79371325

Date: 2025-01-20 12:34:09
Score: 1
Natty:
Report link

Does it matter? Gitlab sees that you barely changed the file, and just moved it around, so it is displayed as such.

A change in code will be executed exactly like you made it in a future merge. The file in the old location will be removed, and the new location will be populated. If you have touched the file manually on a checkout location and pull this change, you'll probably get a conflict for the changed file (in stead of a delete/overwrite of the file).

If there is additional context that you would like people to have when viewing your change, add that to the commit message for people to read.

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

79371322

Date: 2025-01-20 12:33:09
Score: 1.5
Natty:
Report link

As of January 2025, I had the same problem with very slow step-by-step Python debugging.

I found the culprit thanks to a comment by Jossy: the Watch panel.

Hiding the Watch panel and/or deleting all unnecessary watches solved the problem: now it is extremely responsive.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: M G

79371321

Date: 2025-01-20 12:33:09
Score: 0.5
Natty:
Report link

I use a combo of claude and openai. You can upload PDFs directly to Claude api and it will extract desired info, but it can't do structured outputs. So I tell Claude to give json about the contents of the pdf (the best it can), then i pass the response to openai to convert Claude's response into actual json. Takes two api calls instead of one, but the upside is no first converting PDFs to images (no quick and easy way to do this in Python or nodejs), no extracting only text or only image (Claude can interpret both), and it's fast enough to run in a serverless lambda without the need for lambda layers or special binaries, just first upload the file to s3, then convert to base64 before passing to Claude. Works wonders

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: 55 Cancri

79371305

Date: 2025-01-20 12:28:07
Score: 5
Natty: 4
Report link

using advanced custom can able to add custom status in product status dropdown

enter image description here

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: shaik maboo basha

79371300

Date: 2025-01-20 12:27:06
Score: 5
Natty:
Report link

I have same problem in bs 5.3. In body tag just add:

<body onload="Array.from(document.getElementsByClassName('carousel')).forEach((x) => new bootstrap.Carousel(x));">

Reasons:
  • Blacklisted phrase (1): I have same problem
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have same problem
  • Low reputation (1):
Posted by: HappyMan

79371294

Date: 2025-01-20 12:25:05
Score: 2.5
Natty:
Report link

NFS does not authenticate using credentials such as user and password. It restricts access based on client IP address*. Meaning you authenticate by your machine IP, not which user are you.

You have defined the IP restriction as * meaning "no restriction" (any IP).

See similar question Mount network share with nfs with username / password.

*You can also authenticate to nfsv4 using Kerberos - a very complicated setup is required.

Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): See similar question
  • Low reputation (0.5):
Posted by: Oren Kishon

79371291

Date: 2025-01-20 12:24:05
Score: 3
Natty:
Report link

This issue can arise due to several factors.

  1. Large CSS or JavaScript Files

  2. First Contentful Paint (FCP) Issues

  3. Server Configuration and Resource Availability

  4. Internet Connection and Browser Updates

For additional troubleshooting steps, you may find this guide helpful https://pagespeed.website/blog/how-to-fix-the-issue-of-google-pagespeed-insights-not-working-easily-and-quickly

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

79371290

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

Resolved. group_vars/local/.local_vault.yml is the culprit. Must NOT use a hidden file started with a ..

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

79371284

Date: 2025-01-20 12:22:03
Score: 12 🚩
Natty: 6
Report link

Did u solve this? I have the same problem in my company; we are using an old app and im getting this problem when i deploy to behind proxy

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Did u solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did
  • Low reputation (1):
Posted by: Berkay Sarıalioğlu

79371277

Date: 2025-01-20 12:18:02
Score: 2
Natty:
Report link
  1. Ctrl + Shift + P -> View: Reset View Location. Usually works, if not then:
  2. Right Click on any Icon at the left-most (Search, Extensions, Run and Debug) and Select(tick) 'Explorer'. Sometimes it gets deselected and does not show.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: awatansh anand

79371273

Date: 2025-01-20 12:17:01
Score: 1
Natty:
Report link

This was reported a while back as a bug in the Timefold Solver. There has been no progress yet.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Lukáš Petrovický

79371261

Date: 2025-01-20 12:13:00
Score: 2
Natty:
Report link

if you only want to update one trace, you still have to provide an array containing an array for that one trace: update = {'x': [[x]], 'y': [[y]]};

OMG, this saved my bacon, thanks! I've been struggling for a half day(!) trying to update a couple of traces in a plotly polar plot on mouse-mnove and, although my overall syntax was spot on, I simply did not know that DOUBLE square brackets would be needed round such values. Now I know how it's done, I can get on with the rest of the coding needed. Thanks again!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rob Bannstrom

79371255

Date: 2025-01-20 12:11:00
Score: 3
Natty:
Report link

An artificial intelligence song site introduces

  1. `

List item

`

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ام مسعود

79371252

Date: 2025-01-20 12:09:59
Score: 1
Natty:
Report link
 task.create("commonJar",Jar){
   from sourceSet.main.output
   include 'com/abc/**'
}

Execute it in some dependent task

finalizedBy commonJar
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: ssaa

79371246

Date: 2025-01-20 12:07:57
Score: 15.5
Natty: 8
Report link

I have the same problem, did you find the solution? Thanks in advance

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (3): did you find the solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: aaaa

79371239

Date: 2025-01-20 12:06:57
Score: 1.5
Natty:
Report link

Trying to solve the problem with possible to pass not all needed keys for create class instance, mentioned by @jcals, I think I need custom class which constructor takes only object of corresponds keys, value type:

function getEntries<
  T extends Record<PropertyKey, unknown>,
  K extends keyof T,
  V extends T[K]>(o: T) {
    return Object.entries(o) as [K, V][]
}

interface T_Dict<K extends PropertyKey, V> extends ReadonlyMap<K, V> {get(key: K): V}

export class DictObject<K extends PropertyKey, V> extends Map<K, V> implements T_Dict<K, V>{
  constructor(obj: Record<K, V>) {
    super(getEntries(obj))
  }

  public override get(key: K): V {
    if (!this.has(key)) throw new Error('Wrong key!')
    return this.get(key)
  }
}

But I cant force it to produce instanse of ReaadOnlyMap - it's still has method like delete/clear (

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @jcals
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Poul

79371236

Date: 2025-01-20 12:05:57
Score: 3.5
Natty:
Report link

You need to create the application by using New-MgServicePrincipal -Appid "The app id you find in the logs"

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

79371228

Date: 2025-01-20 12:02:56
Score: 0.5
Natty:
Report link

I found the solution. There was a middleware "LogApiAccess" trying to log the request and response to database. I just disable it and the test case worked. $this->withoutMiddleware(LogApiAccess::class);

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

79371226

Date: 2025-01-20 12:02:54
Score: 6 🚩
Natty: 5
Report link

This link might help to fix this issue: https://community.atlassian.com/t5/Confluence-questions/Why-does-the-Table-Filter-for-the-quot-Label-s-quot-column-join/qaq-p/2000665

Reasons:
  • Blacklisted phrase (1): This link
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Giedrius Skužinskas

79371221

Date: 2025-01-20 12:00:54
Score: 1
Natty:
Report link

I had the same issue and found the problem.

  1. Make sure you have the latest next js and react js packages.

  2. replace imports: useActionState from "react" not "react-dom"

    import { useActionState } from "react";

  3. replace your useFormState with the useActionState in your code.

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

79371217

Date: 2025-01-20 11:58:53
Score: 4.5
Natty: 5
Report link

This library solved my problem: https://www.npmjs.com/package/bcryptjs-react

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

79371213

Date: 2025-01-20 11:57:52
Score: 2.5
Natty:
Report link

Try copying it

import shutil

shutil.copy('file_to_copy.xlsx', 'destination')

this it before copying, as you can see, it says ‘protected viewing’ in caps and bold text.

and this is after copying the Excel file, there is no protected view here

you can delete first instance of Excel file later after copying

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

79371209

Date: 2025-01-20 11:53:52
Score: 3.5
Natty:
Report link

If you’ve ever had to verify users online, you know how much of a hassle it can be.

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

79371183

Date: 2025-01-20 11:43:48
Score: 9 🚩
Natty:
Report link

@Dharman, interesting, I thought this was the accepted procedure if you answer you own question. I have seen that comment often. Could you tell me what is misleading about it?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you tell me what
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Dharman
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: wecky

79371166

Date: 2025-01-20 11:34:46
Score: 2
Natty:
Report link

Danny '365CSI' Engelman 's answer code is very useful, but there are some minor problems , it text overflow hidden when the country area is too small. Here are some modifications :

// ...
   labelPath(path){
      path.setAttribute("fill","none");
      path.setAttribute("stroke","black");
      let { x, y, width, height } = path.getBBox();
      let title   = path.getAttribute("title");

      // min width 50

      if (width < 50) {
          x = x - (50 - width) / 2
          width = 50
      }
      let xoffset = ~~(path.getAttribute("x") || 0);
      let yoffset = ~~(path.getAttribute("y") || 1);

      // you can set custom offset ...

      let id   = "p" + Math.random() * 1e18; // create a unique id
      let line = `<path id="${id}" 
                        d="m${x+xoffset} ${y+yoffset+height/2}h${width}" stroke="red"/>`;
      this.svg.insertAdjacentHTML("beforeend", line + `
        <text style="font-size: 15px">
        <textPath startoffset="50%" text-anchor="middle" 
                  dominant-baseline="middle" href="#${id}">
          ${title}</textPath>
        </text>`);
  }
// ...

Since I don't have 50 reputation, I can't comment on him anwser :)

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • RegEx Blacklisted phrase (1.5): I don't have 50 reputation
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: tcsnzh

79371164

Date: 2025-01-20 11:32:45
Score: 5
Natty: 4.5
Report link

Did you follow the guidelines?

https://developers.cloudflare.com/turnstile/get-started/mobile-implementation/#webview-configurations

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you
  • High reputation (-1):
Posted by: Janning Vygen

79371163

Date: 2025-01-20 11:31:44
Score: 10.5 🚩
Natty: 5.5
Report link

were you able to fix the issue?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix the issue?
  • RegEx Blacklisted phrase (3): were you able
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rhonalyn Flores

79371154

Date: 2025-01-20 11:29:43
Score: 1
Natty:
Report link

If using a table is restricted then this can be achieved using STRING_SPLIT function.

(Following code is for MS SQL)

declare @ids varchar(50) = '1,3,10'

SELECT 
    t.value as Id, X.Name
FROM 
    STRING_SPLIT(@ids, ',') t
    LEFT JOIN X on t.[value] = X.Id

This will provide the expected output.

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