79610378

Date: 2025-05-07 11:06:32
Score: 1
Natty:
Report link

You can use document.addEventListener('selectstart', e => e.preventDefault()) to disabled selection during drag and drop. https://developer.mozilla.org/en-US/docs/Web/API/Node/selectstart_event

But it's not supported on iOS yet.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Andrey Hamidulin

79610377

Date: 2025-05-07 11:05:31
Score: 2.5
Natty:
Report link

You can start from the first and get the info about the PHP Laravel with way,
VPS, cPanel,
It's have differnce between this, You went to start from the first :

  1. App running with public/index.php

  2. Composer install

  3. You need to move example.env from and convert to .env and pass correct information.

  4. If app running with npm need to install nodeJS and run command npm install, npm run build...

  5. In first you can run it in port 8000 and ferward the url to this port with nginx.

  6. Need to set this information in config of nginx.

If you have errors or deploy it's not working you can read tihs :
https://learn.microsoft.com/en-us/azure/mysql/flexible-server/tutorial-php-database-app

If have errors right now need to start with:

  1. Need to push to github.

  2. and connect with git action.

  3. and set you Azure information and run deploy.

If it's not working for you, you can create a VM and start to use SSH and deploy with aapanel.

If all things it's not working with you, use this link and going doing step-by-step.
https://coderonfleek.medium.com/hosting-a-laravel-application-on-azure-web-app-b55e12514c46

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ibrahim Abu Hassanein

79610371

Date: 2025-05-07 11:02:30
Score: 3.5
Natty:
Report link

Very informative post. I came to know many more information from the post.

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

79610367

Date: 2025-05-07 11:01:30
Score: 1
Natty:
Report link

System Settings --> General --> Sharing --> Enable Remote Login.
After enabled, port 22 will be opened automatically. If not, click on info against remote login toggle. Check Allow full disk access is enabled, try using administrator under allow access for option and set for All Users.
Also, a new user can be added by clicking "+" symbol at bottom.
Using terminal, test the SSH connection using another system with this command :-
"ping destinationIPAddress"
"ssh macusername@destinationIPaddress "- shows connection status of port 22.
If still unable to access, try to delete HostKeys and packages from the folder by following the steps:

  1. Press Ctrl + R in windows.

  2. "%LOCALAPPDATA%\Xamarin\Monotouch"

  3. Delete the files inside the folder and try to connect again.

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

79610364

Date: 2025-05-07 10:58:28
Score: 4
Natty: 4.5
Report link

But this means, if someone wants to increment a property in an atomic way, then an eTag must be provided to receive ETag mismatches (in case of multiple simultaneous write operations)?
Or is a CosmosDb increment (patch) operation always atomic?

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

79610352

Date: 2025-05-07 10:49:25
Score: 1
Natty:
Report link

The best way to list multiple services is to present them in a clear, organized, and user-friendly format that highlights value and makes navigation easy. Here are some effective strategies:

1. Use Bullet Points or Icons

Simple and scannable. Great for landing pages and brochures.
Example:

2. Categorize Services

Group related services into categories for better structure.
Example:

Digital Marketing

Web Services

3. Use a Grid or Card Layout (for websites)

Visually attractive and mobile-friendly. Each card can include a title, icon/image, short description, and a “Learn More” button.

4. Add Short Descriptions

Briefly explain each service to add clarity and increase interest.
Avoid jargon—use benefit-driven language.

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

79610349

Date: 2025-05-07 10:48:25
Score: 0.5
Natty:
Report link

you need to change color format of the image after resizing because opencv works with bgr format and yolo expects rgb

img = cv2.resize(image, (640, 640))  # Resize to model input size
img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) 
img = img.astype(np.float32)

I guess this will solve your problem

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

79610340

Date: 2025-05-07 10:43:23
Score: 0.5
Natty:
Report link

When relying on indices for event binding, You must use trackBy with *ngFor

in component ts file add:

trackByIndex(index: number, item: any): number {
  return index;
}

change this in html:

   <input [timeInput]="time" (changeTime)="onTimeChanging(arrayIndex, $event)" *ngFor="let time of timeArray; index as arrayIndex; trackBy: trackByIndex">
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Omprakash S

79610334

Date: 2025-05-07 10:40:23
Score: 2
Natty:
Report link

Simply solution for pyqt6

dlg = QMessageBox.question(self,'Title','my qiestopm selezionata?')
if dlg == dlg.Yes:
    make something
if dlg == dlg.No:
    make something
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Roland

79610328

Date: 2025-05-07 10:35:21
Score: 4
Natty:
Report link

You are just creating a signature field. Check this example from open-pdf https://github.com/LibrePDF/OpenPDF/blob/master/pdf-toolbox/src/test/java/com/lowagie/examples/objects/Signing.java

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

79610321

Date: 2025-05-07 10:33:20
Score: 4
Natty:
Report link

j' ai toujours le meme probleme et j'essaye de trouver la solution merci de nous repondre

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

79610320

Date: 2025-05-07 10:33:20
Score: 3.5
Natty:
Report link

Did you install the Firebase package using SPM? I think FirebaseCore needs a runtime dependency, which, as far as I know, is not possible in preview at the moment.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you in
  • Low reputation (1):
Posted by: Tornike Despotashvili

79610309

Date: 2025-05-07 10:26:18
Score: 1
Natty:
Report link

I found a working solution to the problem mentioned above.

It only works if you own the page and have access to Facebook Business Manager. In that case you can create a system user and generate a system user access token. This token can be granted the necessary permissions for the page and, crucially, does not expire (unless the permissions will be changed or revoked).

Steps:

  1. Set Up Facebook Business Manager: Go to business facebook manager and create a Business Manager account if you don’t already have one.

  2. Add your Facebook page to your Business Manager.

  3. Create a Facebook App: In the facebook developer portal create a new app (or use an existing one).

  4. Add a System User: In Business Manager, navigate to Business Settings > Users > System Users. Click Add to create a new system user (give it a name and assign it a role, usually "Admin" for full access).

  5. Assign Assets and Permissions: Assign your Facebook page as an asset to the system user.

  6. Grant the system user the necessary permissions for the page.

  7. Generate a System User Access Token: In the system user’s settings, click Generate New Token. (Select your app and the required permissions.)

  8. Use the System User Access Token to generate a System Page Access Token

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matthias Neumüller

79610301

Date: 2025-05-07 10:20:16
Score: 2
Natty:
Report link

Sorry i cant reply because of my rep (annoying).

  1. The question is related to template APPROVAL submission.

  2. It uses positional params

The most voted request is for sending templates using an already approved template and that uses named parameters on the body.

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

79610295

Date: 2025-05-07 10:18:15
Score: 0.5
Natty:
Report link

This article helped me a lot: https://www.docker.com/blog/docker-best-practices-choosing-between-run-cmd-and-entrypoint/

Regarding your question, you should make the "core" (unchangeable) part of your container's start command in the Dockerfile using the ENTRYPOINT instruction in exec form:

ENTRYPOINT ["executable", "arg1", "arg2"]

Then, you can provide additional command line arguments in your compose.yaml using command: field and they will be appended to your ENTRYPOINT command. To make it more flexible, you can use variables:

command:
    - $ARG3
    - $ARG4

So, starting your container using docker compose may look like:

ARG3="arg3" ARG4="arg4" docker compose up

which eventually will call executable arg1 arg2 $ARG3 $ARG4

Reasons:
  • Blacklisted phrase (1): This article
  • Blacklisted phrase (1): helped me a lot
  • Whitelisted phrase (-1.5): you can use
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: SLebedev777

79610290

Date: 2025-05-07 10:16:15
Score: 1.5
Natty:
Report link
"editor.inlineSuggest.enabled": false,
"editor.parameterHints.enabled": false,
"[<language>]": {
  "editor.quickSuggestions": false,
  "editor.suggest.showWords": false,
  "editor.suggest.showSnippets": false
},
"typescript.suggest.enabled": false,
"javascript.suggest.enabled": false
I added this to the settings.json file. Worked like a charm! :)
Reasons:
  • Blacklisted phrase (1): Worked like a charm
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aiman Waheed

79610286

