79710237

Date: 2025-07-22 09:49:27
Score: 2.5
Natty:
Report link

import numpy as np

i = np.arange(2, 4) # i = [2, 3]

a = np.arange(5) # a = [0, 1, 2, 3, 4]

a[i] = 0 # directly modify a at positions 2 and 3

print(a)

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

79710230

Date: 2025-07-22 09:42:25
Score: 3.5
Natty:
Report link

It is because the import command needs to be modified, so that the a and the b array work right. Fix the import command and it should work fine;

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

79710228

Date: 2025-07-22 09:40:24
Score: 3
Natty:
Report link

We can use the following actually at the moment as part of the URL:

{{$isoTimestamp}}

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

79710225

Date: 2025-07-22 09:36:23
Score: 1
Natty:
Report link

You are experiencing heavy overfitting issues: the model can easily recognize the data he is trained with (within one epoch), and as the training goes on, he gets specialized more and more to the training dataset. As such, he can not generalize for other data, such as the validation dataset which is not used for training.

Try to reduce your model size, increase the training dataset, reduce the number of epochs, add regularization.

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

79710223

Date: 2025-07-22 09:34:23
Score: 0.5
Natty:
Report link

As the other questions have highlighted, using std::getline is unlikely to be the best choice here (partly because there is a risk of confusing a bit sequence with the separator).

Instead, it is recommended to use ifstream with std::basic_istream<CharT,Traits>::read in this case. Here is an example.

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

79710221

Date: 2025-07-22 09:34:23
Score: 1
Natty:
Report link

Two entries means two rows... not columns

The second row is 'the new row', where users can enter new records. Just disable this feature to prevent that:

<DataGrid Name="DatabaseView1" Grid.Row="1" CanUserAddRows="False">
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: PiRu

79710219

Date: 2025-07-22 09:32:22
Score: 1.5
Natty:
Report link

Directory 'C:\Users\ASUS\AndroidStudioProjects\conference_apps' does not contain a Gradle build.

* Try:

\> Run gradle init to create a new Gradle build in this directory.

\> Run with --stacktrace option to get the stack trace.

\> Run with --debug option to get more log output.

\> Get more help at https://help.gradle.org.

BUILD FAILED in 29ms

Soltuions for meeeee helppp meee

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

79710218

Date: 2025-07-22 09:32:22
Score: 2.5
Natty:
Report link

You are facing the issue because Debian Stretch(debian:stretch) repositories are archived and no longer available at the default URLs. To fix this you need to update the sources.list in your Dockerfile to point to the Debian archive.

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

79710215

Date: 2025-07-22 09:29:21
Score: 1
Natty:
Report link

Use 200 OK with a response body containing the updated garage data (including cars). This makes it clear to the client what the final state is after your transactional changes (update garage, insert cars, delete cars).Alternatively, if you want to save bandwidth and the client doesn't need the updated resource back, 204 No Content is acceptable.

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mohammad Taghi Ahadi

79710209

Date: 2025-07-22 09:25:20
Score: 2.5
Natty:
Report link

A do-while loop is best used when you need the code inside the loop to run at least once, no matter what. This makes it especially useful for tasks like user input validation, menu-driven programs, or retrying failed operations.

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

79710208

Date: 2025-07-22 09:22:20
Score: 1.5
Natty:
Report link

I got a working answer to my question on the conan github.

As my package is a build-scripts package, it does not listen to the host context. So, I need to use `-c:b` to pass my option to the build context, like this:

conan create . -c:b tools.build:skip_test=False -tf=""
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: arapelle

79710201

Date: 2025-07-22 09:16:18
Score: 2
Natty:
Report link

In chrome: nth-child(2) applies to the second , foo element in the SVG tree(the second <circle>), regardless of type.

In Firefox : nth child(2) strictly applies to the second child element of the parent, considering all types and may not match as expected depending on internal shadow DOM of <use>

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

79710188

Date: 2025-07-22 09:02:14
Score: 7
Natty: 7
Report link

Same issue for me, no answer to give, any updates ?

Reasons:
  • RegEx Blacklisted phrase (1): Same issue
  • RegEx Blacklisted phrase (0.5): any updates
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MSE

79710177

Date: 2025-07-22 08:54:12
Score: 3.5
Natty:
Report link

Try to recreate directory "alembic/versions"

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

79710171

Date: 2025-07-22 08:47:10
Score: 1.5
Natty:
Report link

After many tries, the solution is clearing Safari cache
Settings > Safari > Clear History and Website Data

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Zeyad.Ahmed

79710170

Date: 2025-07-22 08:47:10
Score: 1.5
Natty:
Report link

Most of the scripts in Alpine (using OpenRC) is placed in /etc/init .

Remember to put a correct CHMOD (+x) for your script.

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

79710162

Date: 2025-07-22 08:40:08
Score: 1
Natty:
Report link
var post_id = $(this).val();
$.ajax({
    ...
    url: "{{ route('admin_post.edit')}}/" + post_id,
    ...
});

You can just attach post_id to the ajax url prop.

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

79710159

Date: 2025-07-22 08:39:08
Score: 0.5
Natty:
Report link

You can register global property inside window. For example :

  app.config.globalProperties.$gAuth= gAuth // old way
  window.$gAuth = gAuth // new way

Now in any component you can access it with :

  window.$gAuth
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Roman Diez

79710151

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

As suggested in the comments by Davide, I am sharing in the following link:
https://drive.google.com/file/d/1GrPm1dc2DZ_7lce-trU7HPYMnNLcewsZ/view?usp=drive_link
the anonymized .pbix I am working on.

