79666106

Date: 2025-06-14 19:40:41
Score: 10.5 🚩
Natty: 6
Report link

have you solved it in anyway? Right now i'm participating at the same hackathon as you do, but i'm having the same problem or something near it

Reasons:
  • Blacklisted phrase (1): i'm having the same problem
  • Blacklisted phrase (2): have you solved it
  • RegEx Blacklisted phrase (1.5): solved it in anyway?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i'm having the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Khaos

79666103

Date: 2025-06-14 19:34:39
Score: 11.5 🚩
Natty:
Report link

Did you manage to fix this? Facing the same issues...

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to fix this
  • RegEx Blacklisted phrase (1.5): fix this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Ionut Ciochinaru

79666099

Date: 2025-06-14 19:33:39
Score: 3.5
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sameer Khan

79666097

Date: 2025-06-14 19:30:38
Score: 0.5
Natty:
Report link

Hopefully I'm not wrong on all of this information but this does appear to be a build-in feature with lifecycle policy in ECR as it automatically cleans up artifacts (including your metadata) that are orphaned or no longer used by any images. I would like to mention that all artifacts are considered images to ECR's lifecycle policy.

The documentation on [1] lifecycle policies mention the following about once a lifecycle policy is applied:

Once a lifecycle policy is applied to a repository, you should expect that images become expired within 24 hours after they meet the expiration criteria

and mentioning that these artifacts will be cleaned up after 24 hours:

When reference artifacts are present in a repository, Amazon ECR lifecycle policies automatically clean up those artifacts within 24 hours of the deletion of the subject image

under [2] considerations on image signing

When reference artifacts are present in a repository, Amazon ECR lifecycle policies will automatically clean up those artifacts within 24 hours of the deletion of the subject image.

Now, hopefully to accurately answer your questions

Why did it decide that my artifacts were orphaned?

As I don't know your full lifecycle policy rules. The rule provided determined that your artifacts were orphaned because it mentions "Any" and treated the metadata non-image as unused and eligible for cleanup.

How can I avoid that?

From the provided rule in this post, let me break it down what's happening:

                "tagStatus": "Any",
                "tagPrefixList": [],
                "tagPatternList": [],
  1. "tagStatus": "Any" means that the rule applies to all artifact, tagged or untagged

  2. "tagPrefixList": [] and "tagPatternList": [] indicates that no specific tag filtering is happening, therefore applying it to any tagged or non-tagged

Recommendations:

Change:

"tagStatus": "Any"

to:

"tagStatus": "untagged"

I'd say [3] tagging your non-image artifacts properly will prevent this from happening and once tagged, the "cleanup orphan artifacts" rule wont consider them as orphaned, they will be considered referenced and active preventing the aforementioned rule to consider them as 'orphaned'.

Changing it to "untagged" will ensure the rule only targets untagged artifacts

References:

[1] - https://docs.aws.amazon.com/AmazonECR/latest/userguide/LifecyclePolicies.html

[2] - https://docs.aws.amazon.com/AmazonECR/latest/userguide/image-signing.html

[3] - https://docs.aws.amazon.com/AmazonECR/latest/userguide/lifecycle_policy_parameters.html

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: John Crawley

79666091

Date: 2025-06-14 19:17:35
Score: 1
Natty:
Report link

I had that same issue, where it was loading some CSS I had entered a day ago, but not new CSS. I have not tried Gmuliu Gmuni's suggestion to run django-admin collectstatic (as defined by docs). Instead, I did a hard reload in Firefox to get rid of cache, and it worked fine.

The Django documentation states that,

ManifestStaticFilesStorage

class storage.ManifestStaticFilesStorage

A subclass of the StaticFilesStorage storage backend which stores the file names it handles by appending the MD5 hash of the file’s content to the filename. For example, the file css/styles.css would also be saved as css/styles.55e7cbb9ba48.css.

The purpose of this storage is to keep serving the old files in case some pages still refer to those files, e.g. because they are cached by you or a 3rd party proxy server. Additionally, it’s very helpful if you want to apply far future Expires headers to the deployed files to speed up the load time for subsequent page visits.

The storage backend automatically replaces the paths found in the saved files matching other saved files with the path of the cached copy (using the post_process() method). The regular expressions used to find those paths (django.contrib.staticfiles.storage.HashedFilesMixin.patterns) cover:

  • The @import rule and url() statement of Cascading Style Sheets.

  • Source map comments in CSS and JavaScript files.

According to that same link (further up the page):

On subsequent collectstatic runs (if STATIC_ROOT isn’t empty), files are copied only if they have a modified timestamp greater than the timestamp of the file in STATIC_ROOT. Therefore if you remove an application from INSTALLED_APPS, it’s a good idea to use the collectstatic --clear option in order to remove stale static files.