Date: 2025-05-07 10:14:13
Score: 6 🚩
Natty:
Report link

Did you tried to upgrade to latest 2.5.11?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: James Luan

79610281

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

I want to have a grid, which I can modify before the start of the simulation, but I can't make buttons which use a function again after clicking.

Snippet:

def click_update(index):
    status[index] = abs(status[index] - 1)
    btn[index].config(bg=btn_color(status[index]))

for i in range(2500):
    files.append("button"+str(1+1)) #<--add plus 1

for i in range(len(files)):
    status.append(0) #<--remove int


btn[i].grid(row=int(i//50),column=i%50,sticky="we") #<== remove int from column keyword

for i in range(len(files)):
    btn[i].config(bg=btn_color(status[i]), command=lambda index=i: click_update(index))
    btn.append(Button)

Screenshot:

enter image description here

On the screenshot, you will see either black nor white when clicking

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79610260

Date: 2025-05-07 10:02:10
Score: 2.5
Natty:
Report link

I was getting same error with a .Net 8 Project. Luckily read the warning message that installed Automapper version is 14, but expected is 12.0.1. Using Nuget package I updated the version and the issue got resolved

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

79610249

Date: 2025-05-07 09:58:08
Score: 0.5
Natty:
Report link

For PDFs generated from Sweave projects with multiple files, for quality checking and proofreading of the following tips are recommended:

Check the Compilation Process: Make sure all the.Rnw files knit properly without any compilation error. Compilers in a single file have a tendency to impact the document as a whole.

Syntax Check Automation: Utilize tools like lintr in R code to identify syntax errors early on and thereby save time while reviewing.

Proofread R Code and Outputs: Read through every block of R code and outputs that they generate (figures, tables, etc.) thoroughly to ensure that they are accurate and properly referenced.

Cross-Referencing Figures and Tables: Make sure cross-references to tables and figures are accurate and refer to the corresponding labels and numbers of the document.

Consistent Formatting: Establish a plain LaTeX template for captions, table format, and headings such that the document is uniform.

Check for Missing Files: Verify all links to external files (e.g., images, data files) are correctly referenced and not missing from the project.

Spell Check and Grammar: Utilize LaTeX-compatible spell check programs or applications such as languageTool to check for spelling and grammar mistakes in text.

Version Control: In case of team work, utilize Git or some other version control package to monitor changes and avoid overwriting one's own files.

Pre-Export Review: Editing the document using an editor like Overleaf or TeXShop is a good practice in advance to find out any layout or formatting issues prior to exporting the final PDF as they might not show up inside RStudio.

Final Read-Through: Either if automated tools have been used or not, always provide a final read-through to detect any last-minute mistake or inconsistencies.

Cross-Device Testing: Make sure the end PDF will look fine on different devices and PDF readers to ensure compatibility.

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

79610243

Date: 2025-05-07 09:56:07
Score: 6 🚩
Natty: 5
Report link

I'm running through the same problem but the post of Dzmity is not available anymore. Where can I find the steps please ?

Reasons:
  • RegEx Blacklisted phrase (1): I find the steps please
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yaya0306

79610240

Date: 2025-05-07 09:55:06
Score: 2
Natty:
Report link

instead of:

#include <opencv2/opencv.hpp>

use:

#include <opencv4/opencv2/opencv.hpp>
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mohammad Hosein Abedi

79610239

Date: 2025-05-07 09:55:05
Score: 12.5 🚩
Natty: 5.5
Report link

I'm having the same issue. Were you able to resolve it?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve it?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: M.Jan

79610236

Date: 2025-05-07 09:54:05
Score: 3.5
Natty:
Report link

the second answer is correct, except there is typo - it should be pull, not push

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

79610230

Date: 2025-05-07 09:51:04
Score: 1.5
Natty:
Report link

or

python3 -m pip install --upgrade pip
python3 -m pip install --upgrade Pillow

or
python -m pip install --upgrade pip
python -m pip install --upgrade Pillow

See https://pillow.readthedocs.io/en/stable/installation/basic-installation.html
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Aramis76

79610229

Date: 2025-05-07 09:51:04
Score: 2
Natty:
Report link

In am of the opposite opinion. 3 Bytes vs. 8 Bytes can make a huge difference, especially considering the big picture, or huge amounts of records accross multiple tables, databases, servers. It is not only storage, which of course, is relatively cheap. If you consider the savings in memory, in index columns, comparison operations (mostly range scans (BETWEEN)), I would say this can really make a relevant difference.

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

79610226

Date: 2025-05-07 09:50:04
Score: 2
Natty:
Report link

For a better experience with lightweight APKs, I recommend using apps like Ultra Panda. Check out their website for more details: Ultra Panda APK.

I visit this website and get the information how to download any apk file for Android.

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

79610224

Date: 2025-05-07 09:49:03
Score: 1.5
Natty:
Report link

I fix the issue deleting

%userprofile%\AppData\Local\Microsoft\IdentityCache

and signing in again

Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: Nicola Di Lillo

79610221

Date: 2025-05-07 09:48:03
Score: 2.5
Natty:
Report link

@ Shailesh gavathe, you can achieve the same as @vestland showed with plotly.express if you specify it in fig,.update_traces.

data = dict(
    character=["Eve", "Cain", "Seth", "Enos", "Noam", "Abel", "Awan", "Enoch", "Azura"],
    parent=["", "Eve", "Eve", "Seth", "Seth", "Eve", "Eve", "Awan", "Eve" ],
    value=[10, 14, 12, 10, 2, 6, 6, 4, 4])

fig = px.sunburst(
    data,
    names='character',
    parents='parent',
    values='value',
)
fig.update_traces(leaf=dict(opacity=1))

Figure

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @vestland
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: mfth

79610207

Date: 2025-05-07 09:38:00
Score: 0.5
Natty:
Report link

Create Custom Forms and Insert the response to Docs Place Holders

What you need is to create a custom Menu then use a Modal Dialog to create a pop up window then use the Google Docs built in Method replaceBody to replace the values on the place holder. Check the sample code I am sharing so you can start somewhere.

Sample Code

code.gs

function onOpen() {
  DocumentApp.getUi()
  .createMenu("Sample Menu")
  .addItem("Summon Firm", "openForm")
  .addToUi();
}


function openForm() {
  const html = HtmlService.createHtmlOutputFromFile('index')
    .setWidth(300)
    .setHeight(150);
  DocumentApp.getUi().showModalDialog(html, 'Enter Your Name');
}

function insertInput(input) {
  const doc = DocumentApp.getActiveDocument();
  const body = doc.getBody();
  body.replaceText('{{NAME}}', input);
}

index.html

<!DOCTYPE html>
<html>
  <head>
    <base target="_top">
  </head>
  <body>
    <p>What is your name?</p>
    <input type="text" id="nameInput" placeholder="Enter name">
    <br><br>
    <button onclick="submitInput()">Submit</button>
    
    <script>
      function submitInput() {
        const name = document.getElementById('nameInput').value;
        google.script.run.withSuccessHandler(() => {
          google.script.host.close();
        }).insertInput(name);
      }
    </script>
  </body>
</html>

Sample Output

image

References:

Modal Dialog - Apps Script

createMenu - Apps Script

replaceText - Google Docs - Google Apps Script

Reasons:
  • Blacklisted phrase (1): What is your
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: Babanana

79610200

Date: 2025-05-07 09:37:00
Score: 1.5
Natty:
Report link

Speaking of SEO, if you're managing something complex like a multilingual site, getting expert help makes a big difference.
I’ve worked with Fast Ranking, and they’re honestly the best SEO agency in Luton.
They really understand technical SEO and tailor strategies to your site’s needs.
Highly recommend them if you want to get everything optimised properly!

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

79610193

Date: 2025-05-07 09:32:59
Score: 0.5
Natty:
Report link

Another possibility using transparent color functions,

gaussian[r_, R_, w_ : 1] := Exp[-(r - R) . (r - R)/w]

dat1 = Flatten[#, 1] &@
   Table[{x, y, gaussian[{x, y}, {0, 0}]}, {x, -3, 3, 0.25}, {y, -3, 
     3, 0.1}];

dat2 = Flatten[#, 1] &@
   Table[{x, y, gaussian[{x, y}, {.5, 1.5}, 5]}, {x, -3, 3, 
     0.25}, {y, -3, 3, 0.1}];

mycf1[n_] := Opacity[#, If[n == 1, 
    ColorData["TemperatureMap"][.5 + #/2], 
    ColorData["TemperatureMap"][.5 - #/2]
    ]] &


Show[
 ListDensityPlot[dat2, PlotRange -> All, InterpolationOrder -> 0, 
  ColorFunction -> mycf1[2]] ,
 ListDensityPlot[dat1, PlotRange -> All, InterpolationOrder -> 0, 
  ColorFunction -> mycf1[1]] 
 ]

Here I have just scaled the opacity of the color function so that it goes to zero when the function value is minimum, and chose a color function which is white at the bottom. You still have to be careful to fine-tune things if they are strongly overlapping. Here's some examples

enter image description hereenter image description here

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

79610186

Date: 2025-05-07 09:27:58
Score: 2
Natty:
Report link

I'm using conda as env management tool. So, CTRL + Shift + P and then selecting the desired Python Interpreter worked for me.

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

79610183

Date: 2025-05-07 09:26:57
Score: 1
Natty:
Report link

To avoid Sphinx parsing included files as standalone reStructuredText documents, use a non-.rst extension for include files. Using .inc (e.g. planet.inc) is fine.

planet.inc

Hello |planet|.

earth.rst

.. |planet| replace:: Earth

.. include:: planet.inc
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mateusz Koza

79610180

Date: 2025-05-07 09:25:57
Score: 2
Natty:
Report link

Place your coupons/search route after resource routes. Otherwise, 'search' is treated as {coupon} dynamic property.

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

79610171

Date: 2025-05-07 09:19:55
Score: 2
Natty:
Report link
echo "<table>";
replace 

    echo " <table width=\"599\" border=\"1\">";
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: 陳建程

79610167

Date: 2025-05-07 09:18:54
Score: 1
Natty:
Report link

I managed to finally put together a piece of code that does what I want. The problem was that the filtering of the data removes the 2D structure of the coordinates and returns a vector form of the x/y coordinates of the remaining points.

I then transformed the filtered data back in 2D form and replaced the filtered out coordinates with NaN values. This was also done for the intepolated pressure data. This was then used for plotting with .contourf without issues.

Bellow is the complete code, if someone wants to test it, they can use the input data posted bellow. I left all the comments from my code, if moderators think thats too much, I will remove them.

import pandas as pd
import numpy as np
import scipy
import matplotlib.pyplot as plt
import matplotlib



#-------------------------- INPUT ------------------------------

# Read data

input_filename = 'period_rot_shadow_vel-mag_p-stat.txt'

df_results = pd.read_csv(input_filename,
                         sep =',', skiprows = 1,
                         names = ['nodenumber', 'X', 'Y', 'Z','p_stat', 'vel_mag'])


#---------------------- CREATE RECTANGULAR GRID ----------------

# Rectangular grid is created with a numpy.meshgrid function, which takes 2 1D arrays to define the
#size of the rectangular grid and the spacing between the points

#get the size of the data to generate the same size array
x_data_min = df_results['X'].min()
x_data_max = df_results['X'].max()
y_data_min = df_results['Y'].min()
y_data_max = df_results['Y'].max()


#from max and min values calculate the range (size) for both axis
x_size = np.abs(x_data_max) + np.abs(x_data_min)
y_size = np.abs(y_data_max) + np.abs(y_data_min)


#create 2 numpy arrays to define the size and the spacing of the rectangular grid, arrays
#are defined as lists, so we can use the list comprehension to use the data size parameters and the
#desired spacing
#all values are in meters

rect_mesh_spacing = 0.001

#number of points on each edge is calculated from the x_size and spacing, +1 is added so that we always
#cover the whole area covered in exported data
N_x_steps = int(x_size/rect_mesh_spacing) + 1
N_y_steps = int(y_size/rect_mesh_spacing) + 1

#create an empty list to fill with the values
rect_mesh_x_axis = np.array([])
rect_mesh_y_axis = np.array([])

#for loop to fill the list of evenly spaced value in the x axis
for i in range(0, N_x_steps):
    x = x_data_min + i * rect_mesh_spacing
    rect_mesh_x_axis = np.append(rect_mesh_x_axis, x)

for i in range(0, N_y_steps):
    y = y_data_min + i * rect_mesh_spacing
    rect_mesh_y_axis = np.append(rect_mesh_y_axis, y)


#use meshgrid function to create a rectangular grid, meshgrid returns a tuple of ndarrays
xx, yy = np.meshgrid(rect_mesh_x_axis, rect_mesh_y_axis)

#create an array from meshgrid points
xy_mesh = np.array((xx,yy)).T




#---------------- FILTER RECTANGULAR GRID BASED ON DISTANCE TO ORIGINAL POINTS ----------------

# If we would not filter out only the points that are in some vicinity to the original data points
#exported from Fluent, the interpolation function would interpolate also to the points of rectangular grid
#that are far away from the actual exported data points

# Define input coordinates (imported data point coordinates) as numpy arrays
input_coords = np.array(list(zip(df_results['X'].to_numpy(), df_results['Y'].to_numpy())))

# scipy.spatial.KDTree function is used to lookup nearest-neighbour for defined points
tree = scipy.spatial.KDTree(input_coords)

dist, idx = tree.query(xy_mesh)
#define the radius of lookup of vicinity of points
radius = (rect_mesh_spacing + rect_mesh_spacing) / 2
distance_filter = dist <= radius

# Filter out the points in rectangular grid that are close to the exported data points
#this type of filter produces vectors, 1D arrays for each coordinate, filled with x/y coordinates for each
#point that was not filtered out. The filtered points are not included
xx_filt, yy_filt = xy_mesh[distance_filter].T




#-------------------- INTERPOLATE DATA -------------------------------------------------------

# scipy.interpolate.griddata(points, values, xi)
#points = data point coordinates of the values we want to interpolate
#values = the values at the points
#xi = points at which to interpolate data
#we will interpolate using the NEAREST method
#because the input data is in vector form, p_stat_interpol will also be in vector form
p_stat_interpol= scipy.interpolate.griddata((df_results['X'], df_results['Y']), df_results['p_stat'],
                                               (xx_filt, yy_filt), method = 'nearest')




#----------------------- STRUCTURING DATA TO GRID -----------------------------------------------
# As mentioned, the filtered and interpolated data is in vector form and has no connection to the grid and
#this is the problem for contourf plot function, which needs pressure data in 2D form. One possible way is to
#transform the vector form to the 2D form and replace the missing values (of the points that we filtered out
#before) with NaN

# Numpy unique function is used to get the unique values for coordinates, this way we get the grid axes
x_unique = np.unique(xx_filt)
y_unique = np.unique(yy_filt)

# We construct a new grid of NaN values
p_stat_grid = np.full((len(y_unique), len(x_unique)), np.nan)

# Fill the grid data with the p_stat_interpol values where possible, other values will stay NaN
for xi, yi, zi in zip(xx_filt, yy_filt, p_stat_interpol):
    ix = np.where(x_unique == xi)[0][0]
    iy = np.where(y_unique == yi)[0][0]
    p_stat_grid[iy, ix] = zi

# Now we create a new mesh for plotting, this mesh will be in structured 2D form (we could probably just use the
#first xx, yy mesh from the beginning of the code
X_grid, Y_grid = np.meshgrid(x_unique, y_unique)




#------------------------- PLOT  PRESSURE CONTOURS  ---------------------------------

fig, axs = plt.subplots(1,4)
fig.set_size_inches(18, 6)

# Define number of contour levels
contour_levels = 50

# Plot non-interpolated data
axs[0].set_title('xx,yy')
axs[0].scatter(xx, yy, color = 'red')
axs[1].set_title('xx_f,yy_f')
axs[1].scatter(xx_filt, yy_filt, color = 'red')
axs[2].set_title('scat xx_f,yy_f,p_int')
axs[2].scatter(xx_filt, yy_filt, c = p_stat_interpol,
               norm = matplotlib.colors.Normalize(vmin = np.min(p_stat_interpol),
                                                  vmax = np.max(p_stat_interpol)),
               cmap = 'bwr')
axs[3].set_title('cont xx,yy, p_int')
axs[3].contourf(X_grid, Y_grid, p_stat_grid, contour_levels, cmap='bwr')



plt.show()

Data Sample:

nodenumber, x-coordinate, y-coordinate, z-coordinate, pressure,velocity-magnitude 1,-2.745435307E-02, 2.104994697E-03,-2.185633883E-02,-8.094133146E+03, 4.686428765E+01 2,-2.738908254E-02, 3.158549336E-03,-2.185629997E-02,-8.104864467E+03, 4.606212337E+01 3,-2.757460451E-02, 5.167262860E-03,-2.185623337E-02,-8.093051020E+03, 4.495193692E+01 4,-2.733931890E-02, 5.656880572E-03,-2.185622490E-02,-8.116433300E+03, 4.405860916E+01 5,-2.759126430E-02, 6.070293390E-03,-2.185618260E-02,-8.084872243E+03, 4.428866265E+01 6,-2.737704207E-02, 6.507508463E-03,-2.185627796E-02,-8.106663765E+03, 4.361527022E+01 7,-2.762655064E-02, 0.000000000E+00,-2.185611682E-02,-8.057108514E+03, 7.720657592E+01 8,-2.762655053E-02, 1.920716437E-05,-2.185609461E-02,-8.057029042E+03, 7.591235710E+01 9,-2.762654491E-02, 4.228439350E-05,-2.185606795E-02,-8.057013286E+03, 7.368296305E+01 10,-2.762653069E-02, 6.997596792E-05,-2.185603598E-02,-8.057068875E+03, 7.113144845E+01 11,-2.762650289E-02, 1.032044066E-04,-2.185599766E-02,-8.057152704E+03, 6.841504839E+01 12,-2.762645410E-02, 1.430766767E-04,-2.185595174E-02,-8.057232638E+03, 6.565721945E+01 13,-2.740227795E-02, 1.197447086E-03,-2.185604704E-02,-8.086002417E+03, 4.769658095E+01 14,-2.729995772E-02, 4.555508762E-03,-2.185613769E-02,-8.113811400E+03, 4.473595941E+01 15,-2.762637329E-02, 1.909744910E-04,-2.185589666E-02,-8.057315245E+03, 6.283751408E+01 16,-2.762624634E-02, 2.484489809E-04,-2.185583068E-02,-8.057450247E+03, 5.993119264E+01 17,-2.762465252E-02, 6.184882281E-04,-2.185591455E-02,-8.059810059E+03, 5.089516358E+01 18,-2.762605091E-02, 3.174151315E-04,-2.185575167E-02,-8.057686244E+03, 5.707278224E+01 19,-2.762531127E-02, 4.994699682E-04,-2.185577109E-02,-8.058658000E+03, 5.248349769E+01 20,-2.762366891E-02, 7.612957389E-04,-2.185583175E-02,-8.062030940E+03, 4.956215663E+01

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Filler text (0.5): 000000000
  • Low reputation (0.5):
Posted by: user2882635

79610151

Date: 2025-05-07 09:07:51
Score: 3.5
Natty:
Report link

The problem was that my jdbc driver version did not support JDK21.

Link: https://www.oracle.com/database/technologies/appdev/jdbc-drivers-archive.html

enter image description here

I tried these versions and all worked.

23.8.0.25.04

23.7.0.25.01

21.17.0.0

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Murat K.

79610144

Date: 2025-05-07 09:02:50
Score: 1.5
Natty:
Report link

For schema comparison only (not data at the moment) Redgate PostgreSQL Compare and MySQL Compare allow you to compare two databases.

They both have a Community edition which will be free to use for for students, educators, small businesses and non-commercial open-source projects.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Adam Britt -Flyway PM

79610141

Date: 2025-05-07 08:59:49
Score: 1.5
Natty:
Report link

Found a fix. import Step from shepherd.js/src/types/step; should be removed and import type { StepOptions } from 'shepherd.js'; should be used. Step.StepOptions is no longer valid in latest version of Shepherd.

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

79610140

Date: 2025-05-07 08:59:49
Score: 2
Natty:
Report link

A simple restart of the simulator should fix this issue.

Uninstall the app -> restart simulator -> rebuild the application.

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

79610135

Date: 2025-05-07 08:57:48
Score: 2
Natty:
Report link

the main issue that we forgot add Annotation

IgnoreAntiforgeryToken
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Thăng Real

79610132

Date: 2025-05-07 08:54:47
Score: 3
Natty:
Report link

It's all bad. YFinance is not the only game in town. Besides people can scrape their page if they don't play ball and give us a working API. What is the point of this? They are clearly not supporting developers.

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

79610131

Date: 2025-05-07 08:53:47
Score: 2
Natty:
Report link

A simple restart of the simulator should fix this issue. Uninstall the app -> restart simulator -> rebuild the application.

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

79610122

Date: 2025-05-07 08:45:44
Score: 2
Natty:
Report link

You can dotnet build and then dotnet run --no-build }, so that only the output of your program will be piped.

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

79610107

Date: 2025-05-07 08:38:42
Score: 3.5
Natty:
Report link

Regarding Java exception handling mechanisms, there's an important aspect to consider about how exceptions propagate in multithreaded environments.

Based on the original question, when an uncaught exception occurs in a thread, the thread terminates but other threads continue running. This is fundamentally different from how exceptions work in single-threaded applications where an uncaught exception terminates the entire program.

I'd like to request clarification about a specific aspect of exception handling in multithreaded contexts:

When using ExecutorService or ThreadPoolExecutor, how exactly are exceptions handled when they occur in worker threads? Are they silently swallowed, or is there a mechanism to propagate them to the main thread? The documentation mentions UncaughtExceptionHandler, but it's not clear how this integrates with thread pools.

Additionally, could someone clarify the best practices for handling checked vs. unchecked exceptions in worker threads? Should we always wrap checked exceptions in unchecked ones when working with thread pools?

Understanding these details would help explain why Java's exception handling mechanism is designed this way in multithreaded environments.

Reasons:
  • RegEx Blacklisted phrase (2.5): could someone clarify
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Adam Smith

79610102

Date: 2025-05-07 08:34:41
Score: 2
Natty:
Report link

In my case, it was a proxy issue. I'm using Fiddler to intercept requests, and once I launched Fiddler, the problem disappeared.

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

79610093

Date: 2025-05-07 08:29:40
Score: 1.5
Natty:
Report link

removing the [state=open]:animate-in from both DialogPrimitive.Overlay and DialogPrimitive.Content fixed the problem for me

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

79610091

Date: 2025-05-07 08:28:40
Score: 1
Natty:
Report link

I have similar situation.

I am developing captive portal which triggers Captive Network Assistant, this in turns shows buttons for login. Google Login works on: iPad, macOS and on Android as well - all inside CNA.

Only iPhone is rejected with message 403 disallowed user agent.

What is even more strange is that iPad has the same user agent as iPhone:CaptiveNetworkSupport-491.100.3 wispr

I am aware that Google intends to block custom webviews (which is futile), but this is official Apple browser Google rejects.

Hence I am suspecting this some thing different.

Microsoft Oauth works on all devices (CNA).

Reasons:
  • Blacklisted phrase (1): I have similar
  • Long answer (-0.5):
  • No code block (0.5):
Posted by: Nick

79610088

Date: 2025-05-07 08:27:39
Score: 1.5
Natty:
Report link

You might also want to add the adapterLocale to your LocalizationProvider

import { AdapterDayjs } from '@mui/x-date-pickers/AdapterDayjs';
import 'dayjs/locale/de';

<LocalizationProvider dateAdapter={AdapterDayjs} adapterLocale="en">
  {children}
</LocalizationProvider>;

Reference: https://mui.com/x/react-date-pickers/adapters-locale/

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

79610086

Date: 2025-05-07 08:26:39
Score: 1.5
Natty:
Report link

{"errorCode":2011,"errorDetails":"","locale":{"general":{"about_the_game":"About the game","account_history":"Account History","add_to_favorites":"Add to Favorites","and_1_more":"And one more","and_2_more":"And two more","and_3_more":"And three more","and_4_more":"And four more","and_5_more":"And five more","available_seat":"SIT HERE","balance":"Balance","balance_after_round":"Balance after the round","balance_before_round":"Balance before the round","been_playing":"You've been playing for","bet":"Bet","betting_options":"Betting Options","bet_type":"Bet type","cancel":"Cancel","card":"Card","cards_dealt":"Cards dealt","card_combinations":"Card combinations","cashier":"Cashier","click_to_play":"Click to play","close":"Close","continue":"Continue","current_round":"ROUND","dealer":"Dealer","dealer_has_combination":"<strong style="text-transform:uppercase;">{{combination}}</strong>","game_end":"Game end","game_info":"Game Info","game_info_version":"Software Version: 22.03","game_start":"Game start","go_back":"Go back","history":"History","history_link_text":"For history click here.","home":"Home","hour":"hour","hours":"hours","id":"ID","jackpot_title":"JACKPOT","jackpot_tooltip":"<div style="text-align:left;">The Jackpot Roulette is a daily guaranteed progressive Jackpot which will drop during the campaign period.</div>When playing this game a side-bet of {{contributionAmount}} will be collected on top of your main bet after each confirmed spin in order to qualify and contribute towards the Jackpot.</div>Once the Jackpot has been won, a new Jackpot will be made available and the process repeats towards the following daily pot.</div>The Jackpot can be triggered and won by a single spin from a single user only.</div>This Jackpot does not have a maximum.</div>When the Jackpot is won by another player, a notification appears in the game. Once won, the amount is transferred directly to the winner\u2019s balance.</div></div>FAQ:</b></div>What is a Jackpot?</i></div>Jackpot is a pool of money that can be won randomly by players who have contributed funds to the prize pool.</div>What is a Seed?</i></div>The initial amount put into the Jackpot pool is called Seed.</div>In this game, a {{seedAmount}} Seed is funded.</div>Where can I play this Jackpot?</i>
</div>Only on games labeled \u2018Jackpot\u2019 in the lobby.</div></div>","jackpot_user_wins":"WINS THE JACKPOT!","jackpot_you_win":"YOU WIN THE JACKPOT!","last_180_days":"Last 180 days","last_ninety_days":"Last 90 days","last_results":"Last Results","last_round":"Last round","last_win":"Last Win","max":"Max","maxPayout":"Max Payout","min":"Min","minute":"minute","minutes":"minutes","more_games":"More Games","more_games_mobile":"More Games","multiplier":"multiplier","multipliers":"Multipliers","next":"Next","no":"No","no_game_result_details_message":"Could not get details for this round or not available","no_history_message":"No current history to display","no_round_details_message":"No round details","number":"Number","numbers":"Numbers","ok":"OK","or":"or","outcome":"Outcome","payout":"Payout","place_bet":"Place bet","played_rounds":"Rounds Played","player_history":"Player History","previous":"Previous","prev_round":"PREV ROUND ID","quit":"Quit","reality_check_dialog_message":"Incident resolved","reality_check_dialog_title":"Reality Check","rebetNextRoundLabel":"Rebet on next round","reconnect":"Reconnect","refresh":"Refresh","remove_from_favorites":"Remove from Favorites","round":"Round","round_id":"Round ID","show_more":"Show more","sidebets":"Side bets","sidebets_label":"Side Bets","statistics":"Statistics","statistics_label":"Statistics","table_limit":"Table Limit","table_limits":"Table Limits","take_all_seats":"…

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

79610085

Date: 2025-05-07 08:26:38
Score: 6.5 🚩
Natty: 4
Report link

Google brings me here:

Did you ever find our the reason where it was started?

Btw.: "shutdown" did end it.

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever find
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Dirk

79610081

Date: 2025-05-07 08:23:37
Score: 1
Natty:
Report link

I had the same problem in Bitbucket. It showed Quality Gate 'Failed' even though I had made code changes to fix the problems. The issue was that it was still referencing the old project after changing the package name. The solution for me was to point to the new SonarQube project in the repository settings. Bitbucket: Repository Settings -> Include Code Quality -> SonarQube Projects -> Edit SonarQube Project Mapping -> select project.

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

79610077

Date: 2025-05-07 08:22:37
Score: 1.5
Natty:
Report link

in my case there wer 2 PARALELL running php-fpm AFTER installing php84...

root 156309 0.0 1.6 564712 29428 ? Ss 08:54 0:00 php-fpm: master process (/etc/opt/remi/php84/php-fpm.conf)

apache 156311 0.0 2.2 570264 40084 ? S 08:54 0:00 php-fpm: pool www

apache 156312 0.0 2.1 570108 38104 ? S 08:54 0:00 php-fpm: pool www

root 160616 0.0 2.2 734516 40792 ? Ss 10:05 0:00 php-fpm: master process (/etc/php-fpm.conf)

apache 160618 0.0 1.1 739560 20668 ? S 10:05 0:00 php-fpm: pool www

apache 160619 0.0 1.1 739560 20668 ? S 10:05 0:00 php-fpm: pool www

...

so I have to

systemctl disable php-fpm

service php-fpm stop

and

service php84-php-fpm restart

And after it... been solved all my problems 🥴

👍

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

79610074

Date: 2025-05-07 08:20:36
Score: 2.5
Natty:
Report link

I've found a root cause which was versions mismatch - I installed DuckDb version 1.2.2 but ERPL docs say it works with library version not higher than 1.0:

At this point of time, ERPL supports version 0.10.3 and 1.0.0 of DuckDB.

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

79610072

Date: 2025-05-07 08:18:36
Score: 1
Natty:
Report link

in your connection string (.env), try to use "postgres" as the <user_name>.

so it should be

DATABASE_URL=postgresql://postgres:<password>@localhost:<server_port>/<db_name>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eylon Shmilovich

79610070

Date: 2025-05-07 08:15:35
Score: 1
Natty:
Report link

You should put your hooks in conftest.py in the test directory. This file used to declare fixtures and hooks used in all tests in this directory or subdirectories.

PyTest reference

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

79610064

Date: 2025-05-07 08:12:34
Score: 1.5
Natty:
Report link

The problem stemmed from using "response.sendError(...)", which triggered a new request to /error that was intercepted by the next filter in the chain. I opted to simplify the code, I replaced ".defaultAuthenticationEntryPointFor(...)" with ".authenticationEntryPoint(new HttpStatusEntryPoint(HttpStatus.UNAUTHORIZED))".

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

79610063

Date: 2025-05-07 08:11:34
Score: 0.5
Natty:
Report link

It looks like I’ve found a solution. Task.Run only queues the given work on the thread pool — it doesn’t start a new thread. So when I do something like this:

        private async Task ReadFromHddAsync(string path)
        {

            await Task.Factory.StartNew(() =>
            {
                ReadFromHdd(path);           
            }, TaskCreationOptions.LongRunning);
        }
    
        private async Task SaveToHddAsync(string path)
        {
            await Task.Factory.StartNew(() =>
            {
                SaveToHdd(path);
            }, TaskCreationOptions.LongRunning);
        }

Then ManualResetEventSlim will not block another task.

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

79610059

Date: 2025-05-07 08:09:33
Score: 0.5
Natty:
Report link

In production, it's always best to be prepared for the worst. Unexpected failures can happen at any time for many reasons. Azure Container Apps are generally stable, but things can still go wrong—especially during upgrades or system changes.

For example, I recently faced an issue with my cluster. I upgraded the master node and three worker nodes without any problems. But when I started working on the fourth node, something went wrong. The drain command didn’t work, and all my pods got stuck in a terminating state.

I followed the same steps as before, but for some reason, this time it failed. This showed me that even when everything seems fine, unexpected issues can happen.

That’s why it’s important to plan for failures. If we prepare for things like forced shutdowns, crashes, or node failures, we can save time and effort and keep our system running smoothly. Does not matter if this happen often or not but you should be ready for it.

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

79610051

Date: 2025-05-07 08:02:31
Score: 1.5
Natty:
Report link

I had a similar problem, after initially setting up pycharm with one of our projects to run it locally in a dev envrionment setup. Therefore i was very puzzled to see that it did not find my local files but resolved all the other imports. And it was not easy to find the right question and answer based only on the error message.
But yes, exactly the selecting and marking of the directory "src" as "Sources root" helped.
I would have expected that this is default. ;-)

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

79610050

Date: 2025-05-07 08:02:31
Score: 1
Natty:
Report link

In my case, I executed the run from create-jest-runner using file from git diff instead of the real file.

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

79610042

Date: 2025-05-07 07:58:30
Score: 1.5
Natty:
Report link

A faster way to solve this problem is to use set operations to check what numbers already exist in a certain row/column/box instead of always iterating over them.

You could start by iterating over the entire board, constructing a set for each row/column/box, and then use a similar backtracking algorithm that uses those sets to check if a value at a certain position is valid.

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

79610030

Date: 2025-05-07 07:51:28
Score: 2.5
Natty:
Report link

In agreement with E-Berry, using Qt 6.8 on Ubuntu 22.04, clicking on the + sign resulted in "import QtQuick.Controls 2.15" getting added (automatically) to the top of my main.qml, which seems to be equivalent to the manual editing mentioned in the original post.

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

79610017

Date: 2025-05-07 07:42:26
Score: 2
Natty:
Report link
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/phaser-arcade-physics.min.js"></script>
    <style>
        body {
            margin: 0;
            overflow: hidden;
        }
    </style>
</head>
<body>
    <script>
        const config = {
            type: Phaser.AUTO,
            width: window.innerWidth,
            height: window.innerHeight,
            scene: {
                preload: preload,
                create: create,
                update: update
            },
            physics: {
                default: 'arcade',
                arcade: {
                    gravity: { y: 0 },
                    debug: false
                }
            }
        };

        let player;
        let enemy;
        let joystick;
        let score = 0;
        let scoreText;
        let gameOver = false;

        const game = new Phaser.Game(config);

        function preload() {
            this.load.image('player', 'assets/sprites/player.png');
            this.load.image('enemy', 'assets/sprites/enemy.png');
        }

        function create() {
            // Создание игрока
            player = this.physics.add.sprite(400, 300, 'player');
            player.setScale(0.5);
            player.setCollideWorldBounds(true);

            // Создание врага
            enemy = this.physics.add.sprite(100, 100, 'enemy');
            enemy.setScale(1.5);
            enemy.setTint(0xff0000);

            // Виртуальный джойстик
            joystick = this.plugins.get('virtual-joystick').add(this, {
                radius: 50,
                x: 100,
                y: config.height - 100,
                base: this.add.circle(0, 0, 50, 0x888888).setAlpha(0.5),
                thumb: this.add.circle(0, 0, 25, 0xcccccc).setAlpha(0.5)
            });

            // Текст счета
            scoreText = this.add.text(20, 20, 'Score: 0', {
                fontSize: '24px',
                fill: '#fff',
                backgroundColor: '#000'
            });

            // Коллизия игрока с врагом
            this.physics.add.overlap(player, enemy, hitEnemy, null, this);
        }

        function update() {
            if (gameOver) return;

            // Движение игрока
            const speed = 200;
            if (joystick.force > 0) {
                player.setVelocityX(joystick.velocityX * speed);
                player.setVelocityY(joystick.velocityY * speed);
            } else {
                player.setVelocity(0);
            }

            // Преследование врага
            this.physics.moveToObject(enemy, player, 250);

            // Обновление счета
            score += 0.1;
            scoreText.setText(`Score: ${Math.floor(score)}`);
        }

        function hitEnemy() {
            gameOver = true;
            player.setTint(0xff0000);
            this.physics.pause();
            this.add.text(config.width/2 - 100, config.height/2, 'Game Over!\nTap to restart', {
                fontSize: '32px',
                fill: '#fff',
                backgroundColor: '#000'
            }).setInteractive()
              .on('pointerdown', () => location.reload());
        }

        // Плагин для виртуального джойстика
        class VirtualJoystickPlugin extends Phaser.Plugins.BasePlugin {
            constructor(pluginManager) {
                super(pluginManager);
                pluginManager.registerGameObject('virtualJoystick', this.createJoystick);
            }

            createJoystick(config) {
                return new VirtualJoystick(this.scene, config);
            }
        }

        class VirtualJoystick {
            constructor(scene, { radius, x, y, base, thumb }) {
                this.scene = scene;
                this.radius = radius;
                this.base = base.setPosition(x, y);
                this.thumb = thumb.setPosition(x, y);
                this.position = new Phaser.Math.Vector2(x, y);
                this.force = 0;
                this.velocityX = 0;
                this.velocityY = 0;

                this.pointer = scene.input.activePointer;
                this.isDown = false;

                scene.input.on('pointerdown', this.onDown, this);
                scene.input.on('pointerup', this.onUp, this);
                scene.input.on('pointermove', this.onMove, this);
            }

            onDown(pointer) {
                if (Phaser.Geom.Circle.ContainsPoint(this.base.getBounds(), pointer)) {
                    this.isDown = true;
                }
            }

            onUp() {
                this.isDown = false;
                this.thumb.setPosition(this.position.x, this.position.y);
                this.force = 0;
                this.velocityX = 0;
                this.velocityY = 0;
            }

            onMove(pointer) {
                if (this.isDown) {
                    const deltaX = pointer.x - this.position.x;
                    const deltaY = pointer.y - this.position.y;
                    const angle = Math.atan2(deltaY, deltaX);
                    const distance = Math.min(Phaser.Math.Distance.Between(
                        this.position.x,
                        this.position.y,
                        pointer.x,
                        pointer.y
                    ), this.radius);

                    this.thumb.setPosition(
                        this.position.x + Math.cos(angle) * distance,
                        this.position.y + Math.sin(angle) * distance
                    );

                    this.force = distance / this.radius;
                    this.velocityX = Math.cos(angle);
                    this.velocityY = Math.sin(angle);
                }
            }
        }

        // Регистрация плагина джойстика
        Phaser.Plugins.PluginManager.register('virtual-joystick', VirtualJoystickPlugin, 'virtualJoystick');
    </script>
</body>
</html>

Для работы игры вам нужно:

  1. Разместить этот код в HTML-файле
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/phaser-arcade-physics.min.js"></script>
    <style>
        body {
            margin: 0;
            overflow: hidden;
        }
    </style>
</head>
<body>
    <script>
        const config = {
            type: Phaser.AUTO,
            width: window.innerWidth,
            height: window.innerHeight,
            scene: {
                preload: preload,
                create: create,
                update: update
            },
            physics: {
                default: 'arcade',
                arcade: {
                    gravity: { y: 0 },
                    debug: false
                }
            }
        };

        let player;
        let enemy;
        let joystick;
        let score = 0;
        let scoreText;
        let gameOver = false;

        const game = new Phaser.Game(config);

        function preload() {
            this.load.image('player', 'assets/sprites/player.png');
            this.load.image('enemy', 'assets/sprites/enemy.png');
        }

        function create() {
            // Создание игрока
            player = this.physics.add.sprite(400, 300, 'player');
            player.setScale(0.5);
            player.setCollideWorldBounds(true);

            // Создание врага
            enemy = this.physics.add.sprite(100, 100, 'enemy');
            enemy.setScale(1.5);
            enemy.setTint(0xff0000);

            // Виртуальный джойстик
            joystick = this.plugins.get('virtual-joystick').add(this, {
                radius: 50,
                x: 100,
                y: config.height - 100,
                base: this.add.circle(0, 0, 50, 0x888888).setAlpha(0.5),
                thumb: this.add.circle(0, 0, 25, 0xcccccc).setAlpha(0.5)
            });

            // Текст счета
            scoreText = this.add.text(20, 20, 'Score: 0', {
                fontSize: '24px',
                fill: '#fff',
                backgroundColor: '#000'
            });

            // Коллизия игрока с врагом
            this.physics.add.overlap(player, enemy, hitEnemy, null, this);
        }

        function update() {
            if (gameOver) return;

            // Движение игрока
            const speed = 200;
            if (joystick.force > 0) {
                player.setVelocityX(joystick.velocityX * speed);
                player.setVelocityY(joystick.velocityY * speed);
            } else {
                player.setVelocity(0);
            }

            // Преследование врага
            this.physics.moveToObject(enemy, player, 250);

            // Обновление счета
            score += 0.1;
            scoreText.setText(`Score: ${Math.floor(score)}`);
        }

        function hitEnemy() {
            gameOver = true;
            player.setTint(0xff0000);
            this.physics.pause();
            this.add.text(config.width/2 - 100, config.height/2, 'Game Over!\nTap to restart', {
                fontSize: '32px',
                fill: '#fff',
                backgroundColor: '#000'
            }).setInteractive()
              .on('pointerdown', () => location.reload());
        }

        // Плагин для виртуального джойстика
        class VirtualJoystickPlugin extends Phaser.Plugins.BasePlugin {
            constructor(pluginManager) {
                super(pluginManager);
                pluginManager.registerGameObject('virtualJoystick', this.createJoystick);
            }

            createJoystick(config) {
                return new VirtualJoystick(this.scene, config);
            }
        }

        class VirtualJoystick {
            constructor(scene, { radius, x, y, base, thumb }) {
                this.scene = scene;
                this.radius = radius;
                this.base = base.setPosition(x, y);
                this.thumb = thumb.setPosition(x, y);
                this.position = new Phaser.Math.Vector2(x, y);
                this.force = 0;
                this.velocityX = 0;
                this.velocityY = 0;

                this.pointer = scene.input.activePointer;
                this.isDown = false;

                scene.input.on('pointerdown', this.onDown, this);
                scene.input.on('pointerup', this.onUp, this);
                scene.input.on('pointermove', this.onMove, this);
            }

            onDown(pointer) {
                if (Phaser.Geom.Circle.ContainsPoint(this.base.getBounds(), pointer)) {
                    this.isDown = true;
                }
            }

            onUp() {
                this.isDown = false;
                this.thumb.setPosition(this.position.x, this.position.y);
                this.force = 0;
                this.velocityX = 0;
                this.velocityY = 0;
            }

            onMove(pointer) {
                if (this.isDown) {
                    const deltaX = pointer.x - this.position.x;
                    const deltaY = pointer.y - this.position.y;
                    const angle = Math.atan2(deltaY, deltaX);
                    const distance = Math.min(Phaser.Math.Distance.Between(
                        this.position.x,
                        this.position.y,
                        pointer.x,
                        pointer.y
                    ), this.radius);

                    this.thumb.setPosition(
                        this.position.x + Math.cos(angle) * distance,
                        this.position.y + Math.sin(angle) * distance
                    );

                    this.force = distance / this.radius;
                    this.velocityX = Math.cos(angle);
                    this.velocityY = Math.sin(angle);
                }
            }
        }

        // Регистрация плагина джойстика
        Phaser.Plugins.PluginManager.register('virtual-joystick', VirtualJoystickPlugin, 'virtualJoystick');
    </script>
</body>
</html>
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Плд

79610014

Date: 2025-05-07 07:41:25
Score: 0.5
Natty:
Report link

You can Add Visual Studio editor support for another language.

VS2022 uses TextMate Grammars for this, which seems to support comments, so you can add a new language with files of extension ".txt" or ending with "CMakeLists.txt" and set wraps of # and \n as its comment wrapper. There is a tag, if you struggle implementing that.

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

79610012

Date: 2025-05-07 07:38:25
Score: 0.5
Natty:
Report link

You can try below annotation on doSomething() method:

@Retryable(retryFor = MyRetryableException.class, notRecoverable=JustGiveUpException.class, maxAttempts = 3, backoff = @Backoff(delay = 2000))

Most probably, the spring-retry version that you are using, requires "notRecoverable" attribute to specify the Exception(s) which needs to be excluded from retry logic.

Hope it works.

Reasons:
  • Whitelisted phrase (-1): Hope it works
  • No code block (0.5):
  • Low reputation (1):
Posted by: user2791367

79610010

Date: 2025-05-07 07:38:24
Score: 7.5 🚩
Natty:
Report link

We have same issues here. No Info on https://status.firebase.google.com/

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Me too answer (2.5): have same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Patrick

79610009

Date: 2025-05-07 07:38:24
Score: 1
Natty:
Report link
Thanks everyone for the insightful discussion! After reviewing all the responses and experimenting myself, I found that the original issue comes from counting the letters from the two names separately for "TRUE" and "LOVE". According to Dr. Angela Yu’s 100 Days of Code (Day 3), the correct logic is to combine both names first, then count how many times each letter from "true" and "love" appears in the combined string. Here's a simplified and corrected version of the logic that works accurately:

python
Copy
Edit
print("Welcome to the Love Calculator!")
name1 = input("What is your name?\n").lower()
name2 = input("What is their name?\n").lower()
combined_names = name1 + name2

true_count = sum(combined_names.count(letter) for letter in "true")
love_count = sum(combined_names.count(letter) for letter in "love")

score = int(str(true_count) + str(love_count))

if score < 10 or score > 90:
    print(f"Your score is {score}, you go together like coke and mentos.")
elif 40 <= score <= 50:
    print(f"Your score is {score}, you are alright together.")
else:
    print(f"Your score is {score}.")
This approach follows the course logic and produces the expected result (53 for “Angela Yu” and “Jack Bauer”). Hopefully this clears it up for anyone still confused.
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): What is your
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kazeer

79609987

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

It's not --experimenta-https but --experimental-https your forgot the l

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

79609978

Date: 2025-05-07 07:24:19
Score: 2.5
Natty:
Report link

Same thing happened to me, but with <CR>: "Illegal base64 character d".
Same solution with the MimeDecoder applies

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Wim van der Veen

79609977

Date: 2025-05-07 07:22:19
Score: 3.5
Natty:
Report link

After forcing the update on Debian, I no longer have the problem.

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

79609968

Date: 2025-05-07 07:16:17
Score: 2
Natty:
Report link
Хуй
  1. header 1 header 2
    cell 1 cell 2
    cell 3 cell 4
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Work

79609961

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

Right click on .pom file and add as Maven project... solved for me.

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

79609960

Date: 2025-05-07 07:12:15
Score: 2
Natty:
Report link

Try using ListView() instead of Column()

this makes next screen scrollable, and no more overflow error.

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

79609959

Date: 2025-05-07 07:11:14
Score: 6 🚩
Natty: 6
Report link

Is there any update on this?

I also would like to build an app that can identify/suggest object in view.

Reasons:
  • Blacklisted phrase (1): update on this
  • Blacklisted phrase (1): Is there any
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: Guest

79609950

Date: 2025-05-07 07:08:13
Score: 1.5
Natty:
Report link

woow nice <a href="https://www.divinesahajyog.com/how-to-meditate/

" rel="follow">how to meditate </a>

<a href="https://www.divinesahajyog.com/the-16-names-of-shri-radha-krishna/

" rel="follow">16 namaes of shir radha krishna </a>

<a href="https://www.divinesahajyog.com/being-aware-of-vibrations/

" rel="follow">aware of vibration </a>

<a href="https://www.divinesahajyog.com/swadishthan-chakra/" rel="follow">swadishthan chakra </a>

<a href="https://www.divinesahajyog.com/how-we-should-stay-in-a-realized-state/

" rel="follow">how we should stay in a realized state </a>

<a href="https://www.divinesahajyog.com/balance-our-subtle-vishuddhi-chakra/" rel="follow">balance our subtle vishuddhi chakra </a>

<a href="https://www.divinesahajyog.com/swadishthan-chakra/

" rel="follow">swadishthan chakra </a>

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

79609948

Date: 2025-05-07 07:07:13
Score: 2
Natty:
Report link

It looks like Google Cloud Service Issue. Experiencing same issues.

Workaround: Customers can move the workload to any other region outside of europe-west3. We moved functions to europe-west1 and it fixed issues for us.

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

79609938

Date: 2025-05-07 07:03:11
Score: 3.5
Natty:
Report link

To resolve issues with Visual Studio not recognizing Unity code, you should check the integration between Unity and Visual Studio. Here are a few steps you can follow:

If any of these are misconfigured or missing, Visual Studio may not properly recognize Unity code, resulting in build errors or missing references. Once everything is correctly set up, Unity and Visual Studio should work together seamlessly.

If you've verified all the above settings and it still doesn't work, please provide more details about the specific errors or build issues you're encountering. That would help in diagnosing the problem further.

Also, keep in mind that when using tools like ILSpy to reverse-engineer or decompile Unity games, the resulting code may be incomplete or corrupted, which can often lead to various unexpected errors when trying to rebuild or modify the project.

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

79609931

Date: 2025-05-07 06:59:10
Score: 3.5
Natty:
Report link

Your JSON is not well-formed. You may need to check the JSON string you posted.

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

79609928

Date: 2025-05-07 06:57:09
Score: 0.5
Natty:
Report link

I refer to other answers and comments why your code did not compile.

What I want to mention is that you do not need the std::vector if you have only one bitmap.

Create the bitmap directly on the stack

Gdiplus::Bitmap bitmap(L"images.png");
nWidth  = bitmap.GetWidth();
nHeight = bitmap.GetHeight();
graphics.DrawImage(&bitmap, 950, 200, nWidth, nHeight);

Create the bitmap on the heap

auto bitmap = std::make_unique<Gdiplus::Bitmap>(L"images.png");
nWidth  = bitmap->GetWidth();
nHeight = bitmap->GetHeight();
graphics.DrawImage(bitmap.get(), 950, 200, nWidth, nHeight);

bitmap is an object (and not a pointer) of type std::unique_ptr<Gdiplus::Bitmap>. During destruction, the Gdiplus::Bitmap object it points to will also be destroyed. There is no need to put the unique_ptr into a container.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: michael3.14

79609923

Date: 2025-05-07 06:55:09
Score: 2
Natty:
Report link

How about

def contigious_subarrays(A:list):
    for i in range(len(A)):
        temp=[]
        for ii in range(i,len(A)):
            temp.append(A[ii])
            print(temp)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): How
  • Low reputation (1):
Posted by: TaDa

79609920

Date: 2025-05-07 06:53:08
Score: 1.5
Natty:
Report link

There were some mentions here of using --preview and being demoted to --unstable , but just wanted to say that if you only want the single specific unstable feature these days you can do: black --preview --enable-unstable-feature string_processing .

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

79609914

Date: 2025-05-07 06:47:06
Score: 2
Natty:
Report link

You can set the setting for CELERY_MONGODB_SCHEDULER_CONNECTION_ALIAS to something other than default. and it will work just fine.

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

79609913

Date: 2025-05-07 06:47:06
Score: 2.5
Natty:
Report link

I think it's good. My suggestion is to use ValueObjects to make your code more readable and also easier to implement validations and also compare their values. Example for description, phone, address etc.

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

79609902

Date: 2025-05-07 06:39:04
Score: 2.5
Natty:
Report link

You’re wrong in 2’nd join. Change it to “join article_categories on article_categories.category_id=category.Id”.

Good luck 👍

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

79609901

Date: 2025-05-07 06:39:04
Score: 3
Natty:
Report link

Here is the path:
/etc/ssl/certs/ca-certificates.crt

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

79609896

Date: 2025-05-07 06:32:01
Score: 2
Natty:
Report link

Even after calling perf_event_open for multiple different PIDs and attaching with bpf_program__attach_perf_event_opts, it still fails with the error: failed to create BPF link for perf_event FD 22: -17 (File exists).

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

79609883

Date: 2025-05-07 06:22:58
Score: 0.5
Natty:
Report link

There's a discussion at the following link about how to solve this issue: https://github.com/metafizzy/flickity/issues/691

The solution is to configure the imagesLoaded property and it is documented at: https://flickity.metafizzy.co/options.html#imagesloaded

Here's example usage:

<div data-flickity='{"imagesLoaded": true}' class="carousel">
    <div class="carousel-cell">
        <img src="..."/>
    </div>
</div> 
Reasons:
  • Blacklisted phrase (1): how to solve
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: Neal

79609880

Date: 2025-05-07 06:17:57
Score: 1
Natty:
Report link

You can use nltk as well. I have two examples to show here by variable named as text. One is english and other one is spanish with some edge cases that are often seen, especially in sceintific texts where unit symbols might have period in it.

!pip install nltk
import nltk
from nltk.tokenize import sent_tokenize
nltk.download('punkt_tab')
text = "This is the first sentence 2m.g. of medicine used. And this is the second one!"
text = "La masa del cuerpo era de 5.0 kg y se movía a una velocidad de 3.2 m/s. La energía total (E) se calculó con la fórmula E = mc². La aceleración fue de 9.81 m/s², equivalente a la gravedad terrestre. Se utilizó una solución de 0.25 mol de NaCl. La temperatura alcanzó los 37.5 °C en tres minutos."
sentences = sent_tokenize(text)
print(sentences)

# Output is an array of seperate sentences
# ['La masa del cuerpo era de 5.0 kg y se movía a una velocidad de 3.2 m/s.', 'La energía total (E) se calculó con la fórmula E = mc².', 'La aceleración fue de 9.81 m/s², equivalente a la gravedad terrestre.', 'Se utilizó una solución de 0.25 mol de NaCl.', 'La temperatura alcanzó los 37.5 °C en tres minutos.']
Reasons:
  • Blacklisted phrase (3): solución
  • Whitelisted phrase (-1.5): You can use
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Saifullah

79609869

Date: 2025-05-07 06:06:54
Score: 1.5
Natty:
Report link

I tried to run it on a server in the United States, but it worked normally, but when I ran it on a device in China, it showed that I couldn't access it. I guess I might have directly rejected the ip device in China.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tim.Huang

79609867

Date: 2025-05-07 06:04:54
Score: 2
Natty:
Report link

ARC Foundation is Kerala’s No.1 GATE coaching center, located in Calicut and Cochin. We specialize in top-quality coaching for GATE, LET, and other technical entrance exams. With expert faculty, updated materials, and consistent results, we ensure success.

https://gatecoachingarc.com/

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

79609852

Date: 2025-05-07 05:44:49
Score: 3
Natty:
Report link

I think scrollbar-gutter is the best replacement, so the scrollbar can appear and disappear without causing movement of the content.

https://developer.mozilla.org/en-US/docs/Web/CSS/scrollbar-gutter

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

79609848

Date: 2025-05-07 05:42:48
Score: 2
Natty:
Report link

I got this working, but the actual problem was a floating point error. There may have been other issues, but I have since resolved them if you would like the asset you can find it here: https://assetstore.unity.com/packages/vfx/shaders/sprite-renderer-palette-swap-shader-urp-316189.

Also as buttermilch said I may have been passing incorrectly using vertex color, although I think it's used here for the purposes of lighting since this is a lit sprite shader, idk this is like 75% copy pasted from the default unity sprite lit shader.

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

79609847

Date: 2025-05-07 05:39:47
Score: 5.5
Natty:
Report link

Follow this blog to setup extensions with flavors.

https://medium.com/@itchange.nw/flutter-tips-to-add-ios-notification-service-extension-with-flavor-the-right-way-f12344a23b25

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ragul PR

79609839

Date: 2025-05-07 05:29:45
Score: 4
Natty:
Report link

Booking::where('id',$request->id)->update(['status'=>$request->status);

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sidharth Kashyap

79609838

Date: 2025-05-07 05:28:44
Score: 2.5
Natty:
Report link

In your controller action method, you can explicitly return a JsonResult() with custom settings:
return new JsonResult(obj, options);

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

79609837

Date: 2025-05-07 05:26:44
Score: 1.5
Natty:
Report link

You can delete the Android folder and then run
flutter create . command, and this might help

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

79609836

Date: 2025-05-07 05:25:43
Score: 3
Natty:
Report link

This is an appreciation comment! I was working all night asking chatgpt how to do this. Couldn’t find any documentation either on this. You saved me and my sanity.

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

79609834

Date: 2025-05-07 05:22:43
Score: 1.5
Natty:
Report link

You may wish to try

Either capture the process id you want to kill via stdin or replace $pid with the process id.

echo kill -9 $pid`;

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