This is what gets displayed by the force-transform diagram by default

enter image description here

What I would like to have is something like this:

enter image description here

I currently obtain this by pulling manually node 54 on the far right and the graph adapts accordingly. However, I am looking for a smart way to have this initialized automatically, pushing nodes with the highest value in the field "group" on the right, and nodes with the lowest value in the same field on the left. One clarification is that my dashboards has filters on the top page, which are passed on to the diagram. Hence this initial arrangement of the nodes shall be done dynamically, as a function of the field group, and cannot be predetermined.

Reasons:
  • Blacklisted phrase (2): I am looking for
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Walter M

79710148

Date: 2025-07-22 08:28:05
Score: 3
Natty:
Report link

You can scrap toplist to get number of your votes and award user only when it increases. Also there are bots which you can just use to increase your votes like https://toplistvotes.com

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

79710142

Date: 2025-07-22 08:23:03
Score: 1
Natty:
Report link

Just try to change the definition of PySpark Dataframe:

`import pyspark.sql.functions as F from pyspark.sql.types import StructType, StructField, VariantType

schema = StructType([StructField("statistics", VariantType(), True)])

Initialise simple dataframe with 1 column of raw json data

summary_df = spark.createDataFrame([{'json': '{"key": 123, "data": [4, 5, "str"]}'}])

Create new variant column from raw JSON string

variant_df = summary_df.withColumn("variant", F.parse_json(F.col('json'))) display(variant_df)

print(variant_df.schema)`

Solution preview

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

79710135

Date: 2025-07-22 08:21:03
Score: 0.5
Natty:
Report link

To integrate Java code into a web application that uses HTML, CSS, and JavaScript, you typically use Java on the backend to handle business logic, while the frontend is handled by HTML/CSS/JS.

A common approach is to use a Java web framework such as **Spring Boot** or **Java EE**. These frameworks allow you to create REST APIs or serve web pages.

**Basic workflow:**

1. Use Java to create backend services (controllers, business logic, database access).

2. Serve static HTML, CSS, and JS files from the Java server or host them separately.

3. Use AJAX/fetch or form submissions from your frontend to communicate with Java backend APIs.

**Example:**

- With Spring Boot, place your static files (HTML, CSS, JS) in the `src/main/resources/static` folder.

- Create REST controllers in Java to handle requests at URLs.

- From JavaScript, call these APIs using `fetch` or `XMLHttpRequest`.

**Resources:**