So, django-admin collectstatic only works with an updated directory (if I'm reading this right), and my VSCode addition to the CSS file didn't update the directory timestamp when it did so for the file.

I'm new to Django, myself, so please correct me if I'm wrong.

Reasons:
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @import
  • Low reputation (1):
Posted by: Josh Borthick

79666090

Date: 2025-06-14 19:15:34
Score: 2
Natty:
Report link

Yes,

For parsing a name into it's constituent parts: Python Human Name Parser.
https://nameparser.readthedocs.io/en/latest/

For fuzzy matching similar names:
https://rapidfuzz.github.io/RapidFuzz/

It goes without saying that normalizing names is a difficult endeavor, probably pointless if you don't have additional fields to identify the person on.

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

79666089

Date: 2025-06-14 19:13:34
Score: 0.5
Natty:
Report link
// models/product_model.dart
class ProductModel {
  final int id;
  final String title;
  final double price;
  // ...

  factory ProductModel.fromJson(Map<String, dynamic> json) {
    return ProductModel(
      id: (json['id'] as num).toInt(),
      title: json['title'] as String,
      price: (json['price'] as num).toDouble(),
      // other fields...
      rating: RatingModel.fromJson(json['rating'] as Map<String, dynamic>),
    );
  }
}

class RatingModel {
  final double rate;
  final int count;

  factory RatingModel.fromJson(Map<String, dynamic> json) {
    return RatingModel(
      rate:  (json['rate'] as num).toDouble(),
      count: (json['count'] as num).toInt(),
    );
  }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: محمود ريحانية

79666084

Date: 2025-06-14 19:10:32
Score: 1
Natty:
Report link

Ages old question, but seems still valid and I can come up with a situation not described by other answers.

Consider that you have two packages A and B, A depends on a specific version of B.

Now, you are developing a new feature that unfortunately needs changes in both packages. What do you do? You want to pin A to the new version of B, but you are also actively modifying B so there is no known working version to pin at.

And somehow in this case, an editable installation of both A and B, ignoring that A -> B dependency, is the easiest way out.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Yì Yáng

79666078

Date: 2025-06-14 19:05:31
Score: 5
Natty: 5
Report link

Great small hint, made my day. Thx

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

79666073

Date: 2025-06-14 18:53:28
Score: 2.5
Natty:
Report link

You have really bad grammar. I noticed that on multiple occassions, you misspelled words such as "if", a very simple word, and wrote "ff".

As for the code, I have no idea. I couldn't read anything you wrote because of your terrible grammar.

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

79666063

Date: 2025-06-14 18:30:23
Score: 0.5
Natty:
Report link

If you have enumerable you can split it:

static var client = new HttpClient();

string[] urls = { "http://google.com", "http://yahoo.com", ... };

foreach (var urlsChunk in url.Chunk(20))
{
    var htmls = await Task.WhenAll(urlsChunk.Select(url => client.GetStringAsync(url));
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mariusz96

79666062

Date: 2025-06-14 18:28:23
Score: 0.5
Natty:
Report link

When we say new Date() we are essentially creating a new instance/object of the class Date using Date() constructor method. When we call the Date() method without the use of new keyword it actually returns a String not an instance/object of the class Date. And a string will not contain the method getFullYear();. Hence we get an error

Now consider the below code snippet:

let dateTimeNowObj = new Date(); // returns a object of class Date
console.log(dateTimeNowObj) // Sat Jun 14 2025 23:48:27 GMT+0530 (India Standard Time)
console.log(dateTimeNowObj.getFullYear()); // 2025

let dateTimeNowStr = Date(); // returns a string 
console.log(dateTimeNowStr) // Sat Jun 14 2025 23:47:32 GMT+0530 (India Standard Time)
console.log(dateTimeNowStr.getFullYear()); // TypeError: dateTimeNowStr.getFullYear is not a function
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When we
  • Low reputation (1):
Posted by: Shrivatsa Shetty

79666061

Date: 2025-06-14 18:27:22
Score: 3
Natty:
Report link

I actually managed to fix this using Beehiiv, the difference, I guess? Is that you have to submit to an e-mail newsletter first. Not thought about how to make this user specific, but in a sense you can embed an Iframe into the Beehiiv e-mail and send this (without being flagged as spam) to subscribers.

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

79666055

Date: 2025-06-14 18:13:19
Score: 2.5
Natty:
Report link

Callback URLs need to be first registered with the M-Pesa APIs, ensure you do that first. When registering, you might want to change the API versions because the default ones given might fail sometimes. So, if v1 fails to register your callback URL, try using v2...

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

79666047

Date: 2025-06-14 17:57:15
Score: 7.5 🚩
Natty: 5
Report link

Did you find a solution? I am facing the same issue.

Replacing DocumentEventData with EntityEventData is not a solution unfortunately.

File "/workspace/main.py", line 12, in hello_firestore
    firestore_payload = firestore.EntityEventData()
AttributeError: module 'google.events.cloud.firestore' has no attribute 'EntityEventData'
Reasons:
  • RegEx Blacklisted phrase (3): Did you find a solution
  • Has code block (-0.5):
  • Me too answer (2.5): I am facing the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Did you find a solution
  • Low reputation (1):
Posted by: user30803183

79666046

Date: 2025-06-14 17:57:15
Score: 1
Natty:
Report link
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/summernote-bs5.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/summernote-bs5.min.js"></script>

use summernote-bs5 for bootstrap 5

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

79666033

Date: 2025-06-14 17:42:11
Score: 5.5
Natty:
Report link

I'm also having a trouble on migrating from old autocomplete to new one in my Angular project. There are big gaps between documentation and reality. For example, on documentation google.maps.places.PlaceAutocompleteElement() does not accept any parameters but compiler complaining that constructor expects options: PlaceAutocompleteElementOptions parameter.
I'm now wondering if you found already any solution yet?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution yet?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Ali Alizade

79666030

Date: 2025-06-14 17:39:10
Score: 5
Natty:
Report link

I found the answer in below post : You will get the explaination there as well. Thanks

Kendo Editor on <textarea> creates iframe, so cant bind any javascript events inside it

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

79666024

Date: 2025-06-14 17:34:08
Score: 2
Natty:
Report link

I think problem with memory leaks that originally its compiled on RHEL system, that means its uses architecture that RHEL server uses on Oracle linux, Oracle linux have different configuration compared to RHEL. I need more information about what architecture and GPU, CPU RHEL server uses and what GPU, CPU, architecture Oracle linux uses(x86 bit; x64 bit; x32 bit)

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

79666019

Date: 2025-06-14 17:21:06
Score: 2.5
Natty:
Report link

Go to python installation folder and search for python.exe. Copy the same and paste. Rename the pasted exe file with 'python3.exe'.

Now you have two python executables.

Try now to run your query on PySpark

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

79666009

Date: 2025-06-14 17:12:03
Score: 1
Natty:
Report link

My personal preference is as follows:

@staticmethod
def _generate_next_value_(a_name, *_, **__):
    return a_name
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ish-west

79666008

Date: 2025-06-14 17:12:02
Score: 4
Natty: 4
Report link

good article, this resolved a common issue for anyone. FF

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

79666004

Date: 2025-06-14 17:04:01
Score: 1
Natty:
Report link

As per your question the correct query is:

SELECT district_name, district_population, COUNT(city_name) AS citi_count FROM india_data WHERE city_population > 100000 GROUP BY district_name, district_population HAVING citi_count >= 3;

but based on the sample data provided no district has 3 or more cities with a population over 100,000. Therefore, if you run the query with HAVING citi_count >= 3, it will return no results.

However, if your goal is to retrieve districts that have at least 1 city with a population greater than 100,000, you can modify the query to: SELECT district_name, district_population, COUNT(city_name) AS citi_count FROM india_data WHERE city_population > 100000 GROUP BY district_name, district_population HAVING citi_count >= 1;

This query will return results based on the current dataset since several districts do have at least one city with a population exceeding 100,000.

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

79666000

Date: 2025-06-14 16:59:59
Score: 2
Natty:
Report link

Ctrl+H and then just replace two spaces with one. Fixes most indentations.

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

79665996

Date: 2025-06-14 16:51:57
Score: 3.5
Natty:
Report link

if you give similar qualifier name for two beans you will face this exception

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

79665995

Date: 2025-06-14 16:51:57
Score: 2
Natty:
Report link

You should try changing the UE version to a lower one (5.2, for example). If this doesn't work, delete the Binaries, Saved and Intermediate folders from your project folder and try again. Let me know if this works!

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

79665993

Date: 2025-06-14 16:43:55
Score: 2.5
Natty:
Report link

\> Yes, you can run multiple JavaScript files on the same HTML page.

Just include each file using a separate <script> tag like this:

<script src="slider.

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

79665988

Date: 2025-06-14 16:36:54
Score: 1
Natty:
Report link

Ok so you are using uva and still uv is getting confused and trying to use your system's Python 3.13.2, even when you ask for 3.9.21. This happens because uv needs a clear path to the specific Python version you want for your project.

This is usually the simplest and best way to tell uv exactly what to use for a project.

1. Go into your project folder:

\>>>mkdir sandboxcd sandbox

2. Tell uv to use Python 3.9.21 for this folder:

\>>>uv python pin 3.9.21

If you don't have 3.9.21 installed yet via uv, it might ask you to install it.

3. Now, create and sync your project:

\>>>uv init --package

\>>>uv sync

uv will now automatically use the pinned 3.9.21.

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

79665985

Date: 2025-06-14 16:34:53
Score: 2.5
Natty:
Report link

You can’t trigger a client-side modal directly from Django views.py, since it's server-side. However, you can set a flag in the context and then use JavaScript in the template to show a modal conditionally.

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

79665979

Date: 2025-06-14 16:28:52
Score: 1.5
Natty:
Report link

# Fix encoding issue by replacing special characters with standard equivalents

fixed_content = content.replace("’", "'").replace("–", "-")

# Recreate the PDF with corrected characters

pdf = FPDF()

pdf.add_page()

pdf.set_auto_page_break(auto=True, margin=15)

pdf.set_font("Arial", size=12)

pdf.multi_cell(0, 10, fixed_content)

# Save the fixed file

pdf_path = "/mnt/data/Harry_Potter_Book_Movie_Review.pdf"

pdf.output(pdf_path)

pdf_path

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

79665977

Date: 2025-06-14 16:23:51
Score: 1.5
Natty:
Report link

I was building linux-dfl kernel 5.15-lts on Ubuntu 22.04. This solution worked for me to go past similar errors while using "sudo make -j $(nproc) bindeb-pkg". Make sure you do both the suggested changes.

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

79665967

Date: 2025-06-14 15:55:45
Score: 1
Natty:
Report link

✅ Confirmed by Microsoft: The inbound traffic issue with IKEv2-based P2S VPN in Azure is a known platform limitation. Azure doesn't symmetrically route return traffic from VM to VPN client unless the client initiates the session — resulting in broken ICMP or similar inbound flows.

✔️ OpenVPN works better in these scenarios due to how Azure handles its routing behavior internally. It treats OpenVPN clients more reliably as routable endpoints, resolving the asymmetric routing problem.

⚠️ IKEv2 relies heavily on traffic selectors, and return traffic isn't always respected by Azure's routing logic.

🧠 Recommendations included:

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

79665959

Date: 2025-06-14 15:47:44
Score: 1
Natty:
Report link

Try to replace Navigate("/decks") with useNavigate from react-router-dom like this :
const navigate = useNavigate();
And then in onCompleted function call it:
navigate("/decks");

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

79665958

Date: 2025-06-14 15:45:43
Score: 1
Natty:
Report link

There used to be a way to run Vert.x with the command line tool, but this has been deprecated and by the looks of it also all the downloads have been disabled, but some of the references might not have been removed. You should use the application launcher to launch Vertx.

You can check the roadmap that has a whole section on cleaning up the CLI tool: https://github.com/vert-x3/issues/issues/610

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

79665957

Date: 2025-06-14 15:42:42
Score: 2
Natty:
Report link

م.ش.و.ذ.م.م : كسيــــــلة للاستيراد و التصدير. رأس المال الاجتماعي 10.000.000.00دج المقر الاجتماعي : حي النصر رقم 02 بريكة.
رقم السجل التجاري: 14 ب 0225068-00/05

محضر اجتماع الجمعية العامة العادية بتاريخ: 12/06/2025.

    في عام ألفين و خمسة و عشرين في الثاني عشر   من شهر جوان   وعلى الساعة التاسعة صباحا اجتمعت الجمعية   العامة العادية  بمقر  الشركة أعلاه .

حضر الشركاء السادة: شريك مسير:دراجي الجمعي .

اللائحة الأولى : دراسة الحسابات الاجتماعية لسنة 2024. هذه اللائحة مصادق عليها بالإجماع.

              إجمـــالي الأصول الصافي: 20 724 543.11   دج.
         إجمـــالي الخصوم الصافي:   20 724 543.11 دج.
            النتيجة الصافية للدورة: =  1 020 721.69  دج 

*انظر جداول الأصول ’الخصوم و حسابات النتائج الملحقة.

المسير

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Sellaoui Rami

79665948

Date: 2025-06-14 15:27:38
Score: 0.5
Natty:
Report link

If you are on Alpine Linux, try installing libcurl-dev to fix the error:

sudo apk add curl-dev
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: RhodanV5500

79665940

Date: 2025-06-14 15:13:35
Score: 2
Natty:
Report link

I think the problem was that I only had the bloc package as a dependency. After I installed flutter_bloc as well, it started working as expected.

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

79665939

Date: 2025-06-14 15:11:34
Score: 0.5
Natty:
Report link

Add this to your import

import { DefaultHttpClient } from '@azure/core-http'

Pass httpClient explicitly while creating client

const blobServiceClient = new BlobServiceClient(
    url,
    creds,
    {
        httpClient: new DefaultHttpClient()
    }
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Atishay

79665938

Date: 2025-06-14 15:10:34
Score: 1
Natty:
Report link

Here’s a clean and safe batch script that will move files from one folder to another, creating the destination folder if it doesn’t exist, and without overwriting existing files:

@echo off
set "source=C:\SourceFolder"
set "destination=C:\DestinationFolder"

REM Create destination folder if it doesn't exist
if not exist "%destination%" (
    mkdir "%destination%"
)

REM Move files without overwriting
for %%F in ("%source%\*") do (
    if not exist "%destination%\%%~nxF" (
        move "%%F" "%destination%"
    ) else (
        echo Skipped existing file: %%~nxF
    )
)

echo Done!
pause

Let me know if you need any help. Feel free to ask any question

Reasons:
  • Blacklisted phrase (1): any help
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: gardener jeffon

79665922

Date: 2025-06-14 14:44:27
Score: 0.5
Natty:
Report link

What indices should be in the answer? In other words, what should I be looking for in order to solve the question?

The thing you should be looking for is: the index in the histogram, by whose height, the largest rectangle can be formed.

The reason is quite straightforward, the largest rectangle must be formed by a height of one of the heights, and you only have that much heights. Your mission is to loop for each of them, and see which is the largest. Which brings up the answer for your question #2.

Why do I need the index of the first bar to the left and right for each index? What does it serve?

To get the rectangle area formed by height at index i, i.e., heights[i], you need to find the left boundary left and right boundary right, where left < i and right > i , and both heights[left - 1] and heights[right + 1] are smaller than heights[i]. Because for indices, let denotes them as j and k, outside the two boundaries, the rectangle formed in the range [j, k] won't be formed by height[i].

Hope it helps resolve your confusion.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): Hope it helps
  • RegEx Blacklisted phrase (1.5): solve the question?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What in
Posted by: PkDrew

79665921

Date: 2025-06-14 14:39:26
Score: 1.5
Natty:
Report link

I have realised the answer. The program being invoked (by a full pathname) could invoke another without the full path, and thus use $PATH.

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

79665919

Date: 2025-06-14 14:36:25
Score: 1.5
Natty:
Report link

The first formula uses k as the number of independent variables, but it does not include the intercept. The second formula uses k + 1, meaning it includes the intercept in the count.

The first formula is not wrong but it is using a different definition for k. But since Python includes the intercept, you need to use the second formula to match it.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Zeynep Savaş

79665904

Date: 2025-06-14 14:19:21
Score: 2.5
Natty:
Report link

I needed to use

df_dm.dropna(axis = 1, how="all", inplace = True)

I was only dropping rows with all Nans since:

axis = 0

is the standard.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: David B.

79665900

Date: 2025-06-14 14:09:18
Score: 0.5
Natty:
Report link

As per this discussion on the LLVM Forum, the solution is to build with -DLLVM_TARGETS_TO_BUILD="host;NVPTX;AMDGPU" .

The Dockerfile can be found on GitHub

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Florian Becker

79665891

Date: 2025-06-14 14:00:16
Score: 2
Natty:
Report link

@Patrik Mathur Thank you, sir. I didn’t realize it provides a ready to use loop

My previous code in the original post is working now by correctly setting the reuse addr and reuse port like this

```server->setsockopt<int>(SOL_SOCKET, SO_REUSEADDR, 1);

server->setsockopt<int>(SOL_SOCKET, SO_REUSEPORT, 1);

```

But the performance is very low, probably because it spawns a new thread for every incoming connection

I'm trying the built in loop now like this

```

void HttpServer::start() {
    photon::init(photon::INIT_EVENT_DEFAULT, photon::INIT_IO_DEFAULT);
    DEFER(photon::fini());

    auto server = photon::net::new_tcp_socket_server();
    if (server == nullptr) {
        throw std::runtime_error("Failed to create TCP server");
    }
    DEFER(delete server);

    auto handler = [this](photon::net::ISocketStream* stream) -> int {
        DEFER(delete stream);
        stream->timeout(30UL * 1000 * 1000);
        this->handle_connection(stream);
        return 0;
    };

    server->set_handler(handler);

    int bind_result = server->bind(options_.port, photon::net::IPAddr());
    if (bind_result != 0) {
        throw std::runtime_error("Failed to bind to localhost:" + std::to_string(options_.port));
    }

    if (server->listen() != 0) {
        throw std::runtime_error("Failed to listen on port " + std::to_string(options_.port));
    }

    LOG_INFO("Server is listening on port ", options_.port, " ...");
    LOG_INFO("Server starting main loop...");
    server->start_loop(true);
}

```

But I’m still trying to fix it because I’m getting a segmentation fault :(

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): :(
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Patrik
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Fuji

79665890

Date: 2025-06-14 13:59:15
Score: 4.5
Natty: 4
Report link

How would you go backwards given the date column? Or better yet, add a day-of-year column that ranges from 1 - 365 and generate the others. I apologize if I should have started a new question instead - let me know.

Reasons:
  • Blacklisted phrase (1): How would you
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How would you
  • Low reputation (1):
Posted by: Jott

79665877

Date: 2025-06-14 13:31:08
Score: 1
Natty:
Report link

[UPDATE – RESOLVED]

After extensive troubleshooting and countless hours analyzing packet captures, NSG/UDR configurations, and effective routes, the P2S VPN routing issue has finally been resolved – and the root cause was surprising.

Problem:

Inbound ICMP (or any traffic) from Azure VMs to the VPN client (192.168.16.x) failed when using IKEv2, even though outbound traffic from the VPN client to VMs worked fine. All routes, NSGs, diagnostics, and logs showed expected behavior. Yet, return traffic never reached the VPN client.

Solution:

Switched the Azure VPN Gateway tunnel type from IKEv2 to OpenVPN (SSL) and connected using the OpenVPN client instead. Immediately after connecting, inbound and outbound traffic between the VPN client and Azure VMs started working perfectly.

Key Observations:

No changes were made to the NSG, UDR, or VM firewall after switching protocols.

It appears the IKEv2 connection had an underlying asymmetric routing or encapsulation issue that Azure didn’t route correctly.

OpenVPN (SSL) handled the return traffic properly without additional UDRs or complex tweaks.

Both Linux (Ubuntu VM) and Windows 11 confirmed bidirectional ICMP now works.

Tip for others facing similar issues:

If you're using Azure P2S with IKEv2 and experiencing one-way traffic issues (especially inbound failures), switch to OpenVPN and test again. It might save you days of debugging.

Next Steps:

I'm now migrating the Raspberry Pi VPN client to OpenVPN (CLI-only) and keeping FreeRADIUS on EC2 for centralized auth.

Reasons:
  • Whitelisted phrase (-2): Solution:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): facing similar issue
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: what_me

79665876

Date: 2025-06-14 13:31:08
Score: 3.5
Natty:
Report link

Learn Java, be clever, love computer science

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Маріанна Нікольська

79665862

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

I was having the same problem too with git push command in my Linux and just adding sudo command at the start of the command solved it for me
The right command is sudo git clone example.git

For Windows users I guess you'll have to run the IDE or CMD/Powershell as administrator

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

79665858

Date: 2025-06-14 13:06:01
Score: 2
Natty:
Report link

This started happening for me in PyCharm2025.1. The fix was simple. Ensure quick fixes are enabled in the menu (click on the 3 dots on the right hand side):

Pycharm quickfix screenshot

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Matthew Hegarty

79665854

Date: 2025-06-14 12:58:00
Score: 1.5
Natty:
Report link

Do not forget what sorting means when there are multiple columns to sort by. Is this exactly what you want to achieve? df.sort(["group","value","value2"])

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: figs_and_nuts

79665848

Date: 2025-06-14 12:48:58
Score: 0.5
Natty:
Report link

Since you've already synced your AWS Knowledge Base with Bedrock, you're ready to query it using an Amazon Bedrock Runtime API with a RAG (Retrieval-Augmented Generation) setup. Here's how you can get started programmatically:

1. Set up your environment

2. Use RetrieveAndGenerate API

Here’s an example in Python using boto3:

Replace YOUR_KB_ID with the actual Knowledge Base ID
Replace modelArn with the model you want to use (e.g., Claude 3, Titan, etc.)

import boto3

bedrock_agent_runtime = boto3.client('bedrock-agent-runtime')

response = bedrock_agent_runtime.retrieve_and_generate(
    input={
        "text": "What are the benefits of using Amazon SageMaker?"
    },
    retrieveAndGenerateConfiguration={
        "knowledgeBaseConfiguration": {
            "knowledgeBaseId": "YOUR_KB_ID"
        },
        "modelArn": "arn:aws:bedrock:us-east-1::foundation-model/anthropic.claude-3-sonnet-20240229-v1:0"
    }
)

print(response['output']['text'])

More details and examples on Cloudoku.training here - https://cloudoku.training/blog/aws-knowledge-base-with-bedrock

Good Luck! let me know how it goes.

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

79665840

Date: 2025-06-14 12:38:55
Score: 1
Natty:
Report link

Your situation looks like a race condition and time-of-check/time-of-use, and locks must be used to make those inserts not parallel but serial.
My guess is that SELECT ... FOR UPDATE can lock more rows than needed (depend on ORDER BY in select statement), so causing lock timeouts.

Try using Advisory Locs (https://www.postgresql.org/docs/15/functions-admin.html#FUNCTIONS-ADVISORY-LOCKS) to avoid parallel execution of some part of code.
Just grab the lock (pg_advisory_lock) before selecting the "last" row, and release it (pg_advisory_unlock) after insertion new one.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Игорь Тыра

79665839

Date: 2025-06-14 12:37:55
Score: 1
Natty:
Report link

I repeated all your steps exactly you described here and when pressing "Build skill" it start building it, but at the end it fails - so no new model is present.

When I also added a custom intend with one single sample utterance building the skill is not failing anymore. So new model present and when testing, "hallo wereld" is enough and skill get invoked.

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

79665833

Date: 2025-06-14 12:23:51
Score: 0.5
Natty:
Report link

Got the similar problem. I tried to copy the main part of the private key and type the other part by myself.

And I typed letter O as number 0 for the similarity.

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

79665828

Date: 2025-06-14 12:15:50
Score: 1.5
Natty:
Report link

Run the following commands to resolve this error;

rm -rf var/cache/prod php

bin/console oro:assets:install --env=prod

You should get this results when it's successful

The last command would reinstall the assets. you need to see the following to know this has worked.

If this doesn't work. Run them again and again until it works. if this fails, run these in succession;

rm -rf var/cache/prod

php bin/console oro:assets:install --env=prod

rm -rf var/cache/prod

bin/console oro:platform:update --force --env=prod

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

79665824

Date: 2025-06-14 12:11:48
Score: 3.5
Natty:
Report link

Azure Container Apps - Fully managed serverless container platform
https://azure.microsoft.com/en-us/products/container-apps

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

79665820

Date: 2025-06-14 12:08:47
Score: 1
Natty:
Report link

I solved "that problem in kernel function" by Project properties -> C/C++ -> Command line -> Additional parameters = --offload-arch=gfx900 (I have Vega 56, set your arch gfx????).

enter image description here

I use HIP 5.5 because 6.2 does not work with my GPU ("Unsupported hardware"). I also found that last ROCm to work with Vega 56 was 4.5.2 . To check GPU arch, you may do:

C:\> hipinfo

or also clinfo

Reasons:
  • Blacklisted phrase (1): ???
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sergei Koshman

79665817

Date: 2025-06-14 12:00:45
Score: 3.5
Natty:
Report link

click on the :app:mergeDebugResources, then scroll to the top to see the source of error.

enter image description here

This error usually comes from the resource file, check your resource xml file.

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user1749845

79665802

Date: 2025-06-14 11:36:39
Score: 5.5
Natty:
Report link

I honestly can't understand the meta API. If we had to go through the rigorous process of storing messages, why not just use the On-Premise API to begin with? I'm seriously stressed out... I particularly need to retrieve the message in the context. Is there a way to request for this feature?

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: TunaWire

79665801

Date: 2025-06-14 11:35:38
Score: 0.5
Natty:
Report link

// server.js

const express = require('express');

const QRCode = require('qrcode');

const app = express();

app.get('/:name', async (req, res) => {

const name = req.params.name;

const url = `https://love.tsonit.com/${name}`;

// Tạo mã QR PNG (hoặc SVG)

const qr = await QRCode.toDataURL(url, {

errorCorrectionLevel: 'H',

margin: 1,

color: {

  dark: '#000000',

  light: '#ffffff'

}

});

// HTML trả về

res.send(`

\<html\>

  \<head\>\<title\>QR Love\</title\>\</head\>

  \<body style="text-align:center; margin-top:50px;"\>

    \<h2\>Quét để tỏ tình với: ${name}\</h2\>

    \<img src="${qr}" style="width:300px; clip-path: path('M128 8c70 0 128 56 128 128s-128 128-128 128S0 206 0 136 58 8 128 8z');" /\>

  \</body\>

\</html\>

`);

});

app.listen(3000, () => console.log('Running on http://localhost:3000'));

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

79665788

Date: 2025-06-14 11:14:33
Score: 2
Natty:
Report link

proxy may be a possible cause. I had a similar issue, it turns out proxy is turned on globally by a software. curl can be affected by proxy setup, and this is why it tries to access a port on a local machine even if it is not mentioned anywhere.

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

79665779

Date: 2025-06-14 11:03:30
Score: 4
Natty:
Report link

Thank you for sharing these logs. I understand that the issue may no longer be relevant, but I found your question quite interesting and took the opportunity to review it to better understand what might have caused the login problem after the update.

From what I can see in the logs, there doesn't appear to be anything suspicious - everything seems to be functioning as expected to me. After updating to a new version, GitLab prompts for reauthentication. If the login form fields were not displaying, it could be related to a front-end issue. Have you tried recompiling your assets? The official GitLab documentation might be helpful in this case. Additionally, clearing your browser cache could also resolve such display issues.

However if the problem was still reproducible on a clean install with your data, that might indicate an issue with the data itself or the configuration settings, rather than with the GitLab system environment. Possible causes could include corrupted or incomplete database entries, misconfigurations, or even something customization related. For example, I noticed in the logs that a custom header logo is being used:

"/uploads/-/system/appearance/header_logo/1/ytlc.png"

Since this post is 6 years old, I am curious were you eventually able to fix the issue? If so, what was the fix?

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (1.5): fix the issue?
  • RegEx Blacklisted phrase (1.5): fix?
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Viktor

79665776

Date: 2025-06-14 11:00:29
Score: 2
Natty:
Report link

I would suggest trying the OAuth2 approach with dependency injection via Depends(oauth2_scheme).

There is an example in the docs: https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt/

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

79665773

Date: 2025-06-14 10:56:28
Score: 1
Natty:
Report link
  1. MQTT: A lightweight, publish-subscribe messaging protocol designed for low-bandwidth, high-latency, or unreliable networks. It's ideal for IoT applications, mobile devices, and scenarios where devices may have intermittent connectivity. MQTT is optimized for simplicity and efficiency in constrained environments.

  2. Apache Kafka: A distributed event streaming platform that handles high-throughput data streams. Kafka is designed for real-time analytics, data integration, and stream processing at scale. It's suitable for applications requiring durable message storage, replayability, and complex event processing.

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

79665772

Date: 2025-06-14 10:55:28
Score: 3.5
Natty:
Report link

I think best ca exam test series is Gradehunt which helped me ace the ca exams in first attempt. I scored 374 out of 700 and also got exemption in 3 subjects because of their ca test series.

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

79665770

Date: 2025-06-14 10:54:28
Score: 2.5
Natty:
Report link

I was in the same situation — using PHP/MySQL for core features and Node.js for real-time parts. I went with BigCloudy since they support both in a single hosting plan. It’s affordable, and their support helped me set up everything easily, including Git deployment. Works well for beginners too.

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

79665763

Date: 2025-06-14 10:48:26
Score: 5
Natty: 6
Report link

I was facing the issue below

enter image description here

And solved by applying the solution in this article. https://dev.to/michaelcharles/fixing-the-https-developer-certificate-error-in-net-on-macos-sequoia-516h

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: YOUMSI MOUMBE ROMUALD JUNIOR

79665759

Date: 2025-06-14 10:44:24
Score: 2
Natty:
Report link
if (a!= b):
     print ("a is not equal to b")
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: soujan reddy

79665752

Date: 2025-06-14 10:30:21
Score: 1
Natty:
Report link
const JOIN_COMMAND = {
  name: 'join',
  description: 'User requests to join the community',
  type: 1,
  options: [
    {
        type: 3, // STRING
        name: 'name',
        description: 'Please provide your name',
        required: true,
      },
      {
        type: 4, // INTEGER
        name: 'age',
        description: 'Please provide your age',
        required: true,
        min_value: 18,
        max_value: 90
      },
      {
        type: 3, // SUB_COMMAND
        name: 'gender',
        description: 'Please provide your gender',
        required: true,
        choices: [
          {
            name: "Male",
            value: "Male"
          },
          {
            name: "Female",
            value: "Female"
          },
        ],
      },
  ],
  integration_types: [0, 1],
  contexts: [0, 1, 2],
};
Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: khteh

79665746

Date: 2025-06-14 10:17:17
Score: 2
Natty:
Report link

This questions was answered by Oleksandr Porunov on the discussions tab of the JanusGraph github repository.

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

79665744

Date: 2025-06-14 10:11:15
Score: 3.5
Natty:
Report link

First copy site packages of older version of python, then paste it into the new version of python. Then you can uninstall older version of python.

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

79665741

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

A new feature in Symfony 7.3 is arriving for these use cases:

https://symfony.com/blog/new-in-symfony-7-3-arbitrary-user-permission-checks

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

79665740

Date: 2025-06-14 10:03:13
Score: 12
Natty: 7.5
Report link

i have the same problem at the moment did you find a solution?

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

79665738

Date: 2025-06-14 10:00:11
Score: 5
Natty: 4
Report link

Have you solved this problem now? I also have a similar requirement — searching through approximately **300 billion (300B)** data points with a **dimension of 4096**.

Reasons:
  • RegEx Blacklisted phrase (1.5): solved this problem now?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: rubin wei

79665727

Date: 2025-06-14 09:38:06
Score: 0.5
Natty:
Report link

It is an older question, and Spring JPA has evolved a lot since then, but I am putting this information here in case someone runs into this from the search engine.

The details are described in https://www.baeldung.com/jpa-mapping-single-entity-to-multiple-tables, but in short you can create a single entity specifying that we have columns in different tables using the @SecondaryTable annotation. However for my personal project that is not appropriate, although it may work for others. There is also multiple entities using the @PrimaryKeyJoinColumn annotation:

public abstract class LogRelation implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    Long id;

    @OneToOne
    @PrimaryKeyJoinColumn(name = "id")
    Log log;
// ...
}

Another small update ... under the current version of JPA, you are best to make the fields protected/private and access them only by Getter/Setter, which ensures the population of lazy fields.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @SecondaryTable
  • User mentioned (0): @PrimaryKeyJoinColumn
  • Low reputation (0.5):
Posted by: Jennifer

79665711

Date: 2025-06-14 09:07:59
Score: 0.5
Natty:
Report link

This is not the whole story:

 set tgt=First
 if "A" == "A" (
   set tgt=Second
   echo BB %tgt%
)

set tgt=Third
echo BBB %tgt%

set tt=Fourth
set tt=Fifth
echo TTT %tt%

Gives
BB First
BBB Third
TTT Fifth

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

79665694

Date: 2025-06-14 08:35:52
Score: 2
Natty:
Report link
os.environ["MLFLOW_TAGS"] = '{"user_id": "your id"}'
ml_flow = 3.1.0
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kelper young

79665686

Date: 2025-06-14 08:31:51
Score: 1
Natty:
Report link

The above code it right but there is a syntax error. Lost for sometime until I figured!

public class productOption {
    public Campaign_Product__c product {get; set;}
    public Boolean inCart {get; set;}
    public Integer quantity {get; set;}
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dipan Ghosh

79665685

Date: 2025-06-14 08:31:51
Score: 1
Natty:
Report link

On main.ts you need to do

await app.startAllMicroservices();

before the app.listen()

You can see the example in the Official docs

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

79665678

Date: 2025-06-14 08:21:48
Score: 3
Natty:
Report link

You shouldn't use a variable that comes from the future. You can only look at it for inspiration when you are designing the model.

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

79665675

Date: 2025-06-14 08:14:47
Score: 3.5
Natty:
Report link

Has anything changed since this post? Would love to know if suggestions can finally be made via the API.

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

79665671

Date: 2025-06-14 08:11:46
Score: 1
Natty:
Report link
Working Solution

The solution provided by Eduardo A. Fernández Díaz actually works. It reduces the path length through mapping a localhost network drive. Right mouse click on This (My) Computer and map network drive to the longest sensible path.

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

79665657

Date: 2025-06-14 07:42:39
Score: 1.5
Natty:
Report link

You can also assign classes to each of the cells in the HTML code. But Alice's solution is more elegant.

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

79665649

Date: 2025-06-14 07:18:33
Score: 2
Natty:
Report link

WordsCompare: Instant Text & Image Comparison Tool**

Effortlessly compare documents, texts, and images with pinpoint accuracy! Designed for students, professionals, and creatives, **WordsCompare** delivers fast, secure, and privacy-focused results

https://www.wordscompare.com/

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

79665648

Date: 2025-06-14 07:16:32
Score: 0.5
Natty:
Report link
tr:nth-child(2) td:nth-child(2) {background-color: #fff000;}

colours a single cell yellow,

<th colspan="2">name</th>

adds a column span of 2, centering the table head between the two columns.

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

79665640

Date: 2025-06-14 06:55:27
Score: 1
Natty:
Report link

Your logs show that you are using the wrong version of Node.js (v24.2.0)

You need Node.js 20.18.1 according to the contents of .node-version and the instructions in the CONTRIBUTING document in the Requirements section.

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

79665634

Date: 2025-06-14 06:43:25
Score: 1.5
Natty:
Report link

i went through jetBrains documentations and all what is required is adding

@EnableWebSocketMessageBroker anotation
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Stephen Esau

79665614

Date: 2025-06-14 06:08:15
Score: 3.5
Natty:
Report link

Upgrading Koin version from 4.0.0 to 4.1.0 fixed this error.

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

79665606

Date: 2025-06-14 05:52:12
Score: 3
Natty:
Report link

I've built a tool to do just this and am looking for beta users. Message me if you're interested.

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

79665605

Date: 2025-06-14 05:41:10
Score: 1
Natty:
Report link

FWIW, Cloudflare would be my number one option, however I did have a scenario whereby it was not an option (couldnt move the domain into Cloudflare), so I open sourced the solution I used.

I do hope it helps others.

https://github.com/DanielSpindler83/SendGridClickTrackTLSProxy

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Daniel Spindler

79665599

Date: 2025-06-14 05:35:08
Score: 2.5
Natty:
Report link

If you're using sec:debug/, logs go to System.out, which might not be properly routed in a WAR/Tomcat/container setup. The correct approach for Kubernetes is to stick with logback and SLF4J, and avoid sec:debug/ unless you're troubleshooting locally.

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

79665598

Date: 2025-06-14 05:34:07
Score: 5
Natty: 6
Report link

wow!! nice one, this helped me to solve my problem as well. thanks @RADO

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @RADO
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chidinma Okeh

79665583

Date: 2025-06-14 04:47:58
Score: 3
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ritik

79665570

Date: 2025-06-14 04:24:52
Score: 1
Natty:
Report link
$("#jsTree").on('loaded.jstree', function() {
    $("#jsTree").jstree("open_node", ('1'));    //Abre el nodo raiz
    $("#jsTree").jstree('open_all');            //Abre todos los nodos
});
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hugo E Martinez

79665569

Date: 2025-06-14 04:23:51
Score: 2
Natty:
Report link

Why is throw redirect('/login') not redirecting but rendering errorElement instead?

I was working with React Router's data APIs and using throw redirect("/login") in my loader functions to protect routes. However, instead of redirecting to /login, React Router was rendering the errorElement for that route or showing an error response.

I found that manually setting response.body = true after calling redirect() made it work (got this idea from this post answer of this guy https://stackoverflow.com/a/76852081/13784221 :

import { redirect } from "react-router-dom";  
export async function requireAuth() {   
    const isLoggedIn = false;   
    if (!isLoggedIn) {     
        const response = redirect("/login");     
        response.body = true; // 👈 This made it work!     
        throw response;   
    }
    return null;
} 

Explanation: Why this works (based on React Router internals)

This issue is related to how React Router internally handles thrown Response objects in loaders and actions. It distinguishes between:

When I throw redirect("/login"), it creates a Response object with status = 302 and no body. Now, when you also provide an errorElement, React Router plays safe and tries to render it unless it's very sure you're doing a proper redirect.

React Router checks for:

error instanceof Response && error.status >= 300 && error.status < 400 && error.bodyUsed 

So if bodyUsed is false, it falls back to showing the errorElement.

The Hacky Fix: Setting response.body = true

Setting response.body = true (or even response.bodyUsed = true) tricks React Router into treating your Response object as “used” and safe to redirect.

So this:

const response = redirect("/login"); 
response.body = true; 
throw response;

...acts as if the redirect body has been processed, and skips rendering the errorElement.


Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): Why isnot
  • Low reputation (1):
Posted by: dipanshuuu

79665563

Date: 2025-06-14 04:16:49
Score: 1.5
Natty:
Report link

why dont you run it like this in terminal

docker run --name pg-projectname -e POSTGRES_USER=postgres -e POSTGRES_PASSWORD=password -e POSTGRES_DB=projectname -p 5432:5432 -d postgres
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): why do
  • Low reputation (1):
Posted by: Ishan Shetty

79665560

Date: 2025-06-14 04:09:48
Score: 1.5
Natty:
Report link

Since this gets viewed a lot, even though it's old, I'll note for new programmers: this parsing code is technically correct but it is fragile: it will not tolerate any errors or variation in the nmea string and can crash for a variety of reasons. For example if any call to strtok_single() returns NULL, the strcpy will attempt to de-reference a null pointer (and crash). This will happen if any delimiter is not found. It's also better practice to use strncpy rather than strcpy for copying strings to avoid a potential buffer overrun.

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

79665556

Date: 2025-06-14 04:00:46
Score: 0.5
Natty:
Report link

Do these things...

Repository Settings

GitHub Repository Settings - Pull Requests

Default Branch Protection Rule

In the protection rule for your default branch, expand the additional settings under the require PR checkbox and deselect the merge options so that the only selected item is rebase:

enter image description here

Linear History Rule

Create a separate linear history rule that targets ALL branches:

enter image description here

enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Allison

79665554

Date: 2025-06-14 03:57:45
Score: 1
Natty:
Report link

I read through the numpy code for this function but it is not obvious to me what determines the ordering or if it could be adjusted to yield more "consistent" results, so I think it would be easiest to just adjust the values after you get them.

A potentially quick and easy solution would be to just regress a series of points from your assessed "together" group and then grab whichever next point best matches that regression. Here is a sample implementation you can start from which shows pretty good results on a test set I came up with:

import numpy as np
import matplotlib.pyplot as plt
import itertools

PROJECTION_WINDOW = 4

def group_vals(xvals: np.ndarray, yvals: np.ndarray) -> np.ndarray:
    # Pre-initialize the array to the same size
    out_array = np.zeros_like(yvals)
    # Pre-set the first vector as a starting point
    out_array[0] = yvals[0]
    # Iterate though each vector
    for pos in range(1, yvals.shape[0]):
        if pos < PROJECTION_WINDOW:
            # If we don't have enough values to project, use the previous
            #   value as the projected value to match
            projections = out_array[pos - 1]
        else:
            # If enough values have been collected to project the next one,
            #   draw a line through the last PROJECTION_WINDOW values and
            #   predict the next x value using that regression
            # Repeat this for each position in the vector
            # https://stackoverflow.com/a/6148315
            projections = np.array([
                np.poly1d(
                    np.polyfit(
                        xvals[pos - PROJECTION_WINDOW: pos],
                        out_array[pos - PROJECTION_WINDOW: pos, col],
                        1
                    )
                )(xvals[pos])
                for col in range(out_array.shape[1])
            ])
        # Find all possible combinations of next point to previous point
        candidates = itertools.permutations(yvals[pos])
        # Capture the candidate with the best score
        best_candidate = None
        # Capture the best candidate's score
        best_score = None
        # Check each candidate to find out which has the lowest/best score
        for candidate in candidates:
            # Calculate the score as the square of the sum of distances
            #   between the projected value and the candidate value
            candidate_score = np.sum(np.abs(projections - candidate)) ** 2
            # If this was the first pass, then the one we checked is
            #   the best so far
            # If this was a subsequent pass, check the new score
            #   against the previous best
            if best_score is None or candidate_score < best_score:
                best_candidate = candidate
                best_score = candidate_score
        # Whichever scored the best, keep
        out_array[pos] = best_candidate

    return out_array

def _main():
    def get_eigens(f, b):
        array = np.array([
            [1.0, 0.2, 0.3],
            [0.4, 0.5, 0.6],
            [0.7,   f,   b]
        ], dtype=float)
        return np.linalg.eig(array).eigenvalues

    f_interesting = [-3, -2, -1, 0.1975, 0.222, 1.5]
    for f in f_interesting:
        count = 256
        res = []
        b_vals = np.linspace(-2 * np.pi, 2 * np.pi, count)
        for b in b_vals:
            res.append(get_eigens(f, b))

        res = np.abs(np.array(res))
        res_sorted = group_vals(b_vals, res)

        fig, axs = plt.subplots(2, 1)
        axs[0].set_title(f'f = {f}\nOriginal')
        axs[0].plot(b_vals, res[:, 0])
        axs[0].plot(b_vals, res[:, 1])
        axs[0].plot(b_vals, res[:, 2])
        axs[1].set_title('Adjusted batch', pad=20)
        axs[1].plot(b_vals, res_sorted[:, 0])
        axs[1].plot(b_vals, res_sorted[:, 1])
        axs[1].plot(b_vals, res_sorted[:, 2])
        fig.tight_layout()
        plt.show()

if __name__ == '__main__':
    _main()

Here are the plots it generates, which show the same features you didn't like in your original plots and corrects them all about as well as I could by hand I think:

plot 1


plot 2


plot 3


plot 4


plot 5


plot 6


Let me know if you have any questions.

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