- [Spring Boot Serving Static Content](https://spring.io/guides/gs/serving-web-content/)

- [Building RESTful Web Services with Spring](https://spring.io/guides/gs/rest-service/)

This separation keeps frontend and backend concerns clean and scalable.

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

79710133

Date: 2025-07-22 08:20:02
Score: 3
Natty:
Report link

This generally should not happen, My issue was I made afrika as default region which is not active region by default, so just enabled the region and all good to go.

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

79710125

Date: 2025-07-22 08:13:00
Score: 1
Natty:
Report link

Disclaimer: I work for Redgate Software as a Technical Lead for database comparison technologies in Flyway.

Support for Table Partitioning in PostgreSQL for Flyway was added on 14th May 2025 (see Flyway Desktop release notes).

Please update to the latest version of Flyway and Flyway Desktop and you will be able to source control, manage and deploy your table partitions changes using Flyway. If you have any issues, don't hesitate to contact our support team.

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

79710121

Date: 2025-07-22 08:09:59
Score: 0.5
Natty:
Report link

I'm grateful to @SiddharthRout for providing the solution:

As he says, saving the Workbook_BeforeClose procedure in a workbook causes the newly added procedure to be executed when the workbook is closed, ending the current workflow if it has an END statement.

This is what @SiddharthRout comments Problems closing a workbook after using .VBComponents

Reasons:
  • Whitelisted phrase (-2): solution:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @SiddharthRout
  • User mentioned (0): @SiddharthRout
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Carlos Torres

79710114

Date: 2025-07-22 08:04:58
Score: 6
Natty: 5.5
Report link

can I get a double pleaseburger cheese

Reasons:
  • RegEx Blacklisted phrase (1): I get a double please
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can I
  • Low reputation (1):
Posted by: Piggen said

79710107

Date: 2025-07-22 07:58:56
Score: 3.5
Natty:
Report link

I will close the question as there is no solution, HTML/Javascript does not handle really large image, so I switched to Python + OpenCV.

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

79710106

Date: 2025-07-22 07:57:56
Score: 1.5
Natty:
Report link

I just went with:

trap 'echo "${BASH_SOURCE[0]##*/}: exit status: $?"' EXIT

But the problem is more generic, obviously.

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

79710104

Date: 2025-07-22 07:56:55
Score: 1.5
Natty:
Report link

Running this first resolves the issue.
dokku scheduler-docker-local:set paperless init-process false

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

79710100

Date: 2025-07-22 07:53:55
Score: 1.5
Natty:
Report link

Yes, you're not alone — I ran into this exact problem when upgrading from DevExpress 22.1.13 to 22.2.15 in a large WinForms application targeting .NET Framework 4.8.

Originally, I upgraded specifically to resolve DPI scaling problems (blurry fonts, layout inconsistencies at 125%+ scaling on Windows 10/11). The upgrade to 22.2.15 definitely improved DPI behavior, so that part worked great.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: DNA E-store Best Deals

79710097

Date: 2025-07-22 07:51:54
Score: 1
Natty:
Report link

DECLARE @Month INT=7,
        @Year  INT=2025;

WITH cte_datesofMonth
     AS (SELECT Datefromparts(@Year, @Month, 1) AS dDate
         UNION ALL
         SELECT Dateadd(day, 1, ddate)
         FROM   cte_datesofMonth
         WHERE  Day(ddate) < Day(Eomonth(ddate)))
SELECT *
FROM   cte_datesofMonth 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Saji V P

79710088

Date: 2025-07-22 07:44:52
Score: 2.5
Natty:
Report link

Use ImageMagick like this:

$identify image.jpg

This will get you information about the image, eg 1920x953+0+0 now get ImageMagick to create a new image with smaller size and new offset

$ convert image.jpg -crop 1200x600+100+300 cropped.jpg

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

79710068

Date: 2025-07-22 07:28:48
Score: 2
Natty:
Report link
  1. Go to your repo.

  2. Click on the "Compare" tab:

    https://github.com/<username>/<repo>/compare

  3. There, you can:

    • Compare branches, tags, or even specific commits.

    • View detailed diffs, including renamed or corrupted files, and their original content.

    enter image description here

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

79710065

Date: 2025-07-22 07:27:48
Score: 1.5
Natty:
Report link

If your lottery app lets users buy tickets using USDT, you’ll need a crypto payment gateway that can handle USDT transactions reliably and securely. Basically, when a user decides to purchase a ticket, the gateway should trigger a transfer of USDT from their wallet to your admin wallet all handled on-chain.To do this, you can integrate a payment API that supports USDT (especially on TRON or Ethereum,depending on your preference). That way, you can automate the whole process from payment initiation to confirmation.I’ve been using HeraldEX for similar setups. It supports USDT payments, has solid API documentation, and handles wallet-to-wallet transfers cleanly. Plus, it includes security features like webhook confirmations, so you know exactly when the payment is received.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sheldon Green

79710061

Date: 2025-07-22 07:25:47
Score: 1.5
Natty:
Report link
Sử dụng cấu trúc dữ liệu khác: Thay vì lưu trực tiếp IP vào từ điển, bạn có thể lưu một danh sách các IP cho mỗi cổng. Như vậy, nếu có nhiều IP khác nhau cho một cổng, bạn có thể lưu chúng mà không bị ghi đè.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: KIÊN VLOG

79710046

Date: 2025-07-22 07:13:44
Score: 3
Natty:
Report link
  1. open terminal in STS directory

  2. now run command ./SpringToolSuite4 and enter

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

79710044

Date: 2025-07-22 07:13:44
Score: 1
Natty:
Report link

The best solution is to use a Multimap (like defaultdict(list) in Python or HashMap<K, List<V>> in Java) to store multiple values under the same key.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vishnu Murthy

79710037

Date: 2025-07-22 07:10:43
Score: 2.5
Natty:
Report link

You can make the task async by using a queuing system as @Nimrod007 suggested.

You can integrate the Symfony Messenger and your tasks will be handled in the background. Just send it an object and write the logic in the handler.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Nimrod007
  • Low reputation (0.5):
Posted by: Abdellah Ramadan

79710030

Date: 2025-07-22 07:06:42
Score: 3.5
Natty:
Report link

check your imports and make sure you have install all schadcn ui component

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

79710025

Date: 2025-07-22 07:03:41
Score: 2.5
Natty:
Report link

ensure that the figma sharing permission is set to anyone with the link can view, also check if in the settings, scrolling is enabled or not, if it doesnt then enable it(i think thats the issue) then refresh it...hopefully that will work

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

79710015

Date: 2025-07-22 06:54:39
Score: 2
Natty:
Report link

remove first list of

"notification": [],
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: محمد فضل الباري محمد احمد

79710008

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

To divide bags of candies evenly among three children, we first need to know:

  1. How many bags of candies you have in total.

  2. How many candies are in each bag (if different).

  3. Whether you're dividing them equally by the number of bags or by the total number of candies.

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

79709998

Date: 2025-07-22 06:37:34
Score: 4
Natty:
Report link

You can generate a QR code for any web address on this page

https://qr-codes.info/qr-code-generator/qr-url

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

79709996

Date: 2025-07-22 06:34:33
Score: 0.5
Natty:
Report link
def RGB2HEX(color): 
return "#{:02x}{:02x}{:02x}".format(int(color[0]), int(color[1]), int(color[2])) 
 
def get_image(image_path): 
image = cv2.imread(image_path) 
image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB) 
return image 
 
IMAGE_DIRECTORY = 'C:/Users/Dell/Desktop/CPS 02' 
COLORS = { 
    'GREEN': [0, 128, 0], 
    'BLUE': [0, 0, 128], 
    'YELLOW': [255, 255, 0] 
} 
images = [] 
 
for file in os.listdir(IMAGE_DIRECTORY): 
    if not file.startswith('.'): 
        images.append(get_image(os.path.join(IMAGE_DIRECTORY, file))) 
 
# extracting colors from image  
def get_colors(images, number_of_colors, show_char = True): 
for j in range(len(images)): 
    modified_image = cv2.resize(images[j], (600, 400), interpolation = cv2.INTER_AREA) 
    modified_image = modified_image.reshape(modified_image.shape[0]*modified_image.shape[1],1) 
 
    clf = KMeans(n_clusters = number_of_colors) 
    labels = clf.fit_predict(modified_image) 
 
    counts = Counter(labels) 
 
    center_colors = clf.cluster_centers_ 
    # We get ordered colors by iterating through the keys 
    ordered_colors = [center_colors[i] for i in counts.keys()] 
    hex_colors = [RGB2HEX(ordered_colors[i]) for i in counts.keys()] 
    rgb_colors = [ordered_colors[i] for i in counts.keys()] 
 
# matching an image by its color 
def match_image_by_color(image, color, threshold = 60, number_of_colors = 10):  
 
image_colors = get_colors(image, number_of_colors, False) 
selected_color = rgb2lab(np.uint8(np.asarray([[color]]))) 
 
select_image = False 
for i in range(number_of_colors): 
    curr_color = rgb2lab(np.uint8(np.asarray([[image_colors[i]]]))) 
    diff = deltaE_cie76(selected_color, curr_color) 
    if (diff < threshold): 
        select_image = True 
 
return select_image 
 
# Selecting an image 
def show_selected_images(images, color, threshold, colors_to_match): 
index = 1 
 
for i in range(len(images)): 
    selected = match_image_by_color(images[i], color, threshold, colors_to_match) 
    if (selected): 
        plt.subplot(1, 5, index) 
        plt.imshow(images[i]) 
        index += 1 
 
# printing the result  
plt.figure(figsize = (20, 10)) 
show_selected_images(images, COLORS['BLUE'], 60, 5) 
https://stackoverflow.com/questions
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shivayogappa Tilugula

79709993

Date: 2025-07-22 06:30:33
Score: 3.5
Natty:
Report link

ORA-01081: cannot start already-running ORACLE - shut it down first

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

79709992

Date: 2025-07-22 06:30:32
Score: 4
Natty:
Report link

https://tgtube.site/hAAfc

Install the Best SDK ,it works perfectly

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

79709985

Date: 2025-07-22 06:26:31
Score: 2
Natty:
Report link

Add this line alias gh="env -u GITHUB_TOKEN gh $1" in .zshrc

.zshrc

export GITHUB_TOKEN=ghp_************************************
alias gh="env -u GITHUB_TOKEN gh $1"` in ``.zshrc`

Ref: https://github.com/cli/cli/issues/3799#issuecomment-1739270630

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

79709975

Date: 2025-07-22 06:19:29
Score: 1.5
Natty:
Report link

When working with SQL notebooks, I simply pass the SQL into the parameter value in the Databricks UI or in the job YAML:

dateadd(DAY, -1, '{{job.trigger.time.iso_date}}')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: Igor-S

79709959

Date: 2025-07-22 06:04:26
Score: 1
Natty:
Report link

This issue is tied to LinkedIn's API permissions and privacy model. LinkedIn restricts access to certain company-related data via its API. Only designated Admins have the authorization to retrieve and display a company's feed through the API. If a user is not a designated admin, even if they are logged in, they don't have the necessary permissions to view that content programmatically.

In essence, LinkedIn’s API ensures that company updates are protected and only accessible to users who have been explicitly granted admin rights. This is a data privacy and control measure to prevent unauthorized display or misuse of corporate content.

What you can do:

Admin-only wall display: If your SharePoint is internal and the goal is for employees to see curated LinkedIn content, consider using a third-party aggregator that doesn’t require each user to be an admin. Tools like Walls.io offer a way to display your LinkedIn company posts (along with public hashtag content and content from other platforms) in a centralized feed embeddable in SharePoint or intranet. Since it’s GDPR & CCPA-compliant and offers content moderation, it works well for internal comms and avoids the admin access problem altogether.

Reasons:
  • RegEx Blacklisted phrase (0.5): any updates
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Daniela Turcanu

79709957

Date: 2025-07-22 06:04:26
Score: 1.5
Natty:
Report link

What worked for me was doing.

WEBKIT_DISABLE_COMPOSITING_MODE=1
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Migru

79709954

Date: 2025-07-22 05:59:25
Score: 2
Natty:
Report link

To resolve this issue, you need to install the following packages:

sudo yum install -y libselinux-python3

yum install -y libyaml-devel python3-devel

Once these packages are installed, the issue should be resolved.

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

79709950

Date: 2025-07-22 05:55:23
Score: 2
Natty:
Report link

To disable the preEnagagement form just add below key in appConfig.json

disablePreEngagementForm: true

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

79709943

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

If you're encountering an unexpected parse error while running a Godot workflow in GitHub Actions, it typically indicates an issue with the YAML syntax or configuration in your workflow file. Here's how you can troubleshoot and fix the error:

Steps to Resolve GitHub Actions Parse Error:

  1. Check YAML Syntax:

    • YAML is sensitive to indentation, so ensure that all indentations are consistent (use spaces, not tabs).

    • Use an online YAML validator to check for any syntax issues.

    • Example of correct indentation:

      jobs:
        build:
          runs-on: ubuntu-latest
          steps:
            - name: Checkout repository
              uses: actions/checkout@v2
            - name: Set up Godot
              uses: godotengine/action-godot-build@v1
              with:
                godot-version: '3.4'
            - name: Build Godot Project
              run: godot --export "Linux/X11" ./project.godot
      
      
  2. Ensure Correct Godot Action Version:

    • Verify that you're using the correct version of the Godot action. For example, check if godotengine/action-godot-build@v1 is compatible with your project.

    • If using a custom action, check that it's correctly configured.

  3. Environment Variables:

    • Ensure all environment variables, like paths and Godot versions, are set correctly.

    • If you are using a specific version of Godot, ensure that version is available in your action configuration.

  4. Check for Missing Fields:

    • Ensure that all required fields in the workflow are properly defined. GitHub Actions may throw a parse error if mandatory fields are missing.
  5. Action Compatibility:

    • Ensure the Godot Action you're using is compatible with your version of GitHub Actions.

    • If you’re using a custom action, verify its documentation to ensure you're using it correctly.

Example Godot GitHub Actions Workflow:

name: Godot Build

on:
  push:
    branches:
      - main

jobs:
  build:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout Repository
        uses: actions/checkout@v2

      - name: Set up Godot
        uses: godotengine/action-godot-build@v1
        with:
          godot-version: '3.4'

      - name: Build Godot Project
        run: godot --export "Linux/X11" ./project.godot

Debugging Tips:

Let me know if the error persists, and I can help troubleshoot further!

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

79709941

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

I need to install the copilot extension by running gh extension install github/gh-copilot

Ref: https://docs.github.com/en/copilot/how-tos/set-up/installing-github-copilot-in-the-cli

Reasons:
  • Blacklisted phrase (0.5): I need
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ivone Djaja

79709927

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

If nothing above helps, check you next.config.ts file, for me the problem was related to the incorrect images loader added.

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

79709916

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

For a basic check use the split function. This function is for checking excel cells so you may not have to use Variant (Also with thanks to @Erik A)

Public Function IsokEmailAddresses(InString As Variant) As Boolean
Dim EmailArray() As String
Dim TmpString As String
Dim TheStr As String
Dim i As Long

' Blank email is ok??
'[email protected]<SomeName;[email protected] Valid, 2 addresses, first one named SomeName
'a@ a < a.com Invalid, < needs to be escaped
'[email protected];;[email protected]; Valid, 2 addresses
'[email protected];a Invalid, second address is not valid
'a<[email protected] 'Weirdly enough, this is valid according to outlook, mails to [email protected]
          '(ignores part before the <)
'[email protected]<[email protected] 'But this isn't valid
                '(closing > needed in this specific case, mail address = [email protected])
                
'vacant? - I think this is ok - its valid as I think we still snail mail some objections
'IsVacant is space, blank or a single ' character
If isempty(InString) Then
  IsokEmailAddresses = True
  Exit Function
'if it's just a number it's not an email address
ElseIf IsNumeric(InString) Then
  IsokEmailAddresses = False
  Exit Function
End If

TmpString = Str(InString)
  
                
EmailArray = Split(TmpString, ";")

For i = 1 To UBound(EmailArray)
  TheStr = Trim(EmailArray(i)) 'trim either end
  'Look for spaces in the middle
  If InStr(1, TheStr, " ", vbTextCompare) > 0 Then
    IsokEmailAddresses = False
    Exit Function
  End If
  If Not (InStr(1, TheStr, "@", vbTextCompare) > 0) Then
    IsokEmailAddresses = False
    Exit Function
Next i

IsokEmailAddresses = True


End Function
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Erik
  • Low reputation (0.5):
Posted by: LeasMaps

79709913

Date: 2025-07-22 05:21:15
Score: 0.5
Natty:
Report link
// From xml file use .Load
XDocument x = XDocument.Parse(xml);

var result = x.Descendants().Where(x => x.Attribute("Name")?.Value.ToLower() == "myvalue");

foreach (XElement el in result)
{
    Console.WriteLine(el.Attribute("Name").Value);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Patrik Spišák

79709903

Date: 2025-07-22 05:10:12
Score: 1
Natty:
Report link

The padding at the bottom appears to be caused by the Home Indicator. However, I found a workaround by applying the padding to the background Color instead. Please see the updated code below. Screenshots are attached for your reference.

struct ContentView1: View {
    var body: some View {
        TabView {
            ForEach(0...10, id: \.self) { page in
                ZStack {
                    Color(.blue).opacity(0.2)
                        .padding(.bottom, -20)

                    Text("Page \(page)")
                }
                .edgesIgnoringSafeArea(.all)
            }
        }
        .tabViewStyle(.page)
    }
}

enter image description here
enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anmol_Maheshwari

79709901

Date: 2025-07-22 05:04:11
Score: 0.5
Natty:
Report link

Why flutter pub upgrade didn’t work?
flutter pub upgrade only upgrades to the highest versions allowed by your current constraints. If one of your direct dependencies is depending on an older version of a transitive dependency, then pub upgrade will not override that.

1. Get the dependency tree to see who depends on what

flutter pub deps

2. Update Flutter itself (for SDK‑bundled packages)

flutter upgrade

3. Upgrade all dependencies within your current constraints

flutter pub upgrade

4. Aggressively bump to latest (ignores upper‑bounds)

flutter pub upgrade --major-versions

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Whydid
  • Low reputation (0.5):
Posted by: Mohammad Faizan

79709883

Date: 2025-07-22 04:38:05
Score: 1
Natty:
Report link

Linux based desktop environments are encouraged to follow https://freedesktop.org's XDG Standard described here: https://specifications.freedesktop.org/basedir-spec/latest/

However, even commonly outside of desktop environments, it's encouraged to use:

# user's application config data
$HOME/.config/<app>
# user's application data
$HOME/.local/share/<app>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zac

79709882

Date: 2025-07-22 04:37:05
Score: 2
Natty:
Report link

As of MediaWiki 1.44, no.

There are some extensions, including GetUserName and MyVariables, which can workaround, but none is built-in.

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

79709880

Date: 2025-07-22 04:35:04
Score: 3.5
Natty:
Report link

You could also do the request in a forked process on the server running a cURL command, I built a library just for this, it's made for Laravel but you could just as well copy the logic and use it in any PHP application. https://packagist.org/packages/oliverlundquist/laravel-http-background

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

79709868

Date: 2025-07-22 04:27:02
Score: 1.5
Natty:
Report link

Just figured it out: word count!

var linkA = layers[0].textFrames[0].texts[0].words[2];
var linkB = layers[0].textFrames[0].texts[0].words[7];
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Michael

79709864

Date: 2025-07-22 04:16:00
Score: 1
Natty:
Report link

To make an open PDF in the browser for viewing instead of downloading. You should not use the DOWNLOAD attribute in the <a> tag.

for downloading

<a href="a.pdf" download>download</a>

for not downloading

<a href="a.pdf"> view Pdf </a>

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

79709856

Date: 2025-07-22 04:01:56
Score: 5
Natty:
Report link

The helper variable works fine, thanks.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: wkla

79709855

Date: 2025-07-22 04:01:56
Score: 5
Natty:
Report link

I wrote a library for exactly this purpose, it's made for Laravel but you could just copy the logic and use it in any PHP application. https://packagist.org/packages/oliverlundquist/laravel-http-background

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

79709840

Date: 2025-07-22 03:32:50
Score: 1
Natty:
Report link

Sure! Here's a short and clear version:


You're seeing sliding and jittering because SAT gives you the smallest push direction, which isn’t always up. That makes the player slowly slide off slopes or flicker between grounded and not grounded.

✅ Quick Fixes:

  1. Use surface normals
    Check the angle of the surface you're on — if it's mostly flat (e.g., normal.y > 0.7), you're grounded.

  2. Stop gravity when grounded
    If grounded, skip applying gravity. Only re-enable gravity when you’re clearly off the ground.

  3. Stick to ground
    After collision, do a small downward raycast. If ground is right below, snap to it gently.

  4. Use a grounded timer
    Don’t toggle grounded every frame. Add a short delay (like 0.2s) before saying you're in the air.


This approach gives smoother movement and prevents sliding off small slopes.

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

79709836

Date: 2025-07-22 03:29:49
Score: 3.5
Natty:
Report link

If you're looking for executing the request with cURL in a forked system process, then I created a library for that, it's built for Laravel but you could copy the logic and use it in any PHP application. https://packagist.org/packages/oliverlundquist/laravel-http-background

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

79709833

Date: 2025-07-22 03:24:48
Score: 1
Natty:
Report link

perhaps write like this

SELECT a.FirstName AS Name, l.Restaurant AS Location, l.Date AS Date
FROM Account AS a 
JOIN SignUp AS s ON s.UserID = a.UserID
JOIN Luncheon AS l ON s.UserID = l.LuncheonID;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: alan g

79709827

Date: 2025-07-22 03:13:45
Score: 0.5
Natty:
Report link

Even when you tell Visual Studio to "Start without Debugging" (that's the Ctrl+F5 option), it's still doing a little extra work behind the scenes compared to just clicking on the .exe file in your folder. Think of it like this:

Visual Studio is Still Watching: When you launch from VS, Visual Studio is still running and acting like a parent to your program. It might be keeping an eye on it, managing the console window, or just generally making sure everything's in order. This tiny bit of oversight adds a small amount of overhead. When you just double-click the .exe, there's no "parent" program involved.

Resource Sharing: Visual Studio itself is a pretty big program and uses up some of your computer's resources (CPU, memory). When it's running in the background and launching your program, there might be a bit of competition for those resources. When you run the .exe directly, Visual Studio isn't actively doing anything with your program, so more resources are free for your code.

So, that 12ms you see from Visual Studio likely includes a bit of "Visual Studio overhead," while the 7ms you get from the .exe is closer to the true speed of your program.

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

79709824

Date: 2025-07-22 03:09:45
Score: 0.5
Natty:
Report link

Take a look at Crossbill LicenseNoticeAggregator on Github.

The tool iterate through NuGet packages and get the licensing notices in a single file for a product release. It respects the different way the licensing information saved in NuGet package including HTML to plain text conversion.

You can call if from a command line interface, from a PowerShell script or form a VisualStudio project. Mostly the task can be automated, but a small amount of packages have to be processed manually and put as a text file in a tool's directory for processing.

Disclaimer: I am the author of the tool.

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

79709822

Date: 2025-07-22 03:04:44
Score: 0.5
Natty:
Report link

Take a look at Crossbill LicenseNoticeAggregator on Github.

The tool iterate through NuGet packages and get the licensing notices in a single file for a product release. It respects the different way the licensing information saved in NuGet package: some of them include LICENSE.txt, some use LicensingUtl tag (with broken links!), some provide README file. Mostly the task can be automated, but a small amount of packages have to be processed manually and put in a tool's directory for processing.

The tool release version is compiled under .NET Core, so can be run on Linux.

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

79709821

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

Even if I tried these steps, I wouldn't be able to deploy the project.

PS D:\Projects\Personal project\Remainder\reminder-app> npm start

\> [email protected] start

\> react-scripts start

'react-scripts' is not recognized as an internal or external command,

operable program or batch file.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aneruth G.j.

79709816

Date: 2025-07-22 02:59:42
Score: 4.5
Natty: 4.5
Report link

surely you could then copy the message (nuke the original message), give it a new uid and date and then resync and you wil lthen have same messages with new dates?

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

79709814

Date: 2025-07-22 02:56:41
Score: 4.5
Natty: 4.5
Report link

Take a look at Crossbill LicenseNoticeAggregator on Github.

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

79709811

Date: 2025-07-22 02:52:40
Score: 3.5
Natty:
Report link

Read here. Welcome to Gboard clipboard, any text you copy will be saved here.

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

79709805

Date: 2025-07-22 02:43:38
Score: 0.5
Natty:
Report link

Recently worked through the same problem: iterate NuGet packages and get the licensing notices in a single file for a product release.

Solving it was tricky as soon as different NuGet packages provide licensing in a different way: some of them include LICENSE.txt, some use LicensingUtl tag (with broken links!), some provide README file. Mostly the task can be automated, but a small amount of packages have to be processed manually.

So, I have created a tool to use from command line or from a VisualStudio project. The tool crates a single file to include in a product release. Also it generates a log on package processing and allows to put licensing information for selected packages manually as a text file.

Source code and compiled version is available as Crossbill LicenseNoticeAggregator on Github.

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

79709796

Date: 2025-07-22 02:21:34
Score: 1
Natty:
Report link

Great article! Medical billing can be such a complex process, and it's always helpful to have clear insights into how it works. I appreciate the tips you shared, especially the emphasis on the importance of accurate coding and timely claim submissions. It really highlights how staying organized and up-to-date with billing procedures can make a big difference in streamlining payments and avoiding denials. Looking forward to more posts that break down these complicated topics!

The Nation's Largest Network of Medical Billers and Revenue Managers! At American Business Systems, we've built our business on integrity and old-fashioned family values. We’ve become successful by helping others just like you start their own medical billing businesses and reach their financial goals without sacrificing their family life to the stress and time pressures of a job.


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

79709790

Date: 2025-07-22 02:00:22
Score: 4
Natty: 4
Report link

Just simply restart your computer , thank me later!

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

79709786

Date: 2025-07-22 01:55:21
Score: 1.5
Natty:
Report link

This happens because Autosys won't allow a job to start running if the box above it is not running as well. So, even though your job starting condition was matching, it's blocked because the box job doesn't have any conditions or was not started.

Your issue would be solved if you moved the starting condition from the job level to the box level

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Caio César

79709778

Date: 2025-07-22 01:23:14
Score: 1.5
Natty:
Report link

You may pass the id with your route helper like this.

route('admin_post.edit', ['id' => $item->id])

You can check more details in this documentation.

Reasons:
  • Blacklisted phrase (1): this document
  • Low length (1):
  • Has code block (-0.5):
Posted by: Tatachiblob

79709770

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

Your starting model should come from tessdata_best (float), not tessdata (integer). You can download from following url and change parameter:

TESSDATA=/usr/local/src/tessdata_best

https://github.com/tesseract-ocr/tessdata_best

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Zhijian Jim Luo

79709767

Date: 2025-07-22 01:01:09
Score: 4
Natty:
Report link

I made a PHP library that implements a method to achieve just that, it's built for Laravel but you could just copy the logic and use it in any PHP application. https://packagist.org/packages/oliverlundquist/laravel-http-background

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

79709763

Date: 2025-07-22 00:54:07
Score: 1.5
Natty:
Report link

Checking against string.punctuation gets us most of the way there, but there are still edge cases. I have written a library (ispunct) which attempts to be complete.

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

79709760

Date: 2025-07-22 00:52:06
Score: 1.5
Natty:
Report link

I know this format as "mysql datetime format" because this is the default format used by mysql for the display and storage of datetime, and is the context where you will most commonly come across this format.

Mysql reference for datetime.

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

79709756

Date: 2025-07-22 00:46:05
Score: 3
Natty:
Report link

C:\Program Files\JetBrains\JetBrains Rider 2025.1.4\lib\ReSharperHost\windows-x64\dotnet\sdk\8.0.404 Mine is here

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

79709750

Date: 2025-07-22 00:30:01
Score: 3.5
Natty:
Report link

I made a PHP library that implements the "Way 1" method, it will give you great control over the request, it's built for Laravel but you could just copy the logic and use it in any PHP application. https://packagist.org/packages/oliverlundquist/laravel-http-background

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

79709737

Date: 2025-07-22 00:06:57
Score: 1
Natty:
Report link

I wonder if this is an Apple or sandbox/TestFlight problem. I also noticed that our server-to-server notifications don't trigger on the purchase-after-expiration. It doesn't seem like the flutter in_app_purchase plugin could affect that.

I just hope it isn't occuring in production.

I also came across this post in Apple Developer Support. Seems like it could be an Apple issue

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

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

79709735

Date: 2025-07-22 00:01:55
Score: 2
Natty:
Report link

It should be like this on the server level

ALTER LOGIN "OldServerName\Windows_Login" WITH NAME="NewServerName\Windows_Login"

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

79709734

Date: 2025-07-21 23:59:55
Score: 3
Natty:
Report link

I had the exact same problem when sending webhook callbacks from our API, some remote servers were slow to respond. To solve this, I made this Laravel package that moves requests to the background and executing them with cURL in a forked process on the server. If you're not using Laravel, you can just copy the logic and use it in any PHP application. https://packagist.org/packages/oliverlundquist/laravel-http-background

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

79709733

Date: 2025-07-21 23:59:55
Score: 1.5
Natty:
Report link

Checking only odd numbers is basically skip over a prime "2". You can skip over 2/3/5/7 quite economically, which will save many divisions. The skip block size is 210 (=2x3x5x7), after which you repeat the skip pattern for the next block.

The max prime to test for an arbitrary number N is int(sqrt(N)). Furthermore, you only need to attempt division by primes in that range, but that requires memorizing all previously found primes (the number depends on your max number limit), which can exhaust the storage requirements. The least you can do is only divide by odd numbers in the range.

Last trick is to avoid computing sqrt(N) for each candidate by computing the P squared on the next prime after you passed the previous (P-1) squared. If you combine all the above, then you can further optimize this flow by computing the P squared for the skip blocks. For example, skipping 2/3/5/7 has a repeatable pattern in blocks of 210. For large N (N>211^2), the distance between (P-1)^2 to P^2 will span multiple skip blocks. It's cheaper in computer resources to count the blocks before advancing to the next P squared.

If you have a choice of compute cores to run your program, choose the one that offers early termination of the divide algorithm. Obviously a VLIW core is a big plus.

Have fun!

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

79709730

Date: 2025-07-21 23:57:53
Score: 6.5
Natty:
Report link

Use the information from this link. https://medium.com/@MYahia2011/how-to-restrict-access-to-your-flutter-app-if-device-time-is-manipulated-8d62ec96d4e1

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • 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: Michael Orume

79709716

Date: 2025-07-21 23:29:47
Score: 0.5
Natty:
Report link

on archlinux I found them in $ENV:XDG_DATA_DIRS

so for $env:LOCALAPPDATA you can

 $IsWindows ? $env:LOCALAPPDATA : $ENV:XDG_DATA_DIRS.Split([IO.Path]::PathSeparator).where({ $_ -like "*local*"})[0]

which returns /usr/local/share on linux

you can do workarounds like these :)

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

79709714

Date: 2025-07-21 23:27:47
Score: 0.5
Natty:
Report link

I ended up calling isStdoutReady() (below) before printf() and so far it appears to work. I have tested it with slow/intermittent upload connectivity to remote terminals and also manually by holding the scroll bar on Putty windows for 40+ sec to simulate a connectivity dropout.

Pros

Cons

@Kaz and @LuisColorado if you can edit your answers and combine with a poll() method like this or similar, I can accept and delete this answer.

int isStdoutReady() {

struct pollfd pfd;
int ret_val;

   pfd.fd = STDOUT_FILENO;
   pfd.events = POLLOUT;
   pfd.revents = 0;

   if ((ret_val = poll(&pfd, 1, 1)) > 0) {  /* timeout (in msec) is 3rd param; if set to zero will return immediately */

      if (!(pfd.revents & POLLOUT)) return 0;  /* if POLLOUT not set then stdout not ready for writing */

      if (pfd.revents & (POLLERR | POLLHUP | POLLNVAL)) return -1;  /* handle errors or hang-ups */
   }
   else if (ret_val < 0) return -1;  /* error value:  EINVAL, EAGAIN, EINTR */
   else return 0;  /* poll() return value zero is a time-out */

   return 1;  /* stdout ready for writing */
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Kaz
  • User mentioned (0): @LuisColorado
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Jeff Brower

79709707

Date: 2025-07-21 23:16:44
Score: 4
Natty:
Report link
Rundll32.exe user32.dll,SwapMouseButton
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: NLine

79709693

Date: 2025-07-21 22:56:40
Score: 5
Natty:
Report link

Hi guys my name is osiloko Francis ochapa I ma from Nigeria is a good time to come over and watch the game with you guys my name is osiloko Francis ochapa I ma from Nigeria is

Reasons:
  • RegEx Blacklisted phrase (1): Hi guys
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Osiloko Francis

79709687

Date: 2025-07-21 22:46:38
Score: 1.5
Natty:
Report link

Just in case anyone else gets here looking for the same thing in VS Code:

Right-click on the desired line of code and select "Jump to cursor".

There does not appear to be a keyboard shortcut for that in VS Code.

Happy coding!

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

79709684

Date: 2025-07-21 22:41:37
Score: 0.5
Natty:
Report link

Since StackOverflow endorses answering your own question: I have the answers after deploying a cluster with horizontally scaled writes myself. There weren't any good how-to guides on this so here goes.

Brief preamble: Citus deprecated sharding, what they also call "statement based replication" (not to be confused with statement based replication in general) years ago. HA and fault tolerance are now achieved by 1. having a coordinator cluster and 1+ worker clusters, and 2. bringing your own cluster admin tools like Patroni. This migration solved subtle but serious deadlock scenarios plaguing the sharding/statement-based replication strategy.

Terminology:

Citus' documentation often uses "the coordinator" or "a worker" to refer to the coordinator leader or to a worker group's leader. I'll try to avoid that ambiguity below.

Citus mostly deals only with the leader for each group. The main exception to this is the citus.use_secondary_nodes GUC. Another exception is Citus has a metadata table with all nodes tagged with their leader or follower status. This table is used to direct DDL and DML statements to the correct node within each group/cluster. Your bring-your-own HA solution such as Patroni is responsible for updating this table correctly.

Concise Guide:

Adding worker clusters to scale writes likely seems counterintuitive. There are two reasons for this:

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

79709678

Date: 2025-07-21 22:31:35
Score: 1
Natty:
Report link

If anyone else comes here and is using nvim-lspconfig then:

in lua/plugins/ add a file with this spec:

return {
  "neovim/nvim-lspconfig",
  opts = function(_, opts)
    opts.diagnostics.virtual_text = false
    return opts
  end,
}

That did it for me.

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

79709663

Date: 2025-07-21 21:57:28
Score: 0.5
Natty:
Report link

For others coming across this, it is better to run astro check in CI. It doesn't require running astro sync and also checks .astro files, config etc. as well as running type checks.